Extract Depth Image

Description

This operator is used to extract a depth map from the input organized point cloud, where each pixel value in the depth map represents the Z value of the corresponding point in the camera coordinate system.

Overview

Extracts a depth image from the input ordered point cloud.

Scenarios

Suitable for restoring point clouds into 2D depth maps aligned with images, facilitating subsequent depth-based image processing or visualization.

Inputs and Outputs

Inputs

Point Cloud: Organized point cloud, shape must be (H,W,3), meaning each pixel corresponds to an [X,Y,Z] 3D point. Supports a list composed of multiple point clouds.

Outputs

Depth map: A 2D depth map corresponding to the point cloud space, where each pixel value is the Z coordinate of the 3D point at that location. If the input is a list of point clouds, the output corresponds to a list of multiple depth maps.