From a6d1b10e254912ab8a3dbb0c377842cbdd98d52a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Sun, 1 Sep 2013 16:53:05 +0200 Subject: [PATCH] Use absolute imports --- skimage/segmentation/slic_superpixels.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skimage/segmentation/slic_superpixels.py b/skimage/segmentation/slic_superpixels.py index c239baf0..6e009120 100644 --- a/skimage/segmentation/slic_superpixels.py +++ b/skimage/segmentation/slic_superpixels.py @@ -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,