mpicbg.util
Class DCT

java.lang.Object
  extended by mpicbg.util.DCT

public final class DCT
extends Object

Naive Implementation of the Discrete Cosine Transform Type I.

Author:
Stephan Saalfeld

Constructor Summary
DCT()
           
 
Method Summary
static void dct(float[] f, float[] c)
          Transfer data values into DCT coefficients.
static void idct(float[] c, float[] f)
          Reconstruct data values from DCT coefficients.
static float idct(float[] c, float x, float lambda)
          Reconstruct a sample from DCT coefficients.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DCT

public DCT()
Method Detail

dct

public static void dct(float[] f,
                       float[] c)
Transfer data values into DCT coefficients. The x-spacing of data values is 1.

Parameters:
f - source data values
c - destination dct coefficients

idct

public static float idct(float[] c,
                         float x,
                         float lambda)
Reconstruct a sample from DCT coefficients.

Parameters:
c - source DCT coefficients
x - sample location

idct

public static final void idct(float[] c,
                              float[] f)
Reconstruct data values from DCT coefficients.

Parameters:
c - source DCT coefficients
f - destination data values


Copyright © 2007-2016 Fiji. All Rights Reserved.