Skip to contents

The function takes an image and applies the appropriate median filter function (median_filtering_3d or median_filtering_4d) based on the dimensionality of the image.

Usage

median_filtering(roi_mask, r = 10, n.cores = 1, ...)

Arguments

roi_mask

image to be median filtered (3D or 4D array)

r

kernel size for median filter

n.cores

number of cores

...

extra arguments passed to mclapply