Classes | Protected Member Functions

CosineTransform Class Reference

This is the CosineTransform. More...

Inheritance diagram for CosineTransform:
GenericTransformND SequentialTask Task NamedObject CallBacker

List of all members.

Classes

class  CosineTransform1D

Protected Member Functions

Transform1DcreateTransform () const
bool isFast (int) const

Detailed Description

This is the CosineTransform.

It is fast when the size is a power of two, slow otherwise. The fast transform is based on the article: Sherlock, Barry G. & Monro, Donald M., 1995: Algorithm 749: Fast discrete cosine transform. ACM Transactions on Mathematical Software. Volume 21(4). Pages 372-378.

The slow transform is based on: Gonzales, Rafael C. & Woods, Richard E., 1992: Digital Image Processing. Addison-Wesley Publishing Company. Pages 143-144.

The cosine transform is a transform that is similar to the FourierTransform, with the differences that: 1. It is real. 2. It does not assume that the signal repeats itself, resulting in that no windowing is required prior to the transform.

The CosineTransorm is mostly known from the JPEG (.jpg, .mp3 ++) compression standard, where it is used extensively.


Member Function Documentation

Transform1D* CosineTransform::createTransform (  )  const [inline, protected, virtual]

Implements GenericTransformND.

bool CosineTransform::isFast ( int   )  const [protected]