how to remove period noise from an rgb image?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
How do I remove period noise from an rgb photo?
I know that I must split my image to 3 channels and I have done that
rgbImage = imread(image name)
redChannel = rgbImage(:,:,1)
greenChannel = rgbImage(:,:,2)
blueChannel = rgbImage(:,:,3)
allBlack = zeros(size(rgbImage, 1), size(rgbImage, 2), 'uint8');
just_red = cat(3, redChannel, allBlack, allBlack);
just_green = cat(3, allBlack, greenChannel, allBlack);
just_blue = cat(3, allBlack, allBlack, blueChannel);
Now I don't know how to apply the notch to every single channel.
Thank you in advance.
0 Kommentare
Antworten (1)
Image Analyst
am 9 Dez. 2019
Why are you computing those "just_" images? I guess since you don't want explanations about how it should work, and just want code, then you just took some random code. Unfortunately that code won't remove periodic noise. You'll have to do a band reject filter in the Fourier domain.
I have some demo code that does that for a gray scale image. I won't explain it to you since you don't want that - you can just run the code. There are some comments in there that explain things, but you can just ignore them.
0 Kommentare
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!