R: Compose transformations

composeTransforms {RNiftyReg} | R Documentation

## Compose transformations

### Description

Compute the composition of two or more transforms, the single transform that combines their effects in order.

### Usage

    composeTransforms(...)

### Arguments

`...` | Affine or nonlinear transforms, possibly obtained from `forward` or `reverse`.

### Value

The composed transform. If all arguments are affines then the result will also be an affine; otherwise it will be a deformation field.

### Note

The source image for the composed transform is generally the source image from the first transform, and the target is the target image from the second transform. However, the target image attached to half transforms (as calculated by `halfTransform`) generally has a modified xform, compared to the original target. Therefore, composing a half transform with itself may not be exactly equivalent to the original.

### Author(s)

Jon Clayden <code@clayden.org>

### See Also

`niftyreg.linear`, `niftyreg.nonlinear`, `deformationField`

[Package RNiftyReg version 2.7.0 Index]