VMTKIMAGEWRITER(1)
π VMTKIMAGEWRITER π
okay so bestie, welcome to the vmtkimagewriter(1) page β it lives in the User Commands section of the manual, and it's literally the vmtk script that gets your image out of vmtk-land and onto your disk. sit down, hydrate, we're doing this π«Ά
β¨ NAME β¨
vmtkimagewriter β vmtk script vmtkimagewriter
πΈ DESCRIPTION πΈ
So here's the tea, bestie: vmtkimagewriter does the automatic piping thing, then it parses its options, and then β the main character moment β it writes an image to disk. that's the whole vibe. no cap. π
vmtkimagewriter : write an image to disk
π Input arguments π
these are the things you feed it. the input side of the relationship. the β¨receivingβ¨ energy. π
-id Idβ script id (str,1); default=0-handle Selfβ handle to self (self,1)-disabled Disabledβ disable execution and piping (bool,1); default=0-i Imageβ the input image (vtkImageData,1). yes bb, the actual picture πΌοΈ-ifile ImageInputFileNameβ filename for the default Image reader (str,1)-f Formatβ file format (str,1), and it has to be one of['vtkxml', 'vtk', 'meta', 'tiff', 'png', 'pointdata', 'vtsxml']-guessformat GuessFormatβ guess file format from extension (bool,1); default=1. it's giving detective π-useitk UseITKIOβ use ITKIO mechanism (bool,1); default=1-transform ApplyTransformβ apply transform on writing - ITKIO only (bool,1); default=0-ofile OutputFileNameβ output file name (str,1)-o OutputFileNameβ output file name (str,1) β deprecated: use-ofileβ οΈ she's old, be nice to her but use the new one-rawfile OutputRawFileNameβ name of the output raw file - meta image only (str,1)-d OutputDirectoryNameβ output directory name - png, tiff (str,1)-r PixelRepresentationβ output scalar type (str,1) in['double', 'float', 'short']-windowlevel WindowLevelβ window and level for mapping graylevels to 0-255 before writing - png, tiff (float,2); default=[1.0, 0.0]-matrix RasToIjkMatrixCoefficientsβ (float,16); default=None
π Output arguments π
and these are what it hands back to you. the giving side. slay π«Ά
-id Idβ script id (str,1); default=0-handle Selfβ handle to self (self,1)
bestie reminder:-transformis ITKIO only,-rawfileis meta image only, and-d+-windowlevelare png, tiff girlies. don't mix up the friend groups π
π and that's the whole page!! this was vmtkimagewriter version 1.5, dated April 2026 β thank you for coming to my ted talk, go write some images, you absolute icon ππ
π¦ where this page comes from
- ubuntu stonking: vmtk 1.5.0+dfsg1-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms