[Insight-users] Problem with FFTWRealToComplexConjugateImageFilter

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Sat Feb 27 08:08:43 EST 2010


hmm, maybe you didn't set USE_FFTWF to ON while building ITK?
I really don't know, I'm just thinking aloud here.

Gaëtan


Le 27 févr. 10 à 05:55, zheng wen a écrit :

> I'm using float
>
> 2010/2/27 Gaëtan Lehmann <gaetan.lehmann at jouy.inra.fr>
>
> Le 26 févr. 10 à 20:26, 闻铮 a écrit :
>
> hi,
>  I took your advice, using the fftw instead. But the program can not  
> compile, the following is the error display:
>
> c:\program files\insighttoolkit-3.16.0\code\algorithms 
> \itkFFTWRealToComplexConjugateImageFilter.h(88) : error C2039:  
> 'PlanType' : is not a member of 'itk::fftw::Proxy<TPixel>'
> 2>        with
> 2>        [
> 2>            TPixel=InputPixelType
> 2>        ]
> 2>        .\IdealFiltering.cxx(139) : see reference to class  
> template instantiation  
> 'itk::FFTWRealToComplexConjugateImageFilter<TPixel,VDimension>'  
> being compiled
> 2>        with
> 2>        [
> 2>            TPixel=InputPixelType,
> 2>           &n bsp;VDimension=2
> 2>        ]
> 2>c:\program files\insighttoolkit-3.16.0\code\algorithms 
> \itkFFTWRealToComplexConjugateImageFilter.h(88) : error C2146:  
> syntax error : missing ';' before identifier 'm_Plan'
> 2>c:\program files\insighttoolkit-3.16.0\code\algorithms 
> \itkFFTWRealToComplexConjugateImageFilter.h(88) : error C4430:  
> missing type specifier - int assumed. Note: C++ does not support  
> default-int
> 2>c:\program files\insighttoolkit-3.16.0\code\algorithms 
> \itkFFTWRealToComplexConjugateImageFilter.h(88) : error C4430:  
> missing type specifier - int assumed. Note: C++ does not support  
> default-int
> 2>c:\program files\insighttoolkit-3.16.0\code\algorithms 
> \itkFFTWRealToComplexConjugateImageFilter.h(92) : error C2039:  
> 'ComplexType' : is not a member of 'itk::fftw::Proxy<TPixel>'
> 2>        with
> 2>        [
> 2>            TPixel=InputPixelType
> 2>        ]
> 2>c:\program files\insighttoolkit-3.16.0\code\algorithms 
> \itkFFTWRealToComplexConjugateImageFilter.h(92) : error C2143:  
> syntax error : missing ';' before '*'
> 2>c:\program files\insighttoolkit-3.16.0\code\algorithms 
> \itkFFTWRealToComplexConjugateImageFilter.h(92) : error C4430:  
> missing type specifier - int assumed. Note: C++ does not support  
> default-int
> 2>c:\program files\insighttoolkit-3.16.0\code\algorithms 
> \itkFFTWRealToComplexConjugateImageFilter.h(92) : error C4430:  
> missing type specifier - int assumed. Note: C++ does not support  
> default-int
> 2>Build log was saved at "file://c:\Users\wenzheng\Desktop\ideal  
> filter\IdealFiltering.dir\Debug\BuildLog.htm"
> 2>IdealFiltering - 8 error(s), 0 warning(s)
>
> Looks like the error happens inside fftw, some kind of type problem.  
> I try to change the inputpixelty pe, but doesn't make a difference.  
> Could you point out where is the problem?
> thx a lot.
>
>
> What is the pixel type?
> Only float and double are supported.
>
> Gaëtan
>
> -- 
> Gaëtan Lehmann
> Biologie du Développement et de la Reproduction
> INRA de Jouy-en-Josas (France)
> tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
> http://voxel.jouy.inra.fr  http://www.itk.org
> http://www.mandriva.org  http://www.bepo.fr
>
>

-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr  http://www.itk.org
http://www.mandriva.org  http://www.bepo.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100227/b5f73883/attachment-0001.pgp>


More information about the Insight-users mailing list