Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - cdt59

Pages: [1]
1
Python and Java API / Creating XYZ maps for each pixel of an image
« on: March 01, 2023, 07:25:00 PM »
Hi, I am looking for an efficient way to export XYZ maps for each image. Metashape can export depth maps that are camera-model distance projections for each pixel in the image, and I need this for the XYZ information.

Alternatively, can the Metashape python API convert a depth map into an XYZ point cloud? Third-party modules like open3d can do this in camera-relative xyz space for a pinhole camera, but I need this in the model's global XYZ space while accounting for camera distortion.

http://www.open3d.org/docs/0.7.0/python_api/open3d.geometry.create_point_cloud_from_depth_image.html

This question is similar to the following threads, but it doesn't look like they fully resolved the need.

https://www.agisoft.com/forum/index.php?topic=12780.0
https://www.agisoft.com/forum/index.php?topic=12392.msg55345#msg55345

Pages: [1]