UnorganizedPointCloudCopyColorsBGRA Method |
Get the color data of every point on 8-bit BGRA format
Namespace:
Zivid.NET
Assembly:
ZividCoreNET (in ZividCoreNET.dll) Version: 2.17.1.0
Syntaxpublic byte[,] CopyColorsBGRA()
Public Function CopyColorsBGRA As Byte(,)
public:
array<unsigned char,2>^ CopyColorsBGRA()
Return Value
Type:
ByteRank 2 byte array of BGRA color values
Remarks
This method copies the BGRA values from compute device memory to host (CPU) system
memory (RAM) and returns them as a byte array of rank 2. First dimension indexes
the points of the point cloud (0 to
Size - 1), and second dimension is
the color channels (b=0, g=1, r=2, a=3).
The length of the returned array's first dimension will match the
Size property.
See Also