欢迎访问《图学学报》 分享到:

图学学报

• 视觉与图像 • 上一篇    下一篇

基于粒子群优化算法的金刚石砂轮磨粒边缘提取

  

  • 出版日期:2015-04-30 发布日期:2015-06-03

Grains Detection of Diamond Grinding Wheel Based on Particle Swarm Optimization

  • Online:2015-04-30 Published:2015-06-03

摘要: 为了实现对金刚石砂轮磨粒边缘的有效提取,将基于粒子群优化算法的Canny 算
子应用在金刚石砂轮磨粒的边缘检测上。用最大类间方差作为目标函数,优化Canny 算子的阈
值,实现边缘的有效提取。分别对实测的单颗磨粒和多颗磨粒进行了边缘提取,实验结果显示
该算法可以较好地提取金刚石砂轮磨粒边缘。该方法不需要人为设定阈值,可以实现阈值的自
动获取和优化。最后,利用四连通成分和八连通成分与像素总数的比值,将阈值可优化设定的
Canny 算子与传统的Canny 算子以及最大类间方差的方法做对比,结果表明所应用的方法有效
地提高了检测的准确性。

关键词: 磨粒, Canny 算子, 最大类间方差, 粒子群优化算法

Abstract: In order to effectively identify the abrasive grains on a diamond grinding wheel, the Canny
operator based on particle swarm optimization was applied on the grain edge detection. With
Maximum Classes Square Error (OTSU) as the objective function, the threshold of the Canny operator
was optimized for grains detection. The edges of a single grain and a group of grains were detected
using the method respectively. The results of the examples show that the algorithm can identify grains
of diamond grinding wheel effectively. The method can automatically set and optimize the threshold of
Canny operator which traditionally need to be set artificially. Finally, the threshold optimized Canny
operator was compared with the traditional Canny operator and OTSU by using the ratio of the pixels
number of four and eight connected areas to the total number of pixels. The results show that the
threshold optimized Canny operator can improve the accuracy of detection.

Key words: grains, Canny operator, maximum classes square error, particle swarm optimization