ImageRGBA Constructor (Byte) |
Load image from a 3D array of bytes.
Namespace:
Zivid.NET
Assembly:
ZividCoreNET (in ZividCoreNET.dll) Version: 0.0.0.0
Syntax public ImageRGBA(
byte[,,] byteArray
)
Public Sub New (
byteArray As Byte(,,)
)
public:
ImageRGBA(
array<unsigned char,3>^ byteArray
)
Parameters
- byteArray
- Type: SystemByte
Remarks
This constructor can be used with arrays created by the ToByteArray method.
The first index will be interpreted as the rows of the image.
The second index will be interpreted as the columns of the image.
The third index will be interpreted as the color channels (R, G, B, A) for each pixel.
See Also