Maven module :un.api : api-math :
Class : un.impl.math.transform.DCT
Extends/Implements : -
Subclasses : -

Discrete Cosinus Transform
http://fr.wikipedia.org/wiki/Compression_JPEG
This implementation is not thread safe.
author  Johann Sorel


Variables : -
Functions : DCT, dct, idct, idct



public void DCT (int size)


Apply DCT transform to given pixel matrix.
param  pixel
param  dct cache . size N x N, not null
return  transformed matrix
public double[][] dct (double[][] pixel, double[][] dct)


Apply IDCT transform to given array.
param  dct
public void idct (float[] dct)


Apply IDCT transform to given matrix.
param  dct
param  pixel
public void idct (double[][] dct, double[][] pixel)