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 | |
|---|---|---|---|---|
![]() |
inImage | Image | Source image with per pixel encoded XYZ coordinates | |
![]() |
inRoi | Region | None | None | Region determining valid points in resulting point grid |
![]() |
inXCoordinateTransform | PointCloudCoordinateTransform | Description of the creation of the X coordinate | |
![]() |
inYCoordinateTransform | PointCloudCoordinateTransform | Description of the creation of the Y coordinate | |
![]() |
inZCoordinateTransform | PointCloudCoordinateTransform | Description of the creation of the Z coordinate | |
![]() |
outPoint3DGrid | Point3DGrid |


