[Insight-users] Casting an itk::VectorImage?
Bradley Lowekamp
blowekamp at mail.nih.gov
Mon Jun 20 22:17:04 EDT 2011
Hello David,
A regular CastImageFilter should do the trick for this case.
Brad
On Jun 20, 2011, at 8:11 PM, David Doria wrote:
> 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
> _____________________________________
> 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
More information about the Insight-users
mailing list