diff --git a/skimage/segmentation/_slic.pyx b/skimage/segmentation/_slic.pyx index 2c4d3199..eb9742b1 100644 --- a/skimage/segmentation/_slic.pyx +++ b/skimage/segmentation/_slic.pyx @@ -34,7 +34,7 @@ def _slic_cython(double[:, :, :, ::1] image_zyx, controls the weights of the distances along z, y, and x during k-means clustering. slic_zero : bool - True to run SLIC-ZERO, False to run original SLIC. + True to run SLIC-zero, False to run original SLIC. Returns @@ -202,13 +202,6 @@ def _slic_cython(double[:, :, :, ::1] image_zyx, if max_dist_color[k] < dist_color: max_dist_color[k] = dist_color - ## DEBUG - print('Iter %d' % (i,)) - print(str(np.asarray(max_dist_color))) - - print('Image: ') - print(str(np.asarray(image_zyx))) - return np.asarray(nearest_segments)