|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.WholeImageFilter
com.jhlabs.image.MedianFilter
public class MedianFilter
A filter which performs a 3x3 median operation. Useful for removing dust and noise.
Field Summary |
---|
Fields inherited from class com.jhlabs.image.WholeImageFilter |
---|
originalSpace, transformedSpace |
Constructor Summary | |
---|---|
MedianFilter()
|
Method Summary | |
---|---|
protected int[] |
filterPixels(int width,
int height,
int[] inPixels,
java.awt.Rectangle transformedSpace)
Actually filter the pixels. |
java.lang.String |
toString()
|
Methods inherited from class com.jhlabs.image.WholeImageFilter |
---|
filter, transformSpace |
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp |
---|
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MedianFilter()
Method Detail |
---|
protected int[] filterPixels(int width, int height, int[] inPixels, java.awt.Rectangle transformedSpace)
WholeImageFilter
filterPixels
in class WholeImageFilter
width
- the image widthheight
- the image heightinPixels
- the image pixelstransformedSpace
- the output bounds
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |