isl-org / isl-org/Open3D

Request to fit RANSAC Cylinder

Open
#6,602 4 comments 0 reactions 0 assignees View on GitHub
feature request
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).

### Proposed new feature or change

fit Cylinder

### References

import open3d as o3d

# 加载点云数据
pcd = o3d.io.read_point_cloud("cylinder_ex.pcd")
cylinder_model, inliers = pcd.segment_cylinder(radius = 0.03)
cylinder_cloud = pcd.select_by_index(inliers)
o3d.visualization.draw_geometries(([cylinder_cloud]))

### Additional information

Error:
cylinder_model, inliers = pcd.segment_cylinder(radius = 0.03)
AttributeError: 'open3d.cpu.pybind.geometry.PointCloud' object has no attribute 'segment_cylinder'

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.