各種の周期ムラの2次元画像を作成して、FFT変換して、対応を学習したい
Show older comments
周期性のムラのある2次元画像をMatlabで生成して、その画像をFFT変換します。そのFFT変換画像と元の周期性画像との関係を比較して学習したいです。各種、周期性ムラの生成方法と、FFT変換画像の作成の仕方をご教授願いたいです。
3 Comments
> 周期性ムラの生成方法
I = imread('peppers.png');
S = size(I);
func = (sin(10 * pi * (1/S(2):1/S(2):1)) + 3) / 4; % 画像幅と同じ長さの正弦波
strp = repmat(func,[S(1),1,3]); % 画像と同じサイズの縞模様データを作る
I = uint8(double(I) .* strp); % 画像と縞模様の要素を掛け合わせる
subplot(1,2,1), imshow(I);
subplot(1,2,2), imshow(strp);
Hirofumi
on 2 Dec 2022
Moved: Atsushi Ueno
on 2 Dec 2022
Atsushi Ueno
on 2 Dec 2022
Moved: Atsushi Ueno
on 2 Dec 2022
> 時間が許すなら、下記のレクチャもよろしくお願いします
Answers (0)
Categories
Find more on Convert Image Type in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!