lmsba(1)

πŸ’– lmsba(1) πŸ’–

okay so bestie, pull up a chair 🫢 this page is all about lmsba, and it lives inside The Computational Morphology Toolkit β€” CMTK, iykyk 😌 and before you come for me: yes, that is literally the full toolkit name, I did not make it up for drama πŸ’…


🌸 NAME 🌸

lmsba β€” Local voting. that's it. that's the whole name. short, iconic, main character energy ✨

✨ SYNOPSIS ✨

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

(and yes, it says lsba in there β€” exactly like that, I'm just reading it to you fr fr πŸ™ˆ)

πŸ’… DESCRIPTION πŸ’…

so what does this thing actually DO. picture this: you've got a whole little group chat of multi-class segmentations, all of them coming from atlases that are already co-registered and reformatted. lmsba combines all of them together using locally-weighted Shape-Based Averaging πŸ¦‹

many atlas opinions in, one combined result out. it's giving collaborative. it's giving consensus. it ate πŸ‘‘

πŸŽ€ OPTIONS πŸŽ€

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

  • --help β€” writes the list of basic command line options to standard output. baby's first --help, we love to see it πŸ’–
  • --help-all β€” writes the complete list of basic and advanced command line options to standard output. the full lore drop 😭
  • --wiki β€” writes the list of command line options to standard output in MediaWiki markup. for when your docs live on a wiki bestie πŸŽ€
  • --man β€” writes man page source in 'nroff' markup to standard output. meta. we're in a manpage and it can print manpages 🌈
  • --version β€” writes toolkit version to standard output. vibe check the version, always ✨
  • --echo β€” writes the current command line to standard output. so you can see exactly what you just ran πŸ‘€
  • --verbose-level <integer> β€” set verbosity level. dial the yapping up or down πŸ”₯
  • --verbose, -v β€” increment verbosity level by 1. heads up though: this one is deprecated; it's only supported for backward compatibility 🫢
  • --threads <integer> β€” set maximum number of parallel threads (for POSIX threads and OpenMP). make it go brrr πŸ’…

🫢 Input Options 🫢

  • --set-padding-value <double> β€” set the padding value for input intensity images. pixels that have this value get ignored, so they don't mess with your results. [Default: disabled] 🚫

πŸ¦‹ Label Combination Options πŸ¦‹

  • --patch-radius <none> β€” the radius of the image patch (in pixels) used for local similarity computation. [Default: 5]
  • --search-radius <none> β€” the search radius for local image patch matching. the algorithm goes out and finds the best-matching patch within this radius by exhaustive search β€” like, it checks everything, no shortcuts 😀 [Default: 0]
  • --no-local-outliers β€” detect and exclude local outliers in the Shape Based Averaging procedure. bye felicia πŸ‘‹
  • --no-global-outliers β€” detect and exclude global outliers by removing poorly correlated atlases before the local SBA procedure even starts. preemptive blocking, iconic πŸ’€

⭐ Output Options ⭐

  • --output <string>, -o <string> β€” the file system path for the output image. tell it where to drop your masterpiece. [Default: lsbo.nii ]

πŸ‘‘ 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 πŸ›

found a bug? report it at http://nitrc.org/projects/cmtk/ β€” the devs 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. And from April 2009 through September 2011, CMTK development and maintenance was supported by the NIBIB under Grant EB008381. funding besties, we appreciate you 🫢🌈


and that's the whole page, bestie β€” this one is from CMTK 3.3.1p2, dated Jun 24 2026, and it's the lmsba(1) manual. go forth and average some shapes πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from