From 0c185629d3002ffcb9d5306c7f848243585f8341 Mon Sep 17 00:00:00 2001 From: Vighnesh Birodkar Date: Sat, 9 Aug 2014 22:09:12 +0530 Subject: [PATCH] corrected similarity --- skimage/graph/rag.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/graph/rag.py b/skimage/graph/rag.py index 1366a6d9..c1108aa2 100644 --- a/skimage/graph/rag.py +++ b/skimage/graph/rag.py @@ -156,7 +156,7 @@ def rag_mean_color(image, labels, connectivity=2, mode='distance', :math:`c_1` and :math:`c_2` are the mean colors of the two regions. It represents how similar two regions are. sigma : float, optional - Used for computation when `mode` is "dissimilarity". It governs how + Used for computation when `mode` is "similarity". It governs how close to each other two colors should be, for their corresponding edge weight to be significant. A very large value of `sigma` could make any two colors behave as though they were similar.