Xu Xin, Geng Qing, Gao Feng, Xiong Du, Qiao Hongbo, Ma Xinming
College of Information and Management Science, Henan Agricultural University, Zhengzhou, 450002, China.
Agricultural College, Henan Agricultural University, Zhengzhou, 450002, China.
Plant Methods. 2023 Aug 1;19(1):77. doi: 10.1186/s13007-023-01062-6.
Grain count is crucial to wheat yield composition and estimating yield parameters. However, traditional manual counting methods are time-consuming and labor-intensive. This study developed an advanced deep learning technique for the segmentation counting model of wheat grains. This model has been rigorously tested on three distinct wheat varieties: 'Bainong 307', 'Xinmai 26', and 'Jimai 336', and it has achieved unprecedented predictive counting accuracy.
The images of wheat ears were taken with a smartphone at the late stage of wheat grain filling. We used image processing technology to preprocess and normalize the images to 480*480 pixels. A CBAM-HRNet wheat grain segmentation counting deep learning model based on the Convolutional Block Attention Module (CBAM) was constructed by combining deep learning, migration learning, and attention mechanism. Image processing algorithms and wheat grain texture features were used to build a grain counting and predictive counting model for wheat grains.
The CBAM-HRNet model using the CBAM was the best for wheat grain segmentation. Its segmentation accuracy of 92.04%, the mean Intersection over Union (mIoU) of 85.21%, the category mean pixel accuracy (mPA) of 91.16%, and the recall rate of 91.16% demonstrate superior robustness compared to other models such as HRNet, PSPNet, DeeplabV3+ , and U-Net. Method I for spike count, which calculates twice the number of grains on one side of the spike to determine the total number of grains, demonstrates a coefficient of determination R of 0.85, a mean absolute error (MAE) of 1.53, and a mean relative error (MRE) of 2.91. In contrast, Method II for spike count involves summing the number of grains on both sides to determine the total number of grains, demonstrating a coefficient of determination R of 0.92, an MAE) of 1.15, and an MRE) of 2.09%.
Image segmentation algorithm of the CBAM-HRNet wheat spike grain is a powerful solution that uses the CBAM to segment wheat spike grains and obtain richer semantic information. This model can effectively address the challenges of small target image segmentation and under-fitting problems in training. Additionally, the spike grain counting model can quickly and accurately predict the grain count of wheat, providing algorithmic support for efficient and intelligent wheat yield estimation.
籽粒计数对于小麦产量构成和产量参数估算至关重要。然而,传统的人工计数方法既耗时又费力。本研究开发了一种先进的深度学习技术用于小麦籽粒分割计数模型。该模型已在三个不同的小麦品种‘百农307’、‘新麦26’和‘济麦336’上进行了严格测试,并取得了前所未有的预测计数精度。
在小麦籽粒灌浆后期,用智能手机拍摄麦穗图像。我们使用图像处理技术对图像进行预处理并将其归一化为480*480像素。通过结合深度学习、迁移学习和注意力机制,构建了一种基于卷积块注意力模块(CBAM)的CBAM-HRNet小麦籽粒分割计数深度学习模型。利用图像处理算法和小麦籽粒纹理特征建立了小麦籽粒计数和预测计数模型。
使用CBAM的CBAM-HRNet模型在小麦籽粒分割方面表现最佳。其分割精度为92.04%,平均交并比(mIoU)为85.21%,类别平均像素精度(mPA)为91.16%,召回率为91.16%,与HRNet、PSPNet、DeeplabV3+和U-Net等其他模型相比,具有更强的鲁棒性。穗粒数计算方法I是计算穗一侧籽粒数的两倍来确定籽粒总数,其决定系数R为0.85,平均绝对误差(MAE)为1.53,平均相对误差(MRE)为2.91。相比之下,穗粒数计算方法II是将两侧的籽粒数相加来确定籽粒总数,其决定系数R为0.92,MAE为1.15,MRE为2.09%。
CBAM-HRNet小麦穗粒图像分割算法是一种强大的解决方案,它利用CBAM对小麦穗粒进行分割并获得更丰富的语义信息。该模型能够有效应对小目标图像分割挑战和训练中的欠拟合问题。此外,穗粒计数模型能够快速准确地预测小麦的籽粒数,为高效智能的小麦产量估算提供算法支持。