Pixel to Point Cloud Coordinate Transform

Description

This operator converts input pixel coordinates (2D points on the image) and their corresponding depth values (Z values in the camera coordinate system) into 3D point coordinates (X, Y, Z) in the camera coordinate system, based on the intrinsic matrix and distortion coefficients obtained from camera calibration.

Overview

Reconstructs 3D points from pixel coordinates and depth.

Scenarios

  • Image Conversion: Converts pixel coordinates obtained from 2D image processing into precise 3D spatial coordinates.

Inputs and Outputs

Inputs

Pixel point list: An N x 3 array or list, where each row represents the information of a point in the format [Pixel X Coordinate, Pixel Y Coordinate, Z Value of the point in the camera coordinate system].

Camera parameters: Camera parameters include intrinsics, distortion coefficients, and inter-camera extrinsics.

Outputs

Camera coordinate system point cloud points: The resulting N x 3 array or list after conversion, where each row represents the 3D coordinates [X, Y, Z] of a point in the camera coordinate system.

Parameters

Image Source

Description

Selects the camera model to which the pixel coordinates and depth belong. Texture camera uses the color/texture camera calibration; depth camera uses the depth or passive-stereo main camera calibration. This operator does not provide an automatic identification option.

Tuning Instructions

Use the texture camera for color or texture images, and the depth camera for depth maps or passive-stereo main camera images.

Parameter Range

Options: Texture camera, depth camera, Default: depth camera

Parameter Range

Values/Range:

  • Texture Camera

  • Depth Camera

Default: Depth Camera

Output Coordinate System

Description

Selects whether reconstructed points remain in the selected image-camera frame or are inverse-transformed to the original point-cloud frame.

Tuning Instructions

Choose the frame required by downstream processing.

Parameter Range

Options: Image camera coordinate system, Original point-cloud coordinate system, Default: Image camera coordinate system

Parameter Range

Values/Range:

  • Image camera coordinate system

  • Original point-cloud coordinate system

Default: Image camera coordinate system