Impulse response of filter in image processing
4 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
David Young
on 12 Mar 2014
Edited: David Young
on 12 Mar 2014
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 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!