Thanks for your hardwork contributing to the scientific community.
I am having issues running the downsample_point_cloud_voxel_grid example.
v, n, and c seem to be correct and I can use other functions like load_mesh_vnc from pcu but not downsample_point_cloud_voxel_grid. I have posted the code below.
v = np.row_stack(rot_trans_tees_tight)
n = np.row_stack(rot_trans_tees_tight_normals)
c = np.row_stack(labels)
Hi there,
Thanks for your hardwork contributing to the scientific community.
I am having issues running the downsample_point_cloud_voxel_grid example.
v, n, and c seem to be correct and I can use other functions like load_mesh_vnc from pcu but not downsample_point_cloud_voxel_grid. I have posted the code below.
v = np.row_stack(rot_trans_tees_tight) n = np.row_stack(rot_trans_tees_tight_normals) c = np.row_stack(labels)
num_voxels_per_axis = 128 bbox_size = v.max(0) - v.min(0) size_of_voxel = bbox_size / num_voxels_per_axis min_points_per_voxel = 3 v_sampled, n_sampled, c_sampled = pcu.downsample_point_cloud_voxel_grid(sizeof_voxel, v, n, c, min_points_per_voxel=min_points_per_voxel)
Error Message
----> 9 v_sampled, n_sampled, c_sampled = pcu.downsample_point_cloud_voxel_grid(sizeof_voxel, v, n, c, 10 min_points_per_voxel=min_points_per_voxel) 11 # print(size_of_voxel)
AttributeError: module 'point_cloud_utils' has no attribute 'downsample_point_cloud_voxel_grid'