Learn R Programming

ANTsR (version 1.0)

N3BiasFieldCorrection: Bias Field Correction

Description

Perform Bias Field Correction on the given image

Usage

N3BiasFieldCorrection( "" , "" , "" [, ""] [, ""] [, ""] [, ""] [, ""])

Arguments

imageDimension 2|3

Number of dimensions of the input image

inputImage

Input image to operate on

outputImage

Result image

shrikFactor

Shrink Factor

maskImage

Image to be used as mask

numberofIterations

Number of Iterations

numberofFittingLevels

Number of fitting levels

outputBiasField

Output bias-field

Value

0 -- Success 1 -- Failure

Examples

Run this code
# NOT RUN {
N3BiasFieldCorrection( 3 , "input_img.nii" , "output_img.nii" , 2 )
# }

Run the code above in your browser using DataLab