登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 电子信息类 > 电子科学与技术 > 正文

基于机器视觉的药用玻璃瓶缺陷检测的上位机软件开发研究毕业论文

 2021-06-24 10:06  

摘 要

基于机器视觉的药用玻璃瓶的缺陷检测系统包括硬件部分和软件部分,硬件部分包括图像采集装置和运动控制装置,本文只介绍图像采集系统,运动控制系统不做研究。软件部分包含驱动程序,图像处理算法和上位机界面。

本文为了控制图像采集装置而设计了一个基于机器视觉的药用玻璃瓶的上位机软件,使用的软件是VS2010,实现的方式是VC 的MFC界面设计。主要工作内容如下:

1.基于机器视觉的药用玻璃瓶检测系统的硬件和软件组成,通过需求分析得到了上位机软件的设计任务以及软件系统的结构。

2.解释了图像采集装置,介绍了驱动程序,列出了图像处理的一些常见方法,介绍了本次研究所使用的图像处理算法。

3.介绍了集成开发软件VS2010和编程使用的C 语言,实现了上位机软件界面的设计。

关键词:机器视觉,VS2010,药瓶检测,图像采集,上位机

Abstract

Based on machine vision of medicinal glass bottle defect detection system consists of hardware part and software part and hardware part includes image acquisition device and the motion control device. In this thesis, we only introduce image acquisition system, motion control system without doing research. The software part includes the driver, image processing algorithm and the host computer interface.

In order to control the image acquisition device and design a machine vision based on the computer vision of the host computer software, the use of the software is VS2010, the way is to achieve the MFC VC interface design. The main work is as follows:

1. the hardware and software of the medical glass bottle inspection system based on machine vision is composed of the hardware and software of the system, the design task of the host computer software is obtained by the requirement analysis, and the structure of the software system is also analyzed.

2 .explains the image acquisition device, introduces the driver, lists some common methods of image processing, describes the image processing algorithms used in this study.

3. introduced the integrated development software VS2010 and programming using the C language, realize the design of the PC software interface.

Keywords: machine vision, VS2010, medicine detection, image acquisition, PC

目录

第1章 绪论 1

1.1背景介绍 1

1.2 国内外的研究现状分析 1

1.3研究的基本内容 2

1.3.1机器视觉 2

1.3.2图像采集处理 2

1.3.3上位机 2

1.4 技术方案设计 2

1.4.1集成开发环境的选择 2

1.4.2编程语言的选择 3

1.5本章小结 4

第2章 系统的总体设计 5

2.1需求分析 5

2.2系统工作的基本原理 5

2.3药品缺陷的种类 6

2.4图像采集装置 6

2.5上位机软件系统 6

2.6本章小结 7

第3章 图像采集装置的驱动和配置 8

3.1 驱动程序简介 8

3.2 驱动程序模型 8

3.2.1 NT式驱动程序 8

3.2.2 WDM式驱动程序 9

3.3 驱动程序的调用 9

3.4图像采集装置的配置 10

3.4.1打开摄像头的配置 10

3.4.2开始采集的配置 11

3.4.3图片采集的配置 12

3.5本章小结 13

第4章 图像处理算法 14

4.1 OPENCV简介及其配置 14

4.2数字图像处理 14

4.3图像处理算法原理 14

4.4图像处理算法在VS中的实现 16

4.5本章小结 17

第5章 上位机界面设计 18

5.1 上位机 18

5.1.1 上位机介绍 18

5.1.2工作原理 18

5.2应用程序框架设置 18

5.2.1 选择工程类型 18

5.2.2 工程设置 19

5.3 MFC 应用程序框架分析 21

5.4对话框模板和属性 21

5.5上位机界面 22

5.6本章小结 23

第6章 上位机软件测试 25

第7章 总结与展望 26

7.1 总结 26

7.2展望 26

参考文献 28

致 谢 29

  1. 绪论

1.1背景介绍

随着科技的发展,生活节奏的加快,过去的人工检测药用玻璃瓶的速度和所消耗的成本已不能满足现代社会的需求,一种新的检测方式呼之欲出。

与此同时随着机器视觉的大力发展,自动检测已成为现实。具有高效率,误差小的基于机器视觉的检测方式成为近年来研究的热点。因此基于机器视觉的药用玻璃瓶研究具有很大的意义,这或许能在很大程度上改善人们的生活。

1.2 国内外的研究现状分析

在国外,基于机器视觉的药用玻璃瓶的研究开始的比较早,早在上世纪80年代就有了不再依赖人工的基于机器视觉的检测体系。国外比较有名的公司正在进行相关研究的有德国的海富HEUFT 公司、KRONES 公司,意大利的萨克米 SACMI、法国的 SGCC 公司、美国的 Owens Illinois 公司等。[1][2]

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图