VMTKIMAGESHIFTSCALE(1)
β¨ VMTKIMAGESHIFTSCALE(1) β¨
okay so bestie, welcome to vmtkimageshiftscale π β a User Commands era manual page, and honestly? it's giving glow-up. it's the vmtk script vmtkimageshiftscale and i'm gonna walk you through every single flag, no cap.
πΈ NAME πΈ
vmtkimageshiftscale β fr fr, it's the vmtk script vmtkimageshiftscale. that's the whole name. iconic of it.
π¦ DESCRIPTION π¦
so here's the vibe: Automatic piping, then Parsing options, and that's vmtkimageshiftscale doing its thing. yep, that's literally what the description says. lowkey mysterious, highkey accurate π
vmtkimageshiftscale : shift and scale the intensity of an image and
cast it to a specified type
periodt. that's the mission statement. β¨
π Input arguments: π
these are the ones you feed in, bestie. let's go one by one, i'm obsessed with lists:
-id Id(str,1); default=0β the script id. it's just, like, who this script is.-handle Self(self,1) β a handle to self. self-care, but make it a pointer π«Ά-disabled Disabled(bool,1); default=0β disables execution and piping. set it and the whole thing justβ¦ doesn't. rude but useful.-i Image(vtkImageData,1) β the input image. the main character, honestly π-ifile ImageInputFileName(str,1) β filename for the default Image reader. feed it a path and let the reader do its lil thing.-type OutputType(str,1) in['unchanged', 'float', 'double', 'uchar', 'char', 'ushort', 'short', 'long', 'ulong', 'int', 'uint']; default=unchangedβ the output image type. use"unchanged", the default, to keep same type as input π§-clamp ClampOverflowOn(bool,1); default=1β whith ClampOverflow On, the data is thresholded so that the output value does not exceed the max or min of the data type. yes it's spelled "Whith" in the original, we don't gatekeep typos here π it's keeping your numbers inside the vibe check.-shift Shift(float,1); default=0.0β the shift value. slide that intensity over a lil bit.-scale Scale(float,1); default=1.0β the scale value. multiply the energy, bestie.-mapranges MapRanges(bool,1); default=0β toggle mapping of input range to output range instead of simple shift scale. so instead of just sliding/scaling, you're remapping the whole range, slay.-inputrange InputRange(float,2); default=[0.0, 0.0]β the input range that will be mapped in the output range. leave default or set to0.0 0.0for using input image scalar range as input range π-outputrange OutputRange(float,2); default=[0.0, 0.0]β the output range into which the input range will be mapped. that's the destination, bb π-ofile ImageOutputFileName(str,1) β filename for the default Image writer. where your lil masterpiece goes πΎ
π Output arguments: π
and then it hands you stuff back. the return era:
-id Id(str,1); default=0β the script id. back again, same as before, it's consistent like that.-handle Self(self,1) β a handle to self. yes, again. self-love twice.-o Image(vtkImageData,1) β the output image. your shifted, scaled, optionally type-cast baby π
bestie reminder: this manpage is vmtkimageshiftscale 1.5 from April 2026, on the User Commands side of life. go forth and shift + scale, you absolute icon π
β¨π
π¦ 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