vmtkimagewriter

Description

write an image to disk

Input arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
disabledDisabledbool10disable execution and piping
iImagevtkImageData1the input image
ifileImageInputFileNamestr1filename for the default Image reader
fFormatstr1["vtkxml","vtk","meta","tiff","png","pointdata"]file format
guessformatGuessFormatbool11guess file format from extension
useitkUseITKIObool11use ITKIO mechanism
transformApplyTransformbool10apply transform on writing - ITKIO only
ofileOutputFileNamestr1output file name
oOutputFileNamestr1output file name (deprecated: use -ofile)
rawfileOutputRawFileNamestr1name of the output raw file - meta image only
dOutputDirectoryNamestr1output directory name - png, tiff
rPixelRepresentationstr1["double","float","short"]output scalar type
windowlevelWindowLevelfloat2[1.0, 0.0]window and level for mapping graylevels to 0-255 before writing - png, tiff
matrixRasToIjkMatrixCoefficientsfloat16None

Output arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self