deformationField | R Documentation |
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.
deformationField(transform, jacobian = TRUE)
transform |
A transform, possibly obtained from |
jacobian |
A logical value: if |
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.
Jon Clayden <code@clayden.org>
niftyreg.linear
, niftyreg.nonlinear
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.