isl-org / isl-org/Open3D

Voxelize returns voxels outside of min/max bounds

Open
#3,900 0 comments 0 reactions 0 assignees View on GitHub
ml
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

**Describe the bug**
`open3d.ml`'s op `voxelize` returns voxels outside of the max/min bounds given to the function.

**To Reproduce**
1. Create point cloud with points outside of set bounds
2. Pass point cloud and bounds to `voxelize`
3. Voxel coordinates will correspond to locations outside of the bounds

An example of this bug in practice is https://github.com/isl-org/Open3D-ML/issues/349 which to fix requires downstream coordinate bounds checking/filtering https://github.com/isl-org/Open3D-ML/pull/350

**Expected behavior**
Voxels will not be generated with coordinates outside of the given bounds

**Environment (please complete the following information):**

- Operating system: Ubuntu 18.04
- Python version: Python 3.6.13
- Open3D version: 0.13.0
- Is this remote workstation?: no
- How did you install Open3D?: `pip`
- Compiler version (if built from source): N/A

**Additional context**
`voxelize` should filter points outside of the given bounds before performing voxelization

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.