get.rigid.M | R Documentation |
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
.
get.rigid.M(T.MAT, src.ref, dest.ref)
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 |
Returns the 4x4 transfer matrix dest.ref
from src.ref
.
# 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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.