From b4ac25200b67a457b02ea84f3a14cb245f314ab2 Mon Sep 17 00:00:00 2001 From: Michal Romaniuk Date: Wed, 27 Nov 2013 20:38:23 +0000 Subject: [PATCH] Bug fix: removed temporary debug code --- skimage/segmentation/_slic.pyx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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)