Doctest Passing

This commit is contained in:
Vighnesh Birodkar
2014-07-03 00:26:22 +05:30
parent e558854dec
commit a4bf278c5b
+2 -2
View File
@@ -29,8 +29,8 @@ def cut_threshold(labels, rag, thresh):
>>> from skimage import data, graph, segmentation
>>> img = data.lena()
>>> labels = segmentation.slic(img)
>>> rag = graph.rag_meancolor(img, labels)
>>> new_labels = graph.threshold_cut(labels, rag, 10)
>>> rag = graph.rag_mean_color(img, labels)
>>> new_labels = graph.cut_threshold(labels, rag, 10)
References
----------