Hi all,<br><br>I am trying to use the itkVectorResampleImageFilter.txx with the following image type<br><br>const int Dimension = 3;<br>typedef itk::FixedArray< double, NumberOfContrasts > ArrayPixelType;<br>
typedef itk::Image< ArrayPixelType, Dimension > ArrayImageType;<br><br>and I am getting the following compilation error. <br><br>/usr/local/include/InsightToolkit/BasicFilters/itkVectorResampleImageFilter.txx: In member function ‘void itk::VectorResampleImageFilter<TInputImage, TOutputImage, TInterpolatorPrecisionType>::ThreadedGenerateData(const typename TOutputImage::RegionType&, int) [with TInputImage = itk::Image<itk::FixedArray<double, 3u>, 3u>, TOutputImage = itk::Image<itk::FixedArray<double, 3u>, 3u>, TInterpolatorPrecisionType = double]’:<br>
/home/ferrari/workspace/MIP-PROJECTS/trunk/segmentation/gmm/main.cpp:143: instantiated from here<br>/usr/local/include/InsightToolkit/BasicFilters/itkVectorResampleImageFilter.txx:169: error: ‘GetNumberOfComponents’ is not a member of ‘itk::FixedArray<double, 3u>’<br>
make[2]: *** [segmentation/gmm/CMakeFiles/gmm_classifier.dir/main.cpp.o] Error 1<br>make[1]: *** [segmentation/gmm/CMakeFiles/gmm_classifier.dir/all] Error 2<br>make: *** [all] Error 2<br><br><br>Does anybody has already gotten this error before? Any ideas?<br>
<br>Thank you,<br>Ricardo<br><br>