<div dir="ltr">Could you run these commands and post the output?<div><br></div><div>p fftInverseFilter</div><div>p maskedShiftFilter</div><div><br></div><div>This will print out the values of the fftInverseFilter and maskedShiftFilter pointers and give us a clue where it is going wrong.</div>
<div><br></div><div>Thanks,</div><div>Cory</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 22, 2013 at 4:41 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">Following directions from  this thread<br>
&lt;<a href="http://www.cmake.org/pipermail/cmake/2009-March/027573.html" target="_blank">http://www.cmake.org/pipermail/cmake/2009-March/027573.html</a>&gt;  , I<br>
recompiled as follows:<br>
<br>
$ cmake -DCMAKE_BUILD_TYPE=Debug ../src<br>
$ make<br>
<br>
Then according to  this video &lt;<a href="http://www.youtube.com/watch?v=sCtY--xRUyI" target="_blank">http://www.youtube.com/watch?v=sCtY--xRUyI</a>&gt;<br>
I used the gdb command line tool to step through the code and got this<br>
error:<br>
<br>
Program received signal EXC_BAD_ACCESS, Could not access memory.<br>
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000<br>
0x0000000100015588 in main (argc=3, argv=0x7fff5fbffab8) at<br>
/Users/Davis/Desktop/ITKExamples/00_Pipeline/04_harp/src/FFT.cxx:246<br>
246         fftInverseFilter-&gt;SetInput( maskedShiftFilter-&gt;GetOutput() );<br>
<br>
I hope this is the information you were asking for--if not, please let me<br>
know and I&#39;ll try again.<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-tp7584430p7584442.html" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/Obtaining-Real-Result-from-Inverse-Fourier-Transform-tp7584430p7584442.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>