摘 要: 针对目前人工蚂蚁计数的困难性,本文选择图像处理的方法实现蚂蚁图像的自动计数。首先对所采集到 的图像进行图像灰度化、图像锐化、图像二值化、形态学处理等一系列预处理,达到减少图像复杂度,以及图像优化的 目的,为最后的图像准确计数奠定基础;在图像计数时采用连通域标记的方法对处理后的图像进行标记和计数,并将结 果显示在对话框内。结果表明该方法计数准确率较高,具有良好的效果。 |
关键词: 图像灰度化;形态学处理;连通域标记 |
中图分类号: TP751
文献标识码: A
|
|
Research on the Ant Counting Method Based on Image Processing |
ZHANG Zhen,XIAO Bingbing
|
( School of Electrical Engineering, Zhengzhou University, Zhengzhou 450000, China)
|
Abstract: For the difficulty of counting artificial ants at present,this paper chooses an image processing method to achieve the automatic counting of ant images.Firstly,a series of preprocessing,such as image graying,image sharpening,image binarization and morphological processing,are performed on the collected images to reduce image complexity and achieve image optimization,building the foundation for the accurate counting of the final images.The method of connected component labeling is used to mark and count the processed images,and the results are displayed in the dialog box.It is shown that this method has a higher accuracy of counting and better results. |
Keywords: color graying;morphological processing;connected component labeling |