<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Hi</DIV>
<DIV> </DIV>
<DIV>I tried already with otsu method but it gives me outer region of object
because there is large area of white pixels and only small area of this black
defects.</DIV>
<DIV> </DIV>
<DIV>Any suggestion for the change in otsu method to ignore white area ?</DIV>
<DIV> </DIV>
<DIV>Alex</DIV>
<DIV><BR> </DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=sergio.vera@alma3d.com
href="mailto:sergio.vera@alma3d.com">Sergio Vera</A> </DIV>
<DIV><B>Sent:</B> Tuesday, January 10, 2012 7:02 PM</DIV>
<DIV><B>To:</B> <A title=alexdowson@hotmail.com
href="mailto:alexdowson@hotmail.com">alex Dowson</A> </DIV>
<DIV><B>Cc:</B> <A title=Insight-users@itk.org
href="mailto:Insight-users@itk.org">itk</A> ; <A title=luis.ibanez@kitware.com
href="mailto:luis.ibanez@kitware.com">Luis Ibanez</A> </DIV>
<DIV><B>Subject:</B> Re: [Insight-users] Segmentation question</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<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> </DIV>
<DIV>It should be pretty straightforward, looking at that image.</DIV>
<DIV> </DIV>
<DIV>Best regards<BR><BR>
<DIV class=gmail_quote>On Tue, Jan 10, 2012 at 1:49 PM, alex Dowson <SPAN
dir=ltr><<A
href="mailto:alexdowson@hotmail.com">alexdowson@hotmail.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; FONT-SIZE: 12pt">
<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> </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></DIV></DIV></DIV></BODY></HTML>