VMTKIMAGETONUMPY(1)
π 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 π₯
-idId (str,1); default=0β the script id, and she defaults to0if you don't say anything. shy but fine.-handleSelf (self,1) β a handle to self. it's giving self-awareness, we love her π«Ά-disabledDisabled (bool,1); default=0β flip this to disable execution and piping. default is0, so she's out here doing her job unless you tell her not to π-iImage (vtkImageData,1) β your input image. the actual picture you're feeding in. main character energy, honestly π-ifileImageInputFileName (str,1) β the filename that the default Image reader uses. iykyk π-ofileArrayDictOutputFileName (str,1) β the filename that the default ArrayDict writer uses. her little handoff π
π€ Output arguments π€
-idId (str,1); default=0β the script id again, same as before, default=0. she said consistency π-handleSelf (self,1) β handle to self, round two. yes she's back, we're not mad about it π-oArrayDict (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
- 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