From 21364e8741da905c9e382118cca780ff47d1776e Mon Sep 17 00:00:00 2001 From: Vighnesh Birodkar Date: Mon, 14 Jul 2014 23:06:54 +0530 Subject: [PATCH] Fixed threshold in example --- doc/examples/plot_rag_mean_color.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/examples/plot_rag_mean_color.py b/doc/examples/plot_rag_mean_color.py index 7a1d24b9..ab962e65 100644 --- a/doc/examples/plot_rag_mean_color.py +++ b/doc/examples/plot_rag_mean_color.py @@ -19,7 +19,7 @@ labels1 = segmentation.slic(img, compactness=30, n_segments=400) out1 = color.label2rgb(labels1, img, kind='avg') g = graph.rag_mean_color(img, labels1) -labels2 = graph.cut_threshold(labels1, g, 30) +labels2 = graph.cut_threshold(labels1, g, 29) out2 = color.label2rgb(labels2, img, kind='avg') plt.figure()