smoothIMG: Median smooth image and save as RDS

View source: R/smoothIMG.R

smoothIMGR Documentation

Median smooth image and save as RDS

Description

Smooth images as a preparation for subsequent analyses

Usage

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 Dec. 14, 2022, 11:06 p.m.