Convert CMTK registration to homogeneous affine matrix with dof2mat
cmtk.dof2mat(reg, Transpose = TRUE, version = FALSE)
Path to input registration file or 5x3 matrix of CMTK parameters.
ouput matrix so that form on disk matches R's convention.
Whether to return CMTK version string
Transpose is true by default since this results in the orientation of cmtk output files matching the orientation in R. Do not change this unless you're sure you know what you're doing!
4x4 transformation matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.