![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/334428/image.png)
輝度画像の周波数解析に関してです。
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
輝度画像(csv)の周波数解析についてです。画像(輝度画像3840×3841)を扱っており、その周波数(cycle/degree)を解析したいです。具体的に、知りたいのどの周波数がどれだけ含まれているか(周波数スペクトルなどで)、ということです。二次元フーリエ(fft2)をしてからの手順がいまいちよくわかりません。カメラの画角などはわかるので、単位はcycl/pixelでも構いません。わかる方がいらっしゃれば教えていただきたいです。
1 Commento
Kenta
il 20 Lug 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)
Risposte (0)
Vedere anche
Categorie
Scopri di più su ライティング、透明度、およびシェーディング in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!