摘要
图像分割是运动目标检测与跟踪技术必须要解决的问题,在很多时候它涉及到图像阈值的选取。文章采用的算法首先计算图像中不同区域的灰度均值,结合最小差值条件,反复修订由计算所得的阈值,从而达到自动选优的目的。在此基础上,文章进一步给出了用C++语言实现算法的关键代码。测试表明此方法选择阈值简便实用,图像的二值化效果良好。
Image segmentation is absolutely necessarily to the technique of detecting and tracking moving-object.It mostly deals with the selection of threshold value of images.The algorithm in this paper firstly computes the mean value of grayscales in different district of the image,relating the condition of the minimum difference in value,and then revises the threshold value repeatedly until finding the preferable one automatically.Based on these it further gives the key code of implementing of the algorithm by C++.Tests prove that the mothod of selecting threshold value is not only simply and practical,but also good at creating the binary-color image.
出处
《四川理工学院学报(自然科学版)》
CAS
2010年第4期420-422,共3页
Journal of Sichuan University of Science & Engineering(Natural Science Edition)
基金
四川理工学院基金项目(2007ZR009)
关键词
图像分割
阈值
算法
智能监控
image segmentation
threshold value
algorithm
intelligent surveillance