OpenCV学习笔记-opencv介绍

OpenCV(Open source Computer Vision library)开源计算机视觉库。

基于BSD开源

图像处理,计算机视觉

跨平台:Windows,Linux,Moc OS,IOS,Android

编程接口:C, C++, Python, Java, Matlab

编程环境搭建

下载OpenCV3.4.0

https://www.opencv.org/releases.html

点击Win pack下载Windows版本,opencv-3.4.0-vc14_vc15.exe

OpenCV学习笔记-opencv介绍_第1张图片

解压到某个目录
OpenCV学习笔记-opencv介绍_第2张图片

安装VS2015社区版 (VS2015=vc14)

VS2015社区版官方中文版下载:

http://download.microsoft.com/download/B/4/8/B4870509-05CB-447C-878F-2F80E4CB464C/vs2015.com_chs.iso

VS2015中配置OpenCV

新建一个win32控制台工程,空项目,属性管理器
OpenCV学习笔记-opencv介绍_第3张图片

Microsoft.Cpp.x64.user,双击,

包含目录:
OpenCV学习笔记-opencv介绍_第4张图片

库目录:
OpenCV学习笔记-opencv介绍_第5张图片

工程附加依赖项,Debug: opencv_world340d.lib; Release:opencv_world340.lib

OpenCV学习笔记-opencv介绍_第6张图片

工程输出目录修改:

OpenCV学习笔记-opencv介绍_第7张图片

OpenCV学习笔记-opencv介绍_第8张图片

新添QeC01.cpp

#include 

using namespace cv;

int main()
{
Mat imgSrc = imread("e:\\qetang\\Studyopencv\\images\\t.jpg");
imshow("imgsrc", imgSrc);

waitKey(5000);

return 0;
}

将opencv_world340d.dll拷贝到工程输出目录(….\bin\x64\Debug)下

将opencv_world340.dll拷贝到工程输出目录(….\bin\x64\Release)下

运行

OpenCV组成模块

core. Core functionality(核心功能)
imgproc. Image processing(图像处理)
imgcodecs. Image file reading and writing(图像文件读写)
videoio. Video I/O(视频输入输出)
highgui. High-level GUI(高级用户界面)
video. Video Analysis(视频分析)
calib3d. Camera Calibration and 3D Reconstruction(摄像机校准和3D重构 )
features2d. 2D Features Framework
objdetect. Object Detection
dnn. Deep Neural Network module
ml. Machine Learning
flann. Clustering and Search in Multi-Dimensional Spaces
photo. Computational Photography
stitching. Images stitching
cudaarithm. Operations on Matrices
cudabgsegm. Background Segmentation
cudacodec. Video Encoding/Decoding
cudafeatures2d. Feature Detection and Description
cudafilters. Image Filtering
cudaimgproc. Image Processing
cudalegacy. Legacy support
cudaobjdetect. Object Detection
cudaoptflow. Optical Flow
cudastereo. Stereo Correspondence
cudawarping. Image Warping
cudev. Device layer
shape. Shape Distance and Matching
superres. Super Resolution
videostab. Video Stabilization
viz. 3D Visualizer

Extra modules:
aruco. ArUco Marker Detection
bgsegm. Improved Background-Foreground Segmentation Methods
bioinspired. Biologically inspired vision models and derivated tools
ccalib. Custom Calibration Pattern for 3D reconstruction
cnn_3dobj. 3D object recognition and pose estimation API
cvv. GUI for Interactive Visual Debugging of Computer Vision Programs
datasets. Framework for working with different datasets
dnn_modern. Deep Learning Modern Module
dpm. Deformable Part-based Models
face. Face Analysis
freetype. Drawing UTF-8 strings with freetype/harfbuzz
fuzzy. Image processing based on fuzzy mathematics
hdf. Hierarchical Data Format I/O routines
img_hash. The module brings implementations of different image hashing algorithms.
line_descriptor. Binary descriptors for lines extracted from an image
matlab. MATLAB Bridge
optflow. Optical Flow Algorithms
ovis. OGRE 3D Visualiser
phase_unwrapping. Phase Unwrapping API
plot. Plot function for Mat data
reg. Image Registration
rgbd. RGB-Depth Processing
saliency. Saliency API
sfm. Structure From Motion
stereo. Stereo Correspondance Algorithms
structured_light. Structured Light API
surface_matching. Surface Matching
text. Scene Text Detection and Recognition
tracking. Tracking API
xfeatures2d. Extra 2D Features Framework
ximgproc. Extended Image Processing
xobjdetect. Extended object detection
xphoto. Additional photo processing algorithms

你可能感兴趣的:(OpenCV,opencv配置vs2010)