Classification Method Research of Fresh Agaricus Bisporus Based on Image Processing

  • Fengyun Wang
  • Jiye Zheng
  • Lei Wang
  • Wenjie Feng
  • Luyan NiuEmail author
Conference paper
Part of the IFIP Advances in Information and Communication Technology book series (IFIPAICT, volume 545)


The article studies the classification method for the fresh agaricus bisporus based on image processing. When acquiring the image information, the shadow of image and mushroom stipe may affect the analysis of maximum diameter of agaricus bisporus which is the important factor. In this paper, the global threshold segmentation method and maximum entropy threshold segmentation method are combined to carry out the first watershed algorithm to remove the shadow of image. Then the Canny operator, opening and closing operation and corrosion expansion are used to carry out the second watershed algorithm for the removal of stipe interference. The method achieves a good result through the comparison between the actual measured results and experimental results.


Agaricus bisporus Image processing Maximum entropy threshold segmentation Watershed algorithm 



Funds for this research was provided by the Key Research and Development Plan of Shandong Province (2016GNC110008, 2016CYJS03A01-1), Agricultural Science and Technology Innovation Project of Shandong Academy of Agricultural Sciences (CXGC2017B04), Shandong Academy of Agricultural Sciences (SAAS) Youth Scientific Research Funds Project (2015YQN58), Key Applied Technological Innovation Project in Agriculture of Shandong: Key Technology Research and Development of Intelligent Control for Healthy Broiler Production in Greenhouse.


  1. 1.
    Hu, T.: Application of morphological image processing in stem location and edge detection of apple automatic grading. J. Anhui Agri. Sci. 35(6), 1866–1867 (2007)Google Scholar
  2. 2.
    Ma, J.: Design of automatic grading mechanization system for potato. Agric. Technol. Equipment 12, 4–5 (2011)Google Scholar
  3. 3.
    Youxian, W., Qiaohua, W., Xiaowei, C., et al.: Development on the automatic grading software of duck egg bulk and yolk color. J. Huazhong Agric. Univ. 20(4), 395–399 (2001)Google Scholar
  4. 4.
    Tan, B., Tang, S.-X.: Mandarin size of the automatic classification method based on image processing. Hunan Agric. Mach. 39(5), 207–209 (2012)Google Scholar
  5. 5.
    Nandi, C.S., Tudu, B., Koley, C.: Machine vision based automatic fruit grading system using fuzzy algorithm. In: 2014 International Conference on Control, Instrumentation, Energy and Communication(CIEC), pp. 26–30 (2014)Google Scholar
  6. 6.
    Afrisal, H., Faris, M., Utomo, G.P., et al.: Portable smart sorting and grading machine for fruits using computer vision. In: 2013 International Conference on Computer, Control, Informatics and Its Applications, pp. 71–75 (2013)Google Scholar
  7. 7.
    Hagisawa, T., Todat, M., Sakoil, T., et al.: Image analysis method for grading raw shiitake mushrooms. In: The 19th Korea-Japan Joint Workshop on Frontiers of Computer Vision, pp. 46–52 (2013)Google Scholar
  8. 8.
    Ma, L., Zhang, Y., Deng, J.: A target segmentation algorithm based on opening-closing binary marker on watersheds and texture merging. J. Image Graph. 8(1), 80–86 (2003)Google Scholar
  9. 9.
    Zhang, F., Lei, Y., Zhu, X., et al.: Research on sorting device technology of navel orange based on image. Mod. Mach. (1), 57–60 (2014)Google Scholar
  10. 10.
    Jing, H.U., Xin, G.U.O., Haojia, H.E., et al.: Automatic classification of fruit using multi-classifier fusing. J. Shanghai Dianji Univ. 15(3), 163–166 (2012)Google Scholar

Copyright information

© IFIP International Federation for Information Processing 2019

Authors and Affiliations

  • Fengyun Wang
    • 1
  • Jiye Zheng
    • 1
  • Lei Wang
    • 1
  • Wenjie Feng
    • 1
  • Luyan Niu
    • 1
    Email author
  1. 1.S&T Information InstituteShandong Academy of Agricultural SciencesJinanPeople’s Republic of China

Personalised recommendations