|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.cresques.io.raster.RasterFilter org.cresques.io.raster.TransparencyFilter org.cresques.io.raster.TransparencyShortFilter
Filtro de transparencia aplicada a un rango de valores de un pixel sobre un objeto image
Field Summary |
Fields inherited from class org.cresques.io.raster.TransparencyFilter |
alpha, rangesB, rangesG, rangesR, transparencyColorBlue, transparencyColorGreen, transparencyColorRed |
Fields inherited from class org.cresques.io.raster.RasterFilter |
exec, height, image, incX, incY, params, px, raster, stats, width |
Constructor Summary | |
TransparencyShortFilter()
Constructor |
Method Summary | |
int |
getInRasterDataType()
Obtiene el tipo de datos del raster de entrada |
int |
getOutRasterDataType()
Obtiene el tipo de datos del raster de salida |
java.lang.Object |
getResult(java.lang.String name)
Obtiene el resultado del filtro despues de su ejecución a través de una clave |
void |
post()
Función que contiene el código a ejecutar despues de aplicar el filtro |
void |
pre()
Obtiene parámetros del filtro desde la tabla Hash |
void |
process(int x,
int y)
Ejecución del filtro para un pixel de la imagen |
void |
processLine(int y)
Ejecución del filtro para una línea de la imagen |
Methods inherited from class org.cresques.io.raster.TransparencyFilter |
getRangeB, getRangeG, getRangeR, isEquivalent |
Methods inherited from class org.cresques.io.raster.RasterFilter |
addParam, execute, executeLines |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TransparencyShortFilter()
Method Detail |
public void pre()
TransparencyFilter
pre
in interface IRasterFilter
pre
in class TransparencyFilter
public void process(int x, int y)
RasterFilter
process
in interface IRasterFilter
process
in class RasterFilter
public int getInRasterDataType()
RasterFilter
getInRasterDataType
in interface IRasterFilter
getInRasterDataType
in class RasterFilter
public int getOutRasterDataType()
RasterFilter
getOutRasterDataType
in interface IRasterFilter
getOutRasterDataType
in class RasterFilter
public java.lang.Object getResult(java.lang.String name)
RasterFilter
getResult
in interface IRasterFilter
getResult
in class RasterFilter
name
- clave para obtener un objeto resultado del filtro.public void processLine(int y)
RasterFilter
processLine
in class RasterFilter
public void post()
RasterFilter
post
in interface IRasterFilter
post
in class RasterFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |