ThresholdImage: Theshold Image

Description Usage Arguments Value Author(s) Examples

Description

Perform thresholding on the given image

Usage

1
2
ThresholdImage( "<imageDimension>" , "<inputImage>" , "<outputImage>" , "<thresh-low>" , "<thresh-high>" , "<inside-value>" , "<outside-value>" )
ThresholdImage( "<imageDimension>" , "<inputImage>" , "<outputImage>" , "Otsu" , "<number-of-thresholds>" )

Arguments

imageDimension 2|3

Number of dimensions of the input image

inputImage

Input image to operate on

outputImage

Result image

thresh-low

Lower edge of threshold window

thresh-high

Higher edge of threshold window

inside-value

Inside value

outside-value

Outside value

number-of-thresholds

Number of thresholds

Value

0 – Success
1 – Failure

Author(s)

Shrinidhi KL

Examples

1
2
3
4
5
## Not run: 
ThresholdImage( 3 , "input_img.nii" , "output_img.nii" , 2 , 3 )
ThresholdImage( 3 , "input_img.nii" , "output_img.nii" , "Otsu" , 3 )

## End(Not run)

klshrinidhi/ANTsR documentation built on May 20, 2019, 12:37 p.m.