应用科学学报 ›› 2016, Vol. 34 ›› Issue (5): 490-502.doi: 10.3969/j.issn.0255-8297.2016.05.002

• 多媒体信息安全专刊 • 上一篇    下一篇

基于块分类编码的电子发票图像自恢复水印算法

魏巍, 和红杰, 陈帆   

  1. 西南交通大学信息科学与技术学院, 成都 610031
  • 收稿日期:2016-07-25 修回日期:2016-08-16 出版日期:2016-09-30 发布日期:2016-09-30
  • 通信作者: 陈帆,博士,副教授,研究方向:信息安全,E-mail:mrchenfan@126.com E-mail:mrchenfan@126.com
  • 基金资助:

    国家自然科学基金(No.61373180,No.61461047)资助

Self-Recovery Watermarking for e-Invoice Image Based on Block Classification and RS Coding

WEI Wei, HE Hong-jie, CHEN Fan   

  1. School of Information Science and Technology, Southwest Jiaotong University, Chengdu 610031, China
  • Received:2016-07-25 Revised:2016-08-16 Online:2016-09-30 Published:2016-09-30

摘要:

兼顾水印容量以及篡改图像的恢复效果,提出一种基于块分类编码的电子发票图像自恢复水印算法。根据电子发票的特性将图像块分为重要块、印章块、格式块和空白块4类。对图像块类型和非空白块二值化信息分别利用RS(1,3)和RS(2,3)进行编码生成恢复水印。根据恢复水印信息的大小,基于密钥将生成的恢复水印随机、依次嵌入印章块、格式块和空白块中。为尽可能降低水印容量,无需添加认证水印数据,利用类型码和非空白块恢复水印,同时完成对图像的篡改检测以及篡改恢复。与现有的用于自然图像的自恢复水印算法相比,在相同水印容量下能得到较好的恢复效果;对于同样的恢复效果,水印容量较小。在一般篡改和拼贴攻击下具有较好的认证和恢复能力。

关键词: 电子发票, RS编码, 自恢复水印, 块分类

Abstract:

Taking into account watermark size and quality of recovered image that was tampered, this work proposes a self-recovery watermarking algorithm for e-invoice images based on block classification coding. Image blocks in a test e-invoice image are classified into four types: blocks containing important contents, seal, and invoice format information, and blank ones. The block types and the binary information of all non-blank blocks are coded with RS(1,3) and RS(2,3) respectively to generate a recovery watermark. Based on a key, the recovery watermark is randomly embedded into the blocks in an order of seal, format, and blank until all watermark data are used up. To minimize the size of watermark, the recovery watermark based on the type code and binary information code is used for both authentication and image recovery without additional authentication information. Compared with the recent self-recovery approaches for natural images, the proposed method gives better recovery quality with the same watermark size, and produces a smaller watermark with the same recovery quality, and has better performance both in tamper detection and image recovery against general tampering as well as collage attacks.

Key words: e-invoice, self-recovery watermarking, block classification, RS coding

中图分类号: