浙江农业学报 ›› 2021, Vol. 33 ›› Issue (8): 1497-1504.DOI: 10.3969/j.issn.1004-1524.2021.08.17

• 生物系统工程 • 上一篇    下一篇

基于条纹投影的苹果果梗/花萼识别方法

蔡家旭1(), 王飞1, 奚冬冬1, 刘路1,2, 王玉伟1,2,*()   

  1. 1.安徽农业大学 工学院,安徽 合肥 230036
    2.安徽省智能农机装备工程实验室,安徽 合肥 230036
  • 收稿日期:2021-02-24 出版日期:2021-08-25 发布日期:2021-08-27
  • 通讯作者: 王玉伟
  • 作者简介:*王玉伟,E-mail: wyw@ahau.edu.cn
    蔡家旭(2000—),男,安徽阜阳人,本科生,主要从事农业机器视觉方面的研究。E-mail: 632404519@qq.com
  • 基金资助:
    国家自然科学基金(51905005);安徽省自然科学基金(2008085QF318);安徽农业大学研究生创新基金(2021yjs-47)

Apple stem/calyx recognition based on fringe projection

CAI Jiaxu1(), WANG Fei1, XI Dongdong1, LIU Lu1,2, WANG Yuwei1,2,*()   

  1. 1. School of Engineering, Anhui Agricultural University, Hefei 230036, China
    2. Anhui Province Engineering Laboratory of Intelligent Agricultural Machinery and Equipment, Hefei 230036, China
  • Received:2021-02-24 Online:2021-08-25 Published:2021-08-27
  • Contact: WANG Yuwei

摘要:

为避免苹果果梗/花萼区域对表面缺陷检测造成干扰,提出一种苹果果梗/花萼识别方法。首先,利用相移条纹投影技术,通过数学变换思想模拟多角度下参考平面的偏转相位,将苹果的绝对相位减去参考平面的偏转相位,获得多角度下苹果的相位高度图;然后,根据果梗/花萼区域的凹形特征,利用灰度形态学算法对相位高度图进行填充,获得相位填充图;最后,将相位填充图与相位高度图相减获得相位差值图,通过阈值分割操作便可准确定位到果梗/花萼区域。实验结果表明,所提方法能够有效地识别出不同位置的苹果果梗/花萼区域,具有良好的稳健性和适用性,识别率达到97.33%。

关键词: 条纹投影, 苹果, 相位, 形态学

Abstract:

To avoid the interference of apple stem/calyx area on its surface defect detection, an apple stem/calyx recognition method is proposed in the present assay. Firstly, by taking use of phase-shifting fringe projection technology, the deflection phases of the reference plane under multiple angles are simulated with mathematical transformation. Secondly, the phase-height images under multiple angles are obtained by subtracting the deflection phases from the absolute phase of the apple. Based on the concavity characteristic of the stem/calyx, the phase-height images are filled with morphological grayscale algorithm to obtain the phase filled images. Finally, the phase difference images are computed by subtracting the phase-height images from the phase filled images, then the stem/calyx area can be accurately located through threshold segmentation. The experimental results demonstrate that the proposed method can effectively recognize the stem/calyx area of apple at different positions, and has good robustness and applicability with the recognition accuracy of 97.33%.

Key words: fringe projection, apple, phase, morphology

中图分类号: