This function smooth an image within a mask and replaces the values of the original image with the smoothed values.
fslsmooth_in_mask(file, sigma = 10, mask = NULL, ...)
fsl_smooth_in_mask(...)
file | (character) image to be smoothed |
---|---|
sigma | (numeric) sigma (in mm) of Gaussian kernel for smoothing |
mask | (character) optional mask given for image |
... | additional arguments passed to |
Object of class nifti