A customized density map model and segment anything model for cotton boll number, size, and yield prediction in aerial images

IF 8.9 1区 农林科学 Q1 AGRICULTURE, MULTIDISCIPLINARY Computers and Electronics in Agriculture Pub Date : 2025-05-01 Epub Date: 2025-02-06 DOI:10.1016/j.compag.2025.110065
Chenjiao Tan , Jin Sun , Huaibo Song , Changying Li
{"title":"A customized density map model and segment anything model for cotton boll number, size, and yield prediction in aerial images","authors":"Chenjiao Tan ,&nbsp;Jin Sun ,&nbsp;Huaibo Song ,&nbsp;Changying Li","doi":"10.1016/j.compag.2025.110065","DOIUrl":null,"url":null,"abstract":"<div><div>The number of cotton bolls is an important phenotyping trait not only for breeders but also for growers. It can provide information on the physiological and genetic mechanisms of plant growth and aid decision-making in crop management. However, traditional visual inspection in the field is time-consuming and laborious. With the application of drones in the agricultural domain, there is promising potential to collect data expediently. In this paper, we integrated the improved Distribution Matching for crowd Counting (DM-Count) and Segment Anything Model (SAM) to predict cotton boll number, size, and yield in aerial images. The cotton plots were first extracted from the raw aerial images using boundaries derived from orthophotos. Then, a convolutional neural network (DM-Count) was introduced as a baseline and customized by replacing the VGG19 backbone and adding a pixel loss. The customized network was first pretrained on ground images and then fine-tuned on aerial images to predict the density map, where the number and locations of cotton bolls can be obtained. The zero-shot foundation model SAM was investigated to segment cotton bolls with the point prompts provided by customized DM-Count. The respective numbers of bolls and segmented pixels were compared for seed cotton yield estimation. The experimental results showed that the customized model obtained a mean absolute error (MAE) of 1.78 per square meter and a mean absolute percentage error (MAPE) of 4.39 % on the testing dataset, with a high correlation between the predicted boll number and ground truth (R<sup>2</sup> = 0.91). The AP50 of SAM for cotton boll segmentation was 0.63. The segmented masks were used to delineate the boll size differences among the four genotypes, and it was found that the average boll size of Pima was 452 pixels, which was significantly smaller than Acala Maxxa, UA 48 and Tamcot Sphinx. Moreover, the yield estimation using the boll number was better than that using the pixel number, with an R<sup>2</sup> = 0.70. Combing the boll number and the pixel number can achieve a slightly higher R<sup>2</sup> of 0.72 for yield estimation. Overall, the customized model can count cotton bolls in aerial images accurately and estimate seed cotton yield effectively, which could significantly benefit breeders in developing genotypes with high yields, as well as help growers in yield estimation and crop management.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":"232 ","pages":"Article 110065"},"PeriodicalIF":8.9000,"publicationDate":"2025-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers and Electronics in Agriculture","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0168169925001711","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/2/6 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

Abstract

The number of cotton bolls is an important phenotyping trait not only for breeders but also for growers. It can provide information on the physiological and genetic mechanisms of plant growth and aid decision-making in crop management. However, traditional visual inspection in the field is time-consuming and laborious. With the application of drones in the agricultural domain, there is promising potential to collect data expediently. In this paper, we integrated the improved Distribution Matching for crowd Counting (DM-Count) and Segment Anything Model (SAM) to predict cotton boll number, size, and yield in aerial images. The cotton plots were first extracted from the raw aerial images using boundaries derived from orthophotos. Then, a convolutional neural network (DM-Count) was introduced as a baseline and customized by replacing the VGG19 backbone and adding a pixel loss. The customized network was first pretrained on ground images and then fine-tuned on aerial images to predict the density map, where the number and locations of cotton bolls can be obtained. The zero-shot foundation model SAM was investigated to segment cotton bolls with the point prompts provided by customized DM-Count. The respective numbers of bolls and segmented pixels were compared for seed cotton yield estimation. The experimental results showed that the customized model obtained a mean absolute error (MAE) of 1.78 per square meter and a mean absolute percentage error (MAPE) of 4.39 % on the testing dataset, with a high correlation between the predicted boll number and ground truth (R2 = 0.91). The AP50 of SAM for cotton boll segmentation was 0.63. The segmented masks were used to delineate the boll size differences among the four genotypes, and it was found that the average boll size of Pima was 452 pixels, which was significantly smaller than Acala Maxxa, UA 48 and Tamcot Sphinx. Moreover, the yield estimation using the boll number was better than that using the pixel number, with an R2 = 0.70. Combing the boll number and the pixel number can achieve a slightly higher R2 of 0.72 for yield estimation. Overall, the customized model can count cotton bolls in aerial images accurately and estimate seed cotton yield effectively, which could significantly benefit breeders in developing genotypes with high yields, as well as help growers in yield estimation and crop management.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
一个定制的密度地图模型和分割任何模型棉铃数,大小和产量预测在航空图像
棉铃数不仅对育种者,而且对栽培者都是一个重要的表型性状。它可以提供有关植物生长的生理和遗传机制的信息,并有助于作物管理决策。然而,传统的现场目视检测费时费力。随着无人机在农业领域的应用,方便地收集数据具有很大的潜力。本文将改进的人群计数分布匹配(DM-Count)和分段任意模型(SAM)相结合,对航拍图像中的棉铃数、大小和产量进行预测。首先利用正射影像得到的边界从原始航空图像中提取棉花地块。然后,引入卷积神经网络(DM-Count)作为基线,并通过替换VGG19主干并添加像素损失来定制。该定制网络首先对地面图像进行预训练,然后对航空图像进行微调,预测密度图,从而获得棉铃的数量和位置。利用定制的DM-Count提供的点提示,研究了零射基础模型SAM对棉铃进行分段。分别比较了棉铃数和分割像元数,估算了籽棉产量。实验结果表明,定制模型在测试数据集上的平均绝对误差(MAE)为1.78 / m2,平均绝对百分比误差(MAPE)为4.39%,预测的铃数与真实值具有较高的相关性(R2 = 0.91)。SAM对棉铃分割的AP50为0.63。利用分段掩模对4个基因型的棉铃大小差异进行了划分,发现皮马的平均棉铃大小为452像素,显著小于阿卡拉Maxxa、UA 48和Tamcot Sphinx。利用铃数估算产量优于利用像元数估算,R2 = 0.70。结合铃数和像元数可以获得略高的R2,为0.72。综上所述,该定制模型能够准确地对航拍图像中的棉铃进行计数,有效地估算棉籽棉产量,为育种者开发高产基因型提供了显著的帮助,也为种植户估算产量和作物管理提供了帮助。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Computers and Electronics in Agriculture
Computers and Electronics in Agriculture 工程技术-计算机:跨学科应用
CiteScore
15.30
自引率
14.50%
发文量
800
审稿时长
62 days
期刊介绍: Computers and Electronics in Agriculture provides international coverage of advancements in computer hardware, software, electronic instrumentation, and control systems applied to agricultural challenges. Encompassing agronomy, horticulture, forestry, aquaculture, and animal farming, the journal publishes original papers, reviews, and applications notes. It explores the use of computers and electronics in plant or animal agricultural production, covering topics like agricultural soils, water, pests, controlled environments, and waste. The scope extends to on-farm post-harvest operations and relevant technologies, including artificial intelligence, sensors, machine vision, robotics, networking, and simulation modeling. Its companion journal, Smart Agricultural Technology, continues the focus on smart applications in production agriculture.
期刊最新文献
Tech-driven evolution of animal housing: an in-depth analysis of the impact of digital technologies, AI, and GenAI in the Era of precision livestock farming A robotic harvesting system for occluded cucumbers using F2SA-YOLOv8 and HVSC MCS-YOLO: A novel remote sensing image segmentation algorithm for mountain crops A generalization and lightweight recognition for citrus fruit harvesting based on improving YOLOv8 LeafRemoval-YOLO-K: A hybrid visual recognition network for stem-petiole segmentation and cutting point localization in tomato plants
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1