Perform N3 bias field correction on the given image

n3BiasFieldCorrection(img, downsampleFactor, ...)

Arguments

img

antsImage to correct

downsampleFactor

integer e.g. 4 downsample by a factor of 4

...

not used

Value

antsImage

Author

Shrinidhi KL

Examples


img <- makeImage(c(10, 10), rnorm(100))
n3img <- n3BiasFieldCorrection(img, 1)