
OpenCV学习
文章平均质量分 76
hnu_zxc
学无止境
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
opencv初识
1、创建一个100*100的3通道图像,先把图设置成黑色,再用cvCircle画一个圆,最后显示之。 #include "stdafx.h" #include #include #include #include int _tmain(int argc, _TCHAR* argv[]) { //IPlImage * img = cvCreatMat( IplImage * img原创 2012-08-23 23:57:28 · 6073 阅读 · 0 评论 -
OpenCV 接收鼠标消息——用鼠标画长方形
创建一幅黑色的图像,显示后,用鼠标在显示窗口中,拖动以画出长方形: #include "stdafx.h" #include #include #include void myMouseCallBack(int event, int x, int y, int flags, void * param); CvRect box; bool drawing_box = false; v原创 2012-08-25 13:50:27 · 3475 阅读 · 0 评论