Using VIS/NIR Spectroscopy for Non-destructive Detection of Soluble Solids Content in Plum Cultivars

Document Type : Research Paper

Authors

Department of Biosystems Engineering, Faculty of Agriculture and Enviromental Resources, University of Mohaghegh Ardabili, Ardabil, Iran.

10.22059/ijbse.2025.401742.665611

Abstract

In this study, a non-destructive method for evaluating soluble solids content in plum cultivars was developed using visible/near-infrared (VIS/NIR) spectroscopy. For this purpose, absorption spectra of 80 samples from two plum cultivars (Khormaei and Khoni) in the 350-1100 nm range were collected, and their SSC values were measured using a refractometer as a reference method. To reduce data dimensionality and identify effective wavelengths, a set of five metaheuristic algorithms (including LCA, GA, PSO, ACO, and ICA) was employed in combination with the SVM model, with the main innovation lying in the integration of the League Championship Algorithm (LCA), as the strongest feature selector, with Artificial Neural Network (ANN) regression models. Subsequently, Partial Least Squares Regression (PLSR) and Artificial Neural Network (ANN) models were developed to predict SSC on both full and reduced spectra. To optimize model accuracy, more than 12 pre-processing methods were applied and evaluated. The results indicated that the ANN model based on the selected wavelengths and with Moving Average pre-processing achieved the highest prediction accuracy, particularly for the Khormaei cultivar, with a coefficient of determination of R2=0.989 and a ratio of performance to deviation of RPD=6.08, Indicating the excellent capability of the model for quantitative prediction. This research demonstrates that the combination of VIS/NIR spectroscopy with novel metaheuristic feature selection methods like LCA provides a new and efficient approach for the non-destructive determination of SSC. By significantly reducing computational requirements, this methodology offers a practical, accurate, and reliable tool for real-time quality control in post-harvest and fruit processing industries.

Keywords

Main Subjects


EXTENDED ABSTRACT

Objective

The primary objective of this research was to develop and evaluate a rapid, non-destructive method for predicting the soluble solids content (SSC) in two distinct plum cultivars, namely Khormaei and Khoni, using visible and near-infrared (VIS/NIR) spectroscopy. The study aimed to overcome the limitations of traditional destructive methods, such as the refractometer, which are time-consuming and unsuitable for real-time quality control in the post-harvest industry. Furthermore, a key goal was to enhance the predictive performance of models by employing a novel combination of advanced meta-heuristic algorithms and machine learning techniques for optimal wavelength selection and model development.

Research Method

A total of 80 plum samples, consisting of 40 samples from each of the Khormaei and Khoni cultivars, were utilized for this study. The fruit samples were subjected to VIS/NIR spectroscopy in the range of 350 to 1100 nm to capture their absorption spectra. The corresponding SSC values for each sample were simultaneously measured using a digital refractometer as the reference method. To address the challenge of high dimensionality and multicollinearity inherent in spectral data, a comprehensive feature selection strategy was implemented. A suite of five meta-heuristic algorithms, including Ant Colony Optimization (ACO), Particle Swarm Optimization (PSO), Genetic Algorithm (GA), League Championship Algorithm (LCA), and Imperialist Competitive Algorithm (ICA), was employed in conjunction with a Support Vector Machine (SVM) model. The LCA algorithm was found to be the most effective in identifying a subset of key wavelengths that were most influential in predicting SSC. For model development and comparison, both Partial Least Squares Regression (PLSR) and Artificial Neural Network (ANN) models were employed. To ensure the robustness and generalizability of the models, data splitting was performed 200 times with a ratio of 60% for training, 20% for validation, and 20% for testing. Additionally, the impact of more than 12 different pre-processing techniques, such as Moving Average, Savitzky-Golay filtering, and Standard Normal Variate (SNV), on model accuracy was systematically investigated. The parameters for the ANN model, including the number of hidden layers and neurons, were optimized through a systematic process to prevent overfitting and achieve the best performance.

Findings

The results demonstrated that the non-destructive VIS/NIR method combined with chemometric modeling is highly effective for predicting SSC in both plum cultivars. The performance of the models varied depending on the cultivar, the pre-processing method, and the model type. The ANN model consistently outperformed the PLSR model, especially when applied to the reduced spectral data set. The highest prediction accuracy was achieved by the ANN model using the key wavelengths selected by the LCA algorithm, with the Moving Average pre-processing method. For the Khormaei cultivar, this model yielded a coefficient of determination of R2=0.989 and a ratio of performance to deviation of RPD=6.08, indicating excellent predictive capability. Similarly, for the Khoni cultivar, the model’s performance was also highly satisfactory. The selection of optimal wavelengths by the meta-heuristic algorithms significantly improved model performance while reducing computational complexity. The LCA-SVM combination proved to be particularly powerful in isolating the most relevant spectral information for SSC prediction.

Conclusion

The study successfully demonstrated that VIS/NIR spectroscopy coupled with advanced meta-heuristic feature selection and ANN modeling is a highly accurate and reliable method for the non-destructive determination of SSC in plum cultivars. The combination of the LCA algorithm for wavelength selection with an ANN model offers a novel and powerful approach for creating robust and efficient predictive models. This methodology not only improves prediction accuracy but also reduces the computational requirements, making it a viable and practical tool for real-time quality control applications in the post-harvest handling and food processing industries. The findings confirm that this non-destructive technique is a promising alternative to traditional destructive methods and can be effectively implemented to ensure product quality and consistency.

Author Contributions

Conceptualization, M.L.-A. and Y.A.-G.; methodology, M.L.-A.; software, M.L.-A.; validation, Y.A.-G.; formal analysis, M.L.-A. and Y.A.-G.; investigation, M.L.-A.; resources, M.L.-A.; data curation, M.L.-A. and Y.A.-G.; writing—original draft preparation, M.L.-A. and Y.A.-G..; writing—review and editing, Y.A.-G.; visualization, M.L.-A.; supervision, Y.A.-G.; project administration, Y.A.-G.; funding acquisition, Y.A.-G.All authors have read and agreed to the published version of the manuscript.

All authors contributed equally to the conceptualization of the article and writing of the original and subsequent drafts.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding authors.

Acknowledgements

This research was supported by the University of Mohaghegh Ardabili, which is greatly appreciated.

Ethical considerations

Not applicable.

Conflict of interest

The authors declare that they have no known competing financial interest or personal relationship that could have appeared to influence the work reported in this paper.

Agulheiro‐Santos, A. C., Ricardo‐Rodrigues, S., Laranjo, M., Melgão, C., & Velázquez, R. (2022). Non‐destructive prediction of total soluble solids in strawberry using near infrared spectroscopy. Journal of the Science of Food and Agriculture, 102(11), 4866-4872.
Amoghin, M. L., Abbaspour-Gilandeh, Y., Tahmasebi, M., & Arribas, J. I. (2024). Automatic non-destructive estimation of polyphenol oxidase and peroxidase enzyme activity levels in three bell pepper varieties by Vis/NIR spectroscopy imaging data based on machine learning methods. Chemometrics and Intelligent Laboratory Systems, 105137.
Antoniali, S., Leal, P. A. M., Magalhães, A. M. d., Fuziki, R. T., & Sanches, J. (2007). Physico-chemical characterization of'Zarco HS'yellow bell pepper for different ripeness stages. Scientia Agricola, 64, 19-22.
Butac, M., Bozhkova, V., Zhivondov, A., Milosevic, N., Bellini, E., Nencetti, V., Blazek, J., Balsemin, E., Lafarque, B., & Kaufmane, E. (2011). Overview of plum breeding in Europe. II Balkan Symposium on Fruit Growing 981,
Chang, C.-W., Laird, D. A., Mausbach, M. J., & Hurburgh, C. R. (2001). Near‐infrared reflectance spectroscopy–principal components regression analyses of soil properties. Soil Science Society of America Journal, 65(2), 480-490.
Currà, A., Gasbarrone, R., Gattabria, D., Bonifazi, G., Serranti, S., Greco, D., Missori, P., Fattapposta, F., Picciano, A., & Maffucci, A. (2024). In Vivo Insights: Near-Infrared Photon Sampling of Reflectance Spectra from Cranial and Extracranial Sites in Healthy Individuals and Patients with Essential Tremor. Photonics,
Deli, J., & Molnar, P. (2002). Paprika carotenoids: analysis, isolation, structure elucidation. Current Organic Chemistry, 6, 1197e1219.
Gao, Q., Wang, P., Niu, T., He, D., Wang, M., Yang, H., & Zhao, X. (2022). Soluble solid content and firmness index assessment and maturity discrimination of Malus micromalus Makino based on near-infrared hyperspectral imaging. Food Chemistry, 370, 131013.
Guo, H., Yan, F., Li, P., & Li, M. (2022). Determination of storage period of harvested plums by near‐infrared spectroscopy and quality attributes. Journal of Food Processing and Preservation, 46(9), e16504.
Hasanzadeh, B., Abbaspour-Gilandeh, Y., Soltani-Nazarloo, A., Cruz-Gámez, E. D. L., Hernández-Hernández, J. L., & Martínez-Arroyo, M. (2022). Non-destructive measurement of quality parameters of apple fruit by using visible/near-infrared spectroscopy and multivariate regression analysis. Sustainability, 14(22), 14918.
Jamshidi, B., Mohajerani, E., Jamshidi, J., Minaei, S., & Sharifi, A. (2015). Non-destructive detection of pesticide residues in cucumber using visible/near-infrared spectroscopy. Food Additives & Contaminants: Part A, 32(6), 857-863.
Johnson, J. B., El Orche, A., & Naiker, M. (2022). Prediction of anthocyanin content and variety in plum extracts using ATR-FTIR spectroscopy and chemometrics. Vibrational Spectroscopy, 121, 103406.
Latifi-Amoghin, M., Abbaspour-Gilandeh, Y., Tahmasebi, M., Kisalaei, A., Hernández-Hernández, J. L., Hernández-Hernández, M., & Cruz-Gámez, E. D. L. (2025). Analyzing the Nitrate Content in Various Bell Pepper Varieties Through Non-Destructive Methods Using Vis/NIR Spectroscopy Enhanced by Metaheuristic Algorithms. Processes, 13(6), 1731.
Latifi Amoghin, M., Abbaspour-Gilandeh, Y., Tahmasebi, M., Kaveh, M., El-Mesery, H. S., Szymanek, M., & Sprawka, M. (2024). VIS/NIR Spectroscopy as a Non-Destructive Method for Evaluation of Quality Parameters of Three Bell Pepper Varieties Based on Soft Computing Methods. Applied Sciences, 14(23), 10855.
Ma, T., Xia, Y., Inagaki, T., & Tsuchikawa, S. (2021). Rapid and nondestructive evaluation of soluble solids content (SSC) and firmness in apple using Vis–NIR spatially resolved spectroscopy. Postharvest Biology and Technology, 173, 111417.
Martínez‐Esplá, A., Zapata, P. J., Valero, D., Martínez‐Romero, D., Díaz‐Mula, H. M., & Serrano, M. (2018). Preharvest treatments with salicylates enhance nutrient and antioxidant compounds in plum at harvest and after storage. Journal of the Science of Food and Agriculture, 98(7), 2742-2750.
Masoudi-Sobhanzadeh, Y., Motieghader, H., & Masoudi-Nejad, A. (2019). FeatureSelect: a software for feature selection based on machine learning approaches. BMC bioinformatics, 20, 1-17.
Posom, J., Klaprachan, J., Rattanasopa, K., Sirisomboon, P., Saengprachatanarug, K., & Wongpichet, S. (2020). Predicting marian plum fruit quality without environmental condition impact by handheld visible–near-infrared spectroscopy. ACS omega, 5(43), 279.27921-09
Pratiwi, E. Z. D., Pahlawan, M. F., Rahmi, D. N., Amanah, H. Z., & Masithoh, R. E. (2023). Non-destructive evaluation of soluble solid content in fruits with various skin thicknesses using visible–shortwave near-infrared spectroscopy. Open Agriculture, 8(1), 20220183.
Rajkumar, D., Künnemeyer, R., Kaur, H., Longdell, J., & McGlone, A. (2022). Interactions of linearly polarized and unpolarized light on kiwifruit using aquaphotomics. Molecules, 27(2), 494.
Rasmussen, M., Krølner, R., Klepp, K.-I., Lytle, L., Brug, J., Bere, E., & Due, P. (2006). Determinants of fruit and vegetable consumption among children and adolescents: a review of the literature. Part I: quantitative studies. International journal of behavioral nutrition and physical activity, 3, 1-19.
Razavi, M. S., Sharabiani, V. R., Tahmasebi, M., Grassi, S., & Szymanek, M. (2025). Chemometric and meta-heuristic algorithms to find optimal wavelengths and predict ‘Red Delicious’ apples traits using Vis-NIR. Applied Food Research, 5(1), 100853.
Taghinezhad, E., Szumny, A., Figiel, A., Amoghin, M. L., Mirzazadeh, A., Blasco, J., Mazurek, S., & Castillo-Gironés, S. (2025). The Potential Application of HSI and VIS/NIR Spectroscopy for Non-Invasive Detection of Starch Gelatinization and Head Rice Yield during Parboiling and Drying Process. Journal of Food Composition and Analysis, 107443.
Weekley, C. W., Zaya, D. N., Menges, E. S., & Faivre, A. E. (2010). Multiple causes of seedling rarity in scrub plum, Prunus geniculata (Rosaceae), an endangered shrub of the Florida scrub. American journal of botany, 97(1), 144-155.
Xu, X., Mo, J., Xie, L., & Ying, Y. (2019). Influences of detection position and double detection regions on determining soluble solids content (SSC) for apples using on-line visible/near-infrared (Vis/NIR) spectroscopy. Food Analytical Methods, 12, 2078-2085.
Zhan, B., Li, P., Li, M., Luo, W., & Zhang, H. (2023). Detection of Soluble Solids Content (SSC) in Pears Using Near-Infrared Spectroscopy Combined with LASSO–GWF–PLS Model. Agriculture, 13(8), 1491.
Zheng, Y., Liu, P., Zheng, Y., & Xie, L. (2024). Improving SSC detection accuracy of cherry tomatoes by feature synergy and complementary spectral bands combination. Postharvest Biology and Technology, 213, 112922.