Skip to content

Commit

Permalink
marching cube points
Browse files Browse the repository at this point in the history
  • Loading branch information
kapoorlab committed Oct 18, 2023
1 parent c7a86df commit f3ecd3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/napatrackmater/clustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ def get_label_centroid_cloud(binary_image, num_points, ndim, label, centroid, mi
vertices = None
if vertices is not None:
mesh_obj = trimesh.Trimesh(vertices=vertices, faces=faces)
simple_clouds = mesh_obj.sample(num_points).data
simple_clouds = np.asarray(mesh_obj.sample(num_points).data)

if compute_with_autoencoder:
mesh_obj = trimesh.Trimesh(vertices=vertices, faces=faces, process=False)
Expand Down

0 comments on commit f3ecd3b

Please sign in to comment.