DOKK / manpages / debian 12 / cmtk / cmtk-dwi_mask_bad_slices.1.en
dwi_mask_bad_slices(1) The Computational Morphometry Toolkit dwi_mask_bad_slices(1)

dwi_mask_bad_slices - Find bad slices in set of diffusion-weighted images.

dwi_mask_bad_slices DiffusionImagePaths

This tool reads a set of 3D diffusion-weighted MR images and finds bad slices. A bad slice in a diffusion image is detected as one whose mean intensity is outside a specified interval around the mean of the means of all corresponding slices from the remaining diffusion images.

Write list of basic command line options to standard output.
Write complete list of basic and advanced command line options to standard output.
Write list of command line options to standard output in MediaWiki markup.
Write man page source in 'nroff' markup to standard output.
Write toolkit version to standard output.
Write the current command line to standard output.
Set verbosity level.
Increment verbosity level by 1 (deprecated; supported for backward compatibility).
Set maximum number of parallel threads (for POSIX threads and OpenMP).

Number of b=0 images at the beginning of the image list. These are not included in the bad slice detection or masking, but are also written to the output directory for convenience. It is assumed that all b=0 images are at the beginning of the list of input images, but not at the end or in the middle. [Default: 0]
Define slice orientation of the diffusion images. Supported values: "axial", "sagittal", "coronal", "slice-x", "slice-y", "slice-z", where the default is "axial", or use one of the following:
Axial slices [This is the default]
Sagittal slices
Coronal slices
X coordinate axis is slice direction
Y coordinate axis is slice direction
Z coordinate axis is slice direction [This is the default]

Threshold for bad slice identification in units of intensity standard deviations over all corresponding slices from the remaining diffusion images. [Default: 3]

Scalar data type for the output images. If your padding value is negative but your input data unsigned, for example, make sure to select a signed data type for the output. By default, the output data type is the same as the input type. Supported values: "char", "byte", "short", "ushort", "int", "uint", "float", "double", or use one of the following:
8 bits, signed
8 bits, unsigned
16 bits, signed
16 bits, unsigned
32 bits signed
32 bits unsigned
32 bits floating point
64 bits floating point

Padding value to replace data of detected bad slices in output images. [Default: -1]
CSV file capturing the slice number and distance of bad slices. [Default: NONE]
File system path for writing images with bad slices masked out (i.e., filled with a padding value). [Default: NONE]

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

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

Report bugs at http://nitrc.org/projects/cmtk/

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.

Jun 6 2022 CMTK 3.3.1p2