public class DefaultStatistics extends java.lang.Object implements Statistics
| Constructor and Description |
|---|
DefaultStatistics() |
| Modifier and Type | Method and Description |
|---|---|
void |
calculate(SimpleTaskStatus status,
java.util.List<Band> bands)
Throws the thread which figure out statistics
|
int |
getBandCount()
Gets the number of bands
|
HistogramBand[] |
getHistogram()
Return the histogram of all bands.
|
double[] |
getMax()
Devuelve una lista con los máximos de todas las bandas
|
double |
getMaximum()
Devuelve el máximo valor de todos los máximos de las bandas
|
double[] |
getMean()
Obtiene el valor médio
|
double[] |
getMedian() |
double[] |
getMin()
Devuelve una lista con los mínimos de todas las bandas
|
double |
getMinimum()
Devuelve el mínimo valor de todos los mínimos de las bandas
|
long[] |
getNumberOfValues()
Gets the number of values by band
|
double[] |
getSecondMax()
Obtiene el valor del segundo máximo
|
double[] |
getSecondMin()
Obtiene el valor del segundo mínimo
|
double[][] |
getTailTrimValue(double percent)
Obtiene un valor de recorte de colas para un porcentaje dado.
|
double[][] |
getTailTrimValue(int pos)
Obtiene un valor de recorte de colas para una posición dada.
|
double[] |
getVariance()
Obtiene la varianza
|
double[][] |
getVarianceCovarianceMatrix()
Devuelve la matriz de varianza-covarianza, si no se encuentra calculada se calcula
|
boolean |
isCalculated()
Obtiene el flag que informa de si las estadísticas están calculadas o no.
|
java.util.Iterator<StatisticsBand> |
iterator() |
java.lang.String |
toHTMLString() |
public long[] getNumberOfValues()
StatisticsgetNumberOfValues in interface Statisticspublic double[] getMax()
StatisticsgetMax in interface Statisticspublic double[] getSecondMax()
StatisticsgetSecondMax in interface Statisticspublic double[] getSecondMin()
StatisticsgetSecondMin in interface Statisticspublic double getMaximum()
StatisticsgetMaximum in interface Statisticspublic double getMinimum()
StatisticsgetMinimum in interface Statisticspublic double[] getMean()
StatisticsgetMean in interface Statisticspublic double[] getMedian()
getMedian in interface Statisticspublic double[] getMin()
StatisticsgetMin in interface Statisticspublic double[] getVariance()
StatisticsgetVariance in interface Statisticspublic int getBandCount()
StatisticsgetBandCount in interface Statisticspublic boolean isCalculated()
StatisticsisCalculated in interface Statisticspublic void calculate(SimpleTaskStatus status, java.util.List<Band> bands)
Statisticscalculate in interface Statisticspublic double[][] getVarianceCovarianceMatrix()
StatisticsgetVarianceCovarianceMatrix in interface Statisticspublic HistogramBand[] getHistogram()
StatisticsgetHistogram in interface Statisticspublic double[][] getTailTrimValue(double percent)
StatisticsgetTailTrimValue in interface Statisticspercent - Porcentaje de recortepublic double[][] getTailTrimValue(int pos)
StatisticsgetTailTrimValue in interface Statisticspos - posición de recortepublic java.util.Iterator<StatisticsBand> iterator()
iterator in interface java.lang.Iterable<StatisticsBand>public java.lang.String toHTMLString()
toHTMLString in interface Statistics