UnorganizedPointCloudCopyColorsRGBA_SRGB Method |
Get the color data of every point on 8-bit RGBA format in the sRGB color space
Namespace:
Zivid.NET
Assembly:
ZividCoreNET (in ZividCoreNET.dll) Version: 2.17.1.0
Syntaxpublic byte[,] CopyColorsRGBA_SRGB()
Public Function CopyColorsRGBA_SRGB As Byte(,)
public:
array<unsigned char,2>^ CopyColorsRGBA_SRGB()
Return Value
Type:
ByteRank 2 byte array of RGBA_SRGB color values
Remarks
This method copies the sRGB 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 sRGB color space is suitable for showing an image on a display for human viewing. It is easier to
see details in darker areas of an image in sRGB than in linear RGB, as more of the dynamic range
is dedicated to darker colors. This color space is assumed by default by most monitors and should be used when
displaying an image.
See Also