Sample code for DFT and DCT Operation on RGB Image

Hi,
I am new to matlab and image processing.
For better undestanding of DFT and DCT operation on a RBG image, please provide some sample codes.
Code for plotting the the frequency components of an image would be an added help for me.
Thanks in advance.

2 comentarios

Arangarajan
Arangarajan el 24 de Ag. de 2012
hi,
Directly we cant apply DCT in a color image.First we converted that into gray and perform the dct operations.otherwise separate RGB planes then apply DCT/IDCT for each plane. Finally just combine all the planes.You will get better result.
Manali Roy
Manali Roy el 1 de Abr. de 2016
can you please tell me how to combine?

Iniciar sesión para comentar.

Etiquetas

Preguntada:

el 9 de Ag. de 2012

Comentada:

el 1 de Abr. de 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by