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(java.util.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, setVariance
protected Statistics[] statList
protected int nBands
protected boolean forceToRecalc
protected RasterProvider provider
public MultiProviderStatistics()
public MultiProviderStatistics(java.util.List<RasterProvider> providerList, RasterProvider provider)
public void addProvider(RasterProvider provider)
provider
- public void calculate(double scale) throws FileNotOpenException, RasterDriverException, ProcessInterruptedException
public void resetPercent()
AbstractStatistics
resetPercent
in interface Statistics
resetPercent
in class AbstractStatistics
public int getPercent()
AbstractStatistics
getPercent
in interface Statistics
getPercent
in class AbstractStatistics
public void forceToRecalc()
Statistics
public boolean isCalculated()
isCalculated
in interface Statistics
isCalculated
in class AbstractStatistics
public int getBandCount()
Statistics
getBandCount
in interface Statistics
getBandCount
in class AbstractStatistics
public void setBandCount(int bandCount)
Statistics
setBandCount
in interface Statistics
setBandCount
in class AbstractStatistics
public int getNumberOfProviders()
public Statistics cloneStatistics()
Statistics