com.jhlabs.image

Class AverageFilter

Implemented Interfaces:
BufferedImageOp, 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
The convolution kernal for the averaging.

Fields inherited from class com.jhlabs.image.ConvolveFilter

CLAMP_EDGES, WRAP_EDGES, ZERO_EDGES, alpha, kernel, premultiplyAlpha

Constructor Summary

AverageFilter()

Method Summary

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, toString

Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp

clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRGB, getRenderingHints, setRGB

Field Details

theMatrix

protected static float[] theMatrix
The convolution kernal for the averaging.

Constructor Details

AverageFilter

public AverageFilter()

Method Details

toString

public String toString()
Overrides:
toString in interface ConvolveFilter