mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-11 01:56:37 +08:00
Fix missed rename in example
This commit is contained in:
@@ -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