Class DVHDataExtensions
Inheritance
Namespace:EvilDICOM.CV.Extensions
Assembly:EvilDICOM.CV.dll
Syntax
public static class DVHDataExtensions : object
Methods
View SourceDifferential(DVHPoint[])
Converts cumulative to differntial
Declaration
public static DVHPoint[] Differential(this DVHPoint[] dvh)
Parameters
| Type | Name | Description |
|---|---|---|
| DVHPoint[] | dvh | the dvh curve |
Returns
| Type | Description |
|---|---|
| DVHPoint[] | the differential dvh |
GetComplementVolumeAtDose(DVHPoint[], Double)
Gets the Complement volume (volume about a certain dose point) for the structure dvh
Declaration
public static double GetComplementVolumeAtDose(this DVHPoint[] dvh, double doseVal)
Parameters
| Type | Name | Description |
|---|---|---|
| DVHPoint[] | dvh | the dose volume histogram for this structure |
| System.Double | doseVal |
Returns
| Type | Description |
|---|---|
| System.Double |
GetDoseAtVolume(DVHPoint[], Double)
Gets the dose value at the specified volume for the curve
Declaration
public static Dose GetDoseAtVolume(this DVHPoint[] dvh, double volume)
Parameters
| Type | Name | Description |
|---|---|---|
| DVHPoint[] | dvh | the dvhPoint array that is queried |
| System.Double | volume | the volume in the same units as the DVH curve |
Returns
| Type | Description |
|---|---|
| Dose |
GetDoseComplement(DVHPoint[], Double)
Gets the Complement dose for the specified volume (the cold spot). Calculated by taking the total volume and subtracting the input volume.
Declaration
public static Dose GetDoseComplement(this DVHPoint[] dvh, double volume)
Parameters
| Type | Name | Description |
|---|---|---|
| DVHPoint[] | dvh | the dvhPoint array that is queried |
| System.Double | volume | the volume in the same units as the DVH curve |
Returns
| Type | Description |
|---|---|
| Dose | the cold spot dose at the specified volume |
GetVolumeAtDose(DVHPoint[], Double)
Gets the volume that recieves the input dose
Declaration
public static double GetVolumeAtDose(this DVHPoint[] dvh, double doseVal)
Parameters
| Type | Name | Description |
|---|---|---|
| DVHPoint[] | dvh | the dose volume histogram for this structure |
| System.Double | doseVal |
Returns
| Type | Description |
|---|---|
| System.Double | the volume in the same units as the DVH point array |
MaxDose(DVHPoint[])
Returns the max dose from the dvh curve
Declaration
public static Dose MaxDose(this DVHPoint[] dvh)
Parameters
| Type | Name | Description |
|---|---|---|
| DVHPoint[] | dvh | the dvh curve |
Returns
| Type | Description |
|---|---|
| Dose | the max dose in the same units as the curve |
MeanDose(DVHPoint[])
Returns the mean dose from the dvh curve
Declaration
public static Dose MeanDose(this DVHPoint[] dvh)
Parameters
| Type | Name | Description |
|---|---|---|
| DVHPoint[] | dvh | the dvh curve |
Returns
| Type | Description |
|---|---|
| Dose | the mean dose in the same units as the curve |
MinDose(DVHPoint[])
Returns the min dose from the dvh curve
Declaration
public static Dose MinDose(this DVHPoint[] dvh)
Parameters
| Type | Name | Description |
|---|---|---|
| DVHPoint[] | dvh | the dvh curve |
Returns
| Type | Description |
|---|---|
| Dose | the minimum dose in the same units as the curve |