R/local_quantile_img.R
local_quantile_img.Rd
Quantile Transform Voxel based on Neighborhood Distribution
local_quantile_img(img, mask = NULL, radius = rep(1, 3), verbose = TRUE)
img | Object of class |
---|---|
mask | Binary image of class |
radius | vector of length 3 for number of voxels to go in each direction.
Default is 27 neighbors (including voxel at center).
Passed to |
verbose | Print diagnostic messages |
An object of class nifti
nim = oro.nifti::nifti(array(rnorm(10^3), dim = rep(10, 3))) mask = nim > -1 res = local_quantile_img(nim, mask = mask)#>#>#>#>