unsplit(1)

✨ unsplit(1) ✨

okay bestie, so you know how we're deep in the Computational Morphometry Toolkit (aka CMTK, say it with me πŸ‘‘)? yeah. this is unsplit. it's the manual page. and honestly? it's giving "glue but for images" πŸ’…


🌸 NAME 🌸

unsplit β€” unsplit images 🫢

like. un-split. it puts the pieces back together. the way that a name can just tell you the whole plot fr fr.


πŸ¦‹ SYNOPSIS πŸ¦‹

unsplit [options] inImage0 inImage1 ...

so you hand it a bunch of images, you can sprinkle in some options if you're feeling fancy, and it does its little magic. no cap. ✨


πŸ’– DESCRIPTION πŸ’–

Join separate image stacks into a single interleaved image volume 🧚

that's it. that's the whole thing. it takes your lil stacks and makes them ONE. main character energy, honestly. one volume to rule them all πŸ’€


🌈 OPTIONS 🌈

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

okay so these are the every-tool-gets-them options, the group chat regulars, the ones that show up to every party πŸŽ€

  • --help β€” dumps the list of basic command line options to standard output. your lil starter pack 🌱
  • --help-all β€” dumps 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 documenting, bestie πŸ“
  • --man β€” writes man page source in nroff markup to standard output. yes this exact vibe, but unironically πŸ“–
  • --version β€” writes the toolkit version to standard output. (it's 3.3.1p2, if you were wondering, and we'll get there πŸ’•)
  • --echo β€” writes the current command line to standard output. it's just repeating you back. mirror moment πŸͺž
  • --verbose-level <integer> β€” set the verbosity level. numbers. spice. whatever level you can handle πŸ”₯
  • --verbose, -v β€” increments the verbosity level by 1. deprecated ngl β€” it's only still here for backward compatibility, so don't build your whole personality on it πŸ™ˆ
  • --threads <integer> β€” sets the maximum number of parallel threads (for POSIX threads and OpenMP). yes queen, parallelize πŸ’…
  • --output <string>, -o <string> β€” the path for the output image. [Default: NONE] β€” so if you don't say anything, there's literally no output path, so maybe say something 🫢

πŸŽ€ Stacking Options πŸŽ€

this is where the actual stacking happens. the how, the where, the ~axis~ of it all ✨

  • --stacking β€” define the slice axis for stacking. supported values: "axial", "sagittal", "coronal", "interleave-x", "interleave-y", "interleave-z". the default is "axial". OR, because options within options is iconic, you can use one of these instead:
    • --axial, -a β€” interleaved axial images. [This is the default] πŸ”₯
    • --sagittal, -s β€” interleaved sagittal images ✨
    • --coronal, -c β€” interleaved coronal images ✨
    • --interleave-x, -x β€” interleaved along the x axis ✨
    • --interleave-y, -y β€” interleaved along the y axis ✨
    • --interleave-z, -z β€” interleaved along the z axis. [This is the default] πŸ”₯
  • --spacing <double> β€” if it's non-zero, this forces the slice spacing in the output image to the value you gave. and listen, this one's important: it is required when you're stacking single-slice images. [Default: 0] 🫢
bestie not me telling you twice β€” --spacing is literally not optional when your images are single-slice. that's not a vibe, that's a requirement πŸ’€

πŸ‘‘ AUTHORS πŸ‘‘

Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, Daniel B. Russakoff, and Yaroslav Halchenko 🌟

the whole squad. the founding mothers and fathers of "unsplit". we stan 🫢


πŸ“œ LICENSE πŸ“œ

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

the GPL, babes. read it, love it, respect it ⭐


πŸ’€ BUGS πŸ’€

Report bugs at http://nitrc.org/projects/cmtk/ πŸ’Œ

if something's broken, tell the people. don't suffer in silence, that's not the move.


🧚 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 queens. literal icons. we owe them everything 🌈


and that's the whole page, bestie!! this was unsplit(1) from CMTK version 3.3.1p2, dated Jun 24 2026 β€” so go forth, stack those slices, and slay πŸ’…βœ¨πŸ’–
πŸ“¦ where this page comes from