I have a cameraman (the built in one) image which is multiplied by an unknown cosine function. How can i remove the cosine function from the image in Frequency Domain?

4 views (last 30 days)
Can I find the cosine using Euler's Formula i.e cos(jux)=1/2* (e^(jux) + e^(-jux)) where j= is imaginary part in the fft2, u= phase angle, x=row

Answers (1)

Image Analyst
Image Analyst on 15 Apr 2017
If you know where the ripples are, then you can just divide by the pure ripple pattern. If you don't know where the ripples are, then you need to do Fourier filtering. Lucky for you I already have a canned demo ready to go. It's attached below the image it creates.
  4 Comments
Image Analyst
Image Analyst on 15 Apr 2017
Right. Easily adapted. Feel free to take the code and adapt it to both the magnitude and phase images.
Additive periodic noise will have peaks/spikes in the Fourier domain just like the multiplicative noise. Just find those spikes and zero them out. Should be easy. Let me know if you can't figure it out. Otherwise if we're done then maybe you can "Accept this answer."

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!