opencvsharp Mat转bitmap

Mat mat = OpenCvSharp.Extensions.BitmapConverter.ToMat(image); //bitmap转 mat
Bitmap bitmap = OpenCvSharp.Extensions.BitmapConverter.ToBitmap(mat); // mat 转 bitmap

posted @ 2020-01-19 11:05  荼离伤花  阅读(5793)  评论(0编辑  收藏  举报