isl-org / isl-org/Open3D

Increase the resolution for Capture_Depth_Point_Cloud

Open
#6,926 0 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](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).

### My Question

Hello,

I am trying to convert mesh (.stl) object to point cloud.

```
extrinsic = np.array(T_wc)
camera_params = o3d.camera.PinholeCameraParameters()
camera_params.intrinsic = params.intrinsic
camera_params.extrinsic = extrinsic

# Apply the updated camera parameters to the visualizer
ctr.convert_from_pinhole_camera_parameters(camera_params,True)
vis.poll_events()
vis.update_renderer()

# Capture the point cloud from the camera's perspective
vis.capture_depth_point_cloud(pcd_temp_path,True,False)
```
This is the result I am getting
![Raytraced_PointCloud_MPP_zoomed_PCDdensity](https://github.com/user-attachments/assets/f28042c0-c75a-4367-b915-8f9ca59e9839)
The point cloud is very sparse, I would like to get a more dense point cloud.

For reasons I cannot mention, I cannot use the [Ray_casting](https://www.open3d.org/docs/latest/tutorial/geometry/ray_casting.html) function from open3d.

What is the way to improve the density of my point cloud using `capture_depth_point_cloud` or any other post processing methods?

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.