[Insight-users] converting a float image to a double image
Albert Sanchez
ouferrat at gmail.com
Thu Sep 9 12:15:59 EDT 2010
Thanks Sean for your quick answer,
CastImageFilter works fine.
Albert
On Thu, Sep 9, 2010 at 18:01, Sean Ziegeler
<sean.ziegeler at nrlssc.navy.mil>wrote:
> 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
>>
> _____________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100909/78ab8911/attachment.htm>
More information about the Insight-users
mailing list