PointCloudCopyImageRGBA Method |
Point colors (RGBA) as a 2D image
Namespace:
Zivid.NET
Assembly:
ZividCoreNET (in ZividCoreNET.dll) Version: 0.0.0.0
Syntax public ImageRGBA CopyImageRGBA()
Public Function CopyImageRGBA As ImageRGBA
public:
ImageRGBA^ CopyImageRGBA()
Return Value
Type:
ImageRGBAPoint colors as 8-bit RGBA 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 returned
ImageRGBA holds the same pixel data as the byte
array returned by
CopyColorsRGBA. However, the
ImageRGBA
provides additional functionality such as saving the image to a file.
This format holds linear color values, which are suitable as input to computer vision algorithms. For
showing colors on a display for viewing, consider using the
ColorSRGB format.
See Also