public class ContourFilter extends WholeImageFilter
originalSpace, transformedSpace| Constructor and Description |
|---|
ContourFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
filterPixels(int width,
int height,
int[] inPixels,
java.awt.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 |
setContourColor(java.lang.String contourColor) |
void |
setLevels(float levels) |
void |
setOffset(float offset) |
void |
setScale(float scale)
Specifies the scale of the contours.
|
java.lang.String |
toString() |
filter, transformSpaceclone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColorpublic void setLevels(float levels)
public float getLevels()
public void setScale(float scale)
scale - the scale of the contours, min-value 0, max-value 1getScale()public float getScale()
setScale(float)public void setOffset(float offset)
public float getOffset()
public void setContourColor(int contourColor)
public void setContourColor(java.lang.String contourColor)
public int getContourColor()
protected int[] filterPixels(int width,
int height,
int[] inPixels,
java.awt.Rectangle transformedSpace)
WholeImageFilterfilterPixels in class WholeImageFilterwidth - the image widthheight - the image heightinPixels - the image pixelstransformedSpace - the output boundspublic java.lang.String toString()
toString in class java.lang.Object