public class ContrastFilter extends BaseRasterFilter
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
names |
colorInterpretation, environment, exec, extent, height, managername, nBandsToProcess, params, PERSISTENT_DESCRIPTION, PERSISTENT_NAME, raster, rasterResult, taskEventManager, transparency, util, widthRESULT_BUFFER, RESULT_TRANSPARENCY| Constructor and Description |
|---|
ContrastFilter()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
calcContrast(int px)
Algoritmo de contraste
|
int |
getContrastIncrease()
Obtiene el incremento de contraster que se está aplicando
|
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
|
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, isVisible, numberOfBandsToProcess, removeParam, resetPercent, setEnv, setExec, setExtent, setName, setParams, writeAlphaBandpublic ContrastFilter()
public void pre()
throws FilterAddException
BaseRasterFilterpre in interface RasterFilterpre in class BaseRasterFilterFilterAddExceptionpublic void post()
BaseRasterFilterpost in interface RasterFilterpost in class BaseRasterFilterpublic int getContrastIncrease()
public java.lang.String getGroup()
RasterFiltergetGroup in interface RasterFiltergetGroup in class BaseRasterFilterpublic Params getUIParams(java.lang.String nameFilter)
RasterFiltergetUIParams in interface RasterFiltergetUIParams in class BaseRasterFilterpublic int getInRasterDataType()
BaseRasterFiltergetInRasterDataType in interface RasterFiltergetInRasterDataType in class BaseRasterFilterpublic int getOutRasterDataType()
BaseRasterFiltergetOutRasterDataType in interface RasterFiltergetOutRasterDataType in class BaseRasterFilterpublic void process(int x,
int y)
BaseRasterFilterprocess in interface RasterFilterprocess in class BaseRasterFilterx - posición Xy - posición Yprotected int calcContrast(int px)
px - valor de la bandapublic java.lang.String[] getNames()
RasterFiltergetNames in interface RasterFiltergetNames in class BaseRasterFilter