vol.in.new.ref {espadon} | R Documentation |
Change of frame of reference of a volume
Description
The vol.in.new.ref
function allows you to change the
frame of reference of a volume.
Usage
vol.in.new.ref(vol, new.ref.pseudo, T.MAT, alias = "", description = NULL)
Arguments
vol |
"volume" class object. |
new.ref.pseudo |
pseudonym of the frame of reference in which the volume
should be located. This |
T.MAT |
"t.mat" class object, created by load.patient.from.dicom, load.patient.from.Rdcm, load.T.MAT or ref.add. |
alias |
Character string, |
description |
Character string, describing the created object. If
|
Value
Returns "volume" class object in the new frame of reference
new.ref.pseudo
.
See Also
Examples
# loading of toy-patient objects (decrease dxyz for better result)
patient <- toy.load.patient (modality = c("ct", "mr"), roi.name = "",
dxyz = c (4, 4, 4))
CT <- patient$ct[[1]]
CT.in.new.ref <- vol.in.new.ref (CT, patient$mr[[1]]$ref.pseudo, patient$T.MAT)
[Package espadon version 1.7.2 Index]