How to use lpfilter for filtering in frequency domain of an image?
显示 更早的评论
I used the following codes f=imread('phalenges.jpg'); [M,N]=size(f); sig=10; F=fft2(f); H=lpfilter('gaussian',[M,N],'sig'); G=H.*F; g=real(ifft2(G)); imshow(g,[])
But following error message was displayed
??? Undefined function or method 'lpfilter' for input arguments of type 'char'.
回答(1 个)
serwan Bamerni
2015-5-2
0 个投票
you should download the lpfilter.m file from internet and put it your work directory to be able to use this function
类别
在 帮助中心 和 File Exchange 中查找有关 Images 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!