期刊文献+

基于RGB和HSV的胶囊异囊缺陷识别方法 被引量:9

Capsule Yinang defect recognition based on RGB and HSV color space
下载PDF
导出
摘要 针对彩色胶囊图像的特点,结合RGB颜色空间数据易处理和HSV颜色空间色差感知均匀的优点,提出一种异囊缺陷检测方法,其中异囊是指某种颜色的胶囊中混有的其它颜色胶囊。该方法是基于RGB颜色空间的图像分割和基于HSV颜色空间的色差公式计算。将基于Y方向的Scharr算子应用于R分量图像,寻找胶囊上下两节之间的分隔线,将R、G、B各分量图像分割成两部分;基于图像直方图,采用加权平均的方法来获取R、G、B分量值,并将R、G、B分量值转成H、S、V分量值;利用加权方式的HSV色差公式计算色差,与设定阈值比较得出检测结果。测试结果表明,该方法保证了较高的检测精度,节省了常规基于HSV检测的方法中整体图像颜色空间转换的时间消耗。 Aiming at the characteristics of the color images of capsules, combining the advantages of processing data easily in the RGB color space and the uniformity of color difference perception in the HSV color space, a detection method of Yinang defect was proposed. Yinang is the capsule whose color is different from others. In this method, the image segmentation was based on the RGB color space and the computation of color difference was based on the HSV color space. Firstly, the vertical Scharr operator was applied to get the segmented edge in the R value image, and R, G, B value images were split into two parts respectively. Secondly, the values of R, G, B were obtained by using a method of weighted average based on the histogram, and were transformed into the values of H, S, V. At last, the color difference was counted using the weighted HSV color difference formula, and was compared with the set threshold. Online test results show that the proposed method has high accuracy and saves the time on transforming color space for the whole image using the usual color recognition method based on the HSV.
出处 《计算机工程与设计》 CSCD 北大核心 2014年第11期3888-3892,共5页 Computer Engineering and Design
基金 湖北省优秀中青年创新团队基金项目(T200801) 湖北省教育厅重点基金项目(D20091103)
关键词 RGB彩色空间 HSV彩色空间 直方图 彩色空间转换 色差 RGB color space HSV color space histogram color space conversion color difference
  • 相关文献

参考文献13

二级参考文献67

  • 1刘平,陈斌,阮波.基于边缘信息的图像阈值化分割方法[J].计算机应用,2004,24(9):28-30. 被引量:33
  • 2李贵俊,刘正熙,游志胜,庄永.一种基于色差和彩色归一化的车身颜色识别算法[J].计算机应用,2004,24(9):47-49. 被引量:21
  • 3贾秋菊,王小铭.一种动态切分的颜色量化算法[J].华南师范大学学报(自然科学版),2005,37(1):46-50. 被引量:6
  • 4凌卫新,凌玲.关于图像色彩压缩的一种新聚类算法[J].计算机工程,1996,22(4):8-10. 被引量:9
  • 5冈萨雷斯.数字图像处理[M].阮秋琦,阮宇智,译.2版.北京:电子工业出版社,2007:427.
  • 6冈萨雷斯.数字图像处理[M].北京:电子工业出版社,2007.
  • 7Xiang Zhi-gang,Joy G.Color image quantization by agglomerative clustering[J].IEEE Computer Graphics and Applications, 1994, 14 (3) :44-48.
  • 8Androutsos D,Plataniotis K N,Venetsanopoulos A N.A novel vector based approach to color image retrieval using a vector angular based distance measure[J].Computer Vision and linage Understanding, 1999,75(1 ) :46-58.
  • 9Androutsos D,Plataniotis K N,Venetsanopoulos A N.Vector angular distance measure for indexing and retrieval of color[C]//SPIE Proceedings of Storage and Retrieval for hnage and Video Databases Ⅶ,San Jose,CA, 1999,3656:604-613.
  • 10CIE.CIE Publication No.142 -2001.Improvement to industrial colour-difference evaluation[S].Central Bureau of the CIE,Vienna, 2001.

共引文献48

同被引文献86

引证文献9

二级引证文献34

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部