[Insight-users] problems using itkVectorResampleImageFilter

Yogesh Rathi yogesh.rathi at gmail.com
Wed Sep 12 11:18:07 EDT 2007


Anybody noticed compilation problems when using itkVectorResampleImageFilter
?

I am getting the following errors when I use this filter:

itkVectorInterpolateImageFunction.h:35: error: 'Dimension' is not a member
of 'itk::VariableLengthVector<float>'

error: no matching function for call to
'itk::VectorResampleImageFilter<itk::VectorImage<float, 3u>,
itk::VectorImage<float, 3u>,
double>::SetTransform(itk::SmartPointer<itk::CenteredAffineTransform<float,
3u> >&)'

itkVectorResampleImageFilter.h:120: note: candidates are: void
itk::VectorResampleImageFilter<TInputImage, TOutputImage,
TInterpolatorPrecisionType>::SetTransform(const
itk::Transform<TInterpolatorPrecisionType,
itk::VectorResampleImageFilter<TInputImage,TOutputImage,TInterpolatorPrecisionType>::ImageDimension,
itk::VectorResampleImageFilter<TInputImage,TOutputImage,TInterpolatorPrecisionType>::ImageDimension>*)
[with TInputImage = itk::VectorImage<float, 3u>, TOutputImage =
itk::VectorImage<float, 3u>, TInterpolatorPrecisionType = double]

itkVectorResampleImageFilter.txx:175: error: 'GetNumberOfComponents' is not
a member of 'itk::VariableLengthVector<float>'

Thanks in advance,

Yogesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070912/e4fd9179/attachment-0001.htm


More information about the Insight-users mailing list