Package com.jhlabs.image
Class AverageFilter
java.lang.Object
com.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.ConvolveFilter
com.jhlabs.image.AverageFilter
- All Implemented Interfaces:
BufferedImageOp
,Cloneable
A filter which averages the 3x3 neighbourhood of each pixel, providing a simple blur.
-
Field Summary
FieldsFields inherited from class com.jhlabs.image.ConvolveFilter
alpha, CLAMP_EDGES, kernel, WRAP_EDGES, ZERO_EDGES
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.jhlabs.image.ConvolveFilter
convolve, convolve, convolveH, convolveHV, convolveV, createCompatibleDestImage, filter, getBounds2D, getEdgeAction, getKernel, getPoint2D, getRenderingHints, getUseAlpha, setEdgeAction, setKernel, setUseAlpha
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
clone, getRGB, setRGB
-
Field Details
-
theMatrix
protected static float[] theMatrix
-
-
Constructor Details
-
AverageFilter
public AverageFilter()
-
-
Method Details
-
toString
- Overrides:
toString
in classConvolveFilter
-