Clear Filters
Clear Filters

輝度画像の周波数解析に関してです。

12 views (last 30 days)
koichi hashimoto
koichi hashimoto on 19 Jul 2020
Commented: Kenta on 20 Jul 2020
輝度画像(csv)の周波数解析についてです。画像(輝度画像3840×3841)を扱っており、その周波数(cycle/degree)を解析したいです。具体的に、知りたいのどの周波数がどれだけ含まれているか(周波数スペクトルなどで)、ということです。二次元フーリエ(fft2)をしてからの手順がいまいちよくわかりません。カメラの画角などはわかるので、単位はcycl/pixelでも構いません。わかる方がいらっしゃれば教えていただきたいです。
  1 Comment
Kenta
Kenta on 20 Jul 2020
こんにちは、関係ないかもしれませんが、FFTの一例は以下のようになると思います。何かの役に立てば幸いです。
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),[])

Sign in to comment.

Answers (0)

Categories

Find more on フーリエ解析とフィルター処理 in Help Center and File Exchange

Tags

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!