摘要
针对目前人工蚂蚁计数的困难性,本文选择图像处理的方法实现蚂蚁图像的自动计数。首先对所采集到的图像进行图像灰度化、图像锐化、图像二值化、形态学处理等一系列预处理,达到减少图像复杂度,以及图像优化的目的,为最后的图像准确计数奠定基础;在图像计数时采用连通域标记的方法对处理后的图像进行标记和计数,并将结果显示在对话框内。结果表明该方法计数准确率较高,具有良好的效果。
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 fnal 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.
作者
张震
肖冰冰
ZHANG Zhen;XIAO Bingbing(School of Electrical Engineering,Zhengzhou University,Zhengzhou 450000,Chin)
出处
《软件工程》
2018年第7期1-4,共4页
Software Engineering
关键词
图像灰度化
形态学处理
连通域标记
color graying
morphological processing
connected component labeling