Package com.jhlabs.image
Class AverageFilter
- java.lang.Object
-
- com.jhlabs.image.AbstractBufferedImageOp
-
- com.jhlabs.image.ConvolveFilter
-
- com.jhlabs.image.AverageFilter
-
- All Implemented Interfaces:
java.awt.image.BufferedImageOp
,java.lang.Cloneable
public class AverageFilter extends ConvolveFilter
A filter which averages the 3x3 neighbourhood of each pixel, providing a simple blur.
-
-
Field Summary
Fields Modifier and Type Field Description protected static float[]
theMatrix
The convolution kernal for the averaging.-
Fields inherited from class com.jhlabs.image.ConvolveFilter
alpha, CLAMP_EDGES, kernel, premultiplyAlpha, WRAP_EDGES, ZERO_EDGES
-
-
Constructor Summary
Constructors Constructor Description AverageFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
Methods inherited from class com.jhlabs.image.ConvolveFilter
convolve, convolve, convolveH, convolveHV, convolveV, createCompatibleDestImage, filter, getBounds2D, getEdgeAction, getKernel, getPoint2D, getPremultiplyAlpha, getRenderingHints, getUseAlpha, setEdgeAction, setKernel, setPremultiplyAlpha, setUseAlpha
-
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
clone, getRGB, setRGB, stringToColor
-
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classConvolveFilter
-
-