forward | R Documentation |
These functions extract forward and reverse transformations in a form
compatible with applyTransform
and other functions. They are
(S3) generic, but only methods for "niftyreg"
objects currently
exist.
forward(object, ...)
## S3 method for class 'niftyreg'
forward(object, i = 1L, ...)
reverse(object, ...)
## S3 method for class 'niftyreg'
reverse(object, i = 1L, ...)
object |
An R object. |
... |
Additional arguments. Not currently used. |
i |
The transformation number to extract. There will only be more than one in the case of multiple registration. |
A transformation object, an image or affine matrix, with suitable
attributes giving pointers to source and target images. If there is no
transformation information in the object then NULL
is returned.
Jon Clayden <code@clayden.org>
niftyreg
, applyTransform
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.