mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-30 11:44:53 +08:00
Space
This commit is contained in:
@@ -101,7 +101,7 @@ def convex_hull_object(image, neighbors=8):
|
||||
convex_obj = np.zeros(image.shape, dtype=bool)
|
||||
convex_img = np.zeros(image.shape, dtype=bool)
|
||||
|
||||
for i in range(0, labeled_im.max()+1):
|
||||
for i in range(0, labeled_im.max() + 1):
|
||||
convex_obj = convex_hull_image(labeled_im == i)
|
||||
convex_img = np.logical_or(convex_img, convex_obj)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user