public class ContourFilter extends WholeImageFilter
originalSpace, transformedSpace
filterListener
Constructor and Description |
---|
ContourFilter() |
Modifier and Type | Method and Description |
---|---|
protected int[] |
filterPixels(int width,
int height,
int[] inPixels,
Rectangle transformedSpace)
Actually filter the pixels.
|
int |
getContourColor() |
float |
getLevels() |
float |
getOffset() |
float |
getScale()
Returns the scale of the contours.
|
void |
setContourColor(int contourColor) |
void |
setLevels(float levels) |
void |
setOffset(float offset) |
void |
setScale(float scale)
Specifies the scale of the contours.
|
String |
toString() |
filter, transformSpace
clone, createCompatibleDestImage, createCompatibleDestImage, filterDone, filterInitialize, filterProgress, filterStart, getBounds2D, getMetaData, getPoint2D, getRenderingHints, getRGB, setFilterListener, setRGB
public void setLevels(float levels)
public float getLevels()
public void setScale(float scale)
scale
- the scale of the contours.getScale()
public float getScale()
setScale(float)
public void setOffset(float offset)
public float getOffset()
public void setContourColor(int contourColor)
public int getContourColor()
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 boundsCopyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.