<DIV>
<DIV>Hi, Luis,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks a lot for your detailed answer. I'll try the HoleFillingVoting filter. Take care!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards,</DIV>
<DIV>Jay<BR><BR><B><I>Luis Ibanez &lt;luis.ibanez@kitware.com&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><BR>Hi Jay,<BR><BR>Thanks for posting the screenshots of your volumes.<BR><BR>The holes that you are dealing with, seem to be a<BR>good target for the Voting filters.<BR><BR>In particular for the HoleFillingVoting filter<BR><BR>(1)<BR>http://www.itk.org/Insight/Doxygen/html/classitk_1_1VotingBinaryHoleFillingImageFilter.html<BR><BR>and its iterative version<BR><BR>(2)<BR>http://www.itk.org/Insight/Doxygen/html/classitk_1_1VotingBinaryIterativeHoleFillingImageFilter.html<BR><BR><BR>You may want to try (1) first and see its effect<BR>when you run it over an over your image. The filter<BR>convert background pixels into foreground pixels<BR>when they have a number of foreground neigbors over<BR>a certain value. If that's effective, then you may<BR>try to use (2). Note that concavities are quite<BR>similar to holes, as far as this filter is concerned.<BR>Therefore you may also fill-in some
 of the indentation<BR>in the anatomical structure.<BR><BR><BR>These filters are N-Dimensional, so you don't have<BR>any trouble applying them in 3D.<BR><BR>You will find examples in<BR><BR>Insight/Examples/Filtering<BR><BR><BR>You could also use the filter in a negated image in<BR>order to get rid of the isolated noise that is around<BR>the body (pretty much like a mathematical morphology<BR>erosion. Note that Mathematical Morphology is actually<BR>a particular case of voting filters).<BR><BR><BR><BR>Regards,<BR><BR><BR>Luis<BR><BR><BR><BR><BR>-----------------------------<BR>Jay Li wrote:<BR><BR>&gt; Hi, Luis,<BR>&gt; <BR>&gt; Attached is a set of demo pictures I got from the screen shot.<BR>....<BR>snip<BR>....<BR>&gt; <BR>&gt; Demo1 is an OK scan, although we have many holes above the butt at the <BR>&gt; back. Demo2 is a bad scan, since we lost too much information at front <BR>&gt; of the waist. I'm thinking to use a 3-D approach to approximate the <BR>&gt; waist region. Could
 you please give me any hint? Any opinions will be <BR>&gt; highly appreciated. Thanks again. Have a nice day.<BR>&gt; <BR>&gt; Regards,<BR>&gt; Jay<BR>&gt; <BR><BR><BR><BR></BLOCKQUOTE></DIV><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com