GRMERGENODECLUSTERS Merge cluster of connected nodes in a graph. grMergeNodeClusters(nodes, edges) Detects groups of nodes that belongs to the same global node, and replace them by a unique node. Coordinates of reference node is given by the median coordinates of cluster nodes. This function is intended to be used as filter after a binary image skeletonization and vectorization. See Also grMergeNodesMedian
Package: matgeom