首页 | 本学科首页   官方微博 | 高级检索  
     

基于机器视觉的鲜食玉米品质检测分类器设计与试验
引用本文:高新浩,刘斌. 基于机器视觉的鲜食玉米品质检测分类器设计与试验[J]. 农业工程学报, 2016, 32(1): 298-303. DOI: 10.11975/j.issn.1002-6819.2016.01.041
作者姓名:高新浩  刘斌
作者单位:1. 苏州工业职业技术学院机电工程系,苏州,512100;2. 测试计量技术及仪器河北省重点实验室燕山大学,秦皇岛,066004
基金项目:河北省自然科学基金(F2015203287)
摘    要:设计一种基于机器视觉的鲜食玉米品质检测分类器。利用计算机视觉技术,通过小波分析方法对不同角度拍摄的鲜食玉米图像进行纹理特征分析;在获取玉米图像纹理特征的基础上,采用最大熵函数对纹理图像的分离度进行度量,并结合重量判据设计鲜食玉米品质检测分类器,实现对不同品种、尺寸以及破损程度的鲜食玉米进行分类,有效剔除病虫害污染的玉米产品。该设备可有效减少因工人主观经验水平的参次不齐等主观因素导致产品质量检测分类不均的现象。经实验验证,该品质检测分类器能够有效完成不同重量、尺寸的鲜食玉米的产品品质检测与分类,有效分类率可达到99%以上。

关 键 词:计算机视觉  作物  分类器  纹理特征  小波分析  视觉熵
收稿时间:2015-08-07
修稿时间:2015-11-16

Design and experiment of fresh corn quality detection classifier based on machine vision
Gao Xinhao and Liu Bin. Design and experiment of fresh corn quality detection classifier based on machine vision[J]. Transactions of the Chinese Society of Agricultural Engineering, 2016, 32(1): 298-303. DOI: 10.11975/j.issn.1002-6819.2016.01.041
Authors:Gao Xinhao and Liu Bin
Affiliation:Department of Mechanical and Electrial Engineering, Suzhou Institute of Industrial Technology, Suzhou, 215100, China and Hebei Provincial Key laboratory of Measurement Technology and Instrumentation, Yanshan University, Qinhuangdao, 066004, China
Abstract:In the deep processing of fresh corn, the detection and classification of fresh corn quality are an important but tedious process.The traditional treatment needs a lot of experienced workers to complete this operation, while the results of product quality detection and classification are affected by the subjective experience factors.In order to ensure product quality and increase productivity, an automatic detection and classification algorithm for corn product quality and the equipment are designed in this paper.This automatic device consists of the vision acquisition module, detection and classification control module and execution control module.The vision acquisition module acquires the images of products through the cameras which are installed on the device.In the equipment design process, 2 work stations are designed to capture the images of fresh corn in different view, and the position of fresh corn product is rolled over by a designed mechanical device which is driven by a step motor.In order to provide high quality images for the detection and classification, a light emitting diode (LED) light source is installed near the camera and lighting the measured product during the process of image acquisition; the detection and classification control module is the control core, and it accomplishes the image filtering, texture feature extraction and product classification.In the end of detection and classification operation, this module will export the control instruction to the execution control module.The execution module consists of motion control card, servo controller and servo motor.Using these components, this module moves for special degrees according to the control instruction, and sends the measured products to the designated storage location.In the detection and classification algorithm design process, the computer vision technology is used to detect the fresh corn images and extract texture feature of image.At first, we capture the fresh corn images from different angles of view, and then the texture features of fresh corn images are calculated through the wavelet analysis.In this algorithm, the high-frequency components of texture feature in the horizontal, vertical and diagonal direction are calculated respectively; based on the analysis of texture feature, the separation degree of texture feature is measured by the maximum visual entropy function.The difference between different categories is obtained by comparing with the texture feature of corn products.At the same time, the weight criterion is coordinated with the vision detection algorithm to complete the product detection and classification.According to the texture feature and entropy criterion, the fresh corn products are divided into the following 5 categories, which are peel not clear, pest pollution, no grain damage, minor grain damage and serious grain damage.The equipment prototype has been tested in laboratory, and the experiment results show that the different species, size and broken level of fresh corn can be detected and classified using this device, and the pest pollution product can be eliminated effectively.The average speed of quality detection and classification reaches 1 500 kg per hour, and the effective composite classification rate reaches 99% for the fresh corn with different weight and size; for different damaged corn products, the effective classification rate reaches 92%, which is lower than the composite classification rate.The analysis finds that it is caused by the image acquisition environment and graininess of entropy criterion in the image processing algorithm.In the process of image acquisition, the irradiating degree and illumination of LED light source affect the quality of images.At the same time, the thicker the entropy graininess, the coarser the product detection and classification; the finer the entropy graininess is, the more time the calculation spends.In the future, we will carry out the research on the image acquisition environment construction and the entropy criterion parameter optimization.
Keywords:computer vision   crops   classifier   texture feature   wavelet analysis   visual entropy
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《农业工程学报》浏览原始摘要信息
点击此处可从《农业工程学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号