Detection of egg stains based on local texture feature clustering

Qinghua Yang, Mimi Jia, Yi Xun, Guanjun Bao

Abstract


The quality of egg is mainly influenced by the dirt adhering to its shell. Even with good farm-management practices and careful handling, a small percentage of dirty eggs will be produced. The purpose of this research was to detect the egg stains by using image processing technique. Compared to the color values, the local texture was found to be much more adept at accurately segmenting of the complex and miscellaneous dirt stains on the egg shell. Firstly, the global threshold of the image was obtained by two-peak method. The irrelevant background was removed by using the global threshold and the interested region was acquired. The local texture information extracted from the interested region was taken as the input of fuzzy C-means clustering for segmentation of the dirt stains. According to the principle of projection, the area of dirt stains on the curved egg surface was accurately calculated. The validation experimental results showed that the proposed method for classifying eggs in terms of stain has the specificity of 91.4% for white eggs and 89.5% for brown eggs.
Keywords: eggs, eggshell dirt stains, computer vision, local texture feature, FCM, egg classifying
DOI: 10.25165/j.ijabe.20181101.2592

Citation: Yang Q H, Jia M M, Xun Y, Bao G J. Detection of egg stains based on local texture feature clustering. Int J Agric & Biol Eng, 2018; 11(1): 199–205.

Keywords


eggs, eggshell dirt stains, computer vision, local texture feature, FCM, egg classifying

Full Text:

PDF

References


Soltani M, Omid M, Alimardani R. Egg volume prediction using machine vision technique based on pappus theorem and artificial neural network. Journal of Food Science and Technology, 2015; 52(5): 3065–3071.

Zhang W, Wu X, Qiu Z, He Y. A novel method for measuring the volume and surface area of egg. Journal of Food Engineering, 2015; 170: 160–169.

Zhu Z H, Liu T, Xie D J, Wang Q H, Ma M H. Nondestructive detection of infertile hatching eggs based on spectral and imaging information. Int J Agric & Biol Eng, 2015; 8(4): 69–76.

Ketelaere B D, Coucke P, Baerdemaeker J D. Eggshell crack detection based on acoustic resonance frequency analysis. Journal of Agricultural Engineering Research, 2000; 76(2): 157–163.

Cheng J, Xie L, Ying Y. Eggshell crack detection based on the time-domain acoustic signal of rolling eggs on a step-plate. Journal of Food Engineering, 2015; 153(1): 53–62.

Chen M, Zhang L, Xu H. On-line detection of blood spot introduced into brown-shell eggs using visible absorbance spectroscopy. Biosystems Engineering, 2015; 131: 95–101.

Detector: Abnormal Egg Detector. Available: https://www.nabel.co.jp/ english/product/abd.html. Accessed on [2016/5/10]. (in Chinese)

Dehrouyeh M H, Omid M, Ahmadi H, Mohtasebi S S, Jamzad M. Grading and quality inspection of defected eggs using machine vision. International Journal of Advanced Science & Technology, 2010; 16: 23–30.

Mor-Mur M, Yuste J. Emerging bacterial pathogens in meat and poultry: An overview. Food and Bioprocess Technology, 2010; 3(1): 24.

Wesley I V, Muraoka W T. Time of entry of salmonella, and campylobacter, into the Turkey Brooder House. Food and Bioprocess Technology, 2011; 4(4): 616–623.

Patel VC, McClendon R W, Goodrum J W. Detection of blood spots and dirt stains in eggs using computer vision and neural networks. Applied Engineering in agriculture, 1996; 12(2): 253–258.

Patel V C, Mcclendon R W, Goodrum J W. Color computer vision and

artificial neural networks for the detection of defects in poultry eggs. Artificial Intelligence Review, 1998; 12(1): 163–176.

Garcia-Alegre M C, Ribeiro A, Guinea D, Cristobal G. Eggshell defects detection based on color processing. Proceedings of SPIE - The International Society for Optical Engineering, 2007; 3966: 280–287.

Ribeiro A, García-Alegre M C, Guinea D, Cristobal G. Automatic rules generation by GA for eggshell defect classification. Networks, 2000; 4: 5.

Mertens K, Ketelaere B D, Kamers B, Bamelis F R, Kemps B J, Verhoelst E M, et al. Dirt detection on brown eggs by means of color computer vision. Poultry Science, 2005; 84(10): 1653–1659.

Lunadei L, Ruiz-Garcia L, Bodria L, Guidetti R. Automatic identification of defects on eggshell through a multispectral vision system. Food and Bioprocess Technology, 2012; 5(8): 3042–3050.

Arivazhagan S, Shebiah R N, Sudharsan H, Kannan R R, Ramesh R. External and internal defect detection of egg using machine vision. Journal of Emerging Trends in Computing and Information Sciences, 2013; 4(3): 257–262.

Cen Y K. Research on quality inspection of eggs based on machine vision. Master dissertation. Hangzhou: Zhejiang University, 2006. (in Chinese)

Ma L, Fan Y L. Texture image analysis. Beijing: Science Press, 2009. p231. (in Chinese)

Wang W F, Ma L, Yang L. Liver contour extraction using modified snake with morphological multiscale gradients. 2008 International Conference on Computer Science and Software Engineering, 2008; 6: 117–120.

Duan Q, Chen P C, Zou Q H. Method for egg surface area estimation based on computer vision. Journal of Anhui Agricultural University, 2013; 40(2): 342–344. (in Chinese)

Tu K, Pan L Q, Yang J L, Su Z P, Yu X. Dirt detection on brown eggs based on computer vision. Journal of Jiangsu University (Natural Science Edition), 2007; 28(3): 189–192. (in Chinese)

United States Standards, Grades, and Weight Classes for Shell Eggs. AMS 56. 2000. Available: https://www.ams.usda.gov/ grades-standards/eggs. Accessed on [2016-5-12].




Copyright (c)



2023-2026 Copyright IJABE Editing and Publishing Office