mat2dof(1)
π mat2dof β the manual page, but make it make sense
okay bestie, welcome to mat2dof(1), a tool from The Computational Morphometry Toolkit (CMTK, we love her). she's a tiny little converter and honestly? she eats. let's get into it β¨
πΈ NAME πΈ
mat2dof β Matrix to degrees of freedom
like... that's literally the whole plot. matrix in, degrees of freedom out. periodt.
β¨ SYNOPSIS β¨
mat2dof [options] < matrix
she reads the matrix from standard input π so you pipe it in, you don't pass a filename. iykyk.
π¦ DESCRIPTION π¦
Convert transformation matrix to degrees of freedom.
that's it. that's the vibe check. she takes your transformation matrix and hands you back degrees of freedom. no cap.
π OPTIONS π
π Global Toolkit Options (these are shared by all CMTK tools)
these are the universal bestie behaviors, every CMTK tool has them:
--helpβ gets you the list of basic command line options, printed to standard output.--help-allβ the deluxe version: the complete list of basic and advanced command line options, to standard output.--wikiβ spits out the list of command line options to standard output, but in MediaWiki markup. wiki girlies rise π«Ά--manβ writes man page source in'nroff'markup to standard output.--versionβ writes the toolkit version to standard output.--echoβ writes the current command line to standard output. she repeats you back, iconic.--verbose-level<integer>β sets the verbosity level.--verbose,-vβ bumps the verbosity level up by 1. β οΈ heads up: this one is deprecated, it's only hanging around for backward compatibility.--threads<integer>β sets the maximum number of parallel threads (for POSIX threads and OpenMP). multi-threaded main character energy π₯
π Input Options π
--matrix3x3,-3β only takes in the upper left 3x3 submatrix. keep it small, keep it cute.--transpose,-tβ transposes the input matrix. flip it like it's hot π--pixel-size<string>β for matrices living in pixel space (aka mapping from grid index to physical coordinate), set the image grid pixel size.[Default: NONE]
π Transformation Modifiers π
this is where you customize the β¨lewkβ¨:
--center<string>β set centerx,y,zfor rotation and scaling.[Default: NONE]--offset<string>β set offsetdx,dy,dzfor translation.[Default: NONE]--xlate<string>β translate the result relative by the given vector.[Default: NONE]--inverseβ outputs the inverse transformation. no cap: inversion happens AFTER all the other modifiers have been applied β order matters, don't play with her.
π Output Options π
--output<string>,-o<string>β write the output transformation to this file.[Default: NONE]--list<string>β write the output in list format to this archive (a directory that includes the'registration'and'studylist'files).[Default: NONE]--appendβ append to the output file instead of creating a new one and overwriting exisiting files.
β οΈ yes, --append overwrites-vs-appends exisiting files β read it twice if you must, but she's not asking permission before she clobbers stuff. π
π«Ά AUTHORS π«Ά
Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, Daniel B. Russakoff, and Yaroslav Halchenko
a whole squad. we stan a collaborative effort π
β LICENSE β
http://www.fsf.org/licensing/licenses/gpl.html
π BUGS π
Report bugs at http://nitrc.org/projects/cmtk/
not me asking you to file a bug report but like... do it nicely okay π
πΈ 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.
look at the receipts. grants. funders. the whole glow up π
okay that's the page!! this was CMTK 3.3.1p2, dated Jun 24 2026 β shoutout to the CMTK girlies, and to you for reading all the way to the bottom. slay, stay hydrated, and always read your man pages πβ¨π
π¦ 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