写真からスペクトル波形を描く方法はありますか?

16 visualizaciones (últimos 30 días)
tomoyuki fujieda
tomoyuki fujieda el 5 de Ag. de 2020
Comentada: tomoyuki fujieda el 15 de Sept. de 2020
写真を読込み横軸周波数または波長、縦軸は振幅値のグラフを作成できますか?
できるのであればその方法を教えてください。

Respuestas (1)

Kenta
Kenta el 6 de Ag. de 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などと調べていただければより詳しい情報が出てくると思います。
  3 comentarios
Kenta
Kenta el 6 de Ag. de 2020
tomoyuki fujieda
tomoyuki fujieda el 15 de Sept. de 2020
非常に間が空き申し訳ありません。
ご回答ありがとうございます。
内容を拝見させていただいておりますが、理解するのに時間がかかっております。

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!