OpenCV C++编程
OpenCV C++编程
SongYuLong的博客
学无止境
展开
-
ubuntu16.04 opencv环境搭建
1.下载opencv源码:http://opencv.org/releases.html2.解压源码压缩包:unzip opencv-3.4.0.ziportar xvf opencv-3.4.0.tar.gz3.安装相关依赖:sudo apt-get install cmake sudo apt-get install build-essential libg...原创 2018-09-16 19:06:03 · 461 阅读 · 0 评论 -
openCV 基本数据类型
结构成员涵义CvPointint x, y图像中的点CvPoint2D32ffloat x, y二维空间中的点CvPoint2D64fdouble x, y二维空间中的点CvPoint3D32ffloat x, y, z三维空间中的点CvPoint3D64fdouble x, y, z三维空间中的点CvSizeint wid...原创 2018-09-19 21:44:38 · 345 阅读 · 0 评论 -
openCV 视频 cvLogPolar 对数极坐标变换
#include "opencv2/core.hpp"#include "opencv2/highgui.hpp"#include "opencv2/imgproc.hpp"#include "opencv2/videoio.hpp"#include <iostream>using name原创 2018-09-18 15:31:26 · 901 阅读 · 0 评论 -
openCV cvPyrDown cvPyrUp Canny 图像缩放,边缘检测
#include "opencv2/core.hpp"#include "opencv2/highgui.hpp"#include "opencv2/imgproc.hpp"#include "opencv2/videoio.hpp"#include "opencv2/imgcodecs.hpp"using n原创 2018-09-18 14:22:27 · 499 阅读 · 0 评论 -
openCV smooth平滑处理
#include "opencv2/core.hpp"#include "opencv2/highgui.hpp"#include "opencv2/imgproc.hpp"#include "opencv2/videoio.hpp"#include <iostream>using name原创 2018-09-18 12:40:01 · 2586 阅读 · 0 评论 -
openCV 播放视频 带进度条
#include "opencv2/core.hpp"#include "opencv2/highgui.hpp"#include "opencv2/imgproc.hpp"#include "opencv2/videoio.hpp"#include <iostream>using namespace std;using namespace cv;int g_sl...原创 2018-09-17 21:28:03 · 1215 阅读 · 0 评论 -
openCV 播放视频文件
#include "opencv2/core.hpp"#include "opencv2/highgui.hpp"#include "opencv2/imgproc.hpp"#include "opencv2/videoio.hpp"using namespace std;using namespace cv;int main(int argc, char **argv){ ...原创 2018-09-17 21:05:12 · 2388 阅读 · 0 评论 -
openCV 显示图片
#include "opencv2/core.hpp"#include "opencv2/highgui.hpp"#include "opencv2/imgproc.hpp"#include "opencv2/videoio.hpp"#include <iostream>using namespace std;using namespace cv;int main(i...原创 2018-09-17 20:51:12 · 1778 阅读 · 0 评论 -
openCV 打开摄像头
#include "opencv2/core.hpp"#include "opencv2/imgproc.hpp"#include "opencv2/highgui.hpp"#include "opencv2/videoio.hpp"#include <iostream>using namespace std;using namespace cv;void dra...原创 2018-09-17 20:11:11 · 324 阅读 · 0 评论 -
openCV ROI
#include "opencv2/core.hpp"#include "opencv2/imgproc.hpp"#include "opencv2/highgui.hpp"#include "opencv2/videoio.hpp"#include <iostream>using namespace std;using namespace cv;//仅最大化HSV图...原创 2018-09-21 20:21:52 · 358 阅读 · 0 评论