CN102496135A - Deadweight tonnage (DWT) domain-based digital watermark method and system - Google Patents

Deadweight tonnage (DWT) domain-based digital watermark method and system Download PDF

Info

Publication number
CN102496135A
CN102496135A CN2011104009618A CN201110400961A CN102496135A CN 102496135 A CN102496135 A CN 102496135A CN 2011104009618 A CN2011104009618 A CN 2011104009618A CN 201110400961 A CN201110400961 A CN 201110400961A CN 102496135 A CN102496135 A CN 102496135A
Authority
CN
China
Prior art keywords
watermark
coefficient
inverse
wavelet
image
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
CN2011104009618A
Other languages
Chinese (zh)
Other versions
CN102496135B (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.)
Yinjiang Technology Co.,Ltd.
ZHEJIANG YINJIANG TRAFFIC TECHNOLOGY Co.,Ltd.
ZHEJIANG YINJIANG ZHIHUI TRAFFIC GROUP Co.,Ltd.
Original Assignee
HANGZHOU YINJIANG WISDOM TRAFFIC TECHNOLOGY CO LTD
ZHEJIANG ENJOYOR TRAFFIC TECHNOLOGY Co Ltd
Enjoyor Co Ltd
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 HANGZHOU YINJIANG WISDOM TRAFFIC TECHNOLOGY CO LTD, ZHEJIANG ENJOYOR TRAFFIC TECHNOLOGY Co Ltd, Enjoyor Co Ltd filed Critical HANGZHOU YINJIANG WISDOM TRAFFIC TECHNOLOGY CO LTD
Priority to CN 201110400961 priority Critical patent/CN102496135B/en
Publication of CN102496135A publication Critical patent/CN102496135A/en
Application granted granted Critical
Publication of CN102496135B publication Critical patent/CN102496135B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a deadweight tonnage (DWT) domain-based digital watermark method. A watermark embedding process comprises the following steps that: inverse pretreatment of a gray-scale watermark image; luminance-bandwidth-chrominance (YUV) color space conversion of an original colorful image; wavelet secondary transformation of weight Y; wavelet transformation of gray-scale watermark image; difference value storage of watermark image wavelet coefficient; encryption arrangement of watermark image wavelet coefficient; insertion of watermark image wavelet coefficient and inverse coefficient; and wavelet inverse transformation of inserted watermark image; and the watermark extraction process comprises the following steps that: YUV color space conversion of the inserted watermark image; wavelet secondary transformation of weight Y of the inserted watermark image; wavelet coefficient restoration of the gray-scale watermark image according to the encryption arrangement of the gray-scale watermark image; all-zero compensation of a gray-scale watermark image wavelet coefficient diagonal band; and wavelet coefficient inverse transformation of the gray-scale watermark image. Due to the adoption of the method and the system, the invisibility of a watermark can be guaranteed, and good robustness on the attacks such as compression, noise plus and filtering of a joint photographic experts group (JPEG) can be realized.

Description

A kind of digital watermark method and system based on the DWT territory
Technical field
The invention belongs to the Information Hiding Techniques field of communication aspects, relate to a kind of digital watermark method and system based on the DWT territory.
Background technology
Digital watermark technology is that some identification informations are directly embedded in the middle of the digital carrier and do not influence the use value of original vector, also is not easy to be found out and revises once more, but can be by the technology of producer identification and identification.These are hidden in the information in the carrier, can be used for confirming creator of content, buyer, transmission secret information or judge whether carrier purpose such as is distorted.Digital watermarking is a research direction of Information Hiding Techniques, is the important branch in Investigation of Information Hiding Technology field.
In recent years, along with the development of digital Age, increasing information material is preserved with digital form and is transmitted.Also more and more for people pay attention to, therefore its application has also obtained expansion as a kind of copyright salvo in digital watermarking.The basic application of current digital watermarking is copyright protection, hiding sign, authentication and invisible communication of safety.When digital watermarking was applied to copyright protection, potential application market was ecommerce, online or off-line ground distributing multimedia contents and large-scale broadcast service.When digital watermarking is used for hiding sign, can be applied in fields such as medical science, drawing, digital imagery, digital image monitor, multimedia index and content-based retrievals.The authenticated connection of digital watermarking, the invisible communication of safety of digital watermarking will be widely used in national defence and intelligence department above main ID card, credit card, the atm card etc.
In the prior art; The digital watermarking majority is spatial domain or the frequency field that watermark information is embedded into image; And wherein can the room and time signal be decomposed under a plurality of different resolution-scale owing to wavelet transformation; And can handle signal to the different resolution yardstick of signal, so this method has obtained utilizing widely.Though have now much based on wavelet transformation propose about the digital watermark method in gray scale watermark, blind watermark and the coloured image.But these methods all have some defective, often can only take into account wherein or 2 requirement, coloured image that can not the blind watermark of complete realization gray scale.
So, be necessary to study in fact, so that a kind of scheme to be provided, solve the defective that exists in the above-mentioned prior art, when realizing blind watermark extracting, can make that again the stability of system is improved, guarantee the disguise and the security of watermark.
Summary of the invention
For addressing the above problem, the object of the present invention is to provide a kind of digital watermark method and system based on the DWT territory, to realize embedding and extraction, guarantee the disguise and the security of watermark for the blind watermarking images of gray scale.
For realizing above-mentioned purpose, technical scheme of the present invention is:
A kind of digital watermark method based on the DWT territory comprises the embedding of watermark and the extraction of watermark, and wherein, the embedding of watermark comprises the steps:
S10: obtain the original color image of treating embed watermark and the gray scale watermarking images that will embed;
S12: original color image is carried out the color space conversion of YUV, and the Y component of the original color image after the conversion is carried out the secondary wavelet transformation;
S13: to the pre-service of gray scale watermarking images inverse, the later gray scale watermarking images of inverse pre-service is carried out wavelet transformation one time, and cast out high frequency diagonal subband part wherein;
S14: the wavelet coefficient low frequency sub-band behind the gray scale watermarking images wavelet transformation is carried out difference preserve;
S15: carry out carrying out sequence permutation together with watermark inverse pre-service variable again after low frequency coefficient, other wavelet conversion coefficients that difference preserves multiply by coefficient separately, and putting in order as a close spoon;
S16: the size through calculating original color image and gray scale watermarking images is confirmed the number of times that coefficient sequence need repeat to embed;
S17: the sequence among the step S15 set by step the multiplicity that calculates of S16 be embedded in the original image secondary wavelet conversion coefficient diagonal angle subband;
S18: will embed coloured image behind the coefficient and carry out the secondary inverse wavelet transform and obtain the Y component, and carry out the conversion of color space, and obtain the later image of embed watermark with the Cr and the Cb component of original image;
The extraction of watermark comprises the steps:
S20: the image behind the embed watermark is carried out the YUV color space conversion, and carry out the secondary wavelet transformation to Y component wherein;
S21: each subband and the inverse pre-service decision variable ε ' that extract the diagonal angle high-frequency sub-band part of secondary wavelet transformation according to the close spoon among the step S15 gray scale watermarking images.
S22: the full spot patch of gray scale watermarking images wavelet coefficient diagonal angle subband is complete, carry out inverse wavelet transform to the diagonal angle subband of each sub-band coefficients mean value that obtains and full zero setting one time, the gray scale watermarking images that obtains extracting.
A kind of digital watermarking system based on the DWT territory; Comprise watermark embedded part and watermark extracting part; Wherein, The watermark embedded part comprises: be used to obtain the original color image of treating embed watermark and the gray scale watermarking images that will embed image acquisition unit, be connected the color space conversion that image acquisition unit is used for the original color image of obtaining is carried out YUV; And the color space conversion that the Y component of the original color image after the conversion is carried out the secondary wavelet transformation is with the secondary wavelet transform unit, be connected with the secondary wavelet transform unit with color space conversion; In order to the pre-service of gray scale watermarking images inverse; The later gray scale watermarking images of inverse pre-service is carried out wavelet transformation one time; And the inverse pre-service of casting out high frequency diagonal subband part wherein is connected with wavelet transform unit to be used for that the wavelet coefficient low frequency sub-band behind the gray scale watermarking images wavelet transformation is carried out difference that difference preserves with wavelet transform unit, with the inverse pre-service and preserves the unit, preserves the unit with difference and be connected and carry out sequence permutation with watermark inverse pre-service variable again after multiply by coefficient separately with low frequency coefficient, other wavelet conversion coefficients with the difference preservation; And be connected size as the sequence permutation unit of a close spoon, with the sequence permutation unit putting in order with calculating original color image and gray scale watermarking images; Confirm number of times that coefficient sequence need repeat to embed repeat embed the number of times computing unit, with repeat to embed the number of times computing unit and be connected so that the sequence in the sequence permutation unit is embedded the unit, is connected with sequence embedding unit will embed coloured image behind the coefficient and carries out the secondary inverse wavelet transform and obtain the Y component by repeating to embed sequence in the secondary wavelet conversion coefficient diagonal angle subband that multiplicity that the number of times computing unit calculates is embedded into original image, and the inverse transformation and the color space converting unit of carrying out color space conversion with the Cr and the Cb component of original image;
Complete and the inverse wavelet transform unit of the full spot patch of diagonal angle subband that watermark extracting partly includes converter unit, the extraction unit that is connected with converter unit, is connected with extraction unit; Wherein, The image of converter unit after with embed watermark carries out the YUV color space conversion, and carries out the secondary wavelet transformation to Y component wherein; Extraction unit extracts the diagonal angle high-frequency sub-band part of secondary wavelet transformation each subband and the inverse pre-service decision variable ε ' of gray scale watermarking images according to the close spoon in the sequence permutation unit of embed watermark part; Complete and the inverse wavelet transform unit is complete with the full spot patch of the wavelet coefficient diagonal angle subband of gray scale watermarking images by the full spot patch of diagonal angle subband then; Carry out inverse wavelet transform to the diagonal angle subband of each sub-band coefficients that obtains and full zero setting one time, the gray scale watermarking images that obtains extracting.
The digital watermark method that the present invention is based on the DWT territory is through the secondary wavelet transformation diagonal components sub-band coefficients with watermarking images wavelet coefficient replacement carrier image; Watermark information is embedded in the diagonal components of secondary wavelet transformation; Use the method for replacement watermark wavelet coefficient rather than employing quantification commonly used; Make again that when having realized blind watermark extracting the stability of this system is improved, guarantee the disguise and the security of watermark.
Description of drawings
Fig. 1 is the embedding flow process diagram of watermark of the present invention.
Fig. 2 is the extraction flow process diagram of watermark of the present invention.
Fig. 3 is an original color image secondary wavelet transformation synoptic diagram of the present invention.
Fig. 4 is a watermarking images wavelet transformation synoptic diagram of the present invention.
Fig. 5 (a) is original color image Lena.
Fig. 5 (b) is the gray scale watermarking images.
Fig. 6 (a) is the coloured image Lena behind the embed watermark.
The gray scale watermarking images of Fig. 6 (b) for extracting.
Fig. 7 is the module frame chart of another embodiment of the present invention based on the digital watermarking system in DWT territory.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Please with reference to Fig. 1, shown in Figure 2, the digital watermark method that the present invention is based on the DWT territory comprises the embedding of watermark and the extraction of watermark.Wherein, The telescopiny of watermark is: original color image is carried out the conversion of YUV color space, the Y component is carried out the secondary wavelet transformation, carry out the inverse pre-service to the gray scale watermarking images then; Preserve its wavelet conversion coefficient through difference again; Encrypt to arrange the secondary wavelet transformation diagonal angle sub-band coefficients that replaces the Y component, at last the Y component after the replacement is carried out the secondary inverse wavelet transform, obtain the coloured image behind the embed watermark.And the leaching process of watermark is: the image of embed watermark is carried out the conversion of YUV color space; Then the Y component is carried out the secondary wavelet transformation; Carry out inverse wavelet transform then, the gray scale watermarking images that obtains extracting according to each Wavelet Component that obtains the gray scale watermark that puts in order of the encryption in the telescopiny.
As shown in Figure 1, it shows the embedding flow process diagram of watermark, and the embedding of watermark comprises the steps:
S10: obtain the original color image of treating embed watermark and the gray scale watermarking images that will embed;
S12: original color image is carried out the color space conversion of YUV, and the Y component of the original color image after the conversion is carried out the secondary wavelet transformation;
S13: to the pre-service of gray scale watermarking images inverse, the later gray scale watermarking images of inverse pre-service is carried out wavelet transformation one time, and cast out high frequency diagonal subband part wherein;
S14: the wavelet coefficient low frequency sub-band behind the gray scale watermarking images wavelet transformation is carried out difference preserve;
S15: carry out carrying out sequence permutation together with watermark inverse pre-service variable again after low frequency coefficient, other wavelet conversion coefficients that difference preserves multiply by coefficient separately, and putting in order as a close spoon;
S16: the size through calculating original color image and gray scale watermarking images is confirmed the number of times that coefficient sequence need repeat to embed;
S17: the sequence among the step S15 set by step the multiplicity that calculates of S16 be embedded in the original image secondary wavelet conversion coefficient diagonal angle subband;
S18: will embed coloured image behind the coefficient and carry out the secondary inverse wavelet transform and obtain the Y component, and carry out the conversion of color space, and obtain the later image of embed watermark with the Cr and the Cb component of original image.
Wherein,
In step S12, be that the original image of M * N carries out the conversion of color space to size, with the RGB color space conversion to the YUV color space; Y component is wherein carried out the secondary wavelet transformation, and the secondary wavelet transformation subband that obtains is designated as LL2 respectively, HL2, and LH2, HH2, as shown in Figure 3.
In step S13, the size that will embed is that the gray scale watermarking images of m * n carries out the inverse pre-service, and whether the positive and negative value record watermarking images through inverse variable ε had carried out inverse is handled.Image after then inverse being handled carries out wavelet transformation one time, and the low frequency coefficient matrix behind the wavelet transformation that obtains is designated as wLL, and the high frequency coefficient matrix is designated as wLH, wHL, and wHH, as shown in Figure 4.Wherein, through the gray scale watermarking images is carried out the calculating of average gray, whether determine whether carrying out inverse according to this mean value and handle greater than 127.Described inverse variable ε is a positive integer, if watermarking images by inverse, then set ε=-ε, otherwise keep initial value.In practical application, get ε=13, can obtain effect preferably.
In step S14, S15, wLL is carried out difference preserve, with each component and corresponding multiplication, obtain α wLL, β wLH, γ wHL again.Afterwards, α wLL, β wLH, coefficient among the γ wHL and ε are arranged in the sequence that becomes mn * 1 together, the order of wherein arranging can be used as a kind of means of encryption, when extracting watermark in order to the protection watermark information.It is a kind of way that former and later two coefficient differences replace the original coefficient value of preserving that described difference is preserved, and every separated δ coefficient value obtains raw value once more.In the practical application, get δ=4.The described cryptographic means that puts in order refers to α wLL, β wLH, and coefficient among the γ wHL and ε put in order, and through different putting in order, can produce the sequence of different mn * 1.When extracting, just can't not obtain correct α wLL, β wLH, γ wHL if know correct putting in order.
In step S16, S17; Calculate the number of times that repeat to embed according to
Figure BDA0000116504990000061
, the mn among the step S15 * 1 sequence is repeated the HH2 diagonal angle high-frequency sub-band that the inferior replacement of N ' finishes the secondary wavelet conversion coefficient of the Y component that obtains among the step S12.
In step S18, the image after the replacement is carried out the secondary inverse wavelet transform, obtain the Y component, combine with before Cr and Cb component again and carry out the conversion of color space, obtain the watermark embedded images of RGB form.
As shown in Figure 2, it shows the extraction flow process diagram of watermark, and the extraction of watermark comprises the steps:
S20: the image behind the embed watermark is carried out the YUV color space conversion, and carry out the secondary wavelet transformation to Y component wherein;
S21: each subband and the inverse pre-service decision variable ε ' that extract the diagonal angle high-frequency sub-band part of secondary wavelet transformation according to the close spoon among the step S15 gray scale watermarking images.
S22: the full spot patch of gray scale watermarking images wavelet coefficient diagonal angle subband is complete, carry out inverse wavelet transform to the diagonal angle subband of each sub-band coefficients mean value that obtains and full zero setting one time, the gray scale watermarking images that obtains extracting.
Wherein,
In step S20, S21; Image behind the embed watermark is carried out the YUV color space conversion; Wherein Y component through row secondary wavelet transformation, is extracted HH2 diagonal angle subband component wherein, and extract wavelet coefficient α wLL ' respectively according to the close spoon among the step S15; β wLH ', γ wHL ' and inverse processing parameter ε '.
In step S22, try to achieve the mean value that all repeat to embed coefficient according to repeating to embed number of times, with α wLL ', β wLH '; γ wHL ' corresponding average multiply by coefficient 1/ α, 1/ β, and 1/ γ obtains corresponding watermark wavelet transformation wLL '; WLH ' and wHL ' subband part, with wLL ', wLH '; WHL ' is combined into corresponding watermark wavelet sub-band, and the wHH that is not embedded into part just replaces with full zero coefficient subband, these coefficients is carried out an inverse wavelet transform obtain watermarking images.Wherein,, whether greater than zero, whether judge watermark, determine whether the watermarking images that needs inverse to obtain, so far obtain the gray scale watermarking images of required extraction by result of determination by inverse according to its value for the inverse variable ε ' mean value that obtains.Described alpha, beta, gamma are to be used for and wLL, wLH, and wHL subband matrix coefficient multiplies each other, and in the practical application, gets α=0.08, β=γ=0.12.
Please with reference to Fig. 5, shown in Figure 6, the Lena coloured image with 512 * 512 is an original image, and the gray level image with 32 * 32 is that the example of watermarking images comes the present invention's creation is described.
At first carrying out the embedding of watermark, is that M * N (512 * 512) Lena original image carries out the conversion of color space to size, and the RGB color space is converted to the YUV color space.Y component in the YUV color space is carried out the secondary wavelet transformation, obtain size and be four secondary wavelet transformation subband LL2 of 128 * 128, HL2, LH2, HH2, concrete sub-band division is as shown in Figure 3.Calculated size is the average gray value of m * n (64 * 64) gray scale watermarking images, and computing formula is following:
Y ‾ w = Σ i = 1 m Σ j = 1 n Y w ( i , j ) m × n ,
Wherein, Y w(i, j) expression gray scale watermarking images is at (i, j) locational grey scale pixel value.If
Figure BDA0000116504990000082
Greater than 127, Y then w(i, j)=| 255-Y w(i, j) |, and be the inverse variable assignments ε=-13; If
Figure BDA0000116504990000083
Smaller or equal to 127, then keep Y w(i, j) value is constant, and the inverse variable assignments is ε=13.
Image to after the inverse processing carries out wavelet transformation one time, and the low frequency coefficient matrix behind the wavelet transformation that obtains is designated as wLL, and the high frequency coefficient matrix is designated as wLH, wHL, wHH.Concrete sub-band division is as shown in Figure 4.The low frequency coefficient matrix wLL that obtains is carried out difference preserve, wherein, define the coefficient number interval that a variable δ representes to obtain once more non-difference watermark wavelet coefficient.Concrete grammar is following: establishing the original coefficient sequence is W i(i representes i coefficient value in the sequence), δ=4, it is W that difference is preserved coefficient sequence i', W then 1'=W 1, W 2'=W 1-W 2, W 3'=W 2-W 3, W 4'=W 3-W 4, W 5'=W 5....With watermark wavelet conversion coefficient value and corresponding alpha=0.08, multiplying each other in β=γ=0.12, obtains α wLL, β wLH, γ wHL.Afterwards, α wLL, β wLH, coefficient among the γ wHL and inverse variable ε are arranged in the sequence that becomes mn * 1 together.The order of wherein arranging can be used as a kind of means of encryption, when extracting watermark, can protect watermark information.Got α wLL (1,1) in the present embodiment, β wLH (1,1), γ wHL (1,1), ε, α wLL (1,2), β wLH (1,2) α · WLL ( m 4 , n 4 ) , β · WLH ( m 4 , n 4 ) , γ · WHL ( m 4 , n 4 ) , The mode of ε arrange (wLL (and i, j) the coefficient value wLH of the capable j row of i in the expression wLL matrix of coefficients (i, j), wHL (i, j) in like manner).The mn that obtains * 1 sequence basis ( N ′ = M 4 m × N 4 n = ( 512 4 × 64 ) × ( 512 4 × 64 ) = 4 ) What calculate repeats to embed number of times, repeats sequence to replace for 4 times the HH2 diagonal angle sub-band coefficients value of original image Y component.Wavelet coefficient image after the replacement is carried out the secondary inverse wavelet transform, obtain the Y component, combine with before Cr and Cb component again and carry out the conversion of color space, obtain the watermark embedded images of RGB form.
Secondly, carry out the extraction of watermarking images, the leaching process of watermarking images is: carry out the conversion of RGB color space to the YUV color space to containing watermarking images, and then Y color component is wherein carried out the secondary wavelet transformation.Obtain corresponding LL2 ', HL2 ', LH2 ', HH2 '.Put in order according to the encryption in the watermark embed process and to extract wavelet coefficient.Owing in implementation process, repeat to have embedded 4 times, institute is in the hope of α wLL ', β wLH '; γ wHL ', the mean value that these coefficients embed for 4 times, and ε ' is owing to replaced the embedding coefficient positions of wHH; So be embedded into 4096 times, equally also tried to achieve the mean value of ε '.With α wLL ', β wLH ', γ wHL ' and 1/ α, 1/ β, 1/ γ multiply each other and obtain to extract the wLL ' of watermarking images, wLH ', and wHL ' wavelet transformation sub-band coefficients, and the wHH that is not embedded into part just replaces with the full zero coefficient subband that waits size.This wavelet transformation time subband coefficient image is carried out inverse wavelet transform obtain the gray scale watermarking images.Whether greater than zero, judge that with this whether gray scale watermarking images is by inverse according to the mean value of ε '.If by inverse then Y w' (i, j)=| 255-Y w' (i, j) |, otherwise keep initial value constant.So far obtain the gray scale watermarking images of required extraction.Y wherein w' (i, j) the gray scale watermarking images of expression extraction is at (i, j) locational grey scale pixel value.The extraction effect of watermarking images is shown in Fig. 6 (b).
To the result of the present embodiment test that makes an experiment, adopt Y-PSNR (PSNR) estimate embed watermark picture and original image between difference.PSNR is defined as:
PSNR = 10 log 10 MN [ max ( I 2 ) ] Σ i = 1 M Σ j = 1 N [ I ( i , j ) - I ′ ( i , j ) ] 2 ,
Wherein I is an original image, and I ' is the image of embed watermark, and M and N are respectively the length and the wide pixel count of image.
Aspect evaluation watermark extracting effect, the watermark after use normalized correlation coefficient NC extracts in the test and the similarity of original watermark are passed judgment on.Corresponding formulas defines as follows:
NC = Σ i = 1 n Σ j = 1 m W ( i , j ) × W ′ ( i , j ) Σ i = 1 n Σ j = 1 m ( W ( i , j ) ) 2 Σ i = 1 n Σ j = 1 m ( W ′ ( i , j ) ) 2 ,
Wherein, W representes original watermark, the watermark that W ' expression is extracted, and n and m are respectively the length and the wide pixel count of watermarking images.
According to the parameter value in the implementation process, the BMP image is embedded and extracts test, the PSNR=37.03 of the image behind the embed watermark, the NC=0.998 of the watermark that extracts, effect is shown in Fig. 6 (b).Shown in following table 1, table 2, table 3, its shown this digital watermarking system for JPEG compression, filtering, add and make an uproar and the 1/4 watermarking images extraction effect cut out under the attack condition.Wherein, table 1 for JPEG lossy compression method test, table 2 for add the attack test of making an uproar, table 3 is cut out test for medium filtering and 1/4.
Table 1
Can find out that from the result of table 1, table 2, table 3 digital watermark method of the present invention attacks for JPEG and add to make an uproar to attack better anti-attack effect is arranged; Is to have good resisting attacks ability at 3 * 3 o'clock for medium filtering in the wave filter size, also has good robustness to cutting out attack simultaneously.
See also shown in Figure 7ly,, a kind of digital watermarking system based on the DWT territory is provided also, comprise watermark embedded part and watermark extracting part as another embodiment of the present invention.The watermark embedded part includes image acquisition unit; The color space conversion and the secondary wavelet transform unit that connect image acquisition unit; Inverse pre-service and a wavelet transform unit of being connected with the secondary wavelet transform unit with color space conversion; Preserve the unit with the difference that the inverse pre-service is connected with wavelet transform unit; Preserve the sequence permutation unit that the unit is connected with difference; What be connected with the sequence permutation unit repeats to embed the number of times computing unit; With repeat to embed the sequence that the number of times computing unit is connected and embed the unit; Embed inverse transformation and the color space converting unit that the unit is connected with sequence.Wherein, Said image acquisition unit is used to obtain the original color image of treating embed watermark and the gray scale watermarking images that will embed; Color space conversion and secondary wavelet transform unit are carried out the color space conversion of YUV to the original color image of obtaining, and the Y component of the original color image after the conversion is carried out the secondary wavelet transformation; Simultaneously; Inverse pre-service and a wavelet transform unit are to the pre-service of gray scale watermarking images inverse; The later gray scale watermarking images of inverse pre-service is carried out wavelet transformation one time; And cast out high frequency diagonal subband part wherein, preserve the wavelet coefficient low frequency sub-band of unit after by difference then and carry out difference and preserve gray scale watermarking images wavelet transformation; After multiply by coefficient separately, low frequency coefficient, other wavelet conversion coefficients that difference is preserved in the sequence permutation unit carry out sequence permutation together with watermark inverse pre-service variable again, and putting in order as a close spoon; Repeat to embed the number of times computing unit and confirm the number of times that coefficient sequence need repeat to embed through the size of calculating original color image and gray scale watermarking images; Sequence embeds the unit sequence in the sequence permutation unit is embedded in the original image secondary wavelet conversion coefficient diagonal angle subband by repeating to embed the multiplicity that the number of times computing unit calculates; At last will embed coloured image behind the coefficient by inverse transformation and color space converting unit carries out the secondary inverse wavelet transform and obtains the Y component; And carry out the conversion of color space with the Cr and the Cb component of original image, obtain the later image of embed watermark.
Complete and the inverse wavelet transform unit of the full spot patch of diagonal angle subband that watermark extracting partly includes converter unit, the extraction unit that is connected with converter unit, is connected with extraction unit.Wherein, the image of converter unit after with embed watermark carries out the YUV color space conversion, and carries out the secondary wavelet transformation to Y component wherein; Extraction unit extracts the diagonal angle high-frequency sub-band part of secondary wavelet transformation each subband and the inverse pre-service decision variable ε ' of gray scale watermarking images according to the close spoon in the sequence permutation unit of embed watermark part; Complete and the inverse wavelet transform unit is complete with the full spot patch of gray scale watermarking images wavelet coefficient diagonal angle subband by the full spot patch of diagonal angle subband then; Carry out inverse wavelet transform to the diagonal angle subband of each sub-band coefficients that obtains and full zero setting one time, the gray scale watermarking images that obtains extracting.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the digital watermark method based on the DWT territory comprises the embedding of watermark and the extraction of watermark, it is characterized in that:
The embedding of watermark comprises the steps:
S10: obtain the original color image of treating embed watermark and the gray scale watermarking images that will embed;
S12: original color image is carried out the color space conversion of YUV, and the Y component of the original color image after the conversion is carried out the secondary wavelet transformation;
S13: to the pre-service of gray scale watermarking images inverse, the later gray scale watermarking images of inverse pre-service is carried out wavelet transformation one time, and cast out high frequency diagonal subband part wherein;
S14: the wavelet coefficient low frequency sub-band behind the gray scale watermarking images wavelet transformation is carried out difference preserve;
S15: will carry out carrying out sequence permutation together with watermark inverse pre-service variable again after low frequency coefficient, other wavelet conversion coefficients that difference preserves multiply by coefficient separately, and putting in order as a close spoon;
S16: the size through calculating original color image and gray scale watermarking images is confirmed the number of times that coefficient sequence need repeat to embed;
S17: the sequence among the step S15 set by step the multiplicity that calculates of S16 be embedded in the original image secondary wavelet conversion coefficient diagonal angle subband;
S18: will embed coloured image behind the coefficient and carry out the secondary inverse wavelet transform and obtain the Y component, and carry out the conversion of color space, and obtain the later image of embed watermark with the Cr and the Cb component of original color image;
The extraction of watermark comprises the steps:
S20: the image behind the embed watermark is carried out the YUV color space conversion, and carry out the secondary wavelet transformation to Y component wherein;
S21: each sub-band coefficients and the inverse pre-service decision variable ε ' that extract the diagonal angle high-frequency sub-band part of secondary wavelet transformation according to the close spoon among the step S15 gray scale watermarking images.
S22: the full spot patch of gray scale watermarking images wavelet coefficient diagonal angle subband is complete, carry out inverse wavelet transform to the diagonal angle subband of each sub-band coefficients mean value that obtains and full zero setting one time, the gray scale watermarking images that obtains extracting.
2. according to claim 1 based on the digital watermark method in DWT territory, it is characterized in that: among the said step S12, original image is carried out the conversion of color space, the RGB color space is converted to the YUV color space; Y component is wherein carried out the secondary wavelet transformation, and the secondary wavelet transformation subband that obtains is designated as LL2, HL2, LH2, HH2 respectively.
3. like claim 1 and 2 said digital watermark methods based on the DWT territory, it is characterized in that: among the said step S13, the gray scale watermarking images that will embed carries out the inverse pre-service; Whether the positive and negative value record watermarking images through inverse variable ε had carried out the inverse processing; Image after then inverse being handled carries out wavelet transformation one time, and the low frequency coefficient matrix behind the wavelet transformation that obtains is designated as wLL, and the high frequency coefficient matrix is designated as wLH; WHL, wHH.
4. like the said digital watermark method of claim 3, it is characterized in that: among said step S14, the S15, low frequency coefficient matrix wLL is carried out difference preserve, again with each component and corresponding multiplication based on the DWT territory; Obtain α wLL, β wLH, γ wHL; Afterwards, α wLL, β wLH; Coefficient among the γ wHL and ε are arranged in becomes a sequence together, and the order of wherein arranging can be used as a kind of means of encryption, when extracting watermark in order to the protection watermark information.
5. like the said digital watermark method based on the DWT territory of claim 4, it is characterized in that: it is a kind of way that former and later two coefficient differences replace the original coefficient value of preserving that described difference is preserved, and every separated δ coefficient value obtains raw value once more; The described cryptographic means that puts in order refers to α wLL, β wLH, and coefficient among the γ wHL and ε put in order, and through different putting in order, can produce different sequences.
6. like the said digital watermark method of claim 5 based on the DWT territory; It is characterized in that: in said step S16, S17; The number of times that calculating should repeat to embed repeats the HH2 diagonal angle high-frequency sub-band that the inferior replacement of N ' finishes the secondary wavelet conversion coefficient of the Y component that obtains among the step S12 with the sequence of arranging gained among the step S15.
7. like the said digital watermark method of claim 6 based on the DWT territory; It is characterized in that: among the said step S18; Image after the replacement is carried out the secondary inverse wavelet transform; Obtain the Y component, combine with before Cr and Cb component again and carry out the conversion of color space, obtain the watermark embedded images of RGB form.
8. like the said digital watermark method of claim 7 based on the DWT territory; It is characterized in that: among said step S20, the S21, the image behind the embed watermark is carried out the YUV color space conversion, to wherein Y component through row secondary wavelet transformation; Extract HH2 ' diagonal angle subband component wherein; And extract wavelet coefficient α wLL ' respectively, β wLH ', γ wHL ' and inverse processing parameter ε ' according to the close spoon among the step S15.
9. like the said digital watermark method of claim 8, it is characterized in that: among the said step S22, try to achieve the mean value that all repeat to embed coefficient according to repeating to embed number of times, α wLL ' based on the DWT territory; β wLH ', γ wHL ' corresponding average multiply by coefficient 1/ α, 1/ β; 1/ γ obtains corresponding watermark wavelet transformation wLL ', wLH '; WHL ' subband part, with wLL ', wLH '; WHL ' is combined into corresponding watermark wavelet sub-band, and the wHH that is not embedded into part just replaces with full zero coefficient subband, these coefficients is carried out an inverse wavelet transform obtain watermarking images.
10. the digital watermarking system based on the DWT territory comprises watermark embedded part and watermark extracting part, it is characterized in that:
The watermark embedded part comprises: be used to obtain the original color image of treating embed watermark and the gray scale watermarking images that will embed image acquisition unit, be connected the color space conversion that image acquisition unit is used for the original color image of obtaining is carried out YUV; And the color space conversion that the Y component of the original color image after the conversion is carried out the secondary wavelet transformation is with the secondary wavelet transform unit, be connected with the secondary wavelet transform unit with color space conversion; In order to the pre-service of gray scale watermarking images inverse; The later gray scale watermarking images of inverse pre-service is carried out wavelet transformation one time; And the inverse pre-service of casting out high frequency diagonal subband part wherein is connected with wavelet transform unit to be used for that the wavelet coefficient low frequency sub-band behind the gray scale watermarking images wavelet transformation is carried out difference that difference preserves with wavelet transform unit, with the inverse pre-service and preserves the unit, preserves the unit with difference and be connected and carry out sequence permutation with watermark inverse pre-service variable again after multiply by coefficient separately with low frequency coefficient, other wavelet conversion coefficients with the difference preservation; And be connected size as the sequence permutation unit of a close spoon, with the sequence permutation unit putting in order with calculating original color image and gray scale watermarking images; Confirm number of times that coefficient sequence need repeat to embed repeat embed the number of times computing unit, with repeat to embed the number of times computing unit and be connected so that the sequence in the sequence permutation unit is embedded the unit, is connected with sequence embedding unit will embed coloured image behind the coefficient and carries out the secondary inverse wavelet transform and obtain the Y component by repeating to embed sequence in the secondary wavelet conversion coefficient diagonal angle subband that multiplicity that the number of times computing unit calculates is embedded into original image, and the inverse transformation and the color space converting unit of carrying out color space conversion with the Cr and the Cb component of original image;
Complete and the inverse wavelet transform unit of the full spot patch of diagonal angle subband that watermark extracting partly includes converter unit, the extraction unit that is connected with converter unit, is connected with extraction unit; Wherein, The image of converter unit after with embed watermark carries out the YUV color space conversion, and carries out the secondary wavelet transformation to Y component wherein; Extraction unit extracts the diagonal angle high-frequency sub-band part of secondary wavelet transformation each subband and the inverse pre-service decision variable ε ' of gray scale watermarking images according to the close spoon in the sequence permutation unit of embed watermark part; Complete and the inverse wavelet transform unit is complete with the full spot patch of the wavelet coefficient diagonal angle subband of gray scale watermarking images by the full spot patch of diagonal angle subband then; Carry out inverse wavelet transform to the diagonal angle subband of each sub-band coefficients that obtains and full zero setting one time, the gray scale watermarking images that obtains extracting.
CN 201110400961 2011-12-06 2011-12-06 Deadweight tonnage (DWT) domain-based digital watermark method and system Active CN102496135B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110400961 CN102496135B (en) 2011-12-06 2011-12-06 Deadweight tonnage (DWT) domain-based digital watermark method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110400961 CN102496135B (en) 2011-12-06 2011-12-06 Deadweight tonnage (DWT) domain-based digital watermark method and system

Publications (2)

Publication Number Publication Date
CN102496135A true CN102496135A (en) 2012-06-13
CN102496135B CN102496135B (en) 2013-10-30

Family

ID=46187957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110400961 Active CN102496135B (en) 2011-12-06 2011-12-06 Deadweight tonnage (DWT) domain-based digital watermark method and system

Country Status (1)

Country Link
CN (1) CN102496135B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104252694A (en) * 2014-10-17 2014-12-31 苏州工业职业技术学院 Embedding method and extraction method for image watermark based on DWT (Discrete Wavelet Transform)
CN107240060A (en) * 2017-05-25 2017-10-10 上海地铁第运营有限公司 Security against fire based on dynamic digital watermark checks picture method for anti-counterfeit and system
CN107426172A (en) * 2017-06-05 2017-12-01 国政通科技股份有限公司 The matching method for pushing and device of a kind of identity information
CN108230224A (en) * 2017-12-29 2018-06-29 湖北工业大学 A kind of Image Watermarking and extracting method for colour blindness image after correction
CN108564519A (en) * 2017-12-22 2018-09-21 重庆邮电大学 A kind of Watermarking for Color Images method based on different transform domain
CN109379508A (en) * 2018-09-18 2019-02-22 湖北工程学院 A kind of combining encryption and the image guard method of compression, storage medium
CN110930288A (en) * 2019-11-21 2020-03-27 上海鹰瞳医疗科技有限公司 Method and device for adding and extracting watermark in fundus image
CN110969563A (en) * 2018-09-28 2020-04-07 浙江大学 Watermark embedding method, watermark extracting method, watermark embedding device, watermark extracting equipment and data processing method
CN112083894A (en) * 2019-06-14 2020-12-15 森大(深圳)技术有限公司 Method, device, equipment and medium for automatically setting white ink amount of pixel by pixel of image

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272485A (en) * 2008-04-07 2008-09-24 中国科学院计算技术研究所 Digital watermarking stacking and detecting method for digital movie copyright protection
US20090060257A1 (en) * 2007-08-29 2009-03-05 Korea Advanced Institute Of Science And Technology Watermarking method resistant to geometric attack in wavelet transform domain
CN102147912A (en) * 2011-03-30 2011-08-10 北京航空航天大学 Adaptive difference expansion-based reversible image watermarking method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090060257A1 (en) * 2007-08-29 2009-03-05 Korea Advanced Institute Of Science And Technology Watermarking method resistant to geometric attack in wavelet transform domain
CN101272485A (en) * 2008-04-07 2008-09-24 中国科学院计算技术研究所 Digital watermarking stacking and detecting method for digital movie copyright protection
CN102147912A (en) * 2011-03-30 2011-08-10 北京航空航天大学 Adaptive difference expansion-based reversible image watermarking method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
何冰: "一种基于DWT域的彩色图像数字水印算法", 《计算机与数字工程》 *
刘奕: "基于DWT 的数字图像水印算法研究", 《计算机时代》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104252694A (en) * 2014-10-17 2014-12-31 苏州工业职业技术学院 Embedding method and extraction method for image watermark based on DWT (Discrete Wavelet Transform)
CN107240060A (en) * 2017-05-25 2017-10-10 上海地铁第运营有限公司 Security against fire based on dynamic digital watermark checks picture method for anti-counterfeit and system
CN107426172A (en) * 2017-06-05 2017-12-01 国政通科技股份有限公司 The matching method for pushing and device of a kind of identity information
CN108564519A (en) * 2017-12-22 2018-09-21 重庆邮电大学 A kind of Watermarking for Color Images method based on different transform domain
CN108564519B (en) * 2017-12-22 2021-11-16 重庆邮电大学 Color image digital watermarking method based on multiple transform domains
CN108230224A (en) * 2017-12-29 2018-06-29 湖北工业大学 A kind of Image Watermarking and extracting method for colour blindness image after correction
CN109379508B (en) * 2018-09-18 2019-09-06 湖北工程学院 A kind of combining encryption and the image guard method of compression, storage medium
CN109379508A (en) * 2018-09-18 2019-02-22 湖北工程学院 A kind of combining encryption and the image guard method of compression, storage medium
CN110969563A (en) * 2018-09-28 2020-04-07 浙江大学 Watermark embedding method, watermark extracting method, watermark embedding device, watermark extracting equipment and data processing method
CN110969563B (en) * 2018-09-28 2022-06-24 浙江大学 Watermark embedding method, watermark extracting method, watermark embedding device, watermark extracting equipment and data processing method
CN112083894A (en) * 2019-06-14 2020-12-15 森大(深圳)技术有限公司 Method, device, equipment and medium for automatically setting white ink amount of pixel by pixel of image
CN110930288A (en) * 2019-11-21 2020-03-27 上海鹰瞳医疗科技有限公司 Method and device for adding and extracting watermark in fundus image
CN110930288B (en) * 2019-11-21 2023-09-08 上海鹰瞳医疗科技有限公司 Method and apparatus for adding and extracting watermark in fundus image

Also Published As

Publication number Publication date
CN102496135B (en) 2013-10-30

Similar Documents

Publication Publication Date Title
CN102496135B (en) Deadweight tonnage (DWT) domain-based digital watermark method and system
Mahto et al. A survey of color image watermarking: State-of-the-art and research directions
Kumar et al. DWT based color image watermarking using maximum entropy
Bhinder et al. An improved robust image-adaptive watermarking with two watermarks using statistical decoder
Singh et al. A secure and robust block based DWT-SVD image watermarking approach
CN101719265B (en) Digital image watermark embedding method and system thereof based on computer-generated hologram
CN110189243A (en) A kind of color image robust watermarking method based on tensor singular value decomposition
Kumar et al. Digital image steganography based on combination of DCT and DWT
Lalani et al. Discrete wavelet transform and a singular value decomposition technique for watermarking based on an adaptive fuzzy inference system
Sharma et al. Robust technique for steganography on Red component using 3-DWT-DCT transform
Viji et al. LSB Steganography in Color and Grayscale Images without using the Transformation
Yadav Dwt–svd–wht watermarking using varying strength factor derived from means of the wht coefficients
Kekre et al. Robust Watermaking Technique Using Hybrid Wavelet Transform Generated From Kekre Transforms and Discrete Cosine Transform
Moniruzzaman et al. Robust RGB color image watermarking scheme based on DWT-SVD and chaotic system
Sever et al. Block size analysis for discrete wavelet watermarking and embedding a vector image as a watermark.
CN113822786B (en) Invisible digital image watermarking processing method and device with strong robustness
Helmy et al. Authentication scheme based on principal component analysis for satellite images
Gupta et al. Hiding text data in image through image watermarking using DCT & DWT: A research paper
Rajoriya et al. SVD and Frequency Domain based Composite Robust Data hiding scheme for image watermarking
Rodriguez Mendez et al. Digital image steganography scheme for speech signals in the discrete wavelet transform domain
Rathour et al. Principal component analysis based digital video watermarking
Nematollahi et al. Image watermarking
Jonnala et al. Secured Data Representation in Images Using Graph Wavelet Transformation Technique.
Du et al. A reversible and fragile watermarking algorithm based on DCT
El-Rahman DWT-Based Steganography for Image Transmission

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
CB02 Change of applicant information

Address after: Hangzhou City, Zhejiang Province, 310030 Xihu District science and Technology Park of West Lake eight West Road No. 2 block G

Applicant after: Enjoyor Co., Ltd.

Applicant after: Zhejiang Enjoyor Traffic Technology Co., Ltd.

Applicant after: ZHEJIANG YINJIANG WISDOM TRANSPORT GROUP CO., LTD.

Address before: Hangzhou City, Zhejiang Province, 310030 Xihu District science and Technology Park of West Lake eight West Road No. 2 block G

Applicant before: Enjoyor Co., Ltd.

Applicant before: Zhejiang Enjoyor Traffic Technology Co., Ltd.

Applicant before: Hangzhou Yinjiang Wisdom Traffic Technology Co.,Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 310030 block g, No. 2, Xiyuan 8th Road, Xihu science and technology economic Park, Xihu District, Hangzhou City, Zhejiang Province

Patentee after: Yinjiang Technology Co.,Ltd.

Patentee after: ZHEJIANG YINJIANG TRAFFIC TECHNOLOGY Co.,Ltd.

Patentee after: ZHEJIANG YINJIANG ZHIHUI TRAFFIC GROUP Co.,Ltd.

Address before: 310030 block g, No. 2, Xiyuan 8th Road, Xihu science and technology economic Park, Xihu District, Hangzhou City, Zhejiang Province

Patentee before: ENJOYOR Co.,Ltd.

Patentee before: ZHEJIANG YINJIANG TRAFFIC TECHNOLOGY Co.,Ltd.

Patentee before: ZHEJIANG YINJIANG ZHIHUI TRAFFIC GROUP Co.,Ltd.