cmtk.dof2mat: Convert CMTK registration to homogeneous affine matrix with...

Description Usage Arguments Details Value See Also

View source: R/cmtk.R

Description

Convert CMTK registration to homogeneous affine matrix with dof2mat

Usage

1
cmtk.dof2mat(reg, Transpose = TRUE, version = FALSE)

Arguments

reg

Path to input registration file or 5x3 matrix of CMTK parameters.

Transpose

ouput matrix so that form on disk matches R's convention.

version

Whether to return CMTK version string

Details

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!

Value

4x4 transformation matrix

See Also

Other cmtk-commandline: cmtk.mat2dof

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


jefferis/nat documentation built on Sept. 29, 2018, 5:22 p.m.