Agricultural Pest Image Segmentation Based on Neighborhood Algorithm
Image segmentation is a key technology in image processing and computer vision systems. The effect of the image segmentation effect directly affects the analysis of subsequent images and the accuracy of the understanding. Therefore, for the agricultural pest image cannot distinguish the adjacent gray value when segmentation, this paper proposes a neighborhood algorithm. The algorithm of neighborhood segmentation determines the neighborhood of the pixel. In order to verify the effectiveness of the algorithm, this paper compares with K-means algorithm, DBSCAN algorithm, SNC algorithm, DMHAC algorithm and STING algorithm. Objective analysis indicators were measured by normalized correlation coefficient, segmentation time and segmentation accuracy. The verification results show that this method has achieved good results under these three indicators. The normalized correlation coefficient is close to 1, the time of segmentation consumption is the smallest and the accuracy is the highest among all methods. The effectiveness of the proposed algorithm is verified by experiments.