railo.runtime.img.filter
Class AverageFilter

java.lang.Object
  extended by railo.runtime.img.filter.AbstractBufferedImageOp
      extended by railo.runtime.img.filter.ConvolveFilter
          extended by railo.runtime.img.filter.AverageFilter
All Implemented Interfaces:
BufferedImageOp, Cloneable, DynFiltering

public class AverageFilter
extends ConvolveFilter
implements DynFiltering

A filter which averages the 3x3 neighbourhood of each pixel, providing a simple blur.


Field Summary
 
Fields inherited from class railo.runtime.img.filter.ConvolveFilter
CLAMP_EDGES, WRAP_EDGES, ZERO_EDGES
 
Constructor Summary
AverageFilter()
           
 
Method Summary
 BufferedImage filter(BufferedImage src, Struct parameters)
           
 String toString()
           
 
Methods inherited from class railo.runtime.img.filter.ConvolveFilter
convolve, convolve, convolveH, convolveHV, convolveV, createCompatibleDestImage, filter, getBounds2D, getEdgeAction, getKernel, getPoint2D, getPremultiplyAlpha, getRenderingHints, getUseAlpha, setEdgeAction, setKernel, setPremultiplyAlpha, setUseAlpha
 
Methods inherited from class railo.runtime.img.filter.AbstractBufferedImageOp
clone, getRGB, setRGB
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AverageFilter

public AverageFilter()
Method Detail

toString

public String toString()
Overrides:
toString in class ConvolveFilter

filter

public BufferedImage filter(BufferedImage src,
                            Struct parameters)
                     throws PageException
Specified by:
filter in interface DynFiltering
Overrides:
filter in class ConvolveFilter
Throws:
PageException


Copyright © 2012 Railo