[ITK] [ITK-users] 1D Complex To Complex FFT of a 2D Image

Johnson, Hans J hans-johnson at uiowa.edu
Fri May 23 07:57:27 EDT 2014


Matt,

Can this be made into a remote module and placed on github?

Hans


On 5/23/14, 1:07 AM, "Matt McCormick" <matt.mccormick at kitware.com> wrote:

>PS. An updated version for ITKv4:
>
>
>https://gitorious.org/ultrasound-b-mode/itk-fft-extensions/source/be706d58
>a19dd3ef35ff2681f9ea18f0e310c32e:
>
>On Wed, May 7, 2014 at 4:55 PM, Matt McCormick
><matt.mccormick at kitware.com> wrote:
>> Hi David,
>>
>> These filters have been implemented in the following Insight Journal
>> article [1][2].  See the classes in Submodule/itk-fft-extensions/Code/
>>
>> Hope this helps,
>> Matt
>>
>> [1] http://hdl.handle.net/10380/3159
>> [2] http://insight-journal.org/browse/publication/722
>>
>> On Tue, May 6, 2014 at 11:42 AM, DVigneault <davis.vigneault at gmail.com>
>>wrote:
>>> All--
>>>
>>> Sorry for the multiple e-mails--I've changed approach from my last
>>>post, and
>>> wanted to send updated code before anyone spent time looking through
>>>the
>>> last one.  I'm using the itkFFTWComplexToComplexImageFilter header
>>>files as
>>> a starting point.  I copied them into a local directory and am editing
>>>them
>>> directly.  To summarize:
>>>
>>> 1.  Use line iterator to copy one row into a std::complex<double>
>>>array.
>>> 2.  Convert to FFTW's input form using FFTW's
>>> reinterpret_cast<fftw_complex*>() function
>>> 3.  Create the 1d plan
>>> 4.  Execute the plan
>>> 5.  Use linear iterator to copy into the output image
>>> 6.  Destroy the plan
>>> 7.  Repeat for the next row
>>>
>>> This is giving me a Segmentation Fault on step 4 (when I execute the
>>>plan).
>>> Any ideas where I might be going wrong?
>>>
>>> Best, and thanks,
>>>
>>> --Davis
>>>
>>> itkFFTWComplexToComplexImageFilter.h
>>>
>>><http://itk-users.7.n7.nabble.com/file/n33871/itkFFTWComplexToComplexIma
>>>geFilter.h>
>>> itkFFTWComplexToComplexImageFilter.hxx
>>>
>>><http://itk-users.7.n7.nabble.com/file/n33871/itkFFTWComplexToComplexIma
>>>geFilter.hxx>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>>http://itk-users.7.n7.nabble.com/ITK-users-1D-Complex-To-Complex-FFT-of-
>>>a-2D-Image-tp33868p33871.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
>_____________________________________
>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



________________________________
Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged.  If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited.  Please reply to the sender that you have received the message in error, then delete it.  Thank you.
________________________________
_____________________________________
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