文档介绍:华中科技大学
硕士学位论文
基于机器视觉的香烟外包装膜在线检测技术研究
姓名:汪洋
申请学位级别:硕士
专业:光电信息工程
指导教师:吴裕斌
20061107
摘要
现代化大生产中,产品包装一方面体现着商品的档次,另一方面,部分包装还起
着防潮及防止香气散失的作用。香烟的塑料外包装膜便是其中一种。
现代包装设备可以自动对烟包使用 BOPP 膜进行包装,也可以加封金属易拉线,
然而多数检测设备只可检测包装质量如 BOPP 膜封口是否标准,压舌是否歪斜、不完
整等,却不能对塑料包装膜加工过程中是否破损进行检测。包装膜有破损的烟包不但
起不到包装膜应有的作用,反而会给商家形象带来负面影响。
针对此情况,本文主要运用机器视觉对烟包的包装膜是否破损进行研究,通过对
采集到的烟包图像进行处理及分析,判断是否存在破损,具体内容如下:
(1)香烟外包装膜破损的光学检测原理:当前基于机器视觉的检测主要是通过对
目标图像的获取及分析来实现的,因此首先对机器视觉和光学检测原理进行了分析及
可行性研究。
(2)破损检测算法的描述:在获取了烟包的图像以后,在 PC 机上编写相关的破
损检测验证算法,对烟包图像进行图像处理、特征提取及图像分析。
(3)基于 DM642 平台的算法实现:TI 公司的 TMS320DM642 是一款优秀的图像
处理平台,其专门为信号处理而优化设计的指令使处理算法运行的更加流畅,系统中
的 DSP 不光完成图像处理的算法,还兼做中央控制器,协调系统各部分的通信控制。
(4)算法的优化:针对前述设计的算法进行了优化,以确保更准确、高效的完成
检测工作。
经测试,本检测技术有较好的稳定性及健壮性,烟包破损识别精度高、识别速度快、
高于设计要求的 2 盒/秒,达到 6 盒/秒。
关键词:机器视觉包装膜检测 DM642 图像处理算法优化
I
ABSTRACT
In the modern manufacture, packagings distinguish from one to another, not only
indicate the class of the product, but also protect the product from damp, and prevent losing
of its smell. One example is the transparency plastic packaging film on the o box.
Modern packaging equip. can package the box with BOPP film automatically, but most
of detection equip. can only detect the quantity of the packaging such as whether the seal is
damaged, whether the trademark is all right. Seldom has any equipment that determines
whether the film is OK during the packaging. It is useless for the o box if the film is
damaged, and can bring disadvantages for the manufacturer.
The thesis using the theory of machine vision to determine whether the packaging film
is damaged or not, which contains the following contents:
(1) Research the optics detection theory of the transparency plastic thin film. Current
ways of MV detection is based on the image processing. So first research the machine vision
and optics detection theory.
(2) The description of damage detection algorithm: design the relative image processing
arith