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

답변 (2개)

Image Analyst
Image Analyst 2013년 11월 6일

1 개 추천

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

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
I said you can use fft2() to get the spatial frequencies. I don't know what "fusion mutual information" is.

댓글을 달려면 로그인하십시오.

Jan
Jan 2013년 11월 6일

0 개 추천

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.

질문:

2013년 10월 17일

댓글:

2013년 11월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by