Scroll to navigation

warp2ps(1) The Computational Morphometry Toolkit warp2ps(1)


warp2ps - Deformation to PostScript


warp2ps [options] referenceImage xform


Write deformation field as deformed grid in PostScript format for visualization and illustration


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

Invert the main transformation
Subtract this transformation (e.g., to exclude initial affine component) [Default: NONE]
Invert the minus transformation
Slice orthogonal to z-axis (axial, default) [This is the default]
Slice orthogonal to y-axis (sagittal)
Slice orthogonal to x-axis (coronal)
Index of z-slice (default: center ) [Default: -1]
Line width [default: 0] [Default: 0]
Sampling factor (default: 1) [Default: 1]
Coordinage scale factor (default: 1.0) [Default: 1]
Draw reference bounding box
Set in-plane crop region as 'x0,y0:x1,y1'


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