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

Luis Ibanez luis.ibanez at kitware.com
Sun Sep 12 13:24:31 EDT 2010


Hi David,


The examples are all collected in the ITK Software Guide.

         http://www.itk.org/ItkSoftwareGuide.pdf


We purposely did not collected examples in the Doxygen
documentation, because they were harvested instead for
building the ITK Software Guide.


You will find this filter described in Section 6.3:

            "6.3 Casting and Intensity Mapping"

in pdf-pages 178-181,


    Regards


           Luis



-----------------------------------------------------------------------
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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100912/e370e449/attachment.htm>


More information about the Insight-users mailing list