# US 2003/0228030 A1 · Method and apparatus to detect watermark that are resistant to resizing, rotation and translation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2003/0228030 A1
- Document ID: US20030228030A1
- Status: Published application
- Kind: A1
- Application number: 10/162,838
- Filed: 2002-06-05
- Published: 2003-12-11
- Earliest claimed: 2002-06-05
- Assignees: Sony Corporation; Sony Electronics Inc.
- Inventors: Peter D. Wendt
- Web page: https://patentgrep.com/patent/US20030228030A1

## CPC

- G06T 1/0064: {Geometric transfor invariant watermarking, e.g. affine transform invariant}
- G06T 2201/0052: Embedding of the watermark in the frequency domain
- G06T 2201/0065: Extraction of an embedded watermark; Reliable detection
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A method and/or apparatus for detecting a watermark in a two-dimensional frame of data, the frame of data including a plurality of data values representing the watermark embedded in a frame of content data, the method comprising: computing a filtered frame of data from the frame of data having at least some harmonic frequency components corresponding to the watermark that are emphasized as compared to at least some frequency components corresponding to the content data; computing a two-dimensional Fourier transform of the filtered frame of data to produce a two-dimensional frequency spectrum of the filtered frame of data; selecting a set of frequency components associated with the watermark from among the frequency components of the two-dimensional frequency spectrum; and computing at least one of a rotation value, a resizing value, and a translation value associated with the watermark as compared to a reference watermark using one or more of the frequency components of the selected set.

## Claims

### Claim 1

A method of detecting a watermark in a two-dimensional frame of data, the frame of data including a plurality of data values representing the watermark embedded in a frame of content data, the method comprising:
computing a filtered frame of data from the frame of data having at least some harmonic frequency components corresponding to the watermark that are emphasized as compared to at least some frequency components corresponding to the content data;
computing a two-dimensional Fourier transform of the filtered frame of data to produce a two-dimensional frequency spectrum of the filtered frame of data;
selecting a set of frequency components associated with the watermark from among the frequency components of the two-dimensional frequency spectrum; and
computing at least one of a rotation value, a resizing value, and a translation value associated with the watermark as compared to a reference watermark using one or more of the frequency components of the selected set.

### Claim 2 (depends on 1)

The method of claim 1, wherein the frame of data are one of pixel data and audio data.

### Claim 3 (depends on 1)

The method of claim 1, wherein:
the watermark substantially matches the reference watermark but for the at least one of the rotation value, the resizing value, and the translation value;
the watermark and the reference watermark include a respective plurality of data blocks representing a message; and
each data block includes an array of data values arranged in at least one of a first and second pattern defined by the message.

### Claim 4 (depends on 3)

The method of claim 3, wherein the first and second patterns may be defined by four quadrants of data values in a Cartesian system of coordinates; and the first and third quadrants have equal data values and the second and fourth quadrants have equal data values.

### Claim 5 (depends on 4)

The method of claim 4, wherein the data values of the first and third quadrants and the data values of the second and fourth quadrants of the first and second patterns consist of two opposite polarity numbers.

### Claim 6 (depends on 5)

The method of claim 5, wherein the data values of the first and third quadrants of the first pattern and the data values of the first and third quadrants of the second pattern consist of two opposite polarity numbers.

### Claim 7 (depends on 3)

The method of claim 3, wherein the filtered frame of data includes a plurality of filtered data values, each filtered data value corresponding with one of the data values of the frame of data and being equal to a sum-of-products of data values of a reference data block and a respective set of data values of the frame of data.

### Claim 8 (depends on 7)

The method of claim 7, wherein the data values of the reference data block are arranged in one of the at least first and second patterns such that a given one of the filtered values tends to peak when the respective set of data values of the frame of data includes a given one of the data blocks of the watermark that is in at least partial registration with the reference data block.

### Claim 9 (depends on 8)

The method of claim 8, wherein:
the given filtered value tends to peak with a positive polarity when both the given one of the data blocks of the watermark and the reference data block include data values arranged in the first or second pattern; and
the given filtered value tends to peak with a negative polarity when the given one of the data blocks of the watermark includes data values arranged in the one of the first and second patterns and the reference data block includes data values arranged in the other one of the first and second patterns.

### Claim 10 (depends on 9)

The method of claim 9, wherein the reference data block includes a center within the array of data values; and the respective set of data values of the frame of data are those data values covered by the reference data block when the center of the reference data block is aligned with the corresponding one of the data values of the frame of data.

### Claim 11 (depends on 7)

The method of claim 7, wherein the step of computing the filtered frame of data comprises computing, for each filtered value, an absolute value of the sum-of-products of the values of the reference data block and the respective set of values of the frame of data.

### Claim 12 (depends on 1)

The method of claim 1, wherein the step of computing the two-dimensional Fourier transform of the filtered frame of data includes computing a two-dimensional Fast Fourier transform (FFT) to produce the two-dimensional frequency spectrum of the filtered frame of data.

### Claim 13 (depends on 1)

The method of claim 1, wherein the step of selecting the set of frequency components associated with the watermark includes selecting at least some of the harmonic frequency components corresponding to the watermark from among the frequency components of the two-dimensional frequency spectrum.

### Claim 14 (depends on 13)

The method of claim 13, wherein the at least some of the harmonic frequency components include the second harmonic frequency components corresponding to the watermark.

### Claim 15 (depends on 13)

The method of claim 13, wherein the step of computing at least one of the rotation value, the resizing value, and the translation value associated with the watermark includes determining (i) one or more deviations of the geometric positions within the two-dimensional Fourier transform of at least one of the selected harmonic frequency components corresponding to the watermark as compared with expected geometric positions of those components defined by the reference watermark; or (ii) one or more deviations in the phases of at least one of the selected harmonic frequency components corresponding to the watermark as compared with expected phases of those components defined by the reference watermark.

### Claim 16 (depends on 15)

The method of claim 15, wherein an area containing the frequency components of the two-dimensional frequency spectrum (i) may be graphically represented in Cartesian coordinates according to an x-axis and a y-axis; (ii) includes a width (W) parallel to the x-axis; (iii) includes a height (H) parallel to the y-axis; and (iv) includes an origin substantially at an intersection of the x-axis and the y-axis.

### Claim 17 (depends on 16)

The method of claim 16, wherein the step of computing the rotation value corresponding to the watermark includes determining an angle between a first axis and a reference axis, the first axis being defined by a reference point and at least one of the selected harmonic frequency components corresponding to the watermark and the reference axis being defined by the reference watermark.

### Claim 18 (depends on 17)

The method of claim 17, wherein the reference axis lies along one of the x-axis and the y-axis.

### Claim 19 (depends on 18)

The method of claim 18, wherein the rotation value corresponding to the watermark is substantially proportional to: arctangent((Fy1*W)/(Fx1*H)), where Fy1 and Fx1 are the y-axis and x-axis coordinates, respectively, of one of the selected harmonic frequency components corresponding to the watermark.

### Claim 20 (depends on 19)

The method of claim 19, wherein the rotation value corresponding to the watermark is substantially equal to (180/n)*arctangent((Fy1*W)/(Fx1*H)) degrees.

### Claim 21 (depends on 17)

The method of claim 17, wherein the step of computing the rotation value corresponding to the watermark includes:
determining two or more angles between (i) respective axes defined by the reference point and respective ones of the selected harmonic frequency components corresponding to the watermark, and (ii) one or more reference axes defined by the reference watermark; and
determining the rotation value from among the two or more angles.

### Claim 22 (depends on 16)

The method of claim 16, wherein the step of computing the resizing value corresponding to the watermark includes comparing (i) a period (P) computed from at least one of the selected harmonic frequency components corresponding to the watermark; and (ii) a reference period (Pr) defined by the reference watermark.

### Claim 23 (depends on 22)

The method of claim 22, wherein the step of computing the resizing value corresponding to the watermark includes computing an x-axis resizing value and a y-axis resizing value.

### Claim 24 (depends on 23)

The method of claim 23, wherein the step of computing the x-axis resizing value includes:
computing an x-axis period, Px, from one of the selected harmonic frequency components corresponding to the watermark; and
computing a ratio of Px to an x-axis reference period, Prx, of the reference watermark to obtain the x-axis resizing value.

### Claim 25 (depends on 24)

The method of claim 24, wherein the x-axis period, Px, is substantially equal to (H*W)/{square root}((Fx1*H)2+(Fy1*W)2), where Fx1 and Fy1 are the x-axis and y-axis coordinates, respectively, of the one of the selected harmonic frequency components corresponding to the watermark.

### Claim 26 (depends on 25)

The method of claim 25, wherein the reference watermark includes a plurality of data blocks, each data block including a plurality of values arranged in rows and columns, the number of values in each of the rows being equal to the x-axis reference period, Prx, of the reference watermark.

### Claim 27 (depends on 26)

The method of claim 26, wherein the one of the selected harmonic frequency components corresponding to the watermark lies substantially along the x-axis or would lie substantially along the x-axis but for the rotation value.

### Claim 28 (depends on 23)

The method of claim 23, wherein the step of computing the y-axis resizing value includes:
computing a y-axis period, Py, from one of the selected harmonic frequency components corresponding to the watermark; and
computing a ratio of Py to a y-axis reference period, Pry, of the reference watermark to obtain the y-axis resizing value.

### Claim 29 (depends on 28)

The method of claim 28, wherein the y-axis period, Py, is substantially equal to (H*W)/{square root}((Fx2*H)2+(Fy2*W)2), where Fx2 and Fy2 are the x-axis and y-axis coordinates, respectively, of the one of the selected harmonic frequency components corresponding to the watermark.

### Claim 30 (depends on 29)

The method of claim 29, wherein the reference watermark includes a plurality of data blocks, each data block including a plurality of values arranged in rows and columns, the number of values in each of the columns being equal to the y-axis reference period, Pry, of the reference watermark.

### Claim 31 (depends on 30)

The method of claim 30, wherein the one of the selected harmonic frequency components corresponding to the watermark lies substantially along the y-axis or would lie substantially along the y-axis but for the rotation value.

### Claim 32 (depends on 16)

The method of claim 16, wherein the step of computing the translation value corresponding to the watermark includes obtaining phases from at least two of the selected harmonic frequency components corresponding to the watermark.

### Claim 33 (depends on 32)

The method of claim 32, wherein:
the translation value is based on a first distance in a first direction and a second distance in a second direction;
the first distance is proportional to a phase, θ1, of one of the selected harmonic frequency components corresponding to the watermark; and
the second distance is proportional to a phase, θ2, of another of the selected harmonic frequency components corresponding to the watermark.

### Claim 34 (depends on 33)

The method of claim 33, wherein:
the first distance is substantially equal to (θ1*H*W)/2n*{square root}((Fx1*H)2+(Fy1*W)2), where Fx1 and Fy1 are the x-axis and y-axis coordinates, respectively, of the one of the selected harmonic frequency components corresponding to the watermark; and
the second distance is substantially equal to (θ2*H*W)/2n*{square root}((Fx2*H)2+(Fy2*W)2), where Fx2 and Fy2 are the x-axis and y-axis coordinates, respectively, of the other of the selected harmonic frequency components corresponding to the watermark.

### Claim 35 (depends on 34)

The method of claim 34, wherein the first direction is substantially proportional to arctangent((Fy1*W)/(Fx1*H)); and the second direction is substantially proportional to arctangent((Fy2*W)/(Fx2*H)).

### Claim 36 (depends on 33)

The method of claim 33, wherein the first and second directions are substantially perpendicular to one another.

### Claim 37 (depends on 3)

The method of claim 3, further comprising determining a plurality of locations within the frame of data corresponding to at least some of the data blocks of the watermark in accordance with at least one of the rotation value, the resizing value, and the translation value of the watermark.

### Claim 38 (depends on 37)

The method of claim 37, wherein the plurality of locations correspond to respective centers of the data blocks of the watermark.

### Claim 39 (depends on 37)

The method of claim 37, further comprising determining a filtered array of message values, each filtered message value corresponding with one of the at least some of the data blocks of the watermark and being equal to a sum-of-products of data values of a reference data block and a respective set of data values of the one of the at least some of the data blocks of the watermark.

### Claim 40 (depends on 39)

The method of claim 39, wherein the reference data block includes a center within the array of data values; and the respective set of data values of the one of the at least some of the data blocks of the watermark are those data values covered by the reference data block when the center of the reference data block is aligned with the respective location of the one of the at least some of the data blocks of the watermark.

### Claim 41 (depends on 40)

The method of claim 40, further comprising at least one of (i) rotating the reference data block by an amount proportional to the rotation value prior to taking the sum-of-products; and (ii) resizing the reference data block by one or more amounts proportional to the resizing value prior to taking the sum-of-products.

### Claim 42 (depends on 39)

The method of claim 39, further comprising determining a filtered array of reference message values, each filtered reference message value corresponding with one of at least some of the data blocks of the reference watermark and being equal to a sum-of-products of data values of the reference data block and the data values of the one of the at least some of the data blocks of the reference watermark.

### Claim 43 (depends on 42)

The method of claim 42, wherein the reference data block includes a center within the array of data values; and the data values of the one of the at least some of the data blocks of the reference watermark are those data values covered by the reference data block when the center of the reference data block is aligned with a center of the one of the at least some of the data blocks of the reference watermark.

### Claim 44 (depends on 42)

The method of claim 42, wherein the filtered array of reference message values is predetermined.

### Claim 45 (depends on 44)

The method of claim 44, further comprising computing a sum-of-products of the filtered array of message values and the filtered array of reference message values.

### Claim 46 (depends on 45)

The method of claim 45, further comprising determining that the watermark contains a message that corresponds to a message of the reference watermark when the sum-of-products of the filtered array of message values and the filtered array of reference message values meets or exceeds a threshold.

### Claim 47 (depends on 46)

The method of claim 46, further comprising:
determining a set of filtered arrays of reference message values, each array of filtered reference message values being associated with a different reference watermark;
computing a sum-of-products of the filtered array of message values and each of the filtered arrays of reference message values; and
determining that the watermark contains a message that corresponds to a message of one of the reference watermarks when the sum-of-products of the filtered array of message values and the filtered array of reference message values associated with the one of the reference watermarks meets or exceeds a threshold.

### Claim 48 (depends on 45)

The method of claim 45, further comprising:
translating the filtered array of message values with respect to the filtered array of reference message values by at least one message value location in at least one of a horizontal direction and a vertical direction;
computing a sum-of-products of the filtered array of message values and the filtered array of reference message values;
repeating the translating and computing steps one or more times; and
determining that the watermark contains a message that corresponds to a message of the reference watermark when one of the sum-of-products computations meets or exceeds a threshold.

### Claim 49 (depends on 45)

The method of claim 45, further comprising:
rotating the filtered array of message values with respect to the filtered array of reference message values in accordance with a multiple of 90°;
computing a sum-of-products of the filtered array of message values and the filtered array of reference message values;
repeating the rotating and computing steps one or more times; and
determining that the watermark contains a message that corresponds to a message of the reference watermark when one of the sum-of-products computations meets or exceeds a threshold.

### Claim 50 (depends on 42)

The method of claim 42, further comprising
obtaining a two-dimensional Fourier transform of the filtered array of reference message values;
computing a two-dimensional Fourier transform of the filtered array of message values;
computing a modified array by taking a product of the two-dimensional Fourier transform of the filtered array of reference message values and the two-dimensional Fourier transform of the filtered array of message values on a point-by-point basis;
computing an inverse Fourier transform of the modified array;
determining a maximum value from the inverse Fourier transform of the modified array;
rotating the two-dimensional Fourier transform of the filtered array of reference message values relative to the two-dimensional Fourier transform of the filtered array of message values by a multiple of 90°;
computing subsequent modified array by taking a product of the two-dimensional Fourier transform of the filtered array of reference message values and the two-dimensional Fourier transform of the filtered array of message values on a point-by-point basis;
computing an inverse Fourier transform of the subsequent modified array;
determining a subsequent maximum value from the inverse Fourier transform of the subsequent modified array;
repeating the rotating, computing, and determining steps one or more times; and
determining that the watermark contains a message that corresponds to a message of the reference watermark when one of the maximum values meets or exceeds a threshold.

### Claim 51

A processing device operating under the control of a program, the program causing the processing device to carry out a method of detecting a watermark in a two-dimensional frame of data, the frame of data including a plurality of data values representing the watermark embedded in a frame of content data, the method comprising:
computing a filtered frame of data from the frame of data having at least some harmonic frequency components corresponding to the watermark that are emphasized as compared to at least some frequency components corresponding to the content data;
computing a two-dimensional Fourier transform of the filtered frame of data to produce a two-dimensional frequency spectrum of the filtered frame of data;
selecting a set of frequency components associated with the watermark from among the frequency components of the two-dimensional frequency spectrum; and
computing at least one of a rotation value, a resizing value, and a translation value associated with the watermark as compared to a reference watermark using one or more of the frequency components of the selected set.

### Claim 52 (depends on 51)

The processing device of claim 51, wherein:
the watermark substantially matches the reference watermark but for the at least one of the rotation value, the resizing value, and the translation value;
the watermark and the reference watermark each include a respective plurality of data blocks representing a message; and
each data block includes an array of data values arranged in at least one of a first and second pattern defined by the message.

### Claim 53 (depends on 52)

The processing device of claim 52, wherein:
the first and second patterns may be defined by four quadrants of data values in a Cartesian system of coordinates; and the first and third quadrants have equal data values and the second and fourth quadrants have equal data values;
the data values of the first and third quadrants and the data values of the second and fourth quadrants of the first and second patterns consist of two opposite polarity numbers;
the data values of the first and third quadrants of the first pattern and the data values of the first and third quadrants of the second pattern consist of two opposite polarity numbers.

### Claim 54 (depends on 52)

The processing device of claim 52, wherein the filtered frame of data includes a plurality of filtered data values, each filtered data value corresponding with one of the data values of the frame of data and being equal to a sum-of-products of data values of a reference data block and a respective set of data values of the frame of data.

### Claim 55 (depends on 54)

The processing device of claim 54, wherein the data values of the reference data block are arranged in one of the at least first and second patterns such that a given one of the filtered values tends to peak when the respective set of data values of the frame of data includes a given one of the data blocks of the watermark that is in at least partial registration with the reference data block.

### Claim 56 (depends on 55)

The processing device of claim 55, wherein:
the given filtered value tends to peak with a positive polarity when both the given one of the data blocks of the watermark and the reference data block include data values arranged in the first or second pattern; and
the given filtered value tends to peak with a negative polarity when the given one of the data blocks of the watermark includes data values arranged in the one of the first and second patterns and the reference data block includes data values arranged in the other one of the first and second patterns.

### Claim 57 (depends on 56)

The processing device of claim 56, wherein the reference data block includes a center within the array of data values; and the respective set of data values of the frame of data are those data values covered by the reference data block when the center of the reference data block is aligned with the corresponding one of the data values of the frame of data.

### Claim 58 (depends on 54)

The processing device of claim 54, wherein the step of computing the filtered frame of data comprises computing, for each filtered value, an absolute value of the sum-of-products of the values of the reference data block and the respective set of values of the frame of data.

### Claim 59 (depends on 51)

The processing device of claim 51, wherein the step of computing the two-dimensional Fourier transform of the filtered frame of data includes computing a two-dimensional Fast Fourier transform (FFT) to produce the two-dimensional frequency spectrum of the filtered frame of data.

### Claim 60 (depends on 51)

The processing device of claim 51, wherein the step of selecting the set of frequency components associated with the watermark includes selecting at least some of the harmonic frequency components corresponding to the watermark from among the frequency components of the two-dimensional frequency spectrum.

### Claim 61 (depends on 60)

The processing device of claim 60, wherein the at least some of the harmonic frequency components include the second harmonic frequency components corresponding to the watermark.

### Claim 62 (depends on 60)

The processing device of claim 60, wherein the step of computing at least one of the rotation value, the resizing value, and the translation value associated with the watermark includes determining (i) one or more deviations of the geometric positions within the two-dimensional Fourier transform of at least one of the selected harmonic frequency components corresponding to the watermark as compared with expected geometric positions of those components defined by the reference watermark; or (ii) one or more deviations in the phases of at least one of the selected harmonic frequency components corresponding to the watermark as compared with expected phases of those components defined by the reference watermark.

### Claim 63 (depends on 62)

The processing device of claim 62, wherein an area containing the frequency components of the two-dimensional frequency spectrum (i) may be graphically represented in Cartesian coordinates according to an x-axis and a y-axis; (ii) includes a width (W) parallel to the x-axis; (iii) includes a height (H) parallel to the y-axis; and (iv) includes an origin substantially at an intersection of the x-axis and the y-axis.

### Claim 64 (depends on 63)

The processing device of claim 63, wherein the step of computing the rotation value corresponding to the watermark includes determining an angle between a first axis and a reference axis, the first axis being defined by a reference point and at least one of the selected harmonic frequency components corresponding to the watermark and the reference axis being defined by the reference watermark.

### Claim 65 (depends on 64)

The processing device of claim 64, wherein the reference axis lies along one of the x-axis and the y-axis.

### Claim 66 (depends on 65)

The processing device of claim 65, wherein the rotation value corresponding to the watermark is substantially proportional to: arctangent((Fy1*W)/(Fx1*H)), where Fy1 and Fx1 are the y-axis and x-axis coordinates, respectively, of one of the selected harmonic frequency components corresponding to the watermark.

### Claim 67 (depends on 66)

The processing device of claim 66, wherein the rotation value corresponding to the watermark is substantially equal to (180/n)*arctangent((Fy1*W)/(Fx1*H)) degrees.

### Claim 68 (depends on 64)

The processing device of claim 64, wherein the step of computing the rotation value corresponding to the watermark includes:
determining two or more angles between (i) respective axes defined by the reference point and respective ones of the selected harmonic frequency components corresponding to the watermark, and (ii) one or more reference axes defined by the reference watermark; and
determining the rotation value from among the two or more angles.

### Claim 69 (depends on 63)

The processing device of claim 63, wherein the step of computing the resizing value corresponding to the watermark includes computing an x-axis resizing value and a y-axis resizing value.

### Claim 70 (depends on 69)

The processing device of claim 69, wherein the step of computing the x-axis resizing value includes:
computing an x-axis period, Px, from the origin to one of the selected harmonic frequency components corresponding to the watermark; and
computing a ratio of Px to an x-axis reference period, Prx, of the reference watermark to obtain the x-axis resizing value.

### Claim 71 (depends on 70)

The processing device of claim 70, wherein the x-axis period, Px, is substantially equal to (H*W)/{square root}((Fx1*H)2+(Fy1*W)2), where Fx1 and Fy1 are the x-axis and y-axis coordinates, respectively, of the one of the selected harmonic frequency components corresponding to the watermark.

### Claim 72 (depends on 71)

The processing device of claim 71, wherein the reference watermark includes a plurality of data blocks, each data block including a plurality of values arranged in rows and columns, the number of values in each of the rows being equal to the x-axis reference period, Prx, of the reference watermark.

### Claim 73 (depends on 72)

The processing device of claim 72, wherein the one of the selected harmonic frequency components corresponding to the watermark lies substantially along the x-axis or would lie substantially along the x-axis but for the rotation value.

### Claim 74 (depends on 69)

The processing device of claim 69, wherein the step of computing the y-axis resizing value includes:
computing a y-axis period, Py, from the origin to one of the selected harmonic frequency components corresponding to the watermark; and
computing a ratio of Py to a y-axis reference period, Pry, of the reference watermark to obtain the y-axis resizing value.

### Claim 75 (depends on 74)

The processing device of claim 74, wherein the y-axis period, Py, is substantially equal to (H*W)/{square root}(Fx2*H)2+(Fy2*W)2), where Fx2 and Fy2 are the x-axis and y-axis coordinates, respectively, of the one of the selected harmonic frequency components corresponding to the watermark.

### Claim 76 (depends on 75)

The processing device of claim 75, wherein the reference watermark includes a plurality of data blocks, each data block including a plurality of values arranged in rows and columns, the number of values in each of the columns being equal to the y-axis reference period, Pry, of the reference watermark.

### Claim 77 (depends on 76)

The processing device of claim 76, wherein the one of the selected harmonic frequency components corresponding to the watermark lies substantially along the y-axis or would lie substantially along the y-axis but for the rotation value.

### Claim 78 (depends on 63)

The processing device of claim 63, wherein:
the translation value is based on a first distance in a first direction and a second distance in a second direction;
the first distance is proportional to a phase, θ1, of one of the selected harmonic frequency components corresponding to the watermark; and
the second distance is proportional to a phase, θ2, of another of the selected harmonic frequency components corresponding to the watermark.

### Claim 79 (depends on 78)

The processing device of claim 78, wherein:
the first distance is substantially equal to (θ1*H*W)/2n*{square root}((Fx1*H)2+(Fy1*W)2), where Fx1 and Fy1 are the x-axis and y-axis coordinates, respectively, of the one of the selected harmonic frequency components corresponding to the watermark; and
the second distance is substantially equal to (θ2*H*W)/2n*{square root}((Fx2*H)2+(Fy2*W)2), where Fx2 and Fy2 are the x-axis and y-axis coordinates, respectively, of the other of the selected harmonic frequency components corresponding to the watermark.

### Claim 80 (depends on 79)

The processing device of claim 79, wherein the first direction is substantially proportional to arctangent((Fy1*W)/(Fx1*H)); and the second direction is substantially proportional to arctangent((Fy2*W)/(Fx2*H)).

### Claim 81 (depends on 70)

The processing device of claim 70, wherein the first and second directions are substantially perpendicular to one another.

### Claim 82 (depends on 52)

The processing device of claim 52, wherein the method further comprises determining a plurality of locations within the frame of data corresponding to at least some of the data blocks of the watermark in accordance with at least one of the rotation value, the resizing value, and the translation value of the watermark.

### Claim 83 (depends on 82)

The processing device of claim 82, wherein the plurality of locations correspond to respective centers of the data blocks of the watermark.

### Claim 84 (depends on 82)

The processing device of claim 82, wherein the method further comprises determining a filtered array of message values, each filtered message value corresponding with one of the at least some of the data blocks of the watermark and being equal to a sum-of-products of data values of a reference data block and a respective set of data values of the one of the at least some of the data blocks of the watermark.

### Claim 85 (depends on 84)

The processing device of claim 84, wherein the reference data block includes a center within the array of data values; and the respective set of data values of the one of the at least some of the data blocks of the watermark are those data values covered by the reference data block when the center of the reference data block is aligned with the respective location of the one of the at least some of the data blocks of the watermark.

### Claim 86 (depends on 85)

The processing device of claim 85, wherein the method further comprises at least one of (i) rotating the reference data block by an amount proportional to the rotation value prior to taking the sum-of-products; and (ii) resizing the reference data block by one or more amounts proportional to the resizing value prior to taking the sum-of-products.

### Claim 87 (depends on 84)

The processing device of claim 84, wherein the method further comprises determining a filtered array of reference message values, each filtered reference message value corresponding with one of at least some of the data blocks of the reference watermark and being equal to a sum-of-products of data values of the reference data block and the data values of the one of the at least some of the data blocks of the reference watermark.

### Claim 88 (depends on 87)

The processing device of claim 87, wherein the reference data block includes a center within the array of data values; and the data values of the one of the at least some of the data blocks of the reference watermark are those data values covered by the reference data block when the center of the reference data block is aligned with a center of the one of the at least some of the data blocks of the reference watermark.

### Claim 89 (depends on 87)

The processing device of claim 87, wherein the filtered array of reference message values is predetermined.

### Claim 90 (depends on 89)

The processing device of claim 89, wherein the method further comprises computing a sum-of-products of the filtered array of message values and the filtered array of reference message values.

### Claim 91 (depends on 90)

The processing device of claim 90, wherein the method further comprises determining that the watermark contains a message that corresponds to a message of the reference watermark when the sum-of-products of the filtered array of message values and the filtered array of reference message values meets or exceeds a threshold.

### Claim 92 (depends on 91)

The processing device of claim 91, wherein the method further comprises:
determining a set of filtered arrays of reference message values, each array of filtered reference message values being associated with a different reference watermark;
computing a sum-of-products of the filtered array of message values and each of the filtered arrays of reference message values; and
determining that the watermark contains a message that corresponds to a message of one of the reference watermarks when the sum-of-products of the filtered array of message values and the filtered array of reference message values associated with the one of the reference watermarks meets or exceeds a threshold.

### Claim 93 (depends on 90)

The processing device of claim 90, wherein the method further comprises:
translating the filtered array of message values with respect to the filtered array of reference message values by at least one message location in at least one of a horizontal direction and a vertical direction;
computing a sum-of-products of the filtered array of message values and the filtered array of reference message values;
repeating the translating and computing steps one or more times; and
determining that the watermark contains a message that corresponds to a message of the reference watermark when one of the sum-of-products computations meets or exceeds a threshold.

### Claim 94 (depends on 90)

The processing device of claim 90, wherein the method further comprises:
rotating the filtered array of message values with respect to the filtered array of reference message values in accordance with a multiple of 90°;
computing a sum-of-products of the filtered array of message values and the filtered array of reference message values;
repeating the rotating and computing steps one or more times; and
determining that the watermark contains a message that corresponds to a message of the reference watermark when one of the sum-of-products computations meets or exceeds a threshold.

### Claim 95 (depends on 87)

The processing device of claim 87, wherein the method further comprises:
obtaining a two-dimensional Fourier transform of the filtered array of reference message values;
computing a two-dimensional Fourier transform of the filtered array of message values;
computing a modified array by taking a product of the two-dimensional Fourier transform of the filtered array of reference message values and the two-dimensional Fourier transform of the filtered array of message values on a point-by-point basis;
computing an inverse Fourier transform of the modified array;
determining a maximum value from the inverse Fourier transform of the modified array;
rotating the two-dimensional Fourier transform of the filtered array of reference message values relative to the two-dimensional Fourier transform of the filtered array of message values by a multiple of 90°;
computing subsequent modified array by taking a product of the two-dimensional Fourier transform of the filtered array of reference message values and the two-dimensional Fourier transform of the filtered array of message values on a point-by-point basis;
computing an inverse Fourier transform of the subsequent modified array;
determining a subsequent maximum value from the inverse Fourier transform of the subsequent modified array;
repeating the rotating, computing, and determining steps one or more times; and
determining that the watermark contains a message that corresponds to a message of the reference watermark when one of the maximum values meets or exceeds a threshold.

### Claim 96

A storage medium containing a program for causing a processing device to carry out a method of detecting a watermark in a two-dimensional frame of data, the frame of data including a plurality of data values representing the watermark embedded in a frame of content data, the method comprising:
computing a filtered frame of data from the frame of data having at least some harmonic frequency components corresponding to the watermark that are emphasized as compared to at least some frequency components corresponding to the content data;
computing a two-dimensional Fourier transform of the filtered frame of data to produce a two-dimensional frequency spectrum of the filtered frame of data;
selecting a set of frequency components associated with the watermark from among the frequency components of the two-dimensional frequency spectrum; and
computing at least one of a rotation value, a resizing value, and a translation value associated with the watermark as compared to a reference watermark using one or more of the frequency components of the selected set.

### Claim 97 (depends on 96)

The storage medium of claim 96, wherein:
the watermark substantially matches the reference watermark but for the at least one of the rotation value, the resizing value, and the translation value;
the watermark and the reference watermark include a respective plurality of data blocks representing a message; and
each data block includes an array of data values arranged in at least one of a first and second pattern defined by the message.

### Claim 98 (depends on 97)

The storage medium of claim 97 wherein:
the first and second patterns may be defined by four quadrants of data values in a Cartesian system of coordinates; and the first and third quadrants have equal data values and the second and fourth quadrants have equal data values;
the data values of the first and third quadrants and the data values of the second and fourth quadrants of the first and second patterns consist of two opposite polarity numbers; and
the data values of the first and third quadrants of the first pattern and the data values of the first and third quadrants of the second pattern consist of two opposite polarity numbers.

### Claim 99 (depends on 97)

The storage medium of claim 97, wherein the filtered frame of data includes a plurality of filtered data values, each filtered data value corresponding with one of the data values of the frame of data and being equal to a sum-of-products of data values of a reference data block and a respective set of data values of the frame of data.

### Claim 100 (depends on 99)

The storage medium of claim 99, wherein the data values of the reference data block are arranged in one of the at least first and second patterns such that a given one of the filtered values tends to peak when the respective set of data values of the frame of data includes a given one of the data blocks of the watermark that is in at least partial registration with the reference data block.

### Claim 101 (depends on 100)

The storage medium of claim 100, wherein:
the given filtered value tends to peak with a positive polarity when both the given one of the data blocks of the watermark and the reference data block include data values arranged in the first or second pattern; and
the given filtered value tends to peak with a negative polarity when the given one of the data blocks of the watermark includes data values arranged in the one of the first and second patterns and the reference data block includes data values arranged in the other one of the first and second patterns.

### Claim 102 (depends on 101)

The storage medium of claim 101, wherein the reference data block includes a center within the array of data values; and the respective set of data values of the frame of data are those data values covered by the reference data block when the center of the reference data block is aligned with the corresponding one of the data values of the frame of data.

### Claim 103 (depends on 99)

The storage medium of claim 99, wherein the step of computing the filtered frame of data comprises computing, for each filtered value, an absolute value of the sum-of-products of the values of the reference data block and the respective set of values of the frame of data.

### Claim 104 (depends on 96)

The storage medium of claim 96, wherein the step of computing the two-dimensional Fourier transform of the filtered frame of data includes computing a two-dimensional Fast Fourier transform (FFT) to produce the two-dimensional frequency spectrum of the filtered frame of data.

### Claim 105 (depends on 96)

The storage medium of claim 96, wherein the step of selecting the set of frequency components associated with the watermark includes selecting at least some of the harmonic frequency components corresponding to the watermark from among the frequency components of the two-dimensional frequency spectrum.

### Claim 106 (depends on 105)

The storage medium of claim 105, wherein the at least some of the harmonic frequency components include the second harmonic frequency components corresponding to the watermark.

### Claim 107 (depends on 105)

The storage medium of claim 105, wherein the step of computing at least one of the rotation value, the resizing value, and the translation value associated with the watermark includes determining (i) one or more deviations of the geometric positions within the two-dimensional Fourier transform of at least one of the selected harmonic frequency components corresponding to the watermark as compared with expected geometric positions of those components defined by the reference watermark; or (ii) one or more deviations in the phases of at least one of the selected harmonic frequency components corresponding to the watermark as compared with expected phases of those components defined by the reference watermark.

### Claim 108 (depends on 107)

The storage medium of claim 107, wherein an area containing the frequency components of the two-dimensional frequency spectrum (i) may be graphically represented in Cartesian coordinates according to an x-axis and a y-axis; (ii) includes a width (W) parallel to the x-axis; (iii) includes a height (H) parallel to the y-axis; and (iv) includes an origin substantially at an intersection of the x-axis and the y-axis.

### Claim 109 (depends on 108)

The storage medium of claim 108, wherein the step of computing the rotation value corresponding to the watermark includes determining an angle between a first axis and a reference axis, the first axis being defined by a reference point and at least one of the selected harmonic frequency components corresponding to the watermark and the reference axis being defined by the reference watermark.

### Claim 110 (depends on 109)

The storage medium of claim 109, wherein the reference axis lies along one of the x-axis and the y-axis.

### Claim 111 (depends on 110)

The storage medium of claim 110, wherein the rotation value corresponding to the watermark is substantially proportional to: arctangent((Fy1*W)/(Fx1*H)), where Fy1 and Fx1 are the y-axis and x-axis coordinates, respectively, of one of the selected harmonic frequency components corresponding to the watermark.

### Claim 112 (depends on 111)

The storage medium of claim 111, wherein the rotation value corresponding to the watermark is substantially equal to (180/n)*arctangent((Fy1*W)/(Fx1*H)) degrees.

### Claim 113 (depends on 109)

The storage medium of claim 109, wherein the step of computing the rotation value corresponding to the watermark includes:
determining two or more angles between (i) respective axes defined by the reference point and respective ones of the selected harmonic frequency components corresponding to the watermark, and (ii) one or more reference axes defined by the reference watermark; and
determining the rotation value from among the two or more angles.

### Claim 114 (depends on 108)

The storage medium of claim 108, wherein the step of computing the resizing value corresponding to the watermark includes computing an x-axis resizing value and a y-axis resizing value.

### Claim 115 (depends on 114)

The storage medium of claim 114, wherein the step of computing the x-axis resizing value includes:
computing an x-axis period, Px, from the origin to one of the selected harmonic frequency components corresponding to the watermark; and
computing a ratio of Px to an x-axis reference period, Prx, of the reference watermark to obtain the x-axis resizing value.

### Claim 116 (depends on 115)

The storage medium of claim 115, wherein the x-axis period, Px, is substantially equal to (H*W)/{square root}((Fx1*H)2+(Fy1*W)2), where Fx1 and Fy1 are the x-axis and y-axis coordinates, respectively, of the one of the selected harmonic frequency components corresponding to the watermark.

### Claim 117 (depends on 116)

The storage medium of claim 116, wherein the reference watermark includes a plurality of data blocks, each data block including a plurality of values arranged in rows and columns, a number of values in each of the rows being equal to the x-axis reference period, Prx, of the reference watermark.

### Claim 118 (depends on 117)

The storage medium of claim 117, wherein the one of the selected harmonic frequency components corresponding to the watermark lies substantially along the x-axis or would lie substantially along the x-axis but for the rotation value.

### Claim 119 (depends on 114)

The storage medium of claim 114, wherein the step of computing the y-axis resizing value includes:
computing a y-axis period, Py, from the origin to one of the selected harmonic frequency components corresponding to the watermark; and
computing a ratio of Py to a y-axis reference period, Pry, of the reference watermark to obtain the y-axis resizing value.

### Claim 120 (depends on 119)

The storage medium of claim 119, wherein the y-axis period, Py, is substantially equal to (H*W)/{square root}((Fx2*H)2+(Fy2*W)2), where Fx2 and Fy2 are the x-axis and y-axis coordinates, respectively, of the one of the selected harmonic frequency components corresponding to the watermark.

### Claim 121 (depends on 120)

The storage medium of claim 120, wherein the reference watermark includes a plurality of data blocks, each data block including a plurality of values arranged in rows and columns, a number of values in each of the columns being equal to the y-axis reference period, Pry, of the reference watermark.

### Claim 122 (depends on 121)

The storage medium of claim 121, wherein the one of the selected harmonic frequency components corresponding to the watermark lies substantially along the y-axis or would lie substantially along the y-axis but for the rotation value.

### Claim 123 (depends on 108)

The storage medium of claim 108, wherein:
the translation value is based on a first distance in a first direction and a second distance in a second direction;
the first distance is proportional to a phase, θ1, of one of the selected harmonic frequency components corresponding to the watermark; and
the second distance is proportional to a phase, θ2, of another of the selected harmonic frequency components corresponding to the watermark.

### Claim 124 (depends on 123)

The storage medium of claim 123, wherein:
the first distance is substantially equal to (θ1*H*W)/2n*{square root}((Fx1*H)2+(Fy1*W)2), where Fx1 and Fy1 are the x-axis and y-axis coordinates, respectively, of the one of the selected harmonic frequency components corresponding to the watermark; and
the second distance is substantially equal to (θ2*H*W)/2n*{square root}((Fx2*H)2+(Fy2*W)2), where Fx2 and Fy2 are the x-axis and y-axis coordinates, respectively, of the other of the selected harmonic frequency components corresponding to the watermark.

### Claim 125 (depends on 124)

The storage medium of claim 124, wherein the first direction is substantially proportional to arctangent((Fy1*W)/(Fx1*H)); and the second direction is substantially proportional to arctangent((Fy2*W)/(Fx2*H)).

### Claim 126 (depends on 123)

The storage medium of claim 123, wherein the first and second directions are substantially perpendicular to one another.

### Claim 127 (depends on 97)

The storage medium of claim 97, wherein the method further comprises determining a plurality of locations within the frame of data corresponding to at least some of the data blocks of the watermark in accordance with at least one of the rotation value, the resizing value, and the translation value of the watermark.

### Claim 128 (depends on 127)

The storage medium of claim 127, wherein the plurality of locations correspond to respective centers of the data blocks of the watermark.

### Claim 129 (depends on 127)

The storage medium of claim 127, wherein the method further comprises determining a filtered array of message values, each filtered message value corresponding with one of the at least some of the data blocks of the watermark and being equal to a sum-of-products of data values of a reference data block and a respective set of data values of the one of the at least some of the data blocks of the watermark.

### Claim 130 (depends on 129)

The storage medium of claim 129, wherein the reference data block includes a center within the array of data values; and the respective set of data values of the one of the at least some of the data blocks of the watermark are those data values covered by the reference data block when the center of the reference data block is aligned with the respective location of the one of the at least some of the data blocks of the watermark.

### Claim 131 (depends on 130)

The storage medium of claim 130, wherein the method further comprises at least one of (i) rotating the reference data block by an amount proportional to the rotation value prior to taking the sum-of-products; and (ii) resizing the reference data block by one or more amounts proportional to the resizing value prior to taking the sum-of-products.

### Claim 132 (depends on 129)

The storage medium of claim 129, wherein the method further comprises determining a filtered array of reference message values, each filtered reference message value corresponding with one of at least some of the data blocks of the reference watermark and being equal to a sum-of-products of data values of the reference data block and the data values of the one of the at least some of the data blocks of the reference watermark.

### Claim 133 (depends on 132)

The storage medium of claim 132, wherein the reference data block includes a center within the array of data values; and the data values of the one of the at least some of the data blocks of the reference watermark are those data values covered by the reference data block when the center of the reference data block is aligned with a center of the one of the at least some of the data blocks of the reference watermark.

### Claim 134 (depends on 132)

The storage medium of claim 132, wherein the filtered array of reference message values is predetermined.

### Claim 135 (depends on 134)

The storage medium of claim 134, wherein the method further comprises computing a sum-of-products of the filtered array of message values and the filtered array of reference message values.

### Claim 136 (depends on 135)

The storage medium of claim 135, wherein the method further comprises determining that the watermark contains a message that corresponds to a message of the reference watermark when the sum-of-products of the filtered array of message values and the filtered array of reference message values meets or exceeds a threshold.

### Claim 137 (depends on 136)

The storage medium of claim 136, wherein the method further comprises:
determining a set of filtered arrays of reference message values, each array of filtered reference message values being associated with a different reference watermark;
computing a sum-of-products of the filtered array of message values and each of the filtered arrays of reference message values; and
determining that the watermark contains a message that corresponds to a message of one of the reference watermarks when the sum-of-products of the filtered array of message values and the filtered array of reference message values associated with the one of the reference watermarks meets or exceeds a threshold.

### Claim 138 (depends on 135)

The storage medium of claim 135, wherein the method further comprises:
translating the filtered array of message values with respect to the filtered array of reference message values by at least one message value location in at least one of a horizontal direction and a vertical direction;
computing a sum-of-products of the filtered array of message values and the filtered array of reference message values;
repeating the translating and computing steps one or more times; and
determining that the watermark contains a message that corresponds to a message of the reference watermark when one of the sum-of-products computations meets or exceeds a threshold.

### Claim 139 (depends on 135)

The storage medium of claim 135, wherein the method further comprises:
rotating the filtered array of message values with respect to the filtered array of reference message values in accordance with a multiple of 90°;
computing a sum-of-products of the filtered array of message values and the filtered array of reference message values;
repeating the rotating and computing steps one or more times; and
determining that the watermark contains a message that corresponds to a message of the reference watermark when one of the sum-of-products computations meets or exceeds a threshold.

### Claim 140 (depends on 132)

The storage medium of claim 132, wherein the method further comprises:
obtaining a two-dimensional Fourier transform of the filtered array of reference message values;
computing a two-dimensional Fourier transform of the filtered array of message values;
computing a modified array by taking a product of the two-dimensional Fourier transform of the filtered array of reference message values and the two-dimensional Fourier transform of the filtered array of message values on a point-by-point basis;
computing an inverse Fourier transform of the modified array;
determining a maximum value from the inverse Fourier transform of the modified array;
rotating the two-dimensional Fourier transform of the filtered array of reference message values relative to the two-dimensional Fourier transform of the filtered array of message values by a multiple of 90°;
computing subsequent modified array by taking a product of the two-dimensional Fourier transform of the filtered array of reference message values and the two-dimensional Fourier transform of the filtered array of message values on a point-by-point basis;
computing an inverse Fourier transform of the subsequent modified array;
determining a subsequent maximum value from the inverse Fourier transform of the subsequent modified array;
repeating the rotating, computing, and determining steps one or more times; and
determining that the watermark contains a message that corresponds to a message of the reference watermark when one of the maximum values meets or exceeds a threshold.
