写真からスペクトル波形を描く方法はありますか?
显示 更早的评论
回答(1 个)
Kenta
2020-8-6
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などと調べていただければより詳しい情報が出てくると思います。


类别
在 帮助中心 和 File Exchange 中查找有关 フーリエ解析とフィルター処理 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!