affmat2cmtkparams: Decompose homogeneous affine matrix to CMTK registration...

Description Usage Arguments Details Value See Also

View source: R/cmtk_geometry.R

Description

Decompose homogeneous affine matrix to CMTK registration parameters

Usage

1
affmat2cmtkparams(matrix, centre = c(0, 0, 0))

Arguments

matrix

4x4 homogeneous affine matrix

centre

Rotation centre

Details

The version attribute of the resultant matrix marks this as compliant with CMTK>v2.4 (~ Dec 2013) when a bug in affine matrix (de)composition was fixed.

Value

5x3 matrix of CMTK registration parameters with a version attribute

See Also

Other cmtk-geometry: cmtk.dof2mat, cmtk.mat2dof, cmtkparams2affmat


jefferis/nat documentation built on Oct. 25, 2018, 6:29 p.m.