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.