<div dir="ltr">Assuming you&#39;ve typedef&#39;ed the filter type to FFTInverseFilterType, then you would write<div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">fftInverseFilter-&gt;</span><span style="font-family:arial,sans-serif;font-size:13px">SetTransformDirection( FFTInverseFilterType::INVERSE );</span></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Cory<br></font><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 22, 2013 at 2:20 PM, DVigneault <span dir="ltr">&lt;<a href="mailto:davis.vigneault@gmail.com" target="_blank">davis.vigneault@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks Cory--I think I&#39;m almost there.  I&#39;ve set up the<br>
FFTComplexToComplexImageFilter, but I can&#39;t figure out how to set the<br>
direction to INVERSE.<br>
<br>
I&#39;m looking at this part of the documentation here:<br>
<br>
<a href="http://www.itk.org/Doxygen/html/classitk_1_1FFTComplexToComplexImageFilter.html#ab9cf29f3a3e0f9ba492da7875d83fd4e" target="_blank">http://www.itk.org/Doxygen/html/classitk_1_1FFTComplexToComplexImageFilter.html#ab9cf29f3a3e0f9ba492da7875d83fd4e</a><br>

<br>
<br>
I&#39;ve tried:<br>
<br>
    fftInverseFilter-&gt;SetTransformDirection( INVERSE );<br>
    fftInverseFilter-&gt;SetTransformDirection( &#39;INVERSE&#39; );<br>
    fftInverseFilter-&gt;SetTransformDirection( &quot;INVERSE&quot; );<br>
<br>
...but I get an error in each case.  Sorry, I&#39;m sure this is very simple,<br>
I&#39;m just quite new to C++ and to ITK.<br>
<br>
Best, and thanks again,<br>
<br>
--Davis<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://itk-insight-users.2283740.n2.nabble.com/Obtaining-Real-Result-from-Inverse-Fourier-Transform-tp7584430p7584434.html" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/Obtaining-Real-Result-from-Inverse-Fourier-Transform-tp7584430p7584434.html</a><br>

<div class="HOEnZb"><div class="h5">Sent from the ITK Insight Users mailing list archive at Nabble.com.<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
_______________________________________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org">Community@itk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/community" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/community</a><br>
</div></div></blockquote></div><br></div>