数字图像采集设备通用sdk的研究及其实现

上传人:E**** 文档编号:118175471 上传时间:2019-12-11 格式:PDF 页数:130 大小:3.63MB
返回 下载 相关 举报
数字图像采集设备通用sdk的研究及其实现_第1页
第1页 / 共130页
数字图像采集设备通用sdk的研究及其实现_第2页
第2页 / 共130页
数字图像采集设备通用sdk的研究及其实现_第3页
第3页 / 共130页
数字图像采集设备通用sdk的研究及其实现_第4页
第4页 / 共130页
数字图像采集设备通用sdk的研究及其实现_第5页
第5页 / 共130页
点击查看更多>>
资源描述

《数字图像采集设备通用sdk的研究及其实现》由会员分享,可在线阅读,更多相关《数字图像采集设备通用sdk的研究及其实现(130页珍藏版)》请在金锄头文库上搜索。

1、 安徽大学硕士学位论文 摘要 I 摘摘 要要 目前市场上数字图象采集设备种类繁多,品牌各异,应用领域也不尽相同。 商家在开发各自数字图像采集设备的时候, 提供给用户用于二次开发的专用SDK (Software development kit)均是根据自身产品而定制的,通用性很差。这样会 给使用多种数字图象采集设备的应用带来很大的不便,要针对不同的设备 SDK 开发相应的应用程序,一方面增加了工作量,另一方面也使得开发的应用程序兼 容性差,可移植性不好。本文着眼于专用 SDK 的不足,提出了一个通用 SDK 的 设计及其实现思路。 本文首先定义了实现通用SDK的框架结构, 并对通用SDK进行了详

2、细分类, 对其基础数据类型、接口函数等数据结构进行定义和设计,另外提出基于这些接 口函数实现一些常用图像应用程序功能函数的方法; 其次,研究了利用专用 SDK 和微软 VFW(Video for Windows)工具包开发 数字图像采集应用程序的原理及其实现方法,并与利用通用 SDK 进行同类的应 用开发做了比较。 再次,对于如何设计通用 SDK 与采集设备之间的接口通讯时,本文首先简 要介绍了 USB 接口规范及其数据包定义, 然后研究了进行 USB 设备驱动开发的 方法,并对通用 SDK 和设备之间的通信消息结构作了定义。 最后提出了如何对已有的 SDK 进行通用化处理的方法。 在文章的最

3、后讨论了通用 SDK 实现上的不足和改进之处, 并对通用 SDK 的 推广和应用进行了总结和展望。 关键字:SDK 软件开发包 数字图像采集 VFW USB 驱动程序开发 安徽大学硕士学位论文 Abstract II Abstract There exist all kinds of digital image capturing facility (DICF for short) in the market. They are affiliated with different brands and used in distinct fields. When DICFs are develo

4、ped by companies, the software development kit (SDK for short) offered to their clients is mostly customized by their products. That leads the SDK to be low universality. The SDK may bring inconvenience to actualize the application of DICF. People have to program different softwares to meet differen

5、t facilities, which increase workload as well as lack of compatibility and low portability. This thesis focuses on the disadvantage of those special SDKs, and then brings forward a new method to solve the problems above. The method is to design and develop a universal SDK (USDK for short) to support

6、 most DICFs. First of all, the thesis defines the framework of USDK and the data structure, such as basic data types and interface functions, as well as designs the common image functions for digital image capturing application software. Secondly, the paper presents the principle of using special SD

7、K and Microsoft Video for Windows (VFW for short) kit to develop the digital image capturing application softwares. Furthermore, comparison between SDK and USDK in developing image application software is also studied practically. Thirdly, in order to explain how to communicate between USDK and inte

8、rface of DICF, the thesis firstly introduces the definition of USB interface and data package. Then, it says how to develop the driver of USB device and defines the message structure transferred between USDK and device. Finally, the paper proposes how to universalize the special SDK. At the end of t

9、his paper, the disadvantage and improvement in USDK are discussed. Moreover, popularization and application of USDK are summarized and expected as well. Keywords:SDK Capturing Digital Image VFW USB Driver Development 安徽大学硕士学位论文 目录 III 目录目录 摘 要 . I Abstract . II 目录 . III 第 1 章 绪论 . 1 1.1 研究背景及选题意义 .

10、1 1.2 研究现状 . 1 1.2.1 专用 SDK 进行二次开发简介 . 2 1.2.2 微软提供的视频开发包简介 . 2 1.3 目前存在的问题 . 2 1.4 本课题的主要研究内容 . 3 第 2 章 通用 SDK 的设计与实现 . 5 2.1 通用 SDK 概述 . 5 2.2 通用 SDK 实现模式 . 5 2.3 通用 SDK 的数据结构 . 6 2.3.1 基础数据类型定义 . 6 2.3.2 结构体定义 . 7 2.3.3 错误码分类 . 13 2.4 通用 SDK 接口函数定义 . 14 2.4.1 基础函数定义 . 14 2.4.2 资源控制函数定义 . 14 2.4.2.1 设备枚举 . 14 2.4.2.2 打开和关闭设备 .

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 学术论文 > 其它学术论文

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号