public interface Statistics
Modifier and Type | Method and Description |
---|---|
void |
calculate(double scale)
Throws the thread which figure out statistics
|
void |
calculateAdvanced()
Calculo de estadisticas avanzadas (Matriz varianza- covarianza).
|
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
|
double[] |
getMax()
Devuelve una lista con los máximos de todas las bandas
|
double[] |
getMaxByteUnsigned()
Obtiene el máximo cuando el raster es de typo byte RGB
|
double |
getMaximun()
Devuelve el máximo valor de todos los máximos de las bandas
|
double |
getMaximunByteUnsigned()
Devuelve el máximo valor RGB de todos los máximos de las bandas
|
double[] |
getMean()
Obtiene el valor médio
|
double[] |
getMin()
Devuelve una lista con los mínimos de todas las bandas
|
double[] |
getMinByteUnsigned()
Obtiene el mínimo cuando el raster es de typo byte RGB
|
double |
getMinimun()
Devuelve el mínimo valor de todos los mínimos de las bandas
|
double |
getMinimunByteUnsigned()
Devuelve el mínimo valor RGB de todos los mínimos de las bandas
|
long[] |
getNumberOfCells()
Gets the number of pixels by band
|
long[] |
getNumberOfValues()
Gets the number of values by band
|
int |
getPercent()
Obtiene el porcentaje de progreso del proceso de calculo de histograma
|
double[] |
getSecondMax()
Obtiene el valor del segundo máximo
|
double[] |
getSecondMaxByteUnsigned()
Obtiene el segundo máximo cuando el raster es de typo byte RGB
|
double[] |
getSecondMin()
Obtiene el valor del segundo mínimo
|
double[] |
getSecondMinByteUnsigned()
Obtiene el segundo mínimo cuando el raster es de typo byte RGB
|
int |
getTailTrimCount()
Devuelve el número de valores de recorte de colas calculados.
|
Object |
getTailTrimValue(double percent)
Obtiene un valor de recorte de colas para un porcentaje dado.
|
Object[] |
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 |
isAdvancedStatisticsCalculated()
Returns true if the advanced statistics are calculated and false if not
|
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
|
void |
setCalculated(boolean calc)
Asigna el flag de estadísticas calculadas.
|
void |
setNumberOfValues(long[] values)
Sets the number of values by band
|
void |
setTailTrimValue(double percent,
Object valueByBand)
Asigna un valor de recorte de colas para un porcentaje dado.
|
void setNumberOfValues(long[] values)
values
- long[] getNumberOfValues()
double[] getMax()
double[] getSecondMax()
double[] getSecondMin()
double getMaximun()
double getMinimun()
double getMaximunByteUnsigned()
double getMinimunByteUnsigned()
double[] getMean()
double[] getMin()
double[] getMinByteUnsigned()
double[] getMaxByteUnsigned()
double[] getSecondMaxByteUnsigned()
double[] getSecondMinByteUnsigned()
double[] getVariance()
int getBandCount()
void setBandCount(int bandCount)
bandCount
- void setTailTrimValue(double percent, Object valueByBand)
percent
- Porcentaje de recortevalueByBand
- array bidimensional de enteros o doubles. Depende del tipo de dato del raster.Object getTailTrimValue(double percent)
percent
- Porcentaje de recortevalueByBand
- array bidimensional de enteros o doubles. Depende del tipo de dato del raster.Object[] getTailTrimValue(int pos)
percent
- Porcentaje de recortevalueByBand
- array bidimensional de enteros o doubles. Depende del tipo de dato del raster.int getTailTrimCount()
boolean isCalculated()
void setCalculated(boolean calc)
calc
- void forceToRecalc()
forceToRecalc
- int getPercent()
void resetPercent()
void calculate(double scale) throws FileNotOpenException, RasterDriverException, ProcessInterruptedException
void calculateAdvanced() throws GridException
GridException
boolean isAdvancedStatisticsCalculated()
long[] getNumberOfCells()
double[][] getVarianceCovarianceMatrix()
Statistics cloneStatistics()