mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-02 12:41:06 +08:00
remove unnecessary line WTF
This commit is contained in:
1 parent
9f843fa619
commit
f4c4822f8c
1 file changed
-3
@@ -130,9 +130,6 @@ def marching_cubes(volume, level, spacing=(1., 1., 1.),
|
||||
verts = np.asarray(verts)
|
||||
faces = np.asarray(faces)
|
||||
|
||||
# Calculate gradient of `volume`, then interpolate to vertices in `verts`
|
||||
grad_x, grad_y, grad_z = np.gradient(volume)
|
||||
|
||||
# Fancy indexing to define two vector arrays from triangle vertices
|
||||
faces = _correct_mesh_orientation(volume, verts[faces], faces, spacing,
|
||||
gradient_direction)
|
||||
|
||||
Reference in new issue
Block a user