sbai(1)

✨ sbai(1) ✨

okay bestie so this is a page from πŸ“– The Computational Morphometry Toolkit (you know, CMTK πŸ’–), and it's all about sbai. sit down, hydrate, we're doing label-image math 🧚


🌸 NAME 🌸

sbai β€” Shape-Based Averaging and interpolation of label images 🫢 literally that's the whole vibe.


🌈 SYNOPSIS 🌈

sbai InputImageVector

πŸ’… DESCRIPTION πŸ’…

So what it does is it averages segmentations (that's label fields, bestie, not the vibe kind) using the Euclidean Distance Transform. lowercase iconic ✨

This tool does joint interpolation and averaging by interpolating from the EDT. The catch, and it's a real one: this requires that the inputs are transformations from the same fixed to (not necessarily different) moving images. EDT computation happens in the space of each moving image, so like, each one gets its own little moment 🌸

if you wanna read the whole algorithm nerd-out, the details are at http://dx.doi.org/10.1109/TIP.2006.884936 β€” go off, scholar πŸ‘‘


⭐ OPTIONS ⭐

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

  • --help β€” prints the list of basic command line options to standard output πŸ’–
  • --help-all β€” prints the complete list of basic and advanced command line options to standard output. all of it. the whole menu πŸ“
  • --wiki β€” prints the list of command line options to standard output in MediaWiki markup
  • --man β€” writes man page source in 'nroff' markup to standard output
  • --version β€” writes the toolkit version to standard output πŸŽ€
  • --echo β€” writes the current command line to standard output
  • --verbose-level <integer> β€” sets the verbosity level
  • --verbose, -v β€” increments verbosity level by 1. ⚠️ deprecated; supported for backward compatibility only, so it's giving legacy-but-loved πŸ’€
  • --threads <integer> β€” sets the maximum number of parallel threads (for POSIX threads and OpenMP). yes queen, parallelize πŸ‘‘

πŸ¦‹ Input Options

  • --num-labels <integer>, -n <integer> β€” the number of labels. it is assumed that only values [0..num] occur in the images. [Default: 0]
  • --padding <float>, -p <float> β€” the padding value in the input image. [Default: disabled]
  • --replace-from <string> β€” the Replace from pattern
  • --replace-to <string> β€” the Replace to pattern

πŸŽ€ Output Options

  • --output <string>, -o <string> β€” file name for the output segmentation file. [Default: sbai.nii ]

🫢 AUTHORS 🫢

Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, Daniel B. Russakoff, and Yaroslav Halchenko. a whole squad, no cap πŸ’œ


πŸ“œ 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. funding arc, honestly so real 🫢


and that's the page, bestie!! this one's from CMTK 3.3.1p2, dated Jun 24 2026 β€” marking it in the calendar like the main character moment it is πŸŒˆβ­πŸ’–

πŸ“¦ where this page comes from