Abstract
Opuntia ficus-indica L. is a prominent crop in Mexico, requiring advanced non-destructive technologies for the real-time monitoring and quality control of fresh commercial cladodes. The primary research objective of this study was to develop and validate high-precision mathematical models that correlate hyperspectral signatures (400–1000 nm) with the specific nutritional, morphological, and antioxidant attributes of fresh cladodes (cultivar Villanueva) at their peak commercial maturity. By combining hyperspectral imaging (HSI) with machine learning algorithms, including K-Means clustering for image preprocessing and Partial Least Squares Regression (PLSR) for predictive modeling, this study successfully predicted the concentrations of 10 minerals (N, P, K, Ca, Mg, Fe, B, Mn, Zn, and Cu), chlorophylls (a, b, and Total), and antioxidant capacities (ABTS, FRAP, and DPPH). The innovative nature of this work lies in the simultaneous non-destructive quantification of 17 distinct variables from a single scan, achieving coefficients of determination (R2) as high as 0.988 for Phosphorus and Chlorophyll b. The practical applicability of this research provides a viable replacement for time-consuming and destructive laboratory acid digestion, enabling producers to implement automated, high-throughput sorting lines for quality assurance. Furthermore, this study establishes a framework for interdisciplinary collaborations between agricultural engineers, data scientists for algorithm optimization, and food scientists to enhance the functional value chain of Opuntia products.
1. Introduction
Opuntia species have gained increasing attention due to their remarkable adaptation to climate change, particularly in arid and semi-arid regions affected by water scarcity. These plants exhibit crassulacean acid metabolism (CAM), which significantly reduces water loss during photosynthesis and enhances water-use efficiency, making Opuntia and other CAM plants increasingly important under climate-change-driven water-limited conditions [1,2,3]. In addition, Opuntia produces exotic and non-traditional fruits and cladodes that are rich in bioactive compounds, including polyphenols and betalains, which have been associated with health-promoting effects. Extracts from Opuntia ficus-indica fruits containing high levels of betalains and phenolic compounds have demonstrated significant biological activities related to metabolic health, such as antioxidants, anti-inflammatory, and anti-steatotic effects. Moreover, different O. ficus-indica varieties exhibit distinct profiles of phenolics and betalains, which have been linked to potential lipid-lowering effects in adipocyte models. Metabolomic studies have further revealed elevated concentrations of phenolics, flavonoids, and betalains in red Opuntia fruits, supporting their antioxidant and antidiabetic potential. Overall, Opuntia species are widely recognized for the abundance of phenolic acids, antioxidants, and betalain pigments in both fruits and cladodes, which collectively contribute to their beneficial health-related properties [4,5,6,7,8,9]. Previous studies have reported that Opuntia cladodes are an important source of essential minerals such as potassium (K), sodium (Na), calcium (Ca), magnesium (Mg), and iron (Fe), with cladodes showing major levels of Ca and K and measurable amounts of Mg, Na, and Fe in their mineral profiles (see review in International Journal of Food Science and Technology and mineral analyses of O. ficus-indica and wild Opuntia species) [10,11,12,13]. The antioxidant capacity of plant polyphenols has been widely documented, highlighting their role in protecting against oxidative stress [14,15,16]. In this context, El-Guezzane et al. reported high antioxidant activity and phenolic content in Opuntia ficus-indica cultivars compared to other species [17].
Plant responses to abiotic stress involve complex physiological and metabolic adjustments. Salinity stress, for instance, has been shown to induce the accumulation of proteins and proline as adaptive resistance mechanisms [18], while metabolic regulation plays a key role in maintaining cellular osmotic balance under adverse environmental conditions [19]. Optical properties of plant tissues are closely linked to these physiological changes. Leaf and cladode spectral reflectance varies according to plant species, tissue water content, and structural characteristics [20]. Moreover, morphological and colorimetric descriptors have proven useful for characterizing Opuntia tissues and assessing their physiological status [21].
In green vegetation, the near-infrared (NIR) region of the electromagnetic spectrum (approximately 690–740 nm) is particularly relevant, as chlorophyll strongly absorbs radiation below 700 nm, resulting in low reflectance, while reflectance increases sharply beyond this threshold [22]. Hyperspectral imaging (HSI) has therefore emerged as a powerful non-destructive tool for plant phenotyping. Several studies have demonstrated the potential of HSI for estimating photosynthetic and biochemical traits, including chlorophyll content, in different crops such as maize and rice [23,24]. According to Benelli et al., HSI enables high-throughput assessment of plant physiology, fruit maturity, and biotic stress, supporting precision agriculture applications [25].
Despite its advantages, HSI generates high-dimensional and noisy datasets, requiring effective preprocessing and dimensionality reduction techniques. Principal Component Analysis (PCA) is commonly employed to reduce data redundancy by transforming correlated spectral variables into a smaller set of uncorrelated principal components that explain most of the variance [26]. Prior to PCA, spectral preprocessing methods are commonly applied to improve data quality by reducing instrumental noise and correcting physical variations. Techniques such as Savitzky–Golay (SG) smoothing are frequently used to reduce noise, while scatter correction methods like Standard Normal Variate (SNV) and Multiplicative Scatter Correction (MSC) normalize spectra to minimize baseline shifts and multiplicative light-scattering effects. These preprocessing steps are often applied in combination before multivariate analyses, including PCA, to ensure accurate and reliable chemometric results [27,28]. In addition, hyperspectral indices such as the normalized vegetation difference index (NDVI) and its variants, including vNDVI, have been proposed to enhance vegetation monitoring accuracy [29].
For image segmentation and spectral preprocessing, unsupervised machine learning algorithms such as K-Means clustering are widely used due to their computational efficiency and their ability to group pixels with similar spectral characteristics. K-Means is considered a standard unsupervised classification algorithm in remote sensing and image analysis, efficiently partitioning large datasets into clusters of spectrally similar pixels. This method is broadly implemented in image processing applications to segment images by grouping similar pixels or regions into the same classes, highlighting its versatility and practical utility in both spectral and spatial analyses [30,31,32,33]. K-Means clustering algorithm has many uses, including grouping text documents, images, and videos [34]. Unlike deep learning-based approaches, which require large, labeled datasets, K-Means leverages spectral similarity and spatial continuity, making it particularly suitable for complex plant tissues such as succulent cladodes. Since multivariate analysis is needed for HSI analysis, Dao et al. demonstrated the usefulness of integrating deep learning and hyperspectral data in studies related to drought in pastures [35]. Izzo et al. found that hyperspectral curves frequently exhibit correlated predictor variables, causing multicollinearity, given the contiguous nature of spectral data [36].
The contiguous nature of hyperspectral data often leads to multicollinearity among predictor variables, while the number of spectral bands typically exceeds the number of samples. To address these challenges, Partial Least Squares Regression (PLSR) is frequently applied in multivariate analysis because it simultaneously reduces the dimensionality of the predictor space while maximizing the covariance between predictors and response variables [37,38]. By constructing latent components that capture the greatest covariance between linear combinations of predictors (X) and response variables (Y), PLSR effectively handles datasets with many correlated predictors or collinearity [39]. To use PLSR for assessing model performance, it is recommended to split the entire dataset into one for model training and one for out-of-sample validation to provide a more robust and accurate assessment of the prediction [40]. This makes it particularly suitable for applications in chemometrics, spectroscopy, and other fields requiring reliable predictive modeling while maintaining interpretability of the underlying relationships [41,42]. To use PLSR for assessing model performance, it is recommended to split the entire dataset into one for model training and one for out-of-sample validation to provide a more robust and accurate assessment of the prediction. Value Inflation Factor (VIF) values in multiple linear regression models further justify the use of PLSR for robust multivariate modeling [43]. Best practices recommend dividing datasets into training and validation subsets to ensure reliable model performance assessment.
Although machine learning and hyperspectral techniques have been extensively applied in agri-food research, their combined use for the simultaneous prediction of mineral nutrients, chlorophylls, and antioxidant compounds in fresh Opuntia ficus-indica cladodes remains limited. Therefore, the aim of this study was to develop non-destructive, high-precision mathematical models correlating hyperspectral images (400–1000 nm) with the mineral, chlorophyll, and antioxidant contents of fresh commercial cladodes. Additionally, this study evaluates the effectiveness of K-Means clustering as a preprocessing strategy to enhance signal-to-noise ratio, extracts key morphological descriptors using digital image processing, and proposes an alternative to conventional laboratory acid digestion methods for industrial quality control in the Opuntia food chain.
2. Materials and Methods
2.1. Plant Material and Sample Preparation
The study was conducted using 15 fresh cladodes of Opuntia ficus-indica (L.) Mill. (cv. Villanueva). The samples were obtained from the experimental field of the Faculty of Agronomy at the Autonomous University of Nuevo Leon, Mexico. Only third-level cladodes (third generation from the main trunk) were selected to ensure uniformity of physiological maturity. This developmental stage corresponds to the commercial maturity commonly used for nopalitos (cladodes) intended for human consumption.
2.2. Sampling and Firmness of Fresh Cladodes
Fresh cladodes were harvested from the third level of two-year-old Opuntia ficus-indica plants grown in pots containing unfertilized clay loam soil. The samples were weighed using a precision balance and photographed with an iPhone 11 smartphone. The images were analyzed using ImageJ software (version 2022; National Institutes of Health, Bethesda, MD, USA) to obtain morphological descriptors.
Cladode firmness was subsequently measured using a texture analyzer (XT Plus Texture Analyzer, Stable Micro Systems, Godalming, UK). Three puncture tests were performed on each cladode using a flat probe with a diameter of 1 mm. The penetration speed was set at 2 mm·s−1. Firmness was expressed as the maximum force (N) recorded during the puncture test.
2.3. Hyperspectral Image Acquisition
Hyperspectral images (HSI) were captured using a laboratory-scale push-broom hyperspectral imaging system. The system consists of a high-resolution camera operating in the visible and near-infrared (VNIR) range of 400 to 1000 nm. Cladodes were placed on a motorized translation stage with controlled lighting to ensure uniform reflectance. To calibrate the system and account for environmental lighting variations, a white reference (99% reflectance) and a dark reference (0% reflectance) were acquired before each scanning session.
2.4. Image Data Processing and K-Means Clustering
Raw hyperspectral data (hypercubes) were processed to extract meaningful spectral signatures, and the segmentation of the cladode from the background was performed using K-Means clustering. This unsupervised machine learning algorithm was chosen over deep learning or superpixel methods due to its computational efficiency in handling high-dimensional data without requiring extensive manual labeling. In succulent tissues such as Opuntia, K-Means effectively groups pixels with similar spatial-spectral characteristics, enabling the isolation of representative tissue regions while minimizing noise from surface reflections or background interference.
2.5. Spectral Preprocessing and Feature Extraction
Before image acquisition, the hyperspectral imaging system was powered on to achieve thermal and temporal stability [44]. Images were captured at 30 frames per second (fps) with an exposure time of 20 ms. A conveyor speed of 7 mm/s was used to optimize the frame aspect ratio. Hyperspectral images of fresh cladodes were acquired with dimensions 1024 × 768 × 600, where the first two dimensions represent spatial coordinates and the third represents spectral values, forming a hypercube. Hypercube construction and initial processing were performed in Matlab R2021a.
Spectral data were preprocessed to enhance spectral features and reduce the number of spectra using the Standard Normal Variate (SNV) technique. Color clustering of the fresh cladode images was then performed with K-Means using the HiperTools v3 software [45]. Given the multidimensional nature of hyperspectral data, K-Means provides a computationally efficient alternative to methods like hierarchical clustering [46,47]. Noise was quantified using the signal-to-noise ratio (SNR), calculated as:
A high SNR (≫1) indicates precise data, while a low SNR indicates noisy measurements. The dimensions of interest were assumed to correspond to directions of highest variance and SNR. To further improve SNR, signal clustering with K-Means has been shown to identify optimal image regions by leveraging spatial relationships, as neighboring pixels often exhibit similar signals [48].
Selecting the number of clusters (K) is critical for K-Means performance. Two commonly used methods are the Elbow Method and Silhouette Analysis. The Elbow Method identifies the optimal K by plotting cluster distortion versus K. As K increases, the average distance of points from cluster centroids decreases, and the “elbow” point, where distortion reduction slows, is chosen as the optimal K [49]. Silhouette Analysis evaluates cluster separation by measuring how similar a point is to its own cluster compared with neighboring clusters. Silhouette coefficients range from −1 to 1: values near +1 indicate well-separated clusters, 0 indicates proximity to the cluster boundary, and negative values suggest misassigned points [50].
Finally, a 2nd derivative Savitzky–Golay smoothing was applied using HyperTools 3.0 to further reduce noise and enhance spectral feature resolution.
2.6. Laboratory Reference Analysis
All Opuntia cladodes samples were analyzed in triplicates. Samples were weighed and dried in a Yamato DX 602C oven (Yamato Scientific Co., Ltd., Tokyo, Japan) at 60 °C for 72 h and subsequently pulverized with a mortar, separating 10 g of cladode flour. The flour was then subjected to acid digestion in a mixture of perchloric acid and nitric acid [51]. Nitrogen (N) was quantified by the micro Kjendahl method according to Bremner [52]. The contents (mg/100 g) of phosphorous (P), potassium (K), calcium (Ca), magnesium (Mg), iron (Fe), boron (B), manganese (Mn), zinc (Zn) and copper (Cu) were determined by acid digestion extract using a coupled plasma induction atomic emission spectrometer (ICP-AES, Agilent 725-ES, Agilent Technologies, Santa Clara, CA, USA).
Chlorophylls were obtained using method described by Delgado-Vargas et al. [53]. First, 25 mL of 80% methanol was added to 0.5 g of pulp sample and homogenized, then centrifuged at 5000 g for 5 min at 4 °C, and the absorbance values at 663, 646 and 470 nm were obtained. The chlorophyll was calculated using Equations (2)–(4).
Chloropyll a: Ca = 12.25A663 − 2.29A646
Chloropyll b: Cb = 21.5A645 − 5.21A663
Chloropyll total: C(a + b) = 7.15A663 + 18.71A470
To determine the antioxidant capacity, the ABTS method was used as proposed by Rice-Evans et al. and modified by Ozgen et al. for FRAP and DPPH [54,55].
2.7. Model Development and Statistical Validation
Hyperspectral data (acquisition and extraction of spatial and spectral information) were obtained from images of fresh cladodes of Opuntia. Once the arrangements of the hyperspectral signature matrix and the K-means centroids were obtained, the PLSR algorithm was applied with cross-validation to find the optimal number of components and then they were used in the PLSR algorithm for analysis, according to Equation (5).
where Y is the matrix of dependent variables, X is the matrix of explanatory variables; W_h is the weight matrix of X, generated by the algorithm; P_h^′ is the charge matrix, transposed; C_h^′ is the weight matrix of Y, transposed; ε_h is the residual matrix. The subscript h of Equation (1) indicates the number of components to be used.
For the PLSR processing used for all the reflectance values of the images of fresh Opuntia cladodes, a cross-validation was performed to optimize the number of components, using h = 9 for the minerals and h = 5 for the rest of the variables. Finally, a partial least squares regression (PLSR) statistical analysis was performed with Minitab v2021 [56].
3. Results
The harvested fresh cladodes had an average weight of 103 g and a mean penetration resistance of 20.6 N (2.10 kg). The mineral composition of the fresh cladodes is summarized in Table 1, highlighting the concentrations of macro- and micronutrients (ppm), as well as chlorophyll and antioxidant contents (mg·100 g−1).
Table 1.
Nutrients found in fresh cladodes.
The images of the fresh cladodes, once processed with ImageJ, provided the mean morphological values of the cladodes, which are shown in Table 2. ImageJ has subtraction routines to remove the background of the image and can calculate the area, statistics pixel values, distances, and angles from user-defined selections, as well as create density histograms and line profile plots [57]. The following morphological characteristics of Opuntia commercial cladodes were obtained with ImageJ: mean area of 212 cm2, perimeter of 62.1 cm and lengths Lmax and Lmin with values that ranged between 21.2 and 13.3 cm, respectively (Table 2).
Table 2.
Fresh cladodes morphological descriptors obtained by using ImageJ.
PLSR analysis was performed using the reflectance intensity values, the matrix (15 × 768) as the independent variable. K-Means clustering of the fresh cladodes image was performed. A general model for the use of PLSR is shown by Equation (6).
where M is the matrix of 10 minerals and 7 metabolites from 15 cladodes, which is the dependent variable; β_oi the constant coefficients; λ the 768-pixel matrix of reflectance intensity of 15 cladodes, the independent variables; β are the values of the matrix of 768 coefficients for the 17 variables and ε is the error.
[M_((15 × 17))] = β_oi + [λ_((15 × 768))] [β_((768 × 17))] + ε_((15 × 17))
From the analysis of variance (Table 3), the values of the mean square error, the coefficient of determination (R2) and the level of statistical significance for the mineral, chlorophylls and antioxidants contents were obtained.
Table 3.
PLSR models for nutrients, chlorophylls a (Cl_a), b (Cl_b), total (Cl_T) and antioxidants.
Figure 1 displays the K-Means spectral profiles for 15 cladodes across 768 bands. The results demonstrate high intra-class stability, with characteristic reflectance peaks near data value 250. The prominent absorption feature at band 350 and the subsequent decay in the higher bands are indicative of the specific succulent morphology and water-rich composition of the cactus pads.
Figure 1.
Data values of the K-Means spectra of 15 cladodes in 768 pixels.
The contents of mineral nutrients, chlorophylls, and antioxidants versus hyperspectral images showed high coefficients of determination, good levels of significance and a variance of 0.99 (Table 3). After the analysis of the individual tested compounds with PLSR resulted in lower R2 values obtaining a better behavior with all the dependent variables at the same time, by generating a greater number of data, for λ (15 × 768) of all the pixels versus all the compounds, obtaining the order of R2 = 0.98 for P, and for other minerals, until obtaining the lowest value of R2 = 0.659 for DPPH.
The values ranging from 0.7 to 0.871 were obtained from the PLSR analysis as explanatory percentages and significant values for the variables, with 95% confidence.
Figure 1 shows the wavelengths (λ) computed by evaluating pixels. The R2 values were around 0.98 for Mn, to 0.99 for the others and showed the variation in the mineral contents from 0.70 in the phenols, up to 0.87, indicating that the mineral contents significantly affect the reflectance. From the PLSR analysis, the estimated wavelengths were obtained and are shown in Figure 2.
Figure 2.
Predicted values of the reflection intensities of the fresh cladode.
To assess the relationship between spectral data and chemical composition, PLSR coefficients were calculated for mineral nutrients, chlorophyll pigments, and antioxidant capacity across the 768 spectral bands. Figure 2 illustrates the predicted reflection intensities for the fresh cladode samples.
The distribution of the regression coefficients, which identify the spectral regions most influential to each model, is presented in Figure 3 for macro and micronutrients (N, P, K, Ca, Mn, B, Mg, Fe, Zn, and Cu).
Figure 3.
PLSR coefficients for N (a), P (b), K (c), Ca (d), Mn (e), B (f) Mg (g), Fe (h), Zn (i) and Cu (j) models (9 components were selected).
Furthermore, the coefficient profiles for chlorophyll a, b, and total chlorophyll are detailed in Figure 4, while antioxidant activities (FRAP, ABTS, Phenols, and DPPH) are shown in Figure 5. For all models, 9 principal components were selected to optimize predictive performance.
Figure 4.
PLSR coefficients for a (a), b (b) and total chlorophylls (c).
Figure 5.
PLSR Coefficients for ABTS (a), FRAP (b), Phenols (c) and Antioxidants (DPPH) (d).
The applied methodology can be used to obtain prediction models between other agronomic characteristics or between chemical or biochemical compounds of plants and their hyperspectral images.
The comparative analysis between the experimentally measured values and the PLSR-predicted concentrations for minerals, chlorophylls, and antioxidants is summarized in Table 4. The results demonstrate an exceptional level of predictive accuracy across all parameters, with predicted values closely mirroring the measured laboratory data. For instance, the Nitrogen (N) model yielded a predicted mean of 16,714.44 ppm compared to the measured 16,718.33 ppm, showing minimal deviation. Similar high-precision correlations were observed for macrominerals including Calcium (Ca) and Potassium (K), as well as for bioactive compounds, including Total Chlorophyll and antioxidant capacity (DPPH and FRAP). This near-identity between measured and calculated means confirms the robustness of the 9-component PLSR models in non-destructively estimating the chemical composition of fresh cladodes.
Table 4.
Mean values of the contents of minerals, chlorophylls, and antioxidants in ppm, measured, and calculated (predicted) using the PLSR model.
4. Discussion
The mineral nutrient content observed in fresh cladodes was consistent with control values reported by Zúñiga-Tarango et al. and Santiago-Lorenzo et al. [58,59], as expected since no external fertilization was applied. In contrast, significant differences emerged when comparing our results with those of Mayer and Cushman, Mokoboki and Sebola, and Nobel [60,61]. These discrepancies are mainly due to ontogenetic and environmental factors, as previous studies analyzed mature cladodes for cattle feed, whereas this study focused on fresh tissue for human consumption. Differences in sampling periods and cultivars further explain variations in macro- and micronutrient concentrations [62,63].
For predictive modeling, the selection of the PLSR algorithm was critical to achieving high accuracy in estimating chemical and biochemical compounds. The PLS1 approach was implemented using the NIPALS (Nonlinear Iterative Partial Least Squares) algorithm, which, unlike PCR or PLS2, computes independent score and loading vectors for each response variable, enabling more precise individual predictions [64]. Model optimization was performed through cross-validation, resulting in nine components that maximize covariance between predictors (spectral bands) and response variables while preventing overfitting in datasets with highly correlated predictors [65].
Regression coefficients provided a robust tool for variable selection by quantifying the influence and direction of specific wavelengths on model performance [66]. The close agreement between laboratory measurements and PLSR predictions, supported by high R2 values (Table 4), confirms that hyperspectral imaging combined with PLSR is a reliable non-destructive predictive technique. This approach can be effectively extended to predict additional agronomic and biochemical traits in cactus pear and related species.
The primary innovation of this study lies in the development of a limited-interference predictive framework capable of extracting 17 variables from a single non-destructive scan. Unlike previous studies that relied on colorimetric methods, this research employs K-means clustering to maximize the signal-to-noise ratio in succulent tissues, which are traditionally challenging to analyze due to high water content. Strong predictive performance for minerals suggests that mineral–water complexes significantly influence reflectance in the near-infrared (NIR) region. Slightly lower accuracy for antioxidant capacity (DPPH) may be due to dominant chlorophyll absorption peaks near 700 nm, which partially mask more subtle antioxidant spectral signatures.
Building on previous work on morphological descriptors [20], this study bridges the gap between external physical traits and internal chemical composition. Incorporating recent literature situates the findings within a modern statistical framework, moving beyond outdated methodological justifications.
Despite the high predictive accuracy achieved, limitations exist. The use of 15 third-level cladodes from the Villanueva cultivar ensured high intra-class stability for model calibration but does not fully capture the genetic diversity of the species. Models were developed under greenhouse-controlled conditions, and their performance in open-field environments remains untested. Future research will expand the dataset to multiple cultivars and growing conditions, explore deep learning–based segmentation, and evaluate seasonal and soil-type effects to improve model robustness and generalizability.
5. Conclusions
The use of hyperspectral imaging (HSI) supported by partial least squares regression (PLSR) proved to be a reliable approach for modeling mineral nutrients, chlorophylls, and antioxidant contents from hyperspectral images. Although the individual analysis of compounds using PLSR yielded moderate coefficients of determination (R2 ranging from 0.70 to 0.87, with statistically significant variables at a 95% confidence level), a strong agreement was observed between the original laboratory averages and the predicted means. Some discrepancies were detected in the estimation of macro- and micro-mineral nutrients; however, the models showed high reliability for key elements such as phosphorus and potassium.
Overall, this research demonstrates that hyperspectral imaging combined with machine learning represents a transformative tool for the Opuntia industry, enabling the replacement of traditional, time-consuming chemical analyses with accurate, non-destructive alternatives. The practical significance of this work lies in its applicability to real-time field phenotyping and automated industrial sorting, where integration into conveyor systems could allow instantaneous assessment of harvest maturity and nutrient density. Furthermore, the study lays the groundwork for interdisciplinary collaboration between agricultural engineers and data scientists, supporting the transition of the Opuntia value chain toward high-throughput precision agriculture.
Author Contributions
Study conception and design: A.I.L.M.; data collection: J.A.V.; software: J.A.V. and A.I.L.M., methodology: A.I.L.M., J.A.V., R.D.V.C., H.F.B., J.A.V. and J.I.G.L.; analysis and interpretation of results: A.I.L.M., J.A.V., A.K., R.D.V.C. and J.I.G.L.; draft manuscript preparation: A.I.L.M., J.A.V. and A.K. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the Faculty of Agronomy at the Autonomous University of Nuevo León and PAICYT UANL 2019 (CT696-19) for the financing granted for this project.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The raw data supporting the conclusions of this article will be made available by the authors on request.
Acknowledgments
The authors want to acknowledge the Saltillo Institute of Technology for their support.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Nefzaoui, A.; Salem, H.B. Opuntia: A strategic fodder and efficient tool to combat desertification in the WANA (West Asia/North Africa) region. In FAO Plant Production and Protection Paper (FAO); FAO: Rome, Italy, 2001. [Google Scholar]
- Jorge, A.O.; Costa, A.S.; Oliveira, M.B.P. Adapting to climate change with Opuntia. Plants 2023, 12, 2907. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Mayer, J.A.; Wone, B.W.; Alexander, D.C.; Guo, L.; Ryals, J.A.; Cushman, J.C. Metabolic profiling of epidermal and mesophyll tissues under water-deficit stress in Opuntia ficus-indica reveals stress-adaptive metabolic responses. Funct. Plant Biol. 2021, 48, 717–731. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Ramadan, M.F.; Ayoub, T.E.M.; Rohn, S. Opuntia spp.: Chemistry, Bioactivity, and Industrial Applications; Springer International Publishing: Cham, Switzerland, 2021. [Google Scholar] [CrossRef] [Scilit]
- Bouzoubaâ, Z.; Essoukrati, Y.; Tahrouch, S.; Hatimi, A.; Gharby, S.; Harhar, H. Phytochemical study of prickly pear from southern Morocco. J. Saudi Soc. Agric. Sci. 2016, 15, 155–161. [Google Scholar] [CrossRef] [Scilit]
- Mohammed, M.A.; El-Gengaihi, S.E.; Maklad, Y.A.; Shabana, M.E.; Naeim Attia, H. Role of rich phenolics and betanin profiles from Opuntia ficus-indica fruits in the prevention of diabetic complications using metabolomics study. Sci. Rep. 2025, 15, 5780. [Google Scholar] [CrossRef] [Scilit]
- Besné-Eseverri, I.; Trepiana, J.; Eseberri, I.; Gómez-Maqueo, A.; Cano, M.P.; Tomé-Carneiro, J.; Dávalos, A.; Portillo, M.P. Anti-steatotic effect of Opuntia ficus-indica extracts rich in betalains and phenolics from fruit peel and pulp of different varieties in in vitro models. J. Physiol. Biochem. 2025, 81, 1305–1320. [Google Scholar] [CrossRef] [Scilit]
- Eseberri, I.; Gómez-Maqueo, A.; Trepiana, J.; Gómez-López, I.; Proença, C.; Cano, M.P.; Portillo, M.P. In vitro screening and lipid-lowering effect of prickly pear (Opuntia ficus-indica L. Mill.) fruit extracts in 3T3-L1 pre-adipocytes and mature adipocytes. Plant Foods Hum. Nutr. 2024, 79, 143–150. [Google Scholar] [CrossRef] [Scilit]
- Alshaikhi, A.I.; Alzahrani, M.Y.; Hazzazi, J.S.; Kurdi, J.R.; Ramadan, M.F. Nutritional aspects, bioactive phytochemicals and biomedical traits of Opuntia spp.: Current trends and applications. J. Umm Al-Qura Univ. Appl. Sci. 2024, 10, 367–378. [Google Scholar] [CrossRef] [Scilit]
- Kalegowda, P.; Haware, D.J.; Rajarathnam, S.; Shashirekha, M.N. Minerals of cactus (Opuntia dillenii): Cladode and fruit. Curr. Sci. 2015, 109, 2295–2298. Available online: https://www.jstor.org/stable/24906681 (accessed on 30 January 2026). [CrossRef] [Scilit]
- Rodrigues, C.; Paula, C.D.D.; Lahbouki, S.; Meddich, A.; Outzourhit, A.; Rashad, M.; Pari, L.; Coelhoso, I.; Fernando, A.L.; Souza, V.G.L. Opuntia spp.: An overview of the bioactive profile and food applications of this versatile crop adapted to arid lands. Foods 2023, 12, 1465. [Google Scholar] [CrossRef] [Scilit]
- Missaoui, M.; D’Antuono, I.; D’Imperio, M.; Linsalata, V.; Boukhchina, S.; Logrieco, A.F.; Cardinali, A. Characterization of micronutrients, bioaccessibility and antioxidant activity of prickly pear cladodes as functional ingredient. Molecules 2020, 25, 2176. [Google Scholar] [CrossRef] [Scilit]
- Nieto–Garibay, A.; Troyo–Diéguez, E.; Valdez–Cepeda, R.D.; Rueda–Puente, E.; García–Hernández, J.L.; Flores–Hernández, A.; Zamora-Salgado, S.; Orona-Castillo, I.; Murillo–Amador, B. Plant height and mineral content of Opuntia tapona growing along the coasts of Baja California Sur, México. J. Prof. Assoc. Cactus Dev. 2011, 13, 77–87. [Google Scholar]
- El-Guezzane, C.; El-Moudden, H.; Harhar, H.; Chahboun, N.; Tabyaoui, M.; Zarrouk, A. A comparative study of the antioxidant activity of two Moroccan prickly pear cultivars collected in different regions. Chem. Data Collect. 2021, 31, 100637. [Google Scholar] [CrossRef] [Scilit]
- Rao, M.J.; Zheng, B. The role of polyphenols in abiotic stress tolerance and their antioxidant properties to scavenge reactive oxygen species and free radicals. Antioxidants 2025, 14, 74. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Ji, W.; Chen, F.; Chen, Z.; Jiang, H. Research in advances in the bioactivity of plant polyphenols. Int. J. Food Sci. Technol. 2024, 59, 8037–8044. [Google Scholar] [CrossRef] [Scilit]
- Sofy, M.R.; Sharaf, A.E.M.; Osman, M.S.; Sofy, A.R. Physiological changes, antioxidant activity, lipid peroxidation and yield characters of salt stressed barely plant in response to treatment with Sargassum extract. Int. J. Adv. Res. Biol. Sci. 2017, 4, 90–109. [Google Scholar] [CrossRef]
- Fàbregas, N.; Fernie, A.R. The metabolic response to drought. J. Exp. Bot. 2019, 70, 1077–1085. [Google Scholar] [CrossRef] [Scilit]
- Pinto, J.; Rueda-Chacón, H.; Arguello, H. Classification of Hass avocado (persea americana mill) in terms of its ripening via hyperspectral images. TecnoLógicas 2019, 22, 111–130. [Google Scholar] [CrossRef] [Scilit]
- Arredondo-Valdez, J.; Luna-Maldonado, A.I.; Valdez-Cepeda, R.D.; Rodríguez-Fuentes, H.; Vidales-Contreras, J.A.; Grajeda-González, U.F.; Flores-Breceda, H. Characterization of mature paddles of Opuntia ficus-indica L. using morphological and colorimetric descriptors. J. Exp. Biol. Agric. Sci. 2022, 10, 335–343. [Google Scholar] [CrossRef] [Scilit]
- Lowe, A.; Harrison, N.; French, A.P. Hyperspectral image analysis techniques for the detection and classification of the early onset of plant disease and stress. Plant Methods 2017, 13, 80. [Google Scholar] [CrossRef] [Scilit]
- Yendrek, C.R.; Tomaz, T.; Montes, C.M.; Cao, Y.; Morse, A.M.; Brown, P.J.; Ainsworth, E.A. High-throughput phenotyping of maize leaf physiological and biochemical traits using hyperspectral reflectance. Plant Physiol. 2017, 173, 614–626. [Google Scholar] [CrossRef] [Scilit]
- Wang, B.; Zhang, X.; Dong, Y.; Zhang, J.; Zhang, J.; Zhou, X. Retrieval of leaf chlorophyll content of paddy rice with extracted foliar hyperspectral imagery. In Proceedings of the 2018 7th International Conference on Agro-Geoinformatics; IEEE: New York, NY, USA, 2018; pp. 1–5. [Google Scholar] [CrossRef] [Scilit]
- Benelli, A.; Cevoli, C.; Fabbri, A. In-field hyperspectral imaging: An overview on the ground-based applications in agriculture. J. Agric. Eng. 2020, 51, 129–139. [Google Scholar] [CrossRef] [Scilit]
- Costa, L.; Nunes, L.; Ampatzidis, Y. A new visible band index (vNDVI) for estimating NDVI values on RGB images utilizing genetic algorithms. Comput. Electron. Agric. 2020, 172, 105334. [Google Scholar] [CrossRef] [Scilit]
- Lavadiya, D.N.; Sajid, H.U.; Yellavajjala, R.K.; Sun, X. Hyperspectral imaging for the elimination of visual ambiguity in corrosion detection and identification of corrosion sources. Struct. Health Monit. 2021, 21, 1678–1693. [Google Scholar] [CrossRef] [Scilit]
- Amigo, J.M.; Babamoradi, H.; Elcoroaristizabal, S. Hyperspectral image analysis. A tutorial. Anal. Chim. Acta 2015, 896, 34–51. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- López, V.C. Innovations in Non-Destructive Techniques for Fruit Quality Control Applied to Manipulation and Inspection Lines. Ph.D. Thesis, Universitat Politècnica de València, Valencia, Spain, 2018. [Google Scholar]
- Kusumiyati, K.; Hadiwijaya, Y.; Putri, I.E.; Munawar, A.A. Enhanced visible/near-infrared spectroscopic data for prediction of quality attributes in Cucurbitaceae commodities. Data Brief 2021, 39, 107458. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Qin, Y.T.; Zhang, H.; Cao, W.Q.; Li, Z.B. The Dynamic Reliability Analysis of Cryogenic Valve Based on Man-Machine-Environment System Theory. Appl. Mech. Mater. 2013, 380, 169–172. [Google Scholar] [CrossRef] [Scilit]
- Ralambondrainy, H. A conceptual version of the k-means algorithm. Pattern Recognit. Lett. 1995, 16, 1147–1157. [Google Scholar] [CrossRef] [Scilit]
- Han, S.; Lee, J. Parallelized inter-image k-means clustering algorithm for unsupervised classification of series of satellite images. Remote Sens. 2023, 16, 102. [Google Scholar] [CrossRef] [Scilit]
- Wu, C.; Gai, P. A novel joint learning framework combining fuzzy C-multiple-means clustering and spectral clustering for superpixel-based image segmentation. Digit. Signal Process. 2025, 161, 105083. [Google Scholar] [CrossRef] [Scilit]
- Ranjan, S.; Nayak, D.R.; Kumar, K.S.; Dash, R.; Majhi, B. Hyperspectral image classification: A k-means clustering based approach. In Proceedings of the 4th International Conference on Advanced Computing and Communication Systems (ICACCS); IEEE: New York, NY, USA, 2017; pp. 1–7. [Google Scholar] [CrossRef] [Scilit]
- Dao, P.D.; He, Y.; Proctor, C. Plant drought impact detection using ultra-high spatial resolution hyperspectral images and machine learning. Int. J. Appl. Earth Obs. Geoinf. 2021, 102, 102364. [Google Scholar] [CrossRef] [Scilit]
- Izzo, R.R. Combining Hyperspectral Imaging and Small Unmanned Aerial Systems for Grapevine Moisture Stress Assessment. Ph.D. Thesis, Rochester Institute of Technology, Rochester, NY, USA, 2019. [Google Scholar]
- Indore, N.S.; Chaudhry, M.; Jayas, D.S.; Paliwal, J.; Karunakaran, C. Non-destructive assessment of microstructural changes in Kabuli chickpeas during storage. Foods 2024, 13, 433. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Minitab. ¿Qué Es la Regresión de Mínimos Cuadrados Parciales? Available online: https://support.minitab.com/es-mx/minitab/help-and-how-to/statistical-modeling/regression/supporting-topics/partial-least-squares-regression/what-is-partial-least-squares-regression/ (accessed on 19 January 2026).
- Andrade-Garda, J.M. (Ed.) Basic Chemometric Techniques in Atomic Spectroscopy; Royal Society of Chemistry: London, UK, 2013. [Google Scholar]
- Burnett, A.C.; Anderson, J.; Davidson, K.J.; Ely, K.S.; Lamour, J.; Li, Q.; Serbin, S.P. A best-practice guide to predicting plant traits from leaf-level hyperspectral data using partial least squares regression. J. Exp. Bot. 2021, 72, 6175–6189. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Boente, G.; Salibian-Barrera, M.; Vena, P. Robust estimation for semi-functional linear regression models. Comput. Stat. Data Anal. 2020, 152, 107041. [Google Scholar] [CrossRef] [Scilit]
- Aneiros, G.; Cao, R.; Fraiman, R.; Genest, C.; Vieu, P. Recent advances in functional data analysis. J. Multivar. Anal. 2019, 170, 3–9. [Google Scholar] [CrossRef] [Scilit]
- Mobaraki, N.; Amigo, J.M. HYPER-Tools. A graphical user-friendly interface for hyperspectral image analysis. Chemom. Intell. Lab. Syst. 2018, 172, 174–187. [Google Scholar] [CrossRef] [Scilit]
- O’brien, R.M. A caution regarding rules of thumb for variance inflation factors. Qual. Quant. 2007, 41, 673–690. [Google Scholar] [CrossRef] [Scilit]
- Ji, K.; Wen, R.; Ren, Y.; Dhakal, Y.P. Nonlinear seismic site response classification using K-means clustering algorithm: Case study of the September 6, 2018 Mw6. 6 Hokkaido Iburi-Tobu earthquake, Japan. Soil Dyn. Earthq. Eng. 2020, 128, 105907. [Google Scholar] [CrossRef] [Scilit]
- Shakeel, P.M.; Baskar, S.; Dhulipala, V.S.; Jaber, M.M. Cloud based framework for diagnosis of diabetes mellitus using K-means clustering. Health Inf. Sci. Syst. 2018, 6, 16. [Google Scholar] [CrossRef] [Scilit]
- Mazurek, P.; Bak, D. Video Sequence Segmentation Based on K-Means in Air-Gap Data Transmission for a Cluttered Environment. Sensors 2023, 23, 665. [Google Scholar] [CrossRef] [Scilit]
- Syakur, M.A.; Khotimah, B.K.; Rochman, E.M.S.; Satoto, B.D. Integration k-means clustering method and elbow method for identification of the best customer profile cluster. IOP Conf. Ser. Mater. Sci. Eng. 2018, 336, 012017. [Google Scholar] [CrossRef] [Scilit]
- Sharma, D.; Thulasiraman, K.; Wu, D.; Jiang, J.N. Power network equivalents: A network science based K-means clustering method integrated with silhouette analysis. In International Conference on Complex Networks and Their Applications; Springer International Publishing: Cham, Switzerland, 2017; pp. 78–89. [Google Scholar] [CrossRef] [Scilit]
- González, G.A.; Villa, M.S. Manual de Análisis Químico Vegetal; Publicación Especial 10; Sociedad Mexicana de la Ciencia del Suelo: Chapingo, México, 1999. [Google Scholar]
- Bremner, J.M. Total nitrogen. In Methods of Soil Analysis: Part 2 Chemical and Microbiological Properties; American Society of Agronomy, Inc.: Madison, WI, USA, 1965; Volume 9, pp. 1149–1178. [Google Scholar] [CrossRef] [Scilit]
- Delgado-Vargas, F.; Jiménez, A.R.; Paredes-López, O. Natural pigments: Carotenoids, anthocyanins, and betalains—Characteristics, biosynthesis, processing, and stability. Crit. Rev. Food Sci. Nutr. 2000, 40, 173–289. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Rice-Evans, C.; Miller, N.; Paganga, G. Antioxidant properties of phenolic compounds. Trends Plant Sci. 1997, 2, 152–159. [Google Scholar] [CrossRef] [Scilit]
- Ozgen, M.; Reese, R.N.; Tulio, A.Z.; Scheerens, J.C.; Miller, A.R. Modified 2,2-azino-bis-3-ethylbenzothiazoline-6-sulfonic acid (ABTS) method to measure antioxidant capacity of selected small fruits and comparison to ferric reducing antioxidant power (FRAP) and 2,2′-diphenyl-1-picrylhydrazyl (DPPH) methods. J. Agric. Food Chem. 2006, 54, 1151–1157. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Chen, J.; Chen, J.; Zhang, D.; Sun, Y.; Nanehkaran, Y.A. Using deep transfer learning for image-based plant disease identification. Comput. Electron. Agric. 2020, 173, 105393. [Google Scholar] [CrossRef] [Scilit]
- Hartig, S.M. Basic image analysis and manipulation in ImageJ. Curr. Protoc. Mol. Biol. 2013, 102, 14–15. [Google Scholar] [CrossRef] [Scilit]
- Zúñiga-Tarango, R.; Orona-Castillo, I.; Vázquez-Vázquez, C.; Murillo-Amador, B.; Salazar-Sosa, E.; López-Martínez, J.D.; García-Hernández, J.L.; Rueda-Puente, E. Root growth, yield and mineral concentration of Opuntia ficus-indica (L.) Mill. under different fertilization treatments. J. Prof. Assoc. Cactus Dev. 2009, 11, 53–68. Available online: https://investigadores.unison.mx/en/publications/desarrollo-radical-rendimiento-y-concentraci%C3%B3n-mineral-en-nopal-o/ (accessed on 30 January 2026).
- del Rocío Santiago-Lorenzo, M.; López-Jiménez, A.; Veloz, C.S.; Cortés-Flores, J.I.; Jaén-Contreras, D.; Espinosa, J.S. Composición nutrimental del nopal verdura producido con fertilización mineral y orgánica. Rev. Fitotec. Mex. 2016, 39, 403–407. [Google Scholar] [CrossRef] [Scilit]
- Mayer, J.A.; Cushman, J.C. Nutritional and mineral content of prickly pear cactus: A highly water-use efficient forage, fodder and food species. J. Agron. Crop Sci. 2019, 205, 625–634. [Google Scholar] [CrossRef] [Scilit]
- Mokoboki, K.; Sebola, N. Chemical composition and feed intake of Opuntia cladodes varieties offered to goats. J. Anim. Plant Sci. 2017, 32, 5096–5103. [Google Scholar]
- Nobel, P.S. Environmental Biology of Agaves and Cacti; Cambridge University Press: New York, NY, USA, 1988. [Google Scholar]
- Retamal, N.; Durán, J.M.; Fernández, J. Seasonal variations of chemical composition in prickly pear (Opuntia ficus-indica (L.) miller). J. Sci. Food Agric. 1987, 38, 303–311. [Google Scholar] [CrossRef] [Scilit]
- Teles, F.F.F. Nutrient Analysis of Prickly Pear (Opuntia ficus indica, Linn). Ph.D. Thesis, The University of Arizona, Tucson, AZ, USA, 1977. [Google Scholar]
- Khajehsharifi, H.; Pourbasheer, E.; Tavallali, H.; Sarvi, S.; Sadeghi, M. The comparison of partial least squares and principal component regression in simultaneous spectrophotometric determination of ascorbic acid, dopamine and uric acid in real samples. Arab. J. Chem. 2017, 10, S3451–S3458. [Google Scholar] [CrossRef] [Scilit]
- Minitab. Coefficients and Standardized Coefficients for Partial Least Squares Regression. 2023. Available online: https://support.minitab.com/en-us/minitab/21/help-and-how-to/statistical-modeling/regression/how-to/partial-least-squares/interpret-the-results/all-statistics-and-graphs/coefficients/ (accessed on 30 January 2026).
- Chong, I.-G.; Jun, C.-H. Performance of some variable selection methods when multicollinearity is present. Chemom. Intell. Lab. Syst. 2005, 78, 102–112. [Google Scholar] [CrossRef] [Scilit]
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.




