isl-org / isl-org/Open3D

remove_nan_points unimplemented in Tensor interface

Open
#4,689 1 comment 0 reactions 0 assignees View on GitHub
feature request io
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](http://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [X] I have checked the [release documentation](http://www.open3d.org/docs/release/) and the [latest documentation](http://www.open3d.org/docs/latest/) (for `master` branch).

### Describe the issue

The docstring for `o3d.t.io.read_point_cloud` describes options `remove_nan_points` and `remove_infinite_points`. When trying to load a point cloud with these options enabled, you are met with the following error:

```
RuntimeError: [Open3D Error] (bool open3d::t::io::ReadPointCloud(const std::string &, geometry::PointCloud &, const open3d::io::ReadPointCloudOption &)) /Users/runner/work/Open3D/Open3D/cpp/open3d/t/io/PointCloudIO.cpp:100: remove_nan_points and remove_infinite_points options are unimplemented.
```

### Steps to reproduce the bug

```python
import open3d as o3d

pct = o3d.t.io.read_point_cloud("my_point_cloud.pcd", remove_nan_points=True, remove_infinite_points=True)
```

### Error message

RuntimeError: [Open3D Error] (bool open3d::t::io::ReadPointCloud(const std::string &, geometry::PointCloud &, const open3d::io::ReadPointCloudOption &)) /Users/runner/work/Open3D/Open3D/cpp/open3d/t/io/PointCloudIO.cpp:100: remove_nan_points and remove_infinite_points options are unimplemented.

### Expected behavior

These options should be implemented, or the docstring should be updated to reflect the fact they aren't.

### Open3D, Python and System information

```markdown
- Operating system: OSX 10.15.7
- Python version: 3.9.7 (default, Sep 3 2021, 12:45:31) [Clang 12.0.0 (clang-1200.0.32.29)]
- Open3D version: 0.14.1
- System type: x84
- Is this remote workstation?: no
- How did you install Open3D?: pip
```

### Additional information

_No response_

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.