Information
-
Patent Application
-
20030190055
-
Publication Number
20030190055
-
Date Filed
April 08, 200321 years ago
-
Date Published
October 09, 200321 years ago
-
CPC
-
US Classifications
-
International Classifications
Abstract
Data is hidden in an information signal by encoding payload in to relative positions and/or polarities of multiple (possibly equal) embedded watermarks. The payload is retrieved by computing the correlation between the watermark(s) and the signal as a function of the position. The distance between peaks of the correlation function represents the payload. In order to precisely detect said distance, even if the peaks are smeared, the correlation function in a window (w1) around one peak (p1) is compared with the correlation function in a similar window (w2) around another peak (p2). This is done for different positions of said windows. The distance (k) between the windows (37,38) for which the correlation functions most resemble each other is the distance representing the payload.
Description
FIELD OF THE INVENTION
[0001] The invention relates to a method and arrangement for detecting payload data encoded into relative positions and/or relative polarities of watermarks embedded in an information signal.
BACKGROUND OF THE INVENTION
[0002] International Patent Application WO-A-99/45705 discloses a method of detecting multi-bit payload data in an information signal. The payload is encoded into the relative positions and polarities of multiple (possibly equal) embedded watermark patterns. The prior-art detection method comprises computing the correlation of the embedded watermark patterns and the information signal as a function of the position of the watermark patterns with respect to the signal. This computing step yields a correlation function in which the positions and polarities of the embedded watermark patterns are represented by large positive or negative peaks. The relative distance between, and the signs of, the peaks represent the payload data.
[0003] In the ideal case, the peaks of the correlation function resemble Dirac-pulses and their positions can be determined with sufficient precision. However, in many practical situations the positions and the polarities are not so well defined. This is particularly the case if the signal has been subjected to processing. Video processing, for example, causes the correlation peaks to be smeared. Peaks are broadened, so that the central position is no longer well defined. Even the sign of a peak may be incorrectly retrieved due to large negative side lobs.
[0004] As a solution to this problem, WO-A-99/45705 teaches restriction of allowed peak positions to a sub-grid of all possible positions. Peak jitter is then resolved by quantizing to the nearest sub-grid point. However, the payload capacity of the watermark is thereby reduced. Moreover, it does not solve the inversion of peak polarity.
OBJECT AND SUMMARY OF THE INVENTION
[0005] It is an object of the invention to provide an improved method and arrangement for detecting the distance between multiple watermark patterns embedded in an information signal. It is also an object of the invention to provide an improved method and arrangement for detecting the relative polarities of said watermark patterns.
[0006] To this end, the step of determining the relative positions of peaks comprises computing the resemblance of the correlation function in a window around one of said peaks to the correlation function in a window around another one of said peaks for a plurality of positions of at least one of said windows, and determining the positions of said windows for which said resemblance has an extreme value.
[0007] The invention is based on the recognition that if peaks of a correlation function are smeared, they are all smeared in the same manner. The correlation functions (the waveforms) in the neighborhoods of peaks resemble each other to a large extent. The invention exploits this property by identifying the neighborhoods in which the correlation functions resemble each other most, and determining the distance between the identified neighborhoods rather than the distance between individual peaks.
[0008] The same solution applies to the detection of the relative polarities of the peaks. In accordance with the invention, the step of determining the relative polarities of peaks comprises computing the resemblance of the correlation function in a window around one of said peaks to the correlation function in a window around another one of said peaks, and determining the sign of said resemblance value. If the sign is positive, the two peaks have the same polarity. If the sign is negative, the peaks have opposite polarities.
BRIEF DESCRIPTION OF THE DRAWINGS
[0009]
FIG. 1 shows a schematic diagram of a watermark embedder to illustrate how payload data is embedded in a video image.
[0010]
FIGS. 2 and 3 show diagrams to illustrate the operation of the watermark embedder which is shown in FIG. 1.
[0011]
FIG. 4 shows a schematic diagram of an arrangement for detecting payload data in accordance with the invention.
[0012]
FIGS. 5A and 5B show two-dimensional correlation functions to generally illustrate the operation of the arrangement, which is shown in FIG. 4.
[0013]
FIG. 6 shows one-dimensional correlation functions to generally illustrate the operation of the arrangement, which is shown in FIG. 4.
[0014]
FIG. 7 shows one-dimensional correlation functions to illustrate one embodiment of the method in accordance with the invention.
[0015]
FIGS. 8 and 9 show flow charts of operational steps which are carried out by embodiments of the arrangement in accordance with the invention.
[0016]
FIG. 10 shows a two-dimensional correlation peak pattern to illustrate a further embodiment of the method in accordance with the invention.
DESCRIPTION OF EMBODIMENTS
[0017]
FIG. 1 shows a schematic diagram of a watermark embedder to illustrate how auxiliary data is embedded in a video image according to the teaching of International Patent Application WO-A-99/45705. The arrangement receives a motion video signal X and outputs a watermarked video signal Y. It comprises a payload encoder 10, a tiling circuit 11, and an adder 12. FIG. 2 illustrates the operation of the payload encoder 10. The encoder receives a limited set of uncorrelated “basic” watermark patterns (W1,W2). Each basic watermark is a given pattern of random noise luminance values, but for convenience it has been given human recognizable contents (a rectangle and a triangle, respectively) in this example.
[0018] The embedded watermark pattern W is a combination of said basic patterns and/or cyclically shifted versions thereof. In this example, the encoder 10 generates W=W1−W2k, where W2k is a cyclically shifted version of basic pattern W2. The signs and shift vectors (k) represent payload data K. To reduce complexity, the watermark pattern W has a relatively small size of M×M (e.g. 128×128) pixels. As shown in FIG. 3, it is tiled over the larger image area by the tiling circuit 11. The same watermark WM is subsequently embedded in successive frames of a motion video signal.
[0019]
FIG. 4 shows a schematic diagram of the watermark detector in accordance with the invention. The watermark detector receives a possibly watermarked image Q. The image is partitioned (21) into blocks of size M×M (M=128) and all the blocks are stacked (22) in a buffer B of size M×M. This operation is known as folding. To detect whether or not the buffer B includes one or more versions of the watermarks W1 and W2, the buffer contents B and the respective watermark patterns are subjected to correlation. Computing the correlation comprises computing the inner product d=<q,w>of the information signal values q={qij} and the corresponding values w={wij}of the watermark pattern. For the two-dimensional M×M image, the inner product is:
1
[0020] The watermark w is said to be present if the correlation d exceeds a predetermined threshold.
[0021] The arrangement, which is shown in FIG. 4, uses the Fast Fourier Transform to simultaneously compute the correlation values d for all possible shifts of the basic watermark w with respect to the image, in accordance with the teachings of International Patent Application WO-A-99/45707. This operation will be briefly summarized. Both the contents q of the buffer B and the basic watermark pattern w are subjected to a Fast Fourier Transform (FFT) in transforming circuits 23 and 24, respectively. These operations yield:
{circumflex over (q)}=FFT
(q) and
wŵ=FFT
(w),
[0022] where {circumflex over (q)} and ŵ are sets of complex numbers.
[0023] Computing the correlation is similar to computing the convolution of q and the conjugate of w. In the transform domain, this corresponds to:
{circumflex over (d)}={circumflex over (q)}conj
(ŵ)
[0024] where the symbol denotes pointwise multiplication and conj( ) denotes inverting the sign of the imaginary part of the argument. In FIG. 4, the conjugation of ŵ is carried out by a conjugation circuit 25, and the pointwise multiplication is carried out by a multiplier 26. The set of correlation values d is now obtained by inverse Fourier transforming the result of said multiplication:
d=IFFT
({circumflex over (d)})
[0025] which is carried out by an inverse FFT circuit 27.
[0026]
FIG. 5A shows a graph of correlation values if the basic watermark pattern W1 is applied to the detector. The correlation function exhibits a peak 31. The peak has a positive polarity and happens to be located at (0,0) in this example. Note that the absolute location of this peak may be different if the image Q has undergone processing such as translation or cropping. FIG. 5B shows the graph of correlation values if the basic watermark pattern W2 is applied to the detector. The correlation function now exhibits a negative peak 32 at (24,40). The relative position of this peak with respect to the position of peak 31 reveals the relative distance (in pixels) of W2k with respect to W1, i.e. the shift vector k.
[0027] A shift vector retrieving circuit 28 retrieves the shift vector k from the peak patterns in a manner to be described hereinafter. Finally, a payload decoder 29 decodes the embedded payload K from the vector k thus found and the polarities of the peaks.
[0028]
FIG. 6 shows the correlation functions in the one-dimensional domain for more convenience. The distance k between the peaks 31 and 32 can be precisely retrieved in the ideal case. However, in many practical situations the positions and the polarities of the peaks are not so well defined. Video processing causes the correlation peaks to be smeared. Peaks are broadened, so that the central position is no longer well-defined. Even the sign of a peak may be incorrectly retrieved due to large negative side lobes. This is illustrated in FIG. 7, which shows the correlation functions under sub-ideal conditions. Peaks 33 and 34 have now been detected, at different positions. This phenomenon is referred to as peak jitter. Peak 34 has also the wrong polarity, so that the detector cannot determine the direction of the shift vector. Needless to say that the vector k′ in FIG. 7 may lead to erroneous detection of the payload K.
[0029] The shift vector retrieving circuit 28 (FIG. 4) is arranged to correctly retrieve the shift vector k, even if the peaks are smeared. The operation of one embodiment of this circuit will now be described with reference to FIG. 8, which shows a flow chart of operational steps:
[0030] Step 51: Determine the position p1 of the largest value in abs(B), which is larger than a predetermined threshold T. Determine also the position p2 of the second largest value in abs(B), which does not belong to a suitably chosen neighborhood of p1. The exclusion of an appropriate neighborhood of p1 prevents a large sub-peak of p1 being selected as p2. The threshold T can be set in accordance with the teaching of International Patent Application WO-A-99/45706.
[0031] Step 52: Choose a window w1 (35 in FIG. 7), which includes p1, and an equally sized window w2 (36 in FIG. 7), which includes p2. The window may be a rectangle or circle in the case of two-dimensional peak patterns.
[0032] Step 53: Determine to which extent the correlation function in w1 and w2 resemble each other. To this end, the circuit computes a match value e(w1,w2). Various methods of computing match values are known in the art. A simple correlation is an appropriate choice. The more the waveforms within the windows resemble each other, the larger the absolute value of e(w1,w2) will be. The sign of e(w1,w2) indicates whether the waveform in window w1 resembles the true or inverted waveform in window w2.
[0033] Step 54: Repeat step 53 for all possible positions of windows w1 and/or w2. Note that a cyclic shift has been applied by the embedder. A window exceeding one of the ends of the buffer B must be wrapped around.
[0034] Step 55: Determine the largest absolute value of the match value e(w1,w2) and its sign.
[0035] Step 56: Determine the relative distance between the windows for which abs(e(w1,w2)) is maximal. In FIG. 7, said windows are denoted 37 and 38, respectively. The thus determined distance is the vector k which is looked for.
[0036] The method described above has some drawbacks. It is computationally expensive, because all possible pairs of windows are evaluated. Furthermore, the geometry and size of the windows are fixed. If the windows are too large, much of the matching is done with samples of the correlation buffer B which are not sub-peaks, but noise samples. If the windows are too small and the peaks are broad, the wrong vector can be extracted. FIG. 9 shows a flow chart of operational steps carried out by another embodiment of the vector retrieving circuit. The operation will now be described with reference to FIG. 10, which shows a top view of two-dimensional spatial correlation functions.
[0037] Step 61: Determine two peaks p1 and p2 in buffer B. This step is similar to step 51 in FIG. 8.
[0038] Step 62: Choose a window w1, which consists of local large peaks (larger than a threshold T) in the proximity of p1. In FIG. 10, local peaks are shown as solid pixels.
[0039] Step 63: Calculate the vector v=p2−p1. This vector (71 in FIG. 10) can be considered a first estimate for the vector k looked for.
[0040] Step 64: Determine for the vector v the match value e(w1,w2) between the correlation patterns in w1 and w2, where w2=w1+v (72 in FIG. 10). This step is extremely efficient if the correlation noise for non-peaks in w1 (the white rectangles in FIG. 10) is set to zero.
[0041] Step 65: Repeat step 64 for all possible vectors in a proximity of v. In this example, the proximity is a square area 77 of 11×11 pixels around v. One such vector in the proximity of v is denoted 73 and the corresponding window w2 is denoted 74 in FIG. 10.
[0042] Step 66: Determine the largest absolute value of the match value e(w1,w2) and its sign. In FIG. 10, the vector and window w2 for which the match value is maximal are denoted 75 and 76, respectively. The local peaks in window 76 (shown as solid rectangles) appear to be the best match for the local peaks in window w1.
[0043] Step 67: Derive the embedded payload K from the vector k and the sign which are associated to said largest value.
[0044] It should further be noted that the payload data may also be represented by the relative polarities of multiple watermarks only. In that case, the detector needs not determine the distance between the most resembling windows w1 and w2, but merely the sign of the match value e(w1,w2).
[0045] The methods described above look for clusters of peaks and determine the optimal translation to match these clusters. More precisely, having determined a first and second cluster of peaks, a vector v is searched such that the first cluster shifted over v matches the second cluster or its inverse in the best possible way. The outcome of such a matching is a vector v and a sign s, the sign indicating whether or not the clusters have the same or opposite polarity. It has been found that it is difficult to assign an absolute sign to a cluster of peaks. The encoding of payload should therefore better not rely on absolute signs (vectors k and −k should preferably represent the same payload data).
[0046] The invention can be summarized as follows. Data is hidden in an information signal by encoding payload in relative positions and/or polarities of multiple (possibly equal) embedded watermarks. The payload is retrieved by computing the correlation between the watermark(s) and the signal as a function of the position. The distance between peaks of the correlation function represents the payload. In order to precisely detect said distance, even if the peaks are smeared, the correlation function in a window (w1) around one peak (p1) is compared with the correlation function in a similar window (w2) around another peak (p2). This is done for different positions of said windows. The distance (k) between the windows (37,38) for which the correlation functions most resemble each other is the distance representing the payload.
Claims
- 1. A method of detecting payload data encoded into the relative positions of watermarks embedded in an information signal, comprising the steps of:
computing (23-27) the correlations between each watermark and said signal as a function of the position of said applied watermark with respect to the signal; determining (28) the relative positions of peaks (31,32) of said correlation functions; and detecting (29) said payload data from said relative positions of said peaks; characterized in that said step (28) of determining the relative positions of peaks comprises: computing (53;64) the resemblance of the correlation function in a window (w1) around one of said peaks (p1) to the correlation function in a window (w2) around another one (p2) of said peaks, for a plurality of positions of at least one of said windows; and determining (55; 66) the positions of said windows for which said resemblance has an extreme value.
- 2. A method of detecting payload data encoded into the relative polarities of watermarks embedded in an information signal, comprising the steps of:
computing (23-27) the correlation between the watermarks and said signal as a function of the position of said watermark with respect to the signal; determining (28) the relative polarities of peaks (31,32) of said correlation function; and detecting (29) said payload data from said relative polarities of said peaks; characterized in that said step (28) of determining the relative polarities of peaks comprises: computing (53;64) the resemblance of the correlation function in a window (w1) around one of said peaks (p1) to the correlation function in a window (w2) around another one (p2) of said peaks; and determining (55; 66) the sign of said resemblance value.
- 3. A method as claimed in claim 1 or 2, wherein the correlation function in a window around a peak is represented by the correlation values of local peaks in said window.
- 4. An arrangement for detecting payload data encoded into the relative positions of watermarks embedded in an information signal, comprising:
means (23-27) for computing the correlations between each watermark and said signal as a function of the position of said applied watermark with respect to the signal; means (28) for determining the relative positions of peaks (31,32) of said correlation functions; and means (29) for detecting said payload data from said relative positions of said peaks; characterized in that said means (28) for determining the relative positions of peaks comprises: means for computing (53;64) the resemblance of the correlation function in a window (w1) around one of said peaks (p1) to the correlation function in a window (w2) around another one (p2) of said peaks, for a plurality of positions of at least one of said windows; and means for determining (55; 66) the positions of said windows for which said resemblance has an extreme value.
- 5. An arrangement for detecting payload data encoded into the relative polarities of watermarks embedded in an information signal, comprising:
means (23-27) for computing the correlation between the watermarks and said signal as a function of the position of said watermark with respect to the signal; means (28) for determining the relative polarities of peaks (31,32) of said correlation function; and means (29) for detecting said payload data from said relative polarities of said peaks; characterized in that said means (28) for determining the relative polarities of peaks comprises: means (53;64) for computing the resemblance of the correlation function in a window (w1) around one of said peaks (p1) to the correlation function in a window (w2) around another one (p2) of said peaks; means (55; 66) for determining the sign of said resemblance value.
- 6. An arrangement as claimed in claim 4 or 5, wherein the correlation function in a window around a peak is represented by the correlation values of local peaks in said window.
Priority Claims (2)
Number |
Date |
Country |
Kind |
99202582.5 |
Aug 1999 |
EP |
|
00202079.0 |
Jun 2000 |
EP |
|
Continuations (1)
|
Number |
Date |
Country |
Parent |
09806796 |
Apr 2001 |
US |
Child |
10409436 |
Apr 2003 |
US |