That's a good idea!<br>I was thinking to use morphological operators: dilate minus erode. But your approach is more precise.<br><br>Mengda<br><br><div class="gmail_quote">2010/4/6 Kishore Mosaliganti <span dir="ltr"><<a href="mailto:kishoreraom@gmail.com">kishoreraom@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">How about computing a distance transform (DannielssonDistanceMapImageFilter) and then thresholding (BinaryThresholdImageFilter) it with user-specified width.<br>
<br>Kishore<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Tue, Apr 6, 2010 at 6:09 PM, Mengda Wu <span dir="ltr"><<a href="mailto:wumengda@gmail.com" target="_blank">wumengda@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">Hi all,<br><br> I am wondering if someone can points me how to get a narrowbanded boundary from some shape represented by a binary image using ITK filters. That<br>
is to get the boundary of that shape with a user-specified width. The output is ideally another binary image.<br>
<br>Thanks,<br><font color="#888888">Mengda<br>
</font><br></div></div>_____________________________________<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>
</blockquote></div><br>