[Insight-users] [ITK Community] 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.


More information about the Insight-users mailing list