<div dir="ltr">Assuming you've typedef'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-></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"><<a href="mailto:davis.vigneault@gmail.com" target="_blank">davis.vigneault@gmail.com</a>></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'm almost there.  I've set up the<br>
FFTComplexToComplexImageFilter, but I can't figure out how to set the<br>
direction to INVERSE.<br>
<br>
I'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've tried:<br>
<br>
    fftInverseFilter->SetTransformDirection( INVERSE );<br>
    fftInverseFilter->SetTransformDirection( 'INVERSE' );<br>
    fftInverseFilter->SetTransformDirection( "INVERSE" );<br>
<br>
...but I get an error in each case.  Sorry, I'm sure this is very simple,<br>
I'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>