CN103886541A - Image watermarking method based on Tchebichef moment affine invariant - Google Patents

Image watermarking method based on Tchebichef moment affine invariant Download PDF

Info

Publication number
CN103886541A
CN103886541A CN201410094087.3A CN201410094087A CN103886541A CN 103886541 A CN103886541 A CN 103886541A CN 201410094087 A CN201410094087 A CN 201410094087A CN 103886541 A CN103886541 A CN 103886541A
Authority
CN
China
Prior art keywords
sigma
image
invariant
steps
affine
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
CN201410094087.3A
Other languages
Chinese (zh)
Other versions
CN103886541B (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.)
Nanjing University of Information Science and Technology
Original Assignee
Nanjing University of Information Science and Technology
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 Nanjing University of Information Science and Technology filed Critical Nanjing University of Information Science and Technology
Priority to CN201410094087.3A priority Critical patent/CN103886541B/en
Publication of CN103886541A publication Critical patent/CN103886541A/en
Application granted granted Critical
Publication of CN103886541B publication Critical patent/CN103886541B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides an image watermarking algorithm based on the Tchebichef moment affine invariant, and provides a general algorithm for embedding, detecting and extracting digital image watermarking. The image watermarking algorithm can resist affine attacks more general than geometric attacks. According to the method, at first, the Tchebichef moment affine invariant is calculated and embedded into an invariant area of an original image, so that a watermarking image is obtained. The method can resist the traditional geometric attacks such as translation transformation, rotation and zooming (RST), and ensure correct extraction of watermarking information when being attacked by affine, and key indicators, namely, the invisibility, the watermarking embedding capacity and the robustness of the watermarking algorithm are well balanced.

Description

Based on the image watermark method of the affine invariant of Tchebichef square
Technical field
The invention belongs to image information safety technique field, relate to digital figure watermark safety technique, specifically relate to and a kind ofly can resist the watermarking algorithm that has more general affine attack than geometric attack, comprising the embedding grammar of watermark, detection method and extracting method.
Background technology
Along with the develop rapidly of network and multimedia technology, the media product of the digital forms such as image, text, Voice & Video has obtained propagating widely and using.The digital devices such as digital camera, video recorder, scanner and printer and the software that some are powerful, be widely used in the world creation and process digital multimedia data; And internet is also for distribution and the exchange of multimedia messages provide wide channel easily.People can carry out copy, download and the issue of Digital Media easily by internet, and this gives on the one hand people's the live and work condition of providing convenience, and has improved work efficiency, on the other hand also for the piracy of Digital Media provides convenience.Some lawless persons, in the case of the copyright owner of the Digital Media mandate that there is no goods, arbitrarily copy and propagate the Digital Media publication of copyright protection, therefrom speculate.Therefore, how to protect on the internet the copyright problem of Digital Media and information security to become an extremely urgent realistic problem.And digital watermark technology is as one of important means of the applications such as Digital Media copyright protection, content authentication, comment token, use control, has obtained in recent years increasing concern aspect copyright protection.
Digital watermarking belongs to the one of Information Hiding Techniques; its basic thought is can differentiate that by having capable information (watermark) secret is embedded in the digital multimedia products such as image, text, Voice & Video in the situation that not affecting product quality; make it as the part of raw data and be retained in wherein; to copying and transmitting of data implemented to follow the tracks of, realizes functions such as hiding transmission, storage, mark, identification, copyright protection.Visible, on the one hand, it can be used to prove the entitlement of authorship to its works, as the evidence of qualification, the illegal infringement of prosecution; On the other hand; author can also be by surveying and analyze to realize the dynamic tracking to works to the watermark in its digital product; thereby ensure the integrality of its works, therefore digital watermarking has become intellectual property protection and the false proof effective means of digital multimedia.
And robust digital watermark plays a decisive role to copyright protection, therefore need watermark to possess the function of the multiple Attack Digital Watermarking of opposing.Process as noise, filtering, compression etc. with respect to normal image, geometric attack is difficult to resist as translation, rotation, convergent-divergent etc. more.The topmost reason that digital watermark technology is difficult to resist geometric transformation is: although the watermark information in image is not removed in geometric transformation, make the detection of watermark and embed between lose and synchronize, thereby cause the inefficacy of watermark detection.Geometric attack has changed the corresponding relation between grey scale pixel value and coordinate in addition, has stoped the normal extraction of watermark signal.Therefore stationary problem is the gordian technique that the algorithm resilient geometric distortion will solve.In addition, invisibility, watermark embedding capacity and robustness are the topmost three norms of watermarking algorithm, but these indexs all condition each other between any two, the design that can reach preferably the watermarking algorithm of three indexs under different applied environments is simultaneously challenging problems.
Existing certain methods can solve part the problems referred to above, as the scholars such as tension force propose in " application of Tchebichef square in digital image watermarking " literary composition, utilize the value of one or more Tchebichef squares of original image to realize multiple different watermark information to realize (comprising DWT, DCT, FFT and spatial domain etc.) in different image processing domain embedding and the detection of watermark information, significantly strengthened the robustness of watermarking algorithm.The scholars such as Cheng Xinghong have proposed taking the feature of image normalization technology and Tchebichef moment coefficient as basis in " based on zero watermarking algorithm of image Tchebichef square resist geometric attacks " literary composition; first calculate original image unit circle inward turning and turn normalized Tchebichef square, the upper left corner part of Tchebichef square is scanned into numerical matrix; Then generate binary keys and be saved in zero watermark information storehouse according to numerical matrix and watermarking images, obtaining rotation, convergent-divergent and normal signal processing and combination attacks thereof are had to very strong robustness image watermark with this.
But above-mentioned existing method has only solved the resist geometric attacks of image watermark, do not consider than geometric transformation and have more general affined transformation, therefore existing algorithm cannot be resisted affine attack.In addition, existing algorithm is for topmost index in these three watermarking algorithms of invisibility, watermark embedding capacity and robustness unrealized good balance.
Summary of the invention
For addressing the above problem, the present invention is based on the affine invariant of Tchebichef square, propose opposing and had more the watermarking algorithm of general affine attack than geometric attack, and proposed digital figure watermark embedding, the general-purpose algorithm that detects and extract.
In order to achieve the above object, the invention provides following technical scheme:
Based on an Image Watermarking for the affine invariant of Tchebichef square, comprise the steps:
Steps A, calculate Tchebichef square invariant:
Steps A-1, the affined transformation of definition image is:
x ′ = x 0 + a 11 x + x 12 y y ′ = y 0 + a 21 x + a 22 y - - - ( 1 )
As follows with matrix representation:
x ′ y ′ = A x y + x 0 y 0 - - - ( 2 )
Wherein, A = a 11 a 12 a 11 a 22 , Be called affine transformation matrix;
Steps A-2, the 2D p+q rank Tchebichef square of definition image is:
T pq = Σ x = 0 N - 1 Σ y = 0 M - 1 t p ( x ) t q ( y ) f ( x , y ) - - - ( 3 )
Wherein, p, q=0,1,2 ..., p, q is integer, wherein t p(x) be p rank Tchebichef polynomial expressions, be defined as:
t p ( x ) = Σ r = 0 p ( - 1 ) p ( p + r ) ! ( N - r - 1 ) ! ρ ( p , N ) ( p - r ) ! ( r ! ) 2 ( N - p - 1 ) ! ( - x ) r - - - ( 4 )
Above formula is expressed as follows by Matrix C:
t p ( x ) = Σ r = 0 p ( - 1 ) p ( p + r ) ! ( N - r - 1 ) ! ρ ( p , N ) ( p - r ) ! ( r ! ) 2 ( N - p - 1 ) ! Σ k = 0 r ( - 1 ) r S 1 ( r , k ) x k = Σ k = 0 p c p , k N x k - - - ( 5 )
S in above formula 1(r, k) is Stiriling number, and Matrix C is defined as follows:
c p , k N = Σ r = k p ( - 1 ) r S 1 ( r , k ) ( - 1 ) p ( p + r ) ! ( N - r - 1 ) ! ρ ( p , N ) ( p - r ) ! ( r ! ) 2 ( N - p - 1 ) ! - - - ( 6 )
The lower triangle battle array C of definition minverse matrix D m=(d p,k), 0≤k≤p≤M, D melement definition be:
d p , k N = Σ m = k p S 2 ( k , m ) ρ ( k , N ) ( 2 k + 1 ) ( m ! ) 2 ( N - k - 1 ) ! ( m + k + 1 ) ! ( m - k ) ! ( N - m - 1 ) ! , - - - ( 7 )
Can be obtained by above formula:
x p = Σ k = 0 p d p , k t k ( x ) - - - ( 8 )
Steps A-3, according to affine parameter, Tchebichef square is carried out being expressed as follows after affined transformation:
T pq ′ = det ( A ) Σ m = 0 p Σ n = 0 q Σ s = 0 m Σ t = 0 n Σ i = 0 s + t Σ j = 0 m + n - s - t m s n t ( a 11 ) s ( a 12 ) m - s ( a 21 ) t ( a 22 ) n - t c p , m N c q , n M d s + t , i N d m + n - s - t , j M T ij - - - ( 9 )
Steps A-4, obtain the invariant of affine matrix: affine matrix A is carried out to XYS decomposition, and XYS decomposes the shearing that affine matrix A is resolved into an x direction, and the shearing of a y direction and a scaled matrix are as follows:
a 11 a 12 a 21 a 22 = α 0 0 δ 1 0 γ 1 1 β 0 1 - - - ( 10 )
Wherein, α, β, δ and γ are real number;
Through type (10), selects different a 11, a 12, a 21, a 22parameter substitution formula (9) obtains the invariant after affine matrix decomposes:
For given positive integer p and q, have
I pq xsh = Σ m = 0 p Σ n = 0 q Σ s = 0 m Σ i = 0 s Σ j = 0 m + n - s m s β m - s c p , m N c q , n M d s , i N d m + n - s , j M T ij - - - ( 11 )
?
Figure BDA0000477059540000039
shearing to image x direction has unchangeability;
Order
I pq ysh = Σ m = 0 p Σ n = 0 q Σ t = 0 n Σ i = 0 m + t Σ j = 0 n - t n t γ t c p , m N c q , n M d m + t , i N d n - t , j M T ij - - - ( 12 )
?
Figure BDA0000477059540000042
shearing to image y direction has unchangeability;
Order
I pq as = Σ m = 0 p Σ n = 0 q Σ i = 0 m Σ j = 0 n α m + 1 δ n + 1 c p , m N c q , n M d m , i N d n , j M T ij - - - ( 13 )
?
Figure BDA0000477059540000044
image scaling is had to unchangeability;
Steps A-5, utilize the existing combination of Tchebichef square invariant to represent the Tchebichef square of the image after affined transformation:
Steps A-5-1, will calculate the shear invariant of x direction in the 2D p+q rank Tchebichef square substitution formula (11) of the image defining in steps A
Steps A-5-2, by the invariant obtaining in steps A-5-1
Figure BDA0000477059540000046
in substitution formula (12), calculate the combination invariant of the shearing of x direction and the shearing of y direction
Figure BDA0000477059540000047
Steps A-5-3, by the invariant obtaining in steps A-5-2
Figure BDA0000477059540000048
substitution formula obtains affine invariant in (13)
Figure BDA0000477059540000049
The invariant that steps A-5-1, steps A-5-2, steps A-5-1 are obtained carries out after inverse transformation, and Tchebichef square is expressed as follows by the linear combination of Tchebichef square invariant:
T ij = Σ m = 0 p Σ n = 0 q Σ s = 0 m Σ i = 0 s Σ j = 0 m + n - s m s ( - β ) m - s c p , m N c q , n M d s , i N d m + n - s , j M I pq xsh - - - ( 14 )
T ij = Σ m = 0 p Σ n = 0 q Σ t = 0 n Σ i = 0 m + t Σ j = 0 n - t n t ( - γ ) t c p , m N c q , n M d m + t , i N d n - t , j M I pq ysh - - - ( 15 )
T ij = Σ m = 0 p Σ n = 0 q Σ i = 0 m Σ j = 0 n α - ( m + 1 ) δ - ( n + 1 ) c p , m N c q , n M d m , i N d n , j M I pq as - - - ( 16 )
Step B, is embedded into Tchebichef square invariant in the invariant region of original image, obtains watermarking images, and embedding formula is:
I pq as ( h ) = I pq as ( f ) + s pq I pq as ( f ) - - - ( 17 )
Watermark w is expressed as to the function of original image Tchebichef square invariant:
T pq ( h ) = ( 1 + s pq ) T pq ( f ) - - - ( 19 )
The orthogonality of utilizing Tchebichef square, obtains:
h = f + w = f + Σ p = 0 M Σ q = 0 M s pq P p ( x ) P q ( y ) T pq ( f ) - - - ( 20 )
Wherein M is the maximum order of square invariant, thereby completes the embedding of watermark.
The present invention also provides a kind of image watermark detection method based on the affine invariant of Tchebichef square, comprises the steps:
Steps A, obtains and receives image t and watermarking images h;
Step B, is calculated and is received image t and the watermarking images h distance at feature space by following formula:
d ( t , h ) = | I ( t ) - ( h ) | | I ( t ) | - - - ( 21 )
Here I (t) and I (h) represent respectively the function I of the Tchebichef square invariant that receives image and watermarking images,
Step C, relatively d (t, h) and predefined threshold value d thif, d (t, h) <d th, think that watermark is appraisable, if d (t, h)>=d th, think that watermark is not appraisable.
As the preferred version of image watermark detection method, described I is mean value function:
I = 1 L &Sigma; i = 1 L I i affne - - - ( 22 )
Wherein, L is the number of the square invariant that uses in watermark detection.
The present invention also provides a kind of image watermark extracting method based on the affine invariant of Tchebichef square, comprises the steps:
Steps A, obtains and receives image t and watermarking images h;
Step B obtains the parameter matrix m (h) of watermarking images from receive image t and watermarking images h by following formula
m ( h ) = &alpha; ( h ) &alpha; ( h ) &beta; ( h ) &delta; ( h ) &gamma; ( h ) &delta; ( h ) ( 1 + &beta; ( h ) &gamma; ( h ) ) - - - ( 23 )
Parameter matrix m (t) with reception image t:
m ( t ) = &alpha; ( t ) &alpha; ( t ) &beta; ( t ) &delta; ( t ) &gamma; ( t ) &delta; ( t ) ( 1 + &beta; ( t ) &gamma; ( t ) ) - - - ( 24 )
Step C, estimates affine transformation parameter from m (h) and m (t);
Step D, by matrix m (h) m – 1(t) obtain restored image f ';
Step e, deducts original image f ' and estimates the watermark of embedding with restored image f.
Advantage of the present invention:
Adopt method provided by the invention to carry out after digital watermarking embedding image, not only can resist traditional translation transformation, rotation, the geometric attacks such as convergent-divergent (RST), in the time being subject to affine attack, still can ensure correct detection and the extraction of watermark information, and detect error and be less than existing method, have better robustness, the watermark information extracting is correctly complete, and identification degree is high.And obtain good balance between the leading indicator of invisibility, watermark embedding capacity and these three watermarking algorithms of robustness.
Brief description of the drawings
Fig. 1 is the Image Watermarking process flow diagram based on the affine invariant of Tchebichef square provided by the invention;
Fig. 2 is the original Lena image adopting in embodiment mono-, and it is of a size of 256 × 256;
Fig. 3 (a) is the image after original image embed watermark taking Fig. 2, and Fig. 3 (b) is revised watermarking images;
Fig. 4 is PSNR value and parameter s, between M, is related to schematic diagram, and wherein horizontal ordinate is s value, and ordinate is the PSNR value of Lena image;
Fig. 5 is the four width standard grayscale images that adopt in embodiment bis-;
Fig. 6 is the mean distance of the test pattern under various attack, wherein (a) to be rotation attack (b) attack (c) for convergent-divergent is JPEG attack for Gauss attacks (d);
Fig. 7 is image watermark extracting method process flow diagram provided by the invention;
Fig. 8 is the embed watermark figure of tri-kinds of employings of embodiment;
Fig. 9 is the watermarking images being subject to after affined transformation is attacked;
Figure 10 is the watermark Logo extracting from Fig. 9 watermarking images.
Embodiment
Below with reference to specific embodiment, technical scheme provided by the invention is elaborated, should understands following embodiment and only be not used in and limit the scope of the invention for the present invention is described.
Embodiment mono-:
Affined transformation is a kind of linear transformation of image space, and in some situation, the one that can be regarded as the projective transformation of image is similar to, the geometric transformation of image, as traditional translation transformation, rotation, the geometric attacks such as convergent-divergent (RST) can be considered to a kind of special case of affine attack.
Image Watermarking flow process based on the affine invariant of Tchebichef square provided by the invention as shown in Figure 1, specifically comprises the steps:
Steps A, calculate Tchebichef square invariant:
Steps A-1, the affined transformation of image is defined as:
x &prime; = x 0 + a 11 x + x 12 y y &prime; = y 0 + a 21 x + a 22 y - - - ( 1 )
As follows with matrix representation:
x &prime; y &prime; = A x y + x 0 y 0 - - - ( 2 )
Wherein, A = a 11 a 12 a 11 a 22 , Be called affine transformation matrix,
Steps A-2, the 2D p+q rank Tchebichef square of definition image is:
T pq = &Sigma; x = 0 N - 1 &Sigma; y = 0 M - 1 t p ( x ) t q ( y ) f ( x , y ) - - - ( 3 )
Wherein, x, y is respectively horizontal ordinate and the ordinate of image, and N and M are picture size size, and f is gradation of image value.P, q=0,1,2 ..., p, q is integer, wherein t p(x) be p rank Tchebichef polynomial expressions, be defined as:
t p ( x ) = &Sigma; r = 0 p ( - 1 ) p ( p + r ) ! ( N - r - 1 ) ! &rho; ( p , N ) ( p - r ) ! ( r ! ) 2 ( N - p - 1 ) ! ( - x ) r - - - ( 4 )
Above formula is expressed as follows by Matrix C:
t p ( x ) = &Sigma; r = 0 p ( - 1 ) p ( p + r ) ! ( N - r - 1 ) ! &rho; ( p , N ) ( p - r ) ! ( r ! ) 2 ( N - p - 1 ) ! &Sigma; k = 0 r ( - 1 ) r S 1 ( r , k ) x k = &Sigma; k = 0 p c p , k N x k - - - ( 5 )
S in above formula 1(r, k) is Stiriling number, and Matrix C is defined as follows:
c p , k N = &Sigma; r = k p ( - 1 ) r S 1 ( r , k ) ( - 1 ) p ( p + r ) ! ( N - r - 1 ) ! &rho; ( p , N ) ( p - r ) ! ( r ! ) 2 ( N - p - 1 ) ! - - - ( 6 )
Note C m=(c p,k).By c p,kdefinition, in the time that r is greater than p, (p-r) unequal to 0, therefore C mfor lower triangle battle array.Because the diagonal element c of matrix l,l≠ 0, therefore Matrix C mthere is inverse matrix.Note D m=(d p,k), 0≤k≤p≤M, is C minverse matrix, D melement definition be
d p , k N = &Sigma; m = k p S 2 ( k , m ) &rho; ( k , N ) ( 2 k + 1 ) ( m ! ) 2 ( N - k - 1 ) ! ( m + k + 1 ) ! ( m - k ) ! ( N - m - 1 ) ! , - - - ( 7 )
By formula (5), we can obtain
x p = &Sigma; k = 0 p d p , k t k ( x ) - - - ( 8 )
Steps A-3, according to affine parameter, Tchebichef square is carried out being expressed as follows after affined transformation:
T pq &prime; = det ( A ) &Sigma; m = 0 p &Sigma; n = 0 q &Sigma; s = 0 m &Sigma; t = 0 n &Sigma; i = 0 s + t &Sigma; j = 0 m + n - s - t m s n t ( a 11 ) s ( a 12 ) m - s ( a 21 ) t ( a 22 ) n - t c p , m N c q , n M d s + t , i N d m + n - s - t , j M T ij - - - ( 9 )
Above formula shows that the Tchebichef square of the image after affined transformation can be expressed as the linear combination of the Tchebichef square before conversion.
Steps A-4, obtain the invariant of affine matrix: owing to directly utilizing formula (9) to obtain comparatively difficulty of invariant, affine matrix A is carried out XYS decomposition by we, and XYS decomposes the shearing that affine matrix A is resolved into an x direction, and the shearing of a y direction and a scaled matrix are as follows:
a 11 a 12 a 21 a 22 = &alpha; 0 0 &delta; 1 0 &gamma; 1 1 &beta; 0 1 - - - ( 10 )
Wherein, α, β, δ and γ are real number.
By above relational expression, select different a 11, a 12, a 21, a 22parameter substitution formula (9), we can obtain the invariant after affine matrix decomposes:
For given positive integer p and q, have
I pq xsh = &Sigma; m = 0 p &Sigma; n = 0 q &Sigma; s = 0 m &Sigma; i = 0 s &Sigma; j = 0 m + n - s m s &beta; m - s c p , m N c q , n M d s , i N d m + n - s , j M T ij - - - ( 11 )
?
Figure BDA0000477059540000084
shearing to image x direction has unchangeability.
Order
I pq ysh = &Sigma; m = 0 p &Sigma; n = 0 q &Sigma; t = 0 n &Sigma; i = 0 m + t &Sigma; j = 0 n - t n t &gamma; t c p , m N c q , n M d m + t , i N d n - t , j M T ij - - - ( 12 )
?
Figure BDA0000477059540000086
shearing to image y direction has unchangeability.
Order
I pq as = &Sigma; m = 0 p &Sigma; n = 0 q &Sigma; i = 0 m &Sigma; j = 0 n &alpha; m + 1 &delta; n + 1 c p , m N c q , n M d m , i N d n , j M T ij - - - ( 13 )
? image scaling is had to unchangeability.
Obtained by formula (11), (12), (13),
Figure BDA0000477059540000089
the shearing of the x direction to image respectively, shearing and the image scaling of y direction have unchangeability, and the affine invariant of Tchebichef square can be obtained by the linear combination of these three invariants.
Specifically be described below:
Steps A-5, utilize the existing combination of Tchebichef square invariant to represent the Tchebichef square of the image after affined transformation:
Steps A-5-1, utilizes formula (11) to calculate the shear invariant of x direction in this formula, the calculating of Tchebichef square is obtained by formula (3).
Steps A-5-2, utilizes formula (12) to obtain the combination invariant of the shearing of x direction and the shearing of y direction
Figure BDA0000477059540000099
in computation process by the invariant obtaining in steps A-5-1 replace the Tchebichef square on equal sign the right in formula (12).
Steps A-5-3, utilizes formula (13) to obtain affine invariant
Figure BDA00004770595400000911
in computation process by the invariant obtaining in steps A-5-2
Figure BDA00004770595400000912
replace the Tchebichef square on equal sign the right in formula (13).
Because equal sign the right of formula (10) is invertible matrix, the invariant that therefore we obtain based on steps A-5-1~steps A-5-3 carries out after inverse transformation, and Tchebichef square is expressed as follows by the linear combination of Tchebichef square invariant:
T ij = &Sigma; m = 0 p &Sigma; n = 0 q &Sigma; s = 0 m &Sigma; i = 0 s &Sigma; j = 0 m + n - s m s ( - &beta; ) m - s c p , m N c q , n M d s , i N d m + n - s , j M I pq xsh - - - ( 14 )
T ij = &Sigma; m = 0 p &Sigma; n = 0 q &Sigma; t = 0 n &Sigma; i = 0 m + t &Sigma; j = 0 n - t n t ( - &gamma; ) t c p , m N c q , n M d m + t , i N d n - t , j M I pq ysh - - - ( 15 )
T ij = &Sigma; m = 0 p &Sigma; n = 0 q &Sigma; i = 0 m &Sigma; j = 0 n &alpha; - ( m + 1 ) &delta; - ( n + 1 ) c p , m N c q , n M d m , i N d n , j M I pq as - - - ( 16 )
Step B, embed watermark in original image: by following formula, Tchebichef square invariant is embedded into the invariant region of original image, can obtains watermarking images:
I pq as ( h ) = I pq as ( f ) + s pq I pq as ( f ) - - - ( 17 )
Figure BDA0000477059540000095
with
Figure BDA0000477059540000096
represent respectively the Tchebichef square invariant of original image f and watermarking images h, s pqbe the parameter of controlling watermark strength, make watermarking images between robustness and invisibility, reach good balance.
We explain the embedment strength of image with the Y-PSNR (peak signal-to-noise ratio, PSNR) between original image f and watermarking images h.Conventionally, this value is greater than 40, makes the watermark of embedding invisible.PSNR between original image f and watermarking images h is defined as:
PSNR = 101 lo g 10 N 2 [ max x , y f ( x , y ) ] 2 &Sigma; x = 0 N - 1 &Sigma; y = 0 N - 1 [ f ( x , y ) - h ( x , y ) ] 2 - - - ( 18 )
Here N × N is picture size.
We are expressed as watermark w the function of original image Tchebichef square invariant below.In fact, utilize formula (14-16), formula (17) can be write as:
T pq ( h ) = ( 1 + s pq ) T pq ( f ) - - - ( 19 )
The orthogonality of utilizing Tchebichef square, obtains:
h = f + w = f + &Sigma; p = 0 M &Sigma; q = 0 M s pq P p ( x ) P q ( y ) T pq ( f ) - - - ( 20 )
Here M is the maximum order of square invariant.
In experiment, we get s pqfor steady state value,, for p and q arbitrarily, make s pq=s, with the Lena image of 256 × 256 sizes that Figure 2 shows that standard as original image.Image after embed watermark as shown in Fig. 3 (a), s=0.0214 in this example, the difference of original image and watermarking images is exactly watermark, due to its invisibility, we by the gray scale of watermark be multiplied by 50 so as to show, as shown in Fig. 3 (b).
Fig. 4 has provided the parameter s of controlling intensity, the relation between the maximum order M of square invariant and the Y-PSNR PSNR of Lena image.As seen from the figure, the PSNR of image is subject to the impact of parameter s larger, and it reduces along with the increase of s, and maximum order M is little on its impact.
Embodiment bis-:
The present invention also provides and the corresponding image detection water mark method of above-mentioned Image Watermarking, and the distance of the square invariant of use watermarking images and reception image is as estimating, and therefore testing process does not need to use original image.Be that watermark detection process belongs to publicly-owned watermark detection.
Detection method comprises the steps:
Steps A, obtain and receive image t and watermarking images h, wherein receiving image t is image to be detected, has adopted the Image Watermarking embed watermark based on the affine invariant of Tchebichef square provided by the invention and may be subject to various attack, and watermarking images h is identical with h in embodiment mono-;
Step B, is calculated and is received image t and the watermarking images h distance at feature space by following formula:
d ( t , h ) = | I ( t ) - ( h ) | | I ( t ) | - - - ( 21 )
Here I (t) and I (h) represent respectively the function I of the Tchebichef square invariant that receives image and watermarking images, i.e. formula (11)~(13).In the present invention, we to get I be mean value function:
I = 1 L &Sigma; i = 1 L I i affne - - - ( 22 )
Wherein, L is the number of the square invariant that uses in watermark detection.
Step C, relatively d (t, h) and predefined threshold value d thif, d (t, h) <d th, think that watermark is appraisable, if d (t, h)>=d th, think that watermark is not appraisable.
In this example, we test with four width standard grayscale images.Figure 5 shows that the gray level image of four 256 × 256 sizes, in this experiment, use said method embed watermark, M is set to 20, to Lena, and photographer, this four width image of women and ship, parameter s is respectively 0.0214,0.0192, and 0.0189 and 0.0198.Their PSNR difference 40.00,40.01,40.02 and 40.06.
Attack to Four types in this experiment compares, and is respectively rotation, convergent-divergent, Gaussian noise and jpeg image compression.For image rotation, we by watermarking images from 0 ° to 120 ° every 20 ° of rotations once.Then watermarking images is carried out convergent-divergent by we, and zoom factor from 0.1 to 0.6 does change of scale one time every 0.1.Attack for Gaussian noise, we add white Gaussian noise to watermarking images, and noise variance from 5 to 30 is every 5 variation one sub-values.Under jpeg image compression attack, compressibility factor from 10 to 60 every 10 conversion once.Four width test patterns, being subject to four kinds of mean distances under attack condition as experimental result, show in Fig. 6.As can be seen from Figure 6, under these are attacked, our method detects error and is less than existing method, and therefore our method has better robustness.
Embodiment tri-:
The present invention also provides and the corresponding image watermark extracting method of a kind of Image Watermarking of embodiment, needs to use original image in leaching process, and therefore it belongs to privately owned watermark extraction process, and its process flow diagram as shown in Figure 7, comprises the steps:
Steps A, obtain and receive image t and watermarking images h, wherein receiving image t is image to be detected, has adopted the Image Watermarking embed watermark based on the affine invariant of Tchebichef square provided by the invention and may be subject to various attack, and watermarking images h is identical with h in embodiment mono-;
Step B obtains the parameter matrix m (h) of watermarking images from receive image t and watermarking images h by following formula
m ( h ) = &alpha; ( h ) &alpha; ( h ) &beta; ( h ) &delta; ( h ) &gamma; ( h ) &delta; ( h ) ( 1 + &beta; ( h ) &gamma; ( h ) ) - - - ( 23 )
Parameter matrix m (t) with reception image t:
m ( t ) = &alpha; ( t ) &alpha; ( t ) &beta; ( t ) &delta; ( t ) &gamma; ( t ) &delta; ( t ) ( 1 + &beta; ( t ) &gamma; ( t ) ) - - - ( 24 )
Step C, according to m (h) and m (t), by the α in computing formula (10), β, δ and γ, estimate affine transformation parameter;
Step D, by matrix m (h) m – 1(t) obtain restored image f ';
Step e, deducts original image f and can estimate the watermark of embedding with restored image f '.
We using the Logo of information engineering university as embed watermark, as shown in Figure 8.Telescopiny still adopts formula (17), just Logo image is replaced to the square invariant in formula
Figure DEST_PATH_GDA0000495050550000121
logo is embedded in four width test patterns, is subject to the watermarking images of affine attack as shown in Figure 9.Table 1 has provided the result of parameter estimation, and in form, the first row is the parameter of the affine attack of simulation, and the second row is the parameter value that utilizes our method to estimate, by finding out in table, the result of parameter estimation is very accurate.
Figure BDA0000477059540000121
Table 1
As shown in figure 10, as can be seen from Figure, after affine attack, the watermark information that our method extracts is still correctly complete to adopt in the watermarking images of method provided by the invention from attacking the watermark of extracting, and identification degree is high.
The disclosed technological means of the present invention program is not limited only to the disclosed technological means of above-mentioned embodiment, also comprises the technical scheme being made up of above technical characterictic combination in any.It should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention, can also make some improvements and modifications, these improvements and modifications are also considered as protection scope of the present invention.

Claims (4)

1. the Image Watermarking based on the affine invariant of Tchebichef square, is characterized in that, comprises the steps:
Steps A, calculate Tchebichef square invariant:
Steps A-1, the affined transformation of definition image is:
x &prime; = x 0 + a 11 x + x 12 y y &prime; = y 0 + a 21 x + a 22 y - - - ( 1 )
As follows with matrix representation:
x &prime; y &prime; = A x y + x 0 y 0 - - - ( 2 )
Wherein, A = a 11 a 12 a 11 a 22 , Be called affine transformation matrix;
Steps A-2, the 2D p+q rank Tchebichef square of definition image is:
T pq = &Sigma; x = 0 N - 1 &Sigma; y = 0 M - 1 t p ( x ) t q ( y ) f ( x , y ) - - - ( 3 )
Wherein, p, q=0,1,2 ..., p, q is integer, wherein t p(x) be p rank Tchebichef polynomial expressions, be defined as:
t p ( x ) = &Sigma; r = 0 p ( - 1 ) p ( p + r ) ! ( N - r - 1 ) ! &rho; ( p , N ) ( p - r ) ! ( r ! ) 2 ( N - p - 1 ) ! ( - x ) r - - - ( 4 )
Above formula is expressed as follows by Matrix C:
t p ( x ) = &Sigma; r = 0 p ( - 1 ) p ( p + r ) ! ( N - r - 1 ) ! &rho; ( p , N ) ( p - r ) ! ( r ! ) 2 ( N - p - 1 ) ! &Sigma; k = 0 r ( - 1 ) r S 1 ( r , k ) x k = &Sigma; k = 0 p c p , k N x k - - - ( 5 )
S in above formula 1(r, k) is Stiriling number, and Matrix C is defined as follows:
c p , k N = &Sigma; r = k p ( - 1 ) r S 1 ( r , k ) ( - 1 ) p ( p + r ) ! ( N - r - 1 ) ! &rho; ( p , N ) ( p - r ) ! ( r ! ) 2 ( N - p - 1 ) ! - - - ( 6 )
The lower triangle battle array C of definition minverse matrix D m=(d p,k), 0≤k≤p≤M, D melement definition be:
d p , k N = &Sigma; m = k p S 2 ( k , m ) &rho; ( k , N ) ( 2 k + 1 ) ( m ! ) 2 ( N - k - 1 ) ! ( m + k + 1 ) ! ( m - k ) ! ( N - m - 1 ) ! , - - - ( 7 )
Can be obtained by above formula:
x p = &Sigma; k = 0 p d p , k t k ( x ) - - - ( 8 )
Steps A-3, according to affine parameter, Tchebichef square is carried out being expressed as follows after affined transformation:
T pq &prime; = det ( A ) &Sigma; m = 0 p &Sigma; n = 0 q &Sigma; s = 0 m &Sigma; t = 0 n &Sigma; i = 0 s + t &Sigma; j = 0 m + n - s - t m s n t ( a 11 ) s ( a 12 ) m - s ( a 21 ) t ( a 22 ) n - t c p , m N c q , n M d s + t , i N d m + n - s - t , j M T ij - - - ( 9 )
Steps A-4, obtain the invariant of affine matrix: affine matrix A is carried out to XYS decomposition, and XYS decomposes the shearing that affine matrix A is resolved into an x direction, and the shearing of a y direction and a scaled matrix are as follows:
a 11 a 12 a 21 a 22 = &alpha; 0 0 &delta; 1 0 &gamma; 1 1 &beta; 0 1 - - - ( 10 )
Wherein, α, β, δ and γ are real number;
Through type (10), selects different a 11, a 12, a 21, a 22parameter substitution formula (9) obtains the invariant after affine matrix decomposes:
For given positive integer p and q, have
I pq xsh = &Sigma; m = 0 p &Sigma; n = 0 q &Sigma; s = 0 m &Sigma; i = 0 s &Sigma; j = 0 m + n - s m s &beta; m - s c p , m N c q , n M d s , i N d m + n - s , j M T ij - - - ( 11 )
?
Figure FDA0000477059530000024
shearing to image x direction has unchangeability;
Order
I pq ysh = &Sigma; m = 0 p &Sigma; n = 0 q &Sigma; t = 0 n &Sigma; i = 0 m + t &Sigma; j = 0 n - t n t &gamma; t c p , m N c q , n M d m + t , i N d n - t , j M T ij - - - ( 12 )
?
Figure FDA0000477059530000026
shearing to image y direction has unchangeability;
Order
I pq as = &Sigma; m = 0 p &Sigma; n = 0 q &Sigma; i = 0 m &Sigma; j = 0 n &alpha; m + 1 &delta; n + 1 c p , m N c q , n M d m , i N d n , j M T ij - - - ( 13 )
?
Figure FDA0000477059530000028
image scaling is had to unchangeability;
Steps A-5, utilize the existing combination of Tchebichef square invariant to represent the Tchebichef square of the image after affined transformation:
Steps A-5-1, will calculate the shear invariant of x direction in the 2D p+q rank Tchebichef square substitution formula (11) of the image defining in steps A
Figure FDA0000477059530000029
Steps A-5-2, by the invariant obtaining in steps A-5-1
Figure FDA00004770595300000210
in substitution formula (12), calculate the combination invariant of the shearing of x direction and the shearing of y direction
Figure FDA00004770595300000211
Steps A-5-3, by the invariant obtaining in steps A-5-2
Figure FDA00004770595300000212
substitution formula obtains affine invariant in (13)
Figure FDA00004770595300000213
The invariant that steps A-5-1, steps A-5-2, steps A-5-1 are obtained carries out after inverse transformation, and Tchebichef square is expressed as follows by the linear combination of Tchebichef square invariant:
T ij = &Sigma; m = 0 p &Sigma; n = 0 q &Sigma; s = 0 m &Sigma; i = 0 s &Sigma; j = 0 m + n - s m s ( - &beta; ) m - s c p , m N c q , n M d s , i N d m + n - s , j M I pq xsh - - - ( 14 )
T ij = &Sigma; m = 0 p &Sigma; n = 0 q &Sigma; t = 0 n &Sigma; i = 0 m + t &Sigma; j = 0 n - t n t ( - &gamma; ) t c p , m N c q , n M d m + t , i N d n - t , j M I pq ysh - - - ( 15 )
T ij = &Sigma; m = 0 p &Sigma; n = 0 q &Sigma; i = 0 m &Sigma; j = 0 n &alpha; - ( m + 1 ) &delta; - ( n + 1 ) c p , m N c q , n M d m , i N d n , j M I pq as - - - ( 16 )
Step B, is embedded into Tchebichef square invariant in the invariant region of original image, obtains watermarking images, and embedding formula is:
I pq as ( h ) = I pq as ( f ) + s pq I pq as ( f ) - - - ( 17 )
Watermark w is expressed as to the function of original image Tchebichef square invariant:
T pq ( h ) = ( 1 + s pq ) T pq ( f ) - - - ( 19 )
The orthogonality of utilizing Tchebichef square, obtains:
h = f + w = f + &Sigma; p = 0 M &Sigma; q = 0 M s pq P p ( x ) P q ( y ) T pq ( f ) - - - ( 20 )
Wherein M is the maximum order of square invariant, thereby completes the embedding of watermark.
2. the image watermark detection method based on the affine invariant of Tchebichef square, is characterized in that, comprises the steps:
Steps A, obtains and receives image t and watermarking images h;
Step B, is calculated and is received image t and the watermarking images h distance at feature space by following formula:
d ( t , h ) = | I ( t ) - ( h ) | | I ( t ) | - - - ( 21 )
Here I (t) and I (h) represent respectively the function I of the Tchebichef square invariant that receives image and watermarking images
Step C, relatively d (t, h) and predefined threshold value d thif, d (t, h) <d th, think that watermark is appraisable, if d (t, h)>=d th, think that watermark is not appraisable.
3. the image watermark detection method based on the affine invariant of Tchebichef square according to claim 2, is characterized in that, described I is mean value function:
I = 1 L &Sigma; i = 1 L I i affne - - - ( 22 )
Wherein, L is the number of the square invariant that uses in watermark detection.
4. the image watermark extracting method based on the affine invariant of Tchebichef square, is characterized in that, comprises the steps:
Steps A, obtains and receives image t and watermarking images h;
Step B obtains the parameter matrix m (h) of watermarking images from receive image t and watermarking images h by following formula
m ( h ) = &alpha; ( h ) &alpha; ( h ) &beta; ( h ) &delta; ( h ) &gamma; ( h ) &delta; ( h ) ( 1 + &beta; ( h ) &gamma; ( h ) ) - - - ( 23 )
Parameter matrix m (t) with reception image t:
m ( t ) = &alpha; ( t ) &alpha; ( t ) &beta; ( t ) &delta; ( t ) &gamma; ( t ) &delta; ( t ) ( 1 + &beta; ( t ) &gamma; ( t ) ) - - - ( 24 )
Step C, estimates affine transformation parameter from m (h) and m (t);
Step D, by matrix m (h) m – 1(t) obtain restored image f ';
Step e, deducts original image f ' and estimates the watermark of embedding with restored image f.
CN201410094087.3A 2014-03-14 2014-03-14 Image watermark method based on Tchebichef square affine invarients Expired - Fee Related CN103886541B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410094087.3A CN103886541B (en) 2014-03-14 2014-03-14 Image watermark method based on Tchebichef square affine invarients

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410094087.3A CN103886541B (en) 2014-03-14 2014-03-14 Image watermark method based on Tchebichef square affine invarients

Publications (2)

Publication Number Publication Date
CN103886541A true CN103886541A (en) 2014-06-25
CN103886541B CN103886541B (en) 2017-04-05

Family

ID=50955418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410094087.3A Expired - Fee Related CN103886541B (en) 2014-03-14 2014-03-14 Image watermark method based on Tchebichef square affine invarients

Country Status (1)

Country Link
CN (1) CN103886541B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110430333A (en) * 2019-07-10 2019-11-08 太原理工大学 A kind of dual image active certification method of fractional order Tchebichef transform domain

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101556686B (en) * 2009-03-30 2011-06-01 西安电子科技大学 Robust image watermark method based on local Tchebichef moment
CN101887575B (en) * 2010-07-26 2012-05-30 北京交通大学 Multi-geometric attack resistant robust watermarking method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110430333A (en) * 2019-07-10 2019-11-08 太原理工大学 A kind of dual image active certification method of fractional order Tchebichef transform domain

Also Published As

Publication number Publication date
CN103886541B (en) 2017-04-05

Similar Documents

Publication Publication Date Title
Licks et al. Geometric attacks on image watermarking systems
Mundher et al. Digital watermarking for images security using discrete slantlet transform
US9443277B2 (en) Method for embedding and extracting multi-scale space based watermark
Vaidya et al. Adaptive digital watermarking for copyright protection of digital images in wavelet domain
Peng et al. Image authentication scheme based on reversible fragile watermarking with two images
Hadmi et al. Perceptual image hashing
CN107067363B (en) A kind of non-blind robust Spatial Domain Image Watermark method constant based on pixel order relation
Zhang et al. A contour-based semi-fragile image watermarking algorithm in DWT domain
Sharifara et al. A novel approach to enhance robustness in digital image watermarking using multiple bit-planes of intermediate significant bits
Hsu et al. DIGITAL WATERMARKING SCHEME FOR COPYRIGHT PROTECTION AND TAMPERING DETECTION.
Sun et al. Research on embedding and extracting methods for digital watermarks applied to QR code images
Gopalakrishnan et al. Semi fragile watermarking using Gaussian mixture model for malicious image attacks
CN103886541A (en) Image watermarking method based on Tchebichef moment affine invariant
Hiran et al. Robust & secure digital image watermarking technique using concatenation process
Ishizuka et al. A zero-watermarking-like steganography and potential applications
CN104504644A (en) Color image watermark detection method based on invariant-moment geometric correction
Al-Kadei et al. Improve a secure blind watermarking technique for digital video
CN103873871A (en) Geometric-attack-resistant robust video watermark method based on timeline spread spectrum
Sen et al. An algorithm for digital watermarking of still images for copyright protection
Liao et al. A novel digital image watermarking approach based on image blocks similarity
CN102510490A (en) Video watermark realizing method against geometric attack based on three-dimensional discrete cosine transform (DCT)
Roy et al. Intelligent Image Watermarking for Copyright Protection
Xiao-zhu et al. Antitamper Image Watermarking Based on Cellular Network Topology for IoT-Themed Mobile Forensics
Abbas et al. Proposed an intelligent watermarking in gis environment
She et al. Color Image Watermarking Based on Octonion Discrete Cosine Transform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170405

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