public class EqualizationFilter extends BaseRasterFilter
| Modifier and Type | Field and Description |
|---|---|
protected double[][] |
aproximationNeg |
protected int[] |
ecualizedBands |
protected BufferHistogram |
histogram |
protected int[] |
k |
protected long[][] |
lahe |
protected long[][] |
laheNegative |
protected double[] |
maxBandValue |
protected double[] |
minBandValue |
static java.lang.String[] |
names |
protected int |
nbands |
protected int |
nClasses |
protected int |
nElements |
protected long |
nPixels |
protected int[][] |
resValues |
protected Statistics |
stats |
colorInterpretation, environment, exec, extent, height, managername, nBandsToProcess, params, PERSISTENT_DESCRIPTION, PERSISTENT_NAME, raster, rasterResult, taskEventManager, transparency, util, widthRESULT_BUFFER, RESULT_TRANSPARENCY| Constructor and Description |
|---|
EqualizationFilter()
Construye un LinearEnhancementFilter
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
equalizationActive(int band)
Consulta si la ecualización está activa para una banda o no
|
java.lang.String |
getGroup()
Obtiene el grupo del filtro
|
int |
getInRasterDataType()
Obtiene el tipo de datos del raster de entrada
|
java.lang.String[] |
getNames()
Gets the list of specific filter names.
|
int |
getOutRasterDataType()
Obtiene el tipo de datos del raster de salida
|
Params |
getUIParams(java.lang.String nameFilter)
Obtener que datos puede tratar una interfaz con sus valores
|
boolean |
isVisible()
Devolverá un booleano indicando si es visible o no en el panel de filtros.
|
void |
post()
Función que contiene el código a ejecutar despues de aplicar el filtro
|
void |
pre()
Code to execute before apply a filter
|
void |
process(int x,
int y)
Ejecución del filtro para un pixel de la imagen
|
addParam, clone, createARGBBufferResult, createBufferResult, dispose, execute, finalize, getColorInterpretation, getEnv, getInputBuffer, getManagerName, getName, getOutputBuffer, getParam, getParams, getPercent, getResult, hasInputTransparency, isExec, isToConvertToRGB, numberOfBandsToProcess, removeParam, resetPercent, setEnv, setExec, setExtent, setName, setParams, writeAlphaBandprotected Statistics stats
protected double[] minBandValue
protected double[] maxBandValue
protected int nbands
protected int[] k
public static java.lang.String[] names
protected BufferHistogram histogram
protected long nPixels
protected int[][] resValues
protected int nElements
protected int[] ecualizedBands
protected double[][] aproximationNeg
protected int nClasses
protected long[][] lahe
protected long[][] laheNegative
public EqualizationFilter()
public void pre()
throws FilterAddException
BaseRasterFilterpre in interface RasterFilterpre in class BaseRasterFilterFilterAddExceptionprotected boolean equalizationActive(int band)
band - Número de banda a consultar si se ha activado la ecualizaciónpublic int getOutRasterDataType()
BaseRasterFiltergetOutRasterDataType in interface RasterFiltergetOutRasterDataType in class BaseRasterFilterpublic java.lang.String getGroup()
RasterFiltergetGroup in interface RasterFiltergetGroup in class BaseRasterFilterpublic Params getUIParams(java.lang.String nameFilter)
RasterFiltergetUIParams in interface RasterFiltergetUIParams in class BaseRasterFilterpublic void post()
BaseRasterFilterpost in interface RasterFilterpost in class BaseRasterFilterpublic int getInRasterDataType()
BaseRasterFiltergetInRasterDataType in interface RasterFiltergetInRasterDataType in class BaseRasterFilterpublic void process(int x,
int y)
BaseRasterFilterprocess in interface RasterFilterprocess in class BaseRasterFilterx - posición Xy - posición Ypublic java.lang.String[] getNames()
RasterFiltergetNames in interface RasterFiltergetNames in class BaseRasterFilterpublic boolean isVisible()
RasterFilterisVisible in interface RasterFilterisVisible in class BaseRasterFilter