I have the following image .I want to find the frequency or time interval of the periodic pattern.

5 views (last 30 days)
I mean i want to find the periodic frequency peak.I know may be i have to use fft2 of matlab.But i could not ablle to see the frequency peak after applying the fft2.
</matlabcentral/answers/uploaded_files/45290/Capture.PNG> I want to find that kind of response from my image by using fft.Please help me.I have no idea how to do it. Thanks in advance

Answers (2)

Image Analyst
Image Analyst on 13 Feb 2016
I would not use fft2() because the frequency is so low that its spike will be located very close to the main peak at DC and you might not get good resolution. What I'd probably try is to use normalized cross correlation to find template match locations. Then threshold the correlation image and find the location of the weighted centroids with regionprops() and then inspect each centroid to find the average distance to the closest 6 neighbors. I attach a normxcorr2 demo. Using regionprops to get centroids and finding distances from each centroid to all the others is trivial by using a for loop, or even pdist2() if you have the Stats toolbox. Give it a shot and let us know how it went.
  20 Comments
Image Analyst
Image Analyst on 27 Feb 2016
Like I said, I don't think FFT is the way to go. Believe it or not we actually did this problem this week with some crystalline "balls" in a lattice structure in SEM images. We used delaunay triangles and found the mean and standard deviation of the separations between each ball and the neighbors defined by the delaunay triangulation. From the spacing, you can invert it to get the frequency.
sheli whitson
sheli whitson on 27 Feb 2016
Edited: sheli whitson on 27 Feb 2016
Hello Image Analyst,
Now i am thinking to do it like that paper mentioned(fig-2b) if there are repeating structures i will get one peak for those structures and if there is another type of repeating structures i will get another peak so that i can decide how many different repeating structures are present in my image.But they did not mention how they plot the result.So how can get similar types of plots ? Is that possible to do that by using fft like they did or by using your technique?Finally I will apply similar techniques on other images .
Thank you very much .If fft technique is not working i have to show someone the prove.That is why I am trying to do it by using fft.I hope you understand .Thanks again for your help. I am looking forward to hear from you.

Sign in to comment.


sheli whitson
sheli whitson on 28 Feb 2016
Edited: sheli whitson on 28 Feb 2016
Hello Image Analyst,
Do you have any suggestion how can i get similar peaks by using the attached paper's technique?I actually could not under stand what they plot(fig-2b). Thanks in advance

Community Treasure Hunt

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

Start Hunting!