# Patent

## Title
Layered security in digital watermarking

## Abstract

A media object authentication system uses layers of security features based on digital watermarks embedded in media objects. The system generates a first digital watermark with a message payload carrying data about the object, such as a hash of text data printed on the object. The first digital watermark is combined with a content signature derived from features of the media object, such as frequency domain attributes, edge attributes, or other filtered version of the media signal (e.g., image photo on a secure document) on the media object. This combination forms a new digital watermark signal that is embedded in the host media object. To verify the object, the digital watermark payload is extracted and compared with the data about the object. The combined digital watermark and content signature is also evaluated to authenticate the media signal on the media object.

## Background
TECHNICAL FIELD
The invention relates to digital watermarking and authentication of media objects.
BACKGROUND AND SUMMARY
Digital watermarking is a process for modifying physical or electronic media to embed a hidden machine-readable code into the media. The media may be modified such that the embedded code is imperceptible or nearly imperceptible to the user, yet may be detected through an automated detection process. Most commonly, digital watermarking is applied to media signals such as images, audio signals, and video signals. However, it may also be applied to other types of media objects, including documents (e.g., through line, word or character shifting), software, multi-dimensional graphics models, and surface textures of objects.
Digital watermarking systems typically have two primary components: an encoder that embeds the watermark in a host media signal, and a decoder that detects and reads the embedded watermark from a signal suspected of containing a watermark (a suspect signal). The encoder embeds a watermark by subtly altering the host media signal. The reading component analyzes a suspect signal to detect whether a watermark is present. In applications where the watermark encodes information, the reader extracts this information from the detected watermark.
Several particular watermarking techniques have been developed. The reader is presumed to be familiar with the literature in this field. Particular techniques for embedding and detecting imperceptible watermarks in media signals are detailed in the assignee's application Ser. No. 09/503,881 (now U.S. Pat. No. 6,614,914) and U.S. Pat. No. 6,122,403, which are hereby incorporated by reference.
One application of digital watermarking is for the authentication of physical and electronic media objects, like images, video, audio, and printed media. There are a variety of ways to authenticate these objects. One way is to embed a predetermined watermark in the object. If a reader detects this watermark in an object, then the detection of the watermark is an indicator of its authenticity.
Another way to authenticate the object is to embed information about the object or the bearer of the object (e.g., in photo ID or other secure documents). If the reader extracts this information from the watermark, and it matches information on the object or about the bearer, then the comparison this information is an indicator that object is authentic and/or the bearer of the object is valid.
To undermine the authentication function of the digital watermark, a hacker might try to re-create the watermark in a fake media object.
The invention provides a method for authenticating electronic or physical media objects using digital watermarks.
One aspect of the invention is a method for creating a media object for authentication. This method computes a hash of information on the object, and generates a pattern from the hash. It also computes a content signature from a media signal in the media object. It then combines the content signature and the pattern to form a content dependent pattern. Finally, the method embeds the content dependent pattern as a digital watermark into the media object.
One specific application of this method is to create secure documents that may be authenticated automatically. For example, the media object may comprise a photo ID or other secure document, where the hash is computed from data on the document and the content signature is derived from features of the photo or other image on the document. The method applies to other physical and electronic media objects. The hash may be computed from information in the media object, which is easily interpreted by a viewer or listener of the rendered object, or may be computed from information relating to the media object.
Another aspect of the invention is a related method of authenticating a media object using a digital watermark embedded in the media object. This authentication method providing a first pattern, either from an external source (e.g., user input, system memory, etc.) or derived from a digital watermark embedded in the object. The method also derives a content dependent signature from a media signal in the media object. It then combines the content dependent signature and the first pattern to form a content dependent pattern. Finally, it measures the content dependent pattern embedded as a digital watermark in the media signal to provide a measurement of authenticity of the media signal.
Further features will become apparent with reference to the following detailed description and accompanying drawings.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a diagram illustrating a digital watermarking embedder used to create watermarked objects that are authenticated in multiple ways.
FIG. 2 is a diagram illustrating a method for authenticating media objects created using the method shown in FIG. 1.



DETAILED DESCRIPTION
FIG. 1 is a diagram illustrating a digital watermarking embedder used to create watermarked objects that are authenticated in multiple ways. This diagram shows a variety of techniques to provide layers of security in a media object. The implementer may choose to use one or more combinations of the elements illustrated in the diagram, such as a hash carried in a watermark, a content dependent watermark, a content signature carried in a watermark, etc. We will illustrate how these functions of the digital watermark may be integrated into a single watermark or in separate digital watermarks. While the media object generally encompasses images, video, audio, and physical objects, we illustrate the method through the use of examples of security documents that carry images embedded with digital watermarks.
As shown in FIG. 1, the input to the embedder is an input media signal 100. In our example of a security document, this input signal corresponds to an image to be printed on the security document.
The embedder computes a signature of the media object (102) by calculating a set of features of the media signal in the media object. Preferably, the features are selected such that they are likely to be relatively unchanged through a distortion channel that the object is expected to pass through. In the example of a security document, this distortion channel includes printing, scanning (to capture a digital image for authentication as shown in FIG. 2), normal wear and tear, soiling, geometric distortion, etc. The features and robustness of the digital watermarks may be adapted to survive or degrade in response to distortions that result from intentional manipulation. For example, if an intentional manipulation occurs, such as scanning and re-printing of a security document on a desktop scanner/printer, this manipulation may render the feature severely distorted and/or the digital watermark un-readable, which serve as indicators that the document is a fake. A plurality of digital watermarks and signal feature metrics may be used to measure evidence of such manipulation. These metrics may be used along with robust digital watermarks that carry additional authentication information as described below.
Examples of features from which the signature are derived for an image include: edge pixels detected using an edge detection filter, frequency coefficients (e.g., low frequency coefficients of blocks in the image), relationships among neighboring pixels (e.g., differences between neighboring pixel values, computed using a filter that returns the difference or sign of the difference between a pixel and the average of its neighbors), etc. In one implementation, we use these features to generate a binary antipodal signal of [1, −1] corresponding to locations within the signal to be watermarked. The antipodal signal is a vector where the elements having a value of 1 represent a location of the feature (or location where feature meets a criteria, such as above a threshold, local maxima/minima), while the −1 represents absence of the feature (or location where the feature does not meet the criteria).
The antipodal signal can be used to embed features of the host input signal into the digital watermark, such as selected low frequency coefficients. In one implementation, for example, the embedder calculates the signature by taking a frequency transform (e.g., a Discrete Cosine Transform) of an M by M block of the host image signal, and then quantizing the lowest frequency N by N coefficients (except DC) to 1 or −1 by performing a threshold comparison with their median value (greater than median assigned to 1, and less than median assigned to −1). This results in a binary antipodal signature of length (N×N−1), whose elements are mapped to the M×M locations in the original M by M block. Note that N is less than M, so the elements of the signature are redundantly mapped to the M×M samples in the M by M block. A similar procedure is repeated for other M by M blocks of the host media signal.
Next, the embedder computes a content dependent watermark, CW, as a function of the signature and a basic watermark pattern, W (108). Like the signature, this basic watermark pattern is also a binary antipodal signal in our implementation. The embedder generates CW by performing a pointwise multiplication of W and CW. Other functions may be used to generate CW from W and S, and the resulting signal need not be a binary antipodal signal.
As shown in FIG. 1, the basic pattern, W, can also serve as an additional security layer. In particular, the basic pattern may be used to carry information about the media or an entity associated with the media, such as its owner, the bearer of a security document, etc. In the specific case of a security document, the system includes an OCR reader to capture text information carried on the document about the bearer, such as name, birthdate, address, ID number, etc. In the embedder of FIG. 1, this data about the media object (101) is input to a hash function (103), which generates a hash. For example, in our secure document example, this text information is input to a hash function, such as a CRC or secure hash, like MD5, SHA, etc This hash then forms part of a digital watermark payload message (104).
The embedder converts the payload into the basic pattern (106). The process of generating a basic pattern from the payload can be implemented in a variety of ways, and depends in part on the message coding process compatible with the digital watermark embedder. For example, some digital watermark embedders operate on binary signals, while others operate on M-ary symbols. One approach is to apply repetition and error correction coding to generate an intermediate signal from the payload, then spread the intermediate signal over a binary antipodal carrier signal using binary or M-ary spread spectrum modulation. The result is a binary antipodal signal that carries the payload and is mapped to locations within the host media object.
The basic pattern may be integrated with a calibration signal or used in conjunction with a separate calibration watermark to compensate for geometric/temporal distortion such as geometric/temporal scaling, shear, rotation, shifting, cropping, etc. For example, the carrier, in one implementation, is formed into a pattern that has a certain set of transform domain peaks that enable geometric synchronization by performing pattern matching between the peaks and a reference signal.
In one implementation, the embedder separately embeds the basic pattern and the content dependent watermark using separate digital watermark embedding operations 109, 110. One example for a secure document is where the basic pattern is embedded by modifying host image pixels at a first resolution up or down according to the sign of the corresponding binary antipodal signal element. The content dependent pattern is then embedded similarly, but at a different spatial resolution. Both the basic pattern and the content dependent pattern are embedded throughout the image and overlap. In an alternative example, the basic and content dependent patterns are embedded at the same spatial resolution, but at mutually exclusive spatial locations (e.g., in interleaved pixel blocks). In general, the two watermarks are layered so as to minimize their interference; this can be achieved by embedding in discrete spatial or transform domain features, locations, etc. As opposed to a simple binary quantization of a host signal value up or down, the host signal values or features corresponding to the watermark elements may be quantized to pre-determined bins or levels that adapt to host signal characteristics corresponding to the watermark element value. Also, the watermark embedders may employ additional perceptual modeling to control the amount of variation to the host signal based on data hiding attributes of the host signal as measured using Human Perceptual Modeling.
In another implementation, the embedder embeds only the content dependent watermark (110), and it serves the dual function of binding the watermark to the host signal through its content dependency attribute, and carrying other authentication information, such as the hash and a database pointer to a database entry storing information about the media object or the bearer of that object. One example of this approach is to invert the basic pattern only in selected locations corresponding to the signature (e.g., where the signature has a value of −1).
In yet anther implementation, the embedder embeds only the basic pattern (109), but does so using a content dependent quantization-based digital watermarking function, where the values of host signal elements are quantized into one of two sets of quantization bins, one corresponding to symbol 1 and another to symbol—1 of the binary antipodal signal. Alternatively, vector quantization may be employed in cases where the basis pattern is coded in the form of M-ary symbols. Each possible M-ary symbol corresponds to a corresponding set of quantization bins. To embed the basic pattern, the host signal values corresponding to elements in the basic pattern are quantized into the closest bin of the set corresponding to the symbol at that location in the basic pattern.
Returning generally to the process of FIG. 1, the embedder creates a digitally watermarked signal. In typical applications, this watermarked signal is rendered (e.g., printed or otherwise converted to analog form) (112). In our example of the security document, the security document is printed and distributed to the bearer. As noted above, the media object then travels through a distortion channel (114), which occurs due to its use in the intended application.
FIG. 2 is a diagram illustrating a method for authenticating media objects created using the method shown in FIG. 1. At various points in the use of the media object, there are many instances where applications demand automated verification of the object's authenticity, including whether the object itself is authentic, whether its bearer or owner is correct, etc. The layered security features implemented with the digital watermark enable such verification. In the case of secure documents, this authentication may be for access control to a place, facility, database, financial transaction, device, network system, etc. The verification process may be overt, such as where a bearer of a document is required to submit the document to a digital image scanner for verification. The verification process may also occur covertly, such as when a digital object passes through a node or gateway in a network, and is authenticated. Consider a case where the bearer of a credit card presents his credit card to a web camera to facilitate a financial transaction on the Internet. An image captured on the card can be processed at a security gateway server, where the digital image of the credit card is transmitted for digital watermark decoding and feature analysis.
As shown in FIG. 2, the process begins with a digital version of the media object 200, which is captured from its analog form or received in digital form. The specific operation varies depending on the implementation of the embedder system.
As a first example, consider the case in which both the basic pattern, W, and the content dependent watermark, CW, are embedded. In the example of secure document captured by a digital camera or scanner, there is likely to be geometric distortion and cropping. As such, the detector uses the calibration signal to synchronize with the basic pattern W. The detector then reads estimates of the basic pattern elements, W′, e.g., using a reader compatible with the digital watermark embedder (202). In our implementation, the reader applies a non-linear filter compatible with the embedder to characteristics of the media signal to estimate the values of the embedded pattern, W. It then performs de-modulation and error correction decoding to recover the payload, including the embedded hash, H. An error detection message in the payload may also be used to verify that that the payload has been recovered, error-free.
After getting the payload, the reader reconstructs the pattern, W, using the same technique as in the embedder.
In another processing thread or function, the verification system calculates the media signature, S′, (204) in the same manner as in the embedder. One of the benefits of using the calibration signal is that it enables the input signal to be calibrated (e.g., geometrically/temporally aligned) before the signature is calculated. This aspect of the system provides greater flexibility and reliability to the signature calculation.
Next, the system computes CW as a function of W (or W′) and S′ (208). The notation {CW′, W′ and S′} refers to the fact that these vectors may not be identical to their counterparts in the embedder. A compatible digital watermark reader then extracts estimates of CW (210) from the media object, which is preferably calibrated before extraction of CW. The degree to which CW can be extracted provides a first metric of authenticity. This measurement can be made by computing a correlation measure, and specifically, by a correlation measure between the extracted CW in block 210 and CW computed in block 208.
The measure of the content dependent pattern can be optimized by normalizing or adapting it to media signal from which it is measured. In one embodiment, the detector is programmed to normalize the measure of correlation for CW by the strength of the extracted watermark, W′, detected in the media signal (e.g., the digital image scanned from a printed object being authenticated). By normalizing the measure of CW relative to the measurement of W′, the verification system achieves better differentiation of authentic and fake objects. Specifically, the strength of W′ can be used to set a more effective threshold for the measurement of CW in certain cases.
In the measurement of CW, there are two sources of error: 1. the error between the original and re-computed signature in the received media signal; and 2 the error in extracting the watermark CW from the received media signal. In one implementation for printed images where the embedder inserts W and CW as primary and secondary watermarks at mutually exclusive locations in the host image and at the same spatial resolution in the host image, the measurement of the strength of the primary watermark W provides a reliable predictor for the measurement of the secondary watermark. The detector uses the strength of the primary watermark to set thresholds for the measurements of the secondary watermark that specify which measurements of the secondary watermark are deemed to be attributable to an authentic object and which are attributable to a fake. The rules for setting thresholds are preferably predetermined based on empirical studies using statistical distributions of signatures from authentic and fake host signals. Experiments show that the separation between the distributions of the measurement of CW in originals and fakes gets stronger as the strength of the primary watermark gets stronger. As these distributions separate from each other, the thresholds indicating where fakes/authentic originals can be reliably distinguished widen as well. Based on tests on training sets, the implementer programmatically determines candidate thresholds for a particular value of strength of the primary watermark. Then, during operation of the verification system, the detector adapts the threshold for CW based on the strength of W by selecting the appropriate thresholds as a function of W.
Further experiments show that differentiation between originals and fakes can be enhanced in cases where there is more bandwidth for embedding CW. In images, for example, the bandwidth for CW can be increased for a fixed amount of perceptibility of the digital watermark by increasing the amount of image data in which CW is embedded. One specific example is increasing the image area over which CW is embedded. This increase can be achieved by spreading and/or repeating the CW pattern over more image samples.
In addition, separation between originals and fakes can be increased by using a longer signature. The effect of using a longer signature is that it will be embedded less redundantly in the watermark that carries the content dependent pattern. Specifically, for a fixed number of samples of the host media signal that are modified to embed CW, the redundancy of the signature decreases as the length of the signature increases.
The hash provides another layer of security. In our continuing example of a secure document, the personal information of the bearer on the secure document, generally referred to as data about media 206, is input to the same hash function used in the embedder 214, to create H′. This personal data may include name, address, date of birth, height, weight, eye color, etc. This hash is then compared with the hash extracted from W in block 216. The result is another indicator of authenticity (218), and in this example, indicates whether the personal information on the document has been altered. Even in the case where CW cannot be extracted, this measurement provides another indicator of authenticity.
The combination of the signature with the basic watermark provides an extra layer of security against photo ID card fraud, where one might attempt to copy the watermark into his own photo and then place that photo along with a copy of the personal data from the authentic card on a fraudulent photo ID card. In this scenario, even if the hash in the watermark matches the hash of the data on the card, the content signature will likely be different, and the measurement of the content dependent watermark will indicate that the photo ID is a fake.
As noted above, there are alternative implementations of the system, corresponding to the alternatives described for the embedder above. One alternative is where the basic pattern is stored or otherwise securely communicated to the verification system in a manner other than in the digital watermark carried in the media object. This may be some other machine-readable code in the secure document (e.g., 2D bar code, magnetic stripe, etc.), for example, or simply pre-programmed into the verification system.
Another implementation is where the signature, S, is used to transform (e.g., invert) selected portions of the basic pattern to create CW, without using a separate watermark to carry W. Note this transformation may involve a simple inversion of the symbols, or a more sophisticated scrambling or transform of the symbols in the base pattern corresponding to the signature elements. In this case, the verification system calculates S′, and then attempts to read W, with and without the transform used to create CW. The result of these two read operations are then compared, and should be drastically different if the media signal is valid, and closer if the media signal is invalid. The degree of separation that indicates that the media is not authentic is derived through testing on training sets of valid and invalid objects. The result is a threshold test for the degree of separation between the two measurements.
Another alternative is to use an embedding and reading scheme for W that is inherently content dependent. One such example is the quantization scheme outlined above. In this type of scheme, the attributes of the embedding scheme make it difficult to extract W from one authentic document or object and insert it in another document or object without knowledge of the embedding methodology.
Concluding Remarks
Having described and illustrated the principles of the technology with reference to specific implementations, it will be recognized that the technology can be implemented in many other, different, forms. To provide a comprehensive disclosure without unduly lengthening the specification, applicants incorporate by reference the patents and patent applications referenced above.
The methods, processes, and systems described above may be implemented in hardware, software or a combination of hardware and software. For example, the auxiliary data encoding processes may be implemented in a programmable computer or a special purpose digital circuit. Similarly, auxiliary data decoding may be implemented in software, firmware, hardware, or combinations of software, firmware and hardware. The methods and processes described above may be implemented in programs executed from a system's memory (a computer readable medium, such as an electronic, optical or magnetic storage device).
The particular combinations of elements and features in the above-detailed embodiments are exemplary only, the interchanging and substitution of these teachings with other teachings in this and the incorporated-by-reference patents/applications are also contemplated.

## Claims

1. A method for creating a media object for authentication, comprising:
computing a hash of information on the object;
generating a pattern from the hash;
computing a content signature from a media signal in the media object;
combining the content signature and the pattern to form a content dependent pattern; and
embedding the content dependent pattern as a digital watermark into the media object.

2. The method of claim 1 wherein the media object comprises a security document, and the hash is computed from information on the security document.

3. The method of claim 2 wherein the information on the security document is printed on the document.

4. The method of claim 1 wherein the media object is a card, and the information describes personal data about a bearer of the card.

5. The method of claim 1 wherein generating the pattern from the hash includes spreading the hash over a carrier signal.

6. The method of claim 5 wherein the carrier signal comprises a pseudorandom number.

7. The method of claim 1 wherein generating the pattern from the hash includes error correction encoding the hash.

8. The method of claim 1 wherein the content signature is derived from frequency domain features of the media signal.

9. The method of claim 1 wherein the media signal comprises an image, and the content signature is derived from edge features of the image.

10. The method of claim 1 wherein the content signature is derived based on filtering neighborhoods of samples within the media signal.

11. The method of claim 1 including:
embedding the pattern and the content dependent pattern as separate digital watermarks into the media object.

12. The method of claim 11 wherein the media object comprises an image to be printed on an object, and the separate digital watermarks are embedded at different spatial image resolutions in the image.

13. The method of claim 1 wherein the content dependent pattern is combined with the pattern by transforming elements of the pattern based on the content dependent pattern.

14. The method of claim 13 wherein transforming elements comprises a pointwise multiplication.

15. The method of claim 13 wherein the transforming elements comprises selectively inverting elements of the pattern based on values of the content dependent pattern.

16. A computer readable medium on which is stores instructions for performing the method of claim 1.

17. A method of authenticating a media object using a digital watermark embedded in the media object, the method comprising:
providing a first pattern;
deriving a content dependent signature from a media signal in the media object;
combining the content dependent signature and the first pattern to form a content dependent pattern; and
measuring the content dependent pattern embedded as a digital watermark in the media signal to provide a measurement of authenticity of the media signal.

18. The method of claim 17 wherein the first pattern is computed by extracting a first digital watermark from the media signal.

19. The method of claim 18 wherein the first digital watermark carries a message payload including a hash of data about the media object, and the hash is used in a second measurement of authenticity of the media signal.

20. The method of claim 19 wherein the media object comprises a printed object and the hash of data about the media object comprises a hash of data on the printed object.

21. The method of claim 20 wherein the hash is derived from text data printed on the printed object.

22. The method of claim 18 wherein the first digital watermark and the content dependent pattern are extracted as separate digital watermarks.

23. The method of claim 18 wherein the first digital watermark includes calibration attributes used to geometrically calibrate the media signal before extracting the content dependent pattern.

24. The method of claim 17 wherein the content dependent pattern selectively transforms elements of the first pattern.

25. The method of claim 24 wherein selective transforming includes inverting elements of the first pattern.

26. The method of claim 17 wherein the first pattern is generated by extracting a digital watermark message from the media signal; performing error correction decoding of the message, and combining the message with a pseudorandom number.

27. The method of claim 17 wherein the first pattern is generated from a digital watermark extracted from the media signal, and measurement of strength of the first digital watermark is used to adapt the measurement of authenticity based on the content dependent pattern.

28. A computer readable medium on which is stored instructions for performing the method of claim 17.

29. A method of authenticating a media object using a digital watermark embedded in the media object, the method comprising:
detecting a first digital watermark from the media object;
extracting a multi-symbol payload from the first digital watermark;
generating a pattern from the payload;
combining the pattern with a content signature derived from features of the media object to form a content dependent pattern;
detecting whether the content dependent pattern is embedded in the media object as a measure of authenticity of the media object.

30. A method for creating an identity document for authentication, the identity document comprising text information, and a portrait image, the method including:
computing a hash based on at least certain of said text information;
generating a pattern from the hash;
computing a content signature based at least in part on said portrait image;
combining the content signature and the pattern to form a content dependent pattern; and
embedding the content dependent pattern as a digital watermark on the identity document.