OpenCV 2 学习笔记(2): OpenCV 2 介绍

the OpenCV library is divided into several modules. These modules are built in library files located in the lib directory. They are:
The opencv_core module that contains the core functionalities of thelibrary, in nparticular,the basic data structures and arithmetic functions.
The opencv_imgproc module that contains the main image processing functions.
The opencv_highgui module that contains the image and video reading and writingfunctions, along with other user interface functions.
The opencv_features2d module that contains the feature point detectors and descriptorsand the feature point matching framework.
The opencv_calib3d module that contains the camera calibration,two-view geometryestimation, and stereo functions.
The opencv_video module that contains the motion estimation,feature tracking, and foreground extraction functions and classes.
The opencv_objdetectmodule containing the object detection functions such as the face and people detectors.
The library also includes other utility modules containing machine learningfunctions (opencv_ml),computationalgeometry algorithms ( opencv_flann), contributed code(opencv_contrib),obsolete code (opencv_legacy ), and GPUaccelerated code ( opencv_gpu ).
Opencv库分为许多模块,其中主要的有:
opencv_core模块,其中包括库中核心函数结构,特别是基础的数据结构和算术函数。
opencv_imgproc模块。包含图像处理函数。
opencv_highgui 模块。包含图像与视频读取与写入函数,也包含一些其它的用户界面函数。
opencv_features2d模块。包含特征点检测与描述函数和特征点匹配框架。
opencv_calib3d模块。包含摄像机标定、双视图几何估计、立体函数。
opencv_video模块。包含行动估计、特征追踪、前景提取功能和类。
opencv_objdetect模块。包含对象检测函数例如人脸和人物检测。
除了这些还有其它的工具模块例如包含机器学习函数的模块opencv_ml、计算几何算法opencv_flann、contributed code opencv_contrib、以前代码opencv_legacy、GPU加速代码opencv_gpu等。
所有的这些模块都有一个头文件与之关联,在include文件夹中。典型的OpencvC++代码会通过包含所需模块开始。例如:
#include<opencv2/core/core.hpp>
#include<opencv2/imgproc/imgproc.hpp>
#include<opencv2/highgui/highgui.hpp>
例如#include"cv.h"这种格式是在模块化以前的过时格式。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值