jjil.algorithm
Class IFftComplex32

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

public class IFftComplex32
extends PipelineStage

Computes the inverse FFT of the input Complex32Image. The output is a Gray8Image, which is the magnitude of the inverse FFT. The output can be scaled so the maximum and minimum values of the magnitude are mapped to Byte.MAX_VALUE and Byte.MIN_VALUE.

Author:
webb

Constructor Summary
IFftComplex32(boolean bScale)
          Creates a new instance of IFftComplex32
 
Method Summary
 void push(Image im)
          Perform the inverse FFT on the input Complex32Image, producing a Gray8Image.
 
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

IFftComplex32

public IFftComplex32(boolean bScale)
Creates a new instance of IFftComplex32

Parameters:
bScale - Whether or not to scale the output before converting it to a byte.
Method Detail

push

public void push(Image im)
          throws Error
Perform the inverse FFT on the input Complex32Image, producing a Gray8Image.

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