HUBEI AGRICULTURAL SCIENCES ›› 2023, Vol. 62 ›› Issue (8): 197-201.doi: 10.14088/j.cnki.issn0439-8114.2023.08.031

• Information Engineering • Previous Articles     Next Articles

Target counting method of grain particle images based on Euler numbers

KANG Shi-ying1, YAO Bin2   

  1. 1. School of Computer Science, Xianyang Normal University, Xianyang 712000,Shaanxi,China;
    2. School of Electronic Information and Artificial Intelligence, Shaanxi University of Science and Technology, Xi’an 710021,China;
  • Received:2022-05-23 Online:2023-08-25 Published:2023-09-22

Abstract: In order to solve the problems of time-consuming and low accuracy in manual counting during the process of grain breeding, a method of counting using computer processing of grain particle images was proposed. Firstly, the collected grain particle images was binarized to separate the background and target regions in the image; then morphological operations, object segmentation, and other preprocessing on the image were performed to minimize the phenomenon of grain particle adhesion in the image; in the final counting link, in order to improve the counting speed, based on the important feature that the grain particle images had no holes after preprocessing, the image Euler numbers algorithm was used to replace the traditional connected domain marking algorithm to achieve the counting work.The results showed that the counting result of the image Euler numbers algorithm was completely consistent with that of the traditional connected domain labeling algorithm, but the counting speed of the image Euler numbers algorithm was obviously better than that of the traditional connected domain labeling algorithm.

Key words: Euler numbers algorithm, grain particle images, counting method

CLC Number: