輝度画像の周波数解析に関してです。

15 vues (au cours des 30 derniers jours)
koichi hashimoto
koichi hashimoto le 19 Juil 2020
Commenté : Kenta le 20 Juil 2020
輝度画像(csv)の周波数解析についてです。画像(輝度画像3840×3841)を扱っており、その周波数(cycle/degree)を解析したいです。具体的に、知りたいのどの周波数がどれだけ含まれているか(周波数スペクトルなどで)、ということです。二次元フーリエ(fft2)をしてからの手順がいまいちよくわかりません。カメラの画角などはわかるので、単位はcycl/pixelでも構いません。わかる方がいらっしゃれば教えていただきたいです。
  1 commentaire
Kenta
Kenta le 20 Juil 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),[])

Connectez-vous pour commenter.

Réponses (0)

Tags

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!