How to convert Bitmap to Mat structur in EmguCV & How to detect two images shift

僤鯓⒐⒋嵵緔 提交于 2019-12-05 01:49:45
Rey

I know its very late to answer this but today I was looking for this problem in the internet and I found something like this:

Bitmap bitmap; //This is your bitmap
Image<Bgr, Byte> imageCV = new Image<Bgr, byte>(bitmap); //Image Class from Emgu.CV
Mat mat = imageCV.Mat; //This is your Image converted to Mat
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!