Learn R Programming

ANTsR (version 1.0)

n3BiasFieldCorrection: Bias Field Correction

Description

Perform Bias Field Correction on the given image

Usage

n3BiasFieldCorrection(img, downsampleFactor)

Arguments

img

antsImage to correct

downsampleFactor

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

Value

antsImage

Examples

Run this code
# NOT RUN {
img<-makeImage(c(10,10),rnorm(100))
n3img<-n3BiasFieldCorrection(  img, 1 )
# }

Run the code above in your browser using DataLab