vol.in.new.ref | R Documentation |
The vol.in.new.ref
function allows you to change the
frame of reference of a volume.
vol.in.new.ref(vol, new.ref.pseudo, T.MAT, alias = "", description = NULL)
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
|
Returns "volume" class object in the new frame of reference
new.ref.pseudo
.
struct.in.new.ref
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.