![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/334428/image.png)
輝度画像の周波数解析に関してです。
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
輝度画像(csv)の周波数解析についてです。画像(輝度画像3840×3841)を扱っており、その周波数(cycle/degree)を解析したいです。具体的に、知りたいのどの周波数がどれだけ含まれているか(周波数スペクトルなどで)、ということです。二次元フーリエ(fft2)をしてからの手順がいまいちよくわかりません。カメラの画角などはわかるので、単位はcycl/pixelでも構いません。わかる方がいらっしゃれば教えていただきたいです。
1 commentaire
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),[])
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/334428/image.png)
Réponses (0)
Voir également
Catégories
En savoir plus sur ライティング、透明度、およびシェーディング dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!