[Insight-users] counting blobs of a binary image

Karthik Krishnan karthik.krishnan at kitware.com
Mon May 24 04:17:45 EDT 2010


On Mon, May 24, 2010 at 1:25 PM, Jenya Burstein <taijinian at gmail.com> wrote:

> Hello,
>
> Please forgive me for asking very basic questions. I am very new to ITK.
> What is the prescribed way of counting number of blobs of a binary image.
>

itk::ConnectedComponentFilter  -> GetObjectCount



> Also, what is the best way to create another image that consists of blob
> boundary outlines?
>

Simply subtract an erosion of the image (with an omni-directional
structuring element) from the image itself.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100524/05610279/attachment.htm>


More information about the Insight-users mailing list