How to use 2D FFT to remove horizontal noise from the image
5 ビュー (過去 30 日間)
古いコメントを表示
Sorry a beginner here. I have no clue on how to remove the horizontal noise from the images using the 2D FFT method. I've found some code online but it doesn't seem to work can anyone help me. Thank you.
This is the picture with amplified noise
This is the original picture with the noise
0 件のコメント
採用された回答
Mathieu NOE
2023 年 11 月 13 日
hello
you can start with simple 2D filtering
here some examples you can easily try once you have dowloaded those functions : smooth2a and smoothn from here
Result with smooth2a (notice you can have different smoothing factor for x and y directions)
Result with smoothn
demo code
inpict = im2double(rgb2gray(imread('image.png')));
figure(1)
outpict = smooth2a(inpict,5,3);
subplot(1,2,1),imagesc(inpict)
subplot(1,2,2),imagesc(outpict)
figure(2)
outpict = smoothn(inpict);
subplot(1,2,1),imagesc(inpict)
subplot(1,2,2),imagesc(outpict)
6 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Spectral Estimation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!