Package org.eclipse.imagen.media.stats
Class StatsFactory
Object
StatsFactory
This factory class is used for creating all the possible
Statistics subclasses. All the createXXXObject()
methods give the possibility to create the chosen statistic object without selecting any index, but only setting the
requested parameters if necessary. The last 2 methods could be used for creating the statistics objects by selecting
their Id, defined inside the Statistics.StatsType, and passing their input parameters if needed.-
Method Summary
Modifier and TypeMethodDescriptionstatic StatisticscreateComplexStatisticsObjectFromInt(int value, double minBound, double maxBound, int numBins) This method returns the complex statistic object associated to the Id returnedstatic StatisticsThis method returns a statistic object for calculating the Standard Deviation of an Imagestatic StatisticsThis method returns a statistic object for calculating the Extrema of all the pixels of an Imagestatic StatisticscreateHistogramObject(int numBins, double minBound, double maxBound) This method returns a statistic object for calculating the Histogram of an Imagestatic StatisticsThis method returns a statistic object for calculating the Maximum of all the pixels of an Imagestatic StatisticsThis method returns a statistic object for calculating the Mean of an Imagestatic StatisticscreateMedianObject(double minBound, double maxBound) This method returns a statistic object for calculating the Median of an Imagestatic StatisticsThis method returns a statistic object for calculating the Minimum of all the pixels of an Imagestatic StatisticscreateModeObject(int numBins, double minBound, double maxBound) This method returns a statistic object for calculating the Mode of an Imagestatic StatisticscreateSimpleStatisticsObjectFromInt(int value) This method returns the simple statistic object associated to the Id returnedstatic StatisticsThis method returns a statistic object for calculating the Sum of all the pixels of an Imagestatic StatisticsThis method returns a statistic object for calculating the Variance of an Image
-
Method Details
-
createMeanObject
This method returns a statistic object for calculating the Mean of an Image -
createSumObject
This method returns a statistic object for calculating the Sum of all the pixels of an Image -
createMaxObject
This method returns a statistic object for calculating the Maximum of all the pixels of an Image -
createMinObject
This method returns a statistic object for calculating the Minimum of all the pixels of an Image -
createExtremaObject
This method returns a statistic object for calculating the Extrema of all the pixels of an Image -
createVarianceObject
This method returns a statistic object for calculating the Variance of an Image -
createDevStdObject
This method returns a statistic object for calculating the Standard Deviation of an Image -
createHistogramObject
This method returns a statistic object for calculating the Histogram of an Image -
createModeObject
This method returns a statistic object for calculating the Mode of an Image -
createMedianObject
This method returns a statistic object for calculating the Median of an Image -
createSimpleStatisticsObjectFromInt
This method returns the simple statistic object associated to the Id returned -
createComplexStatisticsObjectFromInt
public static Statistics createComplexStatisticsObjectFromInt(int value, double minBound, double maxBound, int numBins) This method returns the complex statistic object associated to the Id returned
-