public class MultiProviderHistogramComputer extends java.lang.Object implements HistogramComputer
Constructor and Description |
---|
MultiProviderHistogramComputer(RasterProvider provider)
Constructor
|
Modifier and Type | Method and Description |
---|---|
BufferHistogram |
getBufferHistogram()
Obtiene el histograma.
|
java.lang.String |
getLog()
Devuelve el contenido del log del IncrementableTask
|
double |
getMaximum()
Obtiene el maximo valor de las estadisticas de un histograma.
|
double |
getMinimum()
Obtiene el minimo valor de las estadisticas de un histograma.
|
int |
getNumberOfProviders()
Returns the number of providers.
|
int |
getPercent()
Obtiene el porcentaje de proceso en la construcción del histograma,
|
boolean |
isCancelable()
Determines if this process can be canceled.
|
boolean |
isPausable()
Determines if this process can be paused.
|
void |
refreshHistogram()
Force to recalculate the histogram next time that the method getBufferHistogram
be called
|
void |
resetPercent()
Pone a cero el porcentaje de progreso del proceso de calculo de histograma
|
void |
setPercent(int value)
Sets the increment of this task
|
void |
setScaleHistogram(double scale)
This value represents the percentage of the image that will be used
for this process.
|
public MultiProviderHistogramComputer(RasterProvider provider)
dataset
- public void setScaleHistogram(double scale)
HistogramComputer
setScaleHistogram
in interface HistogramComputer
public BufferHistogram getBufferHistogram() throws ProcessInterruptedException, HistogramException
getBufferHistogram
in interface HistogramComputer
HistogramException
ProcessInterruptedException
public void resetPercent()
resetPercent
in interface HistogramComputer
public int getPercent()
getPercent
in interface BaseIncrementableTask
public double getMaximum()
HistogramComputer
getMaximum
in interface HistogramComputer
public double getMinimum()
HistogramComputer
getMinimum
in interface HistogramComputer
public void refreshHistogram()
HistogramComputer
refreshHistogram
in interface HistogramComputer
public int getNumberOfProviders()
public java.lang.String getLog()
IncrementableTask
getLog
in interface IncrementableTask
public boolean isCancelable()
IncrementableTask
Determines if this process can be canceled.
isCancelable
in interface IncrementableTask
true
if this process can be canceled, otherwise false
public boolean isPausable()
IncrementableTask
Determines if this process can be paused.
isPausable
in interface IncrementableTask
true
if this process can be paused, otherwise false
public void setPercent(int value)
BaseIncrementableTask
setPercent
in interface BaseIncrementableTask