[Insight-users] Casting an itk::VectorImage?

David Doria daviddoria at gmail.com
Mon Jun 20 20:11:08 EDT 2011


I saw VectorCastImageFilter, but it seems like it only casts
itk::Image<itk::Vector<type, dim>, imageDim> to a different 'type'. Is
there a way to cast an itk::VectorImage<float, 2> to an
itk::VectorImage<unsigned char, 2> ?

This doesn't work because VariableLengthVector doesn't have a
::Dimension property:
http://vtk.org/Wiki/ITK/Examples/WishList/VectorImages/VectorCastImageFilter

Thanks,

David


More information about the Insight-users mailing list