VMTKIMAGECAST(1)
β¨ NAME β¨
vmtkimagecast β it's the vmtk script called vmtkimagecast, bestie. That's literally it. That's the name. π
π¦ DESCRIPTION π¦
okay so picture this: it's doing automatic piping for vmtkimagecast, and then there's parsing options for vmtkimagecast. Iconic behavior, honestly.
Here's the actual tea π:
vmtkimagecast : cast an image to a specified type
like. it takes your image and it CASTS it. to a type you specify. main character energy fr fr π
π Input arguments π
these are the ones you feed in, the little guys you hand over at the door π«Ά
-idβ declared asId (str,1), and it defaults to0. this is the script id. yes, it shows up again down in the output list, she contains multitudes.-handleβ declared asSelf (self,1). it's a handle to self. very "look inward" of it ngl π-disabledβ declared asDisabled (bool,1), and here's the kicker: default0. flip it on and it disables execution and piping. so like, the whole thing justβ¦ doesn't go. lowkey useful, highkey a little ominous π-iβ declared asImage (vtkImageData,1). this is the input image. the star of the show. the moment. πΈ-ifileβ declared asImageInputFileName (str,1). it's the filename for the default Image reader. give her a path and she'll read it for you π-typeβ declared asOutputType (str,1) in ['float', 'double', 'uchar', 'short'], and the default isfloat. this is the output image type, so you've got exactly four flavors to pick from:float,double,uchar,short. choose wisely bestie π-shiftscaleβ declared asShiftScale (int,1), default1. it shift-scales the values to fit the windowlevel. teamwork honestly π€-windowlevelβ declared asWindowLevel (float,2), default[0.0, 0.0]. this is the window and the level, for value mapping. two floats, one job π-ofileβ declared asImageOutputFileName (str,1). the filename for the default Image writer. tell her where to put the results π
π Output arguments π
the lil gifts she hands back to you at the end π
-idβ declared asId (str,1), default0. the script id, back for round two. she said "I'm not leaving" π-handleβ declared asSelf (self,1). handle to self. still self-referential, still thriving πͺ-oβ declared asImage (vtkImageData,1). this is the output image. the glow-up version. the cast one. periodt. β¨
π SEE ALSO π
nothing else listed, bestie β she stands alone. independent queen behavior, no cap π
heads up: this is vmtkimagecast 1.5, and she dropped in April 2026. go forth and cast those images, you gorgeous genius π§π
π¦ 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