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

Cory Quammen cory.quammen at kitware.com
Fri Nov 22 14:39:44 EST 2013


Assuming you've typedef'ed the filter type to FFTInverseFilterType, then
you would write

fftInverseFilter->SetTransformDirection( FFTInverseFilterType::INVERSE );

Cory




On Fri, Nov 22, 2013 at 2:20 PM, DVigneault <davis.vigneault at gmail.com>wrote:

> Thanks Cory--I think I'm almost there.  I've set up the
> FFTComplexToComplexImageFilter, but I can't figure out how to set the
> direction to INVERSE.
>
> I'm looking at this part of the documentation here:
>
>
> http://www.itk.org/Doxygen/html/classitk_1_1FFTComplexToComplexImageFilter.html#ab9cf29f3a3e0f9ba492da7875d83fd4e
>
>
> I've tried:
>
>     fftInverseFilter->SetTransformDirection( INVERSE );
>     fftInverseFilter->SetTransformDirection( 'INVERSE' );
>     fftInverseFilter->SetTransformDirection( "INVERSE" );
>
> ...but I get an error in each case.  Sorry, I'm sure this is very simple,
> I'm just quite new to C++ and to ITK.
>
> Best, and thanks again,
>
> --Davis
>
>
>
> --
> View this message in context:
> http://itk-insight-users.2283740.n2.nabble.com/Obtaining-Real-Result-from-Inverse-Fourier-Transform-tp7584430p7584434.html
> Sent from the ITK Insight 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20131122/5c205586/attachment.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