【OpenCV】OpenCV函数精讲之 -- “opencv.hpp” 头文件

OpenCV 同时被 2 个专栏收录
34 篇文章 2 订阅

# include <opencv2/opencv.hpp>头文件定义类似如下:

# include <opencv2/opencv.hpp>

# ifndef_OPENCV_ALL_HPP_

#define_OPENCV_ALL_HPP_

 

# include "opencv2/core/core_c.h"

# include "opencv2/core/core.hpp"

# include "opencv2/flann/miniflann.hpp"

# include "opencv2/imgproc/imgproc_c.h"

# include "opencv2/imgproc/imgproc.hpp"

# include "opencv2/photo/photo.hpp"

# include "opencv2/video/video.hpp"

# include "opencv2/features2d/features2d.hpp"

# include "opencv2/objdetect/objdetect.hpp"

# include "opencv2/calib3d/calib3d.hpp"

# include "opencv2/m1/m1.hpp"

# include "opencv2/highgui/highgui_c.h"

# include "opencv2/highgui/highgui.hpp"

# include "opencv2/contrib/contrib.hpp"

# endif

opencv.hpp已经包含了OpenCV各模块的头文件,所以在编写core、objdetect、imgproc、photo、features2d、calib3d、m1、highgui、contrib模块的应用程序时,原则上仅写一句“# include <opencv2/opencv.hpp>”即可。

 

 

  • 1
    点赞
  • 1
    评论
  • 18
    收藏
  • 一键三连
    一键三连
  • 扫一扫,分享海报

©️2021 CSDN 皮肤主题: 技术黑板 设计师:CSDN官方博客 返回首页
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值