--
You received this message because you are subscribed to the Google Groups "scikit-image" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Rather than creating an alternative method, you could always set the threshold to infinity. Won't that work in your case ?
Thanks
Vighnesh
Hi
Using in _ place = False, couldn't you get the entire sequence of merging from the root node ?
--
You received this message because you are subscribed to a topic in the Google Groups "scikit-image" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/scikit-image/rnsVLQ-tFJM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to scikit-image...@googlegroups.com.
You received this message because you are subscribed to the Google Groups "scikit-image" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image...@googlegroups.com.
You received this message because you are subscribed to the Google Groups "scikit-image" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image...@googlegroups.com.
label_map = np.arange(labels.max() + 1)
for l in rag.node[src]['labels'] :
label_map = np.arange(labels.max() + 1)
label_map[:] = 2 # Label the rest of the graph as one region
# Label src as one region
for l in rag.node[src]['labels']:
label_map[l] = 1
for l in rag.node[dst]['labels']:
label_map[l] = 1
seg_list.append(labels[label_map])