jjil.algorithm
Class Complex2Gray32

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

public class Complex2Gray32
extends PipelineStage

Converts a Complex32Image to a Gray32Image by taking the complex magnitude of each pixel.

Author:
webb

Constructor Summary
Complex2Gray32()
          Creates a new instance of Complex2Gray32
 
Method Summary
 void push(Image im)
          Convert an input Complex32Image to an output Gray32Image by taking the complex magnitude of each pixel.
 
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

Complex2Gray32

public Complex2Gray32()
Creates a new instance of Complex2Gray32

Method Detail

push

public void push(Image im)
          throws Error
Convert an input Complex32Image to an output Gray32Image by taking the complex magnitude of each pixel.

Specified by:
push in class PipelineStage
Parameters:
im - Input image. Must be a Complex32Image.
Throws:
Error - if the input is not of type Complex32Image.