Function to calculate DVH data for one or more structure(s) using a dose grid.
# S4 method for RTdata,missing
calculate.DVH(x, dose, resolution.xyz=c(0.2,0.2,NA),
resolution.dose=0.01, method=NULL, dose.units=NULL)# S4 method for RTdata,array
calculate.DVH(x, dose, resolution.xyz=c(0.2,0.2,NA),
resolution.dose=0.01, method=NULL, dose.units=NULL)
# S4 method for structure3D,array
calculate.DVH(x, dose, resolution.xyz=c(0.2,0.2,NA),
resolution.dose=0.01, method=NULL, dose.units=NULL)
# S4 method for structure.list,array
calculate.DVH(x, dose, resolution.xyz=c(0.2,0.2,NA),
resolution.dose=0.01, method=NULL, dose.units=NULL)
Returns a single calculated "DVH"
object or a "DVH.list"
object consisting of multiple DVHs where relevant, or otherwise a "zDVH"
or "DVH.list"
containing multiple zDVHs when method="axial"
.
One of either a "structure3D"
object, a "structure.list"
, or a "RTdata"
object containing one or more structure(s).
Object of class "array"
containing dose grid data. This parameter is not required if x
contains a "RTdata"
object including dose grid information.
A numeric list containing three positive values representing x, y, and z resolution to be used for DVH calculation (specified in units of mm). The smaller each value, the longer the overall calculation time (default is c(0.2, 0.2, NA)
). z resolution defaults to axial slice thickness when method="ATC"
.
A positive numeric value specifying the dose calculation interval (bin width) for DVH calculation (values interpreted in Gy).
Character value specifying the DVH calculation algorithm to employ. Must be one of "ATC"
, "surface"
, or "axial"
. See below for further details about the dose calculation algorithms.
Value specifying units of dose. Must be one of "cGy"
(default) or "Gy"
.
Reid F. Thompson (reid.thompson@gmail.com)
Straube, W., Matthews, J., Bosch, W., and Purdy, J.A. (2005) DVH Analysis: Consequences for Quality Assurance of Multi-Institutional Clinical Trials. Med Phys 32(6):2021.
DVH
, DVH.list
, new
data("RadOnc")
# zDVHs <- calculate.DVH(janedoe.RTdata, method="axial")
Run the code above in your browser using DataLab