计算机应用

• 人工智能与仿真 •    下一篇

基于图像特征的电子印章数字水印算法设计

申光鹏1,王挺1,2   

  1. 1. 上海交通大学 电子信息与电气工程学院;
    2. 上海汇像信息技术有限公司
  • 收稿日期:2019-08-19 修回日期:2019-10-26 发布日期:2019-10-26 出版日期:2020-05-12
  • 通讯作者: 王挺
  • 作者简介:申光鹏(1995—),男,河北邢台人,硕士研究生,主要研究方向:Windows PC 软件; 王挺(1994—),男,浙江温州人,主要研究方 向:软件工程。
  • 基金资助:
    国家重点研发计划项目(2016YFE0116900)。

Design of digital watermarking algorithm for electronic seals based on image features

SHEN Guangpeng,WANG Ting   

  • Received:2019-08-19 Revised:2019-10-26 Online:2019-10-26 Published:2020-05-12

摘要: 针对电子印章数字水印算法存在特征提取效率不高、篡改定位精度较低等问题,提出了一种基于 FAST角点特征的数字水印算法。首先,利用 OpenCV提取电子印章图像的 FAST角点特征并将其像素值分离出来;其次,利用MD5加密算法对特征点像素值进行加密并得到其消息序列;接着,根据奇偶位置互换、均分互换等规则完成消息序列的重排列;然后,依据事先规定的像素二值查找表确定每一个电子印章图像像素对应的二值;最后,根据加密消息序列以及二值查找表结果生成水印标识并将其嵌入至原电子印章图像中,完成水印嵌入。实验结果表明,该算法与基于 Harris角点特征的数字水印算法相比,特征提取时间降低了 86%,篡改定位精度提高了 60%,大幅提升了特征提取效率和检测精度。因此,基于 FAST角点特征的数字水印算法具有更高的实际工程应用价值。

关键词: 电子印章, 数字水印算法, 篡改检测, 准确定位, 特征提取

Abstract: Aiming at the problems that the electronic seal digital watermarking algorithm has low feature extraction efficiency and low tampering positioning accuracy,a digital watermarking algorithm based on FAST(Feature from Accelerated Segment Test)corner feature was proposed. Firstly,OpenCV was used to extract the FAST corner features of the electronic seal image and separate their pixel values. Secondly,the feature point pixel value iwas encrypted by MD5 encryption algorithm and its message sequence was obtained. Then,according to the parity position interchange and equalization Rrordering the message sequence was rearranged. And then,the binary value corresponding to each electronic seal image pixel was determined according to a prespecified pixel binary look-up table. Finally,the watermark identifier was generated according to the encrypted message sequence and the binary look-up table result,which was embedded into the original electronic seal image to complete the watermark embedding. The experimental results show that compared with the digital watermarking algorithm based on Harris corner feature, the proposed algorithm reduces the feature extraction time by 86%,improves the tampering positioning accuracy by 60%,verifying that the feature extraction efficiency and detection accuracy are greatly improved. Therefore,the digital watermarking algorithm based on the FAST corner feature has higher practical engineering application value.

Key words: electronic seal, digital watermark algorithm, tamper detection, accurately locate, featurer extraction

中图分类号: