create point cloud from rgbd image in open3d v0.10

To create a point cloud from an RGBD image in Open3D v0.10, you can follow these steps:

  1. Import the necessary modules:
#include <open3d/Open3D.h>
  1. Load the RGBD image:
open3d::geometry::RGBDImage rgbd_image;
open3d::io::ReadRGBDImage("path/to/rgbd_image.png", rgbd_image);
  1. Convert the RGBD image to a point cloud:
open3d::geometry::PointCloud point_cloud;
point_cloud = open3d::geometry::PointCloud::CreateFromRGBDImage(rgbd_image);
  1. Visualize the point cloud:
open3d::visualization::DrawGeometries({point_cloud});

That's it! With these steps, you should be able to create a point cloud from an RGBD image using Open3D v0.10 in C.