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

invertAffine

Invert an affine matrix


Description

This function is used to invert an affine matrix. It is a wrapper around solve, which additionally sets appropriate attributes.

Usage

invertAffine(affine)

Arguments

affine

An existing 4x4 affine matrix.

Value

The inverted affine matrix.

Author(s)

Jon Clayden <code@clayden.org>

See Also

Examples

affine <- readAffine(system.file("extdata","affine.txt",package="RNiftyReg"))
print(affine)
print(invertAffine(affine))

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.