Next Article in Journal
Potential Invasion Risk of Empoasca fabae in China Under CMIP6 Scenarios: Integrating Climatic Suitability and Host Plant Distribution
Previous Article in Journal
Sustained-Release Abm@TPP/CMCS Nanopesticide for Enhanced Efficacy Against Cydia pomonella and Reduced Non-Target Toxicity
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Comprehensive Evaluation Method for Greenhouse-Grown Lettuce Based on RGB Images and Hyperspectral Data

Xinjiang Production and Construction Group, The Key Laboratory of Oasis Eco-Agriculture, College of Agriculture, Shihezi University, Shihezi 832003, China
*
Authors to whom correspondence should be addressed.
Agronomy 2026, 16(6), 600; https://doi.org/10.3390/agronomy16060600
Submission received: 9 February 2026 / Revised: 4 March 2026 / Accepted: 6 March 2026 / Published: 11 March 2026
(This article belongs to the Section Precision and Digital Agriculture)

Abstract

Quality grading of greenhouse lettuce requires rapid external appearance screening and nondestructive internal quality assessment. However, existing detection methods struggle to simultaneously evaluate both external and internal quality while maintaining efficiency, resulting in a lack of scientific and comprehensive integrated evaluation standards for current crop grading. To address this issue, this study leveraged the technical strengths of different sensors to construct separate models: an RGB image-based monitoring model for external quality and a hyperspectral-based estimation model for internal quality. Using a combined objective–subjective weighting method, this approach scientifically integrated external and internal quality monitoring indicators to establish a comprehensive evaluation method for greenhouse lettuce quality. The results demonstrate that features such as canopy projection area, compactness, and color components can be extracted from RGB images. Combined with Ridge regression, this approach achieves high-accuracy estimation of lettuce fresh weight and leaf area (R2 ≥ 0.880). For intrinsic quality, by combining hyperspectral data with the CARS and SPA band selection algorithms, a Random Forest (RF)-based inversion model for chlorophyll, soluble sugar, protein, and vitamin C content was developed. The AHP-CRITIC method effectively resolved the weight imbalance caused by an excessive coefficient of variation in appearance indicators, thereby achieving the scientific integration of appearance and internal quality data. The grading outcomes of this integrated evaluation method were highly consistent with industry standards (kappa coefficient: 0.788). This approach establishes an effective link between the rapid monitoring of external and internal quality for comprehensive evaluation, providing a novel technical pathway and scientific basis for nondestructive post-harvest detection and automated grading of greenhouse vegetables.

1. Introduction

Lettuce (Lactuca sativa L.) is a leafy vegetable valued both nutritionally and economically. Owing to its short growth cycle and adaptability to controlled environmental conditions, lettuce has become a primary crop for continuous year-round cultivation in modern plant factories and protected agriculture systems [1]. Lettuce quality affects consumer safety and sensory experience, as well as functions as a key determinant of market value and production profitability [2]. Therefore, the development of rapid and accurate quality evaluation methods is crucial for achieving standardized production and efficient management of greenhouse-grown lettuce. Traditionally, the assessment of vegetable quality predominantly relied on sensory evaluation and physicochemical analyses. Although intuitive, these methods are susceptible to subjective experience and encounter challenges in establishing quantifiable grading standards. Physicochemical testing based on technologies such as chromatography and mass spectrometry exhibits high accuracy; however, they have disadvantages such as high invasiveness, complex pretreatment, and limited timeliness [3]. These constraints make them unsuitable for real-time, nondestructive monitoring of crop growth in controlled environments.
In the fields of precision agriculture and high-throughput phenotyping, optical-based non-contact, non-destructive detection technologies have emerged as a research frontier for crop condition monitoring [4]. RGB imaging technology, with its advantages of high spatial resolution, low cost, and rapid imaging speed, excels at capturing intricate geometric structures and color characteristics of crops. It has been widely applied in assessing external quality attributes such as plant architecture and appearance [5,6]. However, unlike smooth-surfaced, compact-structured fruit crops, leafy vegetables like lettuce possess unique biological characteristics—such as overlapping leaves that cause mutual shading and biomass primarily composed of foliage—making it difficult for visible light to penetrate the phenotypic barrier. This hinders the effective quantification of internal physiological and biochemical indicators. Hyperspectral technology, with its high spectral resolution and continuous band coverage, precisely captures unique spectral information of samples. This provides a technical solution to the limitations of RGB imaging in monitoring intrinsic quality, enabling accurate estimation of chlorophyll and other physiological/biochemical components within lettuce [7,8,9]. Furthermore, it offers robust data support for multidimensional crop quality assessment, ultimately achieving synergistic non-destructive evaluation of both lettuce appearance and internal quality. Current lettuce evaluation standards primarily focus on external quality [10,11] and lack the simultaneous consideration of internal qualities that determine edible value. This results in notable limitations in the quality assessment. Therefore, to enhance the grading accuracy and practicality, developing a dual-dimensional integrated evaluation method that combines external and internal qualities is necessary. This approach enables optimization and upgrading from single-aspect appearance judgment to comprehensive quality assessment.
In this study, we investigated the application potential of multi-source sensing technologies for monitoring leafy vegetable quality using greenhouse-grown lettuce. First, rapid monitoring models for external indicators such as fresh weight and leaf area were constructed based on RGB image feature extraction. Subsequently, spectral inversion models for internal quality indicators, including soluble sugars, proteins, and vitamin C, were investigated using hyperspectral technology combined with machine-learning algorithms. Finally, by integrating the appearance and internal quality monitoring data, a comprehensive lettuce quality evaluation system based on subjective and objective weighting was established. This study is expected to establish a reliable technical approach for quality monitoring of greenhouse-grown lettuce, develop an integrated technical pathway from rapid monitoring to precise evaluation, and provide theoretical and methodological foundations for accurate grading of vegetables post-harvest.

2. Materials and Methods

2.1. Research Area

The experimental site was located in the plant factory of the Agricultural Science Building at Shihezi University in the Xinjiang Uygur Autonomous Region, situated at 44°18′ N, 86°03′ E. The experimental variety used in this study was loose-leaf lettuce. Cultivation was conducted from March to May 2025 and from May to July 2025. Plants were grown in 10 cm diameter pots with a spacing of 10 cm between plants and 10 cm between rows. The greenhouse was maintained at an average temperature of 25 ± 2 °C and relative humidity of 50 ± 10% throughout the day and night. Base fertilizer (a complete soil drip irrigation fertilizer) was applied prior to sowing. Two additional fertilizer applications were administered during the entire growth period, at 30 and 40 d after sowing. A schematic diagram of the test area is shown in Figure 1.

2.2. Data Collection and Measurements

2.2.1. Quality Index Measurement

Fresh weight, leaf area, soluble protein content, soluble sugar content, vitamin C content, and chlorophyll content were measured for each lettuce plant. The specific measurement methods are as follows:
Fresh weight was measured using an electronic balance to weigh the aboveground fresh weight [12], leaf area was determined using digital image processing [13], soluble protein content was measured using the bicinchoninic acid (BCA) microplate assay [14], soluble sugar content was determined using the anthrone colorimetric method [15], and vitamin C content was determined using the Ferrozine Colorimetry method [16] (all kits were provided by Nanjing Jiancheng Bioengineering Institute, Nanjing, China). Chlorophyll content was determined using a spectrophotometer [17]. Three leaves were randomly selected from each lettuce plant, and three leaf discs (0.7 cm2 each) were excised. The discs were then immersed in 7 mL of methanol and incubated in the dark at 4 °C for 12 h for pigment extraction prior to measurement. The calculation equations are as follows:
C h l a = 12.25 × A 664 2.79 × A 647
C h l b = 21.5 × A 647 5.1 × A 664
C h l a + b = C h l a + C h l b

2.2.2. RGB Image and Hyperspectral Data Acquisition

Data were acquired using a Trait-RGB visible-light imaging unit and a Trait-Hyperspec hyperspectral imaging unit within a high-throughput plant phenotyping platform (PhenoTrait Technology Co., Ltd., Beijing, China; Hui Nuo Rui De Technology Co., Ltd., Shenzhen, China). The Trait-RGB visible light imaging unit has a resolution of 4924 × 3283 pixels, employing an exposure time of 5000 us with automatic gain set to 2.0 dB. The Trait-Hyperspec hyperspectral imaging unit covers a spectral range of 400–1000 nm, comprising 448 bands with a full width at half maximum (FWHM) of 1.36 nm, an exposure time of 8 ms, and a default frame rate of 50 Hz. A uniform acquisition distance of 1.0 m was maintained. A schematic of the equipment is shown in Figure 2.

2.2.3. Feature Extraction Methods

(1)
RGB Image Feature Parameter Extraction
The original images were uniformly resized to a resolution of 2500 × 2500 pixels. Lettuce image segmentation was performed using color thresholding, morphological operations, and connected-component analysis. The color and morphological features of the lettuce were calculated from binary images obtained using automatic image segmentation algorithms. This study extracted 21 feature indicators, including 12 color features: red (R_Avg), green (G_Avg), and blue (B_Avg) components; hue (H_Avg); saturation (S_Avg); value (V_Avg); lightness (L*_Avg); green–red difference (a*_Avg); blue–yellow component (b*_Avg), lightness component (Y_Avg), red difference component (Cr_Avg), and blue difference component (Cb_Avg).
Color features were extracted using the first-order moment (Average) of the image. The first-order moment reflects the overall pixel intensity of the image. The formula for the first-order moment is as follows:
A v g = 1 M + N i = 1 M j = 1 N P ( i , j )
where M and N represent the number of rows and columns of the target image, P(i,j) denotes the pixel intensity value at coordinates (i, j) in the target image, and Avg represents the first-order moment.
Nine morphological characteristics, including canopy projection perimeter (MC_1), canopy projection area (MC_2), convex hull perimeter (MC_3), convex hull area (MC_4), compactness (MC_5), major axis length of the bounding rectangle (MC_6), minor axis length (MC_7), their aspect ratio (MC_8), and circularity (MC_9), were used.
Area and perimeter are typical shape characteristics. The canopy projection perimeter (MC_1) of the lettuce was obtained by calculating the total contour length of the polygon. Furthermore, the area within the enclosed contour boundary was calculated using Green’s theorem to obtain the canopy projection area of the lettuce (MC_2). A convex hull, defined as the smallest convex polygon completely enclosing a target region, is widely applied in image processing and pattern recognition. The Sklansky algorithm was employed to rapidly locate the smallest convex polygon enclosing the target contour, and its vertex coordinates were extracted. Following this method, the convex hull of the lettuce canopy was obtained. The perimeter of this convex hull (MC_3) was calculated directly by summing the Euclidean distances between adjacent vertices, while its area (MC_4) was computed using Gauss’s area formula. Compactness (MC_5) intuitively reflects the fullness of the lettuce canopy and the density of its leaves. This ratio is a value between 0 and 1; results closer to 1 indicate a fuller growth shape with smoother edges. The equation for calculating compactness is as follows:
M C _ 5 = M C _ 2 M C _ 4
The axes of the bounding rectangle were aligned to the principal axes of the target. The width and height of this rectangle were extracted and defined as the major axis length (MC_6) and minor axis length (MC_7), respectively. The aspect ratio (MC_8) was then calculated as the ratio of the major axis to the minor axis.
M C _ 8 = M C _ 6 M C _ 7
Circularity (MC_9) was calculated from the canopy projection perimeter (MC_1) and canopy projection area (MC_2) of the target area using the following equation:
M C _ 9 = 4 π ( M C _ 2 ) ( M C _ 1 ) 2
Simple correlations among phenotypic parameters were analyzed using Pearson’s correlation coefficient to identify representative indicators.
(2)
Hyperspectral Feature Band Extraction
In this study, three preprocessing methods were applied: Multiplicative Scatter Correction (MSC) [18], Standard Normal Variate (SNV) [19], and Savitzky–Golay (SG) smoothing [20]. MSC is employed to mitigate scattering effects induced by uneven distribution of solid particle sizes and variations in optical path length, thereby enhancing the spectral absorption features. This technique first calculates the mean spectrum of all samples, which serves as the ideal reference spectrum. For each individual sample spectrum, a linear regression is performed against this mean spectrum using the least squares method to determine the slope and intercept. A linear transformation is then applied to correct the spectrum. In this study, the mean spectrum was derived from the full sample spectral matrix, and each sample spectrum was normalized accordingly. SNV was applied to eliminate the effects of optical path length variations and surface scattering from solid particles. Its algorithm standardizes each spectrum individually by subtracting the spectrum’s mean value and then dividing by its standard deviation. This method was primarily used in this study to correct for baseline drift between samples. The SG smoothing algorithm was used to reduce high-frequency noise while preserving the features of spectral peaks and valleys. It operates by fitting a polynomial to the spectral data within a moving window. The window width was set to 11 points, and the polynomial order to 2. The algorithm filters the spectral data through a convolution process.
Feature-band selection employs a Sequential Projection Algorithm (SPA) and Competitive Adaptive Re-weighted Sampling (CARS). SPA extracts the most representative feature variables by eliminating redundant information and multicollinearity [21]. The Specific Peak Analysis (SPA) algorithm was then employed for feature selection. The procedure begins by using a projection operator to calculate the projection of each wavelength vector onto the orthogonal subspace of the pre-selected wavelength bands. The wavelength corresponding to the maximum projection norm is then selected and added to the subset. To determine the optimal number of bands, the maximum number of bands to be selected was set to 60. For each candidate subset size, a Partial Least Squares (PLS) model with 5-fold cross-validation was built, and the root mean square error of cross-validation (RMSECV) was calculated. Finally, the subset of bands that yielded the smallest RMSECV was chosen as the optimal feature set.
CARS combines Monte Carlo sampling with an exponential decay function mechanism to select the most effective feature variables through iterative competition [22]. For further feature refinement, the Competitive Adaptive Reweighted Sampling (CARS) method was used. This algorithm operates through an iterative process with 100 iterations. In each iteration, Monte Carlo sampling is first employed to select a fixed ratio of samples for building a PLS model. Simultaneously, an exponentially decreasing function (EDF) is used to enforce the removal of a portion of wavelength variables with small absolute regression coefficients. Following this forced removal, the absolute values of the regression coefficients from the PLS model are used as an importance metric for the remaining wavelengths. Adaptive reweighted sampling is then applied to select, based on these weights, the wavelengths that form a new candidate subset for the next iteration. After completing all iterations, 5-fold cross-validation is performed to compute the RMSECV for the subset of bands selected at each iteration. The subset corresponding to the global minimum RMSECV across all iterations is ultimately selected as the optimal feature bands.

2.3. Modeling Approach

This study used the Python version 3.8 programming environment to construct models that employed algorithms, including a Backpropagation Neural Network (BPNN) [23], Partial Least Squares Regression (PLSR) [24], Ridge Models [25], Multiple Linear Regression (MLR) [26], Random Forests (RFs) [27], AdaBoost Algorithms [28], and Bagging [29].
A BPNN is a nonlinear system with strong mapping capabilities. Through its three-layer structure—comprising an input layer, a hidden layer, and an output layer—it can effectively approximate complex nonlinear functions, making it particularly suitable for modeling intricate nonlinear data. PLSR is an advanced statistical method that integrates multiple linear regression, principal component analysis, and canonical correlation analysis. It extracts components for modeling from both the independent and dependent variables simultaneously, thereby overcoming the limitations of ordinary least squares regression by being robust to multicollinearity among the independent variables. As a classical linear method, MLR establishes a linear relationship between multiple independent variables and a dependent variable. While it is structurally simple and offers high interpretability, its application is limited when dealing with complex, nonlinear data. The Ridge model incorporates an L2 regularization term into the loss function. This effectively mitigates the risk of overfitting, which in this study was associated with weak correlations among the features MC_2, MC_5, and a*_Avg. By doing so, the model retains clear biological interpretability while stably quantifying the influence of the selected features on fresh weight and leaf area. This approach achieves superior predictive accuracy compared to the nonlinear models tested, while also significantly reducing computational cost. Consequently, it offers a more practical solution for rapid and efficient monitoring in real-world production settings. RF achieves nonlinear fitting by constructing an ensemble of decision trees. Each tree is trained on a bootstrap sample (i.e., a sample drawn with replacement from the original data), and the final prediction is obtained by averaging the predictions of all individual trees. Similarly, the Bagging algorithm generates multiple training sets via the bootstrap process to build multiple base learners, enhancing model stability through this ensemble strategy. In contrast, the AdaBoost algorithm focuses on combining multiple weak learners to form a strong learner. It iteratively adjusts the weights of the training data to give more focus to hard-to-classify samples, thereby progressively improving the model’s overall performance.
The Content Gradient Method was employed to evenly partition the lettuce samples into a test set (168 samples) and a validation set (42 samples) in an 8:2 ratio. The coefficient of determination (R2) and root mean square error (RMSE) were used as model evaluation metrics, with five-fold cross-validation introduced during training to assess the model performance more robustly.
R 2 = 1 i = 1 n ( x i y ¯ i ) 2 i = 1 n ( y i y ¯ i ) 2
R M S E = i = 1 n ( x i y i ) 2 n
where x i represents the simulated value; y i denotes the actual value; y ¯ i is the average of the actual values; and n is the number of samples available for verification.

2.4. Comprehensive Evaluation Method

This study introduced a comprehensive lettuce evaluation method that integrated both the external and internal qualities. First, we calculated the maximum, minimum, mean, standard deviation, and coefficient of variation for growth performance indicators, including external and internal quality, while analyzing inter-indicator correlations. Based on this foundation, we comprehensively applied principal component analysis [30], probabilistic grading [31], subjective-objective weighting [32], and k-means cluster analysis [33] to achieve a holistic assessment of lettuce quality. Finally, using the grading results from the standard NY/T4058-2021 [34] “Grades and specifications for agri-product in market information collection-Leafy vegetables” as the benchmark, the overall accuracy (OA) and kappa coefficient were selected as evaluation metrics to assess the model’s classification accuracy and consistency, thereby identifying the most suitable and comprehensive integrated evaluation method.
Principal Component Analysis is a statistical dimensionality reduction technique that transforms a set of correlated variables into a smaller number of uncorrelated principal components through linear transformation. This approach effectively mitigates issues related to computational complexity and multicollinearity that arise from high-dimensional data, while maximizing the retention of original information. Probability-based classification is a method grounded in probability theory. It accounts for uncertainty and randomness in data by using probability distributions to assign data points to categories or classes. The Subjective-Objective Weighting Method combines subjective judgment with objective data analysis. It integrates expert experience and domain knowledge while also leveraging the inherent characteristics of the data to determine indicator weights, thereby achieving a balance between subjectivity and objectivity. Cluster Analysis, a key unsupervised learning method, automatically groups similar data points into clusters, thereby revealing underlying structures and patterns within the data.
O A = N c o r r e c t N × 100 %
Kappa = N i = 1 n x i i i = 1 n x i + x + i N 2 i = 1 n x i + x + i
N c o r r e c t represents the number of samples correctly predicted by the model; N denotes the total number of samples for verification; n denotes the total number of columns in the confusion matrix; x i i denotes the sample size for the i row and i column of the confusion matrix; and x i + , x + i denote the row and column sums of the confusion matrix.

3. Results

3.1. Construction of Appearance Quality Index Models for Greenhouse-Grown Lettuce Based on RGB Images

3.1.1. Feature Parameter Selection

Based on the Pearson correlation coefficients and heatmap analysis results (Figure 3), significant multicollinearity existed among the various phenotypic features of lettuce. Specifically, the correlations between the canopy projected area (MC_2) and canopy projected perimeter (MC_1), convex hull parameters (MC_3 and MC_4), and bounding rectangle parameters (MC_6 and MC_7) were all approximately 1. This indicates a high information redundancy among these indicators in characterizing plant geometric dimensions. As MC_2 exhibited the highest explanatory power for biomass and had the most apparent physical significance, other redundant terms were eliminated, retaining MC_2 as the sole representative variable for dimensionality. By contrast, compactness (MC_5) exhibited extremely low correlation coefficients with the aforementioned size indicators, demonstrating significant independence. This outperformed the circularity (MC_9) and aspect ratio (MC_8), which showed increased internal correlations, thus confirming that MC_5 is a structural feature that indicates plant spatial density. Among the color metrics, a*_Avg exhibited weak collinearity with morphological indicators and was retained as a representative color dimension. Ultimately, the study selected three core indicators (MC_2, MC_5, and a *_Avg) for subsequent modeling.

3.1.2. Monitoring Model for Lettuce External Quality Indicators

A comparative analysis of the predictive performance of the BPNN, MLR, PLSR, and Ridge regression models revealed that linear regression models consistently outperformed neural network models for both fresh weight and leaf area indicators (Figure 4). Specifically, Ridge regression demonstrated the best goodness-of-fit and generalization capabilities. The coefficient of determination (R2) in the fresh weight prediction test set reached 0.897, whereas the R2 for leaf area prediction reached 0.880, which was significantly higher than that of the BPNN model. Model validation indicated a highly significant linear relationship between the three selected key image features and the actual physical indicators of lettuce, with determination coefficients exceeding 0.8. This indicates that these features adequately captured core information regarding lettuce appearance and biomass. Because the direct utilization of image features prevents computational delays and error accumulation associated with secondary inversion, this study directly employed these three key feature vectors to represent the lettuce appearance quality in subsequent comprehensive evaluation analyses. The predicted physical values were no longer used as intermediate variables, resulting in the development of an efficient end-to-end evaluation method.

3.2. Establishment of Hyperspectral-Based Intrinsic Quality Indicator Models for Lettuce

3.2.1. Feature Wavelength Selection

During the selection of feature wavelengths for soluble protein, soluble sugar, vitamin C, and chlorophyll contents in lettuce (Figure 5, Figure 6, Figure 7 and Figure 8), the SPA and CARS methods exhibited consistent patterns under different spectral preprocessing conditions. Overall, following MSC and SNV preprocessing, the CARS algorithm selected relatively fewer variables, demonstrated stable model convergence, and produced 23–30 spectral bands. The raw spectra and SG-processed data resulted in increased variable counts, frequently exhibiting oscillating results, with band selections ranging from 84 to 127. The SPA method performed optimally on raw spectra and SG-processed data, selecting 4–24 bands, whereas MSC and SNV processing resulted in increased selections, ranging from 11 to 60 bands. Both methods indicated that characteristic bands primarily clustered in three regions: 491.75–578.31 nm (green light), 660.43–783.15 nm (red-to-near-infrared transition), and 920.30–1004.52 nm (near-infrared). These regions exhibited high sensitivity toward all four physiological indicators, potentially correlating with chlorophyll absorption, leaf structure, water status, and the characteristic absorption of organic compounds such as proteins, sugars, and vitamin C. This demonstrates the strong relationship between the spectral information and the intrinsic quality of lettuce.

3.2.2. Lettuce Intrinsic Quality Detection Model

A comprehensive comparison of the performance of the inversion model across the four quality indicators was conducted. To predict the soluble protein content, the Random Forest (RF) model using SNV preprocessing combined with CARS feature extraction demonstrated optimal performance, achieving a validation set R2 of 0.872 and an RMSE of 0.166 (Table 1). For soluble sugar content prediction, the combination of MSC preprocessing and the RF model exhibited the highest accuracy, with a validation set R2 of 0.914 and RMSE of 0.138, demonstrating good model generalization (Table 2). For vitamin C content prediction, the combination of SNV preprocessing with CARS feature extraction and RF resulted in the best results, with a validation set R2 of 0.899 and an RMSE of 1.257 (Table 3). In chlorophyll content modeling, the RF model using SG preprocessing combined with SPA feature extraction achieved the highest accuracy, with a validation set R2 of 0.958 and an RMSE of 1.292 (Table 4). Overall, the RF models demonstrated strong stability and predictive capability across different indicators and preprocessing methods, whereas the AdaBoost models performed relatively poorly under all conditions.

3.3. Comprehensive Evaluation Methods for Evaluating Greenhouse Lettuce Quality

3.3.1. Statistical Analysis of Lettuce Quality Traits

The coefficient of variation indicates the extent of genetic variation in the traits. As presented in Table 5, the quality traits of the lettuce samples exhibited significant variations within populations. Specifically, MC_2 exhibited the highest coefficient of variation (58.49%). The soluble sugar, soluble protein, and vitamin C contents each had a coefficient of variation exceeding 10%. The coefficients of variation for MC_5 soluble protein content and a*_Avg were all <10%, with a*_Avg showing the lowest coefficient of variation.

3.3.2. Correlation Analysis of External and Internal Quality Traits in Lettuce

The correlation analysis of the seven lettuce quality indicators resulted in a correlation coefficient matrix (Table 6). The results indicated varying degrees of correlation among the indicators. Among the appearance-related indicators, a*_Avg exhibited a highly significant negative correlation with MC_2. Among the internal quality indicators, most pairs showed highly significant positive correlations, with relatively high coefficients observed between the soluble protein content and soluble sugar content/vitamin C content. Additionally, the appearance indicators a*_Avg and MC_2 showed highly significant negative correlations with most internal indicators, such as chlorophyll, soluble protein, soluble sugar, and vitamin C. MC_2 exhibited a strong correlation with chlorophyll content, whereas MC_5 showed weak or insignificant correlations with most internal quality indicators.

3.3.3. Probability Grading Method Based on Principal Component Analysis

(1)
Determination of Lettuce Quality Indicators
Principal component analysis was conducted based on seven indicator data points from 210 lettuce samples (Table 7). Following the principle of extracting components with eigenvalues ˃ 1, two principal components were identified. The cumulative contribution rate of the first two principal components reached 68.538%, representing most of the information from the seven indicators. Therefore, the seven quality indicators were reduced to two factors. In the first principal component, a*_Avg and MC_2 were visual quality indicators. Because MC_2 had the highest factor weight (in absolute value, the same below) and exhibited significant correlations with the other two indicators, MC_2 was selected to represent the visual quality factor of lettuce. In the second principal component, the vitamin C content exhibited a relatively high factor weight and was defined as the intrinsic quality factor.
(2)
Establishment of Grading Standards for Lettuce Quality Evaluation
Based on these two quality indicators, the lettuce was graded into three levels for each indicator using a probability distribution. The Shapiro–Wilk test (p > 0.05) indicated that vitamin C content was normally distributed; therefore, a probability-based grading method based on the normal distribution was employed. The samples were categorized into three grades, namely special, first, and second, using the thresholds (X − 0.524 × S) and (X + 0.524 × S) as the boundaries for classifying the samples into such grades. However, MC_2 exhibited significant non-normality (p < 0.01), and directly applying the normal distribution assumption resulted in severe distortions in the grading proportions. Therefore, to ensure strict adherence to the preset 30%:40%:30% sample ratio across grades, this study employed a quantile-based method to determine the MC_2 grading thresholds. Specifically, the P30 and P70 quantiles of the sample distribution were selected as boundaries for the first versus special and second grades, respectively. The final comprehensive quality grading results for lettuce are presented in Table 8.

3.3.4. Cluster-Based Grading Method Based on AHP-CRIYIC Combined Weighting

(1)
Determination of Subjective Weight Coefficients Using AHP
A comprehensive evaluation index system for lettuce was established, categorizing decision objectives, criteria, and subjects into target, criterion, and indicator layers based on their interrelationships. The hierarchical structure is illustrated in Figure 9. The criterion layer T1 (External Quality) included three indicators: a*_Avg (C1), MC_2 (C2), and MC_5 (C3), and the criterion layer T2 (Internal Quality) comprised four indicators: chlorophyll content (C4), soluble protein content (C5), soluble sugar content (C6), and vitamin C content (C7).
The decision matrix and consistency test for lettuce comprehensive quality were constructed based on the contribution of each influencing factor to the comprehensive quality of lettuce and the importance of each factor, combined with expert experience. This resulted in a decision matrix (Table 9) for lower-level indicators in the hierarchical structure (Figure 9) relative to their corresponding higher-level indicators. The consistency test results for the judgment matrix are as follows. The consistency test indicated that the difference between the order n of each matrix and its maximum eigenvalue λ was within the permissible range, indicating that the interrelationships among influencing factors in the constructed judgment matrix were relatively consistent. Table 10 lists the values and meaning of each factor in the judgment matrices.
(2)
Weighting Results
This study employed the AHP (subjective weighting), CRITIC (objective weighting), and combined weighting methods to determine the weights for each evaluation indicator of lettuce appearance and intrinsic quality. The results are presented in Table 11. Among the appearance quality indicators, a*_Avg (C1) had a higher weight, whereas MC_5 (C3) generally received a lower weight. Regarding internal quality, the emphasis on vitamin C (C7) and chlorophyll (C4) content varied significantly across the methods. Chlorophyll content received notably higher weighting in the objective weighting method, whereas soluble protein content (C5) maintained a relatively stable weighting. Overall, the AHP method underscores appearance quality, whereas the CRITIC method gives increased prominence to indicators with increased data variability. The results of the combined weighting method were intermediate, effectively integrating the subjective and objective information.
(3)
Scores and Grading Results
Based on the composite scores obtained from different weighting methods, the samples were classified into special, first, and second grades through k-means clustering analysis, and the results are presented in Table 12. The classification criteria and sample distributions obtained using different weighting methods exhibited significant differences. For example, the CRITIC method applied the strictest criteria for special grades, whereas the AHP and composite weighting methods resulted in relatively similar thresholds. Regarding the sample distribution across grades, the CRITIC method assigned the highest proportion of samples to the first grade, whereas the AHP and composite weighting methods retained more samples from the special and second grades.

3.3.5. Consistency Analysis of Lettuce Grading Standards

The grading results of the two methods exhibited significant differences, as shown in Figure 10. The combined weighting method demonstrated good consistency with the industry standards, achieving a kappa coefficient of 0.788. Although it exhibited a few errors in the misclassification of special- and first-grade samples, the method achieved optimal accuracy for second-grade samples by correctly identifying all 59 cases. In contrast, the principal component analysis method resulted in a kappa coefficient of only 0.512. This produced numerous cross-grade misclassifications in the first-grade samples, misclassifying 69 as special grade and 13 as second grade, resulting in an unsatisfactory grading performance. Although industry standards focus on appearance, this study prioritizes intrinsic quality. The combined weighting method balances the weights of the internal and external indicators by integrating subjective and objective information, thereby effectively aligning with the principle of intrinsic evaluation. Consequently, it demonstrates superior performance in balancing standardization and rationality.

4. Discussion

4.1. Effect of Image Phenotypic Features and Modeling Methods on Monitoring the Appearance Quality of Greenhouse-Grown Lettuce

In this study, the Ridge regression model outperformed nonlinear models such as the BP neural network in monitoring fresh weight and leaf area owing to the strong linear allometric growth relationship between the two-dimensional morphological characteristics and the visual quality of lettuce under controlled environmental conditions. The selected MC_2 directly indicates the plant’s light interception capacity, which forms the basis for biomass development. MC_5 and a*_Avg were effectively adjusted for plant density and leaf color health, respectively. By incorporating a regularization term, Ridge regression reduces overfitting risks caused by weak feature coupling more effectively than ordinary multiple linear regression, while maintaining model interpretability [35]. Our findings indicate that, after feature selection [36], a structurally simple linear model is sufficient to capture crop growth patterns in controlled environments, providing reduced computational costs and increased practical applicability. However, relying solely on RGB two-dimensional images to estimate biomass retains its inherent physical limitations. This study focused on lettuce at harvest maturity, when canopy development was complete and leaf overlap/shading was most severe. Although the model incorporates an MC_5 feature for correction, the 2D projected area inherently cannot penetrate the surface to capture 3D volume information representing the vertical height and internal head density. This leads to prediction errors for samples with similar projected areas but notably different internal compactness. Future work can incorporate depth cameras (RGB-D) or LiDAR technology to acquire point cloud data, supplementing three-dimensional geometric information to overcome the accuracy limitations of two-dimensional imaging in analyzing highly closed canopy plant phenotypes.

4.2. Effect of Spectral Preprocessing, Feature Extraction, and Modeling Methods on Lettuce Internal Quality Inversion

Hyperspectral technology enables the effective inversion of the intrinsic quality of lettuce. The results indicated that RF models combined with CARS or SPA feature extraction outperformed the AdaBoost and Bagging models overall. Owing to the differing biochemical characteristics and spectral response mechanisms among quality indicators, optimal inversion strategies vary considerably. This variation primarily results from differences in the physical properties of the data signals and noise sources. Specifically, the chlorophyll RF model achieved the highest accuracy under SG smoothing preprocessing because SG smoothing effectively removes high-frequency random noise while preserving the steep spectral characteristics in the 680–760 nm red edge region. This region, where chlorophyll absorption peaks intersect with cellular structure scattering, is highly sensitive to content variation. This finding is consistent with those of studies by Mu [37] and Jiang et al. [38] on field crops. In contrast, this study observed that the MSC and SNV pretreatments outperformed SG in terms of soluble sugars and proteins. This advantage is likely attributable to the superior correction of the light-scattering effects resulting from the uneven surface of the lettuce leaves. From a physiological perspective, chlorophyll exhibits strong electronic transition absorption and reflection characteristics in the visible and red edge regions, creating a distinctive red edge effect with a high signal intensity and sharp features [39]. In contrast, internal constituents, such as sugars, proteins, and vitamin C, lack chromophores. Their spectral responses primarily depend on the second- and sum-frequency vibrations of the C–H and O–H bonds in the near-infrared region [40], representing weak absorption signals that are easily masked by background noise, and the inversion accuracy for vitamin C is slightly lower than that of other indicators. This is primarily due to the substantially high water content of fresh lettuce samples, which leads to strong absorption bands in the near-infrared region [41], easily obscuring the weak overtone signals of the O–H and C–H bonds in vitamin C. Future studies should investigate deep-learning algorithms to identify more complex nonlinear spectral features, thereby enhancing the sensitivity and detection thresholds of trace components.
Therefore, the combination of RGB imaging and hyperspectral technology enables the simultaneous assessment of both the external and internal qualities of lettuce. RGB imaging offers a distinct advantage in spatial resolution and precise edge extraction. The accurate determination of appearance quality indicators for lettuce (such as MC_1 to MC_7) demands exceptionally high image clarity and edge sharpness. Conventional RGB cameras can readily capture ultra-high-resolution images, and this high spatial resolution provides a highly reliable data foundation for precisely capturing the complex edge contours and minute morphological features of lettuce leaves [42,43]. This is essential for ensuring the accuracy of appearance parameter calculations. Furthermore, differences exist in the data acquisition methods of the two imaging sensors. Hyperspectral imaging commonly employs push-broom line-scan technology. During this process, leaf tremors induced by minor vibrations from mechanical conveyors or environmental airflow [44] can lead to image drift, spatial distortion, and motion artifacts. In contrast, RGB cameras employ instantaneous fixed-point acquisition, completing the imaging process within milliseconds. This effectively eliminates spatial errors caused by mechanical and environmental jitter, ensuring high stability and consistency in feature acquisition.

4.3. Effect of Subjective-Objective Combined Weighting Method on Lettuce Quality Grading

For developing a comprehensive lettuce quality evaluation method, the AHP-CRITIC combined weighting approach notably outperformed the PCA-based method. This disparity is primarily attributed to the pronounced imbalance in variability between harvest-stage lettuce morphological indicators and intrinsic nutritional metrics. The statistical data revealed that the coefficient of variation for MC_2 was 58.49%, whereas the numerical fluctuations in the intrinsic quality indicators were relatively minor. The PCA method primarily determines weights based on the variance contribution rates [45], which can result in the evaluation results being heavily influenced by discrete appearance indicators. This approach does not consider intrinsic nutritional indicators with minimal variation but equal importance in determining quality. In contrast, the AHP-CRITIC method employed in this study effectively addressed weight imbalance caused by varying indicator variability by introducing the Analytic Hierarchy Process (AHP) to assign reasonable baseline weights to intrinsic quality, while utilizing the Critical Information Retention Criterion (CRITIC) to preserve objective data information [46]. However, the AHP component of this evaluation system remains reliant on expert scoring, with weight assignments constrained to a certain extent by the evaluators’ subjective experience and knowledge background. Future research may consider the incorporation of market transaction price data or large-scale consumer sensory evaluation data to construct a dynamic weight-adjustment model based on market feedback. This enables the evaluation method to indicate the market’s actual demand for facility-grown lettuce more objectively.

5. Conclusions

This study used RGB images and hyperspectral data to rapidly monitor both the external morphology and internal quality of greenhouse-grown lettuce, thereby developing a comprehensive scientific quality evaluation method. The key conclusions are as follows:
(1)
The Ridge regression model based on RGB image features accurately monitored the fresh weight and leaf area of greenhouse lettuce, resulting in test set determination coefficients (R2) of 0.897 and 0.880, respectively.
(2)
Hyperspectral inversion models were developed separately for each intrinsic quality parameter of lettuce. For chlorophyll content, the optimal model was SG-SPA-RF, which yielded the highest inversion accuracy with an R2 value of 0.958. The inversion models for soluble sugar, soluble protein, and vitamin C content all achieved R2 values exceeding 0.89.
(3)
A comprehensive quality evaluation method for greenhouse-grown lettuce based on AHP-CRITIC combined weighting was developed. The consistency of its classification results with industry standards achieved a Kappa coefficient of 0.788. It also provides an effective theoretical basis and technical support for the intelligent grading and precise management of greenhouse vegetables.

Author Contributions

Conceptualization, D.M. and H.R.; methodology, D.M. and H.R.; software, D.M., H.R., L.M. and Q.Z. (Qiang Zhang); validation, D.M., Q.Z. (Qi Zeng) and Y.L.; formal analysis, D.M., L.M. and Q.Z. (Qiang Zhang); resources, Z.Z. and J.W.; data curation, D.M., Q.Z. (Qi Zeng) and Y.L.; writing—original draft preparation, D.M.; writing—review and editing, D.M., Z.Z., L.M. and Q.Z. (Qiang Zhang); visualization, D.M., Q.Z. (Qi Zeng) and Y.L.; supervision, Z.Z. and J.W.; project administration, Z.Z. and J.W.; funding acquisition, Z.Z. and J.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the Xinjiang Production and Construction Corps Major Science and Technology Program, grant number (2023AB017-01).

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as potential conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
AHPAnalytic Hierarchy Process
BCABicinchoninic acid
BPNNBackpropagation Neural Network
CARSCompetitive Adaptive Re-weighted Sampling
CRITICCritical Information Retention Criterion
MSCMultivariate Scattering Correction
OAOverall accuracy
RFRandom Forest
RMSERoot mean square error
SNVStandard Normal Variate
SPASequential Projection Algorithm
TPATexture Profile Analysis

References

  1. Dai, M.; Tan, X.; Ye, Z.; Ren, J.; Chen, X.; Kong, D. Optimal Light Intensity for Lettuce Growth, Quality, and Photosynthesis in Plant Factories. Plants 2024, 13, 2616. [Google Scholar] [CrossRef] [PubMed]
  2. Díaz-Pérez, M.; Cantón Ramos, J.M.; Velázquez Martí, B.; Callejón-Ferre, Á.-J. Commercial Quality of ‘Little Gem’ Lettuce Hearts. J. Agric. Food Res. 2024, 16, 101168. [Google Scholar] [CrossRef]
  3. Wang, Y.; Zhang, K.; Liu, Y.; Liu, J.; Liu, R.; Ma, B.; Sun, L.; Jing, L.; Cao, X.; Zhang, H.; et al. KCQI: Novel Index for Assessment of Comprehensive Quality of Kiwifruit During Shelf Life Using Hyperspectral Imaging and One-Dimensional Convolutional Neural Networks. Foods 2025, 14, 3886. [Google Scholar] [CrossRef] [PubMed]
  4. Zhu, G.; Zheng, S.; Xu, Q.; Qiu, M.; Wang, H.; Weng, S. Detection of Fungal Infection in Apple Using Hyperspectral Transformation of RGB Images with Kernel Regression. Postharvest Biol. Technol. 2023, 206, 112570. [Google Scholar] [CrossRef]
  5. Alves, A.K.S.; Araújo, M.S.; Chaves, S.F.S.; Dias, L.A.S.; Corrêdo, L.P.; Pessoa, G.G.F.A.; Bezerra, A.R.G. High Throughput Phenotyping in Soybean Breeding Using RGB Image Vegetation Indices Based on Drone. Sci. Rep. 2024, 14, 32055. [Google Scholar] [CrossRef]
  6. Bai, X.; Liu, P.; Cao, Z.; Lu, H.; Xiong, H.; Yang, A.; Cai, Z.; Wang, J.; Yao, J. Rice Plant Counting, Locating, and Sizing Method Based on High-Throughput UAV RGB Images. Plant Phenomics 2023, 5, 0020. [Google Scholar] [CrossRef]
  7. Zhang, J.; Zhang, H.; Zhang, Y.; Yin, J.; Zhan, B.; Liu, X.; Luo, W. Qualitative and Quantitative Analysis of Nanfeng Mandarin Quality Based on Hyperspectral Imaging and Deep Learning. Food Control 2025, 167, 110831. [Google Scholar] [CrossRef]
  8. Wang, X.; Han, J.; Liu, C.; Feng, T. Non-Destructive Assessment of Apple Internal Quality Using Rotational Hyperspectral Imaging. Front. Plant Sci. 2024, 15, 1432120. [Google Scholar] [CrossRef]
  9. Yang, S.; Tian, Q.; Wang, Z.; Guo, W. Relationship between Optical Properties and Internal Quality of Melon Tissues During Storage and Simulation-Based Optimization of Spectral Detection in Diffuse Reflectance Mode. Postharvest Biol. Technol. 2024, 213, 112935. [Google Scholar] [CrossRef]
  10. Du, J.; Lu, X.; Fan, J.; Qin, Y.; Yang, X.; Guo, X. Image-Based High-Throughput Detection and Phenotype Evaluation Method for Multiple Lettuce Varieties. Front. Plant Sci. 2020, 11, 563386. [Google Scholar] [CrossRef]
  11. Wang, D.; Sethu, S.; Nathan, S.; Li, Z.; Hogan, V.J.; Ni, C.; Zhang, S.; Seo, H.-S. Is Human Perception Reliable? Toward Illumination Robust Food Freshness Prediction from Food Appearance—Taking Lettuce Freshness Evaluation as an Example. J. Food Eng. 2024, 381, 112179. [Google Scholar] [CrossRef]
  12. Xu, D.; Chen, J.; Li, B.; Ma, J. Improving Lettuce Fresh Weight Estimation Accuracy through RGB-D Fusion. Agronomy 2023, 13, 2617. [Google Scholar] [CrossRef]
  13. Wu, Q.; Meng, X.; Liu, Y. Discussion on Methods for Measuring Plant Leaf Area. Trop. For. 2018, 46, 37–39. [Google Scholar] [CrossRef]
  14. Wang, S.; Chen, Q.; Zhang, M.; Yang, S.; Tu, G.; Xu, C.; Tao, H.; Jin, L. Effects of Different Girdling Treatments on Leaf and Fruit of “Jinyan” Kiwifruit. J. Sichuan Agric. Univ. 2025, 43, 1453–1463. [Google Scholar] [CrossRef]
  15. Chang, D.; Liu, H.; An, M.; Hong, D.; Fan, H.; Wang, K.; Li, Z. Integrated Transcriptomic and Metabolomic Analysis of the Mechanism of Foliar Application of Hormone-Type Growth Regulator in the Improvement of Grape (Vitis vinifera L.) Coloration in Saline-Alkaline Soil. Plants 2022, 11, 2115. [Google Scholar] [CrossRef]
  16. Wang, J.; Zhao, Z.; Sheng, X.; Yu, H.; Gu, H. Influence of Leaf-Cover on Visual Quality and Health-Promoting Phytochemicals in Loose-Curd Cauliflower Florets. LWT-Food Sci. Technol. 2015, 61, 177–183. [Google Scholar] [CrossRef]
  17. Hornero, A.; Zarco-Tejada, P.J.; Quero, J.L.; North, P.R.J.; Ruiz-Gómez, F.J.; Sánchez-Cuesta, R.; Hernandez-Clemente, R. Modelling Hyperspectral- and Thermal-Based Plant Traits for the Early Detection of Phytophthora-Induced Symptoms in Oak Decline. Remote Sens. Environ. 2021, 263, 112570. [Google Scholar] [CrossRef]
  18. De Oliveira Costa Neto, A.; Hariharan, J.; Ampatzidis, Y.; Canon, M.A.; Villamarin, P.; Revynthi, A.M. Early Detection of Spider Mite Stress in Hibiscus Using Hyperspectral Imaging and Machine Learning Framework: Toward Application-Oriented Multispectral Solutions. Comput. Electron. Agric. 2026, 243, 111369. [Google Scholar] [CrossRef]
  19. Martínez-Peña, R.; Castillo, S.; Vélez, S.; Álvarez, S. Hyperspectral Imaging and Machine Learning for Non-Destructive Pistachio Quality Assessment: Influence of Location and Irrigation on Nutrient and Fat Composition. Food Control 2026, 184, 112011. [Google Scholar] [CrossRef]
  20. Rodríguez-León, A.; Oblitas, J.; Quevedo-Olaya, J.L.; Vera, W.; Quispe-Santivañez, G.W.; Salvador-Reyes, R. Non-Destructive Detection of Elasmopalpus Lignosellus Infestation in Fresh Asparagus Using VIS–NIR Hyperspectral Imaging and Machine Learning. Foods 2026, 15, 355. [Google Scholar] [CrossRef]
  21. Wang, X.; Wang, Y.; Wu, H.; Kang, C.; Sun, J.; Gao, X.; Feng, M.; Zhao, Y.; Xiao, L. Hyperspectral Yield Estimation of Winter Wheat Based on Information Fusion of Critical Growth Stages. Agronomy 2026, 16, 186. [Google Scholar] [CrossRef]
  22. Oliveira, M.M.; Miliao, G.L.; Rahman, M. Potential of NIR Hyperspectral Imaging for Fast Fraud Detection in Minced Beef Products with Oat Flour and Cornstarch. Appl. Food Res. 2026, 6, 101726. [Google Scholar] [CrossRef]
  23. Lu, D.; Zhang, H.; Huang, L.; Zhu, S.; Zeng, W.; Zhou, Q. Anti-Interference Monitoring System of Nitrogen Dioxide and Ammonia Gas via Metal (Cu, Ni, and Pd) Doped-CeO2 Sensing Array Combining with CPO-BPNN Model in Intelligent Agriculture. Chem. Eng. J. 2025, 515, 163419. [Google Scholar] [CrossRef]
  24. Hu, Y.; Huang, Z.; Gouda, M.; Zhang, Y.; Zhang, X.; Zhu, F.; Ye, S.; He, L.; Li, X.; He, Y. Integrative Hormone-Metabolite Tracking Reveals Ultra-Early Immune Responses to Anthracnose in Tea Cultivars. Artif. Intell. Agric. 2026, in press. [Google Scholar] [CrossRef]
  25. Acir, N. Predicting Soil Fertility in Semi-Arid Agroecosystems Using Interpretable Machine Learning Models: A Sustainable Approach for Data-Sparse Regions. Sustainability 2025, 17, 7547. [Google Scholar] [CrossRef]
  26. Tunç, Y.; Demirel, F.; Khadivi, A.; Yılmaz, K.U.; Demirsoy, H.; Cemek, B.; Gözel, H.; Mishra, D.S. Artificial Intelligence-Based Modeling for Accurate Leaf Area Estimation in Olive (Olea europaea L.) Cultivars. PLoS ONE 2026, 21, e0339865. [Google Scholar] [CrossRef]
  27. Pandiyaraju, V.; Anusha, B.; Senthil Kumar, A.M.; Jaspin, K.; Venkatraman, S.; Kannan, A. Spatial Attention-Based Hybrid VGG-SVM and VGG-RF Frameworks for Improved Cotton Leaf Disease Detection. Neural Comput. Appl. 2025, 37, 8309–8329. [Google Scholar] [CrossRef]
  28. Zubair, M.; Zafar, Z.; Yao, S.; Guo, Z.; Nadeem, A.A.; Fahd, S. Agricultural Drought Forecasting Using Remote Sensing: A Hybrid Modeling Framework by Integrating Wavelet Transformation and Machine Learning Techniques. Agric. Water Manag. 2025, 321, 109922. [Google Scholar] [CrossRef]
  29. Smalley, A.L.; Douterelo, I.; Chipps, M.; Shucksmith, J.D. Data-Driven Prediction of Daily Cryptosporidium River Concentrations for Water Resource Management: Use of Catchment-Averaged vs. Spatially Distributed Features in a Bagging-XGBoost Model. Sci. Total Environ. 2025, 991, 179794. [Google Scholar] [CrossRef]
  30. Wang, M.; Ahmad, I.; Qin, B.; Chen, L.; Bu, W.; Zhu, G.; Zhou, G. Identification and Comprehensive Evaluation of Drought Tolerance in Sorghum During Germination and Seedling Stages. Plants 2025, 14, 1793. [Google Scholar] [CrossRef]
  31. Li, J.; Chen, Y.; Cao, X.; Tang, J.; Xie, L.; Liu, L.; Wan, Y.; Hu, R. Unveiling the Texture Secrets of Morchella Germplasm: Advanced Grading and Quality Assessment Through Texture Profile Analysis (TPA). Foods 2025, 14, 87. [Google Scholar] [CrossRef]
  32. Liu, J.; Chen, X.; Su, L.; Li, Y.; Xu, Y.; Qi, L. Evaluation Model and Application of the Implementation Effectiveness of the River Chief System (RCS)—Taking Henan Province as an Example. Systems 2023, 11, 481. [Google Scholar] [CrossRef]
  33. Xu, H.; Hu, P.; Wang, H.; Croot, P.; Li, Z.; Li, C.; Xie, S.; Zhou, H.; Zhang, C. Identification of Pollution Sources and Hidden Clustering Patterns for Potentially Toxic Elements in Typical Peri-Urban Agricultural Soils in Southern China. Environ. Pollut. 2025, 370, 125904. [Google Scholar] [CrossRef]
  34. NY/T 4058-2021; Grades and Specifications for Agri-Product in Market Information Collection-Leafy Vegetables. China Agricultural Press: Beijing, China, 2022.
  35. Maroni, G.; Cannelli, L.; Piga, D. Gradient-Based Bilevel Optimization for Multi-Penalty Ridge Regression through Matrix Differential Calculus. Eur. J. Control 2025, 81, 101150. [Google Scholar] [CrossRef]
  36. Wang, J.; Chen, C.; Huang, S.; Wang, H.; Zhao, Y.; Wang, J.; Yao, Z.; Sun, C.; Liu, T. Monitoring of Agricultural Progress in Rice-Wheat Rotation Area Based on UAV RGB Images. Front. Plant Sci. 2025, 15, 1502863. [Google Scholar] [CrossRef] [PubMed]
  37. Mu, X.; Jin, Z.; Guo, Z.; Bai, J.; Yu, F.; Xu, T. Inversion Modeling of Rice Chlorophyll Content Based on Optimized UAV Hyperspectral Remote Sensing Image Data. Comput. Electron. Agric. 2026, 242, 111330. [Google Scholar] [CrossRef]
  38. Jiang, C.; Cheng, Y.; Li, Y.; Peng, L.; Dong, G.; Lai, N.; Geng, Q. Phenology-Aware Machine Learning Framework for Chlorophyll Estimation in Cotton Using Hyperspectral Reflectance. Remote Sens. 2025, 17, 2713. [Google Scholar] [CrossRef]
  39. Zhao, J.; Gao, A.; Wang, B.; Wen, J.; Duan, Y.; Wang, G.; Li, Z. Modeling and Visualization of Nitrogen and Chlorophyll in Greenhouse Solanum lycopersicum L. Leaves with Hyperspectral Imaging for Nitrogen Stress Diagnosis. Plants 2025, 14, 3276. [Google Scholar] [CrossRef]
  40. Sun, Y.; Shang, M.; Wang, Y.; Zhu, Y.; Xing, X.; Dang, P.; Lin, J. The Ultra-Wideband near-Infrared Luminescence Properties and Applications of K2SrGe8O18:Cr3+ Phosphor. Ceram. Int. 2023, 49, 32619–32627. [Google Scholar] [CrossRef]
  41. Zhang, Y.; Guo, W. Moisture Content Detection of Maize Seed Based on Visible/Near-infrared and Near-infrared Hyperspectral Imaging Technology. Int. J. Food Sci. Technol. 2019, 55, 631–640. [Google Scholar] [CrossRef]
  42. Dolata, P.; Wróblewski, P.; Mrzygłód, M.; Reiner, J. Instance Segmentation of Root Crops and Simulation-Based Learning to Estimate Their Physical Dimensions for on-Line Machine Vision Yield Monitoring. Comput. Electron. Agric. 2021, 190, 106451. [Google Scholar] [CrossRef]
  43. Zeng, T.; Diao, C.; Lu, D. U-Net-Based Multispectral Image Generation From an RGB Image. IEEE Access 2021, 9, 43387–43396. [Google Scholar] [CrossRef]
  44. Zhang, Y.; Zhang, L.; Song, R.; Tong, Q. A General Deep Learning Point–Surface Fusion Framework for RGB Image Super-Resolution. Remote Sens. 2023, 16, 139. [Google Scholar] [CrossRef]
  45. Tian, J.; Liu, B.; Fan, Z.; Yang, J.; Wu, Y.; Tian, X.; Jia, C.; Wen, H.; Zhang, B.; Li, H. Comprehensive Evaluation of Frost Mulberry Leaves from 21 Mulberry Varieties. Front. Plant Sci. 2025, 16, 1592493. [Google Scholar] [CrossRef]
  46. Qi, J.; Zhang, Y.; Zhang, J.; Chen, Y.; Wu, C.; Duan, C.; Cheng, Z.; Pan, Z. Research on the Evaluation of Geological Environment Carrying Capacity Based on the AHP-CRITIC Empowerment Method. Land 2022, 11, 1196. [Google Scholar] [CrossRef]
Figure 1. Schematic diagram of the test area.
Figure 1. Schematic diagram of the test area.
Agronomy 16 00600 g001
Figure 2. A schematic of the test equipment.
Figure 2. A schematic of the test equipment.
Agronomy 16 00600 g002
Figure 3. Correlation heatmap of characteristic variables.
Figure 3. Correlation heatmap of characteristic variables.
Agronomy 16 00600 g003
Figure 4. Performance comparison of fresh weight and leaf area monitoring models based on machine learning. (a) Fresh weight—BPNN; (b) Fresh weight—MLR; (c) Fresh weight—PLSR; (d) Fresh weight—Ridge; (e) Leaf area—BPNN; (f) Leaf area—MLR; (g) Leaf area—PLSR; (h) Leaf area—Ridge.
Figure 4. Performance comparison of fresh weight and leaf area monitoring models based on machine learning. (a) Fresh weight—BPNN; (b) Fresh weight—MLR; (c) Fresh weight—PLSR; (d) Fresh weight—Ridge; (e) Leaf area—BPNN; (f) Leaf area—MLR; (g) Leaf area—PLSR; (h) Leaf area—Ridge.
Agronomy 16 00600 g004
Figure 5. Soluble protein content distribution results of different characteristic band extraction methods. (a) SPA—Soluble protein content; (b) CARS—Soluble protein content.
Figure 5. Soluble protein content distribution results of different characteristic band extraction methods. (a) SPA—Soluble protein content; (b) CARS—Soluble protein content.
Agronomy 16 00600 g005
Figure 6. Soluble sugar content distribution results of different characteristic band extraction methods. (a) SPA—Soluble sugar content; (b) CARS—Soluble sugar content.
Figure 6. Soluble sugar content distribution results of different characteristic band extraction methods. (a) SPA—Soluble sugar content; (b) CARS—Soluble sugar content.
Agronomy 16 00600 g006
Figure 7. Vitamin C content distribution results of different characteristic band extraction methods. (a) SPA—Vitamin C content; (b) CARS—Vitamin C content.
Figure 7. Vitamin C content distribution results of different characteristic band extraction methods. (a) SPA—Vitamin C content; (b) CARS—Vitamin C content.
Agronomy 16 00600 g007
Figure 8. Chlorophyll content distribution results of different characteristic band extraction methods. (a) SPA—Chlorophyll content; (b) CARS—Chlorophyll content.
Figure 8. Chlorophyll content distribution results of different characteristic band extraction methods. (a) SPA—Chlorophyll content; (b) CARS—Chlorophyll content.
Agronomy 16 00600 g008
Figure 9. Comprehensive quality decision tree of lettuce.
Figure 9. Comprehensive quality decision tree of lettuce.
Agronomy 16 00600 g009
Figure 10. Comparison of consistency analysis results between the two classification methods and industry classification. (a) Comparison of Probability Grading Method Based on Principal Component Analysis with Industry Standards; (b) Comparison of Cluster-Based Grading Method Based on AHP-CRIYIC Combined Weighting with Industry Standards.
Figure 10. Comparison of consistency analysis results between the two classification methods and industry classification. (a) Comparison of Probability Grading Method Based on Principal Component Analysis with Industry Standards; (b) Comparison of Cluster-Based Grading Method Based on AHP-CRIYIC Combined Weighting with Industry Standards.
Agronomy 16 00600 g010
Table 1. Comparison of soluble protein content prediction performance across different machine learning models.
Table 1. Comparison of soluble protein content prediction performance across different machine learning models.
Feature Extraction MethodPreprocessing MethodModelTrainEvaluation
R2RMSER2RMSE
SPAOriginalRF0.8730.1660.8660.169
MSC0.8940.1520.8630.171
SNV0.8900.1540.8490.180
SG0.8840.1590.8660.170
OriginalAdaBoost0.5390.3160.5370.315
MSC0.6470.2760.6550.272
SNV0.6290.2830.6020.292
SG0.5320.3180.5490.311
OriginalBagging0.8300.1920.8660.170
MSC0.7940.2110.8620.172
SNV0.8070.2040.8320.190
SG0.8350.1890.7750.220
CARSOriginalRF0.8800.1610.8700.167
MSC0.8940.1510.8570.175
SNV0.8800.1610.8720.166
SG0.8770.1630.8660.170
OriginalAdaBoost0.5200.3220.4810.334
MSC0.5630.3080.5560.309
SNV0.6060.2920.5510.310
SG0.5710.3050.5670.305
OriginalBagging0.8630.1720.8310.190
MSC0.8190.1980.8460.182
SNV0.8450.1830.8450.182
SG0.8170.1990.8240.194
Table 2. Comparison of soluble sugar content prediction performance across different machine learning models.
Table 2. Comparison of soluble sugar content prediction performance across different machine learning models.
Feature Extraction MethodPreprocessing MethodModelTrainEvaluation
R2RMSER2RMSE
SPAOriginalRF0.9120.1560.9110.141
MSC0.9170.1520.9140.138
SNV0.9180.1510.9130.139
SG0.9210.1480.9090.142
OriginalAdaBoost0.7410.2680.6850.265
MSC0.7470.2650.7610.231
SNV0.7560.2600.7240.248
SG0.7570.2600.7240.248
OriginalBagging0.8880.1770.8840.160
MSC0.8980.1680.8930.154
SNV0.8910.1740.8680.172
SG0.8790.1830.8350.192
CARSOriginalRF0.9040.1630.9020.147
MSC0.9090.1590.9140.138
SNV0.9100.1580.9120.140
SG0.9170.1520.9090.143
OriginalAdaBoost0.6930.2920.6120.294
MSC0.7370.2700.7020.257
SNV0.7050.2860.6710.270
SG0.6960.2900.6280.288
OriginalBagging0.9000.1660.8110.205
MSC0.8960.1700.8560.179
SNV0.9050.1630.8400.189
SG0.8850.1790.8630.174
Table 3. Comparison of vitamin C content prediction performance across different machine learning models.
Table 3. Comparison of vitamin C content prediction performance across different machine learning models.
Feature Extraction MethodPreprocessing MethodModelTrainEvaluation
R2RMSER2RMSE
SPAOriginalRF0.8771.4310.8781.387
MSC0.8811.4080.8931.297
SNV0.8791.4200.8991.262
SG0.8861.3760.8651.459
OriginalAdaBoost0.5592.7120.4832.855
MSC0.6692.3500.6142.468
SNV0.6312.4800.6002.511
SG0.5832.6370.5392.696
OriginalBagging0.8411.6290.8521.528
MSC0.8511.5780.8401.590
SNV0.8481.5930.8271.652
SG0.8601.5260.8511.535
CARSOriginalRF0.8701.4710.8721.419
MSC0.8971.3120.8791.381
SNV0.8871.3710.8991.259
SG0.8741.4520.8551.510
OriginalAdaBoost0.5822.6390.5382.700
MSC0.7012.2340.6682.287
SNV0.6602.3810.6132.471
SG0.6072.5610.5882.548
OriginalBagging0.8391.6410.8701.431
MSC0.8431.6190.8191.688
SNV0.8611.5230.8171.699
SG0.8451.6080.8381.599
Table 4. Comparison of chlorophyll content prediction performance across different machine learning models.
Table 4. Comparison of chlorophyll content prediction performance across different machine learning models.
Feature Extraction MethodPreprocessing MethodModelTrainEvaluation
R2RMSER2RMSE
SPAOriginalRF0.9591.2230.9561.317
MSC0.9551.2840.9491.421
SNV0.9571.2580.9491.416
SG0.9621.1910.9581.292
OriginalAdaBoost0.8122.6280.7972.839
MSC0.8152.6100.8452.481
SNV0.8252.5410.8372.540
SG0.8092.6540.7842.928
OriginalBagging0.9271.6350.9441.485
MSC0.9391.5030.9221.761
SNV0.9391.4940.9281.690
SG0.9431.4510.9491.424
CARSOriginalRF0.9621.1880.9491.428
MSC0.9561.2670.9471.448
SNV0.9551.2920.9471.445
SG0.9521.3330.9471.449
OriginalAdaBoost0.8442.3970.7932.865
MSC0.8242.5480.8042.787
SNV0.8272.5250.8192.682
SG0.8072.6690.7733.003
OriginalBagging0.9351.5510.9321.648
MSC0.9291.6220.9471.456
SNV0.9491.3670.9451.476
SG0.9461.4120.9141.849
Table 5. Statistical analysis of lettuce quality traits.
Table 5. Statistical analysis of lettuce quality traits.
Indexa*_AvgMC_2 (cm2)MC_5Chlorophyll ContentSoluble Protein Content (mg/g)Soluble Sugar Content (%)Vitamin C Content (mg/100 g)
Min.119.5523.150.5511.803.520.138.29
Max.127.891424.740.9038.706.192.3331.01
Mean124.95572.070.7425.384.801.0520.76
SD1.89334.600.076.150.470.514.06
CV (%)1.5158.499.4324.249.6948.7719.55
Table 6. Correlation results of lettuce quality indicators.
Table 6. Correlation results of lettuce quality indicators.
a*_AvgMC_2MC_5Chlorophyll ContentSoluble Protein ContentSoluble Sugar Content
MC_2−0.990 **
MC_50.287 **−0.269 **
Chlorophyll content−0.669 **0.710 **−0.177 *
Soluble protein content−0.299 **0.290 **−0.0090.375 **
Soluble sugar content−0.368 **0.358 **−0.0880.444 **0.545 **
Vitamin C content−0.278 **0.271 **0.0420.353 **0.498 **0.441 **
Note: ** Correlation is significant at the 0.01 level (two-tailed); * Correlation is significant at the 0.05 level (two-tailed).
Table 7. Results of principal component analysis of lettuce quality indicators.
Table 7. Results of principal component analysis of lettuce quality indicators.
Primary ComponentPrincipal Component Load
Principal Component 1Principal Component 2
a*_Avg−0.8660.386
MC_20.869−0.391
MC_5−0.2790.549
Chlorophyll content0.822−0.119
Soluble protein content0.6110.553
Soluble sugar content0.6680.409
Vitamin C content0.5650.557
Eigenvalue3.3971.400
Total contribution rate/%48.53568.538
Table 8. Grading standards for key lettuce indicators.
Table 8. Grading standards for key lettuce indicators.
IndexSpecial GradeFirst GradeSecond Grade
MC_2/(cm2)>759.75425.13–759.75<425.13
Vitamin C content/(mg/100 g)>22.8818.63–22.88<18.63
Table 9. Judgment matrix of the overall criteria layer.
Table 9. Judgment matrix of the overall criteria layer.
IndexC1C2C3C4C5C6C7
C11231/31/51/51/7
C21/2121/41/61/61/8
C31/31/211/51/71/71/9
C434511/31/31/4
C5567311/21/6
C65673211/2
C77894621
Note: The consistency ratio CR = 0.056 (CR < 0.1), the judgment matrix passes the consistency test, and the weights are valid.
Table 10. Scoring method for judgment matrix criteria 1 to 9.
Table 10. Scoring method for judgment matrix criteria 1 to 9.
ScaleDefinition and Explanation
1Two elements are of equal importance to a certain attribute.
3When comparing the two elements, the former one is slightly more important than the latter.
5When comparing the two elements, the former is clearly more important than the latter.
7When comparing the two elements, the former is significantly more important than the latter.
9When comparing two elements, the former element is extremely important than the latter.
2, 4, 6, 8The importance of the preceding element over the subsequent one falls between that of the calibrated standard.
1/ai,jThe reverse comparison of two elements.
Table 11. Objective, subjective, and combined weighting methods.
Table 11. Objective, subjective, and combined weighting methods.
Primary IndexSecondary IndexAHPCRIYICAHP-CRIYIC
T1C10.0520.1130.2260.5350.1390.324
C20.0360.1620.099
C30.0250.1470.086
T2C40.1050.8870.1370.4650.1210.676
C50.1710.0970.134
C60.2230.1310.177
C70.3880.1000.244
Table 12. K-means clustering results.
Table 12. K-means clustering results.
Method of Weight AssignmentIndexSpecial
Grade
First
Grade
Second
Grade
Final Clustering Center54.2342.7620.59
AHPScore range>48.4832.39–48.48<32.39
Virtual cluster number4510560
Final clustering center193.46140.6952.07
CRIYICScore range>166.5998.14~166.59<98.14
Virtual cluster number4710360
Final clustering center124.0092.1136.81
AHP-CRIYICScore range>108.0066.40–108.00<66.40
Virtual cluster number4610361
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Ma, D.; Ren, H.; Zeng, Q.; Liu, Y.; Ma, L.; Zhang, Q.; Zhang, Z.; Wang, J. A Comprehensive Evaluation Method for Greenhouse-Grown Lettuce Based on RGB Images and Hyperspectral Data. Agronomy 2026, 16, 600. https://doi.org/10.3390/agronomy16060600

AMA Style

Ma D, Ren H, Zeng Q, Liu Y, Ma L, Zhang Q, Zhang Z, Wang J. A Comprehensive Evaluation Method for Greenhouse-Grown Lettuce Based on RGB Images and Hyperspectral Data. Agronomy. 2026; 16(6):600. https://doi.org/10.3390/agronomy16060600

Chicago/Turabian Style

Ma, Duoer, Hong Ren, Qi Zeng, Yidi Liu, Lulu Ma, Qiang Zhang, Ze Zhang, and Jiangli Wang. 2026. "A Comprehensive Evaluation Method for Greenhouse-Grown Lettuce Based on RGB Images and Hyperspectral Data" Agronomy 16, no. 6: 600. https://doi.org/10.3390/agronomy16060600

APA Style

Ma, D., Ren, H., Zeng, Q., Liu, Y., Ma, L., Zhang, Q., Zhang, Z., & Wang, J. (2026). A Comprehensive Evaluation Method for Greenhouse-Grown Lettuce Based on RGB Images and Hyperspectral Data. Agronomy, 16(6), 600. https://doi.org/10.3390/agronomy16060600

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop