public abstract class GeneralFilterFunction extends Object
GeneralFilter
operation.Modifier and Type | Class and Description |
---|---|
static class |
GeneralFilterFunction.Dilation |
static class |
GeneralFilterFunction.Erosion |
static class |
GeneralFilterFunction.Max |
static class |
GeneralFilterFunction.Mean |
static class |
GeneralFilterFunction.Median |
static class |
GeneralFilterFunction.Min |
static class |
GeneralFilterFunction.StdDev |
Modifier and Type | Field and Description |
---|---|
protected int |
height |
protected boolean[] |
structuringElement |
protected int |
width |
protected int |
xOrigin |
protected int |
yOrigin |
Modifier | Constructor and Description |
---|---|
protected |
GeneralFilterFunction(int width,
int height,
int xOrigin,
int yOrigin,
boolean[] structuringElement)
Constructs a GeneralFilterFunction.
|
Modifier and Type | Method and Description |
---|---|
abstract float |
filter(float[] fdata) |
int |
getBottomPadding() |
int |
getHeight() |
int |
getLeftPadding() |
int |
getRightPadding() |
boolean[] |
getStructuringElement() |
int |
getTopPadding() |
int |
getWidth() |
int |
getXOrigin() |
int |
getYOrigin() |
protected final int width
protected final int height
protected final int xOrigin
protected final int yOrigin
protected final boolean[] structuringElement
protected GeneralFilterFunction(int width, int height, int xOrigin, int yOrigin, boolean[] structuringElement)
width
- the width of the kernel.height
- the height of the kernel.xOrigin
- the X coordinate of the key kernel element.yOrigin
- the Y coordinate of the key kernel element.structuringElement
- The structuring element with a length equal to width * height
. May be null
.public final int getWidth()
public final int getHeight()
public final int getXOrigin()
public final int getYOrigin()
public final int getLeftPadding()
public final int getRightPadding()
public final int getTopPadding()
public final int getBottomPadding()
public boolean[] getStructuringElement()
public abstract float filter(float[] fdata)
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.