首先检查自己的机器是否支持,否则都是白搭(只有NVIDIA的显卡才支持,可在设备管理器中查看)
如果不用GPU,可以直接官网下载预编译好的库
环境:
1 VS2013
2 Opencv2.4.9
3 CUDA6.5 (只有6.5版本以上版本才加入对VS2013的支持,6.0最高支持到2012)
4 TBB
--------------以下内容转自网络(加入了自己编译时...
分类:
其他好文 时间:
2014-11-17 17:48:02
阅读次数:
769
OpenCV中有自己的用于处理图片和视频的类,可以很方便的读入文件和显示。
现在视频数据流是ffmpeg解码h264文件得到的,由于要依赖该数据源进行相应的后续处理,所以需要将ffmpeg中得到的数据缓存转换成可以被OpenCV处理的Mat类对象。...
分类:
其他好文 时间:
2014-11-17 17:45:46
阅读次数:
293
Visual Studio OpenCV 开发环境配置
分类:
其他好文 时间:
2014-11-17 17:07:08
阅读次数:
191
They are two kinds of data structures you may serialize: mappings(like the STL map) and element sequence (like the STL vector>. The difference between...
分类:
其他好文 时间:
2014-11-17 15:45:16
阅读次数:
291
The Fourier Transform will decompose an image into its sinus and cosines components. In other words, it will transform an image from its spatial domai...
分类:
其他好文 时间:
2014-11-17 12:13:58
阅读次数:
599
creating a Random Number Generator object (RNG): RNG rng( 0xFFFFFFFF ); 创建并初始化随机数生成子 create a matrix initialized to zeros (which means that it will ap...
分类:
其他好文 时间:
2014-11-17 10:33:52
阅读次数:
350
Point It represents a 2D point, specified by its image coordinates and . We can define it as: Point pt;pt.x = 10;pt.y = 8; or Point pt = Point(10, 8);...
Brightness and contrast adjustments Two commonly used point processes are multiplication and addition with a constant: The parameters and are often ca...
分类:
其他好文 时间:
2014-11-16 21:24:27
阅读次数:
263
An interesting dyadic (two-input) operator is thelinear blend operator: #include #include #include using namespace cv; int main( int argc, char** argv...
分类:
其他好文 时间:
2014-11-16 21:23:44
阅读次数:
181
Mask operations on matrices are quite simple. The idea is that we recalculate each pixels value in an image according to a mask matrix (also known as ...
分类:
其他好文 时间:
2014-11-16 17:07:47
阅读次数:
212