VMTKIMAGEVIEWER(1)
πΈ VMTKIMAGEVIEWER πΈ
okay bestie, gather round, because today we're talking about vmtkimageviewer, which is a vmtk script β yes, its name is literally just its own name, the selfie of script names, iconic behavior π
β and it lives in the User Commands section of the manual, so you already know it's a "run it in your terminal and vibe" situation.
β¨ DESCRIPTION β¨
So here's the tea: there's automatic piping happening with vmtkimageviewer, and there's option parsing happening with vmtkimageviewer. That's the whole opening act, fr fr.
Then the main character moment:
vmtkimageviewer : display a 3D image π¦
That's it. That's the job. You feed it a 3D image and it shows you the 3D image. Slay.
π INPUT ARGUMENTS π
these are the things you hand to the script, like lil gifts π
-idId (str,1); default=0β the script id. yes, the script has an id. every diva needs one. π-handleSelf (self,1) β a handle to self. that's the script holding its own hand, which is, honestly, self-care. π«Ά-disabledDisabled (bool,1); default=0β turns off execution and piping. so if you set it, the whole thing justβ¦ doesn't. it's giving "not today." π-iImage (vtkImageData,1) β the input image. the actual star of the show. β¨-ifileImageInputFileName (str,1) β filename for the default Image reader, i.e. the "just give me a path and I'll handle it" option. π-arrayArrayName (str,1) β name of the array to display. because sometimes the image has layers and you gotta pick which one eats. π₯-renderervmtkRenderer (vmtkRenderer,1) β an external renderer. bring your own, bestie. π¨-windowlevelWindowLevel (float,2); default=[0.0, 0.0]β the window/level for displaying the image, and yes it's two floats, it's a lil duo, a matching set. π-displayDisplay (bool,1); default=1β toggle rendering. it's on by default because obviously we're showing the thing, that's literally the point. π-marginsMargins (bool,1); default=0β toggle margins for tilting image planes. off by default, your planes stay un-margined unless you say otherwise. π-textureinterpolationTextureInterpolation (bool,1); default=1β toggle interpolation of graylevels on image planes. on by default, so it stays smooth and pretty instead of crunchy. π-continuouscursorContinuousCursor (bool,1); default=0β toggle use of physical continuous coordinates for the cursor. off by default β flip it if you want your cursor living in physical continuous coordinates, which sounds incredibly fancy and lowkey is. π§-ofileImageOutputFileName (str,1) β filename for the default Image writer. so it can save the image back out. the full circle moment. π
π OUTPUT ARGUMENTS π
and these are the lil treats it hands back to you when it's done, we love a generous queen π
-idId (str,1); default=0β the script id again. same energy, now on the way out. β¨-handleSelf (self,1) β handle to self again. still holding its own hand. still valid. still iconic. π«Ά-oImage (vtkImageData,1) β the output image. the after picture. π₯-xplanePlaneWidgetX (vtkImagePlaneWidget,1) β the X image plane widget. that's the left-right one, do not come for me. π¦-yplanePlaneWidgetY (vtkImagePlaneWidget,1) β the Y image plane widget. the other one. π¦-zplanePlaneWidgetZ (vtkImagePlaneWidget,1) β the Z image plane widget. completes the trio, the friend group is fully assembled. π¦
also quick heads up bestie:-idand-handleshow up in both the input list and the output list. that's not a typo, that's just how this script rolls. go with it. π
vmtkimageviewer 1.5 April 2026 VMTKIMAGEVIEWER(1)
and that's the whole page, no cap β vmtkimageviewer, version 1.5, dated April 2026, straight out of the User Commands chapter of the manual. periodt. πβ¨π
π¦ 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