.TH reformatx "1" "Jan 25 2019" "CMTK 3.3.1p1" "The Computational Morphometry Toolkit" .SH NAME reformatx \- Volume reformatter .SH SYNOPSIS reformatx [options] --floating floatingImg target x0 [x1 ...] OR reformatx [options] target [x0 x1 ...] {-j,--jacobian} xx0 [xx1 ...] OR WHERE x0 ... xN and xx0 ... xxN is [{-i,--inverse}] transformation##. (If the first transformation in the sequence is inverted, then '--inverse' must be preceded by '--', i.e., use '-- --inverse xform.path'). .SH DESCRIPTION Extended volume reformatter tool to compute reformatted images and Jacobian maps from arbitrary sequences of concatenated transformations .SH OPTIONS .SS Global Toolkit Options (these are shared by all CMTK tools) .TP 5 \fB\-\-help\fR Write list of basic command line options to standard output. .TP 5 \fB\-\-help-all\fR Write complete list of basic and advanced command line options to standard output. .TP 5 \fB\-\-wiki\fR Write list of command line options to standard output in MediaWiki markup. .TP 5 \fB\-\-man\fR Write man page source in 'nroff' markup to standard output. .TP 5 \fB\-\-version\fR Write toolkit version to standard output. .TP 5 \fB\-\-echo\fR Write the current command line to standard output. .TP 5 \fB\-\-verbose-level\fR \fI\fR Set verbosity level. .TP 5 \fB\-\-verbose\fR, \fB\-v\fR Increment verbosity level by 1 (deprecated; supported for backward compatibility). .TP 5 \fB\-\-threads\fR \fI\fR Set maximum number of parallel threads (for POSIX threads and OpenMP). .TP 5 \fB\-\-outputtype\fR Scalar data type for the output image. Supported values: "char", "byte", "short", "ushort", "int", "uint", "float", "double", or use one of the following: .RS 5 .TP 5 \fB\-\-char\fR 8 bits, signed .TP 5 \fB\-\-byte\fR 8 bits, unsigned .TP 5 \fB\-\-short\fR 16 bits, signed .TP 5 \fB\-\-ushort\fR 16 bits, unsigned .TP 5 \fB\-\-int\fR 32 bits signed .TP 5 \fB\-\-uint\fR 32 bits unsigned .TP 5 \fB\-\-float\fR 32 bits floating point .TP 5 \fB\-\-double\fR 64 bits floating point .RE .TP 5 \fB\-\-pad-out\fR \fI\fR, \fB\-P\fR \fI\fR Padding value for output image .B [Default: 0] .SS Options for Plain Reformatting .TP 5 \fB\-\-interpolation\fR Image interpolation method. Supported values: "linear", "nn", "cubic", "pv", "sinc-cosine", "sinc-hamming", where the default is "linear", or use one of the following: .RS 5 .TP 5 \fB\-\-linear\fR Trilinear interpolation \fB[This is the default]\fR .TP 5 \fB\-\-nn\fR Nearest neighbor interpolation .TP 5 \fB\-\-cubic\fR Tricubic interpolation .TP 5 \fB\-\-pv\fR Partial volume interpolation .TP 5 \fB\-\-sinc-cosine\fR Sinc interpolation with cosine window .TP 5 \fB\-\-sinc-hamming\fR Sinc interpolation with Hamming window .RE .TP 5 \fB\-\-sinc-window-radius\fR \fI\fR Window radius for Sinc interpolation .B [Default: 3] .TP 5 \fB\-\-preserve-mass\fR Mass-preserving reformatting: multiply every reformatted value with the Jacobian determinant of the applied transformation. .SS Options for Jacobian Map Reformatting .TP 5 \fB\-\-jacobian-correct-global\fR Correct Jacobian maps for global scale. .TP 5 \fB\-\-no-jacobian-correct-global\fR Do not correct Jacobian maps for global scale. \fB[This is the default]\fR .SS Input Options .TP 5 \fB\-\-target-grid\fR \fI\fR Define target grid for reformating as Nx,Ny,Nz:dX,dY,dZ[:Ox,Oy,Oz] (dims:pixel:offset) .TP 5 \fB\-\-mask\fR, \fB\-m\fR Use target pixel data as binary mask. .TP 5 \fB\-\-crop\fR \fI\fR Crop target image: x0,y0,z0,x1,y1,z2 .TP 5 \fB\-\-target-offset\fR \fI\fR, \fB\-O\fR \fI\fR Override target image offset and set to x,y,z mm .TP 5 \fB\-\-target-offset-pixels\fR \fI\fR Override target image offset and set to dx,dy,dz pixels .TP 5 \fB\-\-floating\fR \fI\fR, \fB\-F\fR \fI\fR Format and path of floating image. .B [Default: NONE] .TP 5 \fB\-\-pad-floating\fR \fI\fR Padding value for the floating image .B [Default: disabled] .SS Output Options .TP 5 \fB\-\-outfile\fR \fI\fR, \fB\-o\fR \fI\fR Format and path of output image. .B [Default: "reformat.nii"] .SS Image/Transformation Database .TP 5 \fB\-\-db\fR \fI\fR Path to image/transformation database that should be updated with the newly created image. .B [Default: NONE] .SH AUTHORS Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, Daniel B. Russakoff, and Yaroslav Halchenko .SH LICENSE http://www.fsf.org/licensing/licenses/gpl.html .SH BUGS Report bugs at http://nitrc.org/projects/cmtk/ .SH 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.