Description Usage Arguments Details Value Note Author(s)

`isAffine`

returns a logical value indicating whether its argument is,
or resembles, a 4x4 affine matrix. `asAffine`

converts a suitable
matrix to the affine class, attaching the source and target images as
attributes. Affine transformations are a class of linear transformations
which preserve points, straight lines and planes, and may consist of a
combination of rotation, translation, scale and skew operations.

1 2 3 4 5 6 |

`object` |
An R object. |

`strict` |
If |

`source, target` |
Source and target images for the transformation. |

`x` |
An |

`...` |
Additional parameters to methods. Currently unused. |

NiftyReg's convention is for affine matrices to transform world coordinates
(in the sense of `voxelToWorld`

) from TARGET to SOURCE space, although
transforms are logically applied the other way.

A logical value, which is `TRUE`

if `object`

appears to be
an affine matrix.

2D affines are a subset of 3D affines, and are stored in a 4x4 matrix for internal consistency, even though a 3x3 matrix would suffice.

Jon Clayden <[email protected]>

RNiftyReg documentation built on Nov. 2, 2018, 1:05 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.