PointCloudCopyImageRGBA_SRGB Method |
Point colors (RGBA in sRGB color space) as a 2D image
Namespace:
Zivid.NET
Assembly:
ZividCoreNET (in ZividCoreNET.dll) Version: 2.15.0.0
Syntaxpublic ImageRGBA_SRGB CopyImageRGBA_SRGB()
Public Function CopyImageRGBA_SRGB As ImageRGBA_SRGB
public:
ImageRGBA_SRGB^ CopyImageRGBA_SRGB()
Return Value
Type:
ImageRGBA_SRGBPoint colors as 8-bit SRGB image
Remarks
This method copies the colors from compute device memory to host (CPU) system
memory (RAM) and returns them as an Image. The format of the image will be
four channels (R,G,B,A), with 8 bits per channel.
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.
The returned
ImageRGBA_SRGB holds the same pixel data as the byte
array returned by
CopyColorsRGBA_SRGB. However, the
ImageRGBA_SRGB
provides additional functionality such as saving the image to a file.
See Also