UnorganizedPointCloudCopyColorsBGRA_SRGB Method |
Get the color data of every point on 8-bit BGRA format in the sRGB color space
Namespace:
Zivid.NET
Assembly:
ZividCoreNET (in ZividCoreNET.dll) Version: 2.17.1.0
Syntaxpublic byte[,] CopyColorsBGRA_SRGB()
Public Function CopyColorsBGRA_SRGB As Byte(,)
public:
array<unsigned char,2>^ CopyColorsBGRA_SRGB()
Return Value
Type:
ByteRank 2 byte array of BGRA_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 (b=0, g=1, r=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