フィルターのクリア

How to calculate whether two sets of images differ in spatial frequency?

1 回表示 (過去 30 日間)
Neuro
Neuro 2023 年 4 月 10 日
編集済み: Neuro 2023 年 4 月 10 日
Hi. I have two sets of 10 images. They are all greyscale and have the same dimensions. I need to measure their spatial frequency and test whether these two sets differ statistically in spatial frequency. Could someone please help me with a short script that can do this? Thanks so much in advance!

回答 (1 件)

Image Analyst
Image Analyst 2023 年 4 月 10 日
I don't have a script but what I'd do is for each set, compute the fft2 of each image. Then add up all the FFT's of all the images in each set. Now you have 2 FFT images. Of course they will be different - they won't match up at every frequency. So it's up to you to decide how different, and in what way they are different.
See the FAQ for how to process a sequence of images:

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by