ImageSRGB Constructor (ColorSRGB) |
Load image from a 2D array of ColorSRGB structs.
Namespace:
Zivid.NET
Assembly:
ZividCoreNET (in ZividCoreNET.dll) Version: 0.0.0.0
Syntax public ImageSRGB(
ColorSRGB[,] pixelArray
)
Public Sub New (
pixelArray As ColorSRGB(,)
)
public:
ImageSRGB(
array<ColorSRGB,2>^ pixelArray
)
Parameters
- pixelArray
- Type: Zivid.NETColorSRGB
Remarks
This constructor can be used with arrays created by the ToArray 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.
See Also