Calculates forward and inverse 2D discrete cosine transform (DCT). The
DCT class implements the DCT and provides methods for writing coefficients in zig zag
order into a 1D array. The DCT_ class is the ImageJ plugin handling user input
of parameters and creating a new image showing the result of the DCT/IDCT.
The user can set the following parameters:
block size (a power of 2)
forward or inverse DCT
if the image is sclaed to the block size or split into tiles of this size
scaling of output (by default [-1,1])
Only works with 8, 16 and 32 bit grayscale images.
Authors: Olivier Marchal (marchal_olivier at hotmail.fr) and Jerome Mutterer (jerome.mutterer at ibmp-ulp.u-strasbg.fr) History: 2005/01/20: First version 2005/02/08: Improved version Limitations: Only works with 8-bit images