This is the command cmtk-dwi_mask_bad_slices that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
dwi_mask_bad_slices - Find bad slices in set of diffusion-weighted images.
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
Global Toolkit Options (these are shared by all CMTK tools)
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]
X coordinate axis is slice direction
Y coordinate axis is slice direction
Z coordinate axis is slice direction [This is the default]
Bad Slice Detection
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 <double>, -p <double>
Padding value to replace data of detected bad slices in output images. [Default: -1]
--output-directory <string>, -o <string>
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
Use cmtk-dwi_mask_bad_slices online using onworks.net services