摘要
颜色聚合向量方法被采用于检测各种连接线的线序;首先对采集到的线束图像进行中值滤波,消除部分噪声;然后截取检测线束的检测区域图像并将其二值化;接下来分割各根导线,得到每根导线的轮廓,再根据各轮廓位置获取原图像中对应各导线的图像块,并计算各根导线图像块的颜色聚合向量(color coherence vector,CCV)特征;最后利用欧氏距离将各导线的归一化的CCV颜色特征和模板各导线的颜色特征进行比较。实验结果表明,该方法在线序检测中能获得较高的准确率(97.8%)和速度(15fps),满足实时检测要求。
The color coherence vector method is used to detect the line order of various connection lines.Firstly,the collected image of the wire harness is filtered by median filter to eliminate the noise.Then,the image of the detection area of the wire harness is cropped and binarized.After that,each wire is segmented to get their contours.According to the position of each wire,the corresponding image blocks of each wire in the original image are extracted,and whose color coherence vector(CCV)features are calculated.Finally,the normalized CCV features of each detected wire and the features of each wire in the template are compared by using Euclidean distance.The experimental results show that the proposed method can achieve high accuracy(97.8%)and speed(15 fps)in the line order detection,and meets the real-time detection requirements.
引文
[1]曾慧,李斯琪,等.基于梯度方向直方图的热核特征提取方法[J].仪器仪表学报,2017,38(4).
[2]张伟.基于归一化投影直方图不变矩的图像特征提取[J].计算机工程,2011,37(1):226-228.
[3]张虎龙.基于二维直方图和模糊熵准则的阈值化方法[J].计算机测量与控制,2017,25(5):236-239.
[4]金韬.图像检索中颜色特征的提取与匹配[J].计算机辅助设计与图形学学报,2000,12(6):459-462.
[5]员伟康,木拉提·哈米提,严传波,等.基于颜色矩特征的新疆维吾尔药材图像检索分析[A].中华医学会医学工程学分会全国学术年会[C].2015.
[6]Pass G,Zabih R,Miller J.Comparing images using color coherence vectors[A].Proceedings of the 4th ACM International Conference on Multimedia(MM)[C].ACM 1996:65-73.
[7]徐朝辉,樊银亭,闫奎名,等.一种基于加权颜色聚合向量的图像检索方法[J].微电子学与计算机,2014(2):31-34.
[8]张永库,李云峰,孙劲光.基于多特征高效索引的图像检索[J].计算机工程与应用,2016,52(7):181-185.
[9]Su C H,Chiu H S,Hung J H,et al.Color Space Comparison between RGB and HSV Based Images Retrieval[J].Advanced Materials Research,2014,989-994:4123-4126.
[10]Ravanmehr R,Mirali M,Baniasadi M.Parallel CBIR System Based on Color Coherence Vector[A].IWSSIP 2010-17th International Conference on Systems,Signals and Image Processing[C].2010.