diff --git a/doc/examples/segmentation/plot_boundary_merge.py b/doc/examples/segmentation/plot_boundary_merge.py index bcfd7e06..b5a1c3a2 100644 --- a/doc/examples/segmentation/plot_boundary_merge.py +++ b/doc/examples/segmentation/plot_boundary_merge.py @@ -3,8 +3,8 @@ Hierarchical Merging of Region Boundary RAGs ============================================ -This examples demonstrates how to perform hierarchical merging on region -boundary Region Adjacency Grapghs (RAGs). Region boundary RAGs can be +This example demonstrates how to perform hierarchical merging on region +boundary Region Adjacency Graphs (RAGs). Region boundary RAGs can be contructed with the :py:func:`skimage.future.graph.rag_boundary` function. The regions with the lowest edge weights are successively merged until there is no edge with weight less than ``thresh``. The hierarchical merging is done diff --git a/doc/examples/segmentation/plot_rag_boundary.py b/doc/examples/segmentation/plot_rag_boundary.py index 257d67d9..99211a14 100644 --- a/doc/examples/segmentation/plot_rag_boundary.py +++ b/doc/examples/segmentation/plot_rag_boundary.py @@ -4,7 +4,7 @@ Region Boundary based RAGs ========================== Construct a region boundary RAG with the ``rag_boundary`` function. The -function :py:func:`skimage.future.graph.rag_boundary`, takes an +function :py:func:`skimage.future.graph.rag_boundary` takes an ``edge_map`` argument, which gives the significance of a feature (such as edges) being present at each pixel. In a region boundary RAG, the edge weight between two regions is the average value of the corresponding pixels in