Explainable Deep–Shallow Feature Fusion of Two-Dimensional Encoded Vis–NIR Spectra and RGB Image Features for Chilled Lamb Freshness Assessment
Open Access
Abstract
Quality deterioration of chilled lamb during storage poses a challenge to meat quality and safety control, making rapid and accurate freshness-grade classification essential. Existing methods based on either spectral information or RGB image information alone are insufficient to simultaneously characterize internal chemical changes and external appearance changes during lamb quality deterioration. To address this issue, this study developed a chilled lamb freshness-grade classification method by integrating deep features from two-dimensional visible–near-infrared (Vis–NIR) spectral encoding with RGB image features. In this method, one-dimensional Vis–NIR spectra were transformed into two-dimensional encoded images using Gramian angular difference field (GADF), Gramian angular summation field (GASF), Markov transition field (MTF), and recurrence plot (RP) to enhance the representation of inter-wavelength structural relationships in spectral sequences, thereby compensating for the limited ability of conventional one-dimensional spectral modeling to capture global correlations and local variation information. Meanwhile, recursive feature elimination (RFE)-selected spectral deep features were fused with Spearman-selected RGB image features to construct a deep–shallow classification model. The results showed that the fusion models outperformed the single-modality models, with GADF(10%)+Image-SVM achieving the best performance, yielding an accuracy, F1-score, and MCC of 0.966, 0.957, and 0.946, respectively. Shapley additive explanations (SHAP) analysis further indicated that GADF deep features were the primary contributors, while RGB image features provided effective complementary information, demonstrating the potential of the proposed method for rapid and nondestructive freshness-grade classification of chilled lamb.Keywords
Funding Information
- National Natural Science Foundation of China (62262057)
- Earmarked Fund (CARS-38)
- Science and Technology Department of Xinjiang Uyghur Autonomous Region (2023B01030)
- Xinjiang Production and Construction Corps (2023AB059)
This publication has 48 references indexed in Scilit:
- Detection of sub-healthy apples with moldy core using dimension converted Vis-NIR transmission spectra combined with explainable deep-shallow modelFood Control, 2025
- Acoustic-vibration detection of moldy pear core: a novel approach combining image coding and hybrid deep learningFood Control, 2025
- Identification of syrup adulteration in wolfberry honey using CNN-CBAM-SVM combined with 1H NMRFood Chemistry, 2025
- Wine variety traceability by data fusion of near-infrared(NIR) spectroscopy and mid-infrared (MIR) spectroscopy combined with GAF and ResNetChemometrics and Intelligent Laboratory Systems, 2025
- Portable beef-freshness detection platform based on colorimetric sensor array technology and bionic algorithms for total volatile basic nitrogen (TVB-N) determinationFood Control, 2023
- Microbial spoilage mechanisms of vacuum-packed lamb meat: A reviewInternational Journal of Food Microbiology, 2022
- Fusion of spectra and texture data of hyperspectral imaging for prediction of myoglobin content in nitrite-cured muttonFood Control, 2022
- Real-time and rapid prediction of TVB-N of livestock and poultry meat at three depths for freshness evaluation using a portable fluorescent film sensorFood Chemistry, 2022
- Raman spectroscopy for rapid fingerprint analysis of meat quality and security: Principles, progress and prospectsFood Research International, 2022
- Portable Food‐Freshness Prediction Platform Based on Colorimetric Barcode Combinatorics and Deep Convolutional Neural NetworksAdvanced Materials, 2020