The present invention relates to watermarking for inserting/extracting copyright information into/from digital contents to protect the copyright thereof; and, more particularly, to a hybrid watermarking method and apparatus for inserting/extracting copyright information into/from a digital image by applying two different watermarking methods thereto at the same time.
As well known, as the distribution of paid digital contents is accelerated recently, there are being made active researches upon how to protect the copyrights of the digital contents. Digital watermarking is a most widely employed technique for protecting copyright, and it involves inserting identification information of a copyright holder into digital contents in an invisible manner; and extracting the copyright information later when using the contents or when an infringement of copyright occurs, to thereby prove the existence of a copyright or an ownership.
One of representative watermarking methods is a method in which an HVS (Human Visual System) is calculated by regarding a watermark as a noise and the calculated HVS is added to a to-be-inserted coefficient of contents in spatial region. Another is a quantization watermarking method in which a bit of 1 or 0 is inserted into a coefficient of contents through quantizing the coefficient into a certain value, which method is called a QIM (Quantization Index Modulation). As for the former method for adding an HVS to a spatial region insertion coefficient, it has advantages in that the HVS can be simply calculated and the insertion operation is simple. With regard to the QIM method, though it has a merit in that a robustness of watermark can be obtained as the quantization step size increases, it also has a defect in that the calculation of a HVS is difficult.
On the other hand, hybrid watermarking is a technical conception for inserting a watermark by combining advantages of more than one watermarking methods.
Disclosed in a paper titled “Analysis and Design of Watermarking Algorithms for Improved Resistance to Compression”, IEEE Transactions on Image Processing, Vol. 13, No. 2, 2004, pages 126 to 144, is a hybrid watermarking method for inserting/extracting watermarks into/from a single image by employing two watermarking techniques. The watermarking techniques are a spread spectrum method and a quantization method. In order to apply two watermarking methods to a single image, it is important to know what watermarking method is used and where this method is applied to the image when inserting a watermark and apply the same method when extracting it. In the above-mentioned paper, a switching table is employed for the purpose. The switching table is designed to be matched with coefficients into which watermarks are to be inserted by a one-to-one correspondence. For example, if a value of the table corresponding to a certain coefficient is 0, the spread spectrum method is carried out to insert a watermark, whereas if a value of the table is 1, the quantization method is carried out to insert the watermark.
Further, proposed in a paper, titled “Multi-level Data Hiding for Digital Image and Video”, SPIE Conference on Multimedia Systems and Applications II, SPIE, Vol. 3845, 1999, pages 10 to 21, is another hybrid watermarking method which employs an odd-even embedding method at a low frequency band of a DCT (Discrete Cosine Transform) domain of an image data, while employing a spread spectra method at a mid and a high band thereof to insert watermarks.
Moreover, also proposed in US Patent Publication No. 20030070075, entitled “Secure hybrid robust watermarking resistance against tampering and copy-attack”, is a method for inserting a robust watermark and a fragile watermark into an image at the same time to obtain both a tamperproofing function and an authentication function. Specifically, a robust watermark is first inserted and its inserted position is determined by a secret key. Then, a fragile watermark is inserted to the rest area where no robust watermark is inserted. The fragile watermark is composed of a hash value of the image into which the robust watermark is inserted. When extracting the watermarks, the fragile watermark is first extracted for the authentication of the image and then the robust watermark is extracted.
However, in the conventional hybrid watermarking methods set forth above, to identify which insertion method is used at which point of an image when extracting a watermark, regions for applying watermarking methods should be predetermined so that discrete watermarking are applied to separate regions under an agreement by or additional information such as a table needs to be employed, which makes digital contents vulnerable to various attacks.
It is, therefore, the present invention addresses a hybrid watermarking method and apparatus for inserting a watermark into a single image by employing an HVS method and a quantization method at the same time.
In accordance with the present invention, application of one of the two watermarking methods is determined according to an edge map of the image: a watermark insertion is performed by calculating an HVS at a low frequency region of the image, whereas it is performed by a QIM method having a relatively large quantization coefficient at a high frequency region.
Specifically, it is a primary object of the present invention to improve the invisibility of a watermark by way of inserting the watermark into a digital image adaptively by employing the two watermarking methods at the same time.
It is another object of the present invention to increase the robustness of a watermark by way of performing the watermark insertion at a high frequency region of the image by employing the QIM method using a large quantization step size.
It is a further another object of the present invention to provide a method for estimating a reference value of an edge map which is used when inserting a watermark to distinguish a low frequency region and a high frequency region, thus allowing a watermark insertion method to be identified readily at a time of extracting the watermark.
In accordance with a first aspect of the present invention, there is provided a hybrid watermark insertion method for inserting a watermark into a digital image, comprising the steps of:
(a) dividing the digital image into a low frequency region and a high frequency region;
(b) inserting the watermark into the low frequency region of the image by employing a watermarking method using a human visual system (HVS); and
(c) inserting the watermark into the high frequency region of the image by employing a quantization index modulation (QIM) method.
In accordance with a second aspect of the present invention, there is provided a hybrid watermark insertion apparatus for inserting a watermark into a digital image, the apparatus comprising:
means for dividing the digital image into a low frequency region and a high frequency region;
means for inserting the watermark into the low frequency region by employing a watermarking method using an HVS; and
means for inserting the watermark into the high frequency region by employing a QIM method.
In accordance with a third aspect of the present invention, there is provided a hybrid watermark extraction method for extracting a watermark from a digital image into which the watermark is inserted by a hybrid watermark insertion, the method comprising the steps of:
(a) dividing the digital image into a low frequency region and a high frequency region;
(b) extracting the watermark from the low frequency region by employing a watermarking method using an HVS; and
(c) extracting the watermark from the high frequency region by employing a QIM method.
In accordance with a fourth aspect of the present invention, there is provided a hybrid watermark extraction apparatus for extracting a watermark from a digital image into which the watermark is inserted by a digital image watermark insertion apparatus employing a hybrid watermark insertion, the apparatus comprising:
means for dividing the digital image into a low frequency region and a high frequency region; and
means for extracting the watermark from the low frequency region by employing a watermarking method using an HVS; and
means for extracting the watermark from the high frequency region by employing a QIM method.
In accordance with the present invention, by applying two different watermarking methods to a single image to insert a watermark thereto adaptively, the invisibility of the watermark can be improved considerably. Further, since the watermark is inserted into a high frequency region by employing a QIM method using a large quantization coefficient, the robustness of the inserted watermark can be improved.
Moreover, in the watermark insertion process, by estimating a certain reference value of an edge map, which has been used to distinguish a low frequency region and a high frequency region at the time of inserting a watermark, the watermark insertion method can be easily identified, so that the watermark extraction can be carried out more readily.
The above and other objects and features of the present invention will become apparent from the following description of preferred embodiments given in conjunction with the accompanying drawings, in which:
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. Further, detailed description of known parts or functions will be omitted if there is a concern that their description would render the technical conception of the present invention obscure.
First of all, it will be explained two watermarking methods employed in a hybrid image watermarking method in accordance with the present invention.
One of the two methods is a technique for inserting a watermark by calculating an HVS. To be more specific, an HVS is calculated by way of regarding a watermark as a noise of an image, and the watermark is inserted into a spatial region of the image according to the HVS so calculated. The equation for the watermark insertion is as follows:
x′=x+α*β*w MathFigure 1
wherein x is an insertion coefficient; x′ refers to a signal into which a watermark is inserted; w represents a watermark to be inserted; α is a global insertion strength of a watermark for the whole region of the image; and β is a local insertion strength of the watermark.
In general, β is calculated by using an HVS function reflecting a local characteristic of a coefficient.
As for the watermark insertion method using the HVS, extraction of the watermark is performed in general by using a noise removing filter such as a low pass filter or a Wiener filter. A noise is extracted from the image into which a watermark is inserted by using the noise removing filter. Here, it is assumed that a watermark signal is contained in the extracted noise. A final determination upon the existence of the watermark is made by means of a correlation function between the inserted watermark signal and the extracted noise signal.
The other watermarking method employed in the present invention is a QIM method on quantization. The QIM method is a technique for inserting a 1-bit message to a coefficient, into which a watermark is to be inserted, as a watermark. In this method, a quantization coefficient is used but no key is utilized. A scalar, uniform quantizer Q(s) having a quantization coefficient Δ is defined as follows:
By using the quantizer, a quantization function can be defined as follows:
Q
i(s)=Q(s−di)+di, i=0,1 MathFigure 3
The quantization function is defined as follows for the insertion of a watermark:
wherein s is a coefficient into which a watermark is to be inserted; m is bit information to-be-inserted; and x is a coefficient into which the watermark is inserted.
In the QIM method, a watermark is extracted as follows.
A signal y obtained by adding a noise w to a signal x into which a watermark is inserted is defined by the following equation:
y=x+w MathFigure 5
Then, the inserted watermark message is extracted from y by using the following equation:
A QIM decoder is a minimum-distance decoder, and if a condition
|w|=<Δ/4
is satisfied, it implies that an extracted message completely coincides with an inserted message. If the value A is great, a permissible tolerance increases, resulting in improvement of the robustness but deterioration of invisibility. Further, the value A serves as a security key when inserting a watermark.
The present invention provides a hybrid watermarking method of the watermark insertion and extraction in which the above-described two separate watermarking methods are applied to a single image.
Referring now to
As shown in
Below, there will be provided a further detailed description on a process for inserting the watermark into the digital image.
First, as for a digital image, a coefficient of a designated area within the digital image into which a watermark is to be inserted is extracted, i.e., a brightness or a coefficient of a spatial region of the image of blue channel is extracted (S111) and then is subjected to a noise filter such as a low pass filter or a Wiener filter (S113). Then, from the digital image, e.g., an original image as shown in
Thereafter, the image is divided into two regions by using the edge map, i.e., a high frequency region and a low frequency region (S117) according to the following equation and different watermarking methods are respectively applied to them.
Here, T represents a reference value for dividing the image into the high frequency region and the low frequency region, and it may be set to be a mean value of the edge map or an arbitrary constant. On a flat region having an edge map of lower value, a watermark insertion method using an HVS is employed to reduce insertion distortion (S121), while a QIM method using a high value A is employed on a high frequency region having an edge map of higher value to insert a watermark thereto robustly (S131).
If the regions into which a watermark is inserted are determined depending on the edge map, the watermark is made into a unit block, and the unit block is then repetitively inserted into the regions. The size of the unit block is smaller than that of the digital image, and it can be maximally set to be ¼ of the size of the digital image and further decreases accordingly as the watermark insertion is repeated.
When performing the hybrid watermark insertion method as described above, the nose filter, the edge detection mask and the like may be identified as an edge detection unit for distinguishing a low frequency region and a high frequency region along with a microprocessor programmed to execute a sequence for detecting an edge map. Similarly, the microprocessor and the like, which is programmed to execute a sequence for inserting a watermark into a digital image, may be referred to as a hybrid watermarking unit.
Then, a hybrid watermark extraction method in accordance with the present invention will be described with reference to
Referring to
Below, the process for extracting a watermark from a digital image by the watermark extraction method as defined above will be explained in further detail.
The technical key of watermark extraction is to estimate a reference value T of an edge map which has been used when inserting a watermark. For the purpose, a coefficient into which a watermark has been inserted is extracted from an image into which the watermark has been inserted (S211) and then it is subjected to a noise filtering using a low pass filter and a Wiener filter (S213). Thereafter, an edge map is obtained by using an edge detection mask such as a Prewitt and a Sobel (S215). In this regard, if a distortion of the image has occurred, the value of the edge map would be different from that at the time of inserting the watermark.
Then, the reference value T is estimated as follows.
First, the mean value of the edge map is set as the reference value T (S221).
Thereafter, a watermark is extracted while changing the reference value within a designated range by applying Eq. 6 reversely (S225).
The designated range is set with respect to the reference value T as represented by the following equation in order to achieve an optimum reference value.
(Tstart=T−k)≦T≦(Tend=T+k) MathFigure 8
Here, k is an arbitrary constant. For example, if the mean value of the edge map is 25 and k is 20, T ranges from 5 to 45.
Subsequently, an auto-correlation coefficient is calculated by applying an autocorrelation function to the watermark extracted in the step S225 (S231). Then, a mask window having a size of, e.g., 6464 pixels is covered on the image and a maximum value of the auto-correlation coefficients within the window is extracted (S233). Here, the size of the mask window may be modified as required.
By repeatedly performing the steps 225 to S233 for the whole range of the reference value, the reference value T which makes the auto-correlation coefficient have its maximum value is searched and the maximum value of the coefficient is ultimately estimated as the reference value T used for the watermark insertion (S235). That is, by performing extractions for the whole range of the reference value T, one of the reference values Ts capable of optimizing the extracted values is presumed as a reference value T.
Finally, if the reference value T of the edge map is estimated, the reference value T is applied to Eq. 7 and the digital image is divided into a low frequency region and a high frequency region using the edge map (S237). Then, a watermark extraction is executed in the low frequency region by a watermarking method using an HVS, whereas a watermark extraction is performed in the high frequency region by a QIM method (S241).
When performing the hybrid watermark extraction method as described above, the nose filter, the edge detection mask and the like may be identified as frequency dividing scheme for distinguishing a low frequency region and a high frequency region along with a microprocessor programmed to execute the inventive watermark extraction method. Further, the microprocessor, and the like may be referred to as a watermark extraction scheme, which is programmed to execute the inventive watermark extraction method.
As described above, the hybrid image watermarking method in accordance with the present invention can be used to insert/extract additional information including copyright information into/from a 2D computer graphic image or to insert/extract copyright information into/from a computer graphic image to verify the ownership of a digital cinema or to chase an illegal distributor thereof.
While the invention has been shown and described with respect to the preferred embodiments, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims.
Number | Date | Country | Kind |
---|---|---|---|
10-2006-0039649 | May 2006 | KR | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/KR2006/003145 | 8/11/2006 | WO | 00 | 10/31/2008 |