CN102147912A - Adaptive difference expansion-based reversible image watermarking method - Google Patents

Adaptive difference expansion-based reversible image watermarking method Download PDF

Info

Publication number
CN102147912A
CN102147912A CN201110078970XA CN201110078970A CN102147912A CN 102147912 A CN102147912 A CN 102147912A CN 201110078970X A CN201110078970X A CN 201110078970XA CN 201110078970 A CN201110078970 A CN 201110078970A CN 102147912 A CN102147912 A CN 102147912A
Authority
CN
China
Prior art keywords
watermark
image
difference
pixel
embedding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201110078970XA
Other languages
Chinese (zh)
Other versions
CN102147912B (en
Inventor
王卓
陈真勇
范围
罗立新
熊璋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Air Technology Co Ltd
Original Assignee
Beihang University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beihang University filed Critical Beihang University
Priority to CN201110078970XA priority Critical patent/CN102147912B/en
Publication of CN102147912A publication Critical patent/CN102147912A/en
Application granted granted Critical
Publication of CN102147912B publication Critical patent/CN102147912B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)

Abstract

一种基于自适应差值扩展的可逆图像水印方法,包含水印嵌入过程、水印提取过程和图像恢复过程;在水印嵌入之前,先需要对原图像进行预处理,包括交替划分、差值计算,计算图像复杂度并设置参数;在嵌入过程中,使用自适应扩展进行相应的水印嵌入;接着将嵌入附加信息,在特定情况下水印数据会和附加信息混合嵌入;在提取过程中,首先进行附加信息提取,差值计算;接着进行自适应差值扩展的逆操作,进行水印数据提取并还原原始的差值;最后通过还原后的差值进行图像的还原;本发明具有可逆性,并能提供更大的嵌入容量和更好的图像质量,特别是在嵌入水印数据较多的情况下。

Figure 201110078970

A reversible image watermarking method based on adaptive difference extension, including watermark embedding process, watermark extraction process and image restoration process; before watermark embedding, the original image needs to be preprocessed, including alternate division, difference calculation, calculation Image complexity and set parameters; in the embedding process, use adaptive expansion to embed the corresponding watermark; then embed additional information, and in certain cases the watermark data will be mixed with additional information; in the extraction process, first perform additional information Extraction, difference calculation; then carry out the inverse operation of adaptive difference expansion, extract watermark data and restore the original difference; finally restore the image through the restored difference; the present invention has reversibility and can provide more Large embedding capacity and better image quality, especially when embedding a large amount of watermark data.

Figure 201110078970

Description

一种基于自适应差值扩展的可逆图像水印方法A Reversible Image Watermarking Method Based on Adaptive Difference Extension

技术领域technical field

本发明涉及一种可逆图像水印的嵌入和提取方法,特别涉及一种基于自适应差值扩展的可逆图像水印方法。The invention relates to a method for embedding and extracting a reversible image watermark, in particular to a reversible image watermark method based on adaptive difference expansion.

背景技术Background technique

数字信息革命给人类的社会和生活带来了深刻的变化,各种数字媒体作品丰富人民生活的同时带来了新的挑战。数字多媒体作品复制和分发成本的低廉,使得数字盗版十分普遍,因此数字版权保护及内容完整性验证等安全问题成为迫切需要解决的问题。数字水印将一些信息隐藏在数字图像、文本、视频或者音频信号中,已经成为一种保护数字媒体内容安全的有效手段。在大多数现有的数字水印方法中,宿主媒体因为水印信号的嵌入,会被永久的改变并无法还原到嵌入水印之前的状态。虽然水印引入的失真通常不容易被人的感知系统所察觉,但在一些对数据保真度要求极高的特殊领域中,如军事图像、医学图像、卫星遥感图像或者法律证据图像等,任何微小的失真都是不被允许的。因此数字水印技术在这些领域的应用受到了很大的限制。为了解决这一问题,人们提出了可逆数字水印的概念,这种水印方案在嵌入水印信息保护数字版权的同时,可以保证在提取端将宿主媒体精确还原到其未被嵌入水印时的原始状态。自从1997年Barton第一次提出可逆水印的概念以来,近年来已有学者提出一些可逆水印算法。已有的可逆水印算法基本上包括两种方式,即在空域中嵌入和在频域中嵌入。The digital information revolution has brought profound changes to human society and life, and various digital media works have brought new challenges while enriching people's lives. The low cost of copying and distributing digital multimedia works makes digital piracy very common. Therefore, security issues such as digital copyright protection and content integrity verification have become urgent problems to be solved. Digital watermark hides some information in digital image, text, video or audio signal, and has become an effective means to protect the security of digital media content. In most existing digital watermarking methods, the host media will be permanently changed due to the embedding of the watermark signal and cannot be restored to the state before the watermark is embedded. Although the distortion introduced by the watermark is usually not easy to be detected by the human perception system, in some special fields that require extremely high data fidelity, such as military images, medical images, satellite remote sensing images, or legal evidence images, any tiny Distortion is not allowed. Therefore, the application of digital watermarking technology in these fields has been greatly restricted. In order to solve this problem, the concept of reversible digital watermarking is proposed. This watermarking scheme can ensure that the host media can be accurately restored to its original state when the watermark is not embedded at the extraction end while embedding watermark information to protect digital copyright. Since Barton first proposed the concept of reversible watermarking in 1997, some scholars have proposed some reversible watermarking algorithms in recent years. The existing reversible watermarking algorithms basically include two methods, that is, embedding in the space domain and embedding in the frequency domain.

在空域中嵌入可逆水印,因为实现相对简单,嵌入容量比较大,从而成为最近研究的热点。空域中的不可见可逆水印主要分为三类:基于图像压缩、基于差值扩展和基于直方图修改。Embedding reversible watermarking in airspace has become a recent research hotspot because of its relatively simple implementation and relatively large embedding capacity. Invisible reversible watermarking in the air domain is mainly divided into three categories: image compression-based, difference expansion-based and histogram modification-based.

基于图像压缩的算法一般采用无损压缩算法将图像在人眼不敏感的部分进行压缩以腾出空间来嵌入水印,嵌入容量取决于压缩率,嵌入容量一般不大,并且高效的图像压缩运算复杂,因此这类水印计算复杂度比较高;基于直方图修改的可逆图像算法是利用图像像素的统计特性,进行直方图移动得到嵌入空间;基于差值扩展的算法是利用图像内容存在相关性,相邻像素通常具有较相近的值,因此两个相邻像素的差值较小,通过扩展相邻像素的差值,可以将二位的数据嵌入其中而不引起明显的失真。Algorithms based on image compression generally use lossless compression algorithms to compress the image in the insensitive part of the human eye to make room for embedding watermarks. The embedding capacity depends on the compression rate, and the embedding capacity is generally not large, and efficient image compression operations are complex. Therefore, the computational complexity of this type of watermark is relatively high; the reversible image algorithm based on histogram modification uses the statistical characteristics of image pixels to move the histogram to obtain the embedding space; the algorithm based on difference expansion uses the correlation of image content, adjacent Pixels usually have relatively similar values, so the difference between two adjacent pixels is small. By expanding the difference between adjacent pixels, two-bit data can be embedded in it without causing obvious distortion.

基于差值扩展(Difference Expansion,DE)的可逆图像水印,最早由Tian在2003第一次提出(参见J.Tian.Reversible data embedding using a difference expansion[J].IEEE Trans.Circuits Systems and Video Technology.2003,13(8):890-896)。差值扩展,也可以看作是一种整数小波变换,它扩展小波变换的高频部分,并将水印信息嵌入其中。DE有时也被称为位移扩展,因为它嵌入水印的过程可以看作位移的过程。假设差值d的二进制表示为(dn-1dn-2...d1d0)2,则嵌入水印后的差值d′的二进制表示为(dn-1dn-2...d1d0b)2。这相当于将d向左位移一位,然后将水印b嵌入到空出的最低位中。Alattar(A.M.Alattar.Reversible watermark using difference expansion oftriplets[C].Proc.IEEE ICIP.2003:501-504;A.M.Alattar.Reversible watermarkusing difference expansion of quads[C].Proc.ICASSP.2004:377-380)将Tian的思想应用于三个像素和四个像素组成的向量。这样的好处一是加大可扩展的差值数,二是减少了Location Map所占用的空间。Reversible image watermarking based on Difference Expansion (DE) was first proposed by Tian in 2003 (see J. Tian. Reversible data embedding using a difference expansion [J]. IEEE Trans. Circuits Systems and Video Technology. 2003, 13(8): 890-896). Difference expansion can also be regarded as an integer wavelet transform, which expands the high-frequency part of wavelet transform and embeds watermark information in it. DE is also sometimes called displacement expansion, because the process of embedding watermark can be regarded as a process of displacement. Assuming that the binary representation of the difference d is (d n-1 d n-2 ...d 1 d 0 ) 2 , then the binary representation of the difference d′ after embedding the watermark is (d n-1 d n-2 . ..d 1 d 0 b) 2 . This is equivalent to shifting d to the left by one bit, and then embedding the watermark b into the vacated lowest bit. Alattar (AMAlattar.Reversible watermark using difference expansion of triplets[C].Proc.IEEE ICIP.2003:501-504; AMAlattar.Reversible watermark using difference expansion of quads[C].Proc.ICASSP.2004:377-380) Tian’s Ideas apply to vectors of three and four pixels. The advantage of this is to increase the number of scalable differences, and to reduce the space occupied by the Location Map.

总之,现有方法中,嵌入的容量较小,并且在嵌入大容量水印时,无法保证图像的质量,因此,本发明利用图像不同部分的复杂度不同,对不同区域进行自适应嵌入,以达到较大的嵌入容量和较好的图像质量。In short, in the existing method, the embedding capacity is small, and the quality of the image cannot be guaranteed when embedding a large-capacity watermark. Therefore, the present invention utilizes the complexity of different parts of the image to perform adaptive embedding on different regions to achieve Larger embedding capacity and better image quality.

发明内容Contents of the invention

本发明要解决的技术问题是:克服现有技术的不足,提供一种基于自适应差值扩展的可逆图像水印,该方法在嵌入水印数据较多的情况下,能够提供更大的嵌入容量和更好的图像质量。The technical problem to be solved by the present invention is to overcome the deficiencies of the prior art and provide a reversible image watermark based on adaptive difference expansion. This method can provide greater embedding capacity and Better image quality.

本发明解决其技术问题所采用的技术方案:一种基于自适应差值扩展的可逆图像水印,包含水印嵌入过程、水印提取过程和图像恢复过程;在水印嵌入之前,先需要对原图像进行预处理,包括交替划分、差值计算,计算图像复杂度并设置参数;在嵌入过程中,使用自适应扩展进行相应的水印嵌入;接着将嵌入附加信息,在特定情况下水印数据会和附加信息混合嵌入;在提取过程中,首先进行附加信息提取,差值计算;接着进行自适应差值扩展的逆操作,进行水印数据提取并还原原始的差值;最后通过还原后的差值进行图像的还原;The technical solution adopted by the present invention to solve its technical problems: a reversible image watermark based on adaptive difference expansion, including watermark embedding process, watermark extraction process and image recovery process; before watermark embedding, the original image needs to be pre-prepared Processing, including alternate division, difference calculation, calculating image complexity and setting parameters; in the embedding process, use adaptive expansion to perform corresponding watermark embedding; then additional information will be embedded, and watermark data will be mixed with additional information in certain cases Embedding; in the extraction process, first perform additional information extraction and difference calculation; then perform the inverse operation of adaptive difference expansion, extract watermark data and restore the original difference; finally restore the image through the restored difference ;

预处理过程为:The preprocessing process is:

(1)交替划分。将原始图像进行交替划分,得到两个不相交的像素集S1和S2,并为图像中的每一个像素构建上下文,以便后来图像复杂度的计算和像素估计的实现。(1) Alternate division. Alternately divide the original image to obtain two disjoint pixel sets S 1 and S 2 , and construct a context for each pixel in the image, so as to facilitate the calculation of image complexity and the realization of pixel estimation.

(2)差值计算。使用预处理过程步骤(1)中构建出的上下文,计算图像中每个像素的估计值,然后通过与原始像素的比较求差值,该步骤可分为先后两部分:首先第一部分,利用S1中的像素来估计S2中的像素,此时S1为原始的像素值;然后第二部分,利用S2中的像素来估计S1中的像素,此时S2为嵌入水印后的像素值。(2) Difference calculation. Using the context constructed in step (1) of the preprocessing process, calculate the estimated value of each pixel in the image, and then calculate the difference by comparing with the original pixel. This step can be divided into two parts: first, in the first part, use S 1 to estimate the pixels in S 2 , at this time S 1 is the original pixel value; then in the second part, use the pixels in S 2 to estimate the pixels in S 1 , at this time S 2 is the embedded watermark Pixel values.

(3)参数设置。该步骤主要包括两个方面的参数设置,首先针对原始图像,利用广义高斯分布的统计特性,计算出图像复杂度的特征描述α;然后,根据嵌入水印数据的多少,确定自适应差值扩展的两参数c和T,最后,当用户的需求不能被满足时,还可以判断是否报告嵌入失败。(3) Parameter setting. This step mainly includes two aspects of parameter setting. First, for the original image, the feature description α of the image complexity is calculated by using the statistical properties of the generalized Gaussian distribution; then, according to the amount of embedded watermark data, the adaptive difference expansion is determined. There are two parameters c and T. Finally, when the user's needs cannot be met, it is also possible to judge whether to report embedding failure.

在水印嵌入过程中,水印数据嵌入是在参数被确定以后通过自适应扩展将用户数据嵌入载体图像的过程。在特定的情况下,水印数据会和附加信息混合着被嵌入,这时就需要保证水印数据和附加信息是可区分可同步的。附加信息嵌入。在用户数据(或者部分信息)被嵌入后,一般都有一些附加信息,在这里包括参数c,T和记录像素溢出信息的位置表,由此也需要采用某种策略将它们嵌入到载体图像中。这些附加信息往往是启动水印提取所必需的,因而需要保证在水印提取时它能最先被计算出来。一个简单的策略如图2所示,它将附加信息以LSB(最低有效位)替换的方式嵌入到图像边缘像素中。In the process of watermark embedding, watermark data embedding is the process of embedding user data into the carrier image through adaptive expansion after the parameters are determined. In certain cases, watermark data and additional information will be mixed and embedded, and then it is necessary to ensure that the watermark data and additional information are distinguishable and synchronized. Additional information embedded. After the user data (or part of the information) is embedded, there are generally some additional information, including parameters c, T and the location table for recording pixel overflow information, so some strategy is needed to embed them into the carrier image . These additional information are often necessary to start watermark extraction, so it is necessary to ensure that it can be calculated first when the watermark is extracted. A simple strategy is shown in Figure 2, which embeds additional information into image edge pixels in the form of LSB (least significant bit) replacement.

基于自适应差值扩展的可逆图像水印的提取和图像还原过程为:The extraction and image restoration process of reversible image watermarking based on adaptive difference expansion is as follows:

1)附加信息提取。这一流程需要首先得到启动水印提取所必需的附加信息,包括自适应差值扩展的两参数c和T,图像复杂度参数α,此外,如果水印提取已经启动,它还要得到对进行下一步水印提取进行指导的附加信息即位置表信息。例如,需要知道下一个差值是不是被扩展过,或者需要知道何种情况标识着所有提取过程的结束。1) Additional information extraction. This process needs to first obtain the additional information necessary to start watermark extraction, including the two parameters c and T of adaptive difference expansion, and the image complexity parameter α. In addition, if the watermark extraction has already been started, it must be obtained for the next step The additional information for guiding watermark extraction is location table information. For example, it is necessary to know whether the next delta is extended, or what condition marks the end of all extraction processes.

2)差值计算。这一过程与水印嵌入过程中的差值计算相同,并且要做到与嵌入时的差值计算做到完全匹配。在这里,主要是像素的划分保持一致,值得注意的是,水印嵌入时是先S2后S1,而提取时是先S1后S22) Difference calculation. This process is the same as the difference calculation in the process of watermark embedding, and it must be completely matched with the difference calculation during embedding. Here, the division of pixels is mainly consistent. It is worth noting that S 2 is first followed by S 1 when watermark is embedded, and S 1 is first followed by S 2 when extracted .

3)水印数据提取。这一步主要是进行自适应差值扩展的逆操作以提取数据并还原原始的差值。在进行提取操作时,需参照位置表中的信息,因为某些像素由于溢出问题并没有进行水印嵌入。3) Watermark data extraction. This step is mainly to perform the inverse operation of adaptive difference expansion to extract data and restore the original difference. When performing the extraction operation, the information in the location table needs to be referred to, because some pixels are not watermarked due to the overflow problem.

4)图像还原。这一步需要通过还原后的差值和参考环境将当前像素还原到原始的状态。4) Image restoration. This step needs to restore the current pixel to its original state through the restored difference and the reference environment.

本发明与现有技术相比所具有的优点在于:Compared with the prior art, the present invention has the following advantages:

(1)本发明通过广义高斯分布得到图像各部分不同的复杂度,进行自适应的差值扩展的水印嵌入和提取,即在图像复杂的区域进行少量的嵌入,在图像平缓的区域进行大量数据的嵌入,相比传统方法,明显增大了水印的嵌入容量并提高了图像的视觉质量。(1) The present invention obtains the different complexity of each part of the image through the generalized Gaussian distribution, and performs adaptive difference expansion watermark embedding and extraction, that is, a small amount of embedding is performed in complex areas of the image, and a large amount of data is performed in gentle areas of the image Compared with the traditional method, the embedding capacity of the watermark is significantly increased and the visual quality of the image is improved.

(2)本发明由于完整的构建了上下文,因此在相同的PSNR时,比一般方法提高了容量失真比。(2) Since the present invention completely constructs the context, it improves the capacity-to-distortion ratio compared with the general method at the same PSNR.

(3)本发明通过在图像平稳区域嵌入较多水印,在嵌入水印数据较多的时候,可以得到更好的效果。(3) In the present invention, by embedding more watermarks in the stable region of the image, a better effect can be obtained when there are more embedded watermark data.

附图说明Description of drawings

图1为本发明中的自适应差值扩展的可逆图像水印方法示意图;Fig. 1 is a schematic diagram of the reversible image watermarking method of adaptive difference expansion in the present invention;

图2为本发明中附加信息嵌入示意图;Fig. 2 is a schematic diagram of embedding additional information in the present invention;

图3为本发明中水印上下文模型示意图;FIG. 3 is a schematic diagram of a watermark context model in the present invention;

图4为本发明中水印图像的交替划分示意图;Fig. 4 is a schematic diagram of alternate division of watermark images in the present invention;

图5为本发明中水平和垂直方向上下文示意图。Fig. 5 is a schematic diagram of horizontal and vertical contexts in the present invention.

具体实施方式Detailed ways

本发明首先基于高斯统计特性,得到图像复杂度,然后提出一种新的像素划分即交替划分得到上下文估计模型,进而获取估计差值,最后利用已有的图像复杂度和估计差值进行自适应差值扩展,实现水印的嵌入和提取。The present invention first obtains the image complexity based on Gaussian statistical characteristics, then proposes a new pixel division, that is, alternately divides to obtain the context estimation model, and then obtains the estimated difference value, and finally uses the existing image complexity and estimated difference value to perform self-adaptation Difference expansion to realize watermark embedding and extraction.

如图1所示,本发明的整体流程包括水印嵌入部分和水印提取部分两大部分。水印嵌入部分包括预处理过程和水印嵌入过程;水印提取部分包括提取预处理过程和水印提取过程。在水印嵌入之前,先需要对原图像进行预处理,预处理过程包括交替划分、差值计算,计算图像复杂度并设置参数,如图1中左上侧虚线框内所示;在水印嵌入过程中,使用自适应扩展进行相应的水印嵌入,接着将嵌入附加信息,如图1中左下侧虚线框内所示。在提取预处理过程中,首先进行附加信息提取,差值计算,接着进行自适应差值扩展的逆操作,进行水印数据提取并还原原始的差值,如图1中右上侧虚线框内所示;最后在水印提取过程中通过还原后的差值进行水印的提取和图像的还原,如图1中右侧虚线框内所示。下面分别详细介绍上述四个过程,即预处理过程和水印嵌入过程,提取预处理过程和水印提取过程。As shown in FIG. 1 , the overall process of the present invention includes two parts: a watermark embedding part and a watermark extraction part. The watermark embedding part includes the preprocessing process and the watermark embedding process; the watermark extraction part includes the extraction preprocessing process and the watermark extraction process. Before the watermark is embedded, the original image needs to be preprocessed. The preprocessing process includes alternate division, difference calculation, image complexity calculation and parameter setting, as shown in the dotted line box on the upper left side of Figure 1; during the watermark embedding process , use adaptive expansion to embed the corresponding watermark, and then embed additional information, as shown in the dotted box on the lower left side in Figure 1. In the process of extracting and preprocessing, the additional information is first extracted, the difference is calculated, and then the inverse operation of adaptive difference expansion is performed to extract the watermark data and restore the original difference, as shown in the dotted line box on the upper right side of Figure 1 ; Finally, in the watermark extraction process, the watermark is extracted and the image is restored through the restored difference value, as shown in the dotted line box on the right side of Fig. 1 . The above four processes are described in detail below, namely the preprocessing process and the watermark embedding process, the extraction preprocessing process and the watermark extraction process.

1.如图1所示,本发明的预处理过程具体实现步骤如下:1. as shown in Figure 1, the specific implementation steps of the pretreatment process of the present invention are as follows:

步骤1:交替划分。针对自适应的差值扩展,需使用当前像素周围的所有像素来构建上下文模型。考虑到当前像素周围的八个像素中,与当前像素最接近的是横向与纵向的四个像素,因此使用这四个像素来构造上下文,如图3所示。令原始图像为Step 1: Divide alternately. For adaptive interpolation, all pixels around the current pixel are used to build a context model. Considering that among the eight pixels around the current pixel, the four pixels closest to the current pixel are the horizontal and vertical four pixels, so these four pixels are used to construct the context, as shown in FIG. 3 . Let the original image be

l={x(i,j)|1≤i≤H,1≤j≤W},i,j为像素坐标位置(1)l={x(i, j)|1≤i≤H, 1≤j≤W}, i, j are pixel coordinate positions (1)

其中H和W分别表示图像的高和宽。为了给每一个像素构造上下文,首先将原始图像中的所有像素划分为两个不相交的像素集S1和S2,即交替划分,如图4所示,像素集由where H and W represent the height and width of the image, respectively. In order to construct a context for each pixel, all pixels in the original image are first divided into two disjoint pixel sets S 1 and S 2 , that is, alternately divided, as shown in Figure 4, the pixel sets are composed of

SS 11 == {{ xx (( ii ,, jj )) || (( ii modmod 22 )) ⊕⊕ (( jj modmod 22 )) == 00 }} SS 22 == {{ xx (( ii ,, jj )) || (( ii modmod 22 )) ⊕⊕ (( jj modmod 22 )) == 11 }} -- -- -- (( 22 ))

分别表示,其中1≤i≤H1≤j≤W,mod为取余数,为异或,由于图像边缘的像素(图4中以灰色显示)不具有完整的上下文,因此本发明不对其进行差值扩展。represent respectively, where 1≤i≤H1≤j≤W, mod is to take the remainder, is XOR, since the pixels at the edge of the image (shown in gray in FIG. 4 ) do not have complete context, the present invention does not perform differential extension on them.

步骤2:差值计算。针对已经构建出来的上下文,计算出图像中每个像素的估计值,然后通过与原始像素的比较求出其差值。该步骤可分为先后两部分,首先第一部分,利用S1中的像素来估计S2中的像素,此时S1为原始的像素值;然后第二部分,利用S2中的像素来估计S1中的像素,此时S2为嵌入水印后的像素值。Step 2: Difference calculation. For the context that has been constructed, the estimated value of each pixel in the image is calculated, and then the difference is calculated by comparing with the original pixel. This step can be divided into two parts. First, the first part uses the pixels in S1 to estimate the pixels in S2 . At this time, S1 is the original pixel value; then the second part uses the pixels in S2 to estimate The pixel in S 1 , at this time S 2 is the pixel value after embedding the watermark.

具体算法将四个邻居像素分为正交的水平和竖直方向,如图5所示,邻居像素分别为xu,xd,xl,xr,分别计算每个方向的两个像素的平均值,并赋予这两个平均值不同的权值以对中心的像素x进行估计。两个方向的平均值按公式(3)进行计算。The specific algorithm divides the four neighbor pixels into orthogonal horizontal and vertical directions, as shown in Figure 5, the neighbor pixels are x u , x d , x l , x r , and the two pixels in each direction are calculated separately mean, and give these two mean values different weights to estimate the center pixel x. The average value of the two directions is calculated according to formula (3).

xx vv == (( xx uu ++ xx dd )) 22 xx hh == (( xx ll ++ xx rr )) 22 -- -- -- (( 33 ))

令垂直方向平均值xv和水平方向平均值xh的权值为wv、wh,则

Figure BDA0000052990430000053
的计算方式为Let the weights of the vertical average x v and the horizontal average x h be w v , w h , then
Figure BDA0000052990430000053
is calculated as

xx ^^ == ww vv ·&Center Dot; xx vv ++ ww hh ·&Center Dot; xx hh ww vv ++ ww hh == 11 -- -- -- (( 44 ))

令σ(h)和σ(v)分别为水平和竖直方向的均方差,按公式Let σ(h) and σ(v) be the mean square error in the horizontal and vertical directions respectively, according to the formula

σσ (( vv )) == 11 33 ΣΣ kk == 11 33 (( SS vv (( kk )) -- xx avgavg )) 22 σσ (( hh )) == 11 33 ΣΣ kk == 11 33 (( SS hh (( kk )) -- xx avgavg )) 22 -- -- -- (( 55 ))

进行计算,其中xavg为邻像素的平均值Calculate, where x avg is the average value of adjacent pixels

xx avgavg == xx uu ++ xx dd ++ xx ll ++ xx rr 44 -- -- -- (( 66 ))

并目Sv和Sh为像素集合:And let S v and Sh be pixel sets:

SS vv == {{ xx uu ,, xx vv ,, xx dd }} SS hh == {{ xx ll ,, xx hh ,, xx rr }} -- -- -- (( 77 ))

权重wv和wh的计算方法为The weights w v and w h are calculated as

ww vv == σσ (( hh )) σσ (( hh )) ++ σσ (( vv )) ,, ww hh == 11 -- ww vv -- -- -- (( 88 ))

当获得像素的估计值

Figure BDA0000052990430000062
后,可根据When obtaining the estimated value of the pixel
Figure BDA0000052990430000062
later, according to

ee == xx -- xx ^^ -- -- -- (( 99 ))

计算x的估计误差。S1和S2的估计误差组成的集合E1和E2Computes the estimation error of x. The sets E 1 and E 2 composed of the estimation errors of S 1 and S 2 are

EE. 11 == {{ ee (( ii ,, jj )) || xx (( ii ,, jj )) ∈∈ SS 11 }} EE. 22 == {{ ee (( ii ,, jj )) || xx (( ii ,, jj )) ∈∈ SS 22 }} -- -- -- (( 1010 ))

其中e(i,j)为通过公式(9)计算出的像素x(i,j)的估计误差。这两个估计误差集合将被用于嵌入水印数据。Where e(i, j) is the estimation error of pixel x(i, j) calculated by formula (9). These two sets of estimation errors will be used to embed the watermark data.

步骤3:参数设置。该步骤主要包括两个方面的参数设置,首先计算出图像复杂度;然后,根据嵌入水印数据的多少,确定自适应差值扩展的两参数c和T,最后,当用户的需求不能被满足时,还可以判断是否报告嵌入失败。Step 3: Parameter setting. This step mainly includes parameter settings in two aspects. First, calculate the image complexity; then, according to the amount of embedded watermark data, determine the two parameters c and T of adaptive difference expansion; finally, when the user's needs cannot be met , which also determines whether to report embedding failures.

图像复杂度的估计:利用小波域内的广义高斯分布(GGD)的密度函数的形状参数作为图像复杂度的衡量参数,由此图像复杂度的估计转换为对密度函数的形状参数的估计,通过曲线拟合方法进行估计,并令最终得到估计值为图像复杂度α。Estimation of image complexity: Using the shape parameter of the density function of the generalized Gaussian distribution (GGD) in the wavelet domain as a measure of image complexity, the estimation of image complexity is converted into an estimate of the shape parameter of the density function, through the curve The fitting method is estimated, and the final estimated value is the image complexity α.

对于广义高斯分布,一般考虑高斯分布均值u=0的情形。设x=(x1,x2,...,xn)为来自均值u=0的GGD总体X的一个样本,由于GGD对称分布,其一阶原点矩为零,故可以采用绝对矩来进行计算。For the generalized Gaussian distribution, the case where the mean value of the Gaussian distribution is u=0 is generally considered. Let x=(x 1 , x 2 ,...,x n ) be a sample from the GGD population X with mean u=0, because GGD is symmetrically distributed, its first-order origin moment is zero, so the absolute moment can be used to Calculation.

当u=0时,一阶绝对矩为When u=0, the first-order absolute moment is

mm 11 == EE. {{ || xx || }}

== ∫∫ -- ∞∞ ++ ∞∞ || xx || αα 22 βΓβΓ (( 11 // αα )) ee -- || xx ββ || αα dxdx -- -- -- (( 1111 ))

== αα βΓβΓ (( 11 // αα )) ∫∫ 00 ++ ∞∞ || xx || ee -- || xx ββ || αα dxdx

得x=βy1/α代入上述公式得make Get x=βy 1/α , Substitute into the above formula to get

αα βΓβΓ (( 11 // αα )) ∫∫ 00 ++ ∞∞ ythe y 22 aa -- 11 ee -- ythe y dydy == ββ ΓΓ (( 22 // αα )) ΓΓ (( 11 // αα )) -- -- -- (( 1212 ))

再将

Figure BDA00000529904300000611
代入得then
Figure BDA00000529904300000611
substitute

mm 11 == EE. {{ || xx || }} == σσ ΓΓ (( 22 // αα )) ΓΓ (( 11 // αα )) ΓΓ (( 33 // αα )) -- -- -- (( 1313 ))

同理可得二阶矩为Similarly, the second moment can be obtained as

m2=E{|x2|}=σ2    (14)m 2 =E{|x 2 |}=σ 2 (14)

Figure BDA0000052990430000072
记and
Figure BDA0000052990430000072
remember

RR (( αα )) == EE. 22 {{ || Xx || }} EE. {{ Xx 22 }} == ΓΓ 22 (( 22 // αα )) ΓΓ (( 11 // αα )) ΓΓ (( 33 // αα )) == mm 11 22 mm 22 -- -- -- (( 1515 ))

将R(α)称为广义高斯参数比函数;而m1,m2的估计

Figure BDA0000052990430000074
可由下式得到R(α) is called the generalized Gaussian parameter ratio function; and the estimation of m 1 and m 2
Figure BDA0000052990430000074
can be obtained by the following formula

mm ^^ 11 == 11 nno ΣΣ ii == 11 nno || xx ii || ,, mm ^^ 22 == 11 nno ΣΣ ii == 11 nno xx ii 22 -- -- -- (( 1616 ))

从而形状参数α的估计为The shape parameter α is thus estimated as

αα ^^ == RR -- 11 (( mm ^^ 11 22 mm ^^ 22 )) -- -- -- (( 1717 ))

其中in

RR (( xx )) == ΓΓ 22 (( 22 // xx )) ΓΓ (( 11 // xx )) ΓΓ (( 33 // xx )) -- -- -- (( 1818 ))

R(x)的反函数R-1(x)的解析式很难求得,故采用数值拟合的方法。The analytical formula of the inverse function R -1 (x) of R(x) is difficult to obtain, so the method of numerical fitting is adopted.

双曲线函数拟合原函数R(x)则建立拟合模型y=a+b/x,采用最小二乘法拟合,得原函数的逼近函数为The hyperbolic function fits the original function R(x) to establish a fitting model y=a+b/x, and adopts the least squares method to fit, and the approximation function of the original function is

ythe y == 0.771270.77127 -- 0.269610.26961 xx

从而逼近函数的原函数为The original function of the approximation function is thus

RR -- 11 (( xx )) == -- 0.269610.26961 xx -- 0.771270.77127 -- -- -- (( 1919 ))

故拟合模型为

Figure BDA00000529904300000711
利用最小二乘法求得反函数的拟合函数为So the fitted model is
Figure BDA00000529904300000711
Using the least squares method to obtain the fitting function of the inverse function is

RR -- 11 (( xx )) == 0.27180.2718 0.76970.7697 -- xx -- 0.12470.1247 -- -- -- (( 2020 ))

综上所述,通过公式(17)和(20)得到参数α的估计,进而得到了图像复杂度。To sum up, the parameter α is estimated by formulas (17) and (20), and then the image complexity is obtained.

确定自适应差值扩展的两参数常量c和嵌入容量T,如图5所示,区域的平稳程度通过方差σ2来得到,Determine the two-parameter constant c and embedding capacity T of the adaptive difference expansion, as shown in Figure 5, the smoothness of the region is obtained by the variance σ 2 ,

σσ 22 == 11 44 ΣΣ kk == 11 44 (( xx ii (( kk )) -- xx avgavg )) 22 xx == {{ xx ll ,, xx rr ,, xx uu ,, xx dd }} -- -- -- (( 21twenty one ))

其中in

xx avgavg == xx uu ++ xx dd ++ xx ll ++ xx rr 44 -- -- -- (( 22twenty two ))

由此,差值扩展的基数可通过Thus, the base of difference expansion can be obtained by

Figure BDA0000052990430000083
Figure BDA0000052990430000083

其中,c为常数,α为载体图像的复杂度,T为阈值,c和T用来控制图像的水印的嵌入容量。为了防止像素溢出严重化,需保证2≤T≤10,对于常数c,一般来说,其值越大,嵌入的水印越多但图像的失真越严重,反之亦然。Among them, c is a constant, α is the complexity of the carrier image, T is the threshold, c and T are used to control the embedding capacity of the watermark of the image. In order to prevent the seriousness of pixel overflow, it is necessary to ensure that 2≤T≤10. For the constant c, generally speaking, the larger the value, the more embedded watermarks but the more serious image distortion, and vice versa.

2.水印嵌入过程2. Watermark embedding process

在水印嵌入过程中,通过图像复杂度α,自适应扩展参数c和T,确定自适应扩展基数bij。假设w表示长度为l的待嵌水印数据,为了表述方便,令w=w1,w2,...,wn,其中n=l/8并且w1,i=1,2,...n包含8位二进制数据。接下来给出其详细实现步骤:In the watermark embedding process, the adaptive extension base b ij is determined by the image complexity α, the adaptive extension parameters c and T. Assuming that w represents the watermark data to be embedded with a length of l, for the convenience of expression, let w=w 1 , w 2 ,..., w n , where n=l/8 and w 1 , i=1, 2, .. .n contains 8-bit binary data. The detailed implementation steps are given below:

(2.1)确定自适应扩展基数bij,通过图像复杂度α,及自适应扩展参数c和T,通过公式计算(2.1) Determine the adaptive extension base b ij , through the image complexity α, and the adaptive extension parameters c and T, calculated by the formula

Figure BDA0000052990430000084
Figure BDA0000052990430000084

确定自适应扩展基数bij,其中σ2为方差,用于衡量区域的平稳程度;Determine the adaptive expansion base b ij , where σ 2 is the variance, which is used to measure the stability of the region;

(2.2)假设w表示长度为l的待嵌的二进制水印数据,将w分为n个8位的块,令w=w1,w2,...,wn,其中n=l/8并目wt,t=1,2,...n包含8位二进制数据;(2.2) Assuming that w represents the binary watermark data to be embedded with a length of l, divide w into n 8-bit blocks, let w=w 1 , w 2 ,..., w n , where n=l/8 And head w t , t=1, 2,... n contains 8-bit binary data;

(2.3)读取水印数据wt,并将其转换为十进制wdt,为了判断wdt是否嵌入完毕,给出变量u进行标识,初始化u为1;(2.3) Read the watermark data w t and convert it to decimal w dt , in order to judge whether w dt is embedded or not, give the variable u for identification, and initialize u to 1;

(2.4)扫描载体图像,针对具体像素xij,已知估计值xij′,自适应扩展基数bij,估计差值eij,通过ri,j=wd,r mod bij得到此处的最终嵌入内容ri,j,然后利用公式(2.4) Scan the carrier image, for a specific pixel x ij , known estimated value x ij ′, adaptive extension base b ij , and estimated difference e ij , get here by r i, j = w d, r mod b ij The final embedded content r i, j , and then use the formula

ee ′′ == ee ×× bb ++ rr ,, bb ≠≠ 11 ee ,, bb == 11 -- -- -- (( 24twenty four ))

进行自适应嵌入,从而得到嵌入后像素值xij″;Perform adaptive embedding to obtain the embedded pixel value x ij ";

在(2.4)中的自适应嵌入过程中,若x″>255或者x″<0,则跳过该像素的水印嵌入,并利用位置表记录该像素的位置和像素溢出信息;In the adaptive embedding process in (2.4), if x">255 or x"<0, then skip the watermark embedding of the pixel, and use the position table to record the position and pixel overflow information of the pixel;

(2.5)步骤(2.4)嵌入完成后,更新

Figure BDA0000052990430000092
u=u×bij,若u>255,读入下一个水印数据wt+1并置u=1,转入步骤(2.3)嵌入下一位水印;否则转入步骤(2.4)继续wd,t的嵌入;(2.5) After step (2.4) is embedded, update
Figure BDA0000052990430000092
u=u×b ij , if u>255, read in the next watermark data w t+1 and set u=1, go to step (2.3) to embed the next watermark; otherwise go to step (2.4) and continue w d , the embedding of t ;

(2.6)进行附加信息嵌入,所述附加信息包括参数c、T,参数α即图像复杂度和嵌入过程(2.5)中记录像素溢出信息的位置表;至此水印嵌入过程结束,得到嵌入后图像;(2.6) Carry out additional information embedding, described additional information comprises parameter c, T, and parameter α is image complexity and the location table of recording pixel overflow information in embedding process (2.5); So far the watermark embedding process ends, obtains the image after embedding;

水印嵌入完成后,进行附加信息嵌入过程。附加信息包括参数c,T和记录像素溢出信息的位置表。这些附加信息是启动水印提取所必需的,因而需要保证在水印提取时它能最先被计算出来。一个简单的策略如图2所示,将附加信息以LSB替换的方式嵌入到图像边缘像素中。至此水印嵌入结束,得到嵌入后图像。After the watermark embedding is completed, the additional information embedding process is carried out. Additional information includes parameters c, T and a location table that records pixel overflow information. These additional information are necessary to start the watermark extraction, so it needs to be guaranteed that it can be calculated first when the watermark is extracted. A simple strategy, shown in Figure 2, embeds additional information into image edge pixels in the form of LSB replacement. At this point, the watermark embedding is completed, and the embedded image is obtained.

3.水印提取部分包括提取预处理过程。3. The watermark extraction part includes extraction preprocessing.

提取预处理过程,首先提取附加信息,这一流程为附加信息嵌入的逆过程。In the extraction preprocessing process, the additional information is extracted first, and this process is the reverse process of embedding additional information.

(3.1)首先进行附加信息提取过程,这一过程为附加信息嵌入的逆过程,得到自适应差值扩展的两参数c和T,图像复杂度参数α和位置表,例如如果使用LSB(最低有效位)方式将附加信息可逆的嵌入到图像边缘像素中,则可以使用LSB的水印提取算法,将附加信息从图像边缘像素中提取出来;(3.1) Firstly, the additional information extraction process is carried out. This process is the inverse process of additional information embedding, and the two parameters c and T of adaptive difference expansion, the image complexity parameter α and the position table are obtained. For example, if LSB (least effective bit) to reversibly embed the additional information into the edge pixels of the image, then the LSB watermark extraction algorithm can be used to extract the additional information from the edge pixels of the image;

(3.2)然后通过与水印嵌入的预处理过程中相同的划分进行差值计算,这一过程与预处理过程(2.1)中的差值计算相同,并且要做到与嵌入时的差值计算做到完全匹配,即像素的划分保持一致,因为水印嵌入时差值计算是先计算集合S2的差值,然后使用S2的结果计算S1的差值,所以提取时是先计算S1的差值,然后计算S2的差值;(3.2) Then the difference calculation is performed through the same division as in the preprocessing process of watermark embedding. This process is the same as the difference calculation in the preprocessing process (2.1), and it must be done with the difference calculation during embedding. to a complete match, that is, the division of pixels remains consistent, because when the watermark is embedded, the difference calculation is to calculate the difference of the set S 2 first, and then use the result of S 2 to calculate the difference of S 1 , so the extraction is to calculate S 1 first difference, and then calculate the difference of S2 ;

4.水印提取过程4. Watermark extraction process

水印提取过程即水印提取与图像还原过程:通过附加信息的提取得到了图像复杂度α,自适应扩展参数c、T和位置表,并利用上下文的构建得到了嵌入图像的估计差值后,接下来给出其详细实现步骤:The watermark extraction process is the process of watermark extraction and image restoration: the image complexity α is obtained through the extraction of additional information, the adaptive expansion parameters c, T and the position table are obtained, and the estimated difference of the embedded image is obtained by using the construction of the context, and then The detailed implementation steps are given below:

所述水印提取过程,为嵌入过程的逆过程,具体步骤如下:The watermark extraction process is the inverse process of the embedding process, and the specific steps are as follows:

(4.1)初始化标识变量u为1,因为图像边缘区域并没有进行水印的嵌入,所以,对i=1或j=1的区域,图像像素保持不变,直接还原;(4.1) Initialize the identification variable u to be 1, because the watermark is not embedded in the image edge area, so, for the area of i=1 or j=1, the image pixels remain unchanged and are directly restored;

(4.2)扫描嵌入图像,针对具体像素x″,已知估计值x′,自适应扩展基数bij,估计差值e′ij,通过公式(4.2) Scanning the embedded image, for a specific pixel x″, knowing the estimated value x′, adaptively expanding the base b ij , and estimating the difference e′ ij , through the formula

rij=eij′%bij,bij≠1r ij =e ij ′% b ij , b ij ≠1

得到此处的嵌入水印ri,j,然后利用公式Get the embedded watermark r i, j here, and then use the formula

Figure BDA0000052990430000101
Figure BDA0000052990430000101

恢复原始差值eij,进而得到图像原始像素;Restore the original difference e ij , and then get the original pixel of the image;

在(4.2)中的提取过程中,若位置表中记录了该位置,则跳过该位置的水印提取,同时保持像素不变。During the extraction process in (4.2), if the location is recorded in the location table, the watermark extraction of this location is skipped, while keeping the pixel unchanged.

(4.3)步骤(4.2)提取完成后,将ri,j,bij分别放入集合Rt,Bt中,ri,j,bij中的i,j为坐标,其在Rt,Bt中的位置为放入的顺序,并更新u=u ×bij(4.3) After step (4.2) is extracted, put r i, j , b ij into sets R t , B t respectively, i, j in r i, j , b ij are the coordinates, which are in R t , The position in B t is the order of putting in, and update u=u ×b ij ;

若u>255,记此时集合R的大小为m,通过公式If u>255, record the size of the set R at this time as m, through the formula

ww tt (( ii )) == ww tt (( ii ++ 11 )) &times;&times; BB (( ii )) ++ RR (( ii )) ,, 22 &le;&le; ii << mm 11 ,, ii == mm

则完整水印wt=wt(1),重新置u=1,进行步骤(4.2)提取下一位水印wt+1,若u≤255则继续进行步骤(4.2)。Then the complete watermark w t =w t (1), reset u=1, proceed to step (4.2) to extract the next watermark w t+1 , if u≤255, proceed to step (4.2).

本发明说明书中未作详细描述的内容属于本领域专业技术人员公知的现有技术。The contents not described in detail in the description of the present invention belong to the prior art known to those skilled in the art.

Claims (3)

1. reversible image watermark method based on self-adaptation difference expansion, it is characterized in that: comprise watermark embedded part and watermark extracting part two large divisions, the watermark embedded part comprises preprocessing process and watermark embed process; Watermark extracting partly comprises extracts preprocessing process and watermark extraction process;
Described preprocessing process is:
(1.1) alternately divide, construct the context relation of pixel, original image is divided into disjoint set of pixels S 1And S 2, be used for the calculating of image complexity and the realization that pixel is estimated;
(1.2) difference is calculated, and uses the context that constructs in the preprocessing process step (1), the estimated value of each pixel in the computed image, then by with original pixels relatively ask difference, this step can be divided into two parts successively: first at first, utilize S 1In pixel estimate S 2In pixel, this moment S 1Be original pixel value; Second portion utilizes S then 2In pixel estimate S 1In pixel, this moment S 2Be the pixel value behind the embed watermark;
(1.3) parameter setting, comprise the parameter setting of two aspects, at first at original image, the form parameter α of density function that utilizes the generalized Gaussian distribution (GGD) in the wavelet field is as the measurement parameter of image complexity, and by curve-fitting method parameter alpha is estimated, parameter alpha is defined as image complexity; Then, according to what of embed watermark data, determine two parameter c and the T of self-adaptation difference expansion, c and T are similar to the parameter used in the generality expansion, are used for the embedding capacity of watermark of control chart picture;
Described watermark embed process:
(2.1) determine self-adaptation expansion radix b Ij, by the parameter alpha that preprocessing process step (1.3) obtains, promptly image complexity reaches self-adaptation spreading parameter c and T, calculates by formula
Figure FDA0000052990420000011
Determine self-adaptation expansion radix b Ij, i, j are coordinate, σ 2Be variance, be used to weigh the steady degree in zone;
(2.2) suppose that w represents that length is the scale-of-two watermark data for the treatment of embedding of l, the piece with w is divided into n 8 makes w=w 1, w 2..., w n, wherein n=l/8 and w t, t=1,2 ... n comprises 8 bit binary data;
(2.3) read watermark data w t, and be converted into decimal system w D, t, in order to judge w D, tWhether embedding finishes, and provides variable u and identifies, and initialization u is 1;
(2.4) scanning carrier image is at concrete pixel x Ij, known estimated value x Ij', self-adaptation expansion radix b Ij, estimate difference e Ij, pass through r I, j=w D, tMod b IjObtain final embedding content r herein I, jUtilize formula then
e &prime; = e &times; b + r , b = 1 e , b = 1
Carry out self-adaptation and embed, thereby obtain embedding back pixel value x Ij";
In the self-adaptation telescopiny in (2.4), ">255 or x "<0 if x, the watermark of then skipping this pixel embeds, and utilizes location tables to write down this locations of pixels and pixel flooding information;
(2.5) after step (2.4) embeds and finishes, upgrade
Figure FDA0000052990420000022
U=u * b Ij, if next watermark data w is read in u>255 T+1And put u=1, change step (2.3) over to and embed the next bit watermark; Otherwise change step (2.4) over to and continue w D, tEmbedding;
(2.6) carry out additional information and embed, described additional information comprises parameter c, T, and parameter alpha is the location tables of recording pixel flooding information in image complexity and the telescopiny (2.5); So far watermark embed process finishes, and obtains embedding the back image;
Described extraction preprocessing process:
(3.1) at first carry out the additional information leaching process, this process is the inverse process that additional information embeds, and obtains two parameter c and the T of self-adaptation difference expansion, image complexity parameter alpha and location tables;
(3.2) carrying out difference by division identical in the preprocessing process (1.1) then calculates, this process is calculated identical with the difference in the preprocessing process (2.1), and the difference when accomplishing and embedding is calculated and is accomplished to mate fully, the division that is pixel is consistent, and calculating is first S because watermark embeds time difference value 2Back S 1So, be first S when extracting 1Back S 2
Described watermark extraction process is the inverse process of telescopiny, and concrete steps are as follows:
(4.1) initialization marking variable u is 1, because the embedding of watermark is not carried out in the zone, image border, so to the zone of i=1 or j=1, image pixel remains unchanged, and directly reduction;
(4.2) scanning embedded images is at concrete pixel x ", known estimated value x ', self-adaptation expansion radix b Ij, the estimation difference e ' Ij, pass through formula
r ij=e ij′%b ij,b ij≠1
Obtain embed watermark r herein Ij, utilize formula then
Figure FDA0000052990420000023
Recover original difference e Ij, and then obtain the image original pixels;
In the leaching process in (4.2),, then skip the watermark extracting of this position, keep pixel constant simultaneously if write down this position in the location tables.
(4.3) after step (4.2) is extracted and is finished, with r I, j, b IjPut into set R respectively t, B tIn, r I, jb IjIn i, j is a coordinate, it is at R t, B tIn the position be the order of putting into, and upgrade u=u * b Ij
If u>255, the size that note is gathered R this moment is m, passes through formula
w t ( i ) = w t ( i + 1 ) &times; B ( i ) + R ( i ) , 2 &le; i < m 1 , i = m
Then complete watermark w t=w t(1), puts u=1 again, carry out step (4.2) and extract next bit watermark w T+1, if step (4.2) item is proceeded in u≤255.
2. the reversible image watermark method based on the expansion of self-adaptation difference according to claim 1, it is characterized in that: the value of described T is 2≤T≤10.
3. the reversible image watermark method based on the expansion of self-adaptation difference according to claim 1 is characterized in that: described additional information is to be embedded in the image edge pixels in the mode that LSB (Least Significant Bit least significant bit (LSB)) replaces.
CN201110078970XA 2011-03-30 2011-03-30 Adaptive difference expansion-based reversible image watermarking method Expired - Fee Related CN102147912B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110078970XA CN102147912B (en) 2011-03-30 2011-03-30 Adaptive difference expansion-based reversible image watermarking method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110078970XA CN102147912B (en) 2011-03-30 2011-03-30 Adaptive difference expansion-based reversible image watermarking method

Publications (2)

Publication Number Publication Date
CN102147912A true CN102147912A (en) 2011-08-10
CN102147912B CN102147912B (en) 2013-12-04

Family

ID=44422162

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110078970XA Expired - Fee Related CN102147912B (en) 2011-03-30 2011-03-30 Adaptive difference expansion-based reversible image watermarking method

Country Status (1)

Country Link
CN (1) CN102147912B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314668A (en) * 2011-09-09 2012-01-11 北京航空航天大学 Difference-expansion digital-watermark-embedding improvement method for enhancing quality of watermark-embedded image
CN102496135A (en) * 2011-12-06 2012-06-13 银江股份有限公司 Deadweight tonnage (DWT) domain-based digital watermark method and system
CN102760280A (en) * 2012-06-15 2012-10-31 苏州工业职业技术学院 High-capacity reversible watermark embedding and extracting method as well as implement system thereof
CN102903076A (en) * 2012-10-24 2013-01-30 兰州理工大学 Method for embedding and extracting reversible watermark of digital image
CN106067157A (en) * 2016-05-27 2016-11-02 陕西师范大学 The reversible water mark that changing direction difference expansion and synchronizes to embed embeds and extracting method
CN106485640A (en) * 2016-08-25 2017-03-08 广东工业大学 A kind of reversible water mark computational methods based on multi-level IPVO
TWI599559B (en) * 2013-05-08 2017-09-21 Lg化學股份有限公司 Method for preparing ester composition and resin composition
CN107590369A (en) * 2017-08-30 2018-01-16 南京信息工程大学 Homomorphic cryptography domain reversible information hidden method based on code division multiplexing and value extension
CN108010532A (en) * 2017-12-18 2018-05-08 辽宁师范大学 Digital watermark detection method based on Multivariate Gaussian Profile
CN108230226A (en) * 2018-01-08 2018-06-29 西安电子科技大学 Adaptive piecemeal rank-ordered pixels number reversible water mark method, medical image system
CN108898542A (en) * 2018-07-04 2018-11-27 广东工业大学 A kind of insertion and extracting method of reversible water mark
CN110533569A (en) * 2019-08-06 2019-12-03 淮阴工学院 Watermark Processing Method Based on Quadratic Difference Expansion
CN112669191A (en) * 2019-10-15 2021-04-16 国际关系学院 Anti-overflow reversible digital watermark embedding and extracting method based on image content identification
CN114491428A (en) * 2022-02-15 2022-05-13 云南大学 Traceable shared data set information marking and tracing method and system
CN114827380A (en) * 2022-06-30 2022-07-29 智联信通科技股份有限公司 Network security detection method based on artificial intelligence
CN115631084A (en) * 2022-10-14 2023-01-20 淮阴工学院 Reversible watermarking algorithm based on IWT and interpolation expansion

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070201099A1 (en) * 2002-09-10 2007-08-30 Canon Kabushiki Kaisha Method and apparatus for embedding digital-watermark using robustness parameter
CN101364300A (en) * 2008-05-30 2009-02-11 西安电子科技大学 Digital Watermarking Method Based on Gray Theory
CN101477675A (en) * 2008-01-03 2009-07-08 南开大学 Reversible digital watermarking process based on boosted wavelet transforming

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070201099A1 (en) * 2002-09-10 2007-08-30 Canon Kabushiki Kaisha Method and apparatus for embedding digital-watermark using robustness parameter
CN101477675A (en) * 2008-01-03 2009-07-08 南开大学 Reversible digital watermarking process based on boosted wavelet transforming
CN101364300A (en) * 2008-05-30 2009-02-11 西安电子科技大学 Digital Watermarking Method Based on Gray Theory

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曾骁,陈真勇,陈明,熊璋: "基于全方向预测与误差扩展的可逆数据隐藏", 《计算机研究与发展》, 30 September 2010 (2010-09-30) *

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314668A (en) * 2011-09-09 2012-01-11 北京航空航天大学 Difference-expansion digital-watermark-embedding improvement method for enhancing quality of watermark-embedded image
CN102496135A (en) * 2011-12-06 2012-06-13 银江股份有限公司 Deadweight tonnage (DWT) domain-based digital watermark method and system
CN102496135B (en) * 2011-12-06 2013-10-30 银江股份有限公司 Deadweight tonnage (DWT) domain-based digital watermark method and system
CN102760280A (en) * 2012-06-15 2012-10-31 苏州工业职业技术学院 High-capacity reversible watermark embedding and extracting method as well as implement system thereof
CN102760280B (en) * 2012-06-15 2014-12-17 苏州工业职业技术学院 High-capacity reversible watermark embedding and extracting method as well as implement system thereof
CN102903076A (en) * 2012-10-24 2013-01-30 兰州理工大学 Method for embedding and extracting reversible watermark of digital image
TWI599559B (en) * 2013-05-08 2017-09-21 Lg化學股份有限公司 Method for preparing ester composition and resin composition
CN106067157B (en) * 2016-05-27 2019-06-11 陕西师范大学 A Reversible Watermark Embedding and Extraction Method for Variable-Direction Difference Extension and Synchronous Embedding
CN106067157A (en) * 2016-05-27 2016-11-02 陕西师范大学 The reversible water mark that changing direction difference expansion and synchronizes to embed embeds and extracting method
CN106485640A (en) * 2016-08-25 2017-03-08 广东工业大学 A kind of reversible water mark computational methods based on multi-level IPVO
CN107590369A (en) * 2017-08-30 2018-01-16 南京信息工程大学 Homomorphic cryptography domain reversible information hidden method based on code division multiplexing and value extension
CN107590369B (en) * 2017-08-30 2020-09-08 南京信息工程大学 Homomorphic encrypted domain reversible information hiding method based on code division multiplexing and value expansion
CN108010532B (en) * 2017-12-18 2021-09-24 辽宁师范大学 A digital watermark detection method based on multivariate generalized Gaussian distribution
CN108010532A (en) * 2017-12-18 2018-05-08 辽宁师范大学 Digital watermark detection method based on Multivariate Gaussian Profile
CN108230226A (en) * 2018-01-08 2018-06-29 西安电子科技大学 Adaptive piecemeal rank-ordered pixels number reversible water mark method, medical image system
CN108230226B (en) * 2018-01-08 2021-09-10 西安电子科技大学 Self-adaptive block pixel value sequencing digital reversible watermarking method and medical image system
CN108898542A (en) * 2018-07-04 2018-11-27 广东工业大学 A kind of insertion and extracting method of reversible water mark
CN110533569A (en) * 2019-08-06 2019-12-03 淮阴工学院 Watermark Processing Method Based on Quadratic Difference Expansion
CN110533569B (en) * 2019-08-06 2023-03-31 淮阴工学院 Watermark processing method based on quadratic difference expansion
CN112669191A (en) * 2019-10-15 2021-04-16 国际关系学院 Anti-overflow reversible digital watermark embedding and extracting method based on image content identification
CN112669191B (en) * 2019-10-15 2023-07-04 国际关系学院 Anti-overflow reversible digital watermark embedding and extracting method based on image content identification
CN114491428A (en) * 2022-02-15 2022-05-13 云南大学 Traceable shared data set information marking and tracing method and system
CN114827380A (en) * 2022-06-30 2022-07-29 智联信通科技股份有限公司 Network security detection method based on artificial intelligence
CN114827380B (en) * 2022-06-30 2022-09-02 智联信通科技股份有限公司 Network security detection method based on artificial intelligence
CN115631084A (en) * 2022-10-14 2023-01-20 淮阴工学院 Reversible watermarking algorithm based on IWT and interpolation expansion

Also Published As

Publication number Publication date
CN102147912B (en) 2013-12-04

Similar Documents

Publication Publication Date Title
CN102147912B (en) Adaptive difference expansion-based reversible image watermarking method
Ouyang et al. Color image watermarking based on quaternion Fourier transform and improved uniform log-polar mapping
CN107067362B (en) High dynamic range image watermarking method for resisting tone mapping
CN110232650B (en) A color image watermark embedding method, detection method and system
CN106023058A (en) High-fidelity reversible watermark embedding method
CN106228501B (en) An Adaptive Reversible Digital Watermarking Method Based on Integer Transformation
CN102044061A (en) Embedding method and extracting method of reversible watermarks
CN106097241B (en) Reversible information hidden method based on eight neighborhood pixel
CN101504760A (en) Digital image concealed information detecting and positioning method
CN105741224A (en) Reversible watermarking algorithm based on PVO (Pixel Value Ordering) and self-adaptive block segmentation
CN104778651A (en) Digital image authentication method based on super-pixels
CN117615075A (en) Watermark adding and watermark identification method, device, equipment and readable storage medium
CN110232651A (en) A kind of reversible information hidden method based on block prediction and difference histogram shifting
CN108280797A (en) A kind of Arithmetic on Digital Watermarking of Image system based on Texture complication and JND model
CN104766269A (en) Spread transform dither modulation watermarking method based on JND brightness model
CN103559676A (en) Method for preventing color image blind watermarking from being printed and scanned based on DCT coefficient statistical property
CN108616757B (en) Video watermark embedding and extracting method capable of extracting watermark after copying
CN111640052B (en) A Robust Large-capacity Digital Watermarking Method Based on Marker Code
CN101887574A (en) A Robust Fingerprint Embedding and Extraction Method Against Geometric Attacks
CN104318505A (en) Three-dimensional mesh model blind watermarking method based on image discrete cosine transformation
CN111062853A (en) Self-adaptive image watermark embedding method and system and self-adaptive image watermark extracting method and system
CN105848010A (en) Mobile device video watermark embedding and extracting method based on block combination
CN113179407B (en) Video watermark embedding and extraction method and system based on inter-frame DCT coefficient correlation
Kunhu et al. A reversible watermarking scheme for ownership protection and authentication of medical images
CN111127288B (en) Reversible image watermark processing method, device and computer-readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB03 Change of inventor or designer information

Inventor after: Wang Jingyuan

Inventor after: Wang Zhuo

Inventor after: Chen Zhenyong

Inventor after: Fan Wei

Inventor after: Luo Lixin

Inventor after: Xiong Zhang

Inventor before: Wang Zhuo

Inventor before: Chen Zhenyong

Inventor before: Fan Wei

Inventor before: Luo Lixin

Inventor before: Xiong Zhang

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: WANG ZHUO CHEN ZHENYONG FAN WEI LUO LIXIN XIONG ZHANG TO: WANG JINGYUAN WANG ZHUO CHEN ZHENYONG FAN WEI LUO LIXIN XIONG ZHANG

C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20161010

Address after: 18, building 1006, block C, Shenzhen International Innovation Center, No. 518033 Shennan Road, Shenzhen, Guangdong, Futian District

Patentee after: Shenzhen Air Technology Co., Ltd.

Address before: 100191 Haidian District, Xueyuan Road, No. 37,

Patentee before: Beihang University

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131204

Termination date: 20170330

CF01 Termination of patent right due to non-payment of annual fee