Image segmentation of agricultural products using statistical indicators

  • 1 Faculty of Mechanical Engineering, Belgrade, Serbia


Machine inspection is a mandatory technological process in industrial processing agriculture products. The camera detects color and shape based irregularities of the object resulting in a large number of parameters for decision-making and sorting product compliance. The goal was to discover a new criterion for decision-making using only the output signal of the RGB camera. Research employed the digital images of raspberries, blackberries, peas and yellow beans during real processing, obtained from a color sorter machine. The visual texture of the surface of the agricultural products was described via defined statistical indicators of color (color average value (Avg), standard deviation (Stdv), entropy (E), and lacunarity (L) was used from the sphere of image fractal analysis as one of the criteria. By applying the non-parametric tests: Wilcoxon signed rank and Friedman test, statistically significant difference was established for the L and Е criteria between compliant and non-compliant industrial products.



  1. A.S.M. Shafi, M.M. Rahman Recognition and Classification of Fruit Diseases Based on the Decomposition of Color Wavelet and Higher-Order Statistical Texture Features. In: Uddin M., Bansal J. (eds) Proceedings of International Joint Conference on Computational Intelligence. IJCCI 2019. Alg. for Int. Sys. Springer, Singapore. (2020)
  2. M. Khojastehnazhand, H. Ramezani. Machine vision system for classification of bulk raisins using texture features, J. of Food Eng. 271 (2020)
  3. M. Teena, A. Manickavasagan, A. Mothershaw, S. El Hadi, D. S. Jayas, Potential of machine vision techniques for detecting fecal and microbial contamination of food products: A review, Food and Biop. Tec. 6 (2013)
  4. D. Markovic, N. Mladenovic, V. Simonovic, I. Markovic, S. Stevanovic. Fruit flow calculation on the rotating sizing machines. Tec. Gaz. 21 (2014)
  5. S. Khoje. Appearance and characterization of fruit image textures for quality sorting using wavelet transform and genetic algorithms, J. of Tex. St., 49 (2017)
  6. S. Shella, S. Meghashree, I. Monica, A. Prathima, K. Shriya. Automation for sorting of objects using raspberry pi3, Int. J.of Adv. in Elec. and Com. Sci., Special Issue. (2016)
  7. R. Valadez-Blanco, A.I.S. Virdi, S.T. Balke, L.L. Diosady. In-line colour monitoring during food extrusion: sensitivity and correlation with product colour. Food Res. Int., 40 (2007)
  8. R. Banerjee, B. Tudu, R. Bandyopadhyay. A review on combined odor and taste sensor systems. J. of Food Eng., 190 (2016)
  9. B. Zhang, W. Huang, J. Li, C. Zhao, S. Fan, J. Wu, C. Liu. Principles, developments and applications of computer vision for external quality inspection of fruits and vegetables: A review. Food Res. Int., 62 (2014)
  10. S.R. Dubey, A.S. Jalal. Apple disease classification using color, texture and shape features from images. SIViP 10 (2016)
  11. D. Singla, A. Singh, R. Gupta. Texture Analysis of Fruits for Its Deteriorated Classification. In: Woungang I., Dhurandher S. (eds) International Conference on Wireless, Intelligent, and Distributed Environment for Communication. WIDECOM 2018. Lecture Notes on Data Eng. and Comm. Techn.. 18. Springer, Cham. (2018)
  12. R. Quevedo, L.G. Carlos, J.M. Aguilera, L. Cadoche. Description of food surfaces and microstructural changes using fractal image texture analysis, J. of Food Eng. 53 (2002)
  13. I. Markovic, D. Markovic, J. Ilic, V. Simonovic, E. Veg, G. Šiniković, N. Gubeljak. Application of Statistical Indicators for Digital Image Analysis and Segmentation in Sorting of Agriculture Products, Tech. Gaz, 25 (2018)
  14. V. Kumar, P. Gupta. Importance of Statistical Measures in Digital Image Processing, Int. J. of Em. Tech. and Adv. Eng. 2 (2012)
  15. A. Girolami, F. Napolitano, D. Faraone, A. Braghieri. Measurement of meat color using a computer vision system, Meat Sci., 93 (2013)
  16. J. Steinbrener, K. Posch, R. Leitner. Hyperspectral fruit and vegetable classification using convolutional neural networks. Com. and El. in Agr. 169 (2019)
  17. B.B. Mandelbrot. The Fractal Geometry of Nature. W.H. Freeman, New York, (1987)
  18. S. Arivazhagan, S. Newlin, S. Nidhyanandhan, L. Ganesan. Fruit Recognition using Color and Texture Features. J. of Em. Tr. in Com. and Inf. Sci., 1 (2010)
  19. F. Mendoza, P. Dejmek, J. Aguilera. Colour and image texture analysis in classification of commercial potato chips, Food Res. Int. 40 (2007)

Article full text

Download PDF