make_i..._affine(1)

✨ make_initial_affine β€” bestie edition πŸ’–

okay so you opened the manual page for make_i..._affine(1) β€” yes that's section 1 of the man pages, the whole CMTK thing β€” and honestly? you've come to the right place. sit down, hydrate, let's get you an affine transformation. 🫢


🌸 NAME 🌸

make_initial_affine β€” Initialize affine transformation ✨

πŸŽ€ SYNOPSIS πŸŽ€

make_initial_affine ReferenceImage FloatingImage OutputXform

that's it. three little args. three. you got this. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

Compute initial affine transformation by aligning centers of mass or principal axes 🧚

like, the vibe is: we don't know exactly how these two brain images line up yet, but we can get a first guess going. and a first guess is honestly all you need to start the real registration. it's giving "let me just get us in the right ballpark" energy. πŸ‘‘

🌈 OPTIONS 🌈

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

these ones are the communal wardrobe, bestie β€” every CMTK tool has them, not just this one.

  • --help β€” drops the list of basic command line options straight to standard output. your lil cheat sheet. πŸ“
  • --help-all β€” same but everything, basic and advanced options, all of it, to standard output. the full lore. πŸ“š
  • --wiki β€” writes the list of command line options to standard output in MediaWiki markup. for when you're feeling wiki-pilled. ✨
  • --man β€” writes the man page source in 'nroff' markup to standard output. meta? lowkey meta. πŸŒ€
  • --xml β€” writes the command line syntax specification in XML markup (yes, for Slicer integration). 🧩
  • --version β€” writes the toolkit version to standard output. identity reveal moment. πŸ’«
  • --echo β€” writes the current command line to standard output. like a mirror for your terminal. πŸͺž
  • --verbose-level <integer> β€” sets the verbosity level. crank it up, hear everything. πŸ”Š
  • --verbose, -v β€” increments verbosity level by 1. deprecated though β€” it's only still around for backward compatibility. it's an icon but it's retired, no cap. πŸ’€
  • --threads <integer> β€” sets the maximum number of parallel threads (for POSIX threads and OpenMP). make it go fast, bestie. πŸ”₯

πŸ’œ Transformation construction control πŸ’œ

this is the main character section of this whole manpage, fr fr.

  • --mode β€” Mode selection for initialization. Supported values: "direction-vectors", "centers-of-mass", "principal-axes", "identity", where the default is "direction-vectors", or use one of the following:
    • --direction-vectors β€” Alignment based on image direction vectors. [This is the default] ⭐
    • --centers-of-mass β€” Alignment based on centers of mass (translation only) 🫢
    • --principal-axes β€” Alignment based on principal axes πŸ“
    • --identity β€” Create only an identity transformation. sometimes doing nothing is the move. πŸ™ˆ
  • --center-xform, -C β€” Set transformation center (for rotation, scale) to center of reference image. 🎯
  • --native-space β€” Write transformation between the native image spaces, rather than in CMTK standard RAS space. This is the default when running this tool as a Slicer plugin. 🧚

πŸ“ Image/Transformation Database πŸ“

  • --db <string> β€” Path to image/transformation database that should be updated with the newly transformation from reference to floating image. [Default: NONE] πŸ’Ύ
icymi: the default for --db is NONE, so if you don't say anything, nothing gets written to a database. just so you know. πŸ’–

🌟 AUTHORS 🌟

Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, Daniel B. Russakoff, and Yaroslav Halchenko πŸ‘‘πŸ‘‘πŸ‘‘ absolute legends, every single one.

πŸ’œ LICENSE πŸ’œ

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

🩹 BUGS 🩹

Report bugs at http://nitrc.org/projects/cmtk/ β€” they want to hear from you, bestie, it's not a bother, it's a contribution. 🫢

🌈 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. πŸ™βœ¨


okay and that's the whole thing!! this page is from CMTK 3.3.1p2, dated Jun 24 2026, and yeah β€” footer energy, but make it cute. go get that initial affine, bestie, you're gonna slay it. πŸ’…πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from