Quality assessment of letuce using image texture analysis

Authors

  • Phakhawat Hunchat Faculty of Engineering, Rajamangala University of Technology Lanna, Phitsanulok, 65000, Thailand
  • Witaya Prompuge Faculty of Science and Agricultural Technology, Rajamangala University of Technology Lanna, Phitsanulok, 65000, Thailand
  • Nathaphong Kaemthapthim Faculty of Engineering, Rajamangala University of Technology Lanna, Phitsanulok, 65000, Thailand
  • Nitikorn Leechai Faculty of Engineering, Rajamangala University of Technology Lanna, Phitsanulok, 65000, Thailand
  • Morakot Thongprom Faculty of Business Administration and Liberal Arts, Rajamangala University of Technology Lanna, Phitsanulok, 65000, Thailand
  • Bunyarit Wangngon Faculty of Engineering, Rajamangala University of Technology Lanna, Phitsanulok, 65000, Thailand
  • Suwan Aekram Faculty of Science and Agricultural Technology, Rajamangala University of Technology Lanna, Phitsanulok, 65000, Thailand

Keywords:

Image texture, GLCM, letuce quality change

Abstract

This research aims to develop an image processing method for monitoring and evaluating the quality changes in vegetables using image texture analysis, with lettuce as the sample. Thirty grams of lettuce were prepared by washing, trimming, and centrifuging in a salad spinner for 1 minute to remove excess water. The prepared lettuce samples were then packaged in LDPE bags and stored at different temperatures (4°C, 7°C, and 10°C, respectively). Images of the lettuce samples were captured every 24 hours for 8 days under D65 light at a resolution of 3024 × 4032 pixels. The images were saved in RGB format, converted to HSI color space, and the H (Hue angle) value was used to calculate image texture features using statistical calculation techniques, including Energy, Entropy, Correlation, and Homogeneity. The results of the study indicated that the Energy value could effectively monitor the rate of change in lettuce quality over time based on shelf life and storage temperature. The Energy value exhibited a significant decrease depending on the shelf life and storage temperature, with the decrease being statistically significant (P < 0.05) and proportional to the storage temperature. In contrast, Entropy, Correlation, and Homogeneity values were found to be ineffective for monitoring the rate of change in lettuce quality.

References

Aekram, S., Prompuge, W., Wongkhunkaew, P., Samosorn, B., Doncomephang, W., Treerat, N., & Kanjan, B. (2023). Determine the color change of fresh green lettuce by using reflectance reconstruction from RGB image. Food Agricultural Sciences and Technology, 9(3), 53–66.

Aekram, S., Prompuge, W., Wongkhunkaew, P., Samosorn, B., Doncomephang, W., Treerat, N., & Kanjanna, B. (2024). Image processing algorithm for area determination of irregularity quality in leafy green salad. Food Agricultural Sciences and Technology, 10(1), 29–41.

Ansari, M., & Singh, D. K. (2022). Significance of color spaces and their selection for image processing: A survey. Recent Advances in Computer Science and Communications, 15(7), 946–956. https://doi.org/10.2174/2666255814666210308152108

Arakeri, M. P., & Lakshmana. (2010). Automatic segmentation of liver tumor on computed tomography images. In Proceedings of the International Conference and Workshop on Emerging Trends in Technology (pp. 153–155). https://doi.org/10.1145/1741906.1741935

Azarmdel, H., Jahanbakhshi, A., Mohtasebi, S. S., & Muñoz, A. R. (2020). Evaluation of image processing technique as an expert system in mulberry fruit grading based on ripeness level using artificial neural networks (ANNs) and support vector machine (SVM). Postharvest Biology and Technology, 166, 111201. https://doi.org/10.1016/j.postharvbio.2020.111201

Baraldi, A., & Panniggiani, F. (1995). An investigation of the textural characteristics associated with gray level co-occurrence matrix statistical parameters. IEEE Transactions on Geoscience and Remote Sensing, 33(2), 293–304.

Han, L., Wang, S., Miao, Y., Shen, H., Guo, Y., Xie, L., & Song, Q. (2019). MRI texture analysis based on 3D tumor measurement reflects the IDH1 mutations in gliomas – A preliminary study. European Journal of Radiology, 112, 169–179. https://doi.org/10.1016/j.ejrad.2019.01.025

Kamiyama, M., & Taguchi, A. (2021). Color conversion formula with saturation correction from HSI color space to RGB color space. IEICE Transactions on Fundamentals of Electronics, Communications and Computer Sciences, E104-A(7), 1000–1005. https://doi.org/10.1587/transfun.2020EAL2087

Kays, S. J. (1999). Preharvest factors affecting appearance. Postharvest Biology and Technology, 15(3), 233–247. https://doi.org/10.1016/s0925-5214(98)00088-x

Khojastehnazhand, M., & Ramezani, H. (2020). Machine vision system for classification of bulk raisins using texture features. Journal of Food Engineering, 271, 109864. https://doi.org/10.1016/j.jfoodeng.2019.109864

León, K., Mery, D., Pedreschi, F., & León, J. (2006). Color measurement in L∗a∗b∗ units from RGB digital images. Food Research International, 39(10), 1084–1091. https://doi.org/10.1016/j.foodres.2006.03.006

Moallem, P., Serajoddin, A., & Pourghassem, H. (2017). Computer vision-based apple grading for golden delicious apples based on surface features. Information Processing in Agriculture, 4(1), 33–40. https://doi.org/10.1016/j.inpa.2016.10.003

Mutlag, W. K., Ali, S. K., Aydam, Z. M., & Taher, B. H. (2020). Feature extraction methods: A review. Journal of Physics: Conference Series, 1591, 012028. https://doi.org/10.1088/1742-6596/1591/1/012028

Oliveira, A. C. M., & Balaban, M. O. (2006). Comparison of a colorimeter with a machine vision system in measuring color of Gulf of Mexico sturgeon fillets. Applied Engineering in Agriculture, 22(4), 583–587. https://doi.org/10.13031/2013.21211

Wu, D., & Sun, D. W. (2013). Colour measurements by computer vision for food quality control – A review. Trends in Food Science & Technology, 29(1), 5–20. https://doi.org/10.1016/j.tifs.2012.08.004

Zhang, X., Cui, J., Wang, W., & Lin, C. (2017). A study for texture feature extraction of high-resolution satellite images based on a direction measure and gray level co-occurrence matrix fusion algorithm. Sensors, 17(7), 1474. https://doi.org/10.3390/s17071474

Downloads

Published

24-04-2025

How to Cite

Hunchat, P., Prompuge, W., Kaemthapthim, N., Leechai, N., Thongprom, M., Wangngon, B., & Aekram, S. (2025). Quality assessment of letuce using image texture analysis. Food Agricultural Sciences and Technology, 11(1), 45–53. retrieved from https://ph02.tci-thaijo.org/index.php/stej/article/view/254044