public class StatsFactory extends Object
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.Modifier and Type | Method and Description |
---|---|
static Statistics |
createComplexStatisticsObjectFromInt(int value,
double minBound,
double maxBound,
int numBins)
This method returns the complex statistic object associated to the Id returned
|
static Statistics |
createDevStdObject()
This method returns a statistic object for calculating the Standard Deviation of an Image
|
static Statistics |
createExtremaObject()
This method returns a statistic object for calculating the Extrema of all the pixels of an Image
|
static Statistics |
createHistogramObject(int numBins,
double minBound,
double maxBound)
This method returns a statistic object for calculating the Histogram of an Image
|
static Statistics |
createMaxObject()
This method returns a statistic object for calculating the Maximum of all the pixels of an Image
|
static Statistics |
createMeanObject()
This method returns a statistic object for calculating the Mean of an Image
|
static Statistics |
createMedianObject(double minBound,
double maxBound)
This method returns a statistic object for calculating the Median of an Image
|
static Statistics |
createMinObject()
This method returns a statistic object for calculating the Minimum of all the pixels of an Image
|
static Statistics |
createModeObject(int numBins,
double minBound,
double maxBound)
This method returns a statistic object for calculating the Mode of an Image
|
static Statistics |
createSimpleStatisticsObjectFromInt(int value)
This method returns the simple statistic object associated to the Id returned
|
static Statistics |
createSumObject()
This method returns a statistic object for calculating the Sum of all the pixels of an Image
|
static Statistics |
createVarianceObject()
This method returns a statistic object for calculating the Variance of an Image
|
public static Statistics createMeanObject()
public static Statistics createSumObject()
public static Statistics createMaxObject()
public static Statistics createMinObject()
public static Statistics createExtremaObject()
public static Statistics createVarianceObject()
public static Statistics createDevStdObject()
public static Statistics createHistogramObject(int numBins, double minBound, double maxBound)
public static Statistics createModeObject(int numBins, double minBound, double maxBound)
public static Statistics createMedianObject(double minBound, double maxBound)
public static Statistics createSimpleStatisticsObjectFromInt(int value)
public static Statistics createComplexStatisticsObjectFromInt(int value, double minBound, double maxBound, int numBins)
Copyright © 2006–2017 GeoSolutions. All rights reserved.