Computer/Image processing
Converting Image
### Mat -> System.Drawing.Bitmap ### Mat mat = new Mat("foobar.jpg", ImreadModes.Color); Bitmap bitmap = OpenCvSharp.Extensions.BitmapConverter.ToBitmap(mat); ### System.Drawing.Bitmap -> Mat ### Bitmap bitmap = new Bitmap("foobar.jpg"); Mat mat = OpenCvSharp.Extensions.BitmapConverter.ToMat(bitmap); ### Mat -> byte[] ### Mat mat = new Mat("foobar.jpg", ImreadModes.Color); byte[] bytes1 = mat.To..