vmtkimagebinarize
Description
binarize the input image producing a label map
Input arguments
Argument | Variable | Type | Length | Range | Default | Description |
id | Id | str | 1 | | 0 | script id |
handle | Self | self | 1 | | | handle to self |
disabled | Disabled | bool | 1 | | 0 | disable execution and piping |
i | Image | vtkImageData | 1 | | | the input image |
ifile | ImageInputFileName | str | 1 | | | filename for the default Image reader |
threshold | Threshold | float | 1 | | 0.0 | the threshold at which the image should be binarized |
lowerlabel | LowerLabel | int | 1 | | 0 | the label to associate to the pixels lower than the threshold |
upperlabel | UpperLabel | int | 1 | | 1 | the label to associate to the pixels higher than the threshold |
ofile | ImageOutputFileName | str | 1 | | | filename for the default Image writer |
Output arguments
Argument | Variable | Type | Length | Range | Default | Description |
id | Id | str | 1 | | 0 | script id |
handle | Self | self | 1 | | | handle to self |
o | Image | vtkImageData | 1 | | | the output image |