基于机器视觉的编织袋图像处理与分析
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
编织袋广泛应用于大米、面粉、水泥、化肥、淀粉、饲料、棉纱、建材、化工原料、金属制品及其它产品的外包装,且这些物料的产量非常大。目前我国袋装物料的仓库搬运和装卸运输方式主要是靠肩扛和小车拉,不仅装卸工人的劳动强度大、工作效率低,而且是在粉尘的环境下工作,危害装卸工人的身心健康。采用机器人进行袋装物料的装卸,需要确定编织袋的准确位置才能装卸运输。针对编织袋装料后容易变形,出现偏离原来位置等特点,“基于机器视觉的物料袋自动识别研究”(山东省自然科学基金项目,编号:Y2007G23)就是在这样的背景下提出来的。本文以山东省自然科学基金为依托,完成了上述目标的图像处理与分析部分。本文研究内容主要包括以下几个方面:
     第一,设计了物料袋图像采集系统,建立了物料袋图像采集模型,采用张正友标定算法对摄像机进行了内外参数的标定。
     第二,对中值滤波算法进行了改进,利用改进的中值滤波算法对采集的物料袋图像进行图像去噪处理,利用直方图均衡化算法对图像进行增强,采用不同的边缘检测算子对物料袋图像进行边缘检测并对检测效果进行了分析,提出采用Sobel边缘检测算子与迭代阈值法相结合的图像分割方法,提取物料袋图像的边缘信息,得到的图像边缘清晰、连续性好,为机器人自动识别物料袋技术提供理论基础。
     第三,以单袋水泥袋为研究对象,采用平行双目立体视觉技术,根据视差原理,生成了水泥袋深度图像,生成的深度值即为水泥袋与摄像机基线之间的距离,通过实验数据分析得出了灰度值与深度值之间的函数关系,为机器人自动识别物料袋的三维形状提供理论基础。
     第四,以两袋化肥袋为研究对象,研究了物料袋码垛的图像处理与分析技术。采用改进的中值滤波算法对采集的图像进行去除噪声处理,利用Sobel边缘检测算子检测图像边缘,采用Otsu法分割图像并对图像进行二值化处理,采用数学形态学中的膨胀、腐蚀算法对图像进行处理,采用希尔迪奇(Hilditch)法对图像进行细化处理得到了两袋化肥袋的边缘特征,由于两袋化肥之间存在部分重叠,利用两袋化肥图像的面积不同,提取了上面一袋化肥的图像特征。采用区域相关匹配和直方图均衡化等算法得到了化肥袋的深度图像并提取了深度数据,可以识别出上面一袋化肥的边缘信息及其位置,为机器人自动识别物料袋提供理论基础。
     针对编织袋装料后容易变形,出现偏离原来位置等特点,作者采用基于机器视觉的编织袋图像处理与分析,得到的图像质量能够满足机器视觉对编织袋图像质量的要求,为机器人准确找到编织袋的位置,实现自动识别的目的打下良好的基础。
Woven bags are widely used for the packaging products such as rice, flour, cement, fertilizer, starch, feedstuff, cotton yarn, architecture materials, chemical materials, metal products and so on, and the production of these materials is very great. At present, in China the method of warehouse handling and load-unloading material bags is still by workers’shoulder and wheelbarrow by pulling, not only the labor intensity of workers is very heavy and low work efficiency, but also the work place is full of dust, it is very dangerous for the workers’health. If using robot, it can load and unload material bags after recognizing the exact location. Since woven bags are easy to be out of shape after charge and remove from original position, " Research on Automatic Recognition of Material Bag Based on Machion Vision " (Natural Science Foundation of Shandong Province, Number: Y2007G23) was put forward in this context. Relying on the Natural Science Foundation of Shandong Province, this paper has done the image processing and analysis section on the above. In this paper mainly include the following aspects.
     Firstly, this paper has designed the material bag image acquisition system and established a machine vision measurement model, demarcated the inside and outside parameters of the camera using calibration algorithm of Zhang Zhengyou.
     Secondly, median filtering algorithm has been improved, the acquisitioned material bags image has been image denoising processed using the improved median filtering algorithm, enhanced the image using histogram equalization, the image edge of material bags have been detected using different edge detection operator, and the detection results have been analyzed, proposed the combination image segmentation method of Sobel edge detection operator and the iterative threshold to extract the image edge information of material bags, get a clear image edge, the edge continuity is well, provide a theoretical basis for the robot technology to the automatic recognition of material bags.
     Thirdly, taking a single bag cement sack as the research object, using the parallel binocular stereo vision technology, according to disparity principle, generated cement bag-depth image, the resulting value shall be the distance between the cement pocketed and the camera baseline, through the analysis of experimental data, obtained the function relationship between the gray value and the depth value, provide a theoretical basis for the robot technology to the automatic recognition of material bags.
     Fourthly, taking two fertilizer bags as the object of study, we study the image processing and analysis of material stacking image. Using an improved median filtering algorithm to remove noise for the acquisitioned image, using Sobel edge detection operator to detect the image edge, using Otsu method to segment image and binary the image, using the expansion, corrosion arithmetic of mathematical morphology to process the image, using Hilditch method to image processing has been exact edge features of two fertilizer bags, because there is overlap between the two fertilizer bags, utilize the difference of area of two fertilizer bags, extracted image features of a fertilizer bag above. Adopting the regional correlation matching algorithm and histogram equalization algorithm, we can get the depth image of the fertilizer bags and extract the depth data. We can recognize the fertilizer bag above and its location, it provides theoretical basis for automatical recognition material bags of the robot.
     Since woven bags are easy to be out of shape after charge and remove from original position, we use image processing and analysis of woven bags based on machine vision, so that it can meet the need of woven bags' image quality for machine vision, lay a good foundation for the robot to find an accurate position of woven bags and achieving the purpose of automatic recognition.
引文
[1]李长春,刘广志.袋装物料装卸机器人臂长的优化设计.济南大学学报(自然科学版),2007,21(3):238-242
    [2]钱伯章.2008年中国化肥产量统计.磷肥与复肥,2009,24(2):50
    [3]张广军.机器视觉.北京:科学出版社,2005
    [4] Jain R, Kasturi R, Schunck BG. Machine vision, Beijng: China Machine Press, 2003
    [5] Wesley E S, Hairong Q, Machine vision. Cambridge University Press, 2005
    [6]穆向阳,张太镒.机器视觉系统的设计.西安石油大学学报(自然科学版),2007,22(6):104-109
    [7]章毓晋.图像工程(上册)——图像处理.北京:清华大学出版社,2006
    [8]龚声蓉,刘纯平,王强,等.数字图像处理与分析.北京:清华大学出版社,2006
    [9]刘祖军,刘纯亮,梁志虎,等.基于动态直方图均匀化的对比度增强方法.光学技术,2005,31(3):76-79
    [10]周鲜成,申群太,王俊年.一种新的图像对比度自适应变换算法.科学技术与工程,2007,7(21):5575-5579
    [11]芮同林,彭国华.一种改进的图像均衡化算法的研究与应用.微电子学与计算机,2006,23(11):58-59
    [12]徐同莹,彭定明,王卫星.改进的直方图均衡化算法.网络信息技术,2006,25(7):58-59
    [13]王克强,齐丽英.一种图像自适应平滑与增强算法.现代电子技术,2008(14):89-91
    [14]李均利,魏平,陈刚.一种新颖的医学图像锐化增强算法.计算机工程与应用,2008,44(10):160-162
    [15]王建华,王春平.自适应中值滤波器在图像降噪技术中的应用.测控技术,2004 ,23(5):54-56
    [16]周刚,贾振红,覃锡忠.一种新的图像去噪混合滤波方.法激光杂志,2007,28(1):57-59
    [17]关新平,赵立兴,唐英干.图像去噪混合滤波方法.中国图像图形学报,2002,7(7):654-657
    [18]王宏志,胡艳君,赵爽.一种混合噪声图像去噪的平滑算法.东北师大学报(自然科版).2008,40(2):39-42
    [19]柴本成,柴国钟,姜献锋.一种新的自动阈值图像分割方法.机械,2003,30(4):34-36
    [20]陈冬岚,刘京南,余玲玲.几种图像分割阈值选取方法的比较与研究.电气技术与自动化,2003(1):77-80
    [21] Adolfo Martinez-Uso, Filiberto Pla, Pedro Garcia-Sevilla. Unsupervised image segmentation using a hierarchical clustering selection process. LNCS, 2006, 4109:799-807
    [22] Weihua Huang, Jianjun Hou. A novel multi-scale filtering method based on mathematical morphology. ICSP 2004 7th International Conference on Signal Processing, 2004, 2(41): 986-989
    [23]郝海涛,田玉敏.彩色图像分割及进展.山西师范大学学报(自然科学版),2005(7):64-68
    [24] Hyun Jun Oh, Kyoung Mu Lee, Sang UK Lee. Occlusion invariant face recognition using selective local non-negative matrix factorization basis images. Image and Vision Computing, 2008, 26(10): 1515-1523
    [25] Hamidreza Rashidy Kanan, Karim Faez, Yongsheng Gao. Face recognition using adaptively weighted patch PZM array from a single exemplar image per person. Pattern Recognition, 2008, 41(12): 3799-3812
    [26] Yan Yan, Yu-Jin Zhang. A novel class-dependence feature analysis method for face recognition. Pattern Recognition Letters, 2008, 29(14): 1907-1914
    [27] Chang S L, Chung Y C. Automatic license plate recognition. IEEE transactions on Intelligent Transportation Systems, 2004, 5(3): 42-53
    [28]吕金建,文贡坚,李德仁,等.一种新的基于空间关系的特征匹配方法.测绘学报, 2008,37(3):367-373
    [29]权文,王晓丹,王坚.一种基于小波分解的快速图像匹配算法.航空计算技术, 2008,38(4):8-10
    [30]张少辉,沈晓蓉,范耀祖.一种基于图像特征点提取及匹配的方法.北京航空航天大学学报,2008,34(5):516-519
    [31]孔金生,张小凤,王璇.基于轮廓特征的模板匹配方法及其应用.计算机工程与应用, 2008,44(22):201-203
    [32]李立轻,黄秀宝.图像处理用于织物疵点自动检测的研究进展.东华大学学报(自然科学版), 2002,28(4):118-121
    [33] Chi-ho Chan, Grantham Pang. Fabric defect detection by Fourier analysis. Industry Applications Conference, 1999, 3: 1743-1750
    [34]蔡叶菁,彭涛,何静,等..机器视觉在包装检测过程中的应用研究.包装工程,2003,24(2):45-48
    [35]赵延军,徐丽明.基于机器视觉的苹果果袋检测方法.中国农业大学学报,2006,11(1):87-90
    [36]张铁中,林宝龙,高锐.水果采摘机器人视觉系统的目标提取.中国农业大学学报,2004,9(2):68-72
    [37]荀一,陈晓,李伟,等.基于轮廓曲率的树上苹果自动识别.江苏大学学报(自然科学版), 2007,28(6):461-464
    [38]赵杰文,刘木华,杨过彬.基于HIS颜色特征的田间成熟番茄识别技术.农业机械学报, 2004,35(5):122-124
    [39]张铁中,陈利兵,宋健.草莓采摘机器人的研究:Ⅱ基于图像的草莓重心位置和采摘点的确定.中国农业大学学报,2005,10(1):48-51
    [40]王拓,蒋志雄,王颖初,等.基于机器视觉的地膜下方棉苗的识别与定位.计算机工程与应用,2005,(24):215-217
    [41]李伟,康晴晴,张俊雄,等.基于机器视觉的苹果表面纹理检测方法.吉林大学学报(工学版), 2008,38(5):1110-1113
    [42]蒋焕煜,彭永石,申川,等.基于双目立体视觉技术的成熟番茄识别与定位.农业工程学报,2008,24(8):279-283
    [43]杜欣,赵晓光.五自由度立体视觉平台——目标物体的识别与定位.计算机工程与应用,2005,(27):93-96
    [44] KONG Xiang-wei, QU Xing-hua, ZHANG Li-ping. Metal surface production defect. Nanotechnology and Precision Engineering, 2008, 6(4): 267-271
    [45] Jun GAO, Jie BAO, Dingguo chen, et al. Optical-electronic shape recognition system based on synergetic associative memory. In SPIE, 2001, 4305: 138-148
    [46]张云,吴晓君,马廷武,等.基于机器视觉的零件图像采集及识别的研究.电子工程师,2006,32(4):29-31
    [47]崔开涌,王任杰,林小玲.机器人双目视觉系统的算法研究与实现.计算机工程,2008,34(3):237-240
    [48]陈正慧,李捍东,彭小芳等.基于DSP机器视觉的矩形类物体识别研究.微计算机信息,2008,24(2):192-194
    [49]邹波忠,汪家林,杨燕.最小二乘法在监测仪器检验率定中的应用.山西建筑,2009,35(2):340-344
    [50]马颂德,张正友.计算机视觉——理论与算法基础.北京:北京科学出版社,1998
    [51]李鹏,王军宁.摄像机标定方法简述.技术与应用,2007,(3):21-24
    [52]刘瑞祯,于仕琪.OpenCV教程.北京:北京航空航天大学出版社,2008
    [53]宁嫒,李皖.图像去噪的几种方法分析比较.贵州工业大学学报(自然科学版),2005,34(4):63-66
    [54]夏良正,李久贤.数字图像处理.江苏:东南大学出版社,2006
    [55]曾欢,王浩.图像边缘检测算法的性能比较与分析.现代电子技术,2006(14):53-55
    [56] Tianhou Zhang, Changchun Li, Shifeng Wang. Study on Edge Detection Technique in Material Bag Image. Advanced Materials Research Vols. 97-101(2010): 4408-4411
    [57]周亦鹏.基于双目视觉的深度图立体匹配算法研究改进.计算机测量与控制,2008,16(9):1332-1334
    [58] Zhang Tian-hou, Li Chang-chun, Li Guo-ping, et al. Generation and Ananlysis of Material Bag Depth Image Based on Machine Vision. 2010 International Conference on Measuring Technology and Mechatronics Automation, IEEE computer society, Vol.2: 351-354
    [59]李国平,刘华冠,李长春,张天厚.基于机器视觉的物料袋图像深度信息的提取.济南大学学报(自然科学版),2010,24(2):193-197
    [60]曾磊.基于otsu法自适应阈值的图像分割研究.信息技术,2008(10):88-90
    [61] Changchun Li, Tianhou Zhang, Huaguan Liu, et al. Study on Material Stacking Image Based on Machine Vision. 2010 International Conference on Advanced Measurement and Test, China, Sanya, 2010

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700