[Insight-users] converting a float image to a double image
Wes Turner
wes.turner at kitware.com
Thu Sep 9 13:25:48 EDT 2010
This is Doxygen generated descriptions of the algorithm API and description.
It would be nice if it included a pointer to tests/examples, but
unfortunately it doesn't. Look in the Examples section (ITK/Examples in the
source tree). In particular:
- ITK/Examples/Filtering/CastImageFilter.java
- ITK/Examples/Filtering/CastImageFilter.py
- ITK/Examples/Filtering/CastImageFilter.tcl
- ITK/Examples/IO/ImageReadCastWrite.cxx
- Wes
On Thu, Sep 9, 2010 at 12:54 PM, David R. Haynor <haynor at u.washington.edu>wrote:
> hi gang,
>
> one has to be impressed that, in 1077 lines of documentation for this
> filter, there is not a single example.
>
> -dh
>
> On Thu, 9 Sep 2010, Albert Sanchez wrote:
>
> 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
>>
>>
>>
>>
>>
> _____________________________________
> 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
>
>
--
Wesley D. Turner, Ph.D.
Kitware, Inc.
Technical Leader
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4920
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100909/54228c40/attachment.htm>
More information about the Insight-users
mailing list