<div dir="ltr">Because <span style="font-family:arial,sans-serif;font-size:13px">FFTComplexToComplexImageFilter is defined entirely in a header, you don&#39;t need to recompile ITK.</span><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">FFTComplexToComplexImageFilter is in the Review module which means it is somewhat experimental, so there may be bugs. I don&#39;t know if it has been modified since before ITKv4 came out, so it&#39;s entirely possible that there are bugs.</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Could you run your program in a debugger and see where it is segfaulting? </span><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Cory</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Nov 22, 2013 at 3:09 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">
It now compiles without errors, but I get &quot;Segmentation Fault: 11&quot; when<br>
running the program.<br>
<br>
I&#39;ve been assuming that this module is on since it didn&#39;t complain when I<br>
added the header.  Is this assumption safe?  If not, then to turn the Review<br>
module on, do I rebuild all of ITK?<br>
<br>
Here&#39;s the updated code:<br>
<br>
    typedef itk::FFTComplexToComplexImageFilter&lt; ComplexImageType &gt;<br>
FFTInverseFilterType;<br>
<div class="im">    FFTInverseFilterType::Pointer fftInverseFilter =<br>
FFTInverseFilterType::New();<br>
    fftInverseFilter-&gt;SetInput( maskedShiftFilter-&gt;GetOutput() );<br>
</div><div class="im">    fftInverseFilter-&gt;SetTransformDirection( FFTInverseFilterType::INVERSE<br>
);<br>
<br>
</div><div class="im">    try<br>
    {<br>
        fftInverseFilter-&gt;Update();<br>
        std::cerr &lt;&lt; &quot;fftInverseFilter-&gt;Update() excecuted successfully.&quot; &lt;&lt;<br>
std::endl;<br>
    }<br>
    catch( itk::ExceptionObject &amp; excp )<br>
    {<br>
        std::cerr &lt;&lt; &quot;Error during fftInverseFilter-&gt;Update(): &quot; &lt;&lt;<br>
std::endl;<br>
        std::cerr &lt;&lt; excp &lt;&lt; std::endl;<br>
        return EXIT_FAILURE;<br>
    }<br>
<br>
<br>
<br>
</div>--<br>
View this message in context: <a href="http://itk-insight-users.2283740.n2.nabble.com/Obtaining-Real-Result-from-Inverse-Fourier-Transform-tp7584430p7584437.html" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/Obtaining-Real-Result-from-Inverse-Fourier-Transform-tp7584430p7584437.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>