journal article·2025-09-26Open access

Non-Destructive Classification of Sweetness and Firmness in Oranges Using ANFIS and a Novel CCI–GLCM Image Descriptor

David Granados-Lieberman, Alejandro Israel Barranco-Gutiérrez, Adolfo R. Lopez, Horacio Rostro-Gonzalez, Miroslava Cano-Lara, Carlos Gustavo Manriquez-Padilla, Marcos J. Villaseñor-Aguilar

Applied Sciences· Volume 15· Issue 19

Abstract

This study introduces a non-destructive computer vision method for estimating postharvest quality parameters of oranges, including maturity index, soluble solid content (expressed in degrees Brix), and firmness. A novel image-based descriptor, termed Citrus Color Index—Gray Level Co-occurrence Matrix Texture Features (CCI–GLCM-TF), was developed by integrating the Citrus Color Index (CCI) with texture features derived from the Gray Level Co-occurrence Matrix (GLCM). By combining contrast, correlation, energy, and homogeneity across multiscale regions of interest and applying geometric calibration to correct image acquisition distortions, the descriptor effectively captures both chromatic and structural information from RGB images. These features served as input to an Adaptive Neuro-Fuzzy Inference System (ANFIS), selected for its ability to model nonlinear relationships and gradual transitions in citrus ripening. The proposed ANFIS models achieved R-squared values greater than or equal to 0.81 and root mean square error values less than or equal to 1.1 across all quality parameters, confirming their predictive robustness. Notably, representative models (ANFIS 2, 4, 6, and 8) demonstrated superior performance, supporting the extension of this approach to full-surface exploration of citrus fruits. The results outperform methods relying solely on color features, underscoring the importance of combining spectral and textural descriptors. This work highlights the potential of the CCI–GLCM-TF descriptor, in conjunction with ANFIS, for accurate, real-time, and non-invasive assessment of citrus quality, with practical implications for automated classification, postharvest process optimization, and cost reduction in the citrus industry.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Spectroscopy and Chemometric Analyses · Advanced Chemical Sensor Technologies · Biochemical Analysis and Sensing Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

ENAP-Research Group, Departamento de Ingeniería Electromecánica, Tecnológico Nacional de México, ITS Irapuato (ITESI), Carr. Irapuato-Silao km 12.5, El Copal, Irapuato 36821, Mexico

Department of Electrical and Electronic Engineering, National Technological Institute of Mexico, Celaya 38010, Mexico

Department of Electronics Engineering, TecNM/ITS Irapuato, Irapuato 36821, Mexico

GEPI, IQS–School of Engineering, Universitat Ramon Llull, 08017 Barcelona, Spain

Department of Electronics, University of Guanajuato, Salamanca 36885, Mexico

Department of Mechatronics Engineering, TecNM/ITS Irapuato, Irapuato 36821, Mexico

Engineering Faculty, Campus San Juan del Rio, Autonomous University of Queretaro, Av. Rio Moctezuma 249, San Juan del Rio 76807, Mexico

Funding

Tecnológico Nacional de México · Secretaría de Educación, Ciencia, Tecnología e Innovación · rograma para el Desarrollo Profesional Docente

References (67)

Show source-provided references
1. Machine vision technology for agricultural applications10.1016/S0168-1699(02)00100-X ↗
2. Inspection and grading of agricultural and food products by computer vision systems—A review10.1016/S0168-1699(02)00101-1 ↗
3. Color, flavor, texture, and nutritional quality of fresh-cut fruits and vegetables: Desirable levels, instrumental and sensory measurement, and the effects of processing10.1080/10408391003626322 ↗
4. Potential of Multispectral Imaging Combined with Chemometric Methods for Rapid Detection of Sucrose Adulteration in Tomato Paste10.1016/j.jfoodeng.2017.07.026 ↗
5. Recent application of imaging techniques for fruit quality assessment10.1016/j.tifs.2019.10.004 ↗
6. Emerging approaches to determine maturity of citrus fruit10.1080/10408398.2021.1883547 ↗
7. Sensors for product characterization and quality of specialty crops—A review10.1016/j.compag.2010.07.002 ↗
8. Olaniran, A.F., Adeyanju, A.A., Olaniran, O.D., Erinle, C.O., Okonkwo, C.E., and Taiwo, A.E. (2024). Improvement of food aroma and sensory attributes of processed food products using essential oils/boosting up the organoleptic properties and nutritive of different food products. Applications of Essential Oils in the Food Industry, Elsevier.10.1016/B978-0-323-98340-2.00006-7 ↗
9. Ali, M.M., Anwar, R., Yousef, A.F., Li, B., Luvisi, A., De Bellis, L., Aprile, A., and Chen, F. (2021). Influence of Bagging on the Development and Quality of Fruits. Plants, 10.10.3390/plants10020358 ↗
10. Valero, D., and Serrano, M. (2010). Postharvest Biology and Technology for Preserving Fruit Quality, CRC Press.10.1201/9781439802670 ↗
11. Pereira, C., Martín, A., López-Corrales, M., Córdoba, M.d.G., Galván, A.I., and Serradilla, M.J. (2020). Evaluation of the physicochemical and sensory characteristics of different fig cultivars for the fresh fruit market. Foods, 9.10.3390/foods9050619 ↗
12. Fruit ripening phenomena—An overview10.1080/10408390600976841 ↗
13. Olagunju, A.I., and Sandewa, O.E. (2018). Comparative physicochemical properties and antioxidant activity of dietary soursop milkshake. Beverages, 4.10.3390/beverages4020038 ↗
14. Ruby-Figueroa, R., Nardi, M., Sindona, G., Conidi, C., and Cassano, A. (2019). A multivariate statistical analyses of membrane performance in the clarification of citrus press liquor. ChemEngineering, 3.10.3390/chemengineering3010010 ↗
15. Donno, D., Mellano, M.G., Hassani, S., De Biaggi, M., Riondato, I., Gamba, G., Giacoma, C., and Beccaro, G.L. (2018). Assessing nutritional traits and phytochemical composition of artisan jams produced in comoros islands: Using indigenous fruits with high health-impact as an example of biodiversity integration and food security in rural development. Molecules, 23.10.3390/molecules23102707 ↗
16. Fathy, H.M., Abd El-Maksoud, A.A., Cheng, W., and Elshaghabee, F.M. (2022). Value-added utilization of citrus peels in improving functional properties and probiotic viability of Acidophilus-bifidus-thermophilus (ABT)-type synbiotic yoghurt during cold storage. Foods, 11.10.3390/foods11172677 ↗
17. García-Martínez, E., Camacho, M.d.M., and Martínez-Navarrete, N. (2023). In vitro bioaccessibility of bioactive compounds of freeze-dried orange juice co-product formulated with gum Arabic and modified starch. Molecules, 28.10.3390/molecules28020810 ↗
18. Food and Agriculture Organization of the United Nations (2024, September 06). FAOSTAT. Available online: https://www.fao.org/faostat/en/#home.
19. Methods to analyze physico-chemical changes during mango ripening: A multivariate approach10.1016/j.postharvbio.2011.06.002 ↗
20. HPLC-DAD phenolic characterization and antioxidant activities of ripe and unripe sweet orange peels10.3390/antiox4030498 ↗
21. A three-variety automatic and non-intrusive computer vision system for the estimation of orange fruit pH value10.1016/j.measurement.2019.107298 ↗
22. Meléndez-Martínez, A.J., Benítez, A., Corell, M., Hernanz, D., Mapelli-Brahm, P., Stinco, C., and Coyago-Cruz, E. (2021). Screening for innovative sources of carotenoids and phenolic antioxidants among flowers. Foods, 10.10.3390/foods10112625 ↗
23. Sustainable solvents in chemical synthesis: A review10.1007/s10311-020-01176-6 ↗
24. Jaywant, S.A., Singh, H., and Arif, K.M. (2022). Sensors and instruments for brix measurement: A review. Sensors, 22.10.3390/s22062290 ↗
25. Non-destructive determination of soluble solids content using a multi-region combination model in hybrid citrus10.1016/j.infrared.2019.103138 ↗
26. A comprehensive review on deep learning assisted computer vision techniques for smart greenhouse agriculture10.1109/ACCESS.2024.3349418 ↗
27. Automatic detection of skin defects in citrus fruits using a multivariate image analysis approach10.1016/j.compag.2010.02.001 ↗
28. Colour measurements by computer vision for food quality control—A review10.1016/j.tifs.2012.08.004 ↗
29. A simple and nondestructive approach for the analysis of soluble solid content in citrus by using portable visible to near-infrared spectroscopy10.1002/fsn3.1550 ↗
30. Non-destructive and contactless quality evaluation of table grapes by a computer vision system10.1016/j.compag.2018.12.019 ↗
31. Automated systems based on machine vision for inspecting citrus fruits from the field to postharvest—A review10.1007/s11947-016-1767-1 ↗
32. A machine vision-based maturity prediction system for sorting of harvested mangoes10.1109/TIM.2014.2299527 ↗
33. Alfatni, M.S.M., Khairunniza-Bejo, S., Marhaban, M.H.B., Saaed, O.M.B., Mustapha, A., and Shariff, A.R.M. (2022). Towards a real-time oil palm fruit maturity system using supervised classifiers based on feature analysis. Agriculture, 12.10.3390/agriculture12091461 ↗
34. Saragih, R.E., and Emanuel, A.W. (2021, January 9–11). Banana ripeness classification based on deep learning using convolutional neural network. Proceedings of the 2021 3rd East Indonesia Conference on Computer and Information Technology (EIConCIT), Surabaya, Indonesia.10.1109/EIConCIT50028.2021.9431928 ↗
35. Sajjan, M., Kulkarni, L., Anami, B., and Gaddagimath, N. (2016, January 14–17). A comparative analysis of color features for classification of bulk chilli. Proceedings of the 2016 2nd International conference on contemporary computing and informatics (IC3I), Greater Noida, India.10.1109/IC3I.2016.7918002 ↗
36. Villaseñor-Aguilar, M.J., Bravo-Sánchez, M.G., Padilla-Medina, J.A., Vázquez-Vera, J.L., Guevara-González, R.G., García-Rodríguez, F.J., and Barranco-Gutiérrez, A.I. (2020). A maturity estimation of bell pepper (Capsicum annuum L.) by artificial vision system for quality control. Appl. Sci., 10.10.3390/app10155097 ↗
37. Pardede, J., Husada, M.G., Hermana, A.N., and Rumapea, S.A. (2019, January 28–29). Fruit ripeness based on RGB, HSV, HSL, L* a* b* color feature using SVM. Proceedings of the 2019 International Conference of Computer Science and Information Technology (ICoSNIKOM), Medan, Indonesia.10.1109/ICoSNIKOM48755.2019.9111486 ↗
38. De-la Torre, M., Zatarain, O., Avila-George, H., Muñoz, M., Oblitas, J., Lozada, R., Mejía, J., and Castro, W. (2019). Multivariate analysis and machine learning for ripeness classification of cape gooseberry fruits. Processes, 7.10.3390/pr7120928 ↗
39. A research note off on a tangent10.1111/j.1365-2621.1975.tb02213.x ↗
40. Jiménez-Cuesta, M., Cuquerella, J., and Martínez-Jávega, J. (1983, January 9–12). Determination of a color index for citrus fruit degreening. Proceedings of the International Society of Citriculture, Tokyo, Japan.
41. Proposal of an index for the objective evaluation of the colour of red table grapes10.1016/0963-9969(95)00008-A ↗
42. Nondestructive methods to evaluate maturity level of oranges10.1111/j.1365-2621.2000.tb16008.x ↗
43. Key determinants of citrus fruit quality: Metabolites and main changes during maturation10.1016/j.scienta.2018.01.055 ↗
44. Changes of peel color and fruit quality in navel orange fruits under different storage methods10.1016/j.scienta.2019.05.049 ↗
45. Advancement in Measurement and AI-Driven Predictions of Maturity Indices in Kinnow (Citrus nobilis x Citrus deliciosa): A Comprehensive Review10.1016/j.foodp.2024.100026 ↗
46. Single image haze removal using dark channel prior
47. Park, D., Park, H., Han, D.K., and Ko, H. (2014, January 27–30). Single image dehazing with image entropy and information fidelity. Proceedings of the 2014 IEEE International Conference on Image Processing (ICIP), Paris, France.10.1109/ICIP.2014.7025820 ↗
48. Generative adversarial and self-supervised dehazing network10.1109/TII.2023.3316180 ↗
49. VNDHR: Variational single nighttime image Dehazing for enhancing visibility in intelligent transportation systems via hybrid regularization10.1109/TITS.2025.3550267 ↗
50. Discrimination of vegetation height categories with passive satellite sensor imagery using texture analysis10.1109/JSTARS.2015.2409131 ↗
51. Texture feature extraction methods: A survey10.1109/ACCESS.2018.2890743 ↗
52. Bakar, M.A.A., Zulkifli, Z., Mohamad, M., and Ahmad, S. (2024, January 3–4). GLCM-Based Feature Extraction and CNN Approach for Fruit Freshness Detection. Proceedings of the 2024 5th International Conference on Artificial Intelligence and Data Sciences (AiDAS), Bangkok, Thailand.
53. Mandarin orange (Citrus reticulata Blanco cv. Batu 55) ripeness parameters prediction using combined reflectance-fluorescence images and deep convolutional neural network (DCNN) regression model10.1016/j.scienta.2024.113089 ↗
54. Patel, H., Prajapati, R., and Patel, M. (2019, January 23–25). Detection of quality in orange fruit image using SVM classifier. Proceedings of the 2019 3rd International Conference on Trends in Electronics and Informatics (ICOEI), Tirunelveli, India.10.1109/ICOEI.2019.8862758 ↗
55. Carolina, C.P.D., and David, N.T.D. (2014, January 22–24). Classification of oranges by maturity, using image processing techniques. Proceedings of the 2014 III International Congress of Engineering Mechatronics and Automation (CIIMA), Cartagena, Colombia.
56. A novel approach for ANFIS modelling based on full factorial design10.1016/j.asoc.2007.03.010 ↗
57. Arkhipov, M., Krueger, E., and Kurtener, D. (July, January 30). Evaluation of ecological conditions using bioindicators: Application of fuzzy modeling. Proceedings of the International Conference on Computational Science and Its Applications, Perugia, Italy.
58. Neuro-fuzzy and genetic algorithm in multiple response optimization10.1016/S0898-1221(02)00274-2 ↗
59. An efficient ANFIS based pre-harvest ripeness estimation technique for fruits10.1007/s11042-021-10741-2 ↗
60. Villaseñor-Aguilar, M.J., Cano-Lara, M., Lopez, A.R., Rostro-Gonzalez, H., Padilla-Medina, J.A., and Barranco-Gutiérrez, A.I. (2024). Fuzzy Classification of the Maturity of the Orange (Citrus× sinensis) Using the Citrus Color Index (CCI). Appl. Sci., 14.10.3390/app14135953 ↗
61. Classification of cape gooseberry fruit according to its level of ripeness using machine learning techniques and different color spaces10.1109/ACCESS.2019.2898223 ↗
62. Tri-state median filter for image denoising10.1109/83.806630 ↗
63. Weighted median guided filtering method for single image rain removal10.1186/s13640-018-0275-9 ↗
64. Ding, X., Zhang, X., Han, J., and Ding, G. (2022, January 18–24). Scaling up your kernels to 31 × 31: Revisiting large kernel design in cnns. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA.10.1109/CVPR52688.2022.01166 ↗
65. Chansong, D., and Supratid, S. (2021, January 10–12). Impacts of kernel size on different resized images in object recognition based on convolutional neural network. Proceedings of the 2021 9th International Electrical Engineering Congress (iEECON), Pattaya, Thailand.10.1109/iEECON51072.2021.9440284 ↗
66. Tho, T.P., and Thinh, N.T. (2017, January 21–23). Using ANFIS to predict picking position of the fruits sorting system. Proceedings of the 2017 International Conference on System Science and Engineering (ICSSE), Ho Chi Minh City, Vietnam.
67. An adaptive neural-fuzzy inference system (ANFIS) for detection of bruises on Chinese bayberry (Myrica rubra) based on fractal dimension and RGB intensity color10.1016/j.jfoodeng.2011.01.031 ↗