METHOD AND ARRANGEMENT FOR DETECTING A WATERMARK

Abstract: Recently developed methods for copy protection rely on a watermark detector to judge wheter multimedia content can be copied or not. In such copy protection schemes, a watermark detector examines the multimedia content and outputs a signal (D) indicating whether a watermark is present or not. Known watermark detectors determine a decision variable (y) indicating to which extent the watermark is present, for example, the amount of correlation between input signal and a reference copy of the watermark to be detected. The watermark is detected if the decision variable exceeds a predetermined threshold (ythr). In accordance with the invention, the threshold value (ythr) is adaptively controlled in dependence upon statistical characteristics of the information signal and a desired probability of false alarms (watermark detected whereas the signal is not watermarked). In an embodiment, the watermark detector determines the standard deviation ( sigma ) of the pixel values threshold level and calculates the threshold value in accordance with the relation P(falsealarm) = erfc(ythr/ sigma ) in which erfc is the error function and sigma is said standard deviation of the information signal values.

Description: Method and arrangement for detecting a watermark. FIELD OF THE INVENTION The invention relates to a method and arrangement for detecting a watermark embedded in an information signal. BACKGROUND OF THE INVENTION Watermarks are perceptually invisible messages embedded in information signals such as multimedia material, e.g. audio, still pictures, animations or video. Watermarks can be used to identify the copyright ownership of information. They allow a copyright owner to trace illegal copies of his material by inspecting whether his watermark is present in said copies. Watermarks are embedded in an information signal by modifying data samples of the signal (e.g. audio samples of an audio signal, pixels of an image, transform coefficients of a transform-coded signal, etc.) such that the original is not perceptibly affected. Various methods of watermarking are known in the art. For example, pixels of an original image are slightly incremented or decremented in accordance with corresponding bits of a binary watermark pattern. In order to detect whether an information signal has an embedded watermark, the signal is subjected to a statistical analysis. The statistical analysis yields a parameter, hereinafter referred to as "decision variable", which indicates to which extent the watermark is present in the signal. For example, if an image signal is watermarked by incrementing or decrementing its pixels in accordance with a watermark pattern, the decision variable may be the amount of correlation between the signal and an applied reference copy of the watermark. If an image is watermarked by modifying selected pixels, a prediction for said pixels is calculated from temporally or spatially adjacent pixels. The decision variable may then be the number of pixels being sufficiently different from their prediction. Watermark detectors generate a binary output signal indicating "watermark found" or "no watermark found". That is achieved by comparing the decision variable with a predetermined threshold. If the value of the decision variable exceeds the threshold, the watermark is considered to be present in the signal. The threshold value is decisive for the performance of a watermark detector. If the threshold is too low, the detector will often make a false positive decision (false alarm). If the threshold is too high, the detector will often make a false negative decision (missed detection). In particular, pixel- domain watermarks are vulnerable to false decisions. Copy protection by means of watermark detection can only be applied in consumer products if the probabilities of false alarms is sufficiently small. OBJECT AND SUMMARY OF THE INVENTION It is an object of the invention to provide an improved method and arrangement for detecting a watermark. To that end, the method in accordance with the invention is characterized in that it comprises means for generating the threshold value in dependence upon statistical characteristics of the information signal and a desired probability of erroneous detections. Herewith is achieved that the threshold value is adaptively controlled to obtain a desired false alarm rate. Further advantageous embodiments of the invention are defined in the dependent claims. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 shows a prior art system comprising a watermark embedder and a watermark detector. Fig. 2 shows a watermark pattern to illustrate the operation of the system which is shown in Fig. 1. Fig. 3 shows probability density functions to illustrate the operation of the watermark detector in accordance with the invention. Fig. 4 shows an embodiment of a watermark detector in accordance with the invention. DESCRIPTION OF EMBODIMENTS The invention will now be described with reference to a watermark detector in which the decision variable indicating to which extent the watermark is present in the signal is the amount of correlation between the signal being analyzed and a reference copy of the watermark to be detected. However, the description should not be interpreted as restricting the invention to such an embodiment. Fig. 1 shows a prior art system comprising a watermark embedder 1 and a watermark detector 2. The watermark embedder receives an original information signal p and a watermark signal w. The information signal p is assumed to be a digitized image having 8-bit luminance pixel values p(n). The watermark w is assumed to be a specific binary pattern of values w(n) = l or w(n)=-l. An example of such a watermark pattern is shown in Fig. 2 in which white and black dots represent the values w(n)=-l and w(n) = l, respectively. The watermark embedder comprises an adding stage 10 which adds the watermark values w(n) to the spatially corresponding pixels p(n) of the input image. It will be appreciated that this does not affect the visual appearance of the image. The embedded watermark is thus perceptually invisible. The information signal q is applied, after transmission or storage (not shown), to the watermark detector 2. The watermark detector comprises a multiplication stage 21 and a summing circuit 22 which collectively constitute a correlation circuit. The multiplication stage receives the information signal q and a reference copy of the watermark w the presence of which in the signal q is to be detected. The pixel values q(n) of the received image and the corresponding values w(n) of the reference watermark are individually multiplied and than summed up to obtain a decision variable y which represents the amount of correlation between input signal q and watermark w. In mathematical notation: N y = ∑ w (n) xq(n) n=l in which N is the total number of pixels. The correlation value y is applied to a comparator 23 for comparison with a threshold value y^,.. The comparator produces an output D = 1 (watermark found) for y > y Λr and an output D=0 (no watermark found) for y < y thr . The watermark pattern w and the threshold value y thr are carefully chosen to avoid that the detector makes too often a false decision. Such a false decision is made when the detector produces an output D = l when the signal is not watermarked, and when the detector produces an output D=0 when the signal is watermarked. This is illustrated in Fig. 3 which shows the probability density function 31 of the correlation value y for a non-watermarked signal and the probability density function 32 of y for a watermarked signal. Their respective mean values are denoted y { and y 2 , and y^,. is the threshold value. It will be appreciated that the shaded area 34 represents the probability that a false alarm occurs (D = l while the signal is not watermarked). Similarly, the shaded area 33 represents the probability that a negative false decision is made (D=0 although the signal is watermarked). The functions 31 and 32 are further apart from each other (i.e. the mean value y 2 is larger) as the energy of the embedded watermark is larger. The invention provides setting of the threshold value y ώr in dependence upon measurement of the above mentioned statistical characteristics of the information signal and a desired probability of false detections. The inventors have found that the probability of occurrence of a false alarm can be represented by the equation: P(falsealarm) = erfc i ^^ ) Eq.l in which erfc is the so-called "error function" which is well-known in the field of mathematics, and σ is the standard deviation of the signal values q(n) of the actually applied information signal. An embodiment of a watermark detector in accordance with the invention exploits this relation between false alarm rate, threshold value and standard deviation. Fig. 4 shows such an embodiment. In the Figure, the same reference numerals are used for circuit elements that have already been shown in Fig. 1. The watermark detector further comprises means 24 for calculating the standard deviation σ of the pixel values q(n) of the input image, and threshold generating means 25 for generating the threshold value y^ in accordance with a desired false alarm probability. The threshold generating circuit 25 performs the inverse of the operation defined by Eq.l, i.e. it calculates the corresponding threshold value y^. for a desired false alarm probability. To that end, an embodiment of the circuit performs an iterative process in which the false alarm probability is iteratively calculated in accordance with Eq. l for different threshold value candidates until P(false alarm) is sufficiently equal to a desired value. The threshold value y^ for which the desired probability is obtained is then applied to the comparator 23. The threshold value is thus adaptively controlled to obtain a desired false alarm rate. The invention can be summarized as follows. Recently developed methods for copy protection rely on a watermark detector to judge whether multimedia content can be copied or not. In such copy protection schemes, a watermark detector examines the multimedia content and outputs a signal (D) indicating whether a watermark is present or not. Known watermark detectors determine a decision variable (y) indicating to which extent the watermark is present, for example, the amount of correlation between input signal and a reference copy of the watermark to be detected. The watermark is detected if the decision variable exceeds a predetermined threshold (y^,.). In accordance with the invention, the threshold value (y^,.) is adaptively controlled in dependence upon statistical characteristics of the information signal and a desired probability of false alarms (watermark detected whereas the signal is not watermarked). In an embodiment, the watermark detector determines the standard deviation (σ) of the pixel values threshold level and calculates the threshold value in accordance with the relation P{ falsealarm) = erfc i ^ ) σ in which erfc is the error function and σ is said standard deviation of the information signal values.

Claims: Claims 1. An arrangement for detecting a watermark (w) embedded in an information signal (q), comprising: means (21,22) for determining a decision variable (y) indicating to which extent said watermark is present in said signal; and means for generating an output signal (D) indicating detection of the watermark if the decision variable exceeds a predetermined threshold (y th r); characterized in that the arrangement comprises means for generating the threshold value (Y th r) n dependence upon statistical characteristics (σ) of the information signal and a desired probability of erroneous detections. 2. An arrangement as claimed in claim 1, wherein said generating means comprises means (24) for calculating the standard deviation (σ) or variance (σ 2 ) of information signal values to obtain the statistical characteristics (σ) of the information signal. 3. An arrangement as claimed in claim 2, wherein said generating further comprises means (25) for calculating the threshold value (y^) in accordance with the relation P(falsealarm) = erfci ^σ≡ ) in which erfc is the error function and σ is said standard deviation of the information signal values. 4. A method of detecting a watermark (w) embedded in an information signal (q), comprising the steps of: determining a decision variable (y) indicating to which extent said watermark is present in said signal; and generating an output signal (D) indicating detection of the watermark if the decision variable exceeds a predetermined threshold (y mr ); characterized by the step of controlling the threshold value (y^) in dependence upon statistical characteristics (σ) of the information signal and a desired probability of erroneous detections. 5. Multimedia playing and/or recording apparatus comprising an arrangement as claimed in any one of claims 1-3.

Inventors: LINNARTZ JOHAN PAUL MARIE GERA, LINNARTZ, JOHAN, PAUL, MARIE, GERARD
Applicants: KONINKL PHILIPS ELECTONICS N V, PHILIPS SVENSKA AB, KONINKLIJKE PHILIPS ELECTONICS N.V., PHILIPS AB
Application year: 1998
Main classification: H04N5
IPC codes: G06T1, G09C5, G10L11, H04N1, H04N5, H04N7