how to do FFT for PART on an image?

4 次查看(过去 30 天)
I want to compare the following two images based on their Fourier Transform. However, I am only interested in the circular region. Is it possible to do FFT for part on an image?
tnx in advance

采纳的回答

Image Analyst
Image Analyst 2014-8-3
Not sure what you're looking for. Since your second image has a circular mask multiplied by the first image, your second spectrum will be the same as the first spectrum, just convolved with a narrow sombrero function.
  3 个评论
Image Analyst
Image Analyst 2014-8-3
I think you do not understand what the Fourier transform represents. There is no one-to-one correspondence with a region in the spatial domain with a certain finite, compact region in the Fourier domain. There is no "mapping" as you called it. Low frequencies are near the center and high frequencies are away from the center, but that's about as "mapped" as you can call it.
ramin bba
ramin bba 2014-8-4
you are right, I meant "mapping" not from pixel to pixel.
Let's say I provide you with two copies of the image on the right hand side. In the one of them, the gray region is replaced with disks of various sizes (and this is the only change). Now, if you take FFT of the two copies, the results will NOT be the same WHILE the two images are identical given MY REGION OF INTEREST. How can use FFT of two images to make the decision that "whether they are the same given a region of interest"?
I hope I made myself clearer.
thanks for your thorough comments.

请先登录,再进行评论。

更多回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by