isl-org / isl-org/Open3D

crop point cloud given a open3d.geometry.LineSet object

Open
#4,858 3 comments 0 reactions 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](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).

### My Question

Hi all,
In order to crop a pointcloud, so far, I've used a boundingbox:

`points= np.asarray([])`
`oriented_bounding_box = o3d.geometry.OrientedBoundingBox.create_from_points(points)`
`point_cloud_crop = point_cloud.crop(oriented_bounding_box)`

or a SelectionPolygonVolume:

`vol = o3d.visualization.SelectionPolygonVolume()`
`vol.orthogonal_axis = "Y"`
`vol.axis_max = 500`
`vol.axis_min = 700`
`vol.bounding_polygon = o3d.utility.Vector3dVector(bounding_polygon)`

but so far all these methods allow me to get a rectangular parallelepiped/prism, is there a way to crop a Point cloud given an open3d.geometry.LineSet object from a set of points and lines?
Thanks

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.