[Insight-users] error in structuretensorimagefilter

barbababa tonimuusimaki at gmail.com
Sat Mar 24 15:16:14 EDT 2012




Hello,
i am trying to build this 

http://www.midasjournal.org/browse/publication/848

with VS6 win32 release mode, but i got some errors. Any help here would be
nice!


in itkStructureTensorImageFilter.h 

typedef typename          GradientImageType::Pointer    
GradientImagePointer;
GradientImagePointer GetSmoothGradient(void);



and in  itkStructureTensorImageFilter.txx 

template <typename TInputImage, typename TOutputImage, typename
TOutputImage2 >
typename TOutputImage2::Pointer 
StructureTensorImageFilter<TInputImage,TOutputImage,TOutputImage2>
::GetSmoothGradient()
{
  return dynamic_cast< GradientImageType * >(
    this->ProcessObject::GetOutput(1) );
}


this gives me error:

c:\Program Files\Gatan\cmake\itkStructureTensorImageFilter.txx(148): error
C2244:
'itk::StructureTensorImageFilter<TInputImage,TOutputImage,TOutputImage2>::GetSmoothGradient'
: unable to match function definition to an existing declaration

c:\Program Files\Gatan\cmake\itkStructureTensorImageFilter.txx(150): error
C2954: template definitions cannot nest

-- 
View this message in context: http://old.nabble.com/error-in-structuretensorimagefilter-tp33544688p33544688.html
Sent from the ITK - Users mailing list archive at Nabble.com.



More information about the Insight-users mailing list