2 using System.Collections.Generic;
int widthStep
Size of aligned image row in bytes.
int origin
0 - top-left origin, 1 - bottom-left origin.
int depth
Pixel depth in bits: VS_DEPTH_8U, VS_DEPTH_8S, VS_DEPTH_16S, VS_DEPTH_32S, VS_DEPTH_32F and VS_DEPTH_...
int nChannels
Most functions support 1,2,3 or 4 channels
int width
Image width in pixels.
VSImage(int width, int height, int depth, int nChannels, int dataOrder=0, int origin=0)
Constructor.
byte[] imageData
Pointer to aligned image data.
int dataOrder
0 - interleaved color channels, 1 - separate color channels.
int height
Image height in pixels.