[ITK Community] [Insight-users] Obtaining Real Result from Inverse Fourier Transform

DVigneault davis.vigneault at gmail.com
Fri Nov 22 15:09:36 EST 2013


It now compiles without errors, but I get "Segmentation Fault: 11" when
running the program.

I've been assuming that this module is on since it didn't complain when I
added the header.  Is this assumption safe?  If not, then to turn the Review
module on, do I rebuild all of ITK?

Here's the updated code:

    typedef itk::FFTComplexToComplexImageFilter< ComplexImageType >
FFTInverseFilterType;
    FFTInverseFilterType::Pointer fftInverseFilter =
FFTInverseFilterType::New();
    fftInverseFilter->SetInput( maskedShiftFilter->GetOutput() );
    fftInverseFilter->SetTransformDirection( FFTInverseFilterType::INVERSE
);
    
    try
    {
        fftInverseFilter->Update();
        std::cerr << "fftInverseFilter->Update() excecuted successfully." <<
std::endl;
    }
    catch( itk::ExceptionObject & excp )
    {
        std::cerr << "Error during fftInverseFilter->Update(): " <<
std::endl;
        std::cerr << excp << std::endl;
        return EXIT_FAILURE;
    }



--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/Obtaining-Real-Result-from-Inverse-Fourier-Transform-tp7584430p7584437.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users



More information about the Community mailing list