ImageVerifierCode 换一换
格式:DOCX , 页数:27 ,大小:350.90KB ,
资源ID:22457089      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/22457089.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(Opencv库的应用Word格式.docx)为本站会员(b****8)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

Opencv库的应用Word格式.docx

1、题目类型:理论研究 实验研究 工程设计 工程技术研究 软件开发 应用研究摘 要大多数计算机科学家和程序员已经意识到计算机视觉的重要作用。但是很少有人知道计算机视觉的所有应用。例如,大多数人或多或少地知道计算机视觉可用在监控方面,也知道视觉被越来越多地用在网络图像和视频方面。少数人也了解计算机视觉在游戏界面方面的应用。但是很少有人了解大多数航空和街道地图图像(如Google的Street View)也大量使用计算机定标和图像拼接技术。一些人知道安全监控、无人飞行器或生物医学分析等方面的应用,但是很少人知道机器视觉是多么广泛地被用在工厂中:差不多所有的大规模制造的产品都在流水线上的某个环节上自动使

2、用视觉检测。OpenCV诞生于Intel研究中心,其目的是为了促进CPU密集型应用。为了达到这一目的,Intel启动了多个项目,包括实时光线追踪和三维显示墙。一个在Intel工作的OpenCV作者在访问一些大学时,注意到许多顶尖大学中的研究组(如MIT媒体实验室)拥有很好的内部使用的开放计算机视觉库- (在学生们之间互相传播的代码),这会帮助一个新生从高的起点开始他/她的计算机视觉研究。这样一个新生可以在以前的基础上继续开始研究,而不用从底层写基本函数。因此,OpenCV的目的是开发一个普遍可用的计算机视觉库。在Intel的性能库团队的帮助下 ,OpenCV实现了一些核心代码以及算法,并发给I

3、ntel俄罗斯的库团队。这就是OpenCV的诞生之地:在与软件性能库团队的合作下,它开始于Intel的研究中心,并在俄罗斯得到实现和优化。俄罗斯团队的主要负责人是Vadim Pisarevsky,他负责管理项目、写代码并优化OpenCV的大部分代码,在OpenCV中很大一部分功劳都属于他。跟他一起,Victor Eruhimov帮助开发了早期的架构,Valery Kuriakin管理俄罗斯实验室并提供了很大的支持。在开始时,OpenCV有以下三大目标。为基本的视觉应用提供开放且优化的源代码,以促进视觉研究的发展。能有效地避免闭门造车。通过提供一个通用的架构来传播视觉知识,开发者可以在这个架构上

4、继续开展工作,所以代码应该是非常易读的且可改写。本库采用的协议不要求商业产品继续开放代码,这使得可移植的、性能被优化的代码可以自由获取,可以促进基于视觉的商业应用的发展。这些目标说明了OpenCV的缘起。计算机视觉应用的发展会增加对快速处理器的需求。与单独销售软件相比,促进处理器的升级会为Intel带来更多收入。这也许是为什么这个开放且免费的库出现在一家硬件生产企业中,而不是在一家软件公司中。从某种程度上说,在一家硬件公司里,在软件方面会有更多创新的空间。OpenCV所有的开放源代码协议允许你使用OpenCV的全部代码或者OpenCV的部分代码生成商业产品。使用了OpenCV后,你不必对公众开

5、放自己的源代码或改善后的算法,虽然我们非常希望你能够开放源代码。许多公司(IBM,Microsoft,Intel,SONY,Siemens和Google等其他公司)和研究单位(例如斯坦福大学、MIT、CMU、剑桥大学和INRIA)中的人都广泛使用OpenCV,其部分原因是OpenCV采用了这个宽松的协议。Yahoo groups里有一个OpenCV论坛( 000个会员。OpenCV在全世界广受欢迎,在中国、日本、俄罗斯、欧洲和以色列都有庞大的用户群。自从OpenCV在1999年1月发布alpha版本开始,它就被广泛用在许多应用领域、产品和研究成果中。相关应用包括卫星地图和电子地图的拼接,扫描图

6、像的对齐,医学图像去噪(消噪或滤波),图像中的物体分析,安全和入侵检测系统,自动监视和安全系统,制造业中的产品质量检测系统,摄像机标定,军事应用,无人飞行器,无人汽车和无人水下机器人。将视觉识别技术用在声谱图上,OpenCV可以进行声音和音乐识别。在斯坦福大学的Stanley机器人项目中,OpenCV是其视觉系统的关键部分。Stanley在DARPA机器人沙漠挑战赛中,赢得了二百万美元奖金。OpenCV的目标是为解决计算机视觉问题提供基本工具。在有些情况下,它提供的高层函数可以高效地解决计算机视觉中的一些很复杂的问题。当没有高层函数时,它提供的基本函数足够为大多数计算机视觉问题创建一个完整的解

7、决方案。对于后者,有几个经过检验且可靠的使用OpenCV的方法;所有这些方法都是首先大量使用OpenCV函数来解决问题。一旦设计出解决方案的第一个版本,便会了解它的不足,然后可以使用自己的代码和知识来解决(更为广知的一点是解决实际遇到的问题,而不是你想像出来的问题)。你可以使用第一个版本的解决方案作为一个基准,用之评价解决方案的改进程度。解决方案所存在的不足可以通过系统所用的环境限制来解决。关键字: OpenCV ; 算法 ; 视觉 ; 系统 AbstractMost computer scientists and programmers have realized the important

8、 role of computer vision. But few people know all applications of computer vision. For example, most people more or less know that computer vision can be used in monitoring, also know that vision has been increasingly used in network image and video. A few people also understand the applications of

9、computer vision in the game interface. But few people know most airlines and Street map image (such as Googles Street View) is also extensive use of computer calibration and image matching technology. Some know security monitoring, unmanned aerial vehicles, or the application of biomedical analysis,

10、 but few know how machine vision is widely used in the factory: are the products made in almost all of the mass on the assembly line of a certain link automatically using visual inspection. OpenCV, was born at Intel research center, its purpose is to promote the CPU intensive applications. In order

11、to achieve this goal, Intel launched multiple projects, including real-time ray tracing and 3 d display wall. A work in Intel OpenCV author during a visit to some university, noted that many of the top universities in the team (e.g., MIT media lab) to have good internal use of open computer vision l

12、ibrary - (the code) to spread each other between the students, it will help a new student from a high starting point of his/her computer vision research. Such a freshman can on the basis of the previous continue to research, instead of from the bottom to write basic function. OpenCV, therefore, the

13、purpose is to develop a general computer vision of available libraries. In the team, with the help of the performance of the Intel OpenCV implements some core code and algorithm, and given a Intel team of Russia. This is the birthplace of OpenCV: under the cooperation with software teams performance

14、, it begins with Intels research centre, and implemented in Russia and optimization. The major persons-in-charge of the Russian team is Vadim Pisarevsky, he is responsible for managing the project, writing code and optimize OpenCV most of the code, a large part of the credit in the OpenCV belong to

15、him. Together with him, Victor Eruhimov helps to develop the early architecture, Valery Kuriakin Russia management of laboratory and provides great support. In the beginning, OpenCV has the following three goals. To provide basic visual application open and optimization of the source code, to promot

16、e the development of vision research. Can effectively avoid the closed. By providing a common framework to spread knowledge vision, developers can continue to work on this architecture, so the code should be very easy to read and can be changed. This library USES the agreement does not require comme

17、rcial products continue to open the code, which makes the portable, performance can be optimized code free access, can promote the development of commercial application based on vision. These goals illustrates the origin of OpenCV. The development of computer vision application will increase the dem

18、and for fast processor. Compared with single selling software, and promote the upgrade will bring more revenue for the Intel processor. This is perhaps why the open and free library appears in a hardware manufacturing enterprise, rather than in a software company. To some extent, in a hardware compa

19、ny, there will be more innovative space in terms of software.   OpenCV all open source agreement allows you to use all the code or OpenCV OpenCV part of the code generation of commercial products. After using the OpenCV, you dont have to be open to the publics own source code or the improved al

20、gorithm, though we really hope you can open the source code. Many companies (IBM, Microsoft, Intel, SONY, Siemens, and Google and other companies) and research unit (for example, MIT, Stanford university, CMU, university of Cambridge and the INRIA) are widely used in the OpenCV, part of the reason i

21、s OpenCV adopted the easy agreement. Yahoo groups in a OpenCV BBS ( users can post questions here and discussed; The BBS about 20, 000 members. OpenCV is popular all over the world, in China, Japan, Russia, Europe and Israel has a large user group. Since the OpenCV in January 1999 alpha version, it

22、is widely used in many applications, products, and in research. Related applications include satellite map and electronic map of stitching, scan image alignment, medical image denoising (or filter) denoising, image of the object analysis, security and intrusion detection system, automatic monitoring

23、 and security systems, manufacturing of products quality inspection system, camera calibration, military applications, unmanned aerial vehicles, unmanned vehicles and unmanned underwater robot. The visual identification technology in the spectrogram, OpenCV can be used to identify the sound and musi

24、c. At Stanford universitys Stanley robot project, OpenCV is the key part of the visual system. Stanley in DARPA robot desert challenge, won a $two million bonus. OpenCVs goal is to solve the problem of computer vision to provide basic tools. In some cases, it can provide a high-level function effici

25、ently solve some complex problems in computer vision. When there is no high-level function, it provides the basic function is enough for most of the computer vision problems to create a complete solution. In the latter case, there are several proven and reliable to use OpenCV method; All of these me

26、thods are the first extensive use of OpenCV function to solve the problem. Once the design solution for the first version, will know it is not enough, you can then use your own code and knowledge to solve (more widely known point is to solve practical problems, rather than you imagined problem). You

27、 can use the first version of the solution as a benchmark, in the evaluation of degree of improvement solution. Of the defects in the solution can be used by the system to solve the environmental limitation. Key words :OpenCV ;The algorithm ; Visual ; system 目 录1 实验目的与任务 11.1 了解OPENCV的算法 11.2 了解OPEN

28、CV的一般应用方法。 12 OpenCV 12.1 Opencv简介 12.2 主要应用范围 23 调试optical_flow_demo.cpp 33.1 程序 43.2 逻辑、实现过程以及作用 74 OpenCV应用 84.2 程序分析 94.2 程序分析 165 实验总结 161 实验目的与任务1.1 了解OPENCV的算法2 OpenCV2.1 Opencv简介OpenCV是开源的计算机视觉库,自1999以来由英特尔开发。写在C / C + +;包含超过500个函数,可以在Windows,Linux和MacOSX运行。到目前为止被广泛使用在许多公司和研究中心。OpenCV提供的视觉处理

29、算法非常丰富,并且它部分以C语言编写,加上其开源的特性,处理得当,不需要添加新的外部支持也可以完整的编译链接生成执行程序,所以很多人用它来做算法的移植,OpenCV的代码经过适当改写可以正常的运行在DSP系统和单片机系统中,这种移植在大学中经常作为相关专业本科生毕业设计或者研究生课题的选题。2.2 主要应用范围OpenCV结构中包含CV:图像处理和视觉算法,HighGUI:图像和视频的I / O,CXCORE:持XML的基本结构和算法,绘制功能。HighGUI可以创建窗口;对图像的I / O进行渲染;处理按键、超时以及其它事件;以及对跟踪条,鼠标回调视频I / O进行处理。cxcore提供了大

30、量的绘图功能,包括:线,圆,椭圆,椭圆弧,填充多边形或多边形轮廓,文本(使用一个嵌入式字体),一切可绘制不同的颜色,不同的线宽度,反走样的开/关,支持任意类型的图像。应用领域:人机互动,物体识别,图象分割,人脸识别,动作识别,运动跟踪,机器人,运动分析,机器视觉,结构分析。对相关程序test进行分析,代码如下:运行过后生成图片1。1. #include 2. #include 3. #include 4. int main( int argc, char* argv ) 5. CvPoint center;6. double scale=-3;7. IplImage* image = argc

31、=2 ? cvLoadImage(argv1) : 0;8. if(!image) return -1;9. center = cvPoint(image-width/2,image-height/2);10. for(int i=0;iheight;i+)11. for(int j=0;jwidth;j+) 12. double dx=(double)(j-center.x)/center.x;13. double dy=(double)(i-center.y)/center.y;14. double weight=exp(dx*dx+dy*dy)*scale);15. uchar* ptr = &CV_IMAGE_ELEM(image,uchar,i,j*3);16. ptr0 = cvRound(ptr0*weight);17. ptr1 = cvRound(ptr1*weight)

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1