com.jhlabs.image
Class MedianFilter
- BufferedImageOp, Cloneable
public class MedianFilter
A filter which performs a 3x3 median operation. Useful for removing dust and noise.
protected int[] | filterPixels(int width, int height, int[] inPixels, Rectangle transformedSpace) - Actually filter the pixels.
|
String | toString()
|
MedianFilter
public MedianFilter()
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()