The invention relates to watermarking media data. Particular embodiments of the invention provide methods for embedding watermarks into media data and/or extracting watermarks from media data.
Watermarking media data (e.g. media files and/or media signals) generally involves embedding or otherwise adding information to the media data (i.e. “marking” the media data). In many applications, it is preferable that the information embedded in the media data does not substantially alter the human perception of playback of the media content. A watermark may generally comprise any information, such as, for example: encryption keys, authentication information, indications of ownership, indications of user ID or the like.
In the example of audio media data, watermarking processes typically exploit the human audio perception's inability to detect slight changes in the playback of audio content. When a watermark is embedded into audio data, it is generally desirable that when the audio data is played back, it is difficult for a human to perceive differences between playback of the watermarked audio content and playback of the original non-watermarked audio content.
It is generally desirable that, once embedded, a watermark be relatively robust to manipulation of the resultant watermarked media data. By way of non-limiting examples, it is desirable that the watermark be recoverable after: compression of the watermarked data; addition of noise to the watermarked data; D/A and A/D conversion of the watermarked data; resampling of the watermarked data; filtering of the watermarked data; changing the volume of the watermarked data; and/or other manipulation of the watermarked data.
It is also generally desirable that it be relatively difficult to filter or otherwise remove the watermarking from the watermarked media data without significantly degrading the playback quality of the media content.
Prior art watermarking techniques have yet to achieve some or all of the aforementioned desirable characteristics to a level sufficient to gain widespread commercial acceptance.
One aspect of the present invention provides a method for encoding watermark information into media data containing a series of digital samples in a sample domain. The method comprises: dividing the series of digital samples into a plurality of sections in the sample domain, each section comprising a corresponding plurality of samples; processing the corresponding plurality of samples in each section to obtain a single energy value associated with each section; grouping the sections into groups, each group containing three or more sections; assigning a nominal bit value to each group according to a bit assignment rule, the bit assignment rule based on the energy values of the sections in the group; assigning a watermark bit value to each group; and for each group, comparing the watermark bit value to the nominal bit value and, if the nominal bit value and the watermark bit value of the watermark information bit do not match, modifying one or more energy values of one or more corresponding sections in the group such that re-application of the bit assignment rule would assign the watermark bit value to the group.
Assigning the nominal bit value to each group according to the bit assignment rule may comprise: categorizing each group into one of a plurality of categories according to a categorization rule; and, for each category, assigning a nominal zero bit value or a nominal one bit value to each group according to a unique category bit assignment rule associated with the category.
Another aspect of the invention provides a method for extracting watermark information from media data containing a series of digital samples in a sample domain. The method comprises: dividing the series of digital samples into a plurality of sections in the sample domain, each section comprising a corresponding plurality of samples; processing the corresponding plurality of samples in each section to obtain a single energy value associated with each section; grouping the sections into groups, each group containing three or more sections; assigning a nominal bit value to each group according to a bit assignment rule, the bit assignment rule based on the energy values of the sections in the group. Assigning the nominal bit value to each group according to the bit assignment rule may comprise: categorizing each group into one of a plurality of categories according to a categorization rule; and, for each category, assigning a nominal zero bit value or a nominal one bit value to each group according to a unique category bit assignment rule associated with the category.
Other aspects and features of specific embodiments of the invention are described in more detail below.
In drawings which depict non-limiting embodiments of the invention:
Throughout the following description, specific details are set forth in order to provide a more thorough understanding of the invention. However, the invention may be practiced without these particulars. In other instances, well known elements have not been shown or described in detail to avoid unnecessarily obscuring the invention. Accordingly, the specification and drawings are to be regarded in an illustrative, rather than a restrictive, sense.
Particular embodiments of the invention provide methods for watermarking media data which involve minor modification of the relative energy the media data samples. The watermarking techniques of the invention may generally be applied to a variety of types of media data, including, by way of non-limiting example, audio data, image data and video data. For the purposes of illustrating particular exemplary embodiments of the invention, the following description describes methods for watermarking audio data and then describes how these techniques can be modified for watermarking other types of media data.
Audio Data
Audio data 10 may be maintained in a suitable file (not shown), which facilitates storage, transmission, processing and the like of audio data 10. Those familiar with audio technology will appreciate that digital audio data 10 of
Embedding a Watermark
Method 100 commences in block 110 which involves obtaining the desired watermark data 108. In one particular embodiment, watermark data 108 comprises 32 bits of information, although watermark data 108 may generally comprise a different number of bits. Watermark data 108 could generally comprise any data. By way of non-limiting example, watermark data 108 may comprise user ID information, encryption keys, authentication information designating ownership of media data 102 or the like. In some embodiments, watermark data 108 could be encrypted (e.g. using one or more encryption keys and/or pseudo randomization processes). A variety of suitable encryption techniques are known in the art.
Method 100 then proceeds to block 120, where watermark data 108 is expanded using one or more forward error correction (FEC) encoding schemes to provide FEC watermark data 108′. In some embodiments, the block 120 forward error correction encoding scheme is based on Low-Density Parity-Check (LDPC) codes, although other error correction encoding techniques may additionally or alternatively be used. In one particular embodiment of the invention, block 120 involves expanding the 32 bit watermark data 108 using forward LDPC error correction to FEC watermark data 108′ of 600 bits—i.e. a redundancy factor of more than 15 times. As discussed further below, a redundancy factor of this magnitude permits watermark data 108 to be recovered even if up to ⅓ of the bits of FEC watermark data 108′ are corrupted.
Method 100 then proceeds to block 130, where FEC watermark data 108′ is embedded into audio data 104.
In the illustrated embodiment, the block 130 watermark embedding procedure starts in block 140, where time-domain digital audio data 104 is parsed into a number of sections 142. This block 140 sectioning process is shown schematically in
In block 150, the samples in each time slice 142 are integrated to obtain a single value 152 for each time slice 142. In one particular embodiment, the block 150 integration comprises adding the values of the samples of audio data 104 in each corresponding time slice 142. The value 152 obtained from the block 150 integration may represent the energy associated with audio data 104 for each associated time slice 142 and may be referred to herein as the energy value 152 of the associated time slice 142. Since time slices 142 are the same length, each time slice 142 will have the same number of samples and each energy values 152 will be representative of the total magnitude of the samples in its corresponding time slice 142.
Block 160 involves assembling time slices 142 and their corresponding energy values 152 into groups. This block 150 grouping process is also shown schematically in
Method 100 then proceeds to block 170 which involves categorizing the shapes of the energy values 152 associated with each group G of time slices 142. In the illustrated embodiment, each group G of time slices 142 comprises an ordered triplet of three energy values 152. The ordered triplet of energy values 152 comprises:
The seven shape categories shown in
Returning to
In the illustrated embodiment, where the separation between the first and second energy values 152A, 152B is the same as the separation between the second and third energy values 152B, 152C, the slopes referred to in the block 180 nominal bit assignment rules may be proportional to the difference between the first and second energy values 152A, 152B and the difference between the second and third energy values 152B, 152C. This is not necessary. In some embodiments, the separation between energy values 152 used in the bit assignment rule may not be equal (e.g. where each group G contains more than three time slices 142). In such cases, slope calculations may involve division by the relative distances between energy values 152.
The above-described rules assigned to the seven shape categories shown in
Returning to
The block 194 adjustment of the energy value(s) 152 of one or more time slices 142 may be accomplished using a variety of techniques. A number of example bit value changes and their corresponding energy value 152 change(s) are presented in
In some embodiments, the block 194 adjustment of energy value(s) 152 of one or more time slices 142 may involve adjustment of a nominal bit value 182 of 0 to a new bit value of 1 or a nominal bit value 182 of 1 to a new bit value of 0 within a particular one of the block 170 shape categories. Examples of this technique are shown in
The block 194 adjustment of energy value(s) 152 may additionally or alternatively involve adjustment of a group G's nominal bit value 182 of 0 to a new value 195 of bit 1 or a group G's nominal bit value 182 of 1 to a new bit value 195 of 0 together with a corresponding change in the group G's block 170 shape category. An example of this technique is shown schematically in
Method 400 is explained first for the circumstance where the block 170 shape category is shape 1, the block 180 nominal bit value 182 is a bit 0 and it is desired to encode a bit 1. Method 400 starts in block 410 which involves evaluation of a terminal condition. The block 410 terminal condition may be expressed in terms of an error margin δ. The error margin δ may be a percentage x % of the sum of the energy values 152 of a group G—i.e. δ=x(e0+e1+e2)/100 where e0 is the first energy value 152A, e1 is the second energy value 152B and e2 is the third energy value 152C. In some embodiments, the error margin δ may be on the order of 0.2%-10% of the sum of the energy values e0+e1+e2, for example. The size of the error margin may reflect a tradeoff between the robustness of the watermark and degradation of audio quality.
The block 410 terminal condition may be similar to the block 170 shape categorization rules. In the particular case of shape category 1, where it is desired to modify a nominal bit value 182 of bit 0 to bit 1, the block 410 terminal condition may be: (e2+e0)/2>=e1+δ. Typically, if method 100 (
In block 420 method 400 involves modifying a first energy value 152. In the particular case of shape category 1 where it is desired to modify a nominal bit value 182 of 0 to a bit value of 1, block 420 may involve increasing the third energy value 152C (e2). Block 420 may involve modifying the corresponding energy value 152 by a percentage y % of its previous value. In some embodiments, y is less than 2%. In one particular embodiment, y is 1%.
Method 400 then proceeds to block 430 which involves evaluating a first intermediate condition. In the illustrated embodiment, the block 430 first intermediate condition comprises a condition that ensures that subsequent energy value modifications do not cause the block 170 shape category of the group G to change. In the particular case of shape category 1 where it is desired to modify a nominal bit value 182 of 0 to a bit value of 1, the block 430 first intermediate condition may be if e1>e0. If the block 430 first intermediate condition is positive, then method 400 proceeds to block 440 which involves modifying another energy value. In the particular case of shape category 1 where it is desired to modify a nominal bit value 182 of 0 to a bit value of 1, block 440 may involve decreasing the second energy value 152B (e1). Block 440 may involve modifying an energy value 152 by a percentage k % of its previous value. In some embodiments, k is less than 2%. In one particular embodiment, k is 1%.
After block 440 (or in the case where the block 430 inquiry is negative), method 400 proceeds to a second intermediate inquiry in block 450. In the illustrated embodiment, the block 450 second intermediate condition comprises a condition that ensures that subsequent energy value modifications do not cause the block 170 shape category of the group G to change. In the particular case of shape category 1 where it is desired to modify a nominal bit value 182 of 0 to a bit value of 1, the block 450 second intermediate condition may be if e0<e1. If the block 450 second intermediate condition is positive, then method 400 proceeds to block 460 which involves modifying another energy value. In the particular case of shape category 1 where it is desired to modify a nominal bit value 182 of 0 to a bit value of 1, block 460 may involve increasing the first energy value 152A (e2). Block 460 may involve modifying an energy value 152 by a percentage l % of its previous value. In some embodiments, l is less than 2%. In one particular embodiment, l is 1%.
After block 460 (or in the case where the block 450 inquiry is negative), method 400 proceeds to block 470 where method 400 returns to block 410 to re-evaluate the terminal condition. Method 400 continue to loop in this manner until the block 410 terminal condition is satisfied, in which case method 400 proceeds to block 480 and ends. By potentially modifying all three energy values 152 in a group G, method 400 may achieve the desired change in bit value relatively quickly (i.e. with fewer iterations) and may therefore consume a relatively low amount of processing resources.
Method 400 may also be used for other block 170 shape categories and bit value changes. The various blocks in a particular embodiment of method 400 are shown below for each of the other block 170 shape category changes and each of the other bit value changes.
Shape Category 1, Changing a Nominal Bit Value of 1 to a Bit Value of 0
Block 410 terminal condition: (e2+e0)/2<=e1−δ
Block 420: decrease e0 by y %
Block 430 first intermediate condition: e1<e2
Block 440: increase e1 by k %
Block 450 second intermediate condition: e2>e1
Block 460: decrease e2 by l %
Shape Category 2, Changing a Nominal Bit Value of 0 to a Bit Value of 1
Block 410 terminal condition: (e2+e0)/2>=e1+δ
Block 420: increase e0 by y %
Block 430 first intermediate condition: e1>e2
Block 440: decrease e1 by k %
Block 450 second intermediate condition: e2<e1
Block 460: increase e2 by l %
Shape Category 2, Changing a Nominal Bit Value of 1 to a Bit Value of 0
Block 410 terminal condition: (e2+e0)/2<=e1−δ
Block 420: decrease e2 by y %
Block 430 first intermediate condition: e1>e0
Block 440: increase e1 by k %
Block 450 second intermediate condition: e0>e1
Block 460: decrease e0 by l %
Shape Category 3, Changing a Nominal Bit Value of 0 to a Bit Value of 1
Block 410 terminal condition: (e1+e0)/2>=e2+δ
Block 420: increase e1 by y %
Block 430 first intermediate condition: e2>e0
Block 440: decrease e2 by k %
Block 450 second intermediate condition: e0<e2
Block 460: increase e0 by l %
Shape Category 3, Changing a Nominal Bit Value of 1 to a Bit Value of 0
Block 410 terminal condition: (e1+e0)/2<=e2−δ
Block 420: decrease e0 by y %
Block 430 first intermediate condition: e2<e1
Block 440: increase e2 by k %
Block 450 second intermediate condition: e1>e2
Block 460: decrease e1 by l %
Shape Category 4, Changing a Nominal Bit Value of 0 to a Bit Value of 1
Block 410 terminal condition: (e2+e1)/2<=e0−δ
Block 420: decrease e2 by y %
Block 430 first intermediate condition: e0<e1
Block 440: increase e0 by k %
Block 450 second intermediate condition: e1>e0
Block 460: decrease e1 by l %
Shape Category 4, Changing a Nominal Bit Value of 1 to a Bit Value of 0
Block 410 terminal condition: (e2+e1)/2>=e0+δ
Block 420: increase e1 by y %
Block 430 first intermediate condition: e0>e2
Block 440: decrease e0 by k %
Block 450 second intermediate condition: e2<e0
Block 460: increase e2 by l %
Shape Category 5, Changing a Nominal Bit Value of 0 to a Bit Value of 1
Block 410 terminal condition: (e1+e0)/2>=e2+δ
Block 420: increase e0 by y %
Block 430 first intermediate condition: e2>e1
Block 440: decrease e2 by k %
Block 450 second intermediate condition: e1<e2
Block 460: increase e1 by l %
Shape Category 5, Changing a Nominal Bit Value of 1 to a Bit Value of 0
Block 410 terminal condition: (e1+e0)/2<=e2−δ
Block 420: decrease e1 by y %
Block 430 first intermediate condition: e2<e0
Block 440: increase e2 by k %
Block 450 second intermediate condition: e0>e2
Block 460: decrease e0 by l %
Shape Category 6, Changing a Nominal Bit Value of 0 to a Bit Value of 1
Block 410 terminal condition: (e2+e1)/2<=e0−δ
Block 420: decrease e1 by y %
Block 430 first intermediate condition: e0<e2
Block 440: increase e0 by k %
Block 450 second intermediate condition: e2>e0
Block 460: decrease e2 by l %
Shape Category 6, Changing a Nominal Bit Value of 1 to a Bit Value of 0
Block 410 terminal condition: (e2+e1)/2>=e0+δ
Block 420: increase e2 by y %
Block 430 first intermediate condition: e0>e1
Block 440: decrease e0 by k %
Block 450 second intermediate condition: e1<e0
Block 460: increase e1 by l %
Those skilled in the art will appreciate that the technique described above represents a particular embodiment of the invention and that other techniques for implementing the block 194 energy value modification are possible.
Block 194 may involve a wide variety of modifications to energy value(s) 152 to modify a particular group G's nominal bit value 182 of 0 to a new bit value 195 of 1 or from a particular group G's nominal bit value 182 of 1 to a new bit value 195 of 0 in order to encode a desired bit of FEC watermark data 108′. However, it will be appreciated that the block 194 modification of energy value(s) 152 necessitates corresponding changes in audio data 104. That is, modification of energy value(s) 152 in block 194 comprises corresponding adjustment to the values on individual samples in audio data 104 such that re-application of the block 250 integration process would yield the modified energy value(s) 152. For example, an increase in an energy value 152 of a particular time slice 142 may involve increasing the values of individual samples within the corresponding time slice 142 and a decrease in an energy value 152 of a particular time slice 142 may involve decreasing the values of individual samples within the corresponding time slice 142.
The adjustment of the individual samples in audio data 104 may be made by adding/subtracting corresponding offsets to the original sample values of audio data 104 or by multiplying the original samples of audio data 104 by suitable scaling factors, for example. The block 194 modifications may be constrained by their effect on playback of the audio content represented by audio data 104. If the block 194 modification(s) to energy value(s) 152 are too significant, then the embedded FEC watermark data 180′ will impact playback of the audio content represented by audio data 104 in a manner that is detectable to the human ear.
As discussed above and shown in the illustrated examples of
Block 194 may comprise a thresholding process. That is, block 194 may have a limit to the amount of modification of any individual energy value 152 and/or to the aggregate modification of the energy values 152 within a particular group G. This thresholding process may be related to a percentage change in the energy value(s) 152, for example. In one particular example, a maximum change to any one particular energy value 152 within a group G is 10% and the maximum aggregate change (i.e. to the sum of energy values 152 within a group G) is 25%. In a small number of cases, it may not be possible to modify the nominal bit value 182 of a group G while complying with the block 194 thresholding process. In such cases, the energy values 152 of the group G need not be adjusted and the resultant corrupted bit of the group G can be reliably accommodated using forward error correction decoding as discussed in more detail below.
As discussed above, modification of an energy value 152 corresponding to a particular time slice 142 in block 194 also involves corresponding adjustment of the amplitudes of individual samples (see samples 14 in
In some embodiments, the adjustment of the individual samples may be performed such that there is no change (or minimal change) to the samples at (or near) the beginning and end of time slice 142. This can help to avoid a clipping effect at the boundaries of adjacent time slices 142. In some embodiments, the adjustment of the energy value 152 of a particular time slice 142 may be performed in such a manner that the aggregate change in the energy value 152 is provided, but that the modifications to the individual samples in time slice 142 are performed (e.g. weighted) in accordance with a function that is relatively large for samples near the middle of time slice 142 and relatively small for samples at the edges of time slice 142. By way of non-limiting example, the adjustment of the individual samples may be performed in accordance with a parabolic function having a vertex at or near the middle sample to the time slice 142. The function used to perform the adjustment of the individual samples of the time slice 142 may have zeroes at the samples corresponding to the edges of the time slice 142 (in the case where the block 194 modification is applied via an additive offset) or may have unity values at the samples corresponding to the edges of the time slice 142 (in the case where the block 194 modification is applied via a multiplicative scaling factor). Again, such functions can help to avoid clipping effects at the boundaries of the time slice 142 that may be audible to a listener.
In addition to or in the alternative to thresholding processes or uneven distributions of adjustments to the individual samples, block 194 may involve other rules and or processes intended to limit the impact of the block 194 watermarking modifications on the quality of the playback of the audio content corresponding to audio data 104.
After block 194, method 100 proceeds to block 196 which involves repeating the procedures of blocks 170, 180, 190 and, if necessary, block 194 for each group G of time slices 142 until the desired FEC watermark 108′ is embedded into audio data 104. Method 100 may terminate when FEC watermark 108′ is fully embedded in audio data 104. In some embodiments, block 196 involves repeating blocks 170-194 until the end of the available audio data 104 by looping back to the beginning of FEC watermark 108′ each time that FEC watermark 108′ has been completely embedded. Embedding multiple successive FEC watermarks 108′ may permit even more significant compression and/or manipulation of the watermarked media data while permitting the watermark to be successfully extracted when desired.
Extracting the Watermark
Method 200 then proceeds to optional block 235 where the watermarked audio data 204's reformatted into reformatted audio data 204″ which is in a suitable format for extracting the watermark. The block 235 reformatting may not be required in the case where watermarked audio data 204′ is already in a format suitable for extracting the watermark. In the illustrated embodiment of method 200, audio data 204′ (or reformatted audio data 204″) will be in a format suitable for extracting the watermark if it is digitally sampled at the same rate as the audio data 104 into which the watermark was inserted by method 100. Accordingly, the block 235 reformatting may comprise, by way of non-limiting example: sampling audio data 204′ (e.g. in the case where audio data 204′ is in analog format), resampling audio data 204′ (e.g. in the case where audio data 204′ is has been down-sampled), decompression (e.g. in the case where audio data 204′ has been compressed), or the like. Watermark extraction method 200 is robust to amplification, frequency domain manipulation and channel mixing/reduction. Accordingly, the block 235 reformatting does not generally require reformatting to address these types of manipulations.
Method 200 then proceeds to block 237 which involves optionally aligning the watermarked audio data 204′ (or the reformatted watermarked audio data 204″) to generate aligned reformatter watermarked audio data 204′. In cases where method 200 has access to the original audio data 104 or to the original watermarked audio data 204, then block 237 may comprise aligning watermarked audio data 204′ (or reformatted watermarked audio data 204″) to the original audio data 104 or to the original watermarked audio data 204. The block 237 alignment between watermarked audio data 204′ (or reformatted watermarked audio data 204″) and the original audio data 104 (or the original watermarked audio data 204) may be done by visually comparing the waveform (e.g. by a human user). Additionally or alternatively, the block 237 alignment may comprise comparing the two data sets using a suitable metric between individual samples (e.g. by a least squares comparison or some other suitable metric). The watermarked audio data 204′ (or reformatted watermarked audio data 204″) may be translated in the time domain by adding zeroes or by removing samples at the beginning or the end of the data stream, so as to align watermarked audio data 204′ (or reformatted watermarked audio data 204″) more closely to the original audio data 104 (or the original watermarked audio data 204). Adding zeros and/or removing data may be repeated until the least squares comparison (or other suitable metric) is minimized or until the visual waveform comparison indicates that waveforms are aligned. The result of the block 237 alignment process is aligned reformatted watermarked audio data 204′. There may be other suitable techniques for aligning watermarked audio data 204′ (or reformatted watermarked audio data 204″) to the original audio data 104 (or the original watermarked audio data 204).
In some cases, watermarked audio data 204′ (or reformatted audio data 204″) may already be aligned with the original audio data 104 of the original watermarked audio data 204. In this circumstance, the block 237 alignment procedure may not be required. In some cases, neither the original audio data 104 nor the original watermarked audio data 204 are available. In this circumstance, method 200 may bypass the block 237 alignment procedure. The situation where neither the original audio data 104 nor the original watermarked audio data 204 is available is discussed in more detail below.
For simplicity, watermarked audio data 204′, reformatted watermarked audio data 204″ and aligned reformatted audio data 204″′ are referred to in the remainder of this description as watermarked audio data 204, it being understood that watermarked audio data 204 may comprise any of watermarked audio data 204′, reformatted watermarked audio data 204″ and aligned reformatted audio data 204″′.
Method 200 processes watermarked audio data 204 in blocks 240, 250, 260, 270 and 280. Blocks 240, 250, 260, 270 and 280 may respectively be substantially similar to blocks 140, 150, 160, 170 and 180 of method 100. Blocks 240, 250, 260, 270 and 280 involve dividing watermarked audio data 204 into sections/time slices 242, integrating the samples in each time slice 242 to obtain an energy value 252 for each time slice 242, grouping the time slices 242 into groups G, categorizing each time slice 242 into a shape category and applying a bit assignment rule to each group G to determine a nominal bit value 282 for each group G. Because of the embedded watermark (i.e. because of the block 194 modification of energy values 152), the energy values 252 assigned to each group G in block 250 may be different than the energy values 152 assigned to each group G in block 150. Similarly, the block 280 application of the bit assignment rule will typically result in different nominal bit values 282 than the nominal bit values 182 obtained when the bit assignment rule is applied in block 180.
The nominal bit values 282 extracted in the block 280 application of the bit assignment rule represent the method 200 estimate of the FEC watermark bit corresponding to a particular group G. The estimated FEC watermark estimate is referred to in
In some embodiments, block 285 may involve repeating blocks 270 and 280 until a single FEC watermark estimate 286 is extracted. In other embodiments, where multiple successive watermarks are encoded into watermarked media data 204′, block 285 may comprise repeating blocks 270 and 280 until the end of watermarked media data 204′. In such cases, FEC watermark estimate 286 may comprise more than one single estimate of FEC watermark 108′ and method 200 may comprise subsequently processing the multiple FEC watermark estimates in FEC watermark estimate 286 to obtain bit values for a single FEC watermark estimate. By way of non-limiting example, such subsequent processing may comprise averaging and/or filtering the data from the multiple FEC watermark estimates to obtain bit values for a single FEC watermark estimate. Encoding and extracting multiple successive repetitions of FEC watermark 108′ into audio data 104 may permit even more significant compression and/or manipulation of watermarked media data 204 while permitting watermark 108 to be successfully extracted from watermarked media data 204′ when desired.
Block 287 involves applying a forward error correction decoding scheme to FEC watermark estimate 286. The forward error correction decoding in block 287 is complementary to the forward correction encoding in block 120 of method 100. As discussed above, in one particular embodiment, blocks 120 and 287 make use of LDPC forward error correction techniques. The output of block 287 is watermark estimate 289 which represents the method 200 estimate of watermark data 108. Preferably, watermark estimate 289 is identical to watermark data 108. Advantageously, the forward error correction of blocks 120 and 287 allows the nominal bit values determined in blocks 270 and 280 to have a relatively large number of errors while still ensuring that watermark estimate 289 is identical to watermark 108. That is, the FEC watermark estimate 286 obtained in block 285 need not be identical to FEC watermark 108′. In preferred embodiments, as many as ⅓ or more of the data bits of watermark estimate 286 may contain errors and may still yield a watermark estimate 289 that is identical to watermark data 108.
Once watermark estimate 289 is obtained, it may be used for a wide variety of purposes including, without limitation, looking up additional data in a suitable database which may be indexed by watermark data 108.
As mentioned briefly above, in some cases, neither the original audio data 104 nor the original watermarked audio data 204 are available. In such circumstances, it is still possible to use a method similar to method 200 to extract a watermark estimate 289. Watermark estimate 289 can then be compared to watermark data 108, for example. If neither the original audio data 104 nor the original watermarked audio data 204 are available, then it is not possible to implement the block 237 alignment procedures discussed above. Instead, the relevant parts of method 200 may be implemented several times with different time domain translations of the watermarked audio data 204 and the resulting watermark estimates 289 from each iteration may be compared to watermark data 108.
In one embodiment where neither the original audio data 104 nor the original watermarked audio data 204 are available, method 200 (without block 237) may be implemented a first time and the resulting watermark estimate 289 may be compared to watermark data 108. If the watermark estimate 289 matches (or is sufficiently close to matching) watermark data 108, then it is concluded that watermarked audio data 204 was indeed watermarked with watermark data 108. If the watermark estimate 289 does not match watermark data 108, then the watermarked audio data 204 may be shifted by n samples in the time domain (e.g. by adding n samples at the beginning or end of watermarked audio data 204 or by removing n samples from the beginning or end of watermarked audio data 204). In some embodiments, n may be greater than 100,000 samples, for example, which corresponds to a time shift of ˜2.5 seconds for 44.1 kHz audio sampling rate. In one particular embodiment, n is 3,000 samples.
After watermarked audio data 204 is shifted, blocks 240 through 287 of method 200 are repeated to obtain a second watermark estimate 289. This second watermark estimate 289 is again compared to watermark data 108 to ascertain whether there is a match. If there is no match, then watermarked audio data 204 may be shifted by a suitable fraction of n samples in the time domain. For example, watermarked audio data 204 may be shifted by n/2 samples. Again, blocks 240 through 287 of method 200 are repeated to obtain a third watermark estimate 289, which is compared to watermark data 108. If there is no match, then watermarked audio data 204 may be shifted by a smaller fraction of n samples in the time domain. For example, watermarked audio data 204 may be shifted by n/4 samples. Again, blocks 240 through 287 of method 200 are repeated to obtain a fourth watermark estimate 289, which is compared to watermark data 108. If there is no match, then watermark audio data 204 may be shifted by a multiple of the smaller fraction, if this shift has not yet been evaluated. For example, watermarked audio data 204 may be shifted by 3n/4 samples. Similarly, for a fraction n/8, watermarked audio data 204 may be shifted by 3n/8, 5n/8 and 7n/8.
This process may be repeated until either it is concluded that watermark data 108 is embedded in watermarked audio data 204 or until the shift of watermarked audio data 204 approaches a sufficiently small number that it may be concluded that audio data 204 is, in fact, not watermarked. In some embodiments, this condition for discontinuing the watermark retrieval process is a shift of less than 200 samples.
The watermarking process of method 100 and/or the watermark extraction process of method 200 may easily be modified for application to other forms of digital media. For example,
When applying methods 100 and 200 to digital image data 310, the block 140 and 240 time slices 142, 242 may actually represent spatial slices (in the spatial dimension x of the
Color image data may comprise a plurality of sample values for each pixel. For example, in the case of RGB representation, each pixel may comprise a red sample value and green sample value and a blue sample value. In such cases, watermark data may be encoded into one set of sample values (e.g. the green sample values) or into each set of sample values or into some pattern of alternating between the sets of sample values.
In other respects, the application of methods 100 and/or 200 to image data 310 may be similar to that described above for audio data.
The watermarking process of method 100 and/or the watermark extraction process of method 200 may also easily be modified for application to video media data. When applying methods 100, 200 to video media data, each frame (or particular portions of each frame) of the video media data may be treated as two dimensional images of the type described above and then the video data may be processed in the manner described above for still images. Additionally or alternatively, when applying methods 100, 200 to video media data, each frame (or particular portions of each frame) may be treated as a time slice/section.
Certain implementations of the invention comprise computer processors which execute software instructions which cause the processors to perform one or more methods of the invention. For example, methods 100 and/or 200 may be implemented by one or more processors which execute software instructions which cause the processor to perform these methods. Such software instructions may be retrieved from a program memory accessible to the processors. The invention may also be provided in the form of a program product. The program product may comprise any medium which carries a set of computer-readable instructions which, when executed by a data processor, cause the data processor to execute a method of the invention. Program products according to the invention may be in any of a wide variety of forms. The program product may comprise, for example, physical media such as magnetic data storage media including floppy diskettes, hard disk drives, optical data storage media including CD ROMs, DVDs, electronic data storage media including ROMs, flash RAM, or the like. The instructions may be present on the program product in encrypted and/or compressed formats.
Where a component (e.g. a software module, processor, assembly, device, circuit, etc.) is referred to above, unless otherwise indicated, reference to that component (including a reference to a “means”) should be interpreted as including as equivalents of that component any component which performs the function of the described component (i.e. that is functionally equivalent), including components which are not structurally equivalent to the disclosed structure which performs the function in the illustrated exemplary embodiments of the invention.
As will be apparent to those skilled in the art in the light of the foregoing disclosure, many alterations and modifications are possible in the practice of this invention without departing from the spirit or scope thereof. For example:
This application is a continuation of U.S. patent application Ser. No. 13/166,684 filed on 22 Jun. 2011, which itself is a continuation of U.S. patent application Ser. No. 11/874,839 (now U.S. Pat. No. 7,983,441) filed 18 Oct. 2007, which in turn claims priority from U.S. patent application No. 60/862,029 filed 18 Oct. 2006. All of the applications in this paragraph are hereby incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
5613004 | Cooperman et al. | Mar 1997 | A |
5687236 | Moskowitz et al. | Nov 1997 | A |
5889868 | Moskowitz et al. | Mar 1999 | A |
6005643 | Morimoto et al. | Dec 1999 | A |
6061793 | Tewfik et al. | May 2000 | A |
6078664 | Moskowitz et al. | Jun 2000 | A |
6385329 | Sharma et al. | May 2002 | B1 |
6430301 | Petrovic | Aug 2002 | B1 |
6507299 | Nuijten | Jan 2003 | B1 |
6522767 | Moskowitz et al. | Feb 2003 | B1 |
6526510 | Kori et al. | Feb 2003 | B1 |
6571144 | Moses et al. | May 2003 | B1 |
6674861 | Xu et al. | Jan 2004 | B1 |
6674876 | Hannigan et al. | Jan 2004 | B1 |
6690812 | Reefman et al. | Feb 2004 | B2 |
6718047 | Rhoads | Apr 2004 | B2 |
6737957 | Petrovic et al. | May 2004 | B1 |
6738744 | Kirovski et al. | May 2004 | B2 |
6741722 | Abe | May 2004 | B2 |
6778678 | Podilchuk et al. | Aug 2004 | B1 |
6839673 | Choi et al. | Jan 2005 | B1 |
6891958 | Kirovski et al. | May 2005 | B2 |
6952774 | Kirovski et al. | Oct 2005 | B1 |
6975992 | Tucker et al. | Dec 2005 | B2 |
6983057 | Ho et al. | Jan 2006 | B1 |
6988201 | Xu et al. | Jan 2006 | B1 |
6993133 | Nonomura et al. | Jan 2006 | B1 |
7054463 | Rhoads et al. | May 2006 | B2 |
7062069 | Rhoads | Jun 2006 | B2 |
7073065 | Stone | Jul 2006 | B2 |
7085396 | Pelly et al. | Aug 2006 | B2 |
7095874 | Moskowitz et al. | Aug 2006 | B2 |
7106862 | Blair et al. | Sep 2006 | B1 |
7107451 | Moskowitz | Sep 2006 | B2 |
7113614 | Rhoads | Sep 2006 | B2 |
7140043 | Choi et al. | Nov 2006 | B2 |
7152162 | Moskowitz et al. | Dec 2006 | B2 |
7171016 | Rhoads | Jan 2007 | B1 |
7197368 | Kirovski et al. | Mar 2007 | B2 |
7206649 | Kirovski et al. | Apr 2007 | B2 |
7224799 | Mase | May 2007 | B2 |
7266697 | Kirovski et al. | Sep 2007 | B2 |
7269734 | Johnson et al. | Sep 2007 | B1 |
7277871 | Suzuki et al. | Oct 2007 | B2 |
7299189 | Sato | Nov 2007 | B1 |
7324159 | Eveleens et al. | Jan 2008 | B2 |
7325131 | Reefman | Jan 2008 | B2 |
7395211 | Watson et al. | Jul 2008 | B2 |
20030028381 | Tucker et al. | Feb 2003 | A1 |
20030202660 | Zhou et al. | Oct 2003 | A1 |
20040024588 | Watson et al. | Feb 2004 | A1 |
20040028222 | Sewell et al. | Feb 2004 | A1 |
20040120523 | Haitsma et al. | Jun 2004 | A1 |
20040184369 | Herre et al. | Sep 2004 | A1 |
20050105726 | Neubauer et al. | May 2005 | A1 |
20050108542 | Kirovski et al. | May 2005 | A1 |
20050177727 | Moskowitz et al. | Aug 2005 | A1 |
Number | Date | Country |
---|---|---|
9802864 | Jan 1998 | WO |
03052598 | Jun 2003 | WO |
2004066206 | Aug 2004 | WO |
Entry |
---|
Lie et al., “Robust and High-Quality Time-Domain Audio Watermarking Based on Low-Frequency Amplitude Modification”, from IEEE Transactions on Multimedia, vol. 8, No. 1, Feb. 2006. |
Boney et al., “Digital Watermarks for Audio Signals”, in Proc. 3rd IEEE Int. Conf. Multimedia Computing and Systems, 1996, pp. 473-480. |
Gruhl et al., “Echo Hiding”, Berlin, Germany, Springer, 1996, vol. 1174, Lecture Notes in Computer Science, Information Hiding, pp. 295-315. |
Bassia et al., “Robust Audio Watermarking in the Time Domain”, IEEE Trans. Multimedia, vol. 3, No. 2, pp. 232-241, Jun. 2001. |
Ikeda, et al., “Audio Data Hiding by Use of Band-Limited Random Sequences”, in Proc. IEEE Int. Conf. Acoustics, Speech and Signal Processing, vol. 4, 1999, pp. 2315-2318. |
Xu et al., “A Robust Digital Audio Watermarking Technique”, in Proc. 5th Int. Symp. Signal Processing and its Application, vol. 1, 1999, pp. 95-98. |
Xu et al., “Application of Digital Watermarking Technology in Audio Signals”, J. Audio Eng. Soc., vol. 47, pp. 805-812, 1999. |
Neubauer, et al., “Continuous Steganographic Data Transmission Using Uncompressed Audio”, Proc. 2nd Int. Workshop on Information Hiding, 1998, pp. 208-217. |
Ciloglu et al., “An Improved All-Pass Watermarking Scheme for Speech and Audio”, in Proc. IEEE Int. Conf. Multimedia and Exposition (ICME), 2000, pp. 1017-1020. |
Kim, H., “Stochastic Model Based Audio Watermark and Whitening Filter for Improved Detection”, in proc. IEEE Conf. Acoustics, Speech and Signal Processing (ICASSP), 2000, pp. 1971-1974. |
Swanson et al., “Robust Audio Watermarking Using Perceptual Masking”, Signal Process., vol. 66, pp. 337-355, 1998. |
Wang, Xin, “An Audio Watermarking Scheme in Time-Domain”, ELG 7173 Topics in Signal Processing II (Digital Watermarking), www.discover.uottawa.ca, University of Ottawa, Nov. 15, 2006. |
Wang, Xin, “An Audio Watermarking Scheme in Time-Domain”, ELG 7173 Topics in Signal Processing II (Digital Watermarking)—Final Project, www.discover.uottawa.ca, University of Ottawa, Dec. 4, 2006. |
Bassia et al., “Robust Audio Watermarking in the Time Domain”, Proceedings of EUSIPCO (1998). |
PCT International Search Report dated Feb. 14, 2008 from the International Searching Authority, Canadian Intellectual Property Office, PCT/CA2007/001821, International Filing Date Oct. 18, 2007. |
Shijun Xiang et al.: “Time-scale invariant audio watermarking based on the statistical features in time domain”, Information Hiding, 8th International Workshop, IH 2006 Jul. 10-12, 2006 Revised Selected Papers. (Lecture Notes in Computer Science vol. 4437) Springer-Verlag Berlin, Germany, 2007, pp. 93-108. |
Number | Date | Country | |
---|---|---|---|
20130096705 A1 | Apr 2013 | US |
Number | Date | Country | |
---|---|---|---|
60862029 | Oct 2006 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 13166684 | Jun 2011 | US |
Child | 13646359 | US | |
Parent | 11874839 | Oct 2007 | US |
Child | 13166684 | US |