similarity(1)
β¨ similarity(1) β The Computational Morphometry Toolkit β¨
okay bestie, sit DOWN, because we're about to talk about similarity, a lil CMTK tool that lives in your terminal and is genuinely so good at comparing two images π it's giving "matchmaker but for brain scans" and honestly? iconic.
πΈ NAME πΈ
similarity β Image similarity π
like, it compares. that's the whole vibe.
π SYNOPSIS π
similarity Image0 Image1
two images in, one similarity measure out, no cap. π¦
π DESCRIPTION π
bestie. what this does is compute similarity measures between two images β think intensity difference, or label overlaps if your pixels are labels instead of intensities. you hand it two images and it tells you how alike they are. that's it, that's the whole thing, and the way that it just works?? obsessed. β¨
fr fr, this is the main character of the whole page. no shame in that.
β¨ OPTIONS β¨
π« Global Toolkit Options (these are shared by all CMTK tools)
these ones are the universal besties β every CMTK tool has them, so once you learn them you're basically set for life π«Ά
--helpβ writes the list of basic command line options straight to standard output. baby's first flag π--help-allβ writes the complete list of basic AND advanced command line options to standard output. deep dive mode, we're reading the whole lore π§--wikiβ writes the list of command line options to standard output in MediaWiki markup. yes, for the wiki girlies.--manβ writes man page source innroffmarkup to standard output. meta?? on a man page?? literally yes.--versionβ writes the toolkit version to standard output. we're checking the vibe. π--echoβ writes the current command line to standard output. it just repeats your whole command back at you like "heard u the first time" π--verbose-level <integer>β set the verbosity level. dial it up, dial it down, integer style.--verbose,-vβ increment verbosity level by1. β οΈ heads up bestie: this one is deprecated β it's only still around for backward compatibility, so don't build anything new on it.--threads <integer>β set the maximum number of parallel threads (for POSIX threads and OpenMP). more threads = more chaos = more speed, within reason π
π₯ Main Options π₯
this is where the actual similarity gossip happens:
--outside-bgβ assume voxels outside the floating image are background. ok so the floating image is the one being floaty about things π¦--pad0 <double>β define the padding value for the reference image. [Default: disabled]--pad1 <double>β define the padding value for the floating image. [Default: disabled]--grey,-gβ image pixels are intensities. [This is the default] so if you don't say anything, this is what you get π--labels,-lβ image pixels are labels. switch over here when you're doing label overlap biz π--mask <string>,-m <string>β mask file for optional region-based analysis. [Default: NONE]--force-max <integer>β force the maximum label value. [Default: 0]--histogram-text-file <string>β output file name for the histogram (plain text format). [Default: NONE]
π AUTHORS π
Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, Daniel B. Russakoff, and Yaroslav Halchenko.
the whole squad showed up and honestly they ate π
π LICENSE π
http://www.fsf.org/licensing/licenses/gpl.html
π BUGS π
found a bug? report bugs at http://nitrc.org/projects/cmtk/ β do NOT sit on it, we're telling the internet 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.
the way that funding history got its OWN paragraph?? respect the receipts. π
okay pookie, that's the whole page π¦ you're now officially certified in similarity(1) and nobody can take that from you. this bad girl is CMTK 3.3.1p2, dated Jun 24 2026, and yeah β it still calls itself similarity(1) at the bottom like the icon it is. slay, periodt, go compare some images π
β¨
π¦ 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