基于视觉图像的田间甘蓝计数
Field Cabbage Counting Based on Visual Image
DOI: 10.12677/CSA.2022.126162, PDF,   
作者: 宋雨轩*, 江 田:重庆师范大学计算机与信息科学学院,重庆;重庆市数字农业服务工程技术研究中心,重庆
关键词: 蔬菜识别自适应阈值分割视觉图像形态学操作Vegetable Detection Adaptive Threshold Segmentation Visual Image Morphological Operation
摘要: 田间蔬菜计数是预估产量的重要技术手段,可以帮助农民提前规划销售、仓储和运输,提高收益。本文以甘蓝为例,实现基于视觉图像的田间蔬菜识别计数。算法是:首先对图像b通道高斯平滑滤波,然后应用b通道直方图实现蔬菜与非蔬菜的自适应阈值分割,再利用改进极限腐蚀算法对分割出的蔬菜二值图像腐蚀,最后用动态生成腐蚀核划分连通域实现蔬菜计数。航拍甘蓝图像的分割、计数实验结果显示:本文算法分割蔬菜与非蔬菜的精度为82.41%,高于OTSU对比算法;本文算法计数准确率达100.00%,召回率为96.08%,F1-score为0.98。实验结果表明,算法是有效的。
Abstract: Field vegetable counting is an important technical means to estimate yield, which can help farmers’ plan sales, storage and transportation in advance and improve income. Taking cabbage as an example, this paper realized the recognition and counting of field vegetables based on visual image. The algorithm is: firstly, the image b-channel Gaussian smoothing filter was used, then the b-channel histogram was used to realize the adaptive threshold segmentation of vegetables and non-vegetables, then the segmented binary image of vegetables was corroded by the improved limit corrosion algorithm, and finally, the connected domain was divided by dynamically generated cor-rosion core to realize the counting of vegetables. The experimental results of aerial cabbage image segmentation and counting showed that the accuracy of this algorithm is 82.41%, which is higher than that of OTSU comparison algorithm; the counting accuracy of this algorithm is 100.00%, the recall rate is 96.08%, and the F1-score is 0.98. Experimental results show that the algorithm is effective.
文章引用:宋雨轩, 江田. 基于视觉图像的田间甘蓝计数[J]. 计算机科学与应用, 2022, 12(6): 1610-1622. https://doi.org/10.12677/CSA.2022.126162

参考文献

[1] 金月, 肖宏儒, 曹光乔, 宋志禹, 张健飞, 杨光. 我国叶类蔬菜机械化水平现状与评价方法研究[J]. 中国农机化学报, 2020, 41(12): 196-201. [Google Scholar] [CrossRef
[2] 肖体琼, 何春霞, 崔思远, 陈永生, 曹光乔, 胡桧. 蔬菜生产机械化作业工艺研究[J]. 农机化研究, 2016, 38(3): 259-262. [Google Scholar] [CrossRef
[3] 任亚飞, 郑玉丽, 姚雷博. 基于图像识别的淬火过程中钢球计数研究[J]. 拖拉机与农用运输车, 2021, 48(6): 52-54+58.
[4] 王海燕, 张瑜慧. 基于机器视觉的颗粒识别计数[J]. 长春工程学院学报(自然科学版), 2013, 14(4): 101-104.
[5] 徐惠荣, 叶尊忠, 应义斌. 基于彩色信息的树上柑橘识别研究[J]. 农业工程学报, 2005, 21(5): 98-101.
[6] 曾爱松, 夏彭飞, 严继勇, 许园园, 邢苗苗, 卢昱宇. 我国甘蓝品种市场需求变化分析[J]. 长江蔬菜, 2022(8): 1-3.
[7] 项荣, 应义斌, 蒋焕煜. 田间环境下果蔬采摘快速识别与定位方法研究进展[J]. 农业机械学报, 2013, 44(11): 208-223.
[8] 高雄, 汤岩, 陈铁英, 崔红梅, 王洪波. 基于图像处理的甘蓝虫害识别研究[J]. 江苏农业科学, 2017, 45(23): 235-238. [Google Scholar] [CrossRef
[9] 欧仁侠, 陈洪斌, 鲍捷. 高斯滤波器特性分析及应用研究[J]. 中国新通信, 2015, 17(24): 135.
[10] 刘文, 徐丽明, 邢洁洁, 史丽娜, 高振铭, 袁全春. 作物株间机械除草技术的研究现状[J]. 农机化研究, 2017, 39(1): 243-250. [Google Scholar] [CrossRef