<div dir="ltr"><div><div><div>Hi Haibin,<br></div>you may use the itkBinaryThresholdImageFilter.<br><br></div>See if this fits your expectations:<br><a href="http://www.itk.org/Wiki/ITK/Examples/ImageProcessing/BinaryThresholdImageFilter">http://www.itk.org/Wiki/ITK/Examples/ImageProcessing/BinaryThresholdImageFilter</a><br>
<br></div>Kind regards,<br>JON HAITZ<br><br><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 11 April 2013 15:33, Haibin Cai <span dir="ltr"><<a href="mailto:jlcaihaibin@gmail.com" target="_blank">jlcaihaibin@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear itk users,<div> I am wondering whether could I convert an input image to a binary image with the help of ITK. Does anyone know how to do it?</div>
<div>Thanks</div><span class="HOEnZb"><font color="#888888"><div>haibin</div></font></span></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.php" target="_blank">http://www.kitware.com/products/protraining.php</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></div></div>