org.jscience.computing.ai.vision
Class EqualizeFilter

java.lang.Object
  extended by org.jscience.computing.ai.vision.Filter
      extended by org.jscience.computing.ai.vision.EqualizeFilter

public class EqualizeFilter
extends Filter

This filter performs histogram equalization on their a greyscale or RGB image.


Constructor Summary
EqualizeFilter()
          Creates a new instance of EqualizeFilter
 
Method Summary
 java.awt.image.BufferedImage filter(java.awt.image.BufferedImage image, java.awt.image.BufferedImage output)
          Equalizes an images using its histogram.
 java.lang.String toString()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.computing.ai.vision.Filter
filter, verifyOutput, verifyOutput, verifyOutput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EqualizeFilter

public EqualizeFilter()
Creates a new instance of EqualizeFilter

Method Detail

filter

public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage image,
                                           java.awt.image.BufferedImage output)
Equalizes an images using its histogram.

Specified by:
filter in class Filter
Parameters:
image - input image.
output - the pre-allocated output image (optional).
Returns:
the output image.
See Also:
Filter.verifyOutput(BufferedImage,BufferedImage)

toString

public java.lang.String toString()
DOCUMENT ME!

Overrides:
toString in class java.lang.Object
Returns:
DOCUMENT ME!