一、
由于项目需要,原来用GDI做的画线的功能,新的项目中考虑到垮平台的问题,打算用openCV来实现,故此做个效率对比。
二、
2点做一条线,来测试效率。
用了同样的画板大小---256*256的大小,函数通过参数输入,用GetTickCount来实现计时功能。
三、
GDI的主要循代码如下:
void show_line(int line_num,int point_num)...
分类:
其他好文 时间:
2014-07-23 17:16:32
阅读次数:
319
使用多核编程的思想,结合openMP,opencv,完成对多路视频的同步播放。...
分类:
其他好文 时间:
2014-07-23 16:35:41
阅读次数:
332
1. 先从sourceforge上下载OpenCV的源码 http://jaist.dl.sourceforge.net/project/opencvlibrary/opencv-unix/2.4.9/opencv-2.4.9.zip 2. 解压到任意目录 unzip opencv-2.4.9.zip 3. 进入源码目录,创建release目...
分类:
其他好文 时间:
2014-07-23 14:00:06
阅读次数:
218
用VS2012安装OpenCV时出现这个错误,在网上搜索了很多解决方案,最终解决了问题。现在把这些解决方案汇总一下。
方案一:下载MSVCP100D.dll
1、复制文件“msvcr100d.dll”到系统目录下。
2、系统目录一般为:C:\WINNT\System32 64位系统为C:\Windows\SysWOW64。
3、最后点击开始菜单-->运行-->输入regsvr32...
分类:
其他好文 时间:
2014-07-22 23:44:47
阅读次数:
912
Transforming Images with Morphological Operations
分类:
其他好文 时间:
2014-07-22 23:28:47
阅读次数:
820
Extracting Lines,Contours, and Components
分类:
其他好文 时间:
2014-07-22 23:18:17
阅读次数:
641
Counting the Pixels with Histograms
分类:
其他好文 时间:
2014-07-22 23:14:32
阅读次数:
283
Using the Strategy pattern in algorithm design
分类:
其他好文 时间:
2014-07-22 23:13:12
阅读次数:
300