<br><br>Hi David,<br><br><br>The examples are all collected in the ITK Software Guide.<br><br>         <a href="http://www.itk.org/ItkSoftwareGuide.pdf">http://www.itk.org/ItkSoftwareGuide.pdf</a><br><br><br>We purposely did not collected examples in the Doxygen<br>
documentation, because they were harvested instead for<br>building the ITK Software Guide.<br><br><br>You will find this filter described in Section 6.3:<br><br>            &quot;6.3 Casting and Intensity Mapping&quot;<br>
<br>in pdf-pages 178-181,<br><br><br>    Regards<br><br><br>           Luis<br><br><br><br>-----------------------------------------------------------------------<br><div class="gmail_quote">On Thu, Sep 9, 2010 at 12:54 PM, David R. Haynor <span dir="ltr">&lt;<a href="mailto:haynor@u.washington.edu">haynor@u.washington.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">hi gang,<br>
<br>
one has to be impressed that, in 1077 lines of documentation for this filter, there is not a single example.<br><font color="#888888">
<br>
-dh</font><div><div></div><div class="h5"><br>
<br>
On Thu, 9 Sep 2010, Albert Sanchez wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Thanks Sean for your quick answer,<br>
CastImageFilter works fine.<br>
<br>
Albert<br>
<br>
<br>
On Thu, Sep 9, 2010 at 18:01, Sean Ziegeler &lt;<a href="mailto:sean.ziegeler@nrlssc.navy.mil" target="_blank">sean.ziegeler@nrlssc.navy.mil</a>&gt; wrote:<br>
      What you want is itk::CastImageFilter , see:<br>
      <a href="http://www.itk.org/Insight/Doxygen/html/classitk_1_1CastImageFilter.html" target="_blank">http://www.itk.org/Insight/Doxygen/html/classitk_1_1CastImageFilter.html</a><br>
<br>
      -Sean<br>
<br>
<br>
On 09/09/10 10:57, Albert Sanchez wrote:<br>
Hi,<br>
<br>
How can I convert an itk::Image&lt;float,2&gt; to an itk::Image&lt;double,2&gt; ?<br>
A cast does not work so I suppose there is a function or something to do<br>
this, but I could not find it anywhere.<br>
<br>
Could you help me?<br>
<br>
Thanks a lot!<br>
Albert<br>
<br>
<br>
<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br>
<br>
<br>
<br>
</blockquote>
</div></div><br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br>