lsba(1)

πŸ’– lsba β€” it's giving Local Voting πŸ’–

okay so bestie, welcome to lsba(1) from the Computational Morphology Toolkit β€” the CMTK girlies know πŸ’…


✨ NAME ✨

lsba β€” Local voting. that's it, that's the whole vibe πŸŽ€


🌸 SYNOPSIS 🌸

lsba [options] targetImage atlasIntensity1 atlasLabels1 [atlasIntensity2
atlasLabels2 [...]]

like. you give it a target image and then pairs of atlas intensities + atlas labels, and you can keep stacking pairs forever. endless slay πŸ”₯


πŸ¦‹ DESCRIPTION πŸ¦‹

so what this actually does: it takes a bunch of binary segmentations β€” specifically ones coming from atlases that are co-registered and reformatted β€” and it combines them all together using locally-weighted Shape-Based Averaging. that's the whole thing. it's a voting situation but make it local and make it shaped. periodt 🫢


πŸ‘‘ OPTIONS πŸ‘‘

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

these ones are the communal property of every CMTK tool, no cap:

  • --help β€” dumps the list of basic command line options to standard output. the "help me bestie" button πŸ’–
  • --help-all β€” same but complete: basic and advanced options, all of them, to standard output. the deluxe version ✨
  • --wiki β€” writes the command line options list to standard output in MediaWiki markup. for the wiki girlies πŸ“
  • --man β€” writes the man page source in 'nroff' markup to standard output. very meta of it πŸŽ€
  • --version β€” writes the toolkit version to standard output. identity check βœ…
  • --echo β€” writes the current command line to standard output. it's repeating you back, iconic πŸ’…
  • --verbose-level <integer> β€” sets the verbosity level. you pick a number, that's your volume knob πŸ”₯
  • --verbose, -v β€” bumps the verbosity level up by 1. heads up though: this one is deprecated β€” it's only still here for backward compatibility, so ngl, maybe use the other one πŸ™ˆ
  • --threads <integer> β€” sets the max number of parallel threads (for POSIX threads and OpenMP). multitasking queen πŸ‘‘

πŸ“ Input Options

  • --set-padding-value <double> β€” sets the padding value for the input intensity images. any pixels with this exact value get ignored. [Default: disabled]

πŸ’œ Label Combination Options

  • --patch-radius <none> β€” the radius of the image patch, in pixels, that gets used for the local similarity computation. [Default: 5]
  • --search-radius <none> β€” the search radius for local image patch matching. the algorithm hunts for the best-matching patch inside this radius by exhaustive search β€” it's thorough fr fr. [Default: 0]
  • --no-local-outliers β€” detects and excludes local outliers in the Shape Based Averaging procedure. we're filtering out the local weirdos πŸ’€
  • --no-global-outliers β€” detects and excludes global outliers by removing poorly correlated atlases before the local SBA procedure even starts. preemptive ghosting ✨

πŸŽ€ Output Options

  • --output <string>, -o <string> β€” the file system path for the output image. [Default: lsbo.nii ]

🌟 AUTHORS 🌟

Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, Daniel B. Russakoff, and Yaroslav Halchenko 🫢 absolute legends, all of them


πŸ“œ LICENSE πŸ“œ

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


πŸ’€ BUGS πŸ’€

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


okay that's the whole page, you ate that πŸ“ this was CMTK 3.3.1p2, dated Jun 24 2026, and it's lsba(1) obviously. go vote locally, main character 🌈✨

πŸ“¦ where this page comes from