Simplify reference to generate_binary_structure

This commit is contained in:
Juan Nunez-Iglesias
2015-12-14 17:12:11 +11:00
parent 97f3ad1a6b
commit c3d52d602c
+1 -1
View File
@@ -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.