コード例 #1
0
 internal static extern void imgcodecs_imdecode_vector(byte[] buf, int bufLength, IMREAD_COLOR flags, out IntPtr output);
コード例 #2
0
 public Mat imread(string filename, IMREAD_COLOR flags = IMREAD_COLOR.IMREAD_COLOR)
 {
     cv2_native_api.imgcodecs_imread(filename, (int)flags, out var handle);
     return(new Mat(handle));
 }