isl-org / isl-org/Open3D

voxel_down_sample_and_trace not return the full index of points

Open
#1,241 15 comments 0 reactions 1 assignee Claimed by @griegler View on GitHub
geometry pointcloud
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

**Describe the bug**
I want to get the voxelized point cloud with its corresponding index in original point cloud.
but i found that the total index count does not equals the original point cloud number.
in the case below,it expected to be 40000,but actually i got 6519.which means i cannot get
each voxel's original coordinate.maybe the trace function become useless.

**To Reproduce**
Steps to reproduce the behavior:
voxel_down_sample_and_trace(pcd,voxel_size,min_bound,max_bound)

**Expected behavior**
get the downsampled pointcloud and its corresponding index in original point cloud

**Screenshots**
![DeepinScreenshot_select-area_20191014144059](https://user-images.githubusercontent.com/18723460/66733000-a015df00-ee90-11e9-9a06-0745d79c7075.png)

**Environment (please complete the following information):**
- OS: Manjaro 18.04
- Python version:3.6.9
- Open3D version:0.8.0
- Is this remote workstation?: no
- How did you install Open3D?: build_from_source ( gcc)

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.