<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi, <br><br>&nbsp; I have a question -<br><br>&nbsp; I have some images including a object, and there are some defects at the edge of the object, the object is bright and the defect is dark, and the background is also dark.&nbsp; if I use threshold approach the dark defect touching the edge of the object will be classified as background, is there any existing ITK filters can be used here to identify those defects? <br><br>&nbsp; Thanks.<br><br>Suyang<br></td></tr></table><br>