invertAffine | R Documentation |
This function is used to invert an affine matrix. It is a wrapper around
solve
, which additionally sets appropriate attributes.
invertAffine(affine)
affine |
An existing 4x4 affine matrix. |
The inverted affine matrix.
Jon Clayden <code@clayden.org>
solve
affine <- readAffine(system.file("extdata","affine.txt",package="RNiftyReg"))
print(affine)
print(invertAffine(affine))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.