mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-30 13:40:44 +08:00
Fix missed rename in example
This commit is contained in:
1 parent
6b9ecd80b9
commit
332469c6df
1 file changed
+1
-1
@@ -91,7 +91,7 @@ Small spurious objects are easily removed by setting a minimum size for valid
|
||||
objects.
|
||||
"""
|
||||
from skimage import morphology
|
||||
coins_cleaned = morphology.remove_small_connected_components(fill_coins, 21)
|
||||
coins_cleaned = morphology.remove_small_objects(fill_coins, 21)
|
||||
|
||||
plt.figure(figsize=(4, 3))
|
||||
plt.imshow(coins_cleaned, cmap=plt.cm.gray, interpolation='nearest')
|
||||
|
||||
Reference in new issue
Block a user