How can I set low-pass filter ( frequency range ) for an image ?

1 view (last 30 days)
Hi guys
  • How can I design low-pass filter ( frequency range ) for an image with this option ?
  • Item one
  • my image class is uint8 ( for example 256*256 )I have to implement function to get frequency from user and the function should be ignoring frequency that bigger than the frequencysomething like that ignrImFreq(im,Freq)this function must be ignore the image frequency bigger than Freq
  • Are there any function to doing this?
  • if there is one would you explain the parameters ...thx all of you

Answers (1)

Walter Roberson
Walter Roberson on 8 Dec 2012
There is no function for it.
There is more than one way you can handle this. One way is to fft2() the image, zero the frequency components that are above the given frequency, ifft2() back. You will also want to convert the output back to uint8() afterwards.

Community Treasure Hunt

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

Start Hunting!