[ITK Community] Difference between itk::BinaryImageToLabelMapFilter and itk::ConnectedComponentImageFilter

Matt McCormick matt.mccormick at kitware.com
Thu Feb 20 07:51:28 EST 2014


Hi Ruturaj,

BinaryImageToLabelMapFilter returns a LabelMap [1], which is a special
data structure.  If the LabelGeometryImageFilter is desired, then the
ConnectedComponentImageFilter may be more desirable to avoid the use
of the LabelMapToLabeImageFilter.

HTH,
Matt

[1] http://www.itk.org/Doxygen/html/classitk_1_1LabelMap.html

On Thu, Feb 20, 2014 at 12:52 AM, Girish, Gavaskar Ruturaj
<gavaskar.ruturaj.girish at philips.com> wrote:
> Dear all,
>
>
>
> Someone please explain me the difference between
> itk::ConnectedComponentImageFilter and itk::BinaryImageToLabelMapFilter. I
> saw the description, and could not understand the difference.
>
>
>
> Also, which of these should I use if I want to further make use of itk::
> LabelGeometryImageFilter to measure geometric properties of objects in a
> binary image?
>
>
>
> Thanks.
>
>
>
> Regards
>
> Ruturaj
>
>
>
>
> ________________________________
> The information contained in this message may be confidential and legally
> protected under applicable law. The message is intended solely for the
> addressee(s). If you are not the intended recipient, you are hereby notified
> that any use, forwarding, dissemination, or reproduction of this message is
> strictly prohibited and may be unlawful. If you are not the intended
> recipient, please contact the sender by return e-mail and destroy all copies
> of the original message.
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>



More information about the Community mailing list