public class MultiProviderStatistics extends AbstractStatistics
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
forceToRecalc |
protected int |
nBands |
protected RasterProvider |
provider |
protected Statistics[] |
statList |
bandCount, calculated, complete, max, maxByteUnsigned, mean, min, minByteUnsigned, nValues, secondMax, secondMaxByteUnsigned, secondMin, secondMinByteUnsigned, tailTrim, tailTrimValues, variance| Constructor and Description |
|---|
MultiProviderStatistics()
Constructor
|
MultiProviderStatistics(List<RasterProvider> providerList,
RasterProvider provider)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addProvider(RasterProvider provider)
Adds a new data store to the statistics list
|
void |
calculate(double scale)
Calcula las estadisticas recorriendo todo el fichero.
|
Statistics |
cloneStatistics()
Clones this object
|
void |
forceToRecalc()
Cuando se llama a este método fuerza que la siguiente petición de estadísticas
no sea leída de RMF y sean recalculadas por completo.
|
int |
getBandCount()
Gets the number of bands
|
int |
getNumberOfProviders()
Returns the number of providers.
|
int |
getPercent()
Obtiene el porcentaje de progreso del proceso de calculo de histograma
|
boolean |
isCalculated()
Obtiene el flag que informa de si las estadísticas están calculadas o no.
|
void |
resetPercent()
Pone a cero el porcentaje de progreso del proceso de calculo de histograma
|
void |
setBandCount(int bandCount)
Sets the number of bands
|
calculateAdvanced, cloneStatistics, finalize, getMax, getMaxByteUnsigned, getMaximun, getMaximunByteUnsigned, getMean, getMin, getMinByteUnsigned, getMinimun, getMinimunByteUnsigned, getNumberOfCells, getNumberOfValues, getSecondMax, getSecondMaxByteUnsigned, getSecondMin, getSecondMinByteUnsigned, getTailTrimCount, getTailTrimValue, getTailTrimValue, getVariance, getVarianceCovarianceMatrix, isAdvancedStatisticsCalculated, registerPersistent, setCalculated, setMax, setMaxRGB, setMean, setMin, setMinRGB, setNumberOfValues, setSecondMax, setSecondMaxRGB, setSecondMin, setSecondMinRGB, setTailTrimValue, setVarianceprotected Statistics[] statList
protected int nBands
protected boolean forceToRecalc
protected RasterProvider provider
public MultiProviderStatistics()
public MultiProviderStatistics(List<RasterProvider> providerList, RasterProvider provider)
public void addProvider(RasterProvider provider)
provider - public void calculate(double scale)
throws FileNotOpenException,
RasterDriverException,
ProcessInterruptedException
public void resetPercent()
AbstractStatisticsresetPercent in interface StatisticsresetPercent in class AbstractStatisticspublic int getPercent()
AbstractStatisticsgetPercent in interface StatisticsgetPercent in class AbstractStatisticspublic void forceToRecalc()
Statisticspublic boolean isCalculated()
isCalculated in interface StatisticsisCalculated in class AbstractStatisticspublic int getBandCount()
StatisticsgetBandCount in interface StatisticsgetBandCount in class AbstractStatisticspublic void setBandCount(int bandCount)
StatisticssetBandCount in interface StatisticssetBandCount in class AbstractStatisticspublic int getNumberOfProviders()
public Statistics cloneStatistics()
Statistics