应用科学学报 ›› 2018, Vol. 36 ›› Issue (3): 485-494.doi: 10.3969/j.issn.0255-8297.2018.03.008

• 信号与信息处理 • 上一篇    下一篇

Half-Art——一种基于Halftone和QArt的新型二维码艺术化算法

燕伯禹1, 孙承君1,2, 冯帆1, 张金1, 宫晓利1,2   

  1. 1. 南开大学 计算机与控制工程学院, 天津 300071;
    2. 中国科学院计算技术研究所 计算机体系结构国家重点实验室, 北京 100190
  • 收稿日期:2017-08-25 修回日期:2017-11-01 出版日期:2018-05-31 发布日期:2018-05-31
  • 通信作者: 宫晓利,副教授,研究方向:嵌入式系统,E-mail:gongxiaoli@nankai.edu.cn E-mail:gongxiaoli@nankai.edu.cn
  • 基金资助:

    国家自然科学基金(No.61702286);体系结构国家重点实验室开放课题(No.CARCH201604);天津市优秀科技特派员基金(No.17JCTPJC49500)资助

Half-Art—A New QR Code Artistic Algorithm Based on Halftone and Qart

YAN Bo-yu1, SUN Cheng-jun1,2, FENG Fan1, ZHANG Jin1, GONG Xiao-li1,2   

  1. 1. College of Computer and Control Engineering, Nankai University, Tianjin 300071, China;
    2. State Key Laboratory of Computer Architecture, Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100190, China
  • Received:2017-08-25 Revised:2017-11-01 Online:2018-05-31 Published:2018-05-31

摘要:

为了提高二维码的辨识度和多样性,对Halftone算法的基本思想和优缺点进行了分析,并对其应用进行了扩展.结合Halftone和QArt的部分思想,提出了一种新型的艺术化算法——Half-Art.该算法分为数据修饰和图片处理两个阶段,分别使用了里德-所罗门码的数学特性和二值化后的图层蒙版粘贴算法将二维码向目标图片拟合.Half-Art算法综合了Halftone和QArt两种算法的优点,弥补了Halftone算法杂点过多、QArt算法拟合程度不高等缺点,优化后的二维码在通过电子渠道传播时具有良好的可读性.

关键词: 二维码, 扩展Halftone, Half-Art, 艺术化

Abstract:

In order to improve the recognition and diversity of quick response (QR) Code, this paper analyzes Halftone algorithm, illustrates its basic idea, advantages and disadvantages, and extends Halfton. In addition, based on some ideas from Halftone and QArt, a new artistic algorithm called Half-Art is put forward. The algorithm is divided into two stages: data modifcation and image processing. The mathematical features of the ReedSolomon codes (RS codes) and binarized layer masking algorithm are used to combine the target image with the QR Code. The algorithm combines the advantages, makes up shortcomings of Halftone and QArt. The optimized QR Code has good readability when spread through electronic channels.

Key words: QR Code, extended Halftone, artistic, Half-Art

中图分类号: