average_affine(1)
π average_affine(1) π
okay so bestie, welcome to average_affine β it's a tool from The Computational Morphology Toolkit (aka CMTK, iykyk) and it does exactly one thing but it does it so well. Buckle up π
β¨ NAME β¨
average_affine β averages affine transformations. that's it. that's the whole vibe. π¦
πΈ SYNOPSIS πΈ
average_affine [options] x0 [x1 ...]
WHERE x0 ... xN is [{-i,--inverse}] affine transformation #. (If the
first transformation in the sequence is inverted, then '--inverse' must
be preceded by '--', i.e., use '-- --inverse xform.path').
so like, x0 through xN are your affine transformations, and each one can be flipped with {-i,--inverse} if that's the energy you're bringing today. π«
β οΈ bestie listen: if the first transformation in your sequence is inverted, then--inversehas to be preceded by--, so you literally type-- --inverse xform.path. yes really. it's giving "the parser needed a lil personal space". π
π DESCRIPTION π
this tool computes the average of a sequence of user-provided affine coordinate transformations. you feed it a bunch of transforms, it hands you back the average one. no cap, that's the whole description. slay. β¨
π OPTIONS π
π Global Toolkit Options π
(these are shared by all CMTK tools, so they'll feel familiar if you've been around the toolkit before π«Ά)
--helpβ writes the list of basic command line options to standard output. the lil starter pack. π--help-allβ writes the complete list of basic and advanced command line options to standard output. the deluxe edition, the full lore, the director's cut. π--wikiβ writes the list of command line options to standard output in MediaWiki markup. for when you're documenting, bestie. π--manβ writes man page source in'nroff'markup to standard output. π§--versionβ writes toolkit version to standard output. π·οΈ--echoβ writes the current command line to standard output. so you can see exactly what you typed, no revisionist history. π--verbose-level <integer>β set verbosity level. crank it up, turn the volume on. π--verbose,-vβ increment verbosity level by 1. β οΈ deprecated β supported for backward compatibility only. it's giving legacy, but we still love her. π--threads <integer>β set maximum number of parallel threads (for POSIX threads and OpenMP). multitasking queen behavior. π₯
π Main Options π
--include-reference,-rβ include reference coordinate system in the averaging. let the reference girl join the group chat. π--outfile <string>,-o <string>β output transformation. [Default:average.xform] β note the default literally has a space before the closing bracket, that's just how she is, iconic. π--append,-aβ append to output file [default: overwrite]. the default is to overwrite, so if you wanna keep what's already there you gotta say-a, bestie. π--invert-output,-Iβ invert averaged transformation before output [default: no]. flip it, turn it, reverse it. π
π«Ά AUTHORS π«Ά
Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, Daniel B. Russakoff, and Yaroslav Halchenko. the whole squad, the founding mothers and fathers of this codebase, we stan. π
π LICENSE π
http://www.fsf.org/licensing/licenses/gpl.html
π BUGS π
report bugs at http://nitrc.org/projects/cmtk/
not me asking you to file an issue β okay yes, me asking you to file an issue. please. π₯Ί
β 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.
the funding grandparents came THROUGH, we owe them everything honestly. πΈ
and that's the whole page, bestie!! this was CMTK 3.3.1p2, dated Jun 24 2026, and yes it's the average_affine(1) manual page β you were literally reading it the whole time. go average something. 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