从IplImage *转换为cv :: MAT [英] Conversion from IplImage* to cv::MAT
本文介绍了从IplImage *转换为cv :: MAT的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我搜索过将IplImage *转换为Mat,但所有答案都是关于cvMat的转换。
我该怎么办?
解决方案
这里是一个很好的解决方案
Mat(const IplImage * img,bool copyData = false)
I searched to convert an IplImage* to Mat, but all answers were about the conversion to cvMat.
How, can I do it? and what is the difference between Mat and cvMat?
Thanks in advance
解决方案
here is a good solution
Mat(const IplImage* img, bool copyData=false);
这篇关于从IplImage *转换为cv :: MAT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文