vol.copy | R Documentation |
The vol.copy
function creates a "volume" class object,
with the same grid as the vol
volume object.
vol.copy(vol, alias = "", modality = NULL, description = NULL, number = NULL)
vol |
"volume" class object, template of the created object. |
alias |
Character string, |
modality |
Character string, modality of the created volume. If
|
description |
Character string, description of the returned object. If
|
number |
number of the returned volume. If |
Returns a "volume" class object (see espadon.class
for class definitions), with the same grid as vol
, in which $vol3D.data
is initialized to NA
.
vol.create, obj.create.
# loading of toy-patient objects (decrease dxyz for better result)
patient <- toy.load.patient (modality = "ct", roi.name = "",dxyz = c (4, 4, 4))
CT <- patient$ct[[1]]
# creating a volume
vol.from.CT <- vol.copy (CT, alias = "ct reference")
str (vol.from.CT)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.