com.jhlabs.image
Class OutlineFilter
- BufferedImageOp, Cloneable
public class OutlineFilter
Given a binary image, this filter converts it to its outline, replacing all interior pixels with the 'new' color.
protected int[] | filterPixels(int width, int height, int[] inPixels, Rectangle transformedSpace) - Actually filter the pixels.
|
String | toString()
|
OutlineFilter
public OutlineFilter()
Construct a WholeImageFilter.
filterPixels
protected int[] filterPixels(int width,
int height,
int[] inPixels,
Rectangle transformedSpace)
Actually filter the pixels.
- filterPixels in interface WholeImageFilter
width
- the image widthheight
- the image heightinPixels
- the image pixelstransformedSpace
- the output bounds
toString
public String toString()