Sample code for DFT and DCT Operation on RGB Image

Asked by BSarkar on 9 Aug 2012
Latest activity Commented on by Arangarajan on 24 Aug 2012

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.

1 Comment

Arangarajan on 24 Aug 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.

BSarkar

0 Answers

Contact us