VMTKIMAGEREADER(1)
β¨ NAME β¨
vmtkimagereader β bestie, it's a vmtk script, and yes it's literally called vmtkimagereader π
π¦ DESCRIPTION π¦
Automatic piping vmtkimagereader Parsing options vmtkimagereader
vmtkimagereader : read an image and stores it in a vtkImageData object
Okay so that's the official little blurb, and here's the vibe: this thing takes your image, whatever format it's being dramatic in, and hands it back as a vtkImageData object. That's the whole main character moment. π
π₯ Input arguments:
-id Id(str,1); default=0β the script id, yeah it's here twice, she contains multitudes π-handle Self(self,1) β a handle to self. self-care fr fr π«Ά-disabled Disabled(bool,1); default=0β set this and execution and piping both get switched off. she's on strike π-f Format(str,1) in [vtkxml,vtk,dicom,raw,meta,tiff,png] β the file format, pick your fighter-guessformat GuessFormat(bool,1); default=1β guess the file format from the extension, detective mode on π-useitk UseITKIO(bool,1); default=1β use the ITKIO mechanism-i Image(vtkImageData,1) β the input image, hi bestie π-ifile InputFileName(str,1) β the input file name-prefix InputFilePrefix(str,1) β the input file prefix (e.g.foo_)-pattern InputFilePattern(str,1) β the input file pattern (e.g.%s%04d.png)-extent DataExtent(int,6); default=[-1, -1, -1, -1, -1, -1]β the 3D extent of the image β raw and png-headersize HeaderSize(int,1) >= 0; default=0β the size of the image header β raw only-spacing DataSpacing(float,3); default=[1.0, 1.0, 1.0]β the spacing of the image β raw, tiff, png, itk-origin DataOrigin(float,3); default=[0.0, 0.0, 0.0]β the origin of the image β raw, tiff, png, itk-orientation DesiredOrientation(str,1) in [native,axial,coronal,sagittal]; default=nativeβ the desired data orientation β itk only-byteorder DataByteOrder(str,1) in [littleendian,bigendian]; default=littleendianβ byte ordering β raw only-scalartype DataScalarType(str,1) in [float,double,int,short,ushort,uchar]; default=floatβ scalar type β raw only-filedimensionality FileDimensionality(int,1) >= 2 and <= 3; default=3β dimensionality of the file to read β raw only-flip Flip(bool,3); default=[0, 0, 0]β toggle flipping of the corresponding axis. three whole booleans, one per axis, go off π-autoorientdicom AutoOrientDICOMImage(bool,1); default=1β flip a dicom stack in order to have a left-to-right, posterio-toanterior, inferior-to-superior image; this is based on the"image orientation (patient)"field in the dicom header. yes the header said what it said, we don't gatekeep π©»-ofile ImageOutputFileName(str,1) β filename for the default Image writer
π€ Output arguments:
-id Id(str,1); default=0β the script id, again, iconic of her honestly β¨-handle Self(self,1) β handle to self-o Image(vtkImageData,1) β the output image, the moment we've all been waiting for π-rastoijkmatrix RasToIjkMatrixCoefficients(float,16); default=[1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1]-xyztorasmatrix XyzToRasMatrixCoefficients(float,16); default=[1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1]
heads up bestie π theselfandidoptions show up in both the input and the output lists, and-i/-oare their own thing. that's just how she is, no cap.
okay that's the whole page!! go read some images, you ate πβ¨
this was vmtkimagereader version 1.5, dated April 2026, brought to you from the User Commands manual β mwah, ily, bye ππ¦
π¦ 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