FFTW is not working correctly

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
ccp

FFTW is not working correctly

Post by ccp »

To get FFTW runing under Windows I followed the instructions from
viewtopic.php?f=4&t=14251#p56836

I did a roundtrip transform to test if everything is working correctly:

C:\>convert ndt.png -fft ndt_fft.png
C:\>convert ndt_fft-0.png ndt_fft-1.png -ift ndt_roundtrip2.png
C:\>compare -metric rmse ndt.png ndt_roundtrip2.png NULL.
390.278 (0.00595527)

But doing the roundtrip in separate steps like above changed the detail structure of the image drastically.

So I found the post from Fred
viewtopic.php?f=3&t=16365&hilit=fftw
and thought I might have the same problem. But, looking with
convert -list configure
at my configuration, I got this
C:\_ImageMagick.SOURCE\ImageMagick-6.6.3\VisualMagick\bin>convert -list configure

Path: [built-in]

Name Value
-------------------------------------------------------------------------------
NAME ImageMagick

Path: C:\_ImageMagick.SOURCE\ImageMagick-6.6.3\VisualMagick\bin\configure.xml

Name Value
-------------------------------------------------------------------------------
CC vs8
CC vs8
COPYRIGHT Copyright (C) 1999-2010 ImageMagick Studio LLC
COPYRIGHT Copyright (C) 1999-2010 ImageMagick Studio LLC
DELEGATES bzlib freetype jpeg jp2 lcms png tiff x11 xml wmf zlib
DELEGATES bzlib freetype jpeg jp2 lcms png tiff x11 xml wmf zlib
HOST windows-unknown-linux-gnu
HOST windows-unknown-linux-gnu
LIB_VERSION 0x663
LIB_VERSION 0x663
LIB_VERSION_NUMBER 6,6,3,10
LIB_VERSION_NUMBER 6,6,3,10
NAME ImageMagick
NAME ImageMagick
RELEASE_DATE 2010-07-15
RELEASE_DATE 2010-07-15
VERSION 6.6.3
VERSION 6.6.3
WEBSITE http://www.imagemagick.org
WEBSITE http://www.imagemagick.org

Path: configure.xml

Name Value
-------------------------------------------------------------------------------
CC vs8
CC vs8
COPYRIGHT Copyright (C) 1999-2010 ImageMagick Studio LLC
COPYRIGHT Copyright (C) 1999-2010 ImageMagick Studio LLC
DELEGATES bzlib freetype jpeg jp2 lcms png tiff x11 xml wmf zlib
DELEGATES bzlib freetype jpeg jp2 lcms png tiff x11 xml wmf zlib
HOST windows-unknown-linux-gnu
HOST windows-unknown-linux-gnu
LIB_VERSION 0x663
LIB_VERSION 0x663
LIB_VERSION_NUMBER 6,6,3,10
LIB_VERSION_NUMBER 6,6,3,10
NAME ImageMagick
NAME ImageMagick
RELEASE_DATE 2010-07-15
RELEASE_DATE 2010-07-15
VERSION 6.6.3
VERSION 6.6.3
WEBSITE http://www.imagemagick.org
WEBSITE http://www.imagemagick.org
So, the output confuses me: multiple lines and even multiple versions of "configure.xml"? Perhaps it helps if someone who knows about "configure.xml" and the "-list configure" mechanism has a clue what is going on here. What I found out: when I manually change the contents of the "configure.xml" file, then the first version under "Path: C:\_ImageMagick.SOURCE\ImageMagick-6.6.3\VisualMagick\bin\configure.xml" will show the edited version (but the other not).

But the real problem for me: why is "fftw" not displayed under DELEGATES ?
FFTW is somehow working, but not correctly. I assume that it has to do with the fact that it is not listed under DELEGATES, but any help to get FFTW correctly running is very appreciated.
Conrad
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: FFTW is not working correctly

Post by fmw42 »

Perhaps you have two versions of the same IM installed in different locations? You might check and then uninstall both of them and FFTW. Then try installing FFTW and then IM again. Then check your delegates. Also are you sure you downloaded the windows version of FFTW?
Post Reply