Package org.eclipse.imagen.media.stats
Class Extrema
Object
Statistics
Extrema
This subclass of
Statistics is used for calculating the maximum and minimum of an image.-
Nested Class Summary
Nested classes/interfaces inherited from class Statistics
Statistics.StatsType -
Field Summary
Fields inherited from class Statistics
STATS_PROPERTY -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSample(double sample) This method adds a Double value to the statistics and updates themThis method returns the number of samples calculatedThis method returns the statistic result
-
Method Details
-
addSample
public void addSample(double sample) Description copied from class:StatisticsThis method adds a Double value to the statistics and updates them- Specified by:
addSamplein classStatistics- Parameters:
sample- sample value used for updating statistics
-
getResult
Description copied from class:StatisticsThis method returns the statistic result- Specified by:
getResultin classStatistics
-
getNumSamples
Description copied from class:StatisticsThis method returns the number of samples calculated- Specified by:
getNumSamplesin classStatistics
-