---
name: "ComposeMultiTransform"
section: "1"
platform: "linux"
package: "ants"
version: "2.1.0-5"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/ComposeMultiTransform"
---

# ComposeMultiTransform(1)

part of ANTS registration suite

## NAME

ComposeMultiTransform - part of ANTS registration suite

## DESCRIPTION

ComposeMultiTransform ImageDimension output\_field \[-R reference\_image\] {\[deformation\_field \| \[-i\] affine\_transform\_txt \]}

-

  Usage has the same form as WarpImageMultiTransform

-

  For Example:

ComposeMultiTransform Dimension  outwarp.nii   **-R** template.nii   ExistingWarp.nii  ExistingAffine.nii

-

  or for an inverse mapping :

ComposeMultiTransform Dimension  outwarp.nii   **-R** template.nii   **-i** ExistingAffine.nii ExistingInverseWarp.nii

-

  recalling that the **-i** option takes the inverse of the affine mapping

Or: to compose multiple affine text file into one: ComposeMultiTransform ImageDimension output\_affine\_txt \[-R reference\_affine\_txt\] {\[-i\] affine\_transform\_txt} This will be evoked if a text file is given as the second parameter. In this case reference\_affine\_txt is used to define the center of the output affine.  The default reference is the first given affine text file. This ignores all non-txt files among the following parameters.
