Align Point Cloud to Image Shape With Normals

Description

This operator is used to reorganize an organized point cloud data structure from a 1D list (or arbitrary shape) into a 2D grid shape that is completely consistent with the input image dimensions (height x width).

It does not change the coordinate or normal information of each point in the point cloud, but only changes its arrangement in the data array.

Overview

Validates that organized normal clouds match image dimensions and outputs floating-point clouds.

Scenarios

As a data preprocessing step, it adapts the input format with image shape required by certain operators, making the point cloud data have the same dimensions and structure as the corresponding image.

Inputs and Outputs

Inputs

Image: The input image. Its height and width are used as the target dimensions for reshaping the point cloud.

Point Cloud: The input organized point cloud with normals whose shape will be reshaped to match the height and width of the input image.

Outputs

Output Point Cloud: The point cloud data structure is "height x width x number of channels", where the height and width are the same as the input image.