.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4. .TH ANTSAPPLYTRANSFORMS "1" "September 2017" "antsApplyTransforms 2.1.0" "User Commands" .SH NAME antsApplyTransforms \- part of ANTS registration suite .SH DESCRIPTION .SS "COMMAND:" .IP antsApplyTransforms .IP antsApplyTransforms, applied to an input image, transforms it according to a reference image and a transform (or a set of transforms). .SS "OPTIONS:" .HP \fB\-d\fR, \fB\-\-dimensionality\fR 2/3/4 .IP This option forces the image to be treated as a specified\-dimensional image. If not specified, antsWarp tries to infer the dimensionality from the input image. .TP \fB\-e\fR, \fB\-\-input\-image\-type\fR 0/1/2/3 scalar/vector/tensor/time\-series .IP Option specifying the input image type of scalar (default), vector, tensor, or time series. : 0 .HP \fB\-i\fR, \fB\-\-input\fR inputFileName .IP Currently, the only input objects supported are image objects. However, the current framework allows for warping of other objects such as meshes and point sets. .HP \fB\-r\fR, \fB\-\-reference\-image\fR imageFileName .IP For warping input images, the reference image defines the spacing, origin, size, and direction of the output warped image. .HP \fB\-o\fR, \fB\-\-output\fR warpedOutputFileName .IP [warpedOutputFileName or compositeDisplacementField,] Linear[genericAffineTransformFile,] .IP One can either output the warped image or, if the boolean is set, one can print out the displacement field based on the composite transform and the reference image. A third option is to compose all affine transforms and (if boolean is set) calculate its inverse which is then written to an ITK file .TP \fB\-n\fR, \fB\-\-interpolation\fR Linear NearestNeighbor MultiLabel[,] Gaussian[,] BSpline[] CosineWindowedSinc WelchWindowedSinc HammingWindowedSinc LanczosWindowedSinc .IP Several interpolation options are available in ITK. These have all been made available. .TP \fB\-t\fR, \fB\-\-transform\fR transformFileName [transformFileName,useInverse] .IP Several transform options are supported including all those defined in the ITK library in addition to a deformation field transform. The ordering of the transformations follows the ordering specified on the command line. An identity transform is pushed onto the transformation stack. Each new transform encountered on the command line is also pushed onto the transformation stack. Then, to warp the input object, each point comprising the input object is warped first according to the last transform pushed onto the stack followed by the second to last transform, etc. until the last transform encountered which is the identity transform. Also, it should be noted that the inverse transform can be accommodated with the usual caveat that such an inverse must be defined by the specified transform class .HP \fB\-v\fR, \fB\-\-default\-value\fR value .IP Default voxel value to be used with input images only. Specifies the voxel value when the input point maps outside the output domain .HP \fB\-z\fR, \fB\-\-static\-cast\-for\-R\fR value .IP forces static cast in ReadTransform (for R) .HP \fB\-\-float\fR .IP Use 'float' instead of 'double' for computations. : 0 .HP \fB\-h\fR .IP Print the help menu (short version). .HP \fB\-\-help\fR .IP Print the help menu. : 1