UnorganizedPointCloudCopyColorsRGBA Method |
Get the color data of every point on 8-bit RGBA format
Namespace:
Zivid.NET
Assembly:
ZividCoreNET (in ZividCoreNET.dll) Version: 2.17.1.0
Syntaxpublic byte[,] CopyColorsRGBA()
Public Function CopyColorsRGBA As Byte(,)
public:
array<unsigned char,2>^ CopyColorsRGBA()
Return Value
Type:
ByteRank 2 byte array of RGBA color values
Remarks
This method copies the RGBA 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 (r=0, g=1, b=2, a=3).
The length of the returned array's first dimension will match the
Size property.
See Also