摘要: voidBitMatToWnd(CWnd* pWnd, cv::Mat img, CRect *Roi){ if(img.empty()) return; CRect drect; pWnd->GetClientRect(drect); //(drect); (&drect); 两种方式均可,竟然 CClientDC dc(pWnd); HDC hDC =dc.GetSafeHdc(); //内存中的图像数据拷贝到屏幕上 BYTE *bitBuffer = NULL; BITMAPINFO *bitMapinfo =... 阅读全文
posted @ 2013-04-16 23:06 ahuo 阅读(1711) 评论(0) 推荐(0) 编辑
摘要: opencv\modules\core\include\opencv2\core\version.hpp修改:#define CV_MAJOR_VERSION 2#define CV_MINOR_VERSION 4#define CV_SUBMINOR_VERSION 0opencv配置:opencv\cmake目录下 阅读全文
posted @ 2013-04-16 11:23 ahuo 阅读(644) 评论(0) 推荐(0) 编辑