simplify_reglist {nat} | R Documentation |
Simplify a registration list
Description
Simplify a registration list
Usage
simplify_reglist(reg, as.cmtk = NULL)
Arguments
reg |
A registration list ( |
as.cmtk |
Whether to convert to a vector of CMTK format registrations
(see |
Details
This function
inverts any affine matrices with attribute
"swap"
collapses multiple affine matrices into a single affine
optionally converts all registrations to CMTK on disk registrations when possible.
Note that if any of the registrations are in CMTK format, the default
behaviour is to try to convert all of the other registrations into CMTK
format to enable them to be passed to CMTK in a single command. If
as.cmtk=TRUE
then there will be an error if this is not possible.