mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-07 05:35:50 +08:00
Bug fix: removed temporary debug code
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user