Surface Plots and FFT processing

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
pmar
Posts: 2
Joined: 2011-09-06T03:42:16-07:00
Authentication code: 8675308

Surface Plots and FFT processing

Post by pmar »

Hello there,

I'd like to use imagemagick for my radar and signal processing classes, particularly its FFT functionality. I am going through the documentation and examples on imagemagick & FFTs, and everything works great.

However, I came across an alternative web-page on FFTs, that seems to be an older version of whats currently on the main site. And, I'd also like to be able to produce surface plots, given there, here's the link to an example of the plots I am thinking about: link.

Could be that I am missing something, and I know that I am referencing to the links outside the main imagemagick site, but I'd appreciate if someone could give a quick pointer, on how those surface plots are being created.

Thanks a lot & Cheers,
Petar
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Surface Plots and FFT processing

Post by fmw42 »

The two FFT documentation pages were written first by me when I first helped develop the FFT tools in IM (see link below) and then Anthony modified it for his use on his Examples pages. There are some difference in what is emphasized in each, so it might be good to review both. At some point, I need to update my page as there are now easier ways to generate the jinc function that is used for lens defocus as it has been added directly to -fx, since I wrote my own script to compute it.

In my version, I made 3D plots using some tools in ImageJ. see http://rsbweb.nih.gov/ij/ and its plugins. The FFT examples were done in IM.
pmar
Posts: 2
Joined: 2011-09-06T03:42:16-07:00
Authentication code: 8675308

Re: Surface Plots and FFT processing

Post by pmar »

Thanks #1: just tried ImageJ , it works...

Thanks #2: for a great tutorial like document on ImageMagick vs FFTs.

Cheers,
\p
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Surface Plots and FFT processing

Post by anthony »

Essentially Fred's version concentrates on mathematical meanings of the FFT processing. While I tried to concentrate on the specific image processing aspects, through there is a lot of overlap.

I also have a sub-page on various attempts to do multiplication and division of FFT images using both non-HDRI, and HDRI (floating point) versions of IM, using the magnatude/phase verses complex number image pairs of the FFT forms, and using either slow FX, or faster but more steps using image composition.

Eventually these extra functions (FFT math) should be available as -fourier methods, but it is getting a programmer with time and interest to go in and work on them that has so far prevented it.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply