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&#39;t.  Look in the Examples section (ITK/Examples in the source tree).  In particular:<div>

<br><div><ul><li>ITK/Examples/Filtering/CastImageFilter.java</li><li>ITK/Examples/Filtering/CastImageFilter.py</li><li>ITK/Examples/Filtering/CastImageFilter.tcl</li><li>ITK/Examples/IO/ImageReadCastWrite.cxx</li></ul><div>

- Wes</div></div><div><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:0 0 0 .8ex;border-left:1px #ccc solid;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>
<br>
-dh<br>
<br>
On Thu, 9 Sep 2010, Albert Sanchez wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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>
<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><br clear="all"><br>-- <br>Wesley D. Turner, Ph.D.<br>Kitware, Inc.<br>Technical Leader<br>28 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4920<br>
</div></div>