public class LinearStretchEnhancementFilter extends BaseRasterFilter
| Modifier and Type | Field and Description |
|---|---|
protected double[] |
maxBandValue |
protected double[] |
minBandValue |
static java.lang.String[] |
names |
protected double[][] |
offset |
protected int[] |
renderBands |
protected double[][] |
scale |
protected DefaultStretch[] |
scaleOffsetList |
protected Statistics |
stats |
protected DefaultLinearStretchParams |
stretchs |
colorInterpretation, environment, exec, extent, height, managername, nBandsToProcess, params, PERSISTENT_DESCRIPTION, PERSISTENT_NAME, raster, rasterResult, taskEventManager, transparency, util, widthRESULT_BUFFER, RESULT_TRANSPARENCY| Constructor and Description |
|---|
LinearStretchEnhancementFilter()
Construye un LinearEnhancementFilter
|
| 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
|
java.lang.Boolean |
getRemoveEnds()
Obtiene true si está activado el flag de eliminar extremos y false si no lo
está
|
DefaultLinearStretchParams |
getStretchs() |
java.lang.Double |
getTailTrim()
Obtiene el porcentaje de recorte de colas aplicado o 0 si no tiene.
|
Params |
getUIParams(java.lang.String nameFilter)
Obtener que datos puede tratar una interfaz con sus valores
|
boolean |
isToConvertToRGB()
Returns true if this filter is to conver the input buffer to RGB.
|
boolean |
isVisible()
Devolverá un booleano indicando si es visible o no en el panel de filtros.
|
void |
post()
Convierte un array de dobles a una cadena
|
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, numberOfBandsToProcess, removeParam, resetPercent, setEnv, setExec, setExtent, setName, setParams, writeAlphaBandprotected double[][] scale
protected double[][] offset
protected Statistics stats
protected double[] minBandValue
protected double[] maxBandValue
public static java.lang.String[] names
protected DefaultLinearStretchParams stretchs
protected DefaultStretch[] scaleOffsetList
protected int[] renderBands
public LinearStretchEnhancementFilter()
public void pre()
throws FilterAddException
BaseRasterFilterpre in interface RasterFilterpre in class BaseRasterFilterFilterAddExceptionpublic java.lang.Double getTailTrim()
public boolean isToConvertToRGB()
RasterFilterisToConvertToRGB in interface RasterFilterisToConvertToRGB in class BaseRasterFilterpublic int getOutRasterDataType()
BaseRasterFiltergetOutRasterDataType in interface RasterFiltergetOutRasterDataType in class BaseRasterFilterpublic java.lang.Boolean getRemoveEnds()
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 void post()
post in interface RasterFilterpost in class BaseRasterFiltervalues - public 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 BaseRasterFilterpublic DefaultLinearStretchParams getStretchs()