public class FirstDerivativeFilter extends BaseRasterFilter
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
compare |
protected boolean |
hasTransparency |
static java.lang.String[] |
names |
protected int |
nBandsToProcess |
protected Kernel |
operatorH |
protected Kernel |
operatorV |
static int |
TYPE_FREICHEN |
static int |
TYPE_PREWITT |
static int |
TYPE_ROBERTS |
static int |
TYPE_SOBEL |
protected int |
umbral |
colorInterpretation, environment, exec, extent, height, managername, params, PERSISTENT_DESCRIPTION, PERSISTENT_NAME, raster, rasterResult, taskEventManager, transparency, util, widthRESULT_BUFFER, RESULT_TRANSPARENCY| Constructor and Description |
|---|
FirstDerivativeFilter()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
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
|
int |
getUmbral()
Obtiene el umbral
|
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 static java.lang.String[] names
public static final int TYPE_SOBEL
public static final int TYPE_ROBERTS
public static final int TYPE_PREWITT
public static final int TYPE_FREICHEN
protected int umbral
protected boolean compare
protected Kernel operatorH
protected Kernel operatorV
protected int nBandsToProcess
protected boolean hasTransparency
public void pre()
throws FilterAddException
BaseRasterFilterpre in interface RasterFilterpre in class BaseRasterFilterFilterAddExceptionpublic int getUmbral()
public java.lang.String getGroup()
RasterFiltergetGroup in interface RasterFiltergetGroup in class BaseRasterFilterpublic void post()
BaseRasterFilterpost in interface RasterFilterpost in class BaseRasterFilterpublic java.lang.String[] getNames()
RasterFiltergetNames in interface RasterFiltergetNames 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 Y