open3d.geometry.create_rgbd_image_from_color_and_depth¶
-
open3d.geometry.
create_rgbd_image_from_color_and_depth
(color, depth, depth_scale=1000.0, depth_trunc=3.0, convert_rgb_to_intensity=True)¶ Function to make RGBDImage from color and depth image
- Parameters
color (open3d.geometry.Image) – The color image.
depth (open3d.geometry.Image) – The depth image.
depth_scale (float, optional, default=1000.0) – The ratio to scale depth values. The depth values will first be scaled and then truncated.
depth_trunc (float, optional, default=3.0) – Depth values larger than
depth_trunc
gets truncated to 0. The depth values will first be scaled and then truncated.convert_rgb_to_intensity (bool, optional, default=True) – Whether to convert RGB image to intensity image.
- Returns
open3d.geometry.RGBDImage