From c3d52d602c438c5f2b9f8c639350537e33b57a2e Mon Sep 17 00:00:00 2001 From: Juan Nunez-Iglesias Date: Mon, 14 Dec 2015 17:00:51 +1100 Subject: [PATCH] Simplify reference to generate_binary_structure --- skimage/future/graph/rag.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/future/graph/rag.py b/skimage/future/graph/rag.py index 4be37b05..e27b0b83 100644 --- a/skimage/future/graph/rag.py +++ b/skimage/future/graph/rag.py @@ -213,7 +213,7 @@ def rag_mean_color(image, labels, connectivity=2, mode='distance', Pixels with a squared distance less than `connectivity` from each other are considered adjacent. It can range from 1 to `labels.ndim`. Its behavior is the same as `connectivity` parameter in - `scipy.ndimage.filters.generate_binary_structure`. + `scipy.ndimage.generate_binary_structure`. mode : {'distance', 'similarity'}, optional The strategy to assign edge weights.