Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - vc p
Search - vc p - List

网上和书上的例子是openvc在测试平台上的应用,对于与mfc结合很少,这个例子是我自己编的一个小程序


Date : 2008-05-15 Size : 156.64kb User : phpmoda

基于VC的图象读写引擎库


Date : 2008-06-13 Size : 796.12kb User : jixiang

在利用opencv库进行编程中两个常见的问题的解决方法,十分有效!

以openCV的使用为例,并结合个实验经验,总结一下在使用其它库进行编程时VC环境下编译与链接时经常遇到的两个错误的解决办法.

1.编译错误

问题描述:编译时,出现编译如下编译错误:

fatal error C1083: Cannot open include file: 'cv.h': No such file or directory

意思是找不到语句 #include "cv.h" 的cv.h头文件.

解决办法:在工程环境下,Tools->Options->Directories,在页内Show directories for下拉列表框中选择 Include files,然后在Directories列表框中添加上cv.h的路径,
如:D:\OPENCV\CV\INCLUDE,再编译就能找到cv.h头文件了.

2.链接错误

问题描述:链接时出现如下错误:

Linking...

test.obj : error LNK2001: unresolved external symbol _cvCanny

Debug/cvtest.exe : fatal error LNK1120: 1 unresolved externals

解决办法:明明知道cvCanny函数(_cvCanny是纯C编译生成的目标文件的函数名)的原型说明在文件cv.h中,怎么又出现链接错误呢,可能是静态链接库的问题(可能还有其它的原因),
然后有两各解决办法:(1).通过project->Add to project->Files, 将cv.lib加到工程中(2).①Tools->Options->Directories,Show directories for下拉列表框中
选择 Library files,然后在Directories列表框中添加上cv.lib的路径,如:D:\OPENCV\LIB ② project->settings下的LINK属性页下,在Object/Library modules 的文本框中
加上 cv.lib 后,点击确定.此时链接通过.

 

仅为个人的实验经验,有可能不全面或错误.
 


Date : 2008-12-04 Size : 974byte User : simon112233

在VC++中用CMSChart实现曲线的绘制
利用计时器每个一段时间产生一个随机数,并插入到曲线图中显示,如果图中的数据点大于30个,则在插入新数据的同时,删除下标最小的数据点。实时曲线图显示在对话框中


Date : 2008-12-30 Size : 2.17mb User : albertddd

图像处理的拉普拉斯锐化VC源码,在边缘检测中应用


Date : 2009-02-09 Size : 2.82mb User : pinsan

VC图像处理源代码,包括图形库,大量位图和调色板源代码。实用。-VC image processing source code, including the graphics library, a large number of bitmap and palette source code. Practical.
Date : 2025-12-20 Size : 1.71mb User : 美丽

这是一个基于颜色特征的图像检索系统,通过打开一幅图,然后,查找与之相似的一些图片-This is a color feature based image retrieval system, by opening a map, and then to find some pictures with similar
Date : 2025-12-20 Size : 289kb User : 灿灿

基于VC++6.0,利用哈夫曼编码对BMP图像进行编码并储存为*.huf格式的文件,同时也可对*.huf格式的文件进行解码,储存为*.bmp格式的图像-Based on VC++6.0, the use of Huffman coding to encode the image of BMP and saved as*. huf format, but also right*. huf decode the file format, stored as a*. bmp format images
Date : 2025-12-20 Size : 3.54mb User : ft5272633
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.