写真からスペクトル波形を描く方法はありますか?
17 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
写真を読込み横軸周波数または波長、縦軸は振幅値のグラフを作成できますか?
できるのであればその方法を教えてください。
0 Kommentare
Antworten (1)
Kenta
am 6 Aug. 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などと調べていただければより詳しい情報が出てくると思います。
Siehe auch
Kategorien
Mehr zu 記述統計 finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!