CreatePoint3DGridFromImage


Creates a Point3DGrid structure from coordinates encoded in pixels of image.

Applications:Creating a Point3DGrid structure out of an image obtained from a 3D camera or other external sources that encodes point cloud XYZ coordinates as pixel components of 2D image.

Syntax

C++
C#
Python
 
def CreatePoint3DGridFromImage(
	inImage: Image,
	inXCoordinateTransform: PointCloudCoordinateTransform,
	inYCoordinateTransform: PointCloudCoordinateTransform,
	inZCoordinateTransform: PointCloudCoordinateTransform,
	outPoint3DGrid: Point3DGrid,
	/,
	*,
	inRoi: Region | None = None
)
-> None

Parameters

Name Type Default Description
Input value inImage Image Source image with per pixel encoded XYZ coordinates
Input value inRoi Region | None None Region determining valid points in resulting point grid
Input value inXCoordinateTransform PointCloudCoordinateTransform Description of the creation of the X coordinate
Input value inYCoordinateTransform PointCloudCoordinateTransform Description of the creation of the Y coordinate
Input value inZCoordinateTransform PointCloudCoordinateTransform Description of the creation of the Z coordinate
Output value outPoint3DGrid Point3DGrid