[ITK Community] [Insight-users] Obtaining Real Result from Inverse Fourier Transform

Matt McCormick matt.mccormick at kitware.com
Thu Dec 5 02:32:08 EST 2013


Hi Davis,

>>
>> error: "FFTW 3.3.2 or later is required so that FFTW_WISDOM_ONLY is
>> defined."
>>
>> I came across something which I *hope* will help to solve the problem.  I
>> noticed that the ITKConfig.cmake file in my ITK build directory has the
>> appropriate settings, but the ITKConfig.cmake file in my
>> /usr/local/lib/cmake/ITK-4.4/ directory does not (exerpts pasted below).
>> Should I be concerned about this, and could this be the cause of my
>> problem?

Yes.

>> If so, how could I fix it?

Re-run cmake configuration in the build directory, double check the
CMake configuration variables, FFTWD_LIB, FFTWD_THREADS_LIB,
FFTWF_LIB, FFTWF_THREADS_LIB, FFTW_INCLUDE_PATH to ensure they are
correct and consistent, rebuild, and re-install.  The install step
will install the ITKConfig.cmake to /usr/local/lib/cmake/ITK-4.4/.

Hope this helps,
Matt

>> Also, if anyone could post a CMakeLists.txt
>> file
>> that they have used to build the above example, it would be greatly
>> appreciated!
>>
>> Build directory:
>>
>> # Add configuration with FFTW
>> set(ITK_USE_FFTWD "ON")
>> set(ITK_USE_FFTWF "OFF")
>> set(ITK_USE_SYSTEM_FFTW "ON")
>> set(ITK_FFTW_INCLUDE_PATH "/usr/local/include")
>> set(ITK_FFTW_LIBDIR "/usr/local/lib")
>>
>> /usr/local/lib/cmake/ITK-4.4/:
>>
>> # Add configuration with FFTW
>> set(ITK_USE_FFTWD "OFF")
>> set(ITK_USE_FFTWF "OFF")
>> set(ITK_USE_SYSTEM_FFTW "OFF")
>> set(ITK_FFTW_INCLUDE_PATH
>> "${ITK_INSTALL_PREFIX}/include/ITK-4.4/Algorithms")
>> set(ITK_FFTW_LIBDIR "${ITK_INSTALL_PREFIX}/lib/ITK-4.4")
>>
>>
>> Best, and thanks,
>>
>> --Davis
>>
>>
>>
>> --
>> View this message in context:
>> http://itk-users.7.n7.nabble.com/Obtaining-Real-Result-from-Inverse-Fourier-Transform-tp32814p32898.html
>> Sent from the ITK - Users mailing list archive at Nabble.com.
>> _____________________________________
>> 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
>> _______________________________________________
>> Community mailing list
>> Community at itk.org
>> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>
>
>
>
> --
>
>
> ---------------------------------------------
> Xiaoxiao Liu, Ph.D.
> R & D Engineer
> Kitware Inc.
> Clifton Park, NY
> Phone: (518) 881-4924  or  (518) 371-3971 x124
>
>
>
> _____________________________________
> 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
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>
_____________________________________
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