jjil.algorithm
Class GrayHistEq

java.lang.Object
  extended by jjil.core.PipelineStage
      extended by jjil.algorithm.GrayHistEq

public class GrayHistEq
extends PipelineStage

Equalize the histogram of a gray image.

Author:
webb

Constructor Summary
GrayHistEq()
          Creates a new instance of GrayHistEq
 
Method Summary
 void push(Image image)
          Equalize the histogram of an input gray image.
 
Methods inherited from class jjil.core.PipelineStage
getFront, isEmpty
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrayHistEq

public GrayHistEq()
           throws Error
Creates a new instance of GrayHistEq

Throws:
Error - if GrayHistMatch throws jjil.core.Error due to coding error.
Method Detail

push

public void push(Image image)
          throws Error
Equalize the histogram of an input gray image.

Specified by:
push in class PipelineStage
Parameters:
image - the input image.
Throws:
Error - if the input image is not gray.