摘要
目前堆积物数目的计算仍停留在比较低的水平,主要靠人工来完成,这项工作机械单调,而且容易出现误差。为了研制自动化程度较高的计数系统,提出了一种基于数字图像处理的自动计数方案,重点放在对图像处理的算法研究与实现上。采用棋子的图像作为堆积物研究对象,通过数码照相机对其进行拍照,然后经过图像灰度转换,图像增强,图像二值化,图像的形态学操作,连同区域标记以及参数提取,MATLAB软件计算出来的结果表明该方法能够对棋子数目进行较为精确的检测。该算法精准方便且易实现,很好地解决了堆积物数目的自动计数问题,可以结合其他算法投入到生产实践中。
The level of the calculation of the number of deposits remained relatively low. It is often calculated manually and this mechani- cal and dull job is prone to errors. In order to develop a high automatic counting system,a plan which is based on digital signal processing is put forward and the algorithms and implementations of the image processing are the focuses. Have chess pieces as deposits and take the photograph of them using the digital camera, and then after the image grayscale conversion,image enhancement,binarization, image mor- phology operations,regional tags and parameter extraction, achieve the exact detection of the number of pieces under the help of MAT- LAB. This method is l^reeise,convenient and easy to reaiize,so it can be combined with other algorithms to be put into practice.
出处
《计算机技术与发展》
2013年第9期182-185,共4页
Computer Technology and Development
基金
国家自然科学基金资助项目(60974146)
陕西省自然科学基础研究计划(2011GQ8005)