vol.gradient | R Documentation |
The vol.gradient
function calculates the 3D gradient of a
"volume" class object
vol.gradient(vol, alias = "", description = NULL)
vol |
"volume" class object. |
alias |
Character string, |
description |
Character string, describing the created object. If
|
Returns a "volume" class object (see espadon.class
for class definitions), with the same grid and modality
as vol
, gradient of vol
.
# loading of toy-patient objects (decrease dxyz and increase beam.nb for
# better result)
step <- 3
pat <- toy.load.patient (modality = c ("ct"), dxyz = rep (step, 3))
CT.gradient <- vol.gradient (pat$ct[[1]])
display.plane (CT.gradient, view.type = "sagi", view.coord = 61,
interpolate = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.