[Insight-users] Problem with FFTWRealToComplexConjugateImageFilter

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Fri Feb 26 16:19:21 EST 2010


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

-------------- 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/20100226/1cd5c67a/attachment-0001.pgp>


More information about the Insight-users mailing list