From 602c8d869217949aef5c3c024e9ad81c6b60e3e0 Mon Sep 17 00:00:00 2001 From: Vighnesh Birodkar Date: Tue, 17 Jun 2014 00:17:12 +0530 Subject: [PATCH] Added explanation to example --- doc/examples/plot_rag_meancolor.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/examples/plot_rag_meancolor.py b/doc/examples/plot_rag_meancolor.py index aee341f4..988572b5 100644 --- a/doc/examples/plot_rag_meancolor.py +++ b/doc/examples/plot_rag_meancolor.py @@ -1,3 +1,14 @@ +""" +================ +RAG Thresholding +================ + +This examples constructs a Region Adjacency Graph and merges region which are +similar in color. We construct a RAG and define edges as the difference in +mean color. We the join regions with similar mean color. + +""" + from skimage import graph from skimage import segmentation from skimage import data, io