Class VolumeCalculator
Inheritance
System.Object
VolumeCalculator
Namespace:EvilDICOM.CV.Helpers
Assembly:EvilDICOM.CV.dll
Syntax
public class VolumeCalculator : object
Methods
View SourceCalculateVolume(List<SliceContourMeta>)
Calculates the volume in cubic centimeters of a structure using slice contours
Declaration
public static double CalculateVolume(List<SliceContourMeta> sliceContours)
Parameters
| Type | Name | Description |
|---|---|---|
| List<SliceContourMeta> | sliceContours | the contours for all slices of a structure |
Returns
| Type | Description |
|---|---|
| System.Double | the volume in cubic centimeters |
CalculateVolume(List<Double>, Double)
Declaration
public static double CalculateVolume(List<double> areas, double voxelVol)
Parameters
| Type | Name | Description |
|---|---|---|
| List<System.Double> | areas | |
| System.Double | voxelVol |
Returns
| Type | Description |
|---|---|
| System.Double |