
輝度画像の周波数解析に関してです。
4 views (last 30 days)
Show older comments
輝度画像(csv)の周波数解析についてです。画像(輝度画像3840×3841)を扱っており、その周波数(cycle/degree)を解析したいです。具体的に、知りたいのどの周波数がどれだけ含まれているか(周波数スペクトルなどで)、ということです。二次元フーリエ(fft2)をしてからの手順がいまいちよくわかりません。カメラの画角などはわかるので、単位はcycl/pixelでも構いません。わかる方がいらっしゃれば教えていただきたいです。
1 Comment
Kenta
on 20 Jul 2020
こんにちは、関係ないかもしれませんが、FFTの一例は以下のようになると思います。何かの役に立てば幸いです。
rgb = imread('onion.png');
gray = rgb2gray(rgb);
figure;imshow(gray)
F=fft2(double(gray));
power=abs(F);
power_shift=fftshift(power);
figure;imshow(log(power_shift),[])

Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!