<div>Look for otsu method. </div><a href="http://www.itk.org/Doxygen/html/classitk_1_1OtsuThresholdImageFilter.html">http://www.itk.org/Doxygen/html/classitk_1_1OtsuThresholdImageFilter.html</a> <div>or its cousin</div><div>
<a href="http://www.itk.org/Doxygen/html/classitk_1_1OtsuMultipleThresholdsCalculator.html">http://www.itk.org/Doxygen/html/classitk_1_1OtsuMultipleThresholdsCalculator.html</a> </div><div><br></div><div>It should be pretty straightforward, looking at that image.</div>
<div><br></div><div>Best regards<br><br><div class="gmail_quote">On Tue, Jan 10, 2012 at 1:49 PM, alex Dowson <span dir="ltr">&lt;<a href="mailto:alexdowson@hotmail.com">alexdowson@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">
<div dir="ltr">
<div style="font-size:12pt;font-family:&#39;Calibri&#39;">
<div>Hi</div>
<div> </div>
<div>I am doing MicroCT application using ITK.  I want detecting defects in 
material with automatic threshold. Please check attached image that I shown two 
defects in materials.</div>
<div> </div>
<div>My question is using which filters I can detect this defects ?  I 
tried with LabelImage but it need threshold as input. I want to do automatic 
segmentation of this defects.</div>
<div> </div>
<div> </div>
<div>Any help will be appreciated ...</div><span class="HOEnZb"><font color="#888888">
<div> </div>
<div> </div>
<div>Alex</div>
<div> </div></font></span></div></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><br clear="all"><div><br></div>-- <br>Sergio Vera<br><br> Alma IT Systems<br> C/ Vilana, 4B, 4º 1ª<br> 08022 Barcelona<br> T. (+34) 932 380 592<br> <a href="http://www.alma3d.com">www.alma3d.com</a><br>

</div>