Submitted:
17 September 2025
Posted:
19 September 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
- Gamma rays from Cobalt-60 or Cesium-137 sources.
- X-rays generated from machines operating at or below an energy level of 5 million electron volts (MeV).
- Electron beams generated from machines operating at or below an energy level of 10 million electron volts (MeV).
2. Methodology
2.1. Nam Dok Mai Si Thong Mango
2.2. Irradiation in Mango Export Processing
2.3. Computer Vision
- Noise Reduction (Gaussian Filtering); To reduce noise that may generate false edges before edge detection, Gaussian smoothing was applied:
-
Gradient Calculation (Edge Strength and Direction); To compute the edge strength by calculating gradients along the x and y axes using the Sobel operator:Then, the magnitude and orientation of the gradient were determined as:
- Non-Maximum Suppression; Retaining only the gradient values at each pixel that are local maxima along the direction perpendicular to the edge, thereby producing thin and sharp edges.
- Hysteresis Thresholding. A process that makes Canny more stable than simple thresholding by applying two thresholds and to decide whether a pixel is an edge or not. This ensures that the detected edges remain continuous while reducing false edges caused by noise:
2.4. Linear Regression
| y | is the dependent variable or predicted value |
| is independent variables where | |
| is intercept | |
| is regression coefficients of each independent variable |
2.5. Artificial Neural Network
2.6. Gaussian Process Regression and Co-Kriging
- Low-Fidelity (LF): Approximate data, including width and length extracted from 290 mango images, and depth estimated via Linear Regression.
- High-Fidelity (HF): Ground-truth physical measurements from 84 mangoes.
2.7. Evaluation Metrics
3. Experimental Setup and Data Acquisition
4. Results and Discussion
4.1. Measurement of Nam Dok Mai Si Thong Mango Dimensions
4.2. Size-Based Sorting of Nam Dok Mai Si Thong Mangoes
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| ANN | Artificial Neural Network |
| CoK | Co-Kriging |
| GPR | Gaussian Process Regression |
| HF | High Fidelity |
| LF | Low Fidelity |
| LR | Linear Regression |
References
- Dissayasakda, N. Thai Mango Guide, 2023. Accessed: 2025-09-12.
- Chomchalow, N.; Na Songkhla, P. Thai Mango Export: A Slow-but-Sustainable Development. AU Journal of Technology 2008, 12, 1–8. [Google Scholar]
- Kitagawa, H. The Potential of Thai Fruits and Vegetables in the Japanese Market. Kasetsart Journal of Social Sciences 1991, 12, 59–67. [Google Scholar]
- Tangpao, T.; Phuangsaujai, N.; Kittiwachana, S.; George, D.R.; Krutmuang, P.; Chuttong, B.; Sommano, S.R. Evaluation of Markers Associated with Physiological and Biochemical Traits during Storage of ‘Nam Dok Mai Si Thong’ Mango Fruits. Agriculture 2022, 12. [Google Scholar] [CrossRef]
- Ministry of Public Health. Notification of the Ministry of Public Health (No. 297) B.E. 2549 (2006): Re: Irradiated Food. Royal Thai Government Gazette, Vol. 123, Special Part 118 Ngor, pp. 23–26, 2006. Copy published in the Government Gazette, General edition no. 127, Special section 121 Ngor, 18th October 2010. Accessed: 2025-09-12.
- Codex Alimentarius Commission. General Standard for Irradiated Foods (CODEX STAN 106-1983, Rev. 1-2003), 2003.
- U.S. Food and Drug Administration. CFR – Code of Federal Regulations Title 21, Part 179: Irradiation in the Production, Processing, and Handling of Food. Federal Register, Docket No. FDA-1999-F-2405 (formerly 1999F-5522), 2014. Current revision. Final rule published February 25, 2014.
- Chunjarean, S.; Manasatitpong, K.; Yachum, N.; Phacheerak, W.; Kokkrathoke, S.; Pongampai, S.; Kulthanasomboon, P.; Jummunt, S.; Klinkhieo, S. Development of a 6 MeV electron beam energy Linac for fruit sterilization. Journal of Physics: Conference Series 2023, 2431, 012071. [Google Scholar] [CrossRef]
- Kokkrathoke, S.; Yachum, N.; Chunjarean, S.; Manasatitpong, K. Synchronisation of linear accelerator for fruit irradiation with FPGA-based system. Journal of Physics: Conference Series 2023, 2653, 012028. [Google Scholar] [CrossRef]
- Alanazi, S.F. Evaluating the effect of X ray irradiation in the control of food bacterial pathogens. Journal of King Saud University - Science 2023, 35, 102367. [Google Scholar] [CrossRef]
- Yoon, Y.S.; Ameer, K.; Song, B.S.; Kim, J.K.; Park, H.Y.; Lee, K.C.; Eun, J.B.; Park, J.H. Effects of X-ray irradiation on the postharvest quality characteristics of ‘Maehyang’ strawberry (Fragaria × ananassa). Food Chemistry 2020, 325, 126817. [Google Scholar] [CrossRef] [PubMed]
- Utai, K.; Nagle, M.; Hämmerle, S.; Spreer, W.; Mahayothee, B.; Müller, J. Mass estimation of mango fruits (Mangifera indica L., cv. ‘Nam Dokmai’) by linking image processing and artificial neural network. Engineering in Agriculture, Environment and Food 2019, 12, 103–110. [Google Scholar] [CrossRef]
- SPACEBAR. Thai People vs. Mango Sticky Rice: When Did This Deliciousness Begin? Original article in Thai; English title provided by translator.
- Thai Agricultural Standard: Mango (TAS 5-2015), 2015. Royal Thai Government Gazette, Volume 132, Section 179.
- Penchaiya, P.; Tijskens, P. Assessing the peel colour behaviour of mango ‘Nam Dok Mai See Thong’ during cool storage. Acta Horticulturae 2017, pp. 207–212. https://doi.org/10.17660/ActaHortic.2017.1154.27. [CrossRef]
- Jitvisate, M.; Apiwattanakul, P.; Kangrang, N.; Saisut, J.; Thongbai, C.; Rimjaem, S. Compact RF linear accelerator for electron beam irradiation applications at PBP-CMU Electron Linac Laboratory. Nuclear Science and Techniques 2025, 36. [Google Scholar] [CrossRef]
- Princess Maha Chakri Sirindhorn The information Technology Foundation, U.T.I.o.H.R.H. Newsletter, Vol. 1/2023. https://www.princess-it.org/wp-content/uploads/2024/04/20230331_PSIT_NewsLetter2023_Q1-CT-M-2-Final.pdf, 2023. ISSN 2287-0156.
- Sultana, T.; Maraz, K.M.; Ahmed, A.; Shultana, S.; Khan, R. Effect of Irradiation process on mango. GSC Advanced Research and Reviews 2021, 9, 108–118. [Google Scholar] [CrossRef]
- Kim, J.; Moreira, R.G.; Castell-Perez, M.E. Improving phytosanitary irradiation treatment of mangoes using Monte Carlo simulation. Journal of Food Engineering 2015, 149, 137–143. [Google Scholar] [CrossRef]
- Gonzalez, R.C.; Woods, R.E. Digital Image Processing, 4th ed.; Pearson, 2018.
- Pratt, W.K. Digital Image Processing: PIKS Scientific Inside, 4th ed.; Wiley-Interscience, 2007.
- Thong, N.D.; Thinh, N.T.; Cong, H.T. Mango Classification System Uses Image Processing Technology and Artificial Intelligence. In Proceedings of the 2019 International Conference on System Science and Engineering (ICSSE), 2019, pp. 45–52. [CrossRef]
- Tai, N.D.; Lin, W.C.; Trieu, N.M.; Thinh, N.T. Development of a Mango-Grading and -Sorting System Based on External Features, Using Machine Learning Algorithms. Agronomy 2024, 14. [Google Scholar] [CrossRef]
- Montgomery, D.C.; Peck, E.A.; Vining, G.G. Introduction to Linear Regression Analysis, 5th ed.; Wiley, 2012.
- Akiba, T.; Sano, S.; Yanase, T.; Ohta, T.; Koyama, M. Optuna: A Next-generation Hyperparameter Optimization Framework 2019. pp. 2019, 2623–2631. [Google Scholar] [CrossRef]
- De Caro, D.; Ippolito, M.; Cannarozzo, M.; Provenzano, G.; Ciraolo, G. Assessing the performance of the Gaussian Process Regression algorithm to fill gaps in the time-series of daily actual evapotranspiration of different crops in temperate and continental zones using ground and remotely sensed data. Agricultural Water Management 2023, 290, 108596. [Google Scholar] [CrossRef]
- Suphawan, K.; Kardkasem, R.; Chaisee, K. A Gaussian Process Regression Model for Forecasting Stock Exchange of Thailand. Trends in Sciences 2022, 19, 3045. [Google Scholar] [CrossRef]
- Wu, J.; Xu, R.; Huang, R.; Hong, X. Data-Efficient Training of Gaussian Process Regression Models for Indoor Visible Light Positioning. Sensors 2024, 24. [Google Scholar] [CrossRef] [PubMed]
- Song, Z.; Liu, Z.; Zhang, H.; Zhu, P. An improved sufficient dimension reduction-based Kriging modeling method for high-dimensional evaluation-expensive problems. Computer Methods in Applied Mechanics and Engineering 2024, 418, 116544. [Google Scholar] [CrossRef]
- Kennedy, M.C.; O’Hagan, A. Predicting the Output from a Complex Computer Code When Fast Approximations Are Available. Biometrika 2000, 87, 1–13. [Google Scholar] [CrossRef]
- Zhang, B.; Feng, P.; Sun, Z.; Cheng, X.; Zeng, L.; Fan, C. Efficient sampling method based on co-kriging for free-form surface measurement. Precision Engineering 2023, 84, 136–147. [Google Scholar] [CrossRef]
- Chen, X.; Xue, J.; Chen, X.; Zhao, X.; Ali, S.; Huang, G. Gaussian process regression for prediction and confidence analysis of fruit traits by near-infrared spectroscopy. Food Quality and Safety 2022, 7, fyac068. [Google Scholar] [CrossRef]












| Size of Mango | Weight (g) |
|---|---|
| 2S | 225-249 |
| S | 250-279 |
| M | 280-329 |
| L | 330-379 |
| 2L | 380-449 |
| 3L | More than 450 |
| Size | Number of mango fruits |
Range (Min-Max) | |||
|---|---|---|---|---|---|
| Width (cm) | Height (cm) | Depth (cm) | Weight (g) | ||
| 1L | 31 | 7.08-7.90 | 13.50-15.63 | 6.15-7.06 | 330-379 |
| 2L | 29 | 7.39-8.45 | 14.64-17.20 | 6.30-7.26 | 380-445 |
| 3L | 24 | 7.87-9.34 | 15.26-17.90 | 6.85-8.34 | 452-650 |
| Evaluation Metrics |
Width (cm) | Height (cm) | ||||||
|---|---|---|---|---|---|---|---|---|
| ]2*Train | Test | ]2*Train | Test | |||||
| Set 1 | Set 2 | Set 3 | Set 1 | Set 2 | Set 3 | |||
| MAPE (%) | 2.622 | 2.328 | 2.439 | 2.543 | 1.797 | 2.058 | 1.271 | 1.604 |
| RSME (cm) | 0.247 | 0.234 | 0.234 | 0.266 | 0.367 | 0.371 | 0.324 | 0.427 |
| MAE (cm) | 0.206 | 0.186 | 0.193 | 0.198 | 0.280 | 0.319 | 0.205 | 0.255 |
| Evaluation Metrics |
Test | Test | ||||
|---|---|---|---|---|---|---|
| Set 1 | Set 2 | Set 3 | Set 1 | Set 2 | Set 3 | |
| MAPE (%) | 2.384 | 3.552 | 1.528 | 2.530 | 2.850 | 4.760 |
| RSME (cm) | 0.206 | 0.289 | 0.132 | 0.223 | 0.226 | 0.385 |
| MAE (cm) | 0.163 | 0.241 | 0.106 | 0.173 | 0.194 | 0.329 |
| Evaluation Metrics |
Train | Test () | Test () | ||||
|---|---|---|---|---|---|---|---|
| Set 1 | Set 2 | Set 3 | Set 1 | Set 2 | Set 3 | ||
| MAPE (%) | 1.864 | 4.010 | 5.250 | 4.750 | 3.990 | 4.400 | 4.690 |
| RSME (g) | 7.671 | 21.914 | 29.662 | 29.484 | 22.252 | 25.055 | 28.680 |
| MAE (g) | 10.350 | 17.624 | 23.160 | 21.599 | 17.488 | 19.643 | 21.270 |
| Test | ANN | ANN+Optuna | GPR | |||
|---|---|---|---|---|---|---|
| Set 1 | 86.67 | 93.33 | 80.00 | 80.00 | 73.00 | 93.33 |
| Set 2 | 80.00 | 86.67 | 86.67 | 80.00 | 86.67 | 93.33 |
| Set 3 | 86.67 | 93.33 | 86.67 | 93.33 | 86.67 | 93.33 |
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. |
© 2025 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 (http://creativecommons.org/licenses/by/4.0/).