com.jhlabs.image
Class ContourFilter
- BufferedImageOp, Cloneable
public class ContourFilter
A filter which draws contours on an image at given brightness levels.
ContourFilter
public ContourFilter()
filterPixels
protected int[] filterPixels(int width,
int height,
int[] inPixels,
Rectangle transformedSpace)
- filterPixels in interface WholeImageFilter
getContourColor
public int getContourColor()
getLevels
public float getLevels()
getOffset
public float getOffset()
getScale
public float getScale()
Returns the scale of the contours.
- the scale of the contours.
setContourColor
public void setContourColor(int contourColor)
setLevels
public void setLevels(float levels)
setOffset
public void setOffset(float offset)
setScale
public void setScale(float scale)
Specifies the scale of the contours.
scale
- the scale of the contours.
toString
public String toString()