Impulse response of filter in image processing
조회 수: 4 (최근 30일)
이전 댓글 표시
Is it possible to determine the impulse response of filters(low,high,notch etc) in image processing.
I have an image and i have done a high pass filtering on it.How can i determine the impulse response of this filter ???
댓글 수: 0
채택된 답변
David Young
2014년 3월 12일
편집: David Young
2014년 3월 12일
Apply your filter to an impulse and look at the respnse.
Assuming that your filter's spatial size is no greater than 2*d in either dimensions, you can create a delta-function image like this:
testim = zeros(2*d+1, 2*d+1);
testim(d+1, d+1) = 1;
Then apply the filter to testim as you would to any other image, and the output is the impulse response. You can use FFT2 on it if you want the result in the frequency domain.
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!