[Insight-users] Problem with FFTWRealToComplexConjugateImageFilter

闻铮 rexwolf at live.cn
Fri Feb 26 14:26:21 EST 2010


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>        with2>        [2>            TPixel=InputPixelType2>        ]2>        .\IdealFiltering.cxx(139) : see reference to class template instantiation 'itk::FFTWRealToComplexConjugateImageFilter<TPixel,VDimension>' being compiled2>        with2>        [2>            TPixel=InputPixelType,2>            VDimension=22>        ]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-int2>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-int2>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>        with2>        [2>            TPixel=InputPixelType2>        ]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-int2>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-int2>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 inputpixeltype, but doesn't make a difference. Could you point out where is the problem?thx a lot. 		 	   		  
_________________________________________________________________
您的电子邮件和更灵活的即时通信。免费获取 Windows Live Hotmail。
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100227/da185c57/attachment.htm>


More information about the Insight-users mailing list