DCT and KL Transform
DCT and KL Transform
where and
• Inverse DCT
Discrete Cosine Transform
■ 2D Discrete Cosine Transform (DCT)
where and
• Inverse DCT
Discrete Cosine Transform
■ The basis functions of DCT are real. (DFT has complex
basis functions.)
■ DCT has very good energy compaction properties.
■ DCT can be expressed in terms of DFT, therefore, Fast
Fourier Transform implementation can be used.
■ In the case of block-based image compression, (e.g.,
JPEG), DCT produces less artifacts along the
boundaries than DFT does.
DCT and DFT
■ N-point DCT of x[n] can be obtained from 2N-point
DFT of symmetrically extended x[n].
Symmetric extension:
DFT of :
DCT of :
Discrete Cosine Transform
■ Matrix Representation of DCT
Discrete Cosine Transform
■ Matrix Representation of Inverse DCT
Discrete Cosine Transform
where and
• Inverse DCT
Discrete Cosine Transform
• The quantity
•of the image i .
• The population may arise from the formation of the above vectors
for different image pixels.
Example: x vectors could be pixel values
in several spectral bands (channels)
Mean and Covariance Matrix
• The mean vector of the population is defined as:
• Let A be a matrix whose rows are formed from the eigenvectors of the covariance
matrix C of the population.
• They are ordered so that the first row of A is the eigenvector corresponding to the
largest eigenvalue, and the last row the eigenvector corresponding to the smallest
eigenvalue.
6 spectral images
from an airborne
Scanner.
1 3210
2 931.4
3 118.5
4 83.88
5 64.00
6 13.40