基于k-Means算法的彩色QR码识别
DOI:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

上海理工大学博士启动基金资助项目(1D-13-309-007) ,模式识别国家重点实验室开放课题基金资助项目 (201700009),湖南省教育厅基金资助项目(17C0481)


Color QR Code Recognition Based on k-Means Algorithm
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    为了降低彩色QR码解码过程中出现的混叠效应,提高彩色 QR码解码的正确率,提出一种基于HSV颜色模型的k-Means聚类算法 。为了选择适合彩色QR码的颜色空间模型,通过实验验证了在RGB, Lab, HSV 3个颜色模型下k-Means聚类算法的效果。在HSV颜色模型 下,根据等欧氏距离的原则建立彩色编码模块的配色模型,最大程 度地减小解码中颜色的混叠效应。彩色QR码解码预处理阶段,利用 基于HSV颜色模型的光线补偿的k-Means聚类算法对彩色编码模块进 行颜色分离,以提高解码的精度。研究结果表明:在HSV颜色模型下 ,k-Means聚类效果最好,图像区域分类效果最清晰;所建立的配色 模型可以最优地为彩色编码模块配色;基于HSV颜色模型的光线补偿 的k-Means聚类算法可以提高彩色QR码解码的正确率。因此,建立合 理的配色模型进行彩色编码模块的颜色设置,同时采用基于HSV颜色 模型的光线补偿的k-Means聚类算法进行颜色分割,可以大幅度地降 低彩色QR码编码模块之间的混叠效应,从而显著提高彩色QR码解码 的正确率。

    Abstract:

    In order to reduce aliasing effects in color QR decoding and improve the accuracy of color QR code decoding, a k-Means clustering algorithm based on HSV color space was proposed. Experiments were conducted to verify the effect of k-Means clustering algorithm in three color spaces of RGB, Lab and HSV for choosing the right color space for color QR codes. In HSV color space, the color matching model of color coding module was established according to the principle of equal Euclidean distance, so as to minimize the aliasing effect of color in decoding. In the preprocessing phase of color QR code decoding, k-Means clustering algorithm based on ray compensation in HSV color spaces was used to separate color coding module and to improve the decoding accuracy. The result showed that in HSV color space, the k-Means clustering effect was the best, with the image region classification effect being the clearest. The color matching model could optimally match the color coding module. Therefore k-Means clustering algorithm based on ray compensation could be used in HSV color space to improve the accuracy of color QR decoding. Establishing a reasonable model was to set color encoding modules, and to use k-Means clustering algorithm based on ray compensation in HSV color space to achieve color segmentation. It could greatly reduce the aliasing effect between QR color encoding modules and significantly improve the accuracy of color decoding QR.

    参考文献
    相似文献
    引证文献
引用本文

贾 丹,尤 飞,张庆立,曾志高.基于k-Means算法的彩色QR码识别[J].包装学报,2017,9(5):62-68.

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2017-07-17
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2017-12-22
  • 出版日期:
文章二维码