jjil.algorithm
Class Gray82Gray32

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

public class Gray82Gray32
extends PipelineStage

Gray82Gray32 converts an 8-bit gray image to a 32-bit gray image.

Author:
webb

Constructor Summary
Gray82Gray32()
          Creates a new instance of Gray82Gray32
 
Method Summary
 void push(Image image)
          Converts an 8-bit gray image into a 32-bit image by replicating changing the data range of the bytes from -128->127 to 0->255.
 
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

Gray82Gray32

public Gray82Gray32()
Creates a new instance of Gray82Gray32

Method Detail

push

public void push(Image image)
          throws Error
Converts an 8-bit gray image into a 32-bit image by replicating changing the data range of the bytes from -128->127 to 0->255.

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