geomatch(1)
π geomatch β the vibes check for your images π
okay bestie, welcome to geomatch(1) from the Computational Morphometry Toolkit (CMTK, if you're cool). This is the page for the geomatch command, and it's literally here to answer one question: do these images actually match each other or not.
β¨ NAME β¨
geomatch β check whether the geometries (like grid dimensions, pixel sizes, spatial coordinates) of two or more images match. yes, that's the whole job. and it's iconic.
πΈ SYNOPSIS πΈ
geomatch ImagePaths
π¦ DESCRIPTION π¦
So the way this works: geomatch reads two or more images and tests whether their grid dimensions, their pixel sizes, and their image-to-space transformations all match. Like, are they actually the same shape and position in space, or are we being lied to.
Optionally, all the images get reoriented into standard orientation before the test even happens. very demure, very mindful.
Here's the vibe check result, and this part matters:
- If all images match, the tool exits with exit code 0. slay. everything is fine.
- If they don't all match, it exits with exit code 2. not a crash, just a "no ma'am."
- If there's an error (like, one of the images can't be read at all), the exit code is 1. π
fr fr, keep an eye on which code you get β2means "they don't match" and1means "something actually went wrong." those are two different problems bestie, don't mix them up.
π OPTIONS π
π Global Toolkit Options (these are shared by all CMTK tools, so you'll see them everywhere)
--helpβ writes the list of basic command line options to standard output. the starter pack.--help-allβ writes the complete list of basic and advanced command line options to standard output. the deluxe edition.--wikiβ writes the list of command line options to standard output in MediaWiki markup. for when you're being wiki-pilled.--manβ writes man page source in'nroff'markup to standard output. meta, honestly.--versionβ writes the toolkit version to standard output. know your era.--echoβ writes the current command line to standard output. receipts.--verbose-level <integer>β set the verbosity level. pick your yap amount.--verbose,-vβ increment verbosity level by 1. β οΈ deprecated, but supported for backward compatibility. she's retired but still showing up to the function.--threads <integer>β set the maximum number of parallel threads (for POSIX threads and OpenMP). let her multitask.
π₯ Input Options
--read-rasβ read all images in RAS orientation.
π Image Comparison Options
--no-check-xformsβ do not check transformation matrices. skipping that part, no judgment.--no-check-pixelsβ do not check pixelsizes. also skipping.--tolerance <double>β numerical tolerance for floating point comparisons of transformation matrices. [Default:1e-06]--tolerance-xlate <double>β numerical tolerance for floating point comparisons of the translational components of the transformation matrices. [Default:0.001]
π 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/. not me being the one to tell you, but if something's giving broken, that's where it goes.
π 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. we love funding, we love science, periodt. π
okay and that's the whole page bestie β¨ this little manual is from CMTK 3.3.1p2, dated Jun 24 2026, and it's the geomatch(1) page. go check your geometries, and remember: exit code 0 is the only vibe we're chasing πππ¦
π¦ 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