随笔分类 -  opencv

该文被密码保护。
posted @ 2019-12-02 20:34 星空与沧海 阅读(18) 评论(0) 推荐(0) 编辑
摘要:```function writeXML(cameraParams,file)%writeXML(cameraParams,file)%功能:将相机校正的参数保存为xml文件%输入:%cameraParams:相机校正数据结构%file:xml文件名%说明在xml文件是由一层层的节点组成的。%首先创建父节点 fatherNode,%然后创建子节点 childNode=docNode.createE... 阅读全文
posted @ 2019-11-14 21:04 星空与沧海 阅读(623) 评论(0) 推荐(0) 编辑
摘要://视频录制******保存路径为工程默认路径 //#include<iostream> //#include<opencv2/opencv.hpp> // //using namespace cv; //using namespace std; // //int main() //{ // Vid 阅读全文
posted @ 2019-10-31 19:35 星空与沧海 阅读(402) 评论(0) 推荐(0) 编辑
摘要:相机标定:https://blog.csdn.net/y2c58s43d69g8h7G_g/article/details/97239418 畸变参数个数要是镜头太凸的话,就像鱼眼相机和哨兵150视角,就选3 FocalLength 焦距 PrincipalPoint 主点 RadialDistor 阅读全文
posted @ 2019-10-27 08:48 星空与沧海 阅读(277) 评论(0) 推荐(0) 编辑
摘要:``` include include include include using namespace std; using namespace cv; Mat MoveDetect(Mat temp, Mat frame); int main() { VideoCapture video(1);/ 阅读全文
posted @ 2019-09-19 14:39 星空与沧海 阅读(1271) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2019-09-02 18:58 星空与沧海 阅读(23) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2019-09-02 18:56 星空与沧海 阅读(7) 评论(0) 推荐(0) 编辑
摘要:``` include include include include include include using namespace cv; using namespace std; / 求两点间距离 / float getDistance(CvPoint pointO, CvPoint poin 阅读全文
posted @ 2019-08-31 11:17 星空与沧海 阅读(163) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2019-08-30 20:56 星空与沧海 阅读(2) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2019-08-27 19:21 星空与沧海 阅读(15) 评论(0) 推荐(0) 编辑
摘要:``` #include #include #include #include #include #include #include #include #include using namespace std; using namespace cv; using namespace ml; int main() { VideoCapture c... 阅读全文
posted @ 2019-07-28 10:41 星空与沧海 阅读(412) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2019-07-25 20:26 星空与沧海 阅读(9) 评论(0) 推荐(0) 编辑
摘要:通常,随着从简单的测量(平方差)到更复杂的测量(相关系数),可以获得越来越准确的匹配,然而,这同时也会以越来越大的计算量为代价。比较科学的方法是对所有这些方法多次测试实验,以便为自己的应用选择同时兼顾速度和精度的最佳方案 阅读全文
posted @ 2019-07-24 14:46 星空与沧海 阅读(1590) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2019-07-23 17:07 星空与沧海 阅读(22) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2019-07-22 21:16 星空与沧海 阅读(7) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2019-07-21 08:49 星空与沧海 阅读(13) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2019-07-21 08:38 星空与沧海 阅读(17) 评论(0) 推荐(0) 编辑
摘要:```#include #include#includeusing namespace cv;using namespace std;Mat img;//灰度值归一化Mat bgr;//HSV图像Mat hsv;//色相int hmin = 8;int hmax = 23;int smin = 43;int smax = 255;int vmin = 46;int vmax = 255;int h... 阅读全文
posted @ 2019-07-21 08:31 星空与沧海 阅读(269) 评论(0) 推荐(0) 编辑
摘要:``` include include include using namespace cv; using namespace std; //输入图像 Mat img; //灰度值归一化 Mat bgr; //HSV图像 Mat hsv; //色相 string windowName = "src" 阅读全文
posted @ 2019-07-20 14:29 星空与沧海 阅读(781) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示