xform2itk(1)

πŸ’… xform2itk β€” like, the manual page, bestie

okay so you found xform2itk(1) from The Computational Morphometry Toolkit and you're like "what is this" β€” don't worry, I got you. Sit down, hydrate, let's go. 🫢


✨ NAME ✨

xform2itk β€” Convert affine transformations to ITK format.

That's it. That's the whole job. She converts. She's an icon. πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

xform2itk InputPath OutputPath

Two paths, in and out, no cap. In goes the thing, out comes the other thing. ✨


🌸 DESCRIPTION 🌸

So here's the tea, bestie: this tool converts coordinate transformations from CMTK format to ITK format. But that's not even the whole slay β€” while she's doing that, she also corrects for differences in image coordinate conventions. Like, two coordinate systems walk into a bar and she's the one making them agree. It's giving ✨diplomat✨. Literally.


πŸ’– OPTIONS πŸ’–

πŸ‘‘ Global Toolkit Options (these are shared by all CMTK tools)

shared by literally every CMTK tool, so you only have to learn them once. main character energy fr fr.

  • --help β€” writes the list of basic command line options to standard output. baby's first help. 🍼
  • --help-all β€” writes the complete list of both basic AND advanced command line options to standard output. go big or go home. πŸ”₯
  • --wiki β€” writes the list of command line options to standard output in MediaWiki markup. for the wiki girlies. πŸ“
  • --man β€” writes man page source in nroff markup to standard output. yes, the very markup you're reading (the vibe of it, anyway). πŸ’€
  • --version β€” writes the toolkit version to standard output. proof of her credentials. ⭐
  • --echo β€” writes the current command line to standard output. she repeats you back, affectionately. 🦜
  • --verbose-level <integer> β€” sets the verbosity level. pick a number, any number (an integer though). πŸ™ˆ
  • --verbose, -v β€” increments the verbosity level by 1. ⚠️ deprecated β€” she's only still doing this for backward compatibility. like, she's moved on but she'll still text back. 😭
  • --threads <integer> β€” sets the maximum number of parallel threads (for POSIX threads and OpenMP). more threads, more multitasking, more ✨chaos✨.

πŸŽ€ Input parameters πŸŽ€

  • --fixed-space <string> β€” changes the fixed image coordinate space (e.g., 'RAS', 'LPS', ...). this defaults to ITK standard space. [Default: LPS] πŸ’œ
  • --moving-space <string> β€” changes the moving image coordinate space (e.g., 'RAS', 'LPS', ...). this also defaults to ITK standard space. [Default: LPS] 🌈
  • --invert-input β€” inverts the input transformation before conversion. flip it and reverse it. πŸ”„

πŸ“ Output parameters πŸ“

  • --fixed-image <string> β€” overrides the transformation's fixed/reference image (if any) with this one. [Default: NONE] πŸ™ˆ
  • --moving-image <string> β€” overrides the transformation's moving/floating image (if any) with this one. [Default: NONE] 🧚

πŸ’œ AUTHORS πŸ’œ

Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, Daniel B. Russakoff, and Yaroslav Halchenko. a whole squad. a whole committee. we stan a collaborative effort. 🫢


🌺 LICENSE 🌺

http://www.fsf.org/licensing/licenses/gpl.html β€” yeah, GPL, go read it, she's licensed and she's proud. πŸ“œ


πŸ’€ BUGS πŸ’€

Report bugs at http://nitrc.org/projects/cmtk/. not me manifesting bug reports but also... please do, she wants to be better. 😭


⭐ 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. screaming, crying, funded, thriving. πŸŽ€

no cap: every flag, default, path and number above is straight from the source. she's cute AND accurate. that's the whole point. πŸ’…

okay so that's the page!! go convert your affine transformations and correct those coordinate convention differences like the icon you are. βœ¨πŸ¦‹πŸŒΈ

this was CMTK 3.3.1p2, dated Jun 24 2026, and honestly? timeless. periodt. πŸ’–

πŸ“¦ where this page comes from