filter(1)

πŸ’– filter(1) β€” Filter a volume image πŸ’–

okay bestie, welcome to filter, a.k.a. the CMTK glow-up station for volume images ✨ this one's from The Computational Morphometry Toolkit and it is literally here to make your images look different on purpose, not by accident πŸ’…


🌸 NAME 🌸

filter β€” Filter a volume image πŸ¦‹


✨ SYNOPSIS ✨

okay so there's three whole ways to call this thing, and the way that you pick one is everything:

filter [options] input output
filter [options] [-s,--studholme] input output average subject img0 [img1...]
filter [options] [-R,--rohlfing] input output subject

pick your fighter πŸ’…


πŸŽ€ DESCRIPTION πŸŽ€

this tool applies spatial filtering operators to your image, and yes that includes the content-sensitive operators too β€” the ones built on selective Gaussian kernels 🧚 no cap, that's the whole vibe: spatial filtering, selective Gaussian kernels, content-aware behavior. iconic.


πŸ‘‘ OPTIONS πŸ‘‘

🌈 Global Toolkit Options (these are shared by all CMTK tools)

like, every CMTK tool gets these, it's a family thing 🫢

  • --help β€” dumps the list of basic command line options to standard output πŸ“
  • --help-all β€” dumps the complete list, basic AND advanced command line options, to standard output πŸ”₯
  • --wiki β€” writes the command line options list to standard output in MediaWiki markup ✨
  • --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 πŸͺž
  • --verbose-level <integer> β€” set the verbosity level πŸ”Š
  • --verbose, -v β€” bump the verbosity level up by 1. and bestie, heads up: this one's deprecated, it's only still here for backward compatibility πŸ’€
  • --threads <integer> β€” set the max number of parallel threads (for POSIX threads and OpenMP) 🧡

πŸ“ Main Options

  • --gaussian <float>, -g <float> β€” Gaussian filter width (sigma). [Default: disabled]
  • --radius <float>, -r <float> β€” Filter radius (truncated outside). [Default: 2]
  • --mask <string>, -m <string> β€” Binary mask file name. [Default: NONE]
  • --studholme, -s β€” Use Studholme's consistent filtering πŸ’«
  • --bin-width <float>, -b <float> β€” Intensity bin width for consistent filtering. [Default: 10]
  • --rohlfing, -R β€” Use Rohlfing's single-image consistent filtering 🎯
  • --intensity-gaussian <float>, -G <float> β€” Intensity gaussian sigma for consistent filtering. [Default: 0]

πŸ¦‹ Image/Transformation Database

  • --db <string> β€” Path to the image/transformation database that should be updated with the newly created image. [Default: NONE]

πŸ’œ AUTHORS πŸ’œ

Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, Daniel B. Russakoff, and Yaroslav Halchenko πŸ‘‘ absolute legends, every single one.


🌈 LICENSE 🌈

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


πŸ™ˆ BUGS πŸ™ˆ

found a bug? report it at http://nitrc.org/projects/cmtk/ β€” they wanna know, 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. πŸ’–


and that's the whole thing, bestie 🫢 this was CMTK 3.3.1p2, dated Jun 24 2026, and yes the page you just read is filter(1). now go forth and filter something, you got this πŸ’…βœ¨

πŸ“¦ where this page comes from