mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-13 12:40:24 +08:00
Doctest Passing
This commit is contained in:
@@ -29,8 +29,8 @@ def cut_threshold(labels, rag, thresh):
|
|||||||
>>> from skimage import data, graph, segmentation
|
>>> from skimage import data, graph, segmentation
|
||||||
>>> img = data.lena()
|
>>> img = data.lena()
|
||||||
>>> labels = segmentation.slic(img)
|
>>> labels = segmentation.slic(img)
|
||||||
>>> rag = graph.rag_meancolor(img, labels)
|
>>> rag = graph.rag_mean_color(img, labels)
|
||||||
>>> new_labels = graph.threshold_cut(labels, rag, 10)
|
>>> new_labels = graph.cut_threshold(labels, rag, 10)
|
||||||
|
|
||||||
References
|
References
|
||||||
----------
|
----------
|
||||||
|
|||||||
Reference in New Issue
Block a user