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
expansion
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

The invention discloses an adaptive difference expansion-based reversible image watermarking method, which comprises a watermark embedding process, a watermark extraction process and an image recovery process; before watermarks are embedded, the original image needs to be pretreated, and the pretreatment comprises alternated division, difference calculation, image complexity calculation and parameter setting; in the embedding process, the corresponding watermarks are embedded by using adaptive expansion; additional information is embedded, and the watermark data and the additional information are mixed and embedded under a specific condition; in the extraction process, the additional information is first extracted, and the difference is calculated; the inverse operation of the adaptive difference expansion is performed, the watermark data are extracted, and the original difference is reduced; and finally, the image is reduced through the reduced difference. The method has reversibility, and can provide higher embedding capacity and better image quality, particularly under the condition of many embedded watermark data.

Description

A kind of reversible image watermark method based on the expansion of self-adaptation difference
Technical field
The present invention relates to a kind of embedding and extracting method of reversible image watermark, particularly a kind of reversible image watermark method based on the expansion of self-adaptation difference.
Background technology
The numerical information revolution has brought deep variation for human society and life, and various Digital Medias works have brought new challenge when enriching people's lives.The digital multimedia works duplicate and distribute the cheap of cost, make digital piracy very general, so safety problems such as digital copyright protecting and content integrity checking become the problem that presses for solution.Digital watermarking in digital picture, text, video or sound signal, has become a kind of effective means of protecting digital media content safety with some Information hiding.In most of existing digital watermark methods, host's medium are because the embedding of watermark signal can and can't revert to embed watermark state before by permanent change.Though the distortion that watermark is introduced is not easy to be discovered by people's sensory perceptual system usually, but the data fidelity is required in the high special dimension at some, as military image, medical image, satellite remote sensing images or legal argument image etc., any small distortion is not allowed to.Therefore the application of digital watermark technology in these fields has been subjected to very big restriction.In order to address this problem, people have proposed the notion of reversible digital watermarking, and this watermarking project can guarantee the virgin state when extracting end host's medium are accurately reverted to it and are not embedded into watermark in embed watermark information protection digital publishing rights.Since Barton in 1997 proposed the notion of reversible water mark for the first time, existing in recent years scholar proposed some reversible water mark algorithms.Existing reversible water mark algorithm consists essentially of dual mode, promptly embeds in the spatial domain and embeds in frequency domain.
Embed reversible water mark in the spatial domain, because realization is simple relatively, the embedding volume ratio is bigger, thereby becomes the focus of nearest research.Invisible reversible water mark in the spatial domain mainly is divided three classes: based on compression of images, based on the difference expansion with based on histogram modification.
Generally adopt lossless compression algorithm that image is compressed with vacating space in the insensitive part of human eye based on the algorithm of compression of images and come embed watermark, the embedding capacity depends on compressibility, the embedding capacity is generally little, and the complexity of compression of images computing efficiently, so this class watermark computation complexity is than higher; Reversible image algorithm based on histogram modification is a statistical property of utilizing image pixel, carries out histogram and moves and obtain embedded space; Algorithm based on the difference expansion is to utilize picture material to have correlativity, neighbor has more close value usually, therefore the difference of two neighbors is less, by the difference of extending neighboring pixel, two data embedding wherein and not can be caused tangible distortion.
Based on difference expansion (Difference Expansion, DE) reversible image watermark, the earliest by Tian propose for the first time 2003 (referring to J.Tian.Reversible data embedding using a difference expansion[J] .IEEE Trans.Circuits Systems and Video Technology.2003,13 (8): 890-896).The difference expansion also can be regarded as a kind of integer wavelet transformation, the HFS of its expansion wavelet transformation, and with the watermark information embedding wherein.DE is also sometimes referred to as the displacement expansion, because the process of its embed watermark can be regarded the process of displacement as.The binary form of supposing difference d is shown (d N-1d N-2... d 1d 0) 2, then the binary form of the difference d ' behind the embed watermark is shown (d N-1d N-2... d 1d 0B) 2This is equivalent to d then watermark b to be embedded in the lowest order of vacating to one of left dislocation.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) thought of Tian is applied to three pixels and four vectors that pixel is formed.Such benefit one is to strengthen extendible difference number, the 2nd, reduced the shared space of Location Map.
In a word, in the existing method, the capacity of embedding is less, and when embedding the high capacity watermark, can't guarantee the quality of image, therefore, the present invention utilizes the complexity difference of image different piece, zones of different is carried out self-adaptation embed, to reach bigger embedding capacity and better image quality.
Summary of the invention
The technical problem to be solved in the present invention is: overcome the deficiencies in the prior art, a kind of reversible image watermark based on the expansion of self-adaptation difference is provided, this method can provide bigger embedding capacity and better pictures quality under the more situation of embed watermark data.
The technical solution adopted for the present invention to solve the technical problems: a kind of reversible image watermark based on the expansion of self-adaptation difference comprises watermark embed process, watermark extraction process and image recovery process; Before watermark embeds, need carry out pre-service to original image earlier, comprise alternately division, difference calculating, the computed image complexity also is provided with parameter; In telescopiny, use the self-adaptation expansion to carry out corresponding watermark and embed; Then will embed additional information, watermark data meeting and additional information are mixed embedding under specific circumstances; In leaching process, at first to carry out additional information and extract, difference is calculated; Then carry out the inverse operation of self-adaptation difference expansion, carry out the watermark data extraction and the original difference of reducing; Carry out the reduction of image by the difference after the reduction at last;
Preprocessing process is:
(1) alternately divides.Original image is replaced division, obtain two disjoint set of pixels S 1And S 2, and be that each pixel in the image makes up context, so that the realization that calculating of image complexity afterwards and pixel are estimated.
(2) difference is calculated.Use 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.
(3) parameter setting.This step mainly comprises the parameter setting of two aspects, at first at original image, utilizes the statistical property of generalized Gaussian distribution, calculates the feature description α of image complexity; Then,, determine two parameter c and T that the self-adaptation difference is expanded according to the embed watermark data what, last, when user's demand can not be satisfied, can also judge whether that report embeds failure.
In watermark embed process, it is the process that by the self-adaptation expansion user data is embedded carrier image after parameter is determined that watermark data embeds.Under specific situation, watermark data can and additional information mixing and be embedded into, at this moment just need to guarantee watermark data and additional information can be distinguished can be synchronous.Additional information embeds.After user data (perhaps partial information) is embedded into, some additional informations are generally all arranged, comprise parameter c here, the location tables of T and recording pixel flooding information also needs to adopt certain strategy that they are embedded in the carrier image thus.It is necessary that these additional informations start watermark extracting often, thereby need guarantee that it can be calculated at first when watermark extracting.A simple strategy as shown in Figure 2, it is embedded into additional information in the image edge pixels in the mode that LSB (least significant bit (LSB)) replaces.
Extraction and image restoring process based on the reversible image watermark of self-adaptation difference expansion are:
1) additional information is extracted.This requirements of process at first obtains starting the necessary additional information of watermark extracting, two parameter c and the T that comprise the expansion of self-adaptation difference, the image complexity parameter alpha, in addition, if watermark extracting starts, it also will obtain carrying out the additional information that next step watermark extracting instructs is location tables information.For example, need know whether next difference was expanded, need perhaps to know which kind of situation is identifying the end of all leaching process.
2) difference is calculated.Difference in this process and the watermark embed process is calculated identical, and the difference will accomplish and embed the time is calculated and accomplished to mate fully.Here, mainly be that the division of pixel is consistent, it should be noted that watermark is first S when embedding 2Back S 1, and be first S when extracting 1Back S 2
3) watermark data extracts.This step mainly is to carry out the inverse operation of self-adaptation difference expansion to extract the data and the original difference of reducing.When extracting operation, need the information in the reference position table, because some pixel is not because overflow problem carries out the watermark embedding.
4) image restoring.This step need revert to original state with current pixel by the difference after the reduction with reference to environment.
The advantage that the present invention is compared with prior art had is:
(1) the present invention obtains the different complexity of image each several part by generalized Gaussian distribution, the watermark of carrying out adaptive difference expansion embeds and extracts, promptly carry out a spot of embedding in the zone of image complexity, carry out the embedding of mass data in the zone that image is mild, compare classic method, obviously increased the embedding capacity of watermark and improved visual quality for images.
(2) the present invention since complete structure context, therefore when identical PSNR, improved capacity distortion ratio than conventional method.
(3) the present invention when the embed watermark data are more, can obtain better effect by embedding more watermark in the image plateau region.
Description of drawings
Fig. 1 is the reversible image watermark method synoptic diagram of the expansion of the self-adaptation difference among the present invention;
Fig. 2 embeds synoptic diagram for additional information among the present invention;
Fig. 3 is watermark context model synoptic diagram among the present invention;
Fig. 4 alternately divides synoptic diagram for watermarking images among the present invention;
Fig. 5 is level and vertical direction context synoptic diagram among the present invention.
Embodiment
The present invention is at first based on the Gaussian statistics characteristic, obtain image complexity, proposing a kind of new pixel then divides promptly alternately to divide and obtains the context estimation model, and then obtain the estimation difference, utilize existing image complexity and estimation difference to carry out the expansion of self-adaptation difference at last, realize the embedding and the extraction of watermark.
As shown in Figure 1, overall flow of the present invention comprises 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.Before watermark embeds, need carry out pre-service to original image earlier, preprocessing process comprises alternately division, difference calculating, the computed image complexity also is provided with parameter, shown in the upper left side frame of broken lines among Fig. 1; In watermark embed process, use the self-adaptation expansion to carry out corresponding watermark and embed, then will embed additional information, shown in the side frame of broken lines in lower-left among Fig. 1.In extracting preprocessing process, at first to carry out additional information and extract, difference is calculated, and then carries out the inverse operation of self-adaptation difference expansion, carries out the watermark data extraction and the original difference of reducing, shown in the upper right side frame of broken lines among Fig. 1; In watermark extraction process, carry out the extraction of watermark and the reduction of image at last, shown in the right side frame of broken lines among Fig. 1 by the difference after the reduction.Introduce above-mentioned four processes below respectively in detail, promptly preprocessing process and watermark embed process extract preprocessing process and watermark extraction process.
1. as shown in Figure 1, preprocessing process specific implementation step of the present invention is as follows:
Step 1: alternately divide.At adaptive difference expansion, need to use current pixel all pixels on every side to make up context model.Consider in eight pixels around the current pixel, with current pixel immediate be laterally with four pixels longitudinally, it is hereinafter textural therefore to use these four pixels, as shown in Figure 3.Make original image be
L={x (i, j) | 1≤i≤H, 1≤j≤W}, i, j are pixel coordinate position (1)
Wherein H and W distinguish the height and width of presentation video.In order to give each pixel hereinafter textural, at first all pixels in the original image are divided into two disjoint set of pixels S 1And S 2, promptly alternately divide, as shown in Figure 4, set of pixels by
S 1 = { x ( i , j ) | ( i mod 2 ) ⊕ ( j mod 2 ) = 0 } S 2 = { x ( i , j ) | ( i mod 2 ) ⊕ ( j mod 2 ) = 1 } - - - ( 2 )
Expression respectively, 1≤i≤H1≤j≤W wherein, mod be for getting remainder, Be XOR, because the pixel of image border (showing with grey among Fig. 4) does not have complete context, so the present invention does not carry out the difference expansion to it.
Step 2: difference is calculated.At the context that has built, calculate the estimated value of each pixel in the image, then by with original pixels relatively obtain its difference.This step can be divided into two parts successively, and at first first utilizes 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.
Specific algorithm is divided into the level and the vertical direction of quadrature with four neighbor pixels, and as shown in Figure 5, neighbor pixel is respectively x u, x d, x l, x r, calculate the mean value of two pixels of each direction respectively, and give the different weights of these two mean values and estimate with pixel x to the center.The mean value of both direction by formula (3) calculates.
x v = ( x u + x d ) 2 x h = ( x l + x r ) 2 - - - ( 3 )
Make vertical direction mean value x vWith horizontal direction mean value x hWeights be w v, w h, then
Figure BDA0000052990430000053
Account form be
x ^ = w v · x v + w h · x h w v + w h = 1 - - - ( 4 )
Make σ (h) and σ (v) be respectively the mean square deviation of level and vertical direction, by formula
σ ( v ) = 1 3 Σ k = 1 3 ( S v ( k ) - x avg ) 2 σ ( h ) = 1 3 Σ k = 1 3 ( S h ( k ) - x avg ) 2 - - - ( 5 )
Calculate, wherein x AvgMean value for adjacent pixel
x avg = x u + x d + x l + x r 4 - - - ( 6 )
And order S vAnd S hBe collection of pixels:
S v = { x u , x v , x d } S h = { x l , x h , x r } - - - ( 7 )
Weight w vAnd w hComputing method be
w v = σ ( h ) σ ( h ) + σ ( v ) , w h = 1 - w v - - - ( 8 )
When the estimated value that obtains pixel
Figure BDA0000052990430000062
After, can basis
e = x - x ^ - - - ( 9 )
Calculate the evaluated error of x.S 1And S 2The set E that forms of evaluated error 1And E 2For
E 1 = { e ( i , j ) | x ( i , j ) ∈ S 1 } E 2 = { e ( i , j ) | x ( i , j ) ∈ S 2 } - - - ( 10 )
Wherein (i j) is pixel x (i, evaluated error j) that calculates by formula (9) to e.These two evaluated error set will be used to the embed watermark data.
Step 3: parameter setting.This step mainly comprises the parameter setting of two aspects, at first calculates image complexity; Then,, determine two parameter c and T that the self-adaptation difference is expanded according to the embed watermark data what, last, when user's demand can not be satisfied, can also judge whether that report embeds failure.
The estimation of image complexity: the form parameter of density function of utilizing the generalized Gaussian distribution (GGD) in the wavelet field is as the measurement parameter of image complexity, the estimation of image complexity is converted to the estimation of the form parameter of pair-density function thus, estimate by curve-fitting method, and order finally to obtain estimated value be image complexity α.
For generalized Gaussian distribution, generally consider the situation of Gaussian distribution average u=0.If x=is (x 1, x 2..., x n) be a sample from the overall X of GGD of average u=0, because GGD is symmetrically distributed, its first moment about the origin is zero, so can adopt absolute moment to calculate.
When u=0, the single order absolute moment is
m 1 = E { | x | }
= ∫ - ∞ + ∞ | x | α 2 βΓ ( 1 / α ) e - | x β | α dx - - - ( 11 )
= α βΓ ( 1 / α ) ∫ 0 + ∞ | x | e - | x β | α dx
Order Get x=β y 1/ α, The above-mentioned formula of substitution gets
α βΓ ( 1 / α ) ∫ 0 + ∞ y 2 a - 1 e - y dy = β Γ ( 2 / α ) Γ ( 1 / α ) - - - ( 12 )
Again will
Figure BDA00000529904300000611
Substitution gets
m 1 = E { | x | } = σ Γ ( 2 / α ) Γ ( 1 / α ) Γ ( 3 / α ) - - - ( 13 )
In like manner can get second moment is
m 2=E{|x 2|}=σ 2 (14)
And
Figure BDA0000052990430000072
Note
R ( α ) = E 2 { | X | } E { X 2 } = Γ 2 ( 2 / α ) Γ ( 1 / α ) Γ ( 3 / α ) = m 1 2 m 2 - - - ( 15 )
R (α) is called the Generalized Gaussian parameter compares function; And m 1, m 2Estimation
Figure BDA0000052990430000074
Can obtain by following formula
m ^ 1 = 1 n Σ i = 1 n | x i | , m ^ 2 = 1 n Σ i = 1 n x i 2 - - - ( 16 )
Thereby form parameter α is estimated as
α ^ = R - 1 ( m ^ 1 2 m ^ 2 ) - - - ( 17 )
Wherein
R ( x ) = Γ 2 ( 2 / x ) Γ ( 1 / x ) Γ ( 3 / x ) - - - ( 18 )
The inverse function R of R (x) -1(x) analytic expression is difficult to try to achieve, so adopt the method for numerical fitting.
Hyperbolic function match original function R (x) then sets up model of fit y=a+b/x, adopts least square fitting, gets antiderivative approximating function and is
y = 0.77127 - 0.26961 x
Thereby the original function of approximating function is
R - 1 ( x ) = - 0.26961 x - 0.77127 - - - ( 19 )
So model of fit is
Figure BDA00000529904300000711
Utilize least square method to try to achieve contrafunctional fitting function to be
R - 1 ( x ) = 0.2718 0.7697 - x - 0.1247 - - - ( 20 )
In sum, obtain the estimation of parameter alpha by formula (17) and (20), and then obtained image complexity.
Determine the two parameter constant c and the capacity of the embedding T of the expansion of self-adaptation difference, as shown in Figure 5, the steady degree in zone is passed through variances sigma 2Obtain,
σ 2 = 1 4 Σ k = 1 4 ( x i ( k ) - x avg ) 2 x = { x l , x r , x u , x d } - - - ( 21 )
Wherein
x avg = x u + x d + x l + x r 4 - - - ( 22 )
Thus, the radix of difference expansion can pass through
Figure BDA0000052990430000083
Wherein, c is a constant, and α is the complexity of carrier image, and T is a threshold value, and c and T are used for the embedding capacity of watermark of control chart picture.In order to prevent that pixel from overflowing seriousization, need to guarantee 2≤T≤10, for constant c, in general, its value is big more, and the watermark of embedding is many more but distortion image is serious more, and vice versa.
2. watermark embed process
In watermark embed process, by image complexity α, self-adaptation spreading parameter c and T determine self-adaptation expansion radix b IjSuppose w represent length be l treat the water mark inlaying data, in order to express easily, make w=w 1, w 2..., w n, wherein n=l/8 and w 1, i=1,2 ... n comprises 8 bit binary data.Next provide its detailed performing step:
(2.1) determine self-adaptation expansion radix b Ij, by image complexity α, and self-adaptation spreading parameter c and T, calculate by formula
Figure BDA0000052990430000084
Determine self-adaptation expansion radix b Ij, σ wherein 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 order 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 Dt, in order to judge w DtWhether 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, rMod b IjObtain final embedding content r herein I, j, utilize formula then
e ′ = e × b + r , b ≠ 1 e , b = 1 - - - ( 24 )
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 BDA0000052990430000092
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;
Watermark is carried out the additional information telescopiny after embedding and finishing.Additional information comprises parameter c, the location tables of T and recording pixel flooding information.These additional informations are that the startup watermark extracting is necessary, thereby need guarantee that it can be calculated at first when watermark extracting.A simple strategy is embedded into additional information in the image edge pixels in the mode that LSB replaces as shown in Figure 2.So far watermark embeds and finishes, and obtains embedding the back image.
3. watermark extracting partly comprises the extraction preprocessing process.
Extract preprocessing process, at first extract additional information, this flow process is the inverse process that additional information embeds.
(3.1) at first carry out the additional information leaching process, this process is the inverse process that additional information embeds, obtain two parameter c and the T of the expansion of self-adaptation difference, image complexity parameter alpha and location tables, if for example use LSB (least significant bit (LSB)) mode with reversible being embedded in the image edge pixels of additional information, then can use the watermark extracting algorithm of LSB, additional information is extracted from image edge pixels;
(3.2) then by with preprocessing process that watermark embeds in identical division carry out difference and calculate, 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 set of computations S because watermark embeds time difference value 2Difference, use S then 2The result calculate S 1Difference, so be to calculate S earlier when extracting 1Difference, calculate S then 2Difference;
4. watermark extraction process
Watermark extraction process is watermark extracting and image restoring process: the extraction by additional information has obtained image complexity α, self-adaptation spreading parameter c, T and location tables, and after utilizing contextual structure to obtain the estimation difference of embedded images, next provide its detailed performing step:
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 I, j, utilize formula then
Figure BDA0000052990430000101
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, j, b 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.
The content that is not described in detail in the instructions of the present invention belongs to this area professional and technical personnel's known prior 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 (15)

* 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 handling method based on secondary difference expansion
CN112669191A (en) * 2019-10-15 2021-04-16 国际关系学院 Anti-overflow reversible digital watermark embedding and extracting method based on image content identification
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 (24)

* 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 陕西师范大学 Difference expansion of changing direction is embedded in the reversible water mark of synchronous insertion and extracting method
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 辽宁师范大学 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 handling method based on secondary 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
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
Zhang et al. A data hiding scheme based on multidirectional line encoding and integer wavelet transform
US9245310B2 (en) Content watermarking
CN104091302A (en) Robust watermark embedding and extracting method based on multi-scale space
Liu et al. Robust blind image watermarking based on chaotic mixtures
CN101504760A (en) Digital image concealed information detecting and positioning method
Zhao et al. Tampered region detection of inpainting JPEG images
Yang et al. Efficient reversible data hiding algorithm based on gradient-based edge direction prediction
Chen et al. Adaptive reversible image watermarking scheme
CN104766269A (en) Spread transform dither modulation watermarking method based on JND brightness model
CN101833745B (en) Method for detecting embedding and extracting of multiple binary embedded watermarks of digital image
CN102073978B (en) Method and system for identifying and recovering digital images by utilizing irregular region segmentation
CN101887574A (en) Robust fingerprint embedding and extracting method capable of resisting geometric attacks
CN107977964A (en) Slit cropping evidence collecting method based on LBP and extension Markov feature
CN111640052B (en) Robust high-capacity digital watermarking method based on mark code
Kunhu et al. A reversible watermarking scheme for ownership protection and authentication of medical images
Hakka et al. DCT-OFDM based watermarking scheme robust against clipping attack
Hou et al. Scanned binary image watermarking based on additive model and sampling
CN101504759A (en) Digital image watermark extraction method based on DCT algorithm
CN103440616B (en) High volume reversible watermarking method based on self-adaptive prediction model
CN106127670A (en) A kind of processing method of reversible water mark image
Saneie et al. Introducing a new method of robust digital image watermarking against cropping and salt & pepper noise using Sudoku
CN111127288B (en) Reversible image watermarking method, reversible image watermarking device and computer readable storage medium
Qi et al. Reversible watermarking algorithm based on prediction error expansion for color image
CN103491456A (en) SIFT (Scale-Invariant Feature Transform)-based geometric-attack-resistant robust video watermarking method

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