public class EdgeFilter extends WholeImageFilter
Modifier and Type | Field and Description |
---|---|
static float[] |
FREI_CHEN_H |
static float[] |
FREI_CHEN_V |
protected float[] |
hEdgeMatrix |
static float[] |
PREWITT_H |
static float[] |
PREWITT_V |
static float |
R2 |
static float[] |
ROBERTS_H |
static float[] |
ROBERTS_V |
static float[] |
SOBEL_H |
static float[] |
SOBEL_V |
protected float[] |
vEdgeMatrix |
originalSpace, transformedSpace
filterListener
Constructor and Description |
---|
EdgeFilter() |
Modifier and Type | Method and Description |
---|---|
protected int[] |
filterPixels(int width,
int height,
int[] inPixels,
Rectangle transformedSpace)
Actually filter the pixels.
|
float[] |
getHEdgeMatrix() |
ImageFilterOps |
getMetaData()
Bambi filter metadata.
|
float[] |
getVEdgeMatrix() |
void |
setHEdgeMatrix(float[] hEdgeMatrix) |
void |
setVEdgeMatrix(float[] vEdgeMatrix) |
String |
toString() |
filter, transformSpace
clone, createCompatibleDestImage, createCompatibleDestImage, filterDone, filterInitialize, filterProgress, filterStart, getBounds2D, getPoint2D, getRenderingHints, getRGB, setFilterListener, setRGB
public static final float R2
public static final float[] ROBERTS_V
public static final float[] ROBERTS_H
public static final float[] PREWITT_V
public static final float[] PREWITT_H
public static final float[] SOBEL_V
public static float[] SOBEL_H
public static final float[] FREI_CHEN_V
public static float[] FREI_CHEN_H
protected float[] vEdgeMatrix
protected float[] hEdgeMatrix
public void setVEdgeMatrix(float[] vEdgeMatrix)
public float[] getVEdgeMatrix()
public void setHEdgeMatrix(float[] hEdgeMatrix)
public float[] getHEdgeMatrix()
protected int[] filterPixels(int width, int height, int[] inPixels, Rectangle transformedSpace)
WholeImageFilter
filterPixels
in class WholeImageFilter
width
- the image widthheight
- the image heightinPixels
- the image pixelstransformedSpace
- the output boundspublic ImageFilterOps getMetaData()
AbstractBufferedImageOp
getMetaData
in interface ImageFilterOpSupport
getMetaData
in class AbstractBufferedImageOp
Copyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.