grid.equal | R Documentation |
The grid.equal
function checks that two volumes share the
same grid, i.e. the same frame of reference, the same origin point, and the
same dx, dy, dz steps.
grid.equal(vol1, vol2)
vol1 , vol2 |
"volume" class objects |
Returns TRUE
if the 2 volumes share the same grid.
# loading of toy-patient objects
patient <- toy.load.patient (modality = c ("ct","mr","rtdose"), roi.name = "",
dxyz = c (4, 4, 4), beam.nb = 1)
# Comparison of the grids
grid.equal (patient$rtdose[[1]], patient$ct[[1]])
grid.equal (patient$mr[[1]], patient$ct[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.