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

deformationField

Calculate the deformation field for a transformation


Description

This function is used to calculate the deformation field corresponding to a specified linear or nonlinear transformation. The deformation field gives the location in source image space corresponding to the centre of each voxel in target space. It is used as a common form for linear and nonlinear transformations, and allows them to be visualised.

Usage

deformationField(transform, jacobian = TRUE)

Arguments

transform

A transform, possibly obtained from forward or reverse.

jacobian

A logical value: if TRUE, a Jacobian determinant map is also calculated and returned in an attribute.

Value

An "internalImage" representing the deformation field. If requested, the Jacobian map is stored in an attribute, which can be extracted using the jacobian accessor function.

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.