get.rigid.M {espadon} | R Documentation |
Transfer matrix between two frames of reference
Description
The function get.rigid.M
provides, from the T.MAT list created
by the functions load.patient.from.Rdcm,
load.patient.from.dicom or load.T.MAT, the 4x4
transfer matrix from the FoR (frame o reference) pseudonym src.ref
to
the FoR pseudonym dest.ref
.
Usage
get.rigid.M(T.MAT, src.ref, dest.ref)
Arguments
T.MAT |
"t.mat" class object, created by the functions load.patient.from.Rdcm, load.patient.from.dicom or load.T.MAT |
src.ref |
Pseudonym of the source frame of reference |
dest.ref |
Pseudonym of the destination frame of reference |
Value
Returns the 4x4 transfer matrix dest.ref
from src.ref
.
Examples
# loading of toy-patient objects
patient <- toy.load.patient (modality = c ("ct", "mr"), roi.name = "",
dxyz = c(5, 5, 5))
get.rigid.M (patient$T.MAT, "ref1", "ref2")
[Package espadon version 1.7.2 Index]