VMTKIMAGETONUMPY(1)

πŸ“¦ version 1.5.0, in ubuntu stonking

πŸŽ€ NAME πŸŽ€

okay so bestie, meet vmtkimagetonumpy β€” she's a vmtk script, and her whole name is literally vmtkimagetonumpy. no mystery, no lore, that's her. ✨

(and yes, you're in the User Commands part of the manual, we love a little context 🌸)


πŸ’– DESCRIPTION πŸ’–

So here's the tea: there's automatic piping happening for vmtkImageToNumpy, and there's parsing options for vmtkImageToNumpy. That's the whole setup, no notes. πŸ’…

Now the part that actually eats: vmtkImageToNumpy takes a vtkImageData object and returns a nested dictionary of numpy arrays. obsessed. that's the glow-up right there. πŸ¦‹

πŸ“₯ Input arguments πŸ“₯

  • -id Id (str,1); default=0 β€” the script id, and she defaults to 0 if you don't say anything. shy but fine.
  • -handle Self (self,1) β€” a handle to self. it's giving self-awareness, we love her 🫢
  • -disabled Disabled (bool,1); default=0 β€” flip this to disable execution and piping. default is 0, so she's out here doing her job unless you tell her not to πŸ’€
  • -i Image (vtkImageData,1) β€” your input image. the actual picture you're feeding in. main character energy, honestly πŸ‘‘
  • -ifile ImageInputFileName (str,1) β€” the filename that the default Image reader uses. iykyk 🌈
  • -ofile ArrayDictOutputFileName (str,1) β€” the filename that the default ArrayDict writer uses. her little handoff πŸ’–

πŸ“€ Output arguments πŸ“€

  • -id Id (str,1); default=0 β€” the script id again, same as before, default=0. she said consistency πŸ’…
  • -handle Self (self,1) β€” handle to self, round two. yes she's back, we're not mad about it πŸ™ˆ
  • -o ArrayDict (dict,1) β€” the output dictionary. that's the prize at the end of the rainbow ⭐

ngl bestie, if you came here for a giant list of 40 flags, this is not that page β€” this script keeps her circle small: those six inputs and those three outputs, and that's periodt πŸŽ€

okay so like, that's the whole page!! go pipe something cute and slay πŸ’œ πŸ’… πŸ“

vmtkimagetonumpy 1.5 β€” April 2026 β€” mwah, leaving you with that, fr fr πŸ§šβ€β™€οΈπŸ’–

πŸ“¦ where this page comes from