你好,欢迎来到经管之家 [登录] [注册]

设为首页 | 经管之家首页 | 收藏本站

基于USB2.0总线的图象采集系统_自动化专业论文

发布时间:2015-01-22 来源:人大经济论坛
自动化专业论文范文 目 录 一 引言1 二 系统功能的实现原理2 2.1 系统实现目标2 2.2 系统的工作原理2 2.3 系统的实现流程2 三 系统硬件设计3 3.1 图像传感器OV77203 3.2 USB控制器FX23 3.3 通用串行总线(USB)概述4 3.3.1 USB2.0系统的结构4 3.3.2 USB 2.0总线协议5 3.3.3 数据流类型5 3.3.4 USB通信6 四 系统的应用程序设计7 4.1 MFC简介7 4.2设备的访问7 4.3读取设备数据9 4.4关闭设备10 4.5 显示模块10 4.5.1 位图部分10 4.5.2 构造位图并显示12 4.6 实时显示图像模块15 4.7 保存图像模块16 五 结束语20 谢辞21 参考文献22 摘 要 图像采集系统采用实时图像采集技术,在当今各个领域都有着极其广泛的应用,如使用在医疗器械、工业控制、图像模式识别等各个领域。 本设计介绍了一个基于USB2.0总线的图像采集系统。本系统中,首先通过摄像头OV7220采集图像信息,然后再传输给USB芯片EZ-USB FX2进行进一步的处理,再通过USB总线传输给主机,实现实时显示。本文主要讲述了其应用程序设计,应用程序利用VC++编写。首先利用VC的MFC生成应用程序界面和相应的命令按钮,再编写C++代码实现相应的功能。命令按钮实现的功能有打开、关闭USB设备,接收发送过来的图像信息、并构造位图、实现图像的实时显示,还能保存用户感兴趣的图像。本文详细的讲解了位图的基本结构、位图的构造、位图的显示和保存、主机和USB设备之间通信、读写USB设备和控制USB设备。 关键词:图像采集  EZ-USB FX2  USB Image acquisition system design Base on USB2.0 ( Application Design) ABSTRACT Image acquisition system which uses real-time image acquisition technology has a very wide range of applications in various fields today, such as used in medical equipment, industry control, image pattern recognition, and other fields. An image acquisition system which delivers image data based on USB 2.0 is introduced in this design. The system, first of all, through camera OV7220 collects images information, and then transfers to the USB chip EZ-USB FX2 for further treatment, and then through the USB bus transfers to the host, achieves real-time display. This article is mainly on its application design programmed by VC + +.First application interface and the corresponding order buttons are made by the MFC of VC, and then the C + + code are programmed to achieve the corresponding function. the functions of the order buttons are to open and close the USB devices, accept the image information and structure of bitmap to achieve real-time display images that can saved by users if interested in the image. This article detailed introduces the basic structure of the bitmap, the display and preservation of the bitmap, the communications between the host and USB devices, reading and writing USB devices, controlling USB devices. Key words:Image Acquisition EZ-USB FX2 USB
经管之家“学道会”小程序
  • 扫码加入“考研学习笔记群”
推荐阅读
经济学相关文章
标签云
经管之家精彩文章推荐