vmtkimagecast

Description

cast an image to a specified type

Input arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
disabledDisabledbool10disable execution and piping
iImagevtkImageData1the input image
ifileImageInputFileNamestr1filename for the default Image reader
typeOutputTypestr1["float","double","uchar","short"]floatthe output image type
shiftscaleShiftScaleint11shift scale values to fit windowlevel
windowlevelWindowLevelfloat2[0.0, 0.0]window and level for value mapping
ofileImageOutputFileNamestr1filename for the default Image writer

Output arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
oImagevtkImageData1the output image