摘要: 1,读取照片(imread())2,处理照片(cvtcolor())3,命名窗口(namewindow())4,显示照片(imshow())5,保存照片(imwrite()) 1 #include 2 #include"cv.h"//包含基本的图片功能 3 #include"highgui.h"//... 阅读全文
posted @ 2014-08-24 21:45 SYTM 阅读(190) 评论(0) 推荐(0)
摘要: 安装opencv文件时若需要cmake编译,如果中间出现解决办法是:在opencv的文件中找到包含cmakelist.txt的文件夹,把where is the source code:的路径改成它。然后在where to build the binaries 的路径中写上任何一个不存在的路径,当出... 阅读全文
posted @ 2014-08-24 20:42 SYTM 阅读(803) 评论(0) 推荐(0)