levelset(1)
โจ levelset(1) โจ
okay bestie, so this page is levelset(1) from The Computational Morphometry Toolkit (aka CMTK, the icon itself ๐ซถ) and it's literally your girl for making a foreground/background mask out of a brain pic. no cap.
๐ธ NAME ๐ธ
levelset โ levelset segmentation, periodt ๐
๐ฆ SYNOPSIS ๐ฆ
levelset InputImage OutputImage
like that's it. two arguments. you got this ๐
๐ DESCRIPTION ๐
Levelset-type segmentation of foreground/background using minimum regional variance energy. translation: it looks at your image, vibes out which pixels are "thing" and which are "not thing," and evolves a levelset function until the energy is giving minimum regional variance ๐งโจ
๐ OPTIONS ๐
๐ Global Toolkit Options (these are shared by all CMTK tools)
these ones are the universal besties โ every CMTK tool has them ๐
--helpโ spills the list of basic command line options to standard output ๐--help-allโ same but the complete list, basic and advanced, to standard output ๐ฅ--wikiโ writes the command line options as MediaWiki markup to standard output, for all my wiki girlies ๐--manโ writes man page source in'nroff'markup to standard output. meta, honestly ๐--xmlโ writes the command line syntax specification in XML markup to standard output (it's for Slicer integration, iykyk) โญ--versionโ writes the toolkit version to standard output ๐--echoโ writes the current command line to standard output, so you can see exactly what you did ๐ซถ--verbose-level <integer>โ set the verbosity level ๐ฃ๏ธ--verbose,-vโ increment verbosity level by 1. lowkey deprecated, but supported for backward compatibility so nobody's workflow breaks ๐--threads <integer>โ set the maximum number of parallel threads (for POSIX threads and OpenMP). go fast, queen โก
๐ Main Options
--binarize,-bโ binarize the levelset and write it as a byte mask, instead of writing the floating-point levelset function itself ๐ธ
๐ง These parameters control the initialization of the levelset function
--scale-initial-sphere <double>โ scale factor to reduce or increase the size of the initial foreground region sphere. [Default:1] ๐ฎ
๐ These parameters control the evolution of the levelset function
--iterations <integer>,-n <integer>โ maximum number of iterations [Default:100] ๐--force-iterations,-fโ force that given number of iterations, even when convergence has been detected. yes, it will keep going. it is determined ๐--filter-sigma <double>,-s <double>โ Gaussian filter sigma in world coordinate units (e.g.,mm) [Default:2] ๐--delta <double>,-d <double>โ time constant for levelset evolution; must be > 0; larger is faster [Default:0.1] ๐โ๏ธ--levelset-threshold <double>,-t <double>โ levelset threshold: the levelset function is truncated at +/- this value [Default:1] โ๏ธ
๐ 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 ๐
โญ LICENSE โญ
http://www.fsf.org/licensing/licenses/gpl.html
๐ BUGS ๐
Report bugs at http://nitrc.org/projects/cmtk/ โ do it, they're nice about it ๐
๐ธ 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 page, bestie โ this wasCMTK 3.3.1p2, datedJun 24 2026, and it'slevelset(1). go segment something iconic, you're doing amazing ๐ ๐
๐ฆ 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