interle..._slices(1)
β¨ interleaved_bad_slices β¨
okay bestie, so this one lives in section 1 of the manual (that's the "run it in your shell" section, iykyk) π
and it's a whole CMTK tool situation. Let's get into it.
πΈ NAME πΈ
interleaved_bad_slices β find bad slices in a time series of interleaved images (like, say, a resting-state fMRI series) π
π¦ SYNOPSIS π¦
interleaved_bad_slices ImagePaths
π DESCRIPTION π
So basically this tool reads a time series of 3D images and detects outliers. That's the whole vibe. It's giving "quality control but make it automatic." π
π OPTIONS π
π Global Toolkit Options (these are shared by all CMTK tools)
Like, every CMTK tool has these. They're the group-chat regulars. π«Ά
--helpβ writes the list of basic command line options to standard output. baby's first flag π--help-allβ writes the complete list of basic and advanced command line options to standard output. the deluxe edition β¨--wikiβ writes 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 toolkit version to standard output.--echoβ writes the current command line to standard output.--verbose-level <integer>β set verbosity level.--verbose,-vβ increment verbosity level by 1 (deprecated; supported for backward compatibility). ngl she's old but she's still here π--threads <integer>β set maximum number of parallel threads (for POSIX threads and OpenMP). parallelize and slay π₯
π¦ Input Options π¦
--slice-orientationβ define slice orientation of the diffusion images. Supported values:"axial","sagittal","coronal","slice-x","slice-y","slice-z", where the default is"axial", or just use one of these instead:--axialβ Axial slices [This is the default]--sagittalβ Sagittal slices--coronalβ Coronal slices--slice-xβ X coordinate axis is slice direction--slice-yβ Y coordinate axis is slice direction--slice-zβ Z coordinate axis is slice direction [This is the default]
π Bad Slice Detection π
--metricβ image-to-image similarity metric to compare neighbouring slices. Supported values:"ncc","rms", where the default is"ncc", or use one of these instead:--nccβ Normalized cross correlation. [This is the default]--rmsβ Root of mean squared differences.
--stdev-thresh <double>β threshold for bad slice identification in units of intensity standard deviations over all corresponding slices from the remaining diffusion images. [Default:3] literally the "how bad is bad" dial π¨
πΈ Output Options πΈ
--bad-slices-thresh <none>β minimum number of detected bad slices before reporting a volume (only the number of detected bad slices is reported in this case, rather than each slice separately). [Default:0] so like, set this and she stops yapping about every single slice and just gives you the count π«Ά
π AUTHORS π
Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, Daniel B. Russakoff, and Yaroslav Halchenko. the whole squad, no cap π
β LICENSE β
http://www.fsf.org/licensing/licenses/gpl.html
π BUGS π
Report bugs at http://nitrc.org/projects/cmtk/ β please actually do it, not me side-eyeing the code silently π
π 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 icons only π
β¨
okay and for the cute sign-off: this whole page is CMTK 3.3.1p2, dated Jun 24 2026 πΈ and yeah, the manual name up top (interleaved_bad_slices, section 1) is the whole reason we're here. 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