mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-23 13:10:18 +08:00
Use absolute imports
This commit is contained in:
@@ -5,8 +5,8 @@ import numpy as np
|
||||
from scipy import ndimage
|
||||
import warnings
|
||||
|
||||
from ..util import img_as_float, regular_grid
|
||||
from ._slic import _slic_cython
|
||||
from skimage.util import img_as_float, regular_grid
|
||||
from skimage.segmentation._slic import _slic_cython
|
||||
|
||||
|
||||
def slic(image, n_segments=100, compactness=10., max_iter=20, sigma=1,
|
||||
|
||||
Reference in New Issue
Block a user