mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-15 12:54:54 +08:00
doc example
This commit is contained in:
@@ -340,7 +340,7 @@ def rag_boundary(labels, edge_map, connectivity=2):
|
|||||||
>>> img = data.chelsea()
|
>>> img = data.chelsea()
|
||||||
>>> labels = segmentation.slic(img)
|
>>> labels = segmentation.slic(img)
|
||||||
>>> edge_map = filters.sobel(color.rgb2gray(img))
|
>>> edge_map = filters.sobel(color.rgb2gray(img))
|
||||||
>>> rag = graph.rag_mean_color(labels, edge_map)
|
>>> rag = graph.rag_boundary(labels, edge_map)
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user