public class ConvolutionShortFilter extends ConvolutionFilter
kernel, ladoVentana, names, TYPE_GAUSS, TYPE_HIGHPASS, TYPE_LOWPASS, TYPE_MEDIA, TYPE_OTHER
colorInterpretation, environment, exec, extent, height, managername, nBandsToProcess, params, PERSISTENT_DESCRIPTION, PERSISTENT_NAME, raster, rasterResult, taskEventManager, transparency, util, width
RESULT_BUFFER, RESULT_TRANSPARENCY
Constructor and Description |
---|
ConvolutionShortFilter() |
ConvolutionShortFilter(Kernel k) |
Modifier and Type | Method and Description |
---|---|
int |
getInRasterDataType()
Obtiene el tipo de datos del raster de entrada
|
int |
getOutRasterDataType()
Obtiene el tipo de datos del raster de salida
|
void |
pre()
Code to execute before apply a filter
|
void |
process(int col,
int line)
Aplicacion del filtro para el pixel de la posicion line, col
|
getGroup, getNames, getUIParams, post
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, writeAlphaBand
public ConvolutionShortFilter()
public ConvolutionShortFilter(Kernel k)
Kernel
- a aplicar. En caso de que no se trate de un kernel definido en ConvolutionFilter, se puede pasar como
parametro el kernel se pretende aplicar.public void pre() throws FilterAddException
BaseRasterFilter
pre
in interface RasterFilter
pre
in class ConvolutionFilter
FilterAddException
public void process(int col, int line)
process
in interface RasterFilter
process
in class ConvolutionFilter
col
- posición Xline
- posición Ypublic int getInRasterDataType()
BaseRasterFilter
getInRasterDataType
in interface RasterFilter
getInRasterDataType
in class ConvolutionFilter
public int getOutRasterDataType()
BaseRasterFilter
getOutRasterDataType
in interface RasterFilter
getOutRasterDataType
in class ConvolutionFilter