CN102117474A - Digital picture watermark embedding and detecting method and device - Google Patents

Digital picture watermark embedding and detecting method and device Download PDF

Info

Publication number
CN102117474A
CN102117474A CN 200910217512 CN200910217512A CN102117474A CN 102117474 A CN102117474 A CN 102117474A CN 200910217512 CN200910217512 CN 200910217512 CN 200910217512 A CN200910217512 A CN 200910217512A CN 102117474 A CN102117474 A CN 102117474A
Authority
CN
China
Prior art keywords
watermark
sub
sequence
information
piece
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
CN 200910217512
Other languages
Chinese (zh)
Other versions
CN102117474B (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.)
New Founder Holdings Development Co ltd
Peking University
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University
Peking University Founder Group Co Ltd
Beijing Founder Electronics 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 Peking University, Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University
Priority to CN 200910217512 priority Critical patent/CN102117474B/en
Publication of CN102117474A publication Critical patent/CN102117474A/en
Application granted granted Critical
Publication of CN102117474B publication Critical patent/CN102117474B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention discloses a digital picture watermark embedding and detecting method and a device thereof for improving the capacity of a digital picture for resisting geometric attacks in the transmission process. The digital picture watermark embedding method comprises the steps that data information needing to be embedded is generated into at least one watermark sub-block, and synchronous templates corresponding to the watermark sub-blocks are constructed; areas to be embedded corresponding to the watermark sub-blocks are determined in the digital picture; the alternating-current coefficient sequence of each image sub-block in each embedded area on a discrete cosine transformation (DCT) domain is obtained; and according to the information in each watermark sub-block and the information of the corresponding position in the corresponding synchronous template, the corresponding alternating-current coefficient in the corresponding alternating-current coefficient sequence is revised so as to realize the embedding of the watermark and the synchronous template.

Description

Watermark embeds and detects in a kind of digital picture method and device
Technical field
The present invention relates to the digital figure watermark technical field, watermark embeds and detects in particularly a kind of digital picture method and device.
Background technology
Along with popularizing of internet communication, network download becomes the common mode of intelligence transmission, also challenges for the security of digital carrier simultaneously, especially aspects such as the copyright of digital picture works, path tracing.Under open network environment, when safeguarding copyright interest various stealing informations are followed the trail of the developing direction that becomes the digital figure watermark technology.Digital picture will inevitably experience various operations or attack in its commercial transport process, such as cutting, convergent-divergent, rotation, contrast variation, exposure variation, Jpeg compression or the like.These attacks often run into simultaneously, and are difficult to opposing, thereby receive much concern especially.The robustness digital figure watermark just is meant that carrier image after many attacks of experience or operation, still can successfully extract a class digital figure watermark technology of watermark information, especially based on the opposing geometric attack.
Geometric attack is meant by doing the various overall situations or local affine, projective transformation etc. and attack containing watermarking images, comprises translation, rotation, convergent-divergent, aspect ratio change, flip horizontal, mirror image, projection distortion and deletes both etc.Wherein rotation (Rotation), convergent-divergent (Scale) and translation (Translation) abbreviate RST usually as.Usually, under RST attacked, watermark still was present in the copyright of being attacked, but watermark signal misplaces, and can not keep the needed synchronism of normal watermark extraction process.It is synchronous again that the process that watermark signal in the copyright is returned to the tram is called watermark.
In order to reach the synchronous again accuracy of watermark, most digital watermarking methods adopts the synchronization template method, promptly when embedding the significant figure watermark information, embed one and be specifically designed to the synchronous again signal of watermark, this signal is used for detecting the geometric transformation that the carrier works are experienced specially.For example: the patent " Method for detecting rotation and magnification in image " of Honsinger C W etc., the patent No. is 5835639.This patent is based on the digital watermark method of synchronization template method, and the watermark of its embedding again as useful load, by calculating is predicted affine transformation parameter that the autocorrelation function of watermark come computed image suffer during detection both as synchronization template.Usually this class technology is called autocorrelation method.This class autocorrelation method changes rotation, convergent-divergent, translation and aspect ratio robustness preferably, but this method can not well be resisted attacks such as cutting, simultaneously, may interfere with each other between synchronization template and the effective watermark information.In addition, the embedding of synchronization template can make the quality of carrier works reduce.
In a word, shortcoming such as existing digital watermark method can not effectively support cutting to attack, and watermark information extracts unstable, and visual effect is relatively poor has limited the practicality of this class digital watermark method greatly.
Summary of the invention
The embodiment of the invention provides method and the device that watermark embeds and detects in a kind of digital picture, in order to improve digital picture is resisted geometric attack in transmission course ability.
The embodiment of the invention provides the method that watermark embeds in a kind of digital picture, comprising:
The data message that need are embedded generates the sub-piece of at least one watermark, and structure and the corresponding synchronization template of the sub-piece of each watermark;
In described digital picture, determine and the corresponding zone to be embedded of the sub-piece of described each watermark;
Obtain the ac coefficient sequence of each image subblock on the discrete cosine transform dct transform domain in each zone to be embedded;
According to each information in the sub-piece of each watermark, and the information of correspondence position in the corresponding synchronization template, revise ac coefficient corresponding in the corresponding ac coefficient sequence, realize the embedding of watermark and synchronization template.
The embodiment of the invention provides the device that watermark embeds in a kind of digital picture, comprising:
Generation unit is used for the data message that need embed is generated the sub-piece of at least one watermark, and structure and the corresponding synchronization template of the sub-piece of each watermark;
Determining unit is used for determining and the corresponding zone to be embedded of the sub-piece of described each watermark in described digital picture;
Acquiring unit is used for obtaining the ac coefficient sequence of each each image subblock of zone to be embedded on the discrete cosine transform dct transform domain;
Embed the unit, be used for each information according to the sub-piece of each watermark, and the information of correspondence position in the corresponding synchronization template, revise ac coefficient corresponding in the corresponding ac coefficient sequence, realize the embedding of watermark and synchronization template.
The embodiment of the invention provides the method for watermark detection in a kind of digital picture, comprising:
The signal that obtains carrier image is carried out Autocorrelation Detection, recover original image;
Obtain the ac coefficient sequence of each image subblock on the discrete cosine transform dct transform domain in the described original image;
According to the ac coefficient on first frequency range of each ac coefficient sequence in the described original image, and the information of each synchronization template of structure, definite embedding zone that embeds the sub-piece of each watermark;
Embed the ac coefficient on the corresponding ac coefficient sequence of each image subblock second frequency range in the zone according to each, extract the information of the sub-piece of corresponding watermark;
According to the information of extracting the sub-piece of each watermark, obtain the watermark information that embeds.
The embodiment of the invention provides the device of watermark detection in a kind of digital picture, comprising:
Recovery unit is used for the signal that obtains carrier image is carried out Autocorrelation Detection, recovers original image;
Acquiring unit is used for obtaining the ac coefficient sequence of each image subblock of described original image on the discrete cosine transform dct transform domain;
Determining unit is used for according to the ac coefficient on first frequency range of each ac coefficient sequence of described original image, and the information of each synchronization template of structure, determines to embed the embedding zone of the sub-piece of each watermark;
Extraction unit is used for extracting the information of the sub-piece of corresponding watermark according to the ac coefficient on the corresponding ac coefficient sequence of each each image subblock of embedding zone second frequency range;
Decoding unit is used for obtaining the watermark information that embeds according to the information of extracting the sub-piece of each watermark.
In the embodiment of the invention, obtain the ac coefficient sequence of each image subblock on the discrete cosine transform dct transform domain in each zone to be embedded.According to each information in the sub-piece of each watermark, and the information of correspondence position in the corresponding synchronization template, revise ac coefficient corresponding in the corresponding ac coefficient sequence, realize the embedding of watermark and synchronization template.Like this, make that the digital picture behind the embed watermark has the advantage of opposing rotation convergent-divergent and arbitrary proportion optional position cutting attack, can effectively resist Jpeg compression and combination attacks such as contrast variation, exposure variation simultaneously.And synchronization template and watermark information separately embed, and can not interfere with each other between the two, can not influence the extraction of watermark information.
Description of drawings
Fig. 1 be in the embodiment of the invention in digital picture the process flow diagram of embed watermark;
Fig. 2 is the process flow diagram that detects watermark in the embodiment of the invention in digital picture;
Fig. 3 be in the embodiment of the invention one in digital picture the process flow diagram of embed watermark;
The synoptic diagram of Fig. 4 (a) embodiment of the invention synchronization template;
Another synoptic diagram of Fig. 4 (b) embodiment of the invention synchronization template;
Fig. 5 is the process flow diagram that detects watermark in the embodiment of the invention one in digital picture;
Fig. 6 be in the embodiment of the invention in digital picture the structure drawing of device of embed watermark;
Fig. 7 is the structure drawing of device that detects watermark in the embodiment of the invention in digital picture.
Embodiment
The embodiment of the invention provides the method that watermark embeds and detects in a kind of digital picture, in order to improve digital picture is resisted geometric attack in transmission course ability.
Referring to Fig. 1, the method for embed watermark comprises in digital picture:
Step 101: the data message that will embed generates the sub-piece of at least one watermark.
Here, the data message that needs are embedded carries out spread spectrum, generates the sub-piece of one or more watermarks.The data message that need embed can be converted to the one dimension binary bit sequence, be divided at least one section then,,, generate the corresponding sub-piece of watermark with the first flag bit sequence of setting with every section sequence.For example: the data message that needs to embed is " 101101 ", and it is divided into three sections, is " 10 ", " 11 ", " 01 ", and the first flag bit sequence is " 1111111 ", can generate three sub-pieces of watermark like this, is respectively 101 111 111 , 111 111 111 , 011 111 111 .
The embodiment of the invention, can also be according to embedded key, the data message of need embedding is converted to the watermark sequence of one dimension binary bits, then, described watermark sequence is divided at least one section sequence, with every section sequence as linear displacement feedback register (Linear Feedback Shift Register, LFSR) initial state is input among the LFSR, obtain corresponding watermark sequence to be embedded, at last, according to each watermark sequence to be embedded, and the first flag bit sequence of setting, the corresponding sub-piece of watermark generated.
Step 102: structure and the corresponding synchronization template of the sub-piece of each watermark.
Synchronization template is made up of the two-dimentional binary bits of setting, and when the sub-piece of a plurality of watermarks, the synchronization template corresponding with the sub-piece of adjacent watermark is opposite fully.For example: first synchronization template is 101 010 101 , Second synchronization template is 010 101 010 . Perhaps, also same synchronization template can be set.For example: 101 010 101 .
Step 103: in digital picture, determine the to be embedded zone corresponding with the sub-piece of each watermark.
Digital picture is divided at least one image subblock, and for example: digital picture has several image subblocks of 8 * 8 to form, and like this, can select the to be embedded zone corresponding with the sub-piece of each watermark in digital picture.For example: the sub-piece of above-mentioned each watermark is 3 * 3 two-dimensional matrixs, here also zone of being made up of 3 * 3 image subblocks, the zone to be embedded of Xuan Zeing.
In the embodiment of the invention, can also be according to the distribution of pixel value in each image subblock, determine the textural characteristics value of each image subblock, traversal and the corresponding image-region of the sub-piece of each watermark, calculate the sub-piece of all images in each image-region the textural characteristics value and, when calculate and greater than setting value, and this image-region and other fixed zones to be embedded determine that this image-region is zone to be embedded when non-intersect.
Step 104: obtain the ac coefficient sequence of each image subblock on dct transform domain in each zone to be embedded.
Each image subblock is carried out discrete cosine transform, and (Discrete Cosine Transform DCT), obtains the ac coefficient sequence of each image subblock on dct transform domain.
Step 105: according to each information in the sub-piece of each watermark, and the information of correspondence position in the corresponding synchronization template, revise ac coefficient corresponding in the corresponding ac coefficient sequence, realize the embedding of watermark and synchronization template.
Each information according to each synchronization template, revise the ac coefficient of first frequency range in the corresponding ac coefficient sequence, and according to each information in the sub-piece of each watermark, revise the ac coefficient of second frequency range in the corresponding ac coefficient sequence, like this, revised each ac coefficient sequence is carried out the DCT inverse transformation, can obtain the digital picture of embed watermark information and synchronization template.
In revising corresponding ac coefficient sequence before the corresponding ac coefficient, can also with the difference of odd term and even number item in each ac coefficient sequence and absolute value and the first threshold of preservation compare; When the difference of odd term and even number item in this ac coefficient sequence and absolute value during smaller or equal to described threshold value, then can be according to each information in the sub-piece of corresponding watermark, and the information of correspondence position in the corresponding synchronization template, revise ac coefficient corresponding in this ac coefficient sequence.Otherwise, do not revise ac coefficient corresponding in this ac coefficient sequence.Wherein, determine that threshold value can be definite according to DCT ac coefficient human eye vision threshold model, also can directly set.
Certainly, also can be directly according to each information in the sub-piece of each watermark, and the information of correspondence position in the corresponding synchronization template, revise ac coefficient corresponding in the corresponding ac coefficient sequence.
Wherein, revising ac coefficient corresponding in the corresponding ac coefficient sequence comprises:
With the difference of odd term on first frequency range in this ac coefficient sequence and even number item and positive negativity, compare with the positive negativity of the information of correspondence position in the corresponding synchronization template, the odd term on first frequency range in this ac coefficient sequence and the difference of even number item and positive negativity, consistent with the positive negativity of the information of correspondence position in the corresponding synchronization template, do not revise corresponding ac coefficient; When both are inconsistent, then revise in the described ac coefficient sequence ac coefficient on first frequency range, the odd term in described ac coefficient sequence on first frequency range and the difference of even number item and positive negativity, consistent with the positive negativity of the information of correspondence position in the corresponding synchronization template.Wherein, when the information in the synchronization template is " 1 ", correspond to " just ", when the information in the synchronization template is " 0 ", correspond to " bearing ".
With the difference of odd term on second frequency range in this ac coefficient sequence and even number item and positive negativity, compare with the positive negativity of the information of correspondence position in the sub-piece of corresponding watermark, when both positive negativity is consistent, do not revise corresponding ac coefficient; When both are inconsistent, then revise in the ac coefficient sequence ac coefficient on second frequency range, the difference of odd term in the ac coefficient sequence on second frequency range and even number item and positive negativity, consistent with the positive negativity of the information of correspondence position in the sub-piece of corresponding watermark.Wherein, when the information in the sub-piece of watermark is " 1 ", correspond to " just ", when the information in the sub-piece of watermark is " 0 ", correspond to " bearing ".
Revise in the ac coefficient sequence that ac coefficient comprises on first frequency range:, determine modified value according to the human vision model on the dct transform domain; Revise each ac coefficient on first frequency range according to the modified value of determining.
The process of ac coefficient such as above-mentioned similar on second frequency range has not been stated tired in the modification ac coefficient sequence.
In the above-described embodiments, after the size of the sub-piece of watermark was set, the sequencing of above-mentioned steps 101-103 can exchange.
By said method, revise ac coefficient corresponding in each ac coefficient sequence, then,, carry out the DCT inverse transformation according to revised each ac coefficient sequence, just can obtain to have embedded the digital picture of watermark information and synchronization template.
Like this, after the digital picture that has obtained embed watermark, can detect the watermark information in the digital picture.
The process that detects watermark from digital picture comprises referring to shown in Figure 2:
Step 201: the signal that obtains carrier image is carried out Autocorrelation Detection, recover original image.
Here, the signal that obtains carrier image is carried out Autocorrelation Detection, obtain the image zoom multiple and the anglec of rotation, after having obtained the image zoom multiple and the anglec of rotation, the mode that returns to original image has a variety of, for example, and the secondary linear interpolation.
Wherein, can at first carry out Autocorrelation Detection to the signal that obtains carrier image, obtain the peak distance parameter, determine the prediction watermark region according to the peak distance parameter, then, obtain parameters such as peak distance, angle according to this prediction watermark region being done Autocorrelation Detection, do affined transformation and recover original image.
Step 202: obtain the ac coefficient sequence of each image subblock on the discrete cosine transform dct transform domain in the original image.
The size of each image subblock piece of divided image big or small consistent during with embed watermark.Value to each pixel during each image subblock carries out in the original image is carried out dct transform, obtains the ac coefficient sequence of each image subblock on dct transform domain.
Step 203: according to the ac coefficient on first frequency range of each ac coefficient sequence in the described original image, and the information of each synchronization template of structure, definite embedding zone that embeds the sub-piece of each watermark.
Here, according to the difference of odd term on first frequency range of each ac coefficient sequence in the original image and even number item and positive negativity, extract corresponding informance, generation forecast watermark matrix; In described prediction watermark matrix, search the zone consistent then, determine that the corresponding image-region in zone that finds is the embedding zone that embeds the sub-piece of corresponding watermark with the information of each synchronization template.
The odd term on first frequency range of ac coefficient sequence and the difference of even number item and for timing, the information of extracting is " 1 ", when the difference of odd term on first frequency range of ac coefficient sequence and even number item and when negative, the information of extracting is " 0 ", like this, can generate the prediction watermark matrix corresponding with original image.Then, search the zone consistent, determine that the corresponding image-region in zone that finds is the embedding zone that embeds the sub-piece of corresponding watermark with the information of each synchronization template of constructing at prediction watermark matrix.
Step 204: embed the ac coefficient on the corresponding ac coefficient sequence of each image subblock second frequency range in the zone according to each, extract the information of the sub-piece of corresponding watermark.
According to each embed the odd term on the corresponding ac coefficient sequence of each image subblock second frequency range and even number item in zone difference and positive negativity, extract the information of the sub-piece of corresponding watermark.The odd term on second frequency range of ac coefficient sequence and the difference of even number item and for timing, the information of extracting is " 1 ", when the difference of odd term on second frequency range of ac coefficient sequence and even number item and when negative, the information of extraction is " 0 ", thereby forms the information of the sub-piece of each watermark.
Step 205:, obtain the watermark information that embeds according to the information of extracting the sub-piece of each watermark.
When embed watermark, the mode that the data message that need are embedded generates the sub-piece of watermark all has multiple, and therefore, corresponding basis is extracted the information of the sub-piece of each watermark, and the mode that obtains the watermark information that embeds also has multiple.Comprising:
Determine the similarity between the first zone bit sequence of the second zone bit sequence in the information of the sub-piece of watermark that extracts and setting, when the similarity of determining during greater than threshold value, information to the sub-piece of this watermark is decoded, extract the watermark sequence in the information of the sub-piece of this watermark, according to each watermark sequence, obtain corresponding watermark information at last.
In the embodiment of the invention, when generating the sub-piece of watermark,, so, can adopt quick attack (FCA) technology to decode in the embodiment of the invention based on LFSR.Correlation attack is a kind of effective attack method of stream cipher based on linear displacement feedback register (LFSR).
Here, establish known array Z=(z 1, z 2..., z n) and unknown LFSR key sequence U=(u 1, u 2..., u n) between satisfy Pr{z i=u i}=1-p, i=1 wherein, 2 ..., n. and channel bit error rate p<0.5.
It is exactly this relevance of utilizing sequence Z and U that fast correlation is attacked, and the initial state with the computation complexity that is significantly less than exhaustive search recovers LFSR just needs the effective watermark information that extracts in the embodiment of the invention.If the progression of LFSR is L.Know by the Shannon theorem, realize unique decoding of watermark sequence, obtain the length of sequence Z N ≥ L C ( p ) , C (p)=1+plog wherein 2P+ (1-p) log 2(1-p) be scale-of-two symmetry (Binary Symmetric Channel, BSC) capacity formula of channel.
When the length of obtaining sequence Z reaches minimum critical value
Figure G2009102175122D00092
The time, then the probability of correlation attack method decoding success is near 0.5.And when length reached 2 times of minimum critical value, the probability of decoding success was near 1.
Therefore, according to the information of extracting the sub-piece of each watermark, the watermark information that obtains to embed also comprises::
Determine the similarity between the first zone bit sequence of the second zone bit sequence in the information of the sub-piece of watermark that extracts and setting, when the similarity of determining during greater than second threshold value, setting bit information in the information of the sub-piece of watermark that extracts is formed watermark initial state sequence, described watermark initial state sequence is carried out fast correlation attack decoding, obtain the initial state of corresponding LFSR, make up the initial state of every group of LFSR, obtain the watermark information that embeds.
Below in conjunction with Figure of description the embodiment of the invention is described in further detail.
Embodiment 1, and in the embodiment of the invention, the size of setting the sub-piece of watermark is 64 * 64, for the probability of the decoding success of the method for guaranteeing correlation attack near 1, here, enter length L=15 of the initial state sequence of LSFR, enter length N=482 that obtain sequence Z behind the LSFR.
Step 301: the information that reads each pixel of digital picture.
Here, two-dimensional digital image can be expressed as I (x, y).
Step 302: the textural characteristics value matrix of determining digital picture.
At first (x y), is divided into the image subblock B of polylith 8 * 8 with this two-dimensional digital image I I, j, then,, determine the textural characteristics value matrix of each image subblock according to the distribution of pixel value in each image subblock.
Here, pixel value 0-255 is divided into 10 intervals, adds up the distribution of the value of each pixel in each image subblock, if 64 pixel values of an image subblock account for interval, this 8 * 8 image subblock B so more than 4 or 4 I, j=1, otherwise B I, j=0.Like this, (x y) can be represented by the image texture matrix B two-dimensional digital image I.
Step 303:, determine zone to be embedded according to the textural characteristics value of digital picture.
Here, determined the size of the sub-piece of watermark of embed watermark information, for example be: 64 * 64, here, the texture matrix B of traversing graph picture is selected successively Bigger and disjoint sub-texture matrix-block is as watermark zone to be embedded.
Step 304: the data message that will embed generates the sub-piece of at least one watermark.
With the data message of need embedding, for example: text message, bianry image etc., be converted to the one dimension binary bit sequence, can be 120 bits here; Generate a pseudo-random position sequence according to embedded key, obtain the watermark sequence S of scramble after original series is rearranged as index sequence with pseudo-random sequence.With the S segmentation, per 15 bits are one section, be input in the linear displacement feedback register as initial state, the one dimension output sequence that each initial state correspondence obtains, then, the sub-piece of watermark according to the first series arrangement generation 64 * 64, the figure place of the output sequence of general each initial state correspondence is 64 * 64 of less thaies all, and here, the figure place of output sequence is 482, therefore, fill given flag bit sequence S at vacant place, sequence end l
Like this, can generate 8 sub-pieces of watermark successively, i.e. 8 64 * 64 two-dimensional sequences.
Step 305: structure and the corresponding synchronization template of the sub-piece of each watermark.
Here, the size of the sub-piece of each watermark is 64 * 64, and therefore, the size of corresponding synchronization template also is 64 * 64.The synchronization template that is the sub-piece correspondence of each watermark can be 64 * 64 two-dimensional sequences of a setting.And the synchronization template of two whenever adjacent sub-piece correspondences of watermark is opposite fully.Like this, be highly resistant to the attack of cutting.
For example, the synchronization template of the sub-piece correspondence of first watermark is shown in Fig. 4 (a), and then the synchronization template of the sub-piece correspondence of second watermark is shown in Fig. 4 (b).
Step 306: with the sub-piece of each watermark, and corresponding synchronization module is embedded in the watermark zone to be embedded of digital picture.
Here, 8 sub-pieces of watermark are arranged, 8 corresponding with it synchronization templates are also arranged, in above-mentioned steps 303, also selected 8 watermark zones to be embedded successively.
The sub-piece of watermark is 64 * 64 two-dimensional sequences, synchronization template also is 64 * 64 two-dimensional sequences, and watermark zone to be embedded is made of 64 * 64 image subblocks, like this, on each image subblock, embed the information of correspondence position on the synchronization template respectively, and the information of correspondence position on the sub-piece of watermark.
And each image subblock is 8 * 8 two-dimensional sequences,, at first each 8 * 8 image subblock is done dct transform here, is transformed into one-dimensional sequence D through zigzag I, j=(d 1, d 2..., d 64), d wherein 1Be DC coefficient, d 2, d 3..., d 64It is ac coefficient.Then, with the difference of the ac coefficient odd term of each sequence and even number item and absolute value compare with the threshold value of determining, be about to
Figure G2009102175122D00111
Compare with the threshold value of determining, when
Figure G2009102175122D00112
During greater than threshold value, then do not revise this sequence, i.e. embed watermark information not, and synchronization template information; When
Figure G2009102175122D00113
During smaller or equal to threshold value, then according to the information of the correspondence position in the sub-piece of corresponding watermark, and the information of correspondence position in the corresponding synchronization template, revise the ac coefficient of the correspondence in this sequence, realize the embedding of watermark and synchronization template.
In the embodiment of the invention, threshold value can be human eye vision threshold value T U, v, can pass through DCT ac coefficient human eye vision threshold model, promptly formula (1) calculates acquisition.
log T u , v = log T min ( f u , 0 2 + f 0 , v 2 ) 2 ( f u , 0 2 + f 0 , v 2 ) 2 - 4 ( 1 - r ) f u , 0 2 f 0 , v 2 + K ( log f u , 0 2 + f 0 , v 2 - log f min ) 2 - - - ( 1 )
Wherein, f U, 0And f 0, vBe respectively the spatial frequency spatialfrequencies of the level and the vertical direction of 8 * 8DCT piecemeal.Rule of thumb, r=0.7 is set, T Min=1.1548, K=1.728, f Min=3.68.
Certainly, also can directly set a threshold value.
In embodiment of the invention step 306, the ac coefficient of revising the correspondence in the sequence comprises:
With the difference of odd term and even number item on sequence first frequency range and positive negativity, compare with the positive negativity of the information of correspondence position on the corresponding synchronization template, when both are consistent, do not revise the ac coefficient on this sequence first frequency range, when both are inconsistent, then revise the ac coefficient on this sequence first frequency range, on this sequence first frequency range the difference of odd term and even number item and positive negativity, consistent with the positive negativity of the information of correspondence position on the corresponding synchronization template.
Here, can be with each sequence
Figure G2009102175122D00122
Positive negativity, compare with the positive negativity of the information of correspondence position on the corresponding synchronization template, be specially:
When
Figure G2009102175122D00123
For on the occasion of the time, the information of correspondence position be " 1 " on this moment synchronization template, does not then revise the ac coefficient of correspondence.
When
Figure G2009102175122D00124
During for negative value, the information of correspondence position is " 0 " on the synchronization template at this moment, does not then revise corresponding ac coefficient.
When
Figure G2009102175122D00125
During for negative value, and be " 1 " this moment, and then according to DCT ac coefficient human eye vision sensor model, corresponding ac coefficient value is revised in circulation, until
Figure G2009102175122D00126
For on the occasion of, like this, also realized embedding with the information of correspondence position on the synchronization template.
When
Figure G2009102175122D00127
For on the occasion of the time, and the information of correspondence position be " 0 " on this moment synchronization template, then equally according to DCT ac coefficient human eye vision sensor model, the ac coefficient value of correspondence is revised in circulation, until
Figure G2009102175122D00131
Be negative value, like this, also realized embedding the information of correspondence position on the synchronization template.
Difference and positive negativity with odd term and even number item on sequence second frequency range, compare with the positive negativity of the information of correspondence position on the sub-piece of corresponding watermark, when both are consistent, do not revise the ac coefficient on this sequence second frequency range, when both are inconsistent, then revise the ac coefficient on this sequence second frequency range, on this sequence second frequency range the difference of odd term and even number item and positive negativity, consistent with the positive negativity of the information of correspondence position on the sub-piece of corresponding watermark.
Here, can be with each sequence
Figure G2009102175122D00132
Positive negativity, compare with the positive negativity of the information of correspondence position on the sub-piece of corresponding watermark, detailed process is similar to the above, just has been not repeated.
In the embodiment of the invention, can be according to DCT ac coefficient human eye vision sensor model, circulation is revised corresponding ac coefficient value and is comprised:
At first, according to DCT ac coefficient human eye vision sensor model, obtain ac coefficient modified value α.
Determined human eye vision threshold value T U, v, then according to DCT ac coefficient human eye vision sensor model, promptly formula (2) obtains out modified value α:
α u , v k = 4 γ ( 1 + ( 2 - 1 ) δ u ) ( 1 + ( 2 - 1 ) δ v ) T u , v ( x ^ 0,0 k x ‾ 0,0 ) a T - - - ( 2 )
Wherein, γ ∈] 0,1[, δ () they are the Kronecker function, α T=0.649, x 0,0For entire image I (x, mean value y),
Figure G2009102175122D00134
DC coefficient for the DCT frequency field of corresponding k 8 * 8 sub-pieces.
Then, revise corresponding ac coefficient value according to the modified value α that obtains.If what calculate is
Figure G2009102175122D00135
Positive negativity, then can revise d 4~d 11In one or more, until amended
Figure G2009102175122D00136
Positive negativity consistent with the positive negativity of information to be embedded.
According to revised each ac coefficient sequence, carry out the DCT inverse transformation, just can obtain to have embedded the digital picture of watermark information and synchronization template.
Like this, though may have only part texture region embed watermark information, do the detection and the verification that do not influence watermark like this.Because in selected 512 * 512 zones to be embedded, a lot of grain details are arranged, and wherein, the image subblock number that is higher than threshold value generally can not surpass 33% of zone to be embedded, so in such zone to be embedded, can adopt watermark spectrum spreading method based on linear shift register.Thereby guaranteed in the decoding success rate of extracting the correlation attack method of holding near 1.
And, have only the part texture area to revise, in the modification process, revise corresponding ac coefficient value by the modified value α that obtains, thereby just revise the local configuration in watermark zone to be embedded, because according to DCT ac coefficient human eye vision sensor model, obtain out modified value α, like this, the whole visual effect of amended digital picture is unconspicuous, guarantees the stability of embed watermark and the quality of image.
By said method, watermark information has been embedded digital picture suffered.Like this, after the digital picture that has obtained embed watermark, referring to Fig. 5, the process that detects watermark from digital picture is as follows, comprising:
Step 501: the signal that reads in carrier image.
Do not need original image to participate in during detection, and any any prior imformation about former figure.Carrier image may be the digital picture that suffers various geometric attacks.
Step 502: delimit the prediction watermark region.
Here, be that a pair of Fourier transform is right according to the fourier modulus of signal spectrum with its autocorrelation function, the signal that obtains carrier image is carried out fast fourier transform calculate, the autocorrelation function IFFT of prediction watermark (| IFFT (B) | 2).Wherein, expression is carried out contrary fast fourier transform to image block B, then delivery square, carry out contrary fast fourier transform on this basis again.
The range mappings of auto-correlation function value is arrived the scope of gray level image.Utilize the method for handling gray level image to extract its local peaking, calculate the distance between the peak value,, determine that then corresponding image block B has embedded periodically watermark, promptly embedded synchronization template and watermark if the high numerical value of at least one frequency occurs in the distance.Like this, be combined into the prediction watermark region with detecting the image block B that is embedded with periodically watermark.
Step 503:, do affined transformation and recover image according to the prediction watermark region is done the parameter that Autocorrelation Detection obtains.
The prediction watermark region is done Autocorrelation Detection, calculate distance and angle between the peak value, draw affine transformation parameter, according to parameter image is carried out inverse transformation then and recover original image.
Step 504: the sub-piece of prediction embed watermark zone from the original image that recovers.
Recover after the image, that just can carry out the watermark information embedded location determines that concrete operations are as follows;
The first step, according to the difference of odd term on first frequency range in the ac coefficient sequence of each image subblock and even number item and positive negativity, extract corresponding information, generation forecast watermark matrix.
According to the embedded mode of above-mentioned synchronization template, according to Positive negativity information " 0 " or " 1 " of extracting synchronization template.With its predicted composition watermark matrix.
In second step, embed in the zone feature that synchronization template is opposite, definite zone that embeds the sub-piece of each watermark according to adjacent two.
In prediction watermark matrix, search the zone consistent, determine that the corresponding image-region in zone that finds is the embedding zone that embeds the sub-piece of corresponding watermark with the information of each synchronization template.In each matrix, calculate the degree of correlation by two class embedded templates traversal, when two 512 * 512 prediction watermark region were adjacent, the synchronization template of embedding was separate, can determine that these two 512 * 512 prediction watermark region are the sub-piece of embed watermark zone.Like this, can dope the sub-piece of the watermark zone of carrier image after the arbitrary proportion cutting, guarantee the synchronism again that the DCT frequency field is calculated.
Step 505: go into according to the sub-piece of each water mark inlaying the odd term on second frequency range and even number item in the ac coefficient sequence of each image subblock correspondence in the zone difference and positive negativity, extract the information of the sub-piece of corresponding watermark, i.e. watermark initial state sequence.
On each 512 * 512 embedding zone, carry out the dct transform of 8 * 8 piecemeals, by
Figure G2009102175122D00152
Positive negativity extract corresponding watermark information " 0 " or " 1 ", form watermark initial state sequence.
Step 506: the information of extracting the sub-piece of each watermark is carried out fast correlation attack, obtain the watermark information that embeds.
To comprise in the watermark initial state sequence of extracting in the step 505: zone bit sequence S ' l, calculate S ' lDuring about embed watermark, the S of setting lBetween similarity, if similarity between the two greater than threshold value, is then formed every setting bit one group of watermark initial state sequence U.Here be that per 482 bits are formed one group of watermark initial state sequence U
At given U is carried out Fast W alsh conversion, carry out fast correlation and attack decoding.It is following process that fast correlation is attacked, possible by the institute of enumerating x, finds out the sequence that satisfies such condition F 0 ( u ′ ) = max { F 0 ( x ) | x ∈ F 2 15 } With F 0 ( u ′ ′ ) = max { F 0 ( x ) | x ∈ F 2 15 , x ≠ u ′ } . If F 0(u ')-f 0(u ")>Th then obtains preceding 8 bits of this group U, calculates F again 7(u) back 8 bits that promptly should group U, whether back 8 bits of acquisition U after by identical search procedure overlap the decoding correctness that decides about this group U according to overlapping one again.Promptly have one to be overlapping, then the decoding about U is correct, has obtained the initial state of one group of LFSR of 15 bits like this.
Wherein Th is a preset threshold, chooses Th=10 in the invention process.
Like this, splice the initial state of one group of LFSR after, in like manner extract other initial state, finally obtain the valid data of watermark.
According to the method that watermark in the above-mentioned digital picture embeds, can construct the device that watermark embeds in a kind of digital picture, referring to Fig. 6, comprising: generation unit 610, determining unit 620, acquiring unit 630 and embedding unit 640.Wherein,
Generation unit 610 is used for the data message that need embed is generated the sub-piece of at least one watermark, and structure and the corresponding synchronization template of the sub-piece of each watermark.
Determining unit 620 is used for determining and the corresponding zone to be embedded of the sub-piece of described each watermark in described digital picture.
Acquiring unit 630 is used for obtaining the ac coefficient sequence of each each image subblock of zone to be embedded on the discrete cosine transform dct transform domain.
Embed unit 640, be used for each information according to the sub-piece of each watermark, and the information of correspondence position in the corresponding synchronization template, revise ac coefficient corresponding in the corresponding ac coefficient sequence, realize the embedding of watermark and synchronization template.
Generation unit 610 can comprise: conversion subelement, acquisition subelement and generation subelement.
The conversion subelement is used for according to embedded key, the data message of need embedding is converted to the watermark sequence of one dimension binary bits.
Obtain subelement, be used for described watermark sequence is divided at least one section sequence, the initial state of every section sequence as linear displacement feedback register LFSR is input among the LFSR, obtain corresponding watermark sequence to be embedded.
Generate subelement, be used for according to each watermark sequence to be embedded, and the first flag bit sequence of setting, the corresponding sub-piece of watermark generated.
Determining unit 620 can comprise: eigenwert subelement and regional subelement to be embedded.
The eigenwert subelement is used for the distribution according to pixel value in each image subblock of described digital picture, determines the textural characteristics value of each image subblock.
Regional subelement to be embedded, be used to travel through and the corresponding image-region of the sub-piece of each watermark, calculate the sub-piece of all images in each image-region the textural characteristics value and, when calculate and greater than setting value, and when this image-region and other fixed zones to be embedded are non-intersect, determine that this image-region is zone to be embedded.
In the embodiment of the invention, this device also comprises: comparing unit, be used for the difference of described ac coefficient sequence odd term and even number item and absolute value and the first threshold of setting compare.
Like this, when the difference of odd term and even number item in the described ac coefficient sequence and absolute value during less than the first threshold of preserving, can be according to each information in the sub-piece of each watermark, and the information of correspondence position in the corresponding synchronization template, revise ac coefficient corresponding in the corresponding ac coefficient sequence.
Embedding unit 640 comprises: first revises subelement and second revises subelement.
First revises subelement, be used for odd term on described ac coefficient sequence first frequency range and even number item difference and positive negativity, inconsistent with the positive negativity of the information of correspondence position in the corresponding synchronization template, revise in the described ac coefficient sequence ac coefficient on first frequency range, the odd term in described ac coefficient sequence on first frequency range and the difference of even number item and positive negativity, consistent with the positive negativity of the information of correspondence position in the corresponding synchronization template.
Second revises subelement, be used for odd term on described ac coefficient sequence second frequency range and even number item difference and positive negativity, inconsistent with the positive negativity of the information of correspondence position in the sub-piece of corresponding watermark, revise in the described ac coefficient sequence ac coefficient on second frequency range, the odd term in described ac coefficient sequence on second frequency range and the difference of even number item and positive negativity, consistent with the positive negativity of the information of correspondence position in the sub-piece of corresponding watermark.
The first modification subelement or second is revised subelement can also determine modified value according to according to the human vision model on the dct transform domain; According to each ac coefficient on modified value modification first or second frequency range of determining.
According to the method for watermark detection in the above-mentioned digital picture, can construct the device of watermark detection in a kind of digital picture, referring to Fig. 7, comprising: recovery unit 710, acquiring unit 720, determining unit 730, extraction unit 740 and decoding unit 750.Wherein,
Recovery unit 710 is used for the signal that obtains carrier image is carried out Autocorrelation Detection, recovers original image.
Acquiring unit 720 is used for obtaining the ac coefficient sequence of each image subblock of described original image on the discrete cosine transform dct transform domain.
Determining unit 730 is used for according to the ac coefficient on first frequency range of each ac coefficient sequence of described original image, and the information of each synchronization template of structure, determines to embed the embedding zone of the sub-piece of each watermark.
Extraction unit 740 is used for extracting the information of the sub-piece of corresponding watermark according to the ac coefficient on the corresponding ac coefficient sequence of each each image subblock of embedding zone second frequency range.
Decoding unit 750 is used for obtaining the watermark information that embeds according to the information of extracting the sub-piece of each watermark.
Wherein, determining unit 730 comprises: generate subelement and coupling subelement.
Generate subelement, be used for according to the difference of the odd term on first frequency range of each ac coefficient sequence of original image and even number item and positive negativity, extraction corresponding informance, generation forecast watermark matrix.
The coupling subelement is used for searching the zone consistent with the information of each synchronization template at described prediction watermark matrix, determines that the corresponding image-region in zone that finds is the embedding zone that embeds the sub-piece of corresponding watermark.
Here, extraction unit 740 according to each embed the odd term on the corresponding ac coefficient sequence of each image subblock second frequency range and even number item in zone difference and positive negativity, extract the information of the sub-piece of corresponding watermark.The odd term on second frequency range of ac coefficient sequence and the difference of even number item and for timing, the information of extracting is " 1 ", when the difference of odd term on second frequency range of ac coefficient sequence and even number item and when negative, the information of extraction is " 0 ", thereby forms the information of the sub-piece of each watermark.
And decoding unit 750 comprises: determine subelement, extraction subelement, initial state subelement and combination subelement.
Determine subelement, be used for determining the similarity between the first zone bit sequence of the second zone bit sequence of information of the sub-piece of watermark that extracts and setting.
Extract subelement, be used for, with the setting bit information composition watermark initial state sequence in the information of the sub-piece of watermark that extracts when the similarity of determining during greater than second threshold value.
The initial state subelement is used for that described watermark initial state sequence is carried out fast correlation and attacks decoding, obtains the initial state of corresponding LFSR.
The combination subelement, the initial state that is used to make up every group of LFSR obtains the watermark information that embeds.
In sum, in the embodiment of the invention, determine zone to be embedded based on the image texture of pixels statistics, processing speed and efficient are very fast.Simultaneously, adopt linear feedback shift register to generate watermark sequence to be embedded, the serious forgiveness that watermark information extracts is below 33%, and, in telescopiny, can take the mode do not handled, thereby guarantee the visual effect of watermarking images subregion or part details area.When detecting the watermark information of digital picture; do not need the participation of original image; the synchronization watermarking embedding is regional again by synchronization template information; extract the watermark information of many bits by the fast correlation attack method; effectively resisted the cutting of arbitrary proportion and attacked and other combination attacks, thus more efficiently everyone rights and interests of having protected the digital picture works.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (17)

1. the method that watermark embeds in the digital picture is characterized in that, comprising:
The data message that need are embedded generates the sub-piece of at least one watermark, and structure and the corresponding synchronization template of the sub-piece of each watermark;
In described digital picture, determine and the corresponding zone to be embedded of the sub-piece of described each watermark;
Obtain the ac coefficient sequence of each image subblock on the discrete cosine transform dct transform domain in each zone to be embedded;
According to each information in the sub-piece of each watermark, and the information of correspondence position in the corresponding synchronization template, revise ac coefficient corresponding in the corresponding ac coefficient sequence, realize the embedding of watermark and synchronization template.
2. the method for claim 1 is characterized in that, the described data message that will embed generates the sub-piece of at least one watermark and comprises:
According to embedded key, the data message of need embedding is converted to the watermark sequence of one dimension binary bits;
Described watermark sequence is divided at least one section sequence;
The initial state of every section sequence as linear displacement feedback register LFSR is input among the LFSR, obtains corresponding watermark sequence to be embedded;
According to each watermark sequence to be embedded, and the first flag bit sequence of setting, the corresponding sub-piece of watermark generated.
3. the method for claim 1 is characterized in that, describedly determines that in described digital picture the to be embedded zone corresponding with the sub-piece of described each watermark comprises:
According to the distribution of pixel value in each image subblock in the described digital picture, determine the textural characteristics value of each image subblock;
Traversal and the corresponding image-region of the sub-piece of each watermark, calculate the sub-piece of all images in each image-region the textural characteristics value and, when calculate and greater than setting value, and this image-region and other fixed zones to be embedded determine that this image-region is zone to be embedded when non-intersect.
4. the method for claim 1 is characterized in that, the described correction before the ac coefficient corresponding in the corresponding ac coefficient sequence also comprises:
With the difference of odd term and even number item in the described ac coefficient sequence and absolute value and the first threshold of setting compare;
When the difference of odd term and even number item in this ac coefficient sequence and absolute value during smaller or equal to described first threshold, revise ac coefficient corresponding in the described ac coefficient sequence.
5. the method for claim 1 is characterized in that, the described ac coefficient of revising correspondence in the corresponding ac coefficient sequence comprises:
The odd term on first frequency range in the described ac coefficient sequence and the difference of even number item and positive negativity, inconsistent with the positive negativity of the information of correspondence position in the corresponding synchronization template, revise in the described ac coefficient sequence ac coefficient on first frequency range, the odd term in described ac coefficient sequence on first frequency range and the difference of even number item and positive negativity, consistent with the positive negativity of the information of correspondence position in the corresponding synchronization template;
The odd term on second frequency range in the described ac coefficient sequence and the difference of even number item and positive negativity, inconsistent with the positive negativity of the information of correspondence position in the sub-piece of corresponding watermark, revise in the described ac coefficient sequence ac coefficient on second frequency range, the odd term in described ac coefficient sequence on second frequency range and the difference of even number item and positive negativity, consistent with the positive negativity of the information of correspondence position in the sub-piece of corresponding watermark.
6. method as claimed in claim 5 is characterized in that, in the described ac coefficient sequence of described modification on first frequency range ac coefficient comprise:
According to the human vision model on the dct transform domain, determine modified value;
Revise each ac coefficient on first frequency range according to the modified value of determining.
7. the method for watermark detection in the digital picture is characterized in that, comprising:
The signal that obtains carrier image is carried out Autocorrelation Detection, recover original image;
Obtain the ac coefficient sequence of each image subblock on the discrete cosine transform dct transform domain in the described original image;
According to the ac coefficient on first frequency range of each ac coefficient sequence in the described original image, and the information of each synchronization template of structure, definite embedding zone that embeds the sub-piece of each watermark;
Embed the ac coefficient on the corresponding ac coefficient sequence of each image subblock second frequency range in the zone according to each, extract the information of the sub-piece of corresponding watermark;
According to the information of extracting the sub-piece of each watermark, obtain the watermark information that embeds.
8. method as claimed in claim 7, it is characterized in that, described according to the ac coefficient on first frequency range of each ac coefficient sequence in the described original image, and the information of each synchronization template of structure, determine that the embedding zone that embeds the sub-piece of each watermark comprises:
According to the difference of odd term on first frequency range of each ac coefficient sequence in the original image and even number item and positive negativity, extract corresponding informance, generation forecast watermark matrix;
In described prediction watermark matrix, search the zone consistent, determine that the corresponding image-region in zone that finds is the embedding zone that embeds the sub-piece of corresponding watermark with the information of each synchronization template.
9. method as claimed in claim 7 is characterized in that described basis is extracted the information of the sub-piece of each watermark, and the watermark information that obtains to embed comprises:
Determine the similarity between the first zone bit sequence of the second zone bit sequence in the information of the sub-piece of watermark that extracts and setting;
When the similarity of determining during, the setting bit information in the information of the sub-piece of watermark that extracts is formed watermark initial state sequence greater than second threshold value;
Described watermark initial state sequence is carried out fast correlation attack decoding, obtain the initial state of corresponding LFSR;
Make up the initial state of every group of LFSR, obtain the watermark information that embeds.
10. the device that watermark embeds in the digital picture is characterized in that, comprising:
Generation unit is used for the data message that need embed is generated the sub-piece of at least one watermark, and structure and the corresponding synchronization template of the sub-piece of each watermark;
Determining unit is used for determining and the corresponding zone to be embedded of the sub-piece of described each watermark in described digital picture;
Acquiring unit is used for obtaining the ac coefficient sequence of each each image subblock of zone to be embedded on the discrete cosine transform dct transform domain;
Embed the unit, be used for each information according to the sub-piece of each watermark, and the information of correspondence position in the corresponding synchronization template, revise ac coefficient corresponding in the corresponding ac coefficient sequence, realize the embedding of watermark and synchronization template.
11. device as claimed in claim 10 is characterized in that, described generation unit comprises:
The conversion subelement is used for according to embedded key, the data message of need embedding is converted to the watermark sequence of one dimension binary bits;
Obtain subelement, be used for described watermark sequence is divided at least one section sequence, the initial state of every section sequence as linear displacement feedback register LFSR is input among the LFSR, obtain corresponding watermark sequence to be embedded;
Generate subelement, be used for according to each watermark sequence to be embedded, and the first flag bit sequence of setting, the corresponding sub-piece of watermark generated.
12. device as claimed in claim 10 is characterized in that, described determining unit comprises:
The eigenwert subelement is used for the distribution according to pixel value in each image subblock of described digital picture, determines the textural characteristics value of each image subblock;
Regional subelement to be embedded, be used to travel through and the corresponding image-region of the sub-piece of each watermark, calculate the sub-piece of all images in each image-region the textural characteristics value and, when calculate and greater than setting value, and when this image-region and other fixed zones to be embedded are non-intersect, determine that this image-region is zone to be embedded.
13. device as claimed in claim 10 is characterized in that, also comprises:
Comparing unit, be used for the difference of described ac coefficient sequence odd term and even number item and absolute value and the first threshold of setting compare.
14. device as claimed in claim 10 is characterized in that, described embedding unit comprises:
First revises subelement, be used for odd term on described ac coefficient sequence first frequency range and even number item difference and positive negativity, inconsistent with the positive negativity of the information of correspondence position in the corresponding synchronization template, revise in the described ac coefficient sequence ac coefficient on first frequency range, the odd term in described ac coefficient sequence on first frequency range and the difference of even number item and positive negativity, consistent with the positive negativity of the information of correspondence position in the corresponding synchronization template;
Second revises subelement, be used for odd term on described ac coefficient sequence second frequency range and even number item difference and positive negativity, inconsistent with the positive negativity of the information of correspondence position in the sub-piece of corresponding watermark, revise in the described ac coefficient sequence ac coefficient on second frequency range, the odd term in described ac coefficient sequence on second frequency range and the difference of even number item and positive negativity, consistent with the positive negativity of the information of correspondence position in the sub-piece of corresponding watermark.
15. the device of watermark detection is characterized in that in the digital picture, comprising:
Recovery unit is used for the signal that obtains carrier image is carried out Autocorrelation Detection, recovers original image;
Acquiring unit is used for obtaining the ac coefficient sequence of each image subblock of described original image on the discrete cosine transform dct transform domain;
Determining unit is used for according to the ac coefficient on first frequency range of each ac coefficient sequence of described original image, and the information of each synchronization template of structure, determines to embed the embedding zone of the sub-piece of each watermark;
Extraction unit is used for extracting the information of the sub-piece of corresponding watermark according to the ac coefficient on the corresponding ac coefficient sequence of each each image subblock of embedding zone second frequency range;
Decoding unit is used for obtaining the watermark information that embeds according to the information of extracting the sub-piece of each watermark.
16. device as claimed in claim 15 is characterized in that, described determining unit comprises:
Generate subelement, be used for according to the difference of the odd term on first frequency range of each ac coefficient sequence of original image and even number item and positive negativity, extraction corresponding informance, generation forecast watermark matrix;
The coupling subelement is used for searching the zone consistent with the information of each synchronization template at described prediction watermark matrix, determines that the corresponding image-region in zone that finds is the embedding zone that embeds the sub-piece of corresponding watermark.
17. device as claimed in claim 15 is characterized in that, described decoding unit comprises:
Determine subelement, be used for determining the similarity between the first zone bit sequence of the second zone bit sequence of information of the sub-piece of watermark that extracts and setting;
Extract subelement, be used for, with the setting bit information composition watermark initial state sequence in the information of the sub-piece of watermark that extracts when the similarity of determining during greater than second threshold value;
The initial state subelement is used for that described watermark initial state sequence is carried out fast correlation and attacks decoding, obtains the initial state of corresponding LFSR;
The combination subelement, the initial state that is used to make up every group of LFSR obtains the watermark information that embeds.
CN 200910217512 2009-12-31 2009-12-31 Digital picture watermark embedding and detecting method and device Expired - Fee Related CN102117474B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910217512 CN102117474B (en) 2009-12-31 2009-12-31 Digital picture watermark embedding and detecting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910217512 CN102117474B (en) 2009-12-31 2009-12-31 Digital picture watermark embedding and detecting method and device

Publications (2)

Publication Number Publication Date
CN102117474A true CN102117474A (en) 2011-07-06
CN102117474B CN102117474B (en) 2013-05-22

Family

ID=44216227

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910217512 Expired - Fee Related CN102117474B (en) 2009-12-31 2009-12-31 Digital picture watermark embedding and detecting method and device

Country Status (1)

Country Link
CN (1) CN102117474B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103391482A (en) * 2013-07-15 2013-11-13 浙江大学 Blind digital watermarking coding and decoding method capable of resisting geometric attack
CN105389767A (en) * 2015-10-16 2016-03-09 中国人民公安大学 Digital watermark generating and detecting method with radial transformation attack resistance, and digital watermark generating and detecting system
CN105912894A (en) * 2016-04-07 2016-08-31 广西国盾科技有限公司 Method for applying certificate number to electronic seal stamp anti-counterfeiting
US10049422B2 (en) * 2016-02-29 2018-08-14 Korea Advanced Institute Of Science And Technology Template-based watermarking method for depth-image-based rendering based 3D image and apparatus thereof
CN111597885A (en) * 2020-04-07 2020-08-28 上海推乐信息技术服务有限公司 Video additional content detection method and system
CN112241929A (en) * 2019-07-16 2021-01-19 阿里巴巴集团控股有限公司 Watermark embedding method, watermark detecting method, watermark embedding device, watermark detecting device and electronic equipment

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103391482A (en) * 2013-07-15 2013-11-13 浙江大学 Blind digital watermarking coding and decoding method capable of resisting geometric attack
CN103391482B (en) * 2013-07-15 2016-05-18 浙江大学 A kind of blind digital watermarking decoding method that can Against Geometrical Attacks
CN105389767A (en) * 2015-10-16 2016-03-09 中国人民公安大学 Digital watermark generating and detecting method with radial transformation attack resistance, and digital watermark generating and detecting system
CN105389767B (en) * 2015-10-16 2018-10-19 中国人民公安大学 It is a kind of to resist the digital watermarking generation and detection method and system that radial transformation is attacked
US10049422B2 (en) * 2016-02-29 2018-08-14 Korea Advanced Institute Of Science And Technology Template-based watermarking method for depth-image-based rendering based 3D image and apparatus thereof
CN105912894A (en) * 2016-04-07 2016-08-31 广西国盾科技有限公司 Method for applying certificate number to electronic seal stamp anti-counterfeiting
CN105912894B (en) * 2016-04-07 2018-11-23 广西国盾科技有限公司 A method of it is anti-fake that passport NO. being used for E-seal printed text
CN112241929A (en) * 2019-07-16 2021-01-19 阿里巴巴集团控股有限公司 Watermark embedding method, watermark detecting method, watermark embedding device, watermark detecting device and electronic equipment
CN112241929B (en) * 2019-07-16 2022-11-11 阿里巴巴集团控股有限公司 Watermark embedding method, watermark detecting method, watermark embedding device, watermark detecting device and electronic equipment
CN111597885A (en) * 2020-04-07 2020-08-28 上海推乐信息技术服务有限公司 Video additional content detection method and system

Also Published As

Publication number Publication date
CN102117474B (en) 2013-05-22

Similar Documents

Publication Publication Date Title
Wang et al. Blind MPEG-2 video watermarking robust against geometric attacks: a set of approaches in DCT domain
Pereira et al. Fast robust template matching for affine resistant image watermarks
CN102147912B (en) Adaptive difference expansion-based reversible image watermarking method
CN102117474B (en) Digital picture watermark embedding and detecting method and device
US20090049304A1 (en) Digital watermark embedding apparatus and method, and digital watermark analysis apparatus, method and program
CN103440617B (en) Improve the image processing method of safety of medical image
US20140270331A1 (en) Content watermarking
CN103561271A (en) Video airspace tamper detection method for removing moving object shot by static camera lens
Yang et al. Efficient reversible data hiding algorithm based on gradient-based edge direction prediction
Niu et al. Video watermarking resistance to rotation, scaling, and translation
CN105741222B (en) A kind of steganography information locating method based on the estimation of pixel subset insertion rate
Thilagavathi et al. A survey of reversible watermarking techniques, application and attacks
CN116805069B (en) Track data zero watermark generation method, track data zero watermark detection device and storage medium
Hakka et al. DCT-OFDM based watermarking scheme robust against clipping attack
CN104270644A (en) Video inter-frame tampering detecting method based on velocity field coincidence
CN102156956B (en) High robustness watermark method based on singular value decomposition and discrete cosine transform
CN103971324A (en) Asymmetric watermarking method for protecting vector map data copyright
Kunhu et al. A reversible watermarking scheme for ownership protection and authentication of medical images
Nam et al. WAN: Watermarking attack network
Mitekin A new key recovery attack against DM-QIM image watermarking algorithm
CN105208462B (en) Video digital watermark processing method and the video digital watermark system for performing this method
CN101065769B (en) Method and device for reading digital tattooing
Chang et al. Image authentication with tampering localization based on watermark embedding in wavelet domain
CN106507216B (en) The method that three-dimensional video-frequency is embedded in the method, apparatus of watermark and extracts watermark
Raftopoulos et al. Region-Based Watermarking for Images

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220620

Address after: 3007, Hengqin international financial center building, No. 58, Huajin street, Hengqin new area, Zhuhai, Guangdong 519031

Patentee after: New founder holdings development Co.,Ltd.

Patentee after: Peking University

Patentee after: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

Address before: 100871, Beijing, Haidian District Cheng Fu Road 298, founder building, 9 floor

Patentee before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Patentee before: Peking University

Patentee before: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

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

Granted publication date: 20130522

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