mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-01 04:16:56 +08:00
Fix circular import loop
This commit is contained in:
@@ -5,7 +5,6 @@ from scipy import ndimage as ndi
|
||||
|
||||
from ._label import label
|
||||
from . import _moments
|
||||
from ..morphology.convex_hull import convex_hull_image
|
||||
|
||||
|
||||
__all__ = ['regionprops', 'perimeter']
|
||||
@@ -135,6 +134,7 @@ class _RegionProperties(object):
|
||||
|
||||
@_cached_property
|
||||
def convex_image(self):
|
||||
from ..morphology.convex_hull import convex_hull_image
|
||||
return convex_hull_image(self.image)
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user