Cotton seedling counting algorithm using feature fusion

被引:0
作者
Qi Y. [1 ]
Li Y. [1 ]
Sun M. [1 ]
Xu W. [1 ]
机构
[1] 1. School of Computer Science and Engineering, School of Artificial Intelligence, Wuhan Institute of Technology
[2] 2. Hubei Province Key Laboratory of Intelligent Robot, Wuhan Institute of Technology
来源
Nongye Gongcheng Xuebao/Transactions of the Chinese Society of Agricultural Engineering | 2022年 / 38卷 / 09期
关键词
algorithm; attention module; cotton; deep learning; feature fusion; seedling counting;
D O I
10.11975/j.issn.1002-6819.2022.09.019
中图分类号
学科分类号
摘要
The number of cotton seedlings can greatly contribute to the key seedling information, such as sowing survival rate and emergence rate. In this study, a cotton seedling counting algorithm was proposed using feature fusion. Five modules consisted of VGG basic, attention, feature fusion, and deredundancy normalization module. Among them, the VGG basic module was used the first four convolution layers of VGG-16, further removing the fifth convolution layer of VGG-16 and the subsequent pooling layer and full connection layer, in order to reduce the amount of calculation and model complexity. CBAM module included the Channel Attention Module (CAM) and Spatial Attention Module (SAM) to realize dual attention on the channel and spatial dimensions of features. The feature fusion module was used to fuse the features enhanced by the attention module and the first three layers of features extracted by the VGG basic module in three stages, thereby speeding up the learning speed of the model. Finally, the redundant information of the fused feature map was cleaned by the operation of deredundancy. The local counts of the single-channel feature map were redistributed by the operation of normalization. The algorithm flow was as follows. Firstly, the input image was used to generate a feature map through the VGG basic module. Then, the attention module was utilized to enhance the global information of the feature image through the channel and spatial dimensions. The feature fusion module was to fuse the enhanced features with the features in the basic module, and finally output the counting data after the removal of the redundant information and normalization. In addition, the field cotton seedling images were collected from 2017 to 2018. A new Cotton Seedling Counting dataset (CSC) was established using the images. A total of 212 572 seedlings were accurately and manually labeled in the dataset. Several typical target counting methods were compared on the CSC dataset, including MCNN, CSRNet, TasselNet, and MobileCount. Experiments showed that the Mean Absolute Error (MAE) and Root Mean Square Error (RMSE) of the counting were 63.46 and 81.33, respectively, indicating the lowest errors than that of the above four methods, while the average error decreased by 48.8% and 45.3%, respectively, indicating the effectiveness of the counting algorithm. Moreover, the test set was divided into two groups, where the midday group performed better in the light conditions, totaling 52 images. The morning and evening groups presented relatively weak light conditions, with a total of 47. Although photographed in different time periods and different light conditions, the performance of the model remained constant in the strong robustness and stability. when estimating the number of cotton seedlings in the actual cotton seedling images, the counting was still accurately estimated the number of seedlings under the interference of strong shadow noise, indicating the strong robustness. In addition, the Dropout feature fusion, attention module CBAM and normalization operation were verified by ablation experiments, indicating a positive impact on the model. Finally, image-based seedling counting can be widely expected to realize the scientific management of farmland. Anyway, the algorithm can be further optimized to explore the possibility of deploying on the real platform. © 2022 Chinese Society of Agricultural Engineering. All rights reserved.
引用
收藏
页码:180 / 186
页数:6
相关论文
共 32 条
[1]  
44, 4, pp. 1-3
[2]  
Dai Jianguo, Xue Jinli, Zhao Qingzhan, Et al., Extraction of cotton seedling growth information using UAV visible light remote sensing images, Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 36, 4, pp. 71-79, (2020)
[3]  
Laradji I H, Rostamzadeh N, Pinheiro P O, Et al., Where are the blobs: Counting by localization with point supervision, Proceedings of the European Conference on Computer Vision (ECCV), pp. 547-562, (2018)
[4]  
Wojek C, Dollar P, Schiele B, Et al., Pedestrian detection: an evaluation of the state of the art, IEEE Transactions on Pattern Analysis & Machine Intelligence, 34, 4, pp. 743-761, (2012)
[5]  
Rabaud V, Belongie S., Counting crowded moving objects, 2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'06), pp. 705-711, (2006)
[6]  
Chen Fengjun, Zhu Xueyan, Zhou Wenjing, Et al., Spruce counting method based on improved YOLOv3 model in UAV images, Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 36, 22, pp. 22-30, (2020)
[7]  
Liang Xihuizi, Chen Bingqi, Li Minzan, Et al., Method for dynamic counting of cotton rows based on HOG feature and SVM, Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 36, 15, pp. 173-181, (2020)
[8]  
Ramos P J, Prieto F A, Montoya E C, Et al., Automatic fruit count on coffee branches using computer vision, Computers and Electronics in Agriculture, 137, pp. 9-22, (2017)
[9]  
Zhang Y, Zhou D, Chen S, Et al., Single-image crowd counting via multi-column convolutional neural network, 2016 IEEE Conference on Computer Vision and Pat-tern Recognition (CVPR), pp. 589-597, (2016)
[10]  
Li Y, Zhang X, Chen D., Csrnet: dilated convolutional neural networks for understanding the highly congested scenes, Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1091-1100, (2018)