MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by Hamid MF
on 8 Dec 2012

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 frequency something 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

*No products are associated with this question.*

Answer by 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.

## 0 Comments