周敏,崔志航,单蕾. 基于可见-近红外光谱的鸡只粪便分类判别[J]. 农业工程学报,2023,39(14):200-206. DOI: 10.11975/j.issn.1002-6819.202304145
    引用本文: 周敏,崔志航,单蕾. 基于可见-近红外光谱的鸡只粪便分类判别[J]. 农业工程学报,2023,39(14):200-206. DOI: 10.11975/j.issn.1002-6819.202304145
    ZHOU Min, CUI Zhihang, SHAN Lei. Classification and discrimination of chicken feces using visible-near infrared spectroscopy[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2023, 39(14): 200-206. DOI: 10.11975/j.issn.1002-6819.202304145
    Citation: ZHOU Min, CUI Zhihang, SHAN Lei. Classification and discrimination of chicken feces using visible-near infrared spectroscopy[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2023, 39(14): 200-206. DOI: 10.11975/j.issn.1002-6819.202304145

    基于可见-近红外光谱的鸡只粪便分类判别

    Classification and discrimination of chicken feces using visible-near infrared spectroscopy

    • 摘要: 鸡只粪便的性状是反映鸡只健康状况的重要特征之一,不同性状的鸡便往往与特定的疾病相关联。针对鸡只粪便性状主要依靠人工监测,存在速度慢且易发生交叉感染等问题,该研究提出一种基于可见-近红外光谱技术的鸡只粪便分类判别模型。首先,通过扫描4类典型的鸡只粪便样本(正常粪便、红血丝粪便、绿色粪便和饲料粪便)在400~900 nm波段范围的光谱数据,对每一类别的鸡便样本按随机性原则以3∶1划分为校正集和测试集。其次,分别采用多元散射校正、SG卷积平滑和标准差标准化进行数据预处理,并建立偏最小二乘判别分析模型,根据模型评价指标确定最优预处理方法。然后,使用主成分分析、竞争性自适应重加权采样、改进的混合蛙跳3种方法对预处理后的样本进行数据降维,并最终建立分类判别模型。结果表明:基于模型评价指标确定最优数据预处理方法后,再采用改进后的混合蛙跳降维方法建立的判别模型区分正常粪便、红血丝粪便、绿色粪便表现最优,测试集判别准确率分别为92.27%、92.59%、100%;而对于饲料粪便,所选3种降维方法建立的判别模型,其测试集准确率均可达100%。因此,通过可见-近红外光谱检测手段,结合特征波长优选与偏最小二乘判别分析,可以有效判别不同类型的鸡只粪便,为实现鸡病智能化监测提供技术支持。

       

      Abstract: Chicken disease identification with manual monitoring cannot fully meet the large-scale production in livestock and poultry breeding industry, due to slow speed and chickens prone to cross-infection. The characteristics of chicken feces can be one of the important indicators to reflect the health status of chickens. The different colors and traits of feces are associated with different chicken diseases. In this study, a classification and discrimination model was proposed for the chicken feces using visible-near-infrared spectroscopy. A research foundation was laid for the final realization of early warning of chicken diseases. Four types of typical chicken feces sample were selected, including the normal, red blood streak, green and fodder feces. The spectral data of samples was scanned in the 400-900 nm band. Each type of chicken feces samples was divided into the correction sets (162 samples) and test sets (53 samples) at 3:1, according to the principle of randomness. Multivariate scattering correction, Savitzky-Golay convolution smoothing, and Z-scores normalization were used to preprocess the data. A PLS-DA (partial least squares discriminant analysis) model was then established to select the optimal pretreatment, according to the evaluation index. An improved shuffled frog leaping algorithm was proposed to further optimize the existing partial least squares discriminant analysis model. The calculation rate of the model was effectively improved to obtain a more accurate number of principal factors. The number of iterations was determined to minimize the root mean square error of cross-validation. The PCA (principal component analysis), CARS (competitive adaptive reweighted sampling), and ISFLA (improved shuffled frog leaping algorithm) were used to reduce the data dimensionality of the processed samples using the preferred pretreatment. Finally, a categorical discriminant model was established after optimization. The results showed that the PLS-DA model established by the SG convolution smoothing-MSC-Z-Scores shared the better performance of normal stool sample data, and for the three types of abnormal samples, the PLS-DA model established by MSC performed better. The accuracies of the test sets were achieved at 74.07%, 91.98%, 96.15%, and 100%, respectively, for four types of feces samples. The optimal data preprocessing was determined using model evaluation. The ISFLA-PLS-DA was used to distinguish between the normal, red-blooded feces and green feces, where the accuracies of the test set were 92.27%, 92.59% and 100%, respectively. More importantly, the PCA-PLS-DA should be used for the discrimination in the fodder feces, where the accuracy of the test set was 100%. The dimensionality of the data was reduced by feature extraction to construct the lightweight PLS-DA model. The accuracy of the correction set was significantly improved in each typical stool sample. Specifically, the accuracies of the correction set were significantly improved before optimization, which increased by 7.70, 0.61, and 3.85 percentage point, respectively, of normal, red-blooded feces and green feces. Therefore, rapid, accurate and non-contact detection was achieved in the different types of typical chicken feces using visible-near-infrared spectroscopy detection combined with the characteristic wavelength selection and PLS-DA discrimination. The finding can also provide the strong reference for the intelligent detection technology of chicken disease.

       

    /

    返回文章
    返回