isl-org / isl-org/Open3D

What does the return values of voxel_down_sample_and_trace() mean?

Open
#6,667 0 comments 1 reaction 0 assignees View on GitHub
question
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

### Checklist

- [X] I have searched for [similar issues](https://github.com/isl-org/Open3D/issues).
- [X] For Python issues, I have tested with the [latest development wheel](https://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [X] I have checked the [release documentation](https://www.open3d.org/docs/release/) and the [latest documentation](https://www.open3d.org/docs/latest/) (for `main` branch).

### My Question

I am very confused about the return values meanings.
![image](https://github.com/isl-org/Open3D/assets/15854511/f0afd4f7-61e9-4c65-b8a2-4065edad3a42)
Here I run the following code:

```python
result_pcd, cube_ids, original_indices = pcd.voxel_down_sample_and_trace(RESOLUTION, min_bound, max_bound)
```
And I got these printing results and just want to know what the 8 numbers mean in each row of `cube_ids`? Why there are `4` point indices in `original_indices[0]`? It seems the API of this function is different from before when the function only returns 2 values.
![image](https://github.com/isl-org/Open3D/assets/15854511/bf8f5f29-c687-4c6f-a2df-dc059d00c001)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.