摘要: 在opencv2.0前,opencv使用C语言实现相关函数,那个时候存储图像的文件类型是IplImage,需要程序员手动管理内存。在opencv2.0后,opencv引入了C++,Mat类就是其中一个变化。 Mat类似于STL中的容器类,能够动态管理内存。Mat类两部分数据,第一个是数据头(mat... 阅读全文
posted @ 2014-05-23 20:19 P.wang 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 今天阅读opencv2.0手册的时候,看到一句话,很有感触:Unless you are targeting embedded platforms, there’s no point to using the old methods(unless you’re a masochist program... 阅读全文
posted @ 2014-05-23 19:25 P.wang 阅读(171) 评论(0) 推荐(0) 编辑