Package gov.nih.mipav.model.structures
Class VOIStatisticalProperties
java.lang.Object
gov.nih.mipav.model.structures.VOIStatisticalProperties
- All Implemented Interfaces:
VOIStatisticList
$Logfile: /mipav/src/gov/nih/mipav/model/structures/VOIStatisticalProperties.java $ $Revision: 4 $ $Date: 7/27/04
1:42p $
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe hashtable of statistics.static final charstatic final StringFields inherited from interface gov.nih.mipav.model.structures.VOIStatisticList
areaDescription, asymmetryIndexDescription, avgIntensity, axisDescription, circularityDescription, deviationDescription, eccentricityDescription, fractalDimensionBoxCountDescription, fractalDimensionEuclideanDistanceDescription, geometricCenterDescription, invariantMoment1Description, invariantMoment2Description, invariantMoment3Description, invariantMoment4Description, invariantMoment5Description, invariantMoment6Description, invariantMoment7Description, kurtosisDescription, largestDistanceDescription, largestSliceDistanceDescription, majorAxisDescription, massCenterDescription, maxIntensity, maxWidthDescription, meanCurvatureDescription, meanNegativeCurvatureDescription, median, minIntensity, minorAxisDescription, mode, modeCount, numberOfIndentationsCurvatureDescription, numberOfIndentationsHullDescription, numberOfStatistics, perimeterDescription, quantityDescription, skewnessDescription, solidityDescription, statisticDescription, stdDevCurvatureDescription, sumIntensities, surfaceAreaDescription, volumeDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContourStatistic(String statistic, String contourLabel) Gets the statistic for a particular contour of a VOI without reference to the slice a contour may exist on.getProperty(Object key) getSliceContourStatistic(String statistic, int slice, String contourLabel) Gets the statistic for a particular contour on a particular slice of a VOI.getSliceStatistic(String statistic, int slice) Gets the statistic for all the contours of a VOI that exist on a particular slice.getTotalStatistic(String statistic) Gets the total statistics for all elements of the VOIs that are included in this properties object.getVOIStatistic(String statistic) Gets the statistic for the whole VOI.voidsetContourStatistic(String statistic, String contourLabel, Object statisticValue) Stores the statistic for a particular contour of a VOI without reference to the slice a contour may exist on.voidsetProperty(String string, Object value) voidsetSliceContourStatistic(String statistic, int slice, String contourLabel, Object statisticValue) Stores the statistic for a particular contour on a particular slice of a VOI.voidsetSliceStatistic(String statistic, int slice, Object statisticValue) Stores the statistic for all the contours of a VOI that exist on a particular slice.voidsetTotalStatistic(String statistic, Object statisticValue) Stores the total statistics for all elements of the VOIs that are included in this properties object.voidsetVOIStatistic(String statistic, Object statisticValue) Stores the statistic for the whole VOI.
-
Field Details
-
DELIM
public static final char DELIM- See Also:
-
TOTAL
- See Also:
-
data
The hashtable of statistics.
-
-
Constructor Details
-
VOIStatisticalProperties
public VOIStatisticalProperties()Creates a new VOIStatisticalProperties object.
-
-
Method Details
-
getTotalStatistic
Gets the total statistics for all elements of the VOIs that are included in this properties object. For example, if statistics for every slice have been calculated, this method should be used to store the total of this statistic on all slices.- Parameters:
statistic- The statistic that has been calculated- Returns:
- The calculated statistic
-
setTotalStatistic
Stores the total statistics for all elements of the VOIs that are included in this properties object. For example, if statistics for every slice have been calculated, this method should be used to store the total of this statistic on all slices.- Parameters:
statistic- The statistic that has been calculatedstatisticValue- The value of the calculated statistic
-
getSliceStatistic
Gets the statistic for all the contours of a VOI that exist on a particular slice.- Parameters:
statistic- The statistic that has been calculatedslice- The slice that the contours exist on- Returns:
- The value of the calculated statistic
-
setSliceStatistic
Stores the statistic for all the contours of a VOI that exist on a particular slice.- Parameters:
statistic- The statistic that has been calculatedslice- The slice that the contours exist onstatisticValue- The value of the calculated statistic
-
getContourStatistic
Gets the statistic for a particular contour of a VOI without reference to the slice a contour may exist on.- Parameters:
statistic- The statistic that has been calculatedcontourLabel- The contour that this statistic relates to- Returns:
- The value of the calculated statistic
-
setContourStatistic
Stores the statistic for a particular contour of a VOI without reference to the slice a contour may exist on.- Parameters:
statistic- The statistic that has been calculatedcontourLabel- The contour that this statistic relates tostatisticValue- The value of the calculated statistic
-
getSliceContourStatistic
Gets the statistic for a particular contour on a particular slice of a VOI.- Parameters:
statistic- The statistic that has been calculatedslice- The image slice that this statistic relate tocontourLabel- The contour that this statistic relates to- Returns:
- The value of the calculated statistic
-
setSliceContourStatistic
public void setSliceContourStatistic(String statistic, int slice, String contourLabel, Object statisticValue) Stores the statistic for a particular contour on a particular slice of a VOI.- Parameters:
statistic- The statistic that has been calculatedslice- The image slice that this statistic relate tocontourLabel- The contour that this statistic relates tostatisticValue- The value of the calculated statistic
-
getVOIStatistic
Gets the statistic for the whole VOI.- Parameters:
statistic- The statistic that has been calculated- Returns:
- The value of the calculated statistic
-
setVOIStatistic
Stores the statistic for the whole VOI.- Parameters:
statistic- The statistic that has been calculatedstatisticValue- The value of the calculated statistic
-
setProperty
-
getProperty
-