fit_aff...ndmarks(1)

✨ fit_affine_xform_landmarks ✨

okay bestie, welcome to the fit_affine_xform_landmarks page from the Computational Morphometry Toolkit (CMTK) β€” that's the manual name right there, fit_aff...ndmarks(1), iykyk. it's a command-line tool, it's from CMTK, and it's here to make your landmarks line up. let's get into it πŸ’–


🌸 NAME 🌸

fit_affine_xform_landmarks β€” Fit Affine Transformation to Landmarks


πŸ¦‹ SYNOPSIS πŸ¦‹

fit_affine_xform_landmarks SourcePath TargetPath OutputXform

three positional args, that's it, slay. you hand it a source, a target, and where you want the transform to land, and it does the thing.


πŸ’œ DESCRIPTION πŸ’œ

so basically? it fits a linear affine transformation to a set of matched landmarks. you know, the landmarks you already paired up with each other. it finds the transform that takes you from one to the other. iconic. πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

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

okay so these ones are not special to us, every CMTK tool has them. they're the group chat regulars. 🫢

  • --help β€” dumps the list of basic command line options to standard output. the "what do I even do here" button.
  • --help-all β€” dumps the complete list, basic and advanced, to standard output. the full lore drop πŸ“š
  • --wiki β€” spits out the list of command line options to standard output in MediaWiki markup. for your wiki girlies.
  • --man β€” writes man page source in 'nroff' markup to standard output. manpage-ception fr fr.
  • --version β€” writes the toolkit version to standard output. so you know what era you're in ✨
  • --echo β€” writes the current command line to standard output. it's giving "receipts" 🧾
  • --verbose-level <integer> β€” sets the verbosity level. pick your volume.
  • --verbose, -v β€” bumps the verbosity level up by 1. heads up: this one is deprecated, it's only still around for backward compatibility. πŸ’€
  • --threads <integer> β€” sets the max number of parallel threads (for POSIX threads and OpenMP). let it cook in parallel πŸ”₯

Main Options

  • --rigid β€” fit only a rigid, 6 degree-of-freedom transformation instead of a full affine. why would you do this? because it needs fewer landmarks and it makes less trict assumptions about where they are β€” like, three non-collinear landmarks are genuinely enough to get a rigid transformation out of it. small but mighty πŸ’…

πŸ‘‘ AUTHORS πŸ‘‘

Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, Daniel B. Russakoff, and Yaroslav Halchenko. legends, all of them 🌈


πŸ“œ LICENSE πŸ“œ

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


πŸ™ˆ BUGS πŸ™ˆ

found something cursed? report bugs at http://nitrc.org/projects/cmtk/ β€” they want to know, 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. From April 2009 through September 2011, CMTK development and maintenance was supported by the NIBIB under Grant EB008381. shoutout to the funders, we love a well-supported toolkit πŸ’–


and that's the whole page bestie. go fit some landmarks. you're gonna eat. πŸ’…βœ¨

CMTK 3.3.1p2 β€’ Jun 24 2026 β€’ that's the version and date stamp on this beauty, mwah πŸŽ€

πŸ“¦ where this page comes from