How to use lpfilter for filtering in frequency domain of an image?
조회 수: 5 (최근 30일)
이전 댓글 표시
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'.
댓글 수: 0
답변 (1개)
serwan Bamerni
2015년 5월 2일
you should download the lpfilter.m file from internet and put it your work directory to be able to use this function
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!