English

中国农机化学报

中国农机化学报 ›› 2021, Vol. 42 ›› Issue (10): 180-185.DOI: 10.13733/j.jcam.issn.2095-5553.2021.10.25

• 中国农机化学报 • 上一篇    下一篇

基于HSV与形状特征融合的花椒图像识别

汪杰;陈曼龙;李奎;丁敏;王琨;   

  1. 陕西理工大学机械工程学院;陕西省工业自动化重点实验室;
  • 出版日期:2021-10-05 发布日期:2021-10-05
  • 基金资助:
    陕西省教育厅专项科学研究计划(18JK0145)
    陕西理工大学校级科研项目(209010396)

Prickly ash image recognition based on HSV and shape feature fusion

Wang Jie, Chen Manlong, Li Kui, Ding Min, Wang Kun.   

  • Online:2021-10-05 Published:2021-10-05

摘要: 光照条件变化会对花椒目标识别率产生影响,关系到机器视觉技术能否有效应用于生产现场的花椒采摘。通过对HSV特性图像识别技术的分析,提出HSV和形状特征融合的花椒识别算法。该算法采用同态滤波方法对光照进行补偿,解决因为光照不均匀而导致的花椒识别率低的问题,最后利用花椒圆度特征,排除树枝及树叶等的干扰,实现花椒的准确识别。利用同态滤波方法对光照进行补偿,对于光照不强或者发生遮挡的花椒图像有较大改善,通过试验得出其平均识别率达到94.0%,比单独采用HSV特性识别时,在顺光,背光和遮阴条件下,识别率分别提高4%,13%和21%,此外在遮阴条件下运行时间缩短14.6%。为遮阴条件下提高花椒识别率提供一种方法。

关键词: 花椒, 同态滤波, 形状特征, 图像识别

Abstract:  Changes in lighting conditions will have an impact on the target recognition rate of Zanthoxylum bungeanum maxim. It is related to whether machine vision technology can be effectively applied to Zanthoxylum bungeanum picking at the production site. Based on the analysis of HSV characteristic image recognition technology, a prickly ash recognition algorithm combining HSV and shape features is proposed. The calculation uses a homomorphic filtering method to compensate for the illumination, which solves the problem of low recognition rate of Zanthoxylum bungeanum due to uneven illumination. The roundness feature of Zanthoxylum bungeanum is used to eliminate the interference of branches and leaves and realize accurate recognition. The average recognition rate reaches 94.0%, which is higher than when the HSV characteristic recognition is used alone. Under backlight and shading conditions, the recognition rate is increased by 4%, 13%, and 21%, respectively, and the running time under shading conditions is shortened by 14.6%. This paper provides a method to improve the recognition rate of Zanthoxylum bungeanum under shade conditions.

Key words: pepper, homomorphic filtering, shape feature, image recognition

中图分类号: