smoothIMG: Median smooth image and save as RDS

Description Usage Arguments Value

View source: R/smoothIMG.R

Description

Smooth images as a preparation for subsequent analyses

Usage

1
smoothIMG(imgs, kern.smooth = c(3, 3, 3), type.smooth = "box", cores = 1)

Arguments

imgs

The paths of array files; i.e. output from loadIMG or findIMG functions.

kern.smooth

Numeric vector indicating range of median smoothing in the x,y,z directions. Has to be odd integers.

type.smooth

Type of kernel for smooth "box" includes diagonals, "diamond" is without diagonals

cores

Integer. Number of cores to use for parallel computing.

Value

Creates arrays as RDS files and outputs the paths for these files


Russel88/RCon3D documentation built on Sept. 9, 2018, 6:55 a.m.