Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

forward

Extract forward and reverse transformations


Description

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.

Usage

forward(object, ...)

## S3 method for class 'niftyreg'
forward(object, i = 1, ...)

reverse(object, ...)

## S3 method for class 'niftyreg'
reverse(object, i = 1, ...)

Arguments

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.

Value

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.

Author(s)

Jon Clayden <code@clayden.org>

See Also


RNiftyReg

Image Registration Using the 'NiftyReg' Library

v2.7.0
GPL-2
Authors
Jon Clayden [cre, aut] (<https://orcid.org/0000-0002-6608-0619>), Marc Modat [aut], Benoit Presles [aut], Thanasis Anthopoulos [aut], Pankaj Daga [aut]
Initial release
2020-09-10

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.