Scroll to navigation

groupwise_init(1) The Computational Morphometry Toolkit groupwise_init(1)


groupwise_init - Affine initialization for groupwise registration


groupwise_init [options] image0 [image1 ...]


Compute initial affine alignment for a group of input images, which can be used as an input for groupwise registration


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).

Main Options

Input filename for pre-defined template image. [Default: NONE]
Root directory for all output files. [Default: NONE]
Output filename for groupwise registration archive. [Default: groupwise.xforms ]
Output filename for registered average image. [Default: average.nii ]
Use cubic (rather than linear) interpolation for average image.
Do not write average image.
Initially align centers of mass rather than centers of bounding boxes.
Initialize scale factors using first-order moments
Center aligned images in template grid field of view.
Scalar data type for the output average image. Supported values: "char", "byte", "short", "ushort", "int", "uint", "float", "double", where the default is "float", 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 [This is the default]
64 bits floating point


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



Report bugs at


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