sba(1)
π sba(1) β Shape-based Averaging of label images π
okay bestie, sit down, hydrate, because this one is so good. it's sba, from section (1) of the manual (yes, that's a command-line tool manual, iykyk), and it does shape-based averaging of label images. we're averaging brains. visually. no cap.
β¨ NAME β¨
sba β Shape-based Averaging of label images π«Ά
π¦ SYNOPSIS π¦
sba InputImageVector
literally one job. one image vector. slay.
πΈ DESCRIPTION πΈ
so what does it DO? it averages segmentations (aka label fields) using the Euclidean Distance Transform. π
π important, bestie: all input images must be in the same space. all of them. every single one. the EDT is computed in this space too, so if your images are living in different spaces, that's not a vibe check, that's a disaster.
the algorithm details live at http://dx.doi.org/10.1109/TIP.2006.884936 if you want to go read the Actual Scienceβ’. go off, scholar. π
π OPTIONS π
π Global Toolkit Options (these are shared by all CMTK tools)
these ones are the group-chat regulars. every CMTK tool has them. iconic behavior.
--helpβ writes the list of basic command line options to standard output. baby version. πΌ--help-allβ writes the complete list of basic and advanced command line options to standard output. the full lore. π--wikiβ writes the list of command line options to standard output in MediaWiki markup. for when you're being wiki-famous. β¨--manβ writes man page source in'nroff'markup to standard output. it's giving recursive. π€―--versionβ writes toolkit version to standard output. tell me who you are. π--echoβ writes the current command line to standard output. echo echo echo. π’--verbose-level <integer>β sets verbosity level. dial it up, dial it down, it's your world. ποΈ--verbose,-vβ increments verbosity level by 1. β οΈ heads up: this one is deprecated and only supported for backward compatibility. so like, it still works, but it's giving vintage. π--threads <integer>β sets the maximum number of parallel threads (for POSIX threads and OpenMP). more threads, more chaos, more speed. π₯
π Input Options π
--num-labels <integer>,-n <integer>β number of labels. it is assumed that only values[0..num]occur in the images. [Default: 0]--padding <float>,-p <float>β padding value in input image. [Default: disabled] π«
π§ Label Combination Options π§
--exclude-outliers,-xβ exclude local outliers in the shape-based averaging algorithm. outliers at each pixel are defined as those input images for which the distance from the nearest pixel with the current label exceeds thresholds computed from the set of distances over all inputs. basically: your weird little weirdos get left out of the vote. bye bestie π
π Output Options π
--output <string>,-o <string>β file name for output segmentation file. [Default:sba.nii] β
π AUTHORS π
Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, Daniel B. Russakoff, and Yaroslav Halchenko. legends, all of them. π«Ά
π LICENSE π
http://www.fsf.org/licensing/licenses/gpl.html
go read it, it's good for you. π
π BUGS π
report bugs at http://nitrc.org/projects/cmtk/
not me asking you to file an issue... but like, do it. the devs wanna know. π
π 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 bodies, we love you, thank you for the bag π°π
and that's the whole page, bestie!! this was sba(1) from CMTK 3.3.1p2, dated Jun 24 2026 β screenshot it, bookmark it, tell your friends. periodt. π
β¨π¦
π¦ 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