mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-27 21:08:24 +08:00
doc example
This commit is contained in:
@@ -340,7 +340,7 @@ def rag_boundary(labels, edge_map, connectivity=2):
|
||||
>>> img = data.chelsea()
|
||||
>>> labels = segmentation.slic(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