DCT transform digital watermark embedding method based on human visual masking

06-11-2018 дата публикации
Номер:
CN0108765256A
Принадлежит: Tianjin Polytechnic University
Контакты:
Номер заявки: 76-10-20181387
Дата заявки: 10-07-2018

[1]

Technical Field

[2]

The content of the invention in human visual masking characteristic on the basis of DCT transformation to, which belongs to the technical field of Image watermark embedding, in particular to the protection of the copyright of the original picture, also belongs to the technical field of information hiding.

[3]

Background Art

[4]

Today's Internet communication has become a living in a part of the can be erased, multimedia as an important medium for the exchange of information is playing an increasingly important role, various forms of digital products, in an endless stream. Then more and more people select network express their outstanding digital works or carry on , but all have the opposite side, a large number of piracy works is also increased, for example do not have any copyright of the Image, the television and the like taken by people using various copies, copyright is not authorized works will be perpetrators dissemination or proliferation of prohibited sales, these are serious harm to the copyright owner of Intellectual property rights, secondly, due to the characteristic of the digital works rich, one of them is the digital product copy does not affect the quality of the work itself, and the fabrication cost is very low, so vulnerable to renovate and re-use. We need to protect these works the legal rights and interests of the owner, the industry can more high-speed development. A solution to this problem is the development of a center of gravity of the information hiding technique, the digital watermark is a core technology in the technical field.

[5]

Application number 201210165687.5 name is "based on the visual attention mechanism of digital Image watermarking method" referred to in the Patent of digital watermark system of two major characteristics: robustness and visibility, wherein the invisibility depends on the human visual characteristics, in this Patent through the visual attention to the characteristics of the target watermark embedded from the outset of the prominent area of the picture, thus the extracted watermark has better robustness, but visual attention can be composed of two kinds of patterns of: one is the objective content-driven bottom-up attention model; the other type is a subjective command guidance attention model, any kind of the are too dependent on the psychological activities, will inevitably to judge the impact of the topographic.

[6]

Application number 200910021564.2 name is "based on the DCT algorithm digital Image watermark embedding method" Patent algorithm in black-and-white Image is embedded into the texture area of the original Image, however did not mention why to be embedded to the original picture of the texture area, and in the embedding process rather than by directly utilizing the water in the black-and-white Image printing element some non-0 that 1 the characteristics of the embedding.

[7]

Application number 201410479555.9 name is "a based on the Image content of the digital watermarking algorithm" Patent realizes a high capacity of the embedding algorithm, but only the original picture for the protection of the copyright on as much as possible and it is not necessary to do so embedded, the need to ensure that the pit offensive high, the Patent to intermediate frequency coefficient in the DCT is the extraction of the 22 a multi-, also to take into consideration the Image texture, edge and a sliding three characteristics, in practice somewhat cumbersome.

[8]

As shown in the foregoing, based on the human visual masking characteristic picture in the texture area has greater brightness and direction change, the area information of the human eye to resolution deterioration, namely texture masking, we to the host Image texture region can be successfully embed the watermark Image to the human eye can not recognize the, also in left in the original Image of the protection of copyright sign, at the same time we select the position of the watermark in the Image on the binary, this let US the algorithm rules more simply in the completion of the embedding of the watermark with the original Image of copyright protection.

[9]

Content of the invention

[10]

The content of the invention is for the protection of the copyright of the original picture to provide a based on human visual conceal the DCT transform of the digital Image watermark embedding method, as far as possible to the same time of the algorithm is simple and effective, and the embedding of the watermark robustness of the picture to a certain extent.

[11]

To achieve the above object, the technical scheme comprises the following steps:

[12]

1) To be embedded on the conversion of the binary one-dimensional sequence, according to the binary images of the m * n from left to right, from top to bottom scanning expressed as 0, 1 sequence;

[13]

2) The original Image by the 8 * 8 block, the adoption of the following formula to calculate the variance of the variance, and the variance from these according to the sequential arrangement of the large to small, find the variance of the largest m * n Image block;

[14]

[15]

[16]

Wherein m each block like point in the average gradation, f (i, j) corresponding to each gray level is.

[17]

3) These m * n Image block of DCT transform is carried out, the following formula;

[18]

[19]

In the above formula: when the u=0 or v=0 when, When the u, v=1, 2, ... N - 1 when, .

[20]

4) The fact that the DCT block of a m * n in each block, the two position of the band in the comparison of the magnitude relation of DCT coefficient, at the same time as the difference processing, the original difference larger coefficient of that half of the reduce the processing, the original difference smaller coefficient of half of the increasing treatment, in order to confirm the block embedded in a water printing point "0" or a "1";

[21]

5) From the watermark Image converted one-dimensional 0, 1 sequence embedded in the original Image, finally through the inverse transform to the DCT, forming the watermark Image, DCT inverse transform formula is as follows.

[22]

[23]

With the other watermark embedding method is compared, there are also certain anti-offensive, can resist a white Gaussian noise, shearing, JPEG compression and so on different extent different types of attacks, but the embedding process more simple, for the protection of the original picture copyright have the advantages of high efficiency and fast.

[24]

Description of drawings

[25]

Figure 1 is the flow diagram of the content of the invention;

[26]

Figure 2 is the original plan of the content of the invention in an embodiment of sheet;

[27]

Figure 3 is the of the content of the invention in one embodiment of embedded to sheet;

[28]

Figure 4 is the diagram of the content of the invention in an embodiment of the watermark has been embedded into the sheet.

[29]

Specific embodiment:

[30]

The following of the Figure embodiment of the invention the content of the further detailed description.

[31]

The implementation of the example one

[32]

See Figure 1 of the process, will be a 32 * 32 of the Chinese character "dawn" as the binary watermark embedded in the Image to the 512 * 512 of the original Image in the classical lina

[33]

First of all, to be embedded into the Chinese character "dawn" binary to one-dimensional sequence of the conversion, the 32 * 32 according to the binary from left to right, from top to bottom scanning expressed as 0, 1 sequence; then the original Image on the lina 8 * 8 block, by calculating the variance, and the variance from these according to the sequential arrangement of the large to small, to find the maximum variance of the 32 * 32 Image block; these 32 * 32 Image block is DCT transformation, wherein the selected in these Image block (4, 3) and (5, 2) two position of the dct coefficient, the coefficient of the two difference processing, the original difference larger coefficient of that half of the reduce the processing, the original difference smaller coefficient of half of the increasing treatment, and the like to the point 1 of the ensure that the former coefficient is smaller than the latter, as is the point 0 of the ensure that the former coefficient is larger than the latter; after the watermark Image converted from the one-dimensional 0, 1 sequence of the original Image in the lina, finally through the inverse transform to the DCT, forming the lina of the watermark Image.



[34]

The invention discloses a DCT transform digital image watermark embedding method based on human visual masking. The method comprises the following steps of first, scanning m*n dimensional binary watermark image w(i,j) from left to right and from top to bottom, and representing the two dimensional image as a one dimensional 0,1 sequence; second, dividing an original image into 8*8 pieces, calculating a variance, and obtaining the first M*N image pieces with large variance; third, performing DCT positive transform on the m*n image pieces, and performing difference processing on a DCT coefficient; fourth, comparing mid-band DCT coefficients of m*n DCT pieces, so as to determine that a watermark image point value embedded in each block is 0 or 1; and fifth, embedding the one dimensional 0,1 sequence converted from the watermark image into the original image, and finally performing DCT reverse transform so as to form an image containing the watermark.



1. Based on human visual conceal a DCT transform of the digital watermark embedding method, characterized in comprising the following steps: 1) to m * n-dimensional binary watermark Image w (i, j), according to the from left to right, from top to bottom of the sequential scanning, the two-dimensional Image expressed as one-dimensional 0, 1 sequence; 2) the original Image is divided into 8 * 8 block, calculate variance, get previous M * N variance greater picture block; 3) this m * n Image jackets are DCT transformation, DCT coefficients at the same time the difference processing; 4) the fact that the DCT block of a m * n in each block, in the comparison of the size of the DCT coefficient of the frequency band of the relations, in order to confirm the block embedded in a water printing point "0" or a "1"; 5) from the watermark Image converted one-dimensional 0, 1 sequence embedded in the original Image, finally through the inverse transform to the DCT, forming the watermark Image.

2. Method according to Claim 1, characterized in that step 1) by using the two-value Image of only as point 0 and 1 and the characteristics of the convenient to more quickly embedded in the original Image.

3. Method according to Claim 1, characterized in that step 2) using human visual cover in this characteristic of the locking of the area to be embedded is the texture of the original Image part, at the same time guarantee to choose the size of the texture portion of the watermark to be embedded with the same size.

4. Method according to Claim 1, characterized in that step 3) by the difference in the DCT coefficient do processing avoids the two selected intermediate frequency section position difference too large or too small as a result of the problem of the degradation.

5. Method according to Claim 1, characterized in that step 4) by comparing the intermediate frequency section in the DCT coefficient can be fast recording the embedded water printing point value is 0 is 1, convenient extraction.