OpenCv
chenbeifang
这个作者很懒,什么都没留下…
展开
-
VS2017 OpenCV环境配置
1、右键C++项目进入属性管理器,通用属性-VC++目录,包含目录 选择编辑,添加OpenCV目录下include目录,如图 2、通用属性-VC++目录-库目录 3、链接器-输入-附加依赖项 ...原创 2019-04-29 14:14:14 · 2694 阅读 · 0 评论 -
OpenCV动态画矩形框
#include "pch.h" #include <iostream> #include <opencv2\opencv.hpp> using namespace cv; using namespace std; #define Mouse Point pt;//起始点 Point endPoint;//鼠标移动点 bool IsMouseDown = false; ...原创 2019-04-29 16:56:27 · 1362 阅读 · 0 评论 -
OpenCv 图像加减运算
#include <iostream> #include <opencv2\opencv.hpp> using namespace std; using namespace cv; #define wise//subtract//add int main() { //std::cout << "Hello World!\n"; Mat img1...原创 2019-05-07 10:49:28 · 2184 阅读 · 0 评论 -
OpenCv 鼠标截图 滑动播放视频
#include <iostream> #include <opencv2/opencv.hpp> using namespace cv; using namespace std; #define SliderVideo//ClipImage Mat img = imread("E:/test/MySource/OpenCV/OpenCv3/1.jpg"); Mat ...原创 2019-05-07 10:51:37 · 232 阅读 · 0 评论 -
OpenCv图像通道分离 合并
#define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <opencv2\opencv.hpp> using namespace std; using namespace cv; int main() { Mat img = imread("E:/test/MySource/OpenCV/1.jpg...原创 2019-05-07 11:27:00 · 612 阅读 · 0 评论