[Insight-users] Issue With VED Filter
Ky Qr
ky.qr48 at yahoo.com
Fri Mar 9 13:35:56 EST 2012
Hi,
I've been attempting to use the VED filter implemented here: http://www.insight-journal.org/browse/publication/163 with ITKv4 but have been having trouble getting it to compile and was wondering if anyone could help me out.
Running the provided example code, I get the following errors:
3>c:\VED\itkAnisotropicDiffusionVesselEnhancementImageFilter.h(61): error C2259: 'itk::AnisotropicDiffusionVesselEnhancementImageFilter<TInputImage,TOutputImage>' : cannot instantiate abstract class
3> with
3> [
3> TInputImage=InputImageType,
3> TOutputImage=OutputImageType
3> ]
3> due to following members:
3> 'void itk::FiniteDifferenceImageFilter<TInputImage,TOutputImage>::ApplyUpdate(const double &)' : is abstract
3> with
3> [
3> TInputImage=InputImageType,
3> TOutputImage=OutputImageType
3> ]
3> d:\itk\insighttoolkit-4.0.0\modules\core\finitedifference\include\itkFiniteDifferenceImageFilter.h(239) : see declaration of 'itk::FiniteDifferenceImageFilter<TInputImage,TOutputImage>::ApplyUpdate'
3> with
3> [
3> TInputImage=InputImageType,
3> TOutputImage=OutputImageType
3> ]
3> c:\VED\itkAnisotropicDiffusionVesselEnhancementImageFilter.h(61) : while compiling class template member function 'itk::SmartPointer<TObjectType> itk::AnisotropicDiffusionVesselEnhancementImageFilter<TInputImage,TOutputImage>::New(void)'
3> with
3> [
3> TObjectType=itk::AnisotropicDiffusionVesselEnhancementImageFilter<InputImageType,OutputImageType>,
3> TInputImage=InputImageType,
3> TOutputImage=OutputImageType
3> ]
3> c:\VED\itkAnisotropicDiffusionVesselEnhancementImageFilterTest.cxx(69) : see reference to class template instantiation 'itk::AnisotropicDiffusionVesselEnhancementImageFilter<TInputImage,TOutputImage>' being compiled
3> with
3> [
3> TInputImage=InputImageType,
3> TOutputImage=OutputImageType
3> ]
3>
3>Build FAILED.
Regards,
Ky
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120309/9e68f73c/attachment.htm>
More information about the Insight-users
mailing list