Click or drag to resize

PointCloudCopyNormalsXYZ Method

Normal vectors (x, y, and z) as a float array of rank 3 with size height * width * 3

Namespace:  Zivid.NET
Assembly:  ZividCoreNET (in ZividCoreNET.dll) Version: 2.14.0.0
Syntax
public float[,,] CopyNormalsXYZ()

Return Value

Type: Single
Rank 3 float array of normals
Remarks
This method computes the normals of the 3D points and copies the result from compute device memory to host (CPU) system memory (RAM) and returns them in a float array. First dimension is row (0 to height-1), second dimension is column (0 to width-1), and third dimension is x/y/z (x=0, y=1, z=2). For example, to get z value of the normal at row 100, column 200 on the 2D grid, use index [100, 200, 2]. The vectors are normalized.
See Also