mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-11 11:25:30 +08:00
Simplify reference to generate_binary_structure
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user