railo.runtime.img.filter
Class ReduceNoiseFilter

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

public class ReduceNoiseFilter
extends WholeImageFilter
implements DynFiltering

A filter which performs reduces noise by looking at each pixel's 8 neighbours, and if it's a minimum or maximum, replacing it by the next minimum or maximum of the neighbours.


Constructor Summary
ReduceNoiseFilter()
           
 
Method Summary
 BufferedImage filter(BufferedImage src, Struct parameters)
           
 String toString()
           
 
Methods inherited from class railo.runtime.img.filter.WholeImageFilter
filter
 
Methods inherited from class railo.runtime.img.filter.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReduceNoiseFilter

public ReduceNoiseFilter()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

filter

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


Copyright © 2012 Railo