fit_affine_xform(1)

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

okay so this is the page for fit_affine_xform, and yeah it lives in manual section 1 of the Computational Morphology Toolkit (CMTK, the iconic one 🌈). Sit down, grab a strawberry πŸ“, and let's get into it.


🌸 NAME 🌸

fit_affine_xform β€” Fit Single Affine Transformation to Concatenated List

πŸ¦‹ SYNOPSIS πŸ¦‹

fit_affine_xform InputImage XformList

πŸ’– DESCRIPTION πŸ’–

So basically: this tool fits a linear affine transformation to a list of concatenated transformations β€” which may or may not be inverted, no judgment πŸ’…. That's it. That's the whole vibe. It's giving "one transformation to rule them all."

✨ OPTIONS ✨

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

like, every CMTK tool has these, so no cap, they're universal bestie:

  • --help β€” writes the list of basic command line options to standard output. the little starter pack πŸ“‹
  • --help-all β€” writes the complete list of basic and advanced command line options to standard output. the full lore πŸ—‚οΈ
  • --wiki β€” writes the list of command line options to standard output in MediaWiki markup. for when you're wiki-pilled πŸ“
  • --man β€” writes man page source in nroff markup to standard output. manpage-ception 😭
  • --version β€” writes the toolkit version to standard output. slay, what version are we πŸŽ€
  • --echo β€” writes the current command line to standard output. just so you know what you did ✨
  • --verbose-level <integer> β€” sets the verbosity level. dial it up, dial it down πŸ”‰
  • --verbose, -v β€” increments verbosity level by 1. > heads up bestie: this one is deprecated; it's only supported for backward compatibility πŸ™ˆ
  • --threads <integer> β€” sets the maximum number of parallel threads (for POSIX threads and OpenMP). parallelism era πŸ‘‘

πŸŽ€ Input Options πŸŽ€

  • --inversion-tolerance <double> β€” the numerical tolerance of B-spline inversion, in mm. smaller values = more accurate inversion, but they may increase the failure rate 😭. [Default: 1e-08]

πŸ”₯ Fitting Options πŸ”₯

  • --rigid β€” fits a rigid transformation (rotation and translation only) using SVD. no scaling, no shearing, we stay rigid purist style πŸ’…
  • --affine β€” fits a full affine transformation (rotation, translation, scales, shears) using pseudoinverse. the whole enchilada 🌯 [This is the default]

πŸ’œ Output Options πŸ’œ

  • --output <transformation-path>, -o <transformation-path> β€” the path for the output transformation. [Default: NONE] β€” so yeah, if you don't say where it goes, it goes nowhere, set it fr fr.

πŸ‘‘ AUTHORS πŸ‘‘

Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, Daniel B. Russakoff, and Yaroslav Halchenko. the whole squad ate 🫢

⭐ LICENSE ⭐

http://www.fsf.org/licensing/licenses/gpl.html

πŸ’€ BUGS πŸ’€

Report bugs at http://nitrc.org/projects/cmtk/ β€” they wanna hear from you, bestie, fr fr.

🌈 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. And from April 2009 through September 2011, CMTK development and maintenance was supported by the NIBIB under Grant EB008381. iconic funding moment πŸ’–


and that's the whole page, bestie, you're basically a CMTK expert now πŸ’…βœ¨ this was CMTK 3.3.1p2, dated Jun 24 2026 β€” so like, remember where you read it, mwah πŸŽ€πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from