How can I remove noise by using frequency domain technique??
2 次查看(过去 30 天)
显示 更早的评论
ORIGINAL IMAGE
MAGNITUDE SPECTRUM
I would like to eliminate the background in order to isolate the gap ... I tried to filter with a low pass (gauss) filter in the frequency domain, but in addition to the background the gap also starts to disappear, so I'm not satisfied. How do you recommend to act in the frequency domain to totally eliminate the background so that you are left alone with the crack highlighted ??
0 个评论
回答(1 个)
Kiran Felix Robert
2020-11-4
Hi Andrian,
The following code uses an adaptive filtering to get a result close to what you expect, replace the ‘image.png’, with your input image.
I = imread('image.png');
G = rgb2gray(I);
F = wiener2(G,[12,12]);
F = imbilatfilt(F,1000);
imshowpair(I,F,'montage')
Refer Design Linear Filters in Frequency Domain document for more details on frequency domain Filtering.
To have more idea about frequency domain filtering of images, refer the answer here
Kiran Felix Robert
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!