From 80ed8751474d705706bb5469ad73108470c81b9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Sun, 1 Sep 2013 17:12:10 +0200 Subject: [PATCH] Add missing rgb2lab import --- skimage/segmentation/slic_superpixels.py | 1 + 1 file changed, 1 insertion(+) diff --git a/skimage/segmentation/slic_superpixels.py b/skimage/segmentation/slic_superpixels.py index 6e009120..5a6d4506 100644 --- a/skimage/segmentation/slic_superpixels.py +++ b/skimage/segmentation/slic_superpixels.py @@ -7,6 +7,7 @@ import warnings from skimage.util import img_as_float, regular_grid from skimage.segmentation._slic import _slic_cython +from skimage.color import rgb2lab def slic(image, n_segments=100, compactness=10., max_iter=20, sigma=1,