how to remove period noise from an rgb image?

1 vue (au cours des 30 derniers jours)
taha khaled
taha khaled le 9 Déc 2019
Modifié(e) : taha khaled le 9 Déc 2019
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.

Réponses (1)

Image Analyst
Image Analyst le 9 Déc 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.

Community Treasure Hunt

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

Start Hunting!

Translated by