how to create a notch filter for the image to remove noise?

i have an image with periodic noise
after applying the fourier transform and fftshift i got
help me to design the notch filters to remove the noise

 Accepted Answer

See my FFT filter demo, attached.

3 Comments

not working on this image
Can I ask how the amplitudeThreshold in line 73 is determined? Trial and error? Or did you use some histogram approach? Also curious about line 87 where you removed the brightSpike for DC between rows 115-143. How did you know this was the location?
Siddarha, that image does not have periodic noise.
Karissa, the threshold is determined by trial and error. Adjust it until you get the best result.
The DC spike will always be exactly at the exact center of the spectrum.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!