statistics(1)

πŸ’– statistics(1) πŸ’–

okay bestie, so this is statistics β€” part of The Computational Morphometry Toolkit (CMTK, she's iconic). Pull up a chair, we're doing math on your pixels. πŸŽ€


✨ NAME ✨

statistics β€” image statistics, bestie. That's it, that's the name.


🌸 SYNOPSIS 🌸

statistics [options] ImageFile0 [ImageFile1 ...]

like, you give her one image, or several, or honestly as many as you want (that's what the ... is doing, she's flexible πŸ’…)


πŸ¦‹ DESCRIPTION πŸ¦‹

Statistical computations on image pixel intensities β€” i.e., means and standard deviations. That's the whole vibe. You feed her an image, she tells you numbers about it. No cap. ✨


πŸ‘‘ OPTIONS πŸ‘‘

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

like, every CMTK tool has these. they're the group chat regulars. 🫢

  • --help β€” Write list of basic command line options to standard output. Your little cheat sheet, go off.
  • --help-all β€” Write complete list of basic and advanced command line options to standard output. The director's cut. πŸ”₯
  • --wiki β€” Write list of command line options to standard output in MediaWiki markup. For when you're documenting and want it wiki-pretty.
  • --man β€” Write man page source in 'nroff' markup to standard output. Manpage-ception, love that for us.
  • --version β€” Write toolkit version to standard output.
  • --echo β€” Write the current command line to standard output. She repeats you back, affectionate behavior fr fr.
  • --verbose-level <integer> β€” Set verbosity level. Spill more tea, or less, you decide.
  • --verbose, -v β€” Increment verbosity level by 1 (deprecated; supported for backward compatibility). ⚠️ lowkey deprecated, but she keeps it around for the old heads.
  • --threads <integer> β€” Set maximum number of parallel threads (for POSIX threads and OpenMP). Make her multitask, slay.

πŸ“ Main Options

this is where the actual main character energy lives ✨

  • --label, -l β€” Interpret voxel values as labels. Not numbers you math on, just names for things, iykyk.
  • --gray, -g β€” Interpret voxel values as gray values (default) [This is the default]. So if you don't say anything, this is what she's doing. πŸ’…
  • --log, -L β€” Apply log() function to data. Squish those numbers logarithmically.
  • --exp, -e β€” Apply exp() function to data. Opposite direction, exponential it up.
  • --num-bins <integer>, -n <integer> β€” Number of histogram bins. [Default: 256]. Two hundred and fifty six bins, diva behavior.
  • --column, -C β€” Write statistics in column format rather than line format. Vertical girlies, this one's for you.
  • --e-notation, -E β€” Write floating point numbers in #e# notation (i.e., 1e-3 instead of 0.001). Tiny numbers, but ✨fancy✨.
  • --mask <string>, -m <string> β€” Analyze region based on binary mask file [Default: disabled]. Only look where you tell her to look, boundaries bestie.
  • --Mask <string>, -M <string> β€” Analyze regions separately based on mask file (label field). [Default: NONE]. Note the capital M, she's a different option entirely, don't get them confused girlie. 😭
  • --mask-output-all-up-to <integer> β€” Output results for all mask values up to given value, even such that do not actually appear in the mask. [Default: 0]. She'll report on mask labels that never even showed up. Thorough to a fault. 🫢
  • --percentile <double>, -p <double> β€” Add value to list of percentile to compute. You can stack these, one per percentile you're obsessed with.

πŸ’€ AUTHORS πŸ’€

Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, Daniel B. Russakoff, and Yaroslav Halchenko.

the whole squad came together for this one, we love a collaborative era 🌈


πŸ“œ LICENSE πŸ“œ

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


πŸ› BUGS πŸ›

Report bugs at http://nitrc.org/projects/cmtk/

like, if something's broken, tell them, don't just suffer in silence bestie 😭


πŸ’– 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.

funding lore!! 🧚 the way that a whole toolkit gets built because people believed in it πŸ’œ


ok that's the whole page, no skips, every flag accounted for. now go run it on your images and tell me what the standard deviation said. πŸŽ€

and that's a wrap on CMTK 3.3.1p2, dated Jun 24 2026 β€” statistics(1), out. πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from