how to find spatial frequency of color image

i have fused two images and now i want to find the spatial frequency of fused image can anyone please help

Réponses (2)

Image Analyst
Image Analyst le 6 Nov 2013

1 vote

You can calculate the 2D FFT of an image. The image must be a 2D image, not a 3D color image. So you can convert that to gray scale using rgb2gray(), or you can use the red, green, or blue channel, or you can convert to another colorspace such as lab or hsv (using rgb2hsv() function) and then do the FFT of the h, s, or v channel. It all depends on what you want to do with the information once you get it.

4 commentaires

thanks i have to compare the images .As i am fusing the images to get resultant image ,i want to compare their spatial frequency in order to check the performance the the fusion algorithm
You're welcome. There are other ways to compare images also, such as histograms, SSIM, etc.
CAN U PLEASE SEND ME THE CODE FOR FINDING SPATIAL FREQUENCY AND FUSION MUTUAL INFORMATION OF IMAGE PLZ ITZ URGENT THANKS WITH GREAT REGARDS
Image Analyst
Image Analyst le 10 Nov 2013
I said you can use fft2() to get the spatial frequencies. I don't know what "fusion mutual information" is.

Connectez-vous pour commenter.

Jan
Jan le 6 Nov 2013

0 votes

You probably want to analyze the structure of the image's 2d fourier transform using fft2(). Either for each channel or after conversion to a gray image.

Community Treasure Hunt

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

Start Hunting!

Translated by