Functions | |
void | itpp::dct (const vec &in, vec &out) |
Discrete Cosine Transform (DCT). | |
vec | itpp::dct (const vec &in) |
Discrete Cosine Transform (DCT). | |
void | itpp::idct (const vec &in, vec &out) |
Inverse Discrete Cosine Transform (IDCT). | |
vec | itpp::idct (const vec &in) |
Inverse Discrete Cosine Transform (IDCT). |
X = dct(x)
x = idct(X)
where for
and
for
.
The implementation is built upon one of the following libraries: FFTW, MKL, or ACML, depending on which was chosen during compilation.
The routine is fastest for powers of two. Furthermore, the second time you call the routine with the same size, the calculation is much faster due to many things were calculated and stored the first time the routine was called.
|
Discrete Cosine Transform (DCT).
Definition at line 523 of file transforms.cpp. References it_error. Referenced by itpp::dct(). |
|
Discrete Cosine Transform (DCT).
Definition at line 599 of file transforms.cpp. References itpp::dct(). |
|
Inverse Discrete Cosine Transform (IDCT).
Definition at line 528 of file transforms.cpp. References it_error. Referenced by itpp::idct(). |
|
Inverse Discrete Cosine Transform (IDCT).
Definition at line 606 of file transforms.cpp. References itpp::idct(). |
Generated on Thu Apr 19 14:24:00 2007 for IT++ by Doxygen 1.4.6