Impulse response of a filter

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

Impulse response of a filter

Post by NicolasRobidoux »

It is easy to plot a filter function:
http://imagemagick.org/discourse-server ... 007#p79378
Is it as easy to plot (slices of) the impulse response (that is, what one gets by enlarging "a lot" an image which has one pixel equal to 1 and all the others equal to 0), without clipping?

When the filter defines a partition of unity, there is no difference between the two plots (at least in 1D). But not otherwise.

In 2D, a coutour plot with labeled levels would do. Or else, slices with gnuplot.

(This is something I could figure out myself I'm pretty sure, but if someone knows, I'd rather not reinvent the wheel.)
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Impulse response of a filter

Post by fmw42 »

Nicolas,

Have you tried using ImageJ at http://rsbweb.nih.gov/ij/? It has a nice 3D plot graphing routine. Not sure, it may be a plugin, so also see http://rsb.info.nih.gov/ij/plugins/


For example see my graphs at http://www.fmwconcepts.com/imagemagick/ ... tml#im_fft or http://www.fmwconcepts.com/imagemagick/ ... mcrosscorr

Fred
Post Reply