vtkxform(1)
π vtkxform β bestie edition π
okay so real talk, this one lives in the The Computational Morphology Toolkit, aka CMTK, and it is so much simpler than it looks. it takes points from a VTK file, yeets them through a coordinate transformation you hand it, and hands you back the glow-up. that's it. that's the whole vibe. π¦
β¨ NAME β¨
vtkxform β applies a coordinate transformation to point coordinates inside a VTK file. no cap, that's literally its entire job description. π
πΈ SYNOPSIS πΈ
vtkxform XformList
π DESCRIPTION π
okay so here's the tea. vtkxform reads an ASCII-format VTK file from standard input (yes, stdin, the classic), and then it takes the coordinate transformation you gave it β which can optionally be inverted, if that's the mood β and applies it to the vertex coordinates.
then it writes a VTK file with the transformed points out to standard output, and honestly? iconic. point in, transformed point out. the circle of life. π§
π OPTIONS π
π Global Toolkit Options (these are shared by all CMTK tools)
bestie these are the family options, every CMTK tool has them, they're basically the group chat you're in with all your sibling utilities. π
--helpβ writes the list of basic command line options to standard output.--help-allβ writes the complete list, basic AND advanced, to standard output. the full lore drop.--wikiβ writes the list of command line options to standard output in MediaWiki markup. wiki girlies rise π«Ά--manβ writes the man page source in 'nroff' markup to standard output.--versionβ writes the toolkit version to standard output.--echoβ writes the current command line to standard output. so you can see what you just did. receipts. π§Ύ--verbose-level <integer>β sets the verbosity level. pick your own adventure, numerically.--verbose,-vβ increments the verbosity level by 1. heads up though, it's deprecated β it's only still here for backward compatibility. it's giving legacy. π--threads <integer>β sets the maximum number of parallel threads (for POSIX threads and OpenMP). go fast, but responsibly. π₯
π Main Options
the actual β¨main characterβ¨ options, the ones that decide what happens to your points:
--inversion-tolerance <double>β the numerical tolerance of B-spline inversion, measured in mm. here's the trade-off bestie, listen close: smaller values = more accurate inversion, but they may also increase the failure rate. it's giving risk/reward. [Default:0.001]--source-image <string>β sets the source image of the transformation, meaning the image that the transformation maps points FROM. you use this to correct for differences in orientation and coordinate space. [Default:NONE]--target-image <string>β sets the target image of the transformation, meaning the image that the transformation maps points TO. same deal, corrects for differences in orientation and coordinate space. [Default:NONE]
π«Ά friendly reminder from the source material: source = FROM, target = TO. pls don't swap them, i'm begging, it will not go the way you want.
β AUTHORS β
Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, Daniel B. Russakoff, and Yaroslav Halchenko. an absolute squad. π
π LICENSE π
http://www.fsf.org/licensing/licenses/gpl.html
π BUGS π
report bugs at http://nitrc.org/projects/cmtk/ β pls do, we're not mad, we're just disappointed. jk, we'd genuinely love to know. π
π ACKNOWLEDGMENTS π
CMTK is developed with support from the NIAAA under Grant AA021697, National Consortium on Alcohol and Neurodevelopment in Adolescence (N-CANDA): Data Integration Component. From April 2009 through September 2011, CMTK development and maintenance was supported by the NIBIB under Grant EB008381. funding lore, we love to see it. π
and that's the whole page bestie!! CMTK 3.3.1p2, dated Jun 24 2026, filed under vtkxform(1) β now go transform some points and slay π
β¨π¦
π¦ where this page comes from
- ubuntu stonking: cmtk 3.3.1p2+dfsg-4build1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms