Improved region boundary RAG docs

This commit is contained in:
Vighnesh Birodkar
2016-05-23 10:39:06 -04:00
parent b14fe94755
commit bc11ca8a24
2 changed files with 15 additions and 2 deletions
@@ -4,7 +4,12 @@ Region Boundary based RAGs
==========================
This example demonstrates construction of region boundary based RAGs with the
`rag_boundary` function.
:py:func:`skimage.future.graph.rag_boundary` function. The function taken 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 between
two regions is the average value of the corresponding pixels in ``edge_map``
along their shared boundary.
"""
from skimage.future import graph
from skimage import data, segmentation, color, filters, io