mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-12 12:50:49 +08:00
Fix indentation
This commit is contained in:
@@ -83,7 +83,7 @@ def _slic_cython(double[:, :, :, ::1] image_zyx,
|
|||||||
dist_center = dz + dy + (cx - x) ** 2
|
dist_center = dz + dy + (cx - x) ** 2
|
||||||
for c in range(3, n_features):
|
for c in range(3, n_features):
|
||||||
dist_center += (image_zyx[z, y, x, c - 3]
|
dist_center += (image_zyx[z, y, x, c - 3]
|
||||||
- segments[k, c]) ** 2
|
- segments[k, c]) ** 2
|
||||||
if distance[z, y, x] > dist_center:
|
if distance[z, y, x] > dist_center:
|
||||||
nearest_segments[z, y, x] = k
|
nearest_segments[z, y, x] = k
|
||||||
distance[z, y, x] = dist_center
|
distance[z, y, x] = dist_center
|
||||||
|
|||||||
Reference in New Issue
Block a user