[Insight-users] converting a float image to a double image

Sean Ziegeler sean.ziegeler at nrlssc.navy.mil
Thu Sep 9 12:01:14 EDT 2010


What you want is itk::CastImageFilter , see:
http://www.itk.org/Insight/Doxygen/html/classitk_1_1CastImageFilter.html

-Sean

On 09/09/10 10:57, Albert Sanchez wrote:
> Hi,
>
> How can I convert an itk::Image<float,2> to an itk::Image<double,2> ?
> A cast does not work so I suppose there is a function or something to do
> this, but I could not find it anywhere.
>
> Could you help me?
>
> Thanks a lot!
> Albert
>
>
>
> _____________________________________
> 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