Decompose homogeneous affine matrix to CMTK registration parameters
affmat2cmtkparams(matrix, centre = c(0, 0, 0))
4x4 homogeneous affine matrix
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.
5x3 matrix of CMTK registration parameters with a version attribute
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.