[ITK] [ITK-users] Using FFTW o

Ricky Singla rsingla92 at gmail.com
Tue May 6 17:08:33 EDT 2014


Replying to my own post -

I realized that the options "ITK_USE_FFTWF"/"ITK_USE_FFTWD" and
"ITK_USE_SYSTEM_FFTW" were not mutually exclusive and that if "USE_SYSTEM"
is set, then one of the others must be.

This however does bring up three configuration options of which I'm not
sure how to fill out.

These are:
1) FFTWF_LIB - a path to a library
2) FFTWF_THREADS_LIB - a path to a library
3) FFTW_INCLUDE_PATH - a path to a file.

I understand that the first two options differ in that one is for
single-threaded library and the other is for a multi-threaded library (my
assumption anyways). The last seems like it should point to a header file.

I think (and am currently generating and building ITK to confirm) that
these should be something along the lines of:
1) \path\to\libfftw3f-f.lib
2) \path\to\\path\to\libfftw3f-f.lib
3) \path\to\fftw3.h

Does this seem right? Should the *.lib be *.dll?

Ricky Singla
4th Year BASc | Computer Engineering
Research Assistant | UBC Robotics and Control Lab
UBC Orbit | Software Team
rsingla92 [at] gmail [dot] com | 778.926.9475


On Tue, May 6, 2014 at 1:22 PM, Ricky Singla <rsingla92 at gmail.com> wrote:

> Hi there,
>
> I'm attempting to perform a Fast Fourier Transform (FFT)  on an image
> using ITK. For my test data, I am unable to use the ForwardFFTImageFilter,
> which throws an exception on Update(). This exception is in regards to the
> dimension sizes of the image (must be a multiple of 2,3, or 5). Thus I am
> looking to use FFTW.
>
> On my Windows 7 machine, in my ITK cmake configuration, I have set
> ITK_USE_SYSTEM_FFTW to be true. This was because there were error messages
> on setting ITK_USE_FFTWD indicating that for Windows, I must use
> ITK_USE_SYSTEM_FFTW as fftw cannot be built as an external project on
> Windows.
>
> In my VS 2008 project, upon building the solution, I hit an error "FFTW
> 3.3.2 or later is required so that FFTW_WISDOM_ONLY is defined." This
> indicates to me that FFTW was not found.
>
> Searching the ITK mailing list archive, I did not find a clear solution to
> this.
>
> Does anyone know or have a solution for using FFTW in ITK on a Windows
> machine?
>
> Thank you.
>
> Cheers,
> Ricky Singla
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140506/8fd61da3/attachment-0002.html>
-------------- next part --------------
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users


More information about the Community mailing list