vmtkimagebinarize

Description

binarize the input image producing a label map

Input arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
disabledDisabledbool10disable execution and piping
iImagevtkImageData1the input image
ifileImageInputFileNamestr1filename for the default Image reader
thresholdThresholdfloat10.0the threshold at which the image should be binarized
lowerlabelLowerLabelint10the label to associate to the pixels lower than the threshold
upperlabelUpperLabelint11the label to associate to the pixels higher than the threshold
ofileImageOutputFileNamestr1filename for the default Image writer

Output arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
oImagevtkImageData1the output image