VMTKIMAGECAST(1)

πŸ“¦ version 1.5.0, in ubuntu stonking

✨ 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 as Id (str,1), and it defaults to 0. this is the script id. yes, it shows up again down in the output list, she contains multitudes.
  • -handle β€” declared as Self (self,1). it's a handle to self. very "look inward" of it ngl πŸ’­
  • -disabled β€” declared as Disabled (bool,1), and here's the kicker: default 0. 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 as Image (vtkImageData,1). this is the input image. the star of the show. the moment. 🌸
  • -ifile β€” declared as ImageInputFileName (str,1). it's the filename for the default Image reader. give her a path and she'll read it for you πŸ“–
  • -type β€” declared as OutputType (str,1) in ['float', 'double', 'uchar', 'short'], and the default is float. 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 as ShiftScale (int,1), default 1. it shift-scales the values to fit the windowlevel. teamwork honestly 🀝
  • -windowlevel β€” declared as WindowLevel (float,2), default [0.0, 0.0]. this is the window and the level, for value mapping. two floats, one job πŸ’…
  • -ofile β€” declared as ImageOutputFileName (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 as Id (str,1), default 0. the script id, back for round two. she said "I'm not leaving" πŸ’–
  • -handle β€” declared as Self (self,1). handle to self. still self-referential, still thriving πŸͺž
  • -o β€” declared as Image (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