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

写真を読込み横軸周波数または波長、縦軸は振幅値のグラフを作成できますか?
できるのであればその方法を教えてください。

Respuestas (1)

Kenta
Kenta el 6 de Ag. de 2020

0 votos

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

tomoyuki fujieda
tomoyuki fujieda el 6 de Ag. de 2020
ご回答ありがとうございます。
少し補足いたします。
端的に言いますと私がグラフ化したいのはヒストグラムの横軸周波数版です。
縦軸は度数でなくパワーでもOKです。
時間データをFFTしますと簡単に出来ますが、画像でも同様の事が可能か
知りたいです。
これが質問の意図になります。
情報不足でした。
よろしくお願いします。
Kenta
Kenta el 6 de Ag. de 2020
tomoyuki fujieda
tomoyuki fujieda el 15 de Sept. de 2020
非常に間が空き申し訳ありません。
ご回答ありがとうございます。
内容を拝見させていただいておりますが、理解するのに時間がかかっております。

Iniciar sesión para comentar.

Categorías

Más información sobre フーリエ解析とフィルター処理 en Centro de ayuda y File Exchange.

Preguntada:

el 5 de Ag. de 2020

Comentada:

el 15 de Sept. de 2020

Community Treasure Hunt

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

Start Hunting!