Learn R Programming

ANTsR (version 1.0)

n4BiasFieldCorrection: Bias Field Correction

Description

Perform Bias Field Correction on the given image

Usage

n4BiasFieldCorrection(img, mask = NA)

Arguments

img

input antsImage

mask

input mask, if one is not passed one will be made

Value

outimg

Examples

Run this code
# NOT RUN {
img<-makeImage( c(50,50), rnorm(2500) )
 n4img<-n4BiasFieldCorrection(img)
# }

Run the code above in your browser using DataLab