Deep learning-based model to classify mastitis in Holstein dairy cows

IF 4.4 1区 农林科学 Q1 AGRICULTURAL ENGINEERING
Mengyuan Chu , Yongsheng Si , Qian Li , Xiaowen Liu , Gang Liu
{"title":"Deep learning-based model to classify mastitis in Holstein dairy cows","authors":"Mengyuan Chu ,&nbsp;Yongsheng Si ,&nbsp;Qian Li ,&nbsp;Xiaowen Liu ,&nbsp;Gang Liu","doi":"10.1016/j.biosystemseng.2025.02.013","DOIUrl":null,"url":null,"abstract":"<div><div>The occurrence and prevalence of dairy cow mastitis has brought significant challenges to animal welfare and economy. To overcome the complexities and accumulated errors present in previous detection methods, a rapid and accurate mastitis detection approach is developed based on image processing and deep learning, leveraging thermal infrared imaging. Image processing techniques, including the Hough transform and morphological operations, are used to classify affected cows from thermal images. An image pyramid is constructed based on upsampling to tackle motion blur induced by the cows' rapid movement. The multi-scale convolution and the spatial and channel Squeeze &amp; Excitation (scSE) block were integrated into the DenseNet-201 architecture to enhance the feature extraction process. This enabled the network to adaptively recalibrate channel-wise feature responses and strengthening the discriminative power of the learned representations. For mastitis detection, a deep learning model, the multi-scale scSE-DenseNet-201 (MS-scSE-DenseNet-201) architecture, is refined to predict the severity of mastitis. The framework takes images of both sides of the cow's udder as input, and outputs one of three mastitis severity levels: negative (N), subclinical mastitis (SCM), or clinical mastitis (CM). To assess the model's performance in detecting mastitis, a dataset comprising 5000 thermal images from 802 cows, was used. The model achieved accuracy, precision, and recall of 90.18%, 92.16%, and 88.38%, respectively, showing notable improvement over previous methods. This work integrated object segmentation and blind deblurring to strengthen the MS-scSE-DenseNet-201 in the automatic detection of cow mastitis, which will open a promising application horizon for other animal disease diagnostics.</div></div>","PeriodicalId":9173,"journal":{"name":"Biosystems Engineering","volume":"252 ","pages":"Pages 92-104"},"PeriodicalIF":4.4000,"publicationDate":"2025-03-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Biosystems Engineering","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1537511025000455","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURAL ENGINEERING","Score":null,"Total":0}
引用次数: 0

Abstract

The occurrence and prevalence of dairy cow mastitis has brought significant challenges to animal welfare and economy. To overcome the complexities and accumulated errors present in previous detection methods, a rapid and accurate mastitis detection approach is developed based on image processing and deep learning, leveraging thermal infrared imaging. Image processing techniques, including the Hough transform and morphological operations, are used to classify affected cows from thermal images. An image pyramid is constructed based on upsampling to tackle motion blur induced by the cows' rapid movement. The multi-scale convolution and the spatial and channel Squeeze & Excitation (scSE) block were integrated into the DenseNet-201 architecture to enhance the feature extraction process. This enabled the network to adaptively recalibrate channel-wise feature responses and strengthening the discriminative power of the learned representations. For mastitis detection, a deep learning model, the multi-scale scSE-DenseNet-201 (MS-scSE-DenseNet-201) architecture, is refined to predict the severity of mastitis. The framework takes images of both sides of the cow's udder as input, and outputs one of three mastitis severity levels: negative (N), subclinical mastitis (SCM), or clinical mastitis (CM). To assess the model's performance in detecting mastitis, a dataset comprising 5000 thermal images from 802 cows, was used. The model achieved accuracy, precision, and recall of 90.18%, 92.16%, and 88.38%, respectively, showing notable improvement over previous methods. This work integrated object segmentation and blind deblurring to strengthen the MS-scSE-DenseNet-201 in the automatic detection of cow mastitis, which will open a promising application horizon for other animal disease diagnostics.
求助全文
约1分钟内获得全文 求助全文
来源期刊
Biosystems Engineering
Biosystems Engineering 农林科学-农业工程
CiteScore
10.60
自引率
7.80%
发文量
239
审稿时长
53 days
期刊介绍: Biosystems Engineering publishes research in engineering and the physical sciences that represent advances in understanding or modelling of the performance of biological systems for sustainable developments in land use and the environment, agriculture and amenity, bioproduction processes and the food chain. The subject matter of the journal reflects the wide range and interdisciplinary nature of research in engineering for biological systems.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信