[Insight-users] ResampleImageFilter for itk::VectorImage?
Cory Quammen
cquammen at cs.unc.edu
Thu Jul 7 15:34:01 EDT 2011
David,
Perhaps you want to add a method GetNumberOfComponents() to
VariableLengthVector and see if it works. If it does, this seems like
a good addition to make.
Thanks,
Cory
On Thu, Jul 7, 2011 at 3:26 PM, David Doria <daviddoria at gmail.com> wrote:
> On Thu, Jul 7, 2011 at 3:16 PM, robert tamburo <robert.tamburo at gmail.com> wrote:
>> Give VectorResampleImageFilter a try. I've successfully
>> used VectorResampleImageFilter for an image of RGB pixels, and RGB pixels
>> are fixed arrays. I suppose that I'm assuming itk::Image<itk::Vector<>> and
>> itk::VectorImage<> are treated the same.
>
> No luck. The problem is:
>
> /home/ddoria/bin/include/ITK-4.0/itkVectorInterpolateImageFunction.h:64:
> error: ‘Dimension’ is not a member of
> ‘itk::VariableLengthVector<double>’
> /home/ddoria/bin/include/ITK-4.0/itkVectorResampleImageFilter.txx:161:
> error: ‘GetNumberOfComponents’ is not a member of
> ‘itk::VariableLengthVector<double>’
>
> Any other suggestions?
> http://www.itk.org/Wiki/ITK/Examples/WishList/VectorImages/VectorImageResampleImageFilter
>
> David
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
--
Cory Quammen
Research Associate
Department of Computer Science
University of North Carolina at Chapel Hill
http://www.cs.unc.edu/~cquammen
More information about the Insight-users
mailing list