写真からスペクトル波形を描く方法はありますか?
17 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
写真を読込み横軸周波数または波長、縦軸は振幅値のグラフを作成できますか?
できるのであればその方法を教えてください。
0 Commenti
Risposte (1)
Kenta
il 6 Ago 2020
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),[])
こんにちは、画像に対するフーリエ変換のことですかね?こちらは、縦軸は振幅ではないのですが、こんな感じの図をイメージしていましたか?2つ目の図は画像を波に分解して、逆にそれを足し合して画像の復元をしている例です。matlab fftなどと調べていただければより詳しい情報が出てくると思います。
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!