com.jhlabs.image
Class AverageFilter

java.lang.Object
  extended by com.jhlabs.image.AbstractBufferedImageOp
      extended by com.jhlabs.image.ConvolveFilter
          extended by 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
protected static float[] theMatrix
           
 
Fields inherited from class com.jhlabs.image.ConvolveFilter
alpha, CLAMP_EDGES, kernel, WRAP_EDGES, ZERO_EDGES
 
Constructor Summary
AverageFilter()
           
 
Method Summary
 java.lang.String toString()
           
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

theMatrix

protected static float[] theMatrix
Constructor Detail

AverageFilter

public AverageFilter()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class ConvolveFilter