|
多通道处理:
- Mat dest_ = new Mat(dest.Height, dest.Width, dest.Type(), Scalar.Black);
- //Cv2.CvtColor(MouseSelectObgj, dest_, ColorConversionCodes.GRAY2RGB);
- Mat[] MouseSelectObgj3 = { MouseSelectObgj, MouseSelectObgj, MouseSelectObgj };
- Cv2.Merge(MouseSelectObgj3, dest_);
复制代码
参考:【1】https://blog.csdn.net/zanllp/article/details/79831153
|
|