[ITK] Distances of objects in LabelMap
Girish Mallya Udupi
indianzeppelin at gmail.com
Mon Sep 1 09:59:13 EDT 2014
Did you look into LabelGeometryImageFilter? You could get the centroids of
the objects using that, and then use some nearest-neighbor searching
algorithm for each centroid.
On Mon, Sep 1, 2014 at 2:38 PM, Michael Meuli <michael.meuli at gmail.com>
wrote:
> I have objects in a LabelMap (having used BinaryImageToLabelMapFilter).
> How do I best get the distance to the closest neighbouring object for
> each of these objects?
> (As I would like to exclude objects if they are too close to each other.)
>
> Best regards and many thanks
> Michael
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
>
--
Regards,
Girish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140901/0c9d2dd9/attachment-0002.html>
More information about the Community
mailing list