Cow depth image restoration method based on RGB guided network with modulation branch in the cowshed environment

IF 8.9 1区 农林科学 Q1 AGRICULTURE, MULTIDISCIPLINARY Computers and Electronics in Agriculture Pub Date : 2025-02-01 DOI:10.1016/j.compag.2024.109773
Yanxing Li , Xin Dai , Baisheng Dai , Peng Song , Xinjie Wang , Xinchao Chen , Yang Li , Weizheng Shen
{"title":"Cow depth image restoration method based on RGB guided network with modulation branch in the cowshed environment","authors":"Yanxing Li ,&nbsp;Xin Dai ,&nbsp;Baisheng Dai ,&nbsp;Peng Song ,&nbsp;Xinjie Wang ,&nbsp;Xinchao Chen ,&nbsp;Yang Li ,&nbsp;Weizheng Shen","doi":"10.1016/j.compag.2024.109773","DOIUrl":null,"url":null,"abstract":"<div><div>Depth images were widely applied in smart animal husbandry. The raw depth images collected by the RGB-D cameras generally existed amount of missing depth values due to the light reflected from white pattern of cows and direct sunlight in the cowshed. The incomplete cows in depth images would affect the application of depth images in health monitoring. This study proposed a cow depth image restoration method based on RGB guided network with a modulation branch. Firstly, removing the outliers caused by light from the depth image and determining the depth value missing area of the cow’s body. Second, RGB and depth features were extracted through multiple convolutions and fused in the S-C (Self-attention and Convolution attention) fusion module of encoder. Then, the prediction head generated a coarsely predicted depth image after deconvolution combined with a modulation branch. Finally, the repaired depth image was generated in the SPN (Spatial Propagation Network) refinement module of the decoder. In terms of dataset construction, 7260 depth images were collected in a commercial dairy farm. To make up for lacking ground truth complete depth images corresponded to the raw depth images with missing value, two ways for generating missing depth images were designed. The experimental results shown that the method had improved restoration quality of cow’s incomplete body in depth images. By comparing with other depth restoration works, the proposed method achieved significantly superior performance on RMSE = 36.32 and MAE = 12.77, and the percentage of predicted pixels within the error range at 1.25 reached 0.999. Additionally, a smoother transition between missing and restoration regions was demonstrated in the repaired depth images and point cloud results. And compared with the depth images with missing regions, the Precision, Recall rate and F1-score of the repaired depth images were improved for cow body condition scoring. This study could improve the effectiveness of the collected data and make the depth images more practical for smart animal husbandry.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":"229 ","pages":"Article 109773"},"PeriodicalIF":8.9000,"publicationDate":"2025-02-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/S0168169924011645","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

Abstract

Depth images were widely applied in smart animal husbandry. The raw depth images collected by the RGB-D cameras generally existed amount of missing depth values due to the light reflected from white pattern of cows and direct sunlight in the cowshed. The incomplete cows in depth images would affect the application of depth images in health monitoring. This study proposed a cow depth image restoration method based on RGB guided network with a modulation branch. Firstly, removing the outliers caused by light from the depth image and determining the depth value missing area of the cow’s body. Second, RGB and depth features were extracted through multiple convolutions and fused in the S-C (Self-attention and Convolution attention) fusion module of encoder. Then, the prediction head generated a coarsely predicted depth image after deconvolution combined with a modulation branch. Finally, the repaired depth image was generated in the SPN (Spatial Propagation Network) refinement module of the decoder. In terms of dataset construction, 7260 depth images were collected in a commercial dairy farm. To make up for lacking ground truth complete depth images corresponded to the raw depth images with missing value, two ways for generating missing depth images were designed. The experimental results shown that the method had improved restoration quality of cow’s incomplete body in depth images. By comparing with other depth restoration works, the proposed method achieved significantly superior performance on RMSE = 36.32 and MAE = 12.77, and the percentage of predicted pixels within the error range at 1.25 reached 0.999. Additionally, a smoother transition between missing and restoration regions was demonstrated in the repaired depth images and point cloud results. And compared with the depth images with missing regions, the Precision, Recall rate and F1-score of the repaired depth images were improved for cow body condition scoring. This study could improve the effectiveness of the collected data and make the depth images more practical for smart animal husbandry.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
牛棚环境下基于RGB引导网络调制支路的奶牛深度图像恢复方法
深度图像在智能畜牧业中得到了广泛的应用。RGB-D相机采集的原始深度图像普遍存在深度值缺失的问题,这主要是由于奶牛白色花纹的反射光和牛棚内阳光直射造成的。深度图像中奶牛的不完整会影响深度图像在健康监测中的应用。提出了一种基于带调制分支的RGB引导网络的奶牛深度图像恢复方法。首先,从深度图像中去除光引起的异常值,确定奶牛身体的深度值缺失区域;其次,通过多次卷积提取RGB和深度特征,并在编码器的S-C (Self-attention and Convolution attention)融合模块中进行融合;然后,预测头结合调制支路进行反卷积后生成粗预测深度图像。最后,在解码器的SPN (Spatial Propagation Network)细化模块中生成修复后的深度图像。在数据集构建方面,在某商业奶牛场采集了7260张深度图像。为了弥补缺失值的原始深度图像所对应的地面真值完整深度图像的缺失,设计了两种生成缺失深度图像的方法。实验结果表明,该方法提高了深度图像中奶牛残缺身体的恢复质量。与其他深度恢复方法相比,该方法在RMSE = 36.32、MAE = 12.77的情况下取得了显著的效果,在1.25的误差范围内预测像素的百分比达到了0.999。此外,在修复后的深度图像和点云结果中,缺失区域和恢复区域之间的过渡更加平滑。与缺失区域的深度图像相比,修复后的深度图像对奶牛身体状况的评分精度、查全率和f1得分均有提高。该研究可以提高采集数据的有效性,使深度图像在智能畜牧业中更加实用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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.
期刊最新文献
Real-time and explainable non-destructive nut classification using spike-triggered acoustic sensing Precision mapping of soil salinity in reclaiming salt-induced wasteland with UAV multispectral images and machine learning Comparison of soil property predictions in Lithuanian croplands using UAV, satellite, EMI data and machine learning A new generation of embodied intelligent plant protection unmanned vehicle integrated with hydrostatic transmission and four-wheel drive technology: design, development and application Mathematical modeling of tomato ripening: Formulations, validation, and postharvest decision support — A review
×
引用
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