<div dir="ltr">Because <span style="font-family:arial,sans-serif;font-size:13px">FFTComplexToComplexImageFilter is defined entirely in a header, you don'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't know if it has been modified since before ITKv4 came out, so it'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"><<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">
It now compiles without errors, but I get "Segmentation Fault: 11" when<br>
running the program.<br>
<br>
I've been assuming that this module is on since it didn'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's the updated code:<br>
<br>
    typedef itk::FFTComplexToComplexImageFilter< ComplexImageType ><br>
FFTInverseFilterType;<br>
<div class="im">    FFTInverseFilterType::Pointer fftInverseFilter =<br>
FFTInverseFilterType::New();<br>
    fftInverseFilter->SetInput( maskedShiftFilter->GetOutput() );<br>
</div><div class="im">    fftInverseFilter->SetTransformDirection( FFTInverseFilterType::INVERSE<br>
);<br>
<br>
</div><div class="im">    try<br>
    {<br>
        fftInverseFilter->Update();<br>
        std::cerr << "fftInverseFilter->Update() excecuted successfully." <<<br>
std::endl;<br>
    }<br>
    catch( itk::ExceptionObject & excp )<br>
    {<br>
        std::cerr << "Error during fftInverseFilter->Update(): " <<<br>
std::endl;<br>
        std::cerr << excp << 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>