Jian Wu , Yingying Yang , Wen Yang , Chengwan Zha , Liming Hou , Sanqin Zhao , Wangjun Wu , Yutao Liu
{"title":"Non-destructive and efficient prediction of intramuscular fat in live pigs based on ultrasound images and machine learning","authors":"Jian Wu , Yingying Yang , Wen Yang , Chengwan Zha , Liming Hou , Sanqin Zhao , Wangjun Wu , Yutao Liu","doi":"10.1016/j.compag.2025.110291","DOIUrl":null,"url":null,"abstract":"<div><div>Intramuscular fat (IMF) content plays an essential role in the evaluation of meat quality. To select pig breeds with different IMF content, developing a method to predict the IMF content in live pigs was greatly significant to reduce the cost and time of breeding. In the current study, real-time ultrasound images 5 cm off-midline across the third and fourth last thoracic ribs of 336 live pigs were collected using the B-model technique, and image feature parameters were extracted by computer image processing techniques. Furthermore, multiple linear regression (MLR) and two machine learning algorithms, support vector machine (SVM) and back-propagation artificial neural network (BPANN), were used to develop the prediction models of IMF content. The experimental pigs were divided into a training dataset (n = 266) for developing the prediction models and a validation dataset (n = 70) for estimating the accuracy of the models, and a test set (n = 67) for additional model performance evaluation. The results reveal that the coefficient of determination (<em>R</em><sup>2</sup>) of models ranges from 0.65 to 0.80 with a root-mean-square error (RMSE) range of 0.50 %–0.65 % in the training dataset. By contrast, the correlation coefficients (<em>R</em>) between the predicted IMF (PIMF) and the chemically measured IMF (CIMF) range from 0.72 to 0.82 with an RMSE ≤ 0.69 % for all the models in the validation and test dataset. Moreover, the results indicate that the individual ratio of absolute difference (ADIF) within 1 % between PIMF and CIMF is > 86.57 % for all the models. In addition, classification accuracy shows that the BPANN1 model has superior classification ability in both low and high IMF content groups compared to the other two types of models in the validation dataset, but not in the test dataset. The MLR models are superior to other models in the medium IMF content group. Overall, our research demonstrates that it is feasible to predict IMF content based on ultrasound images in live pigs and provides several alternative models for accurate determination of IMF content, which could accelerate the genetic improvement of IMF content, thereby improving the pork quality in pig breeding programs.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":"234 ","pages":"Article 110291"},"PeriodicalIF":7.7000,"publicationDate":"2025-03-19","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/S0168169925003977","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
摘要
肌内脂肪(IMF)含量在肉质评价中起着至关重要的作用。为了选择不同肌内脂肪含量的猪种,开发一种预测活猪肌内脂肪含量的方法对降低育种成本和缩短育种时间意义重大。在本研究中,使用 B 模型技术采集了 336 头活猪的第三和倒数第四胸肋骨离中线 5 厘米的实时超声图像,并通过计算机图像处理技术提取了图像特征参数。此外,还采用多元线性回归(MLR)以及支持向量机(SVM)和反向传播人工神经网络(BPANN)两种机器学习算法来建立 IMF 含量的预测模型。实验猪分为用于开发预测模型的训练数据集(n = 266)和用于估算模型准确性的验证数据集(n = 70),以及用于评估模型性能的测试集(n = 67)。结果显示,模型的判定系数(R2)在 0.65 至 0.80 之间,训练数据集的均方根误差(RMSE)在 0.50 % 至 0.65 % 之间。相比之下,在验证和测试数据集中,所有模型的预测 IMF(PIMF)和化学测量 IMF(CIMF)之间的相关系数(R)介于 0.72 到 0.82 之间,均方根误差(RMSE)≤ 0.69 %。此外,结果表明,所有模型的 PIMF 和 CIMF 之间绝对差值在 1 % 以内的个体比率(ADIF)为 86.57 %。此外,分类准确率表明,在验证数据集中,BPANN1 模型在 IMF 含量低和 IMF 含量高两组中的分类能力均优于其他两类模型,但在测试数据集中则不尽然。在中等 IMF 含量组中,MLR 模型优于其他模型。总之,我们的研究表明,根据活猪的超声波图像预测 IMF 含量是可行的,并为准确测定 IMF 含量提供了几种可供选择的模型,这可以加速 IMF 含量的遗传改良,从而提高猪育种计划中的猪肉质量。
Non-destructive and efficient prediction of intramuscular fat in live pigs based on ultrasound images and machine learning
Intramuscular fat (IMF) content plays an essential role in the evaluation of meat quality. To select pig breeds with different IMF content, developing a method to predict the IMF content in live pigs was greatly significant to reduce the cost and time of breeding. In the current study, real-time ultrasound images 5 cm off-midline across the third and fourth last thoracic ribs of 336 live pigs were collected using the B-model technique, and image feature parameters were extracted by computer image processing techniques. Furthermore, multiple linear regression (MLR) and two machine learning algorithms, support vector machine (SVM) and back-propagation artificial neural network (BPANN), were used to develop the prediction models of IMF content. The experimental pigs were divided into a training dataset (n = 266) for developing the prediction models and a validation dataset (n = 70) for estimating the accuracy of the models, and a test set (n = 67) for additional model performance evaluation. The results reveal that the coefficient of determination (R2) of models ranges from 0.65 to 0.80 with a root-mean-square error (RMSE) range of 0.50 %–0.65 % in the training dataset. By contrast, the correlation coefficients (R) between the predicted IMF (PIMF) and the chemically measured IMF (CIMF) range from 0.72 to 0.82 with an RMSE ≤ 0.69 % for all the models in the validation and test dataset. Moreover, the results indicate that the individual ratio of absolute difference (ADIF) within 1 % between PIMF and CIMF is > 86.57 % for all the models. In addition, classification accuracy shows that the BPANN1 model has superior classification ability in both low and high IMF content groups compared to the other two types of models in the validation dataset, but not in the test dataset. The MLR models are superior to other models in the medium IMF content group. Overall, our research demonstrates that it is feasible to predict IMF content based on ultrasound images in live pigs and provides several alternative models for accurate determination of IMF content, which could accelerate the genetic improvement of IMF content, thereby improving the pork quality in pig breeding programs.
期刊介绍:
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.