WO2008154041A1 - Modifying a coded bitstream - Google Patents

Modifying a coded bitstream Download PDF

Info

Publication number
WO2008154041A1
WO2008154041A1 PCT/US2008/007441 US2008007441W WO2008154041A1 WO 2008154041 A1 WO2008154041 A1 WO 2008154041A1 US 2008007441 W US2008007441 W US 2008007441W WO 2008154041 A1 WO2008154041 A1 WO 2008154041A1
Authority
WO
WIPO (PCT)
Prior art keywords
encoding
image
variable
alternative
value
Prior art date
Application number
PCT/US2008/007441
Other languages
French (fr)
Inventor
Jeffrey Adam Bloom
Dekun Zou
Original Assignee
Thomson Licensing
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from PCT/US2007/023172 external-priority patent/WO2008118145A1/en
Application filed by Thomson Licensing filed Critical Thomson Licensing
Priority to EP08794359.3A priority Critical patent/EP2162860B1/en
Priority to BRPI0811626-1A priority patent/BRPI0811626B1/en
Priority to CN2008800200087A priority patent/CN101681499B/en
Priority to KR1020097025542A priority patent/KR101518999B1/en
Priority to CA2689634A priority patent/CA2689634C/en
Priority to US12/451,551 priority patent/US8588459B2/en
Priority to JP2010512207A priority patent/JP5467651B2/en
Publication of WO2008154041A1 publication Critical patent/WO2008154041A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking
    • G06T1/0028Adaptive watermarking, e.g. Human Visual System [HVS]-based watermarking
    • G06T1/0035Output size adaptive watermarking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/13Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process
    • H04N19/467Embedding additional information in the video signal during the compression process characterised by the embedded information being invisible, e.g. watermarking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/48Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using compressed domain processing techniques other than decoding, e.g. modification of transform coefficients, variable length coding [VLC] data or run-length data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/93Run-length coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2389Multiplex stream processing, e.g. multiplex stream encrypting
    • H04N21/23892Multiplex stream processing, e.g. multiplex stream encrypting involving embedding information at multiplex stream level, e.g. embedding a watermark at packet level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8358Generation of protective data, e.g. certificates involving watermark
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2201/00General purpose image data processing
    • G06T2201/005Image watermarking
    • G06T2201/0053Embedding of the watermark in the coding stream, possibly without decoding; Embedding of the watermark in the compressed domain

Definitions

  • At least one implementation described herein relates to coding.
  • Watermarking typically involves modifying a portion of data in such a way that the watermark can be detected at a later time.
  • Various different types of data can be watermarked, including coded data.
  • coded data can be watermarked, including coded data.
  • coding schemes are advancing and existing mechanisms for modifying coded data may not provide desired watermarking capabilities for such advancing coding schemes.
  • variable-length encoded data is accessed that includes an encoding of information identifying an actual reference used to predictively encode an image, the encoding of the information having a particular value.
  • An alternative value is determined that is different from the particular value, such that the alternative value is an encoding of alternative information that identifies a different reference from the actual reference.
  • the alternative value is for use in watermarking the variable-length encoded data.
  • an entropy decoder is for decoding variable- length encoded data including an encoding of information identifying an actual reference used to predictively encode an image.
  • the encoding of the information has a particular value.
  • a watermark generator is coupled to the entropy decoder and is for determining an alternative value that is different from the particular value, such that the alternative value is an encoding of alternative information that identifies a different reference from the actual reference.
  • the alternative value is for use in watermarking the variable-length encoded data.
  • watermark data is for use in watermarking variable-length encoded data that includes an encoding of information identifying an actual reference used to predictively encode an image.
  • the encoding of the information has a particular value.
  • the watermark data includes an alternative value that is different from the particular value, such that the alternative value is an encoding of alternative information that identifies a different reference from the actual reference.
  • the alternative value is a substitute for the particular value for use in watermarking the variable-length encoded data.
  • variable-length encoded data is accessed that includes an encoding of information identifying an actual reference used to predictively encode an image.
  • the encoding of the information has a particular value.
  • An alternative value is accessed that is different from the particular value, such that the alternative value is an encoding of alternative information that identifies a different reference from the actual reference.
  • the alternative value is inserted into the variable-length encoded data as a substitute for the particular value to watermark the image.
  • variable-length encoded data is for an encoding of an image.
  • the variable-length encoded data includes an encoding of information identifying an alternative reference that is different from the actual reference used to predictively encode the image.
  • the information identifying the alternative reference provides a watermark for the image.
  • variable-length encoded data for an encoding of an image is decoded.
  • the variable-length encoded data includes an encoding of information identifying an alternative reference that is different from an actual reference used in predictively encoding the image.
  • the information identifying the alternative reference provides a watermark for the image.
  • a pixel-domain image includes a detectable feature arising from a watermark of a variable-length encoding of one or more syntax elements from a predictive encoding of the image.
  • the variable-length encoding included an encoding of information identifying an alternative reference that is different from an actual reference used in predictively encoding the image.
  • the information identifying the alternative reference provided the watermark for the image.
  • a predictive encoding of a watermarked version of an image is variable-length encoded.
  • the variable-length encoded data includes an indicator of a current reference used in encoding the watermarked version of the image and an indicator of a resulting residue.
  • the watermarked version of the image has a detectable characteristic that provides a watermark.
  • the detectable characteristic results from (1) modifying a previous variable-length encoding of a previous predictive-encoding of the image, the previous predictive-encoding being based on a previous reference and including information identifying the previous reference, wherein the modifying includes distorting the information in order to indicate an alternative reference and to provide the detectable characteristic for the image, and (2) decoding the previous variable-length encoding and the previous predictive-encoding of the image to produce the watermarked version of the image in which the detectable characteristic is present.
  • information is accessed that identifies a location in variable-length encoded data at which a variable-length encoding of information is located.
  • the information identifies one of at least two references associated with a predictive encoding of an image.
  • the encoding of the information is accessed at the location in the variable-length encoded data. It is determined, based on the encoding of the information, which of the at least two references is identified. Payload information is determined based on a result of determining which of the at least two references is identified.
  • a pixel-domain image is accessed that includes a detectable feature arising from a watermark of a variable-length encoding of one or more syntax elements from a predictive encoding of the image.
  • the variable-length encoding included an encoding of information identifying an alternative reference that is different from an actual reference used in predictively encoding the image.
  • the information identifying the alternative reference provided the watermark for the image.
  • Detection metadata is accessed that indicates a location in the pixel-domain image at which the detectable feature is located. The pixel-domain image at the location is analyzed to determine a value for the detectable feature.
  • Additional detection metadata is accessed that indicates a comparison value for the detectable feature. The determined value for the detectable feature is compared with the comparison value. Payload information is determined based on a result of the comparing.
  • implementations may be configured or embodied in various manners. For example, an implementation may be performed as a method, or embodied as an apparatus configured to perform a set of operations, or embodied as an apparatus storing instructions for performing a set of operations, or embodied in a signal. Other aspects and features will become apparent from the following detailed description considered in conjunction with the accompanying drawings and the claims.
  • FIG. 1 is a block diagram of an implementation for watermarking an entropy-coded stream.
  • FIG. 2a is a block diagram showing an ordering of operations used in modifying an encoded bitstream.
  • FIG. 2b is a block diagram showing another ordering of operations used in modifying an encoded bitstream.
  • FIG. 3 illustrates four prediction modes.
  • FIG. 4 is a table showing macroblock types for one particular standard, and showing additional information that is determined by the macroblock types.
  • FIG. 5 is a table showing an exp-Golomb coding provided in one particular standard.
  • FIG. 6 is a flow diagram of an implementation for determining detection values for alternative intra-prediction modes.
  • FIG. 7 is a flow diagram of an implementation for determining watermarking metadata.
  • FIG. 8 is a flow diagram of an implementation for determining alternative values for a reference indicator.
  • FIG. 9 is a flow diagram of an implementation for inserting replacement values.
  • FIG. 10 is a flow diagram of an implementation for inserting alternative values for a reference indicator.
  • FIG. 11 is a flow diagram of an implementation for identifying a payload from watermarked data.
  • FIG. 12 is a flow diagram of an implementation for identifying a payload from watermarked image data.
  • FIG. 13 is a block diagram of an implementation for watermarking content and for detecting a payload.
  • At least one implementation provides a watermark to an H.264/MPEG-4 AVC bitstream by modifying an entropy encoded bitstream directly without requiring entropy decoding and entropy re-encoding.
  • the modification provides the watermark.
  • the entropy code is a coding scheme known as Context-based Adaptive Variable Length Coding (CAVLC), which is widely used in the H.264/MPEG-4 AVC standard ("AVC").
  • AVC is also referenced as the International Organization for Standardization/International Electrotechnical Commission (ISO/IEC) Moving Picture Experts Group-4 (MPEG-4) Part 10 Advanced Video Coding (AVC) standard/International Telecommunication Union, Telecommunication Sector (ITU-T) H.264 recommendation.
  • ISO/IEC International Organization for Standardization/International Electrotechnical Commission
  • MPEG-4 Moving Picture Experts Group-4
  • AVC Advanced Video Coding
  • CAVLC may also be used in extensions to the AVC standard.
  • a first such extension is a scalable video coding (“SVC") extension (Annex G) referred to as H.264/MPEG-4 AVC, scalable video coding extension (the "SVC extension”).
  • a second such extension is a multi-view video coding (“MVC”) extension (Annex H) referred to as H.264/MPEG-4 AVC, MVC extension (the "MVC extension”).
  • SVC scalable video coding
  • MVC multi-view video coding
  • a macroblock is prediction encoded and the syntax elements of the prediction encoding are subsequently entropy encoded using CAVLC.
  • CAVLC For intra-prediction, as opposed to inter-prediction, a macroblock is prediction encoded without recourse to another picture. That is, without using a reference picture. Instead, the macroblock is prediction encoded with respect to itself or to another macroblock within the same picture (a picture may be, for example, a frame or field).
  • One of the syntax elements for intra-predicted macroblocks is the macroblock type, which indicates die intra-prediction mode as well as other information.
  • the macroblock type (the "old" macroblock type) for a macroblock is changed to a new macroblock type such that a different intra-prediction mode is indicated for a particular 16x16 macroblock. However, all other information indicated by the old macroblock type is left unchanged. Further, the new macroblock type (the syntax element) is CAVLC encoded using the same number of bits used to encode the old macroblock type.
  • the above change in macroblock types can be done to embed a watermark into the data. Further, the determination of the replacement macroblock type and corresponding replacement CAVLC bits can be done off-line, and then at a later time(s) when the content (for example, the video data) is accessed, the replacement of the CAVLC bits can be done in an efficient real-time manner that does not require entropy-decoding. Other implementations, however, perform all or part of the replacement after entropy decoding has been performed, either during the process of determining the replacement information, or in a subsequent stage. In many applications there is an increasing market need for watermarking of a compressed video stream.
  • Watermarking a CAVLC stream involves changing a coded syntax element in the CAVLC stream.
  • changing a coded syntax element will cause the coded bit length to change.
  • At least one implementation addresses the case in which the coded bit length is held constant, but other implementations allow the coded bit length to vary.
  • At least part of this disclosure focuses on how to generate metadata for a streaming watermark embedder.
  • At least one implementation changes the Intra-prediction mode, and is robust to various modifications of the bitstream.
  • Other implementations may modify the CAVLC encoding of residue coefficients.
  • One advantage of modifying the Intra-prediction mode is that by changing a relatively few number of bits (for example, 7 bits in an implementation described below) in a CAVLC bitstream, a large and detectable (although not perceptible) change can be provided for a given block. Such a change can also be designed so that it is robust to changes in the coded bitstream.
  • the bitstream will potentially be completely different but the original changes can still be expected to be detected by analyzing the decoded pixel values.
  • CAVLC is commonly used for entropy coding.
  • CAVLC is a well known coding technique and is part of a class of coding techniques referred to as variable length codes.
  • variable length codes in contrast for example to fixed length codes, assign codewords of shorter length to syntax element values that have, or are expected to have, a higher rate of occurrence.
  • CAVLC generally provides a separate assignment, between codewords and syntax element values, for each type of syntax element.
  • Variable length codes are a class of codes that falls within the family of entropy codes.
  • Arithmetic codes including CABAC (Context-based Adaptive Binary Arithmetic Coding), is another class of codes that falls within the family of entropy codes.
  • digital watermarking typically refers to methods that modify a work of art (typically an image, motion image sequence, or audio clip) according to some payload data, such that the following conditions are satisfied:
  • the modified version of the work is perceptually indistinguishable to the original version of the work
  • the payload data can be recovered from the modified version of the work at a later time.
  • a subclass of digital watermarking methods referred to as "robust digital watermarking" introduces a third condition: 3.
  • the payload data can be recovered from a distorted version of the modified version of the work, where the distortion may have been introduced by common signal processing and signal handling to which the modified work may have subjected (for example, compression, noise reduction filtering, color enhancements) or the distortion may have been introduced intentionally by an adversary attempting to render the payload data unrecoverable.
  • Owner Identification the watermark payload identifies the owner of a work.
  • the watermark payload indicates a copyright associated with a work.
  • Devices for viewing, duplicating, recording, printing, distributing, or any other action can recover the payload data and restrict action to those allowed by the copyright.
  • the watermark payload identifies the recipient to whom the copy of a work was legitimately distributed. This can be useful when the legitimate recipients do not receive the rights to further distribute the work. If an unauthorized work is discovered, the original content owner can recover the payload from the unauthorized copy and identify the recipient responsible for the unauthorized use.
  • Watermarking can be performed in the "baseband” or on compressed works.
  • Baseband imagery or motion image sequences are, for example, pixel-domain representations.
  • Baseband audio works are, for example, audio samples.
  • Some applications require watermarking of a compressed work.
  • the output is also a compressed work.
  • the last step of compression is typically entropy coding and the first step of decompression is typically entropy decoding.
  • the entropy encoding / decoding process is typically lossless, but the compression process typically also includes a lossy process.
  • One approach for watermarking a compressed work is first to apply the entropy decoding, then apply the decompression to obtain a baseband representation.
  • the baseband representation is watermarked and the resulting watermarked work is compressed and entropy coded.
  • This approach can be time consuming and can result in degradation of perceptual quality due to the recompression.
  • information from the original compressed work such as motion vectors, mode decisions, quality factors, and other information, can be saved during decompression and used during recompression. This means that the recompression need not perform any motion estimation (thus saving computation and/or time) and use of the original quantization factors and mode decisions can result in improved perceptual quality.
  • compressed domain watermarking A class of watermarking algorithms called “compressed domain watermarking” has emerged. These methods can be described as performing a “partial decode” prior to watermarking rather than the “full decode” previously described.
  • the compressed work is first entropy decoded to expose the syntax elements of the compressed work. These can include coefficients (block DCT (discrete cosine transform) or wavelet coefficients for example), motion vectors, picture types, prediction modes, and many other syntax elements.
  • block DCT discrete cosine transform
  • wavelet coefficients for example
  • motion vectors motion vectors
  • picture types prediction modes
  • prediction modes many other syntax elements.
  • the watermarking algorithm then directly modifies some of those syntax elements.
  • the modified syntax elements are entropy coded to obtain the modified compressed work.
  • At least one implementation described in this application falls into a new class of watermarking algorithms which could be called "entropy coded stream watermarking.” These methods directly modify an entropy coded stream as illustrated in FIG. 1.
  • a system 100 performs watermarking.
  • the system 100 may also be considered as a process.
  • the original compressed stream is directly modified by stream modification 102, according to the Payload, and the output is the resulting marked compressed stream 103.
  • the payload can be, for example, the serial number of a content (for example, DVD) player, the model of the player, or other information desired to be used for later identification.
  • the payload can be uncoded, or can be coded as shown in data coding unit 120.
  • the stream modification process is informed as to (1) the location of all changes to be made and (2) the actual changes to be made.
  • the stream modification process is informed of this information by metadata which can be generated during a preprocessing stage 104.
  • the metadata 105 is generated by entropy decoding 106 (and possible further decoding if multiple layers of coding are used) the original compressed stream, and generating a watermark 108.
  • the metadata identifies the locations within the stream where changes are to be made (that is, for watermark generation) and indicates how the stream should change in response to different payload symbols. Implementations of FIG. 1 are described for which the metadata is generated by an analysis of the decoded syntax elements of the compressed work. One challenging aspect of a watermarking method such as this is the generation of the metadata. The following explains how this can be done for one or more implementations .
  • the previous paragraph and FIG. 1 suggest that there may be a pre-processing stage 104. It is useful to point out the situation in which there are three important times.
  • the first time is where/when the compressed bitstream is analyzed to generate some metadata.
  • the second time is where/when some or all of the metadata generated at the first time is used, along with a specific sequence of symbols, known as the payload, to modify the bitstream.
  • the third time is where/when some (or all or none) of the metadata generated at the first time is used to analyze a modified bitstream, a motion image sequence obtained by decompressing the modified bitstream, or a distorted version of the motion image sequence obtained by decompressing the modified bitstream.
  • the purpose of this analysis, in the third time is to recover the payload.
  • the pre-processing stage may be performed during the authoring of a movie for eventual delivery, for example, hi one scenario, a process is performed to identify locations of coded elements for which acceptable replacement values have been determined.
  • the results of that process (for example, the locations of such coded elements and the acceptable replacement values) are stored in metadata that is included with the coded movie. For this example, consider two cases. In one case, each entry of the metadata identifies a location in the bitstream and one acceptable replacement value. In a second case, two acceptable replacement values are identified in each metadata entry.
  • the stream modification may be performed during playback of the movie, in which, for example, the serial number of the player (for example, a software player, a set top box player, or a DVD player) is used as the payload.
  • the payload is used, for example, to determine whether to replace the identified coded elements. For example, if a single acceptable alternative is provided in the metadata, then a "1" in the payload sequence may indicate that the original value be replaced with the alternative value, and a "0" may indicate that the original value be retained. As another example, all identified locations may be replaced, and the payload may indicate which of two provided replacement values (for each location in the coded sequence) is to be used.
  • a "0" may indicate use of the first replacement
  • a "1" may indicate use of the second replacement.
  • the words "alternative” and “replacement” are often used interchangeably in this application.
  • the alternative (or replacement) may refer to a variety of items, depending on context.
  • the alternative may be, for example, an alternative value for a syntax element or an alternative value for coded bits representing a value of a syntax element.
  • the recovery of the payload may be performed at a geographic location that is unrelated to the geographic locations at which the stream modification occurred.
  • the stream modification may take place in Toledo, Ohio and the payload recovery may take place in Burbank, California.
  • the key is to have access to a document containing data based on a modified stream.
  • a modified stream may be copied electronically and put on a recordable DVD, or a modified stream may be presented and then re-recorded and encoded, and then put on a recordable DVD. If this recordable DVD is acquired, then this recordable DVD can be analyzed to recover the payload.
  • Recovery of the payload may be assisted with detection metadata (shown in FIG. 1).
  • Detection metadata may indicate, for example, the locations in the data stream where watermarking information is embedded, as well as the acceptable replacement values. Detection metadata may also, or alternatively, indicate, for example, a location within a picture (for example, frame or field) in which the watermark information is intended to produce a detectable change in the pixel- domain data. In this latter scenario, the detection metadata may also indicate the expected change(s), as explained further below. Detection metadata may be produced at the same time that the watermarking (embedding) metadata is produced, or at a different stage.
  • a “watermark” may refer, for example, to the embedded data that replaces the original data in a data stream.
  • a “watermark” may also, or alternatively, refer to the effect that is produced on a decoded, displayed video picture in the baseband imagery as a result of embedding replacement data in the data stream.
  • the "watermark” may refer to one or more of the embedded data or the produced effect on the resulting baseband data (for example, an image or an audio clip).
  • the produced effect may be a change in the luminance of a macroblock that is detectable but not perceptible to a viewer.
  • These bits may be the same length (same number of bits) as the CAVLC encoding of the unmodified syntax element, or may have a different length. However, whether the length is the same or not, there is no effect on the accuracy of the other CAVLC bits because the CAVLC encoding of a syntax element does not depend on prior or subsequent syntax element encodings.
  • FIGS. 2a and 2b include block diagrams 200 and 210 that each show these two general steps.
  • Step 1 is to build a mapping (202) from the target element to the original coded block. In one practical implementation, this is done by decoding the bitstream and keeping track of which bitstream bits produce which syntax elements. For example, a CAVLC decoder may be applied to the compressed bitstream to expose the syntax elements.
  • Step 2 is to search for one or more acceptable alternative values for the target element (204).
  • One way to search for acceptable alternative values is to examine all possible alternative values and determine which, if any, are acceptable.
  • Each possible alternative syntax value is CAVLC coded to yield the alternative bits.
  • all possible alternative syntax values are "acceptable alternative values".
  • various implementations have one or more additional criteria.
  • CAVLC encoding length is a variable-length code
  • some alternative syntax values will change the length of the CAVLC encoding. This is acceptable in some implementations, but other implementations impose a requirement that the CAVLC encoding length remain the same before and after watermarking.
  • Other criteria relate, for example, to fidelity and detectability, as discussed further below.
  • FIGS. 2a and 2b Two different orderings of these two steps 202, 204 are depicted in FIGS. 2a and 2b, respectively. Note that in FIG. 2b the mapping and assignment in Step 1 (202) is only required for target elements for which at least one alternative syntax value was found in Step 2 (204).
  • the AVC video compression standard like most video compression standards, achieves compression by predicting the values in a block of pixels from the values in one or more previously coded blocks of pixels. The difference between the prediction and the actual values, often called the residue, is then transform coded and quantized.
  • the block or blocks used for the prediction, the reference blocks can be from the same picture or from different pictures. Blocks whose reference blocks come from the same picture are called Intracoded blocks or simply Intra-blocks. In this case, the prediction is often called Intra- prediction.
  • an entire 16x16 macroblock can be Intra-predicted as a whole or can be divided into 8 x 8 sub-blocks or even 4 x 4 sub-blocks. Each sub-block will then be Intra-predicted independently.
  • 16 x 16 luminance Intra-prediction four modes are defined in the standard.
  • 8 x 8 and 4 x 4 sub-blocks nine modes are defined for each type of block.
  • the encoder typically selects the prediction mode for each block that minimizes the difference between a predicted block and the actual pixel values.
  • Mode 0 (vertical) 310 Extrapolation from upper samples (H).
  • the neighboring pixels bordering the upper edge of a block are used as a prediction for all pixels in the corresponding columns of the block. That is, for a given column in the 16x16 block, the bordering pixel in the upper vertically- adjacent block is used as the prediction for the entire column.
  • Mode 1 (horizontal) 320-Extrapolation from left samples (V).
  • the neighboring pixels bordering the left edge of a block are used as a prediction for all pixels in the corresponding rows of the block. That is, for a given row in the 16x16 block, the bordering pixel in the left horizontally-adjacent block is used as the prediction for the entire row.
  • Mode 2 330-Mean of upper and left-hand samples (H + V).
  • the neighboring pixels bordering the upper edge of a block, and the neighboring pixels bordering the left edge of the block are averaged to determine the mean.
  • the mean value is then used as a prediction for all of the pixels of the block. That is, the mean is determined of all of the bordering pixels in the left horizontally-adjacent block and in the upper vertically- adjacent block.
  • the mean of these pixels is then used as the prediction for all of the pixels of the block.
  • Each pixel in the block will then have the same prediction.
  • Mode 3 (Plane) 340 A linear plane is fitted to the upper and left-hand samples H and V. In this mode, a plane is formed. The plane is based on all of the bordering pixels in the left horizontally-adjacent block and all of the bordering pixels in the upper vertically- adjacent block. The plane provides the prediction for each pixel in the block. Note that the modes for 8x8 and 4x4 Intra-prediction can be modified in a manner that is analogous to the modification described herein of the 16x16 Intra prediction modes. Further, all 3 block sizes use additional syntax that is amenable to modification in an analogous manner to the modification of the mode.
  • the predicted block is generated with the available pixels of previously decoded neighboring blocks as specified by the Intra-prediction mode of the current block. Then, the decoded residue pixel values are added to the predicted block. The result is the final decoded pixel block.
  • B is the final decoded block of pixel values
  • P is the predicted block
  • R is the block of decoded residues
  • Bw does not equal B.
  • the difference between the original block of decoded pixel values (B) and the watermarked block of pixel values (Bw), denoted ⁇ B, will be the same as the difference between the original predicted block of pixels (P) and the watermarked predicted block of pixel values (Pw), denoted ⁇ P.
  • R2 the change be imperceptible in the reconstructed imagery
  • R3 the detection be robust to some predefined set of signal distortions.
  • the second requirement can be interpreted in many ways. We can require that the reconstructed imagery have high visual quality or that it be indistinguishable from the original, unmarked imagery, or that the perceptibility of the changes fall below some threshold which may be application dependent. There are many ways people judge the fidelity of a watermark. For the purposes of this disclosure, we allow any appropriate fidelity measure to be applied to judge whether or not, or to what extent, a proposed change meets the fidelity requirements of the application. Assessing the fidelity requirement (R2) may be done in various ways. For a given target element, we need to assess or predict the perceptual impact of replacing its original value with each of the alternative values.
  • the syntax element corresponds directly to a measurable artifact of the motion image sequence.
  • modification of a luminance block DC coefficient will directly result in a measurable change in mean luminance of the corresponding decompressed block.
  • indirect changes on the other hand the artifact measured in the image sequence is only indirectly related to the modification in the stream. For example, modification of a motion vector will result in the wrong block being used as a prediction and will therefore lead to incorrect pixel data in the corresponding decompressed block. It may be difficult to determine which motion vector was used, but the use of a different motion vector can impact other measurable artifacts.
  • the motion vector can be used to yield a reconstructed block with higher or lower mean luminance.
  • the measurable change of requirement Rl may assist in identifying the locations and in seeing what changes were made in order to recover the payload. This is particularly useful when a pirated copy is obtained. By "seeing" the changes that were made, the source of the pirated copy can be obtained.
  • the coded blocks of bits corresponding to the CAVLC coding of each of these two alternative values, along with the bit location within the CAVLC stream, are sent, as metadata, to the embedder. Based on the value of the corresponding payload bit, the embedder will replace the original block of bits with the block of bits corresponding to one or the other alternative block of bits.
  • the embedder chooses or selects the block of bits associated with the syntax value that decreases the mean luminance in the corresponding block if the payload bit is a '0' and chooses the block of bits associated with the syntax value that increases the mean luminance in the corresponding block if the payload bit is a '1'.
  • the metadata may also contain the frame number and block number in the decompressed motion image sequence where the change in luminance will be induced.
  • the preprocessing stage may also store the original mean luminance of that block in the metadata.
  • This information may be used at the time of recovery (for example, decoding) to identify the modified block and compare its mean luminance with the original value stored in the metadata.
  • a mean luminance that is higher than the original value will imply that the corresponding payload bit is a T and a mean luminance that is lower than the original value will imply that the corresponding payload bit is a O'.
  • the first and third requirements (that the change be robustly detectable) require establishing a good feature that can be reliably measured in the decoded imagery and can be modified by changing the Intra-prediction mode of a macroblock.
  • One such feature is the mean luminance of the macroblock.
  • ⁇ B is, in general, a matrix of values (that is, ⁇ B is also a block).
  • This ⁇ B may have a positive or negative average value (averaged over the block) and the magnitude of the average can vary from one mode to another.
  • the sign of the change (for example, the average value for ⁇ B) can be used to encode (embed) data.
  • the magnitude of the change can be used as an indication of the expected robustness of the change, with a large magnitude indicating more robustness against further modifications to the coded bitstream. More sophisticated measures of robustness are available and can be used.
  • a second feature that may be used to satisfy Rl and R3 is the variance of the reconstructed block of pixels.
  • DC mode (mode 2) is different from the other three Intra- prediction modes in that all the 16x16 pixel values are predicted with a single value, which is the mean of the reference pixels. It is expected that an AVC encoder will use this mode when a block is smooth in nature.
  • the variance of the resultant block (Bw) can be expected to increase with respect to the original block "B".
  • an encoder chose modes 0, 1, or 3 it is expected that this block has higher fluctuation to begin with (compared to the situation in which mode 2 was initially chosen).
  • the variance of this block Bw will generally decrease with respect to the variance of "B”.
  • the ⁇ B associated with a change of Intra-prediction mode may result in an increase or decrease in the variance of the reconstructed block Bw, and the magnitude of the variance change can vary depending on the beginning and ending modes.
  • the sign of the variance change can be used to encode (embed) data.
  • the magnitude of the variance change can be used as an indication of the expected robustness of the change, with a large magnitude indicating more robustness against further modifications to the coded bitstream. More sophisticated measures of robustness are available and can be used.
  • a table 400 lists the macroblock types ("mb-types") for I slices and provides a list of mb-type values 410 with their meanings.
  • This table 400 taken directly from the standard, is used in this implementation to find mb-type values 410 that change the Intra-prediction mode 420 without changing the coded-block-patterns 430 and 440 or the prediction block size 445.
  • mb-types macroblock types
  • This table 400 taken directly from the standard, is used in this implementation to find mb-type values 410 that change the Intra-prediction mode 420 without changing the coded-block-patterns 430 and 440 or the prediction block size 445.
  • Intra-prediction mode 420 the change of the mb-type 410 is limited to the values that differ only in Intra-prediction mode 420.
  • an original mb-type of 11 indicates that the Intra-prediction mode 420 is 2 (DC) and that the coded-block-pattern for chroma 430 and luma 440 are 2 and 0 respectively.
  • This mb-type 410 can be changed to 9, 10, or 12 to change the Intra-prediction mode 420 without changing the coded-block-patterns 430 and 440 or the prediction block size 445.
  • the mb-type is entropy coded in the bitstream. If CAVLC entropy coding is used, the mb-type is encoded with exp-Golomb code. Exp-Golomb code is a variable length coding scheme. Some special applications, such as the watermarking of authored DVD disks, require that the replacement (e.g. VLC) data have exactly the same length as the original (e.g. VLC) data. In this case, only mb-types that result in same number of (e.g. VLC) bits can be used to replace the original mb-type.
  • a table 500 is an Exp-Golomb coding table, and lists the bit string form (left-hand column) 510 and the corresponding value range of the Exp-Golomb code (right-hand column) 520.
  • Table 500 is taken directly from the standard. From this table 500, we find that, using the example from above, an mb-type of 9 requires 7 bits. This can be determined by first noting that the mb-type of 9 occurs in the range 520 given in the fourth entry 530 of the right-hand column 520 which has the value "7-14". Then we note that the corresponding (fourth) entry 530 of the left-hand column 510 shows 7 bits, which are 00 0 1 X 2 Xi X 0 . X 2 Xi xo may be assigned, for example, in order, with 000 being assigned to the value 7 and 111 being assigned to the value 14.
  • the mb-type can only be replaced with another mb-type also requiring 7 bits.
  • mb-types 9, 10, and 12 all fall in the same range (7-14) and all require 7 bits.
  • mb-types 9, 10, and 12 are all possible candidate replacement mb-types.
  • the alternative mb-type should differ only in Intra-prediction mode.
  • bit string corresponding to the alternative mb-type should be the same as that corresponding to the original mb-type (if constant bit length is required).
  • the input of the preprocessing is the AVC encoded bitstream.
  • the output is the watermarking metadata.
  • One of the first steps in processing the stream is to identify each intra-coded block, the Intra-prediction mode of which can potentially be changed. For each of these intra-coded blocks, we identify all alternative Intra-prediction modes that satisfy the bit-length requirement (if the application requires constant bit length), and that satisfy the first rule above that the corresponding alternative mb-types differ only in Intra-prediction mode. Assuming a particular detection measure (such as, for example, the luminance mean, or variance of a block as previously discussed), an additional step is to gather the original detection value and all the alternative detection values.
  • a particular detection measure such as, for example, the luminance mean, or variance of a block as previously discussed
  • a “detection value” is a value (a number) of the detection measure that results from the encoding. For example, the value of the luminance mean for a block.
  • An alternative detection value is the value that would result from using each of the alternative Intra- prediction modes.
  • a process 600 illustrates an embodiment for determining detection values when mean luminance is used as a detection measure.
  • One or more detection values may be determined for a given block. For example, if there are multiple alternatives for a given block, a detection value may be determined for each alternative. Typical implementations optimize among the determined detection values. Such optimization may include, for example, selecting the best alternative for each block, and then selecting the top ten from among these best alternatives. This example results in picking the ten blocks with the best detection values, where "best" is determined according to a selected measure, for example.
  • Another implementation considers, for a given block, pairs of alternatives, and selects the best pair for each block, as is explained further below.
  • the process 600 includes calculating the mean luminance of an intra-prediction coded block 610. This is the original detection value, and the mean luminance may be calculated from the sum of the prediction and the decoded residue as discussed earlier with respect to Equation 3-1.
  • the process 600 then includes calculating the mean luminance of the intra-prediction coded block for each alternative intra-prediction mode 620. Operation 620 uses the alternative mode for the prediction.
  • the mean luminance may be calculated using, for example, the prediction with or without the existing residue data.
  • the process 600 stores the frame number (or, more generally, the picture number), the block location, and all of the mean luminances 630.
  • These mean luminances include the mean luminance resulting from the original intra-prediction mode (operation 610) and the mean luminance(s) resulting from the alternative intra-prediction mode(s) (operation 620).
  • the process 600 proceeds to the next intra-prediction coded block 640 and repeats the operations 610-630.
  • the process 600 is performed for all intra-prediction coded blocks in a given picture.
  • an intra-prediction coded block may be, for example, a block from an intra-coded picture (for example, an I frame), or a block from an inter-coded picture (for example, a P frame) if that block is intra-coded.
  • an implementation may make a determination directly as to which locations and which alternative replacement values should be used to provide watermarking.
  • Various decision processes may be used. Below we discuss an implementation of one such process.
  • the implementation discussed below uses, for example, the information gathered in the process 600 to select locations and alternative values that meet, for example, the requirements Rl, R2, and R3 listed earlier.
  • the key properties to a watermarking algorithm are typically the robustness (R3, above) and the fidelity (R2, above). Fidelity is also referred to as the imperceptibility. Often, these two properties of robustness and fidelity contradict each other. We introduce an analytical method to specify a balance between these two. Let C F represent the fidelity cost.
  • Cp is defined such that the more visible the watermark, the larger the value. We would like to make changes that have very low fidelity cost. There are many methods for measuring Cp, and a user may select the method/measure best suited to a particular application—the present implementation is independent of the selection.
  • C R represent the robustness cost.
  • C R is defined such that changes resulting in weaker robustness have a higher robustness cost.
  • Weaker robustness means, for example, that the changes can become undetectable more easily. For example, if a picture is decoded and the pixel data is filtered, some changes may become weakened and possibly become undetectable. Again, we seek to make changes that have a lower robustness cost.
  • the parameter ⁇ restricted to the range of 0 to 1, is used to control the tradeoff between fidelity and robustness. A larger value of oc places more emphasis on fidelity while a lower value of ⁇ places more emphasis on robustness.
  • the cost C for each alternative prediction mode can be calculated. Those for which C exceeds a threshold can be discarded.
  • an implementation may additionally use, for example, a threshold level for C F - For example, in one implementation, the value of C F for an alternative prediction mode is compared to a threshold. If the value of C F is greater than the threshold, then the alternative prediction mode will not be accepted as a possible replacement for the original prediction mode.
  • 16x16 macro-blocks are used.
  • a 16x16 Intra-predicted macro-block there are three available alterative Intra-prediction modes and the original mode.
  • all of the different Intra-prediction mode values are valid alternatives in that we can change the mode to any one without changing the coded-block-patterns or the coded bit length (if constant bit length is required).
  • a review of FIGs. 4-5 will reveal that this assumption is not always met, but the assumption is useful for clarity and simplicity of the current discussion.
  • the detection measure is the mean luminance of the block.
  • a first mode will be used to represent a T and a second mode will be used to represent a 1 O'.
  • a prediction mode resulting in a lower mean luminance will be used to represent bit '0' and a prediction mode resulting in a larger mean luminance will be used to represent bit T.
  • C F and C R the fidelity and robustness costs, associated with selection of each pair combination. Those costs can then be used to compare each to the application requirements. For each pair combination, the C F and C R are evaluated as follows.
  • ⁇ Bo and ⁇ Bi denote the pixel differences between the watermarked block and the original block if bit '0' or bit T is embedded, respectively. If the original Intra-prediction mode is used to represent a 'O' or a 1 I' bit, the corresponding ⁇ B is simply all zeros. In such a case, the fidelity cost depends only on the other mode that is selected. Assuming that there are K available pairs, the fidelity cost of pair k can be obtained by:
  • the function F( • ) incorporates any fidelity measure as discussed above (for example, the Watson model) and k is an index running from 1 to K.
  • this fidelity function will evaluate ⁇ Bo and ⁇ Bi independently, obtaining a fidelity cost value for each, and will return the larger of the two values, representing the "worse" fidelity of the two or the sum of the two values.
  • the fidelity measure may also be, in part or whole, a subjective measure based on user evaluation.
  • Lo and Li denote the luminance (a single value in this implementation) of the block if bit '0' or bit '1 ' is embedded, respectively.
  • BIkSz denote the Intra-prediction block size.
  • the robustness cost can be measured as a function of LQ 1 L I1 and BIkSz. For a given luminance (or luminance change), a larger blocksize may provide for increased robustness.
  • the robustness cost of pair k can be obtained by:
  • the function G( • ) is any robustness measure as discussed above (for example, the magnitude of the variance change or the mean luminance change). Again, a typical robustness measure will evaluate the robustness of each change independently and return the larger of the two costs or the sum of the two costs.
  • the pair with minimum cost can be selected for that block and the corresponding cost can be assigned to C, the cost of changing the block.
  • the block selection process can be simply picking blocks having the smallest watermarking costs based on the payload requirement. For example, if there are 10 payload bits, then the 10 blocks with the smallest watermarking cost can be selected.
  • the 10 payload bits of this example may be generated, for example, by encoding one or more payload symbols to increase robustness.
  • Another implementation does not encode payload symbols/information to increase robustness, but merely represents the payload information in binary form as payload bits.
  • the watermarking embedding metadata 105 contains the bit offsets identifying the location where, in the bitstream, each modification will take place and the values to be used in the case that the payload bit is a 1 O 1 or a T.
  • the bit offset identifying the location where, in the bitstream, each modification will take place and the values to be used in the case that the payload bit is a 1 O 1 or a T.
  • the preprocessing stage writes detection metadata (also shown in FIG. 1). This includes the frame number (or, more generally, picture number) and block location of each change as well as the expected luminances (or other detection measure) of the watermarked block if it represents bit 1 O' and T. Also note that implementations may include the embedding metadata in the detection metadata to allow for detecting the presence of watermarking information in a stream prior to decoding.
  • detection may be performed at the bitstream level, in lieu of or in addition to performing detection at the pixel level.
  • it can be determined what payload bits are embedded at the designated bit offsets.
  • the resulting (encoded) bitstream may be completely different from the original (encoded) bitstream.
  • the re-encoding may use (as indicated earlier) different block sizes or modes. In such a case, detection of the watermark from the bitstream may be impossible, but detection of the watermark from the pixels (after decoding the new bitstream) is possible if the watermark was robust enough.
  • a process 700 provides an implementation that determines the watermarking metadata (embedding and detection) for 16x16 intra-prediction coded macroblocks using a cost approach.
  • the process 700 includes the basic features of the process 600. That is, the process 700 of determining watermarking metadata for macroblocks includes determining detection values for those macroblocks.
  • the process 700 may be performed, for example, for a given set of macroblocks in a picture, or for all macroblocks in a picture, or for all macroblocks in a sequence of pictures. In the following discussion of the process 700, an implementation is assumed in which the process 700 is performed for all macroblocks in a picture.
  • the process 700 includes looping (710) over all 16x16 macroblocks in the picture, and performing a set of operations (720-750) for each 16x16 macroblock that uses a 16x16 intra-prediction mode (see, for example, FIG. 4).
  • the set of operations includes operations 720-750.
  • the possible alternative intra-prediction modes are determined (720).
  • the alternatives must satisfy the requirements that the coded-block patterns (430 and 440) and the prediction block size (445) remain the same, and the coded bit length of the macroblock type (410) remains the same (see FIG. 5).
  • the total cost is determined (730). In one implementation, determining the total cost involves calculating the fidelity cost and the robustness cost using the sequence of equations described above.
  • a group of modes may be, for example, a pair of modes as discussed earlier, or some other combination of modes.
  • the best possible alternative intra-prediction mode, or group of modes, is determined (740).
  • the best is determined using a minimization function such as in Equation 4-4 above, which selects the pair with the minimum total cost.
  • Other implementations use different functions to determine the best possible alternative, and also may identify multiple "best" possible alternatives.
  • the "best" possible alternative is a pair.
  • the pair may include one alternative, or two alternatives. In typical implementations of the process 700, if there are no possible alternative intra-prediction modes, then there is no "best" mode.
  • the embedding metadata and the detection metadata are stored for the best possible alternative intra-prediction mode or group of modes (750).
  • the embedding metadata includes the bit offset into the stream and the coded alternative macroblock type(s), in which the alternative macroblock type(s) corresponds to the best possible alternative intra-prediction mode(s).
  • the detection metadata includes the picture number (or frame number), the macroblock location, and the original and alternative detection values or some other reference detection value.
  • the detection values may be computed during the operation 730 of calculating the total cost. For example, the detection values may be determined in the process of calculating a robustness cost.
  • Various implementations reduce, or more generally filter, the metadata prior to, or subsequent to, storing the metadata.
  • the best alternative mode (or group of modes) for each block are rank ordered and only the top one-hundred are kept and stored because there are only one-hundred payload bits.
  • a second implementation specifies a minimum number of unchanged bits that must be between any two changes in the bitstream. This criterion in the second implementation may, for example, preclude using the best alternative modes for two adjacent blocks.
  • a third implementation specifies the size (in number of bits) of each particular change in the entropy-encoded bitstream. This criterion in the third implementation may, for example, dictate the size of the entries in the embedding metadata.
  • the metadata is only stored for the best alternative mode (or group of modes) if this best alternative also satisfies the requirements Rl, R2, and R3. Further, implementations may combine these and other criteria.
  • embedding metadata includes the locations in the compressed bitstream where the original coded block of bits can be found and two blocks of bits, one to be used as a replacement block if the corresponding payload bit is a '0' and the other to be used as a replacement block if the corresponding payload bit is a T.
  • one of these blocks is itself the original block of bits and the other is an alternative block of bits.
  • the list of changeable syntax elements can include those for which there is only one acceptable alternative value.
  • the two blocks are both alternative blocks of bits corresponding to different syntax values. In this case, the list of changeable syntax elements can only include those for which there are at least two acceptable alternatives.
  • detection metadata includes the embedding metadata. With such information, the payload can be recovered directly from a watermarked coded bitstream.
  • detection metadata additionally or alternatively includes the location in the decompressed motion image sequence where the bitstream modification will be detectable. This may be specified as a frame or picture number and a block number, macroblock number, pixel position, or any other locator required for recovery.
  • the detection metadata also may include an indication of the detection value associated with a payload bit of "0" and a payload bit of "1" or some other reference detection value.
  • Detection metadata can also include the value of the detection measure that would have been measured if no change had been made. In other words, this can include the original value of the detection measure.
  • the detection measure is the mean luminance of a particular block and the detection data can include the original mean luminance of that block. By including the original value, the detection process can ascertain whether the detection value has increased or decreased as a result of the watermarking. In one implementation, determining the metadata is performed during pre-processing.
  • detection data may also be saved for blocks that are not expected to be modified by the watermarking process.
  • the detection data may include the original mean luminance of blocks not changed by the watermark.
  • the detector can then use these as a reference to determine if the entire image, or at least the part of the image in the region of the reference, has experienced a change in luminance. If the measured luminance in the reference blocks does not match that recorded in the detection data, a compensation can be made prior to recovery of the payload. For example, the compensation to a mean luminance measure could be added to all stored detection values
  • a process 800 provides a general implementation that determines embedding metadata based on a reference.
  • the process 800 thus has some similarity in functionality with the process 700.
  • the process 800 includes accessing variable-length encoded data that includes a reference indicator (810). That is, the variable-length encoded data includes an encoding (the reference indicator) of information identifying an actual reference used to predictively encode an image.
  • the reference indicator which is the encoding of the information identifying the actual reference, has a particular value.
  • the reference indicator is the encoding of a value of the macroblock type field that identifies, through the corresponding intra-prediction mode, the reference used to predictively encode a macroblock.
  • the process 800 includes determining a location in the variable-length encoded data of the reference indicator (820). The location is used, for example, in creating the embedding metadata.
  • the process 800 also includes determining an alternative value for the reference indicator (830). The alternative value is different from the particular value.
  • the alternative value is an encoding of alternative information that identifies a different reference different from the actual reference. All or part of the process 700 may be used, for example, in performing the operation 830. In one or more previously described examples, the alternative value is the encoding of a different value for the macroblock type field.
  • the process 800 may include various additional operations, such as, for example, designating the alternative value as a substitute (a watermark) for the particular value, evaluating the effectiveness of the alternative value as a watermark, or creating embedding metadata.
  • an implementation may select a subset of macroblocks to change. This selection is typically based on the payload requirements of the application, and any data coding applied to the payload. The selection is typically informed by the costs of each change (for example the fidelity and robustness costs as previously described). Usually, the selection will favor lower cost changes, hi one implementation, the macroblocks are ranked according to the total cost for the best possible alternative for each macroblock (730 and 740).
  • the macroblocks with the lowest total cost are selected for watermarking with the payload data.
  • a process 900 is shown that describes an implementation for inserting replacement values, such as, for example, inserting a watermark.
  • the process 900 includes accessing a payload (910).
  • the accessed payload may be in bits or other symbols.
  • the payload is in bits or is converted into bits. Additionally, the payload may be encoded.
  • the process 900 includes determining the replacement locations and replacement values (920). Operation 920 may be performed using, for example, the process 700, followed by a ranking process as just described. Operations 910 and 920 may be performed in either order.
  • one implementation performs operation 910 first and also determines the number of payload bits, and then determines only the needed locations in operation 920 by, for example, selecting only the top ranking macroblocks until all payload bits have been assigned a macroblock.
  • the operation 920 may be influenced by various other implementation requirements such as, for example, those discussed with respect to FIG. 7. hi at least one implementation, all or part of operation 920 is performed during a pre- processing stage. For example, in a pre-processing stage, a table may be prepared that includes embedding metadata. Then, in operation 920, the replacement values and locations may be determined by accessing the table.
  • the process 900 further includes inserting the replacement values, at the replacement locations (930) to provide, for example, a watermark. Inserting the replacement values involves replacing the existing coded data with the replacement values. The modified data may then be stored or transmitted, for example. These replacement actions are typically informed by a coded payload.
  • a process 1000 is shown that describes a general implementation for inserting substitute values based on a reference.
  • the process 1000 thus has some similarity in functionality with the process 900.
  • the process 1000 includes accessing variable-length encoded data that includes a reference indicator (1010). That is, the variable-length encoded data includes an encoding (the reference indicator) of information identifying an actual reference used to predictively encode an image.
  • the reference indicator which is the encoding of the information identifying the actual reference, has a particular value.
  • the reference indicator is the encoding of a value of the macroblock type field that identifies, through the corresponding intra-prediction mode, the reference used to predictively encode a macroblock.
  • the process 1000 includes accessing an alternative value for the reference indicator
  • the alternative value is different from the particular value.
  • the alternative value is an encoding of alternative information that identifies a different reference different from the actual reference.
  • the alternative value may be, for example, accessed from storage or computed in real-time.
  • An implementation may, for example, access the alternative value from a table that is indexed by a location of the reference indicator.
  • the process 1000 includes inserting the alternative value as a substitute for the reference indicator (1030).
  • the alternative value is inserted into the variable-length encoded data to watermark the image.
  • the process 1000 may include various additional operations, such as, for example, storing or transmitting the modified variable- length encoded data.
  • All or part of the data identifying locations of coded elements and possible replacement values, as accessed by 1020, can be stored on a storage device, or sent electronically.
  • One implementation stores the locations and values on an apparatus such as a DVD, a hard disk, or other storage device.
  • the apparatus includes a processor-readable medium having information stored thereon. The stored information identifies a replacement value for a portion of an encoded set of data.
  • Another implementation provides a signal formatted to include the information that is stored on a processor-readable medium of this apparatus.
  • Additional implementations are directed to the result of various processes, such as, for example, results of the process 900 or the process 1000.
  • one implementation is an apparatus such as a DVD, a hard disk, or other storage device that includes modified encoded data
  • another implementation is a signal formatted to include such modified encoded data.
  • one implementation is an apparatus that includes a processor-readable medium, the processor-readable medium having stored thereon encoded data including a modified portion.
  • Another implementation is a signal formatted to include the encoded data that is stored on the processor-readable medium of this apparatus.
  • reference information means information that identifies a reference in some way.
  • a reference refers generally to a set of information that is used as a basis for a prediction.
  • a reference identifier generally refers to information that identifies a reference.
  • a reference may be identified by an intra-prediction mode of a block because the intra-prediction mode identifies the pixels used as the basis for a prediction of a current block. The intra-prediction mode also identifies the manner in which those identified pixels are used.
  • a reference also may be identified by, for example, a motion vector, or an indicator of a previous frame or macroblock that is used as a basis for a prediction. Note that a given macroblock may have multiple reference identifiers and multiple references.
  • a reference, and/or a reference identifier may exist for intra- predicted blocks and inter-predicted blocks.
  • Intra-predicted blocks may use a reference identifier such as, for example, an intra-prediction mode or a macroblock type (which identifies the intra- prediction mode), and the reference may be, for example, a block or a set of pixels from the same picture.
  • Inter-predicted blocks may use a reference identifier such as, for example, a motion vector, and the reference may be all or part of a different picture.
  • the goal of information embedding is to modify a subset of the syntax elements on the list of all changeable syntax elements, changing their values from their original values to one of the listed acceptable alternative values, in accordance with the payload. In one practical implementation, this is accomplished in three steps as shown above in FIG. 9.
  • the payload can be recovered from the AVC bitstream with the aid of the detection metadata.
  • the detection metadata indicates the specific syntax elements that represent the payload information and the original values of those elements. If the embedding process used the original values to represent a 1 O 1 and the alternative value to represent a 1 I', the detector can compare the value in the bitstream with the original value stored in the detection data. If they match, the detector reports a '0' bit. If they do not match, the detector reports a T bit. If the embedding process replaced the original value with one of two alternative values, those two alternative values and their corresponding labels are recovered from the detection data. The detector then compares the value in the bitstream with one or more of the two alternatives and reports the corresponding label.
  • the payload data can also be recovered from the decoded pixel-domain imagery. This process is specific to the particular measure used in the subset selection process.
  • the measure is the mean luminance of a block of pixels.
  • the original mean luminance of each modified block is recovered from the detection data.
  • the detector calculates the mean luminance of the specified block of pixels in the decoded image sequence and compares that value to the original value stored in the detection data. If the calculated value is higher than the original value, the detector reports a T bit. If the calculated value is lower than the original, the detector reports a '0' bit.
  • Such an implementation stores the location and original value in the detection data, but does not need to store the expected detection values for a '0' bit or a T bit.
  • This recovery method could have problems if the decoded imagery is modified by a uniform change in luminance after decoding, but prior to detection.
  • the mean luminance of a number of reference blocks can be stored in the detection data. These are blocks that are not changed by the embedding process.
  • the detector can calculate the mean luminance of the reference blocks just prior to recovery and discover any luminance changes that are unrelated to the embedding process. These luminance changes can be compensated by adjusting the original values accordingly. At least one implementation adjusts for non-uniform luminance changes by using a reference block close to the watermarked block.
  • information embedding may include a variety of applications.
  • One such application is watermarking in which a payload is embedded in a datastream.
  • various information embedding applications may use different requirements. For example, it may be desirable to make a change to the datastream that results in a change that is perceivable by a user.
  • a general process 1100 for recovering payload information, or more generally, for detecting a watermark.
  • the process 1100 may be applied to, for example, a coded and watermarked bitstream, or baseband data from a decoded watermarked bitstream.
  • the process 1100 includes determining a location to check for a possible watermark
  • the process 1100 includes accessing (1120) and analyzing (1130) data from the determined location.
  • the process 1100 further includes identifying the watermark information, if any watermark exists, based on the analysis (1140).
  • the identified watermark information may be, for example, a sequence of bits (or other unit of information) or a detection value determined for a macroblock (or other unit of a picture).
  • the process 1100 may be repeated for one or more other locations to identify one or more additional bits that make up a payload. Thus, an entire payload may be recovered using the process 1100.
  • Implementations of the process 1100 include analyzing a modified bitstream as well as analyzing baseband data (for example, pixel domain data or audio data). For example, a bitstream may be modified by modifying bits associated with a target element, according to one of the implementations previously described. A watermark may be detected in such a bitstream by accessing the appropriate bit locations and testing for the modification at those locations. The bit locations and modified values (or possible modified values), such as found in the embedding metadata, may also be included in the detection data.
  • such a modified bitstream may be decoded and possibly subject to other processing, including re-encoding.
  • re-encoding such a re-encoded bitstream will not be expected to include the same modified target element, at the same location, as in the original modified bitstream.
  • the re-encoded bitstream may be decoded to produce a baseband (for example, pixel-domain or audio clip) digital representation in which an effect of the original modification is still typically present.
  • baseband for example, pixel-domain or audio clip
  • the target element may have originally been a motion vector for a particular block, and the impact of modifying the motion vector may have been an increase in the mean luminance of that particular block or set of blocks. That increase in mean luminance may be preserved despite the processing of the original modified bitstream.
  • the motion vector, and the original change to the motion vector will typically not be exactly the same after re-encoding.
  • a process 1200 that describes an implementation of the process 1100 for specific use with baseband imagery (that is, pixel data) and including specific operations tailored to baseband imagery.
  • baseband imagery that is, pixel data
  • the process 1200 includes accessing baseband imagery (1205), and optionally performing temporal and/or geometric registration (1210). Registration may be necessary because the detection metadata may describe each change by, for example, frame number and block position within the frame. Accordingly, registration facilitates the proper identification of the frame number and block. There are many approaches for obtaining this registration, and the implementation is independent of the registration approach, so various approaches may be used.
  • the process 1200 includes accessing the detection metadata (1215).
  • Each entry in the detection metadata may define a change by, for example, its frame position and block within the frame.
  • a loop (1220) is performed that may generally be defined to include operations 1225-1245.
  • the corresponding block of pixel data is extracted from the baseband imagery (1225). From the extracted block, the detection feature is measured, calculated, or otherwise determined (1230).
  • the detection feature is the mean luminance, and in another example the detection feature is the variance.
  • the process 1200, and the loop (1220) includes comparing the determined detection feature to the detection metadata (1235).
  • This comparison includes, in one implementation, comparing the determined feature, for example a mean luminance value, to two mean luminance values in the detection metadata. The best match is selected and its corresponding symbol is output (1240).
  • One implementation identifies the best match as the stored detection value that is closest to the determined detection feature. Other implementations may apply, for example, a non-linear evaluation to determine the best match.
  • the process 1200, and the loop (1220) further includes looping back to go the next intra-prediction coded block that is indicated in the detection metadata (1245).
  • the loop (1220) repeats for all blocks indicated in the detection metadata.
  • Each iteration through the loop (1220) outputs a symbol from the operation (1240), and the result is a symbol stream (1250).
  • the symbol stream is, optionally, decoded (1255). Note that implementations need not have encoded the payload bits. If a data coding process was applied to the payload (for example, as in data coder 120 in FIG. 1), then the corresponding data decoding process is applied to the symbol stream yielding the recovered payload which is referred to as the payload estimate (1260).
  • the payload estimate (1260) corresponds to the decoded symbol stream, or (if the payload was not coded) to the symbol stream.
  • the symbols output from the operation (1240) are bits, but other implementations may encode symbols other than bits.
  • an embedder can add a number of reference entries into the detection information.
  • a reference entry lists a frame number, block position, and original luminance value of the block for a block that is not affected by the watermarking process.
  • the detector can read out the reference values and compare these to the corresponding values seen in the baseband imagery.
  • the baseband imagery can then be adjusted (perhaps during registration) such that the measured luminance in the reference blocks matches that listed in the detection metadata file.
  • the detection metadata may include location information identifying the locations to check for a possible watermark.
  • the location information may include, for example, a frame identifier and/or a block identifier.
  • Detection metadata may include, for example, a benchmark value for a feature.
  • the benchmark may be, for example, the value of the feature before the location was modified.
  • the benchmark may be, for example, compared to the actual value (the new benchmark) of the feature for the accessed location (1120) to provide an indication of the change. For example, the comparison may indicate whether the value (the benchmark) has increased or decreased as a result of the modification.
  • Detection metadata may include, for example, a base value for a feature from a different (non-watermarked) location. Such a base value may be, for example, the mean luminance of a non-watermarked location. The base value may be used, as explained earlier, to determine if there was a change to the data that affected more than the watermarked location.
  • the base value can then be compared to the new value of the feature at the non-watermarked location (a new base value). If the difference is more than a threshold, then it may be determined that a global change occurred.
  • the difference may simply be taken to be a global difference, and the difference may be added to the value (the new benchmark) determined for the (possible) watermarked location to account for the global change. Note that in this alternative, the difference may (alternatively) be added to the benchmark instead of the value (the new benchmark).
  • a ratio may be determined between the base value and the new base value, and either the benchmark or the new benchmark may be multiplied by the ratio.
  • a system 1300 provides a player 1305 for watermarking video (other types of content may also be watermarked) using pre-prepared embedding information (referred to as embedding metadata).
  • the watermarked video is provided for display.
  • the system 1300 also provides for re-encoding the video that is provided for display, such as may occur, for example, when an unauthorized copy of the video is re- encoded.
  • the system 1300 further provides for decoding the re-encoding, and for detecting the original payload at one or more points in the overall system.
  • the system 1300 also serves as a flow chart for one or more processes.
  • the player 1305 includes a payload 1310, a video 1315, and embedding metadata 1318.
  • the player 1305 includes a watermarking unit 1320 that receives the payload 1310, the video 1315, and the embedding metadata 1318, and that provides a watermarked video.
  • the payload may be detected from the watermarked video by a payload detector 1345.
  • the player 1305 includes an entropy decoder 1325 that receives the watermarked video and performs entropy decoding.
  • the player 1305 further includes a predictive decoder 1330 that receives the entropy decoded stream from the entropy decoder 1325 and performs predictive decoding to produce a pixel-domain image 1335.
  • the pixel-domain image may be provided to a display 1355, or to a payload detector 1350 that operates on baseband data.
  • the pixel-domain image also may be provided to a predictive re-encoder 1360 followed by an entropy re-encoder to re-encode the pixel-domain image into an encoded output 1370.
  • the encoded output 1370 may be, for example, an AVC-compatible bitstream.
  • the encoded output 1370 may be stored, for example, on a recordable medium for distribution.
  • the predictive re-encoder 1360 and the entropy re-encoder 1365 may be part of a device that is separate from the player 1305 and that is for producing unauthorized copies of content (represented by the output 1370).
  • the encoded output 1370 may be provided, for example, to an entropy decoder 1380 (which may be the same as the entropy decoder 1325) followed by a predictive decoder 1385 (which may be the same as the predictive decoder 1330) to decode the encoded output 1370 into a pixel-domain image 1390.
  • the pixel-domain image 1390 may be provided to a display 1392 and/or to a payload detector 1395 (which may be the same as payload detector 1350).
  • the entropy decoder 1380 and the predictive decoder 1385 may be part of a device separate from the player 1305 and the predictive re-encoder 1360 and the entropy re-encoder 1365.
  • one such separate device may be geographically located at a payload detection facility that receives and analyzes unauthorized copies (represented by the output 1370) of content.
  • process 900 may be performed by a variety of devices, including processing devices. Such devices may also include a storage device for storing data, such as, for example, the accessed data, the benchmark value, the base value, and the location(s) of possible watermark information. Further, the process 900, or other processes described in this application, may be embodied in a set of instructions as well.
  • Applications include, for example, watermarking discs such as, for example, DVDs or other discs, and watermarking digital streams.
  • Watermarking of discs may be performed in various manners, for example, at duplication of the discs.
  • Watermarking of digital streams may also be performed in various manners, for example, at playback, broadcast, download, or other transfer of a digital stream.
  • a coded bitstream could be modified for purposes other than watermarking.
  • One example includes embedding a message intended for a viewer to see. Further, the message could be varied based on a payload or other criterion.
  • the described implementations focused primarily on variable length coding, other applications may apply the same concepts to other coding techniques.
  • Replacement values need not be inserted at this stage, but may be stored, for example, in a data structure (for example, a table) for future insertion.
  • a data structure for example, a table
  • Decoding the modified content of item 4 above to produce baseband data such as, for example, pixel data (if images are encoded) or audio data (if audio is encoded).
  • baseband data such as, for example, pixel data (if images are encoded) or audio data (if audio is encoded).
  • the decoded content itself from item 5 above, which is modified content that may include a watermark.
  • the decoded content may be, for example, in a data structure, a signal conveying the decoded content, or a processor-readable medium storing at least temporarily the decoded content.
  • the baseband data may be, for example, in a data structure, a signal conveying the baseband data, or a processor- readable medium storing at least temporarily the baseband data.
  • headers are used for various sections of this disclosure, then the header of a given section is not to be construed as limiting the disclosure of that section to the topic of the header, nor as limiting the disclosure of other sections to topics other than that of the header.
  • Such headers are exemplary, and are intended as a general aid to the reader.
  • Such headers are not intended to constrain the flow of the disclosure nor to restrict the applicability or generality of the disclosure.
  • a watermark as used in this application, may refer to various items. For example, a watermark may refer to data modified or inserted to allow subsequent detection, or to the resulting baseband modification.
  • a syntax element may represent one or more of various different types of information.
  • a syntax element may be a motion vector, a residue DCT coefficient, a macroblock type, a quantization parameter, or a flag.
  • syntax elements need not all have the same length but can have various different lengths.
  • Various implementations disclosed in this application may work on any type of syntax element, regardless of what type of information is represented by the syntax element and regardless of the size/length of the syntax element.
  • Two devices or components are said to be coupled if the two devices are directly connected or indirectly connected.
  • Directly connected devices have no intervening devices between the connected devices.
  • Indirectly connected devices have one or more intervening devices between the connected devices.
  • AVC Advanced Video Coding
  • the implementations described herein may be implemented in, for example, a method or process, an apparatus, or a software program. Even if only discussed in the context of a single form of implementation (for example, discussed only as a method), the implementation of features discussed may also be implemented in other forms (for example, an apparatus or program).
  • An apparatus may be implemented in, for example, appropriate hardware, software, and firmware.
  • the methods may be implemented in, for example, an apparatus such as, for example, a processor, which refers to processing devices in general, including, for example, a computer, a microprocessor, an integrated circuit, or a programmable logic device. Processing devices also include communication devices, such as, for example, computers, cell phones, portable/personal digital assistants ("PDAs”), and other devices that facilitate communication of information between end-users.
  • PDAs portable/personal digital assistants
  • Implementations of the various processes and features described herein may be embodied in a variety of different equipment or applications, particularly, for example, equipment or applications associated with data encoding and decoding, or equipment or applications associated with content production.
  • equipment include video coders, video decoders, video codecs, web servers, set-top boxes, laptops, personal computers, cell phones, PDAs, and other communication devices.
  • the equipment may be mobile and even installed in a mobile vehicle.
  • the methods may be implemented by instructions being performed by a processor, and such instructions may be stored on a processor-readable medium such as, for example, an integrated circuit, a software carrier or other storage device such as, for example, a hard disk, a compact diskette, a random access memory ("RAM"), or a read-only memory (“ROM").
  • the instructions may form an application program tangibly embodied on a processor-readable medium. Instructions may be, for example, in hardware, firmware, software, or a combination. Instructions may be found in, for example, an operating system, a separate application, or a combination of the two.
  • a processor may be characterized, therefore, as, for example, both a device configured to carry out a process and a device that includes a processor-readable medium having instructions for carrying out a process.
  • implementations may also produce a signal formatted to carry information that may be, for example, stored or transmitted.
  • the information may include, for example, instructions for performing a method, or data produced by one of the described implementations.
  • a signal may be formatted, for example, as an electromagnetic wave (for example, using a radio frequency portion of spectrum) or as a baseband signal.
  • the formatting may include, for example, encoding a data stream and modulating a carrier with the encoded data stream.
  • the information that the signal carries may be, for example, analog or digital information.
  • the signal may be transmitted over a variety of different wired or wireless links, as is known.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

Various implementations are provided for, for example, determining watermarking data, performing the watermarking, and processing watermarked data. At least one implementation watermarks AVC bitstream that uses CAVLC entropy coding. The watermarking data may be determined in a pre-processing stage and stored for later use in watermark a bitstream. One method accesses (810) variable-length encoded data including an encoding of information identifying an actual reference used to predictively encode an image. The encoding of the information has a particular value. The method determines (830) an alternative value that is different from the particular value, such that the alternative value is an encoding of alternative information that identifies a different reference from the actual reference. The alternative value is for use in watermarking the variable-length encoded data.

Description

MODIFYING A CODED BITSTREAM
CROSS-REFERENCE TO RELATED APPLICATIONS
This application claims the benefit of each of (1) U.S. Provisional Application Serial No. 60/934,634, titled "Modifying a Coded Bitstream", and filed June 14, 2007 (Attorney Docket PU070137), and (2) PCT Application No. PCT/US2007/023172, titled "Modifying a Coded Bitstream", and filed November 2, 2007 (Attorney Docket PU070063). Each of these priority applications are hereby incorporated by reference in their entirety.
BACKGROUND
Technical Field
At least one implementation described herein relates to coding.
Description of the prior art Watermarking typically involves modifying a portion of data in such a way that the watermark can be detected at a later time. Various different types of data can be watermarked, including coded data. However, coding schemes are advancing and existing mechanisms for modifying coded data may not provide desired watermarking capabilities for such advancing coding schemes.
SUMMARY
According to a general aspect, variable-length encoded data is accessed that includes an encoding of information identifying an actual reference used to predictively encode an image, the encoding of the information having a particular value. An alternative value is determined that is different from the particular value, such that the alternative value is an encoding of alternative information that identifies a different reference from the actual reference. The alternative value is for use in watermarking the variable-length encoded data.
According to another general aspect, an entropy decoder is for decoding variable- length encoded data including an encoding of information identifying an actual reference used to predictively encode an image. The encoding of the information has a particular value. A watermark generator is coupled to the entropy decoder and is for determining an alternative value that is different from the particular value, such that the alternative value is an encoding of alternative information that identifies a different reference from the actual reference. The alternative value is for use in watermarking the variable-length encoded data.
According to another general aspect, watermark data is for use in watermarking variable-length encoded data that includes an encoding of information identifying an actual reference used to predictively encode an image. The encoding of the information has a particular value. The watermark data includes an alternative value that is different from the particular value, such that the alternative value is an encoding of alternative information that identifies a different reference from the actual reference. The alternative value is a substitute for the particular value for use in watermarking the variable-length encoded data. According to another general aspect, variable-length encoded data is accessed that includes an encoding of information identifying an actual reference used to predictively encode an image. The encoding of the information has a particular value. An alternative value is accessed that is different from the particular value, such that the alternative value is an encoding of alternative information that identifies a different reference from the actual reference. The alternative value is inserted into the variable-length encoded data as a substitute for the particular value to watermark the image.
According to another general aspect, variable-length encoded data is for an encoding of an image. The variable-length encoded data includes an encoding of information identifying an alternative reference that is different from the actual reference used to predictively encode the image. The information identifying the alternative reference provides a watermark for the image.
According to another general aspect, variable-length encoded data for an encoding of an image is decoded. The variable-length encoded data includes an encoding of information identifying an alternative reference that is different from an actual reference used in predictively encoding the image. The information identifying the alternative reference provides a watermark for the image.
According to another general aspect, a pixel-domain image includes a detectable feature arising from a watermark of a variable-length encoding of one or more syntax elements from a predictive encoding of the image. The variable-length encoding included an encoding of information identifying an alternative reference that is different from an actual reference used in predictively encoding the image. The information identifying the alternative reference provided the watermark for the image.
According to another general aspect, a predictive encoding of a watermarked version of an image is variable-length encoded. The variable-length encoded data includes an indicator of a current reference used in encoding the watermarked version of the image and an indicator of a resulting residue. The watermarked version of the image has a detectable characteristic that provides a watermark. The detectable characteristic results from (1) modifying a previous variable-length encoding of a previous predictive-encoding of the image, the previous predictive-encoding being based on a previous reference and including information identifying the previous reference, wherein the modifying includes distorting the information in order to indicate an alternative reference and to provide the detectable characteristic for the image, and (2) decoding the previous variable-length encoding and the previous predictive-encoding of the image to produce the watermarked version of the image in which the detectable characteristic is present.
According to another general aspect, information is accessed that identifies a location in variable-length encoded data at which a variable-length encoding of information is located. The information identifies one of at least two references associated with a predictive encoding of an image. The encoding of the information is accessed at the location in the variable-length encoded data. It is determined, based on the encoding of the information, which of the at least two references is identified. Payload information is determined based on a result of determining which of the at least two references is identified.
According to another general aspect, a pixel-domain image is accessed that includes a detectable feature arising from a watermark of a variable-length encoding of one or more syntax elements from a predictive encoding of the image. The variable-length encoding included an encoding of information identifying an alternative reference that is different from an actual reference used in predictively encoding the image. The information identifying the alternative reference provided the watermark for the image. Detection metadata is accessed that indicates a location in the pixel-domain image at which the detectable feature is located. The pixel-domain image at the location is analyzed to determine a value for the detectable feature. Additional detection metadata is accessed that indicates a comparison value for the detectable feature. The determined value for the detectable feature is compared with the comparison value. Payload information is determined based on a result of the comparing.
The details of one or more implementations are set forth in the accompanying drawings and the description below. Even if described in one particular manner, it should be clear that implementations may be configured or embodied in various manners. For example, an implementation may be performed as a method, or embodied as an apparatus configured to perform a set of operations, or embodied as an apparatus storing instructions for performing a set of operations, or embodied in a signal. Other aspects and features will become apparent from the following detailed description considered in conjunction with the accompanying drawings and the claims.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram of an implementation for watermarking an entropy-coded stream.
FIG. 2a is a block diagram showing an ordering of operations used in modifying an encoded bitstream.
FIG. 2b is a block diagram showing another ordering of operations used in modifying an encoded bitstream.
FIG. 3 illustrates four prediction modes.
FIG. 4 is a table showing macroblock types for one particular standard, and showing additional information that is determined by the macroblock types.
FIG. 5 is a table showing an exp-Golomb coding provided in one particular standard. FIG. 6 is a flow diagram of an implementation for determining detection values for alternative intra-prediction modes.
FIG. 7 is a flow diagram of an implementation for determining watermarking metadata. FIG. 8 is a flow diagram of an implementation for determining alternative values for a reference indicator.
FIG. 9 is a flow diagram of an implementation for inserting replacement values. FIG. 10 is a flow diagram of an implementation for inserting alternative values for a reference indicator. FIG. 11 is a flow diagram of an implementation for identifying a payload from watermarked data.
FIG. 12 is a flow diagram of an implementation for identifying a payload from watermarked image data.
FIG. 13 is a block diagram of an implementation for watermarking content and for detecting a payload.
DETAILED DESCRIPTION
There are multimedia watermarking applications in which a watermark embedder must directly modify an entropy-encoded bitstream to obtain a watermarked bitstream that remains compliant with both the entropy coding scheme and the underlying data format (i.e. compression standard). It is often also required that the watermarking process must not introduce perceptible artifact in the multimedia data and that die embedded payload be recoverable even after decompression and processing. For many applications the watermark embedding process can have access to some embedding metadata which is typically precomputed in an analysis or preprocessing stage. At least one implementation described herein relates to the embedding process, the generation of such embedding metadata for that embedding process, and the recovery of the embedded payload for that embedding process.
At least one implementation provides a watermark to an H.264/MPEG-4 AVC bitstream by modifying an entropy encoded bitstream directly without requiring entropy decoding and entropy re-encoding. The modification provides the watermark. In one such implementation, the entropy code is a coding scheme known as Context-based Adaptive Variable Length Coding (CAVLC), which is widely used in the H.264/MPEG-4 AVC standard ("AVC"). AVC is also referenced as the International Organization for Standardization/International Electrotechnical Commission (ISO/IEC) Moving Picture Experts Group-4 (MPEG-4) Part 10 Advanced Video Coding (AVC) standard/International Telecommunication Union, Telecommunication Sector (ITU-T) H.264 recommendation. CAVLC may also be used in extensions to the AVC standard. A first such extension is a scalable video coding ("SVC") extension (Annex G) referred to as H.264/MPEG-4 AVC, scalable video coding extension (the "SVC extension"). A second such extension is a multi-view video coding ("MVC") extension (Annex H) referred to as H.264/MPEG-4 AVC, MVC extension (the "MVC extension").
In at least one implementation involving AVC, a macroblock is prediction encoded and the syntax elements of the prediction encoding are subsequently entropy encoded using CAVLC. For intra-prediction, as opposed to inter-prediction, a macroblock is prediction encoded without recourse to another picture. That is, without using a reference picture. Instead, the macroblock is prediction encoded with respect to itself or to another macroblock within the same picture (a picture may be, for example, a frame or field). One of the syntax elements for intra-predicted macroblocks is the macroblock type, which indicates die intra-prediction mode as well as other information. In at least one implementation, the macroblock type (the "old" macroblock type) for a macroblock is changed to a new macroblock type such that a different intra-prediction mode is indicated for a particular 16x16 macroblock. However, all other information indicated by the old macroblock type is left unchanged. Further, the new macroblock type (the syntax element) is CAVLC encoded using the same number of bits used to encode the old macroblock type.
The above change in macroblock types can be done to embed a watermark into the data. Further, the determination of the replacement macroblock type and corresponding replacement CAVLC bits can be done off-line, and then at a later time(s) when the content (for example, the video data) is accessed, the replacement of the CAVLC bits can be done in an efficient real-time manner that does not require entropy-decoding. Other implementations, however, perform all or part of the replacement after entropy decoding has been performed, either during the process of determining the replacement information, or in a subsequent stage. In many applications there is an increasing market need for watermarking of a compressed video stream. Early approaches decompressed the stream, applied the watermarking in the pixel domain, and then recompressed the now-modified pixel domain data. An early advance was to use information from the original compressed stream to simplify the recompression. This was improved with techniques that partially decompress the stream by applying entropy decoding and parsing of the coded bitstream. After entropy decoding, the watermarking algorithms worked directly on syntax elements such as coefficients and motion vectors. After the stream was modified to represent the watermark data, the entropy coding was applied. We describe various implementations in this disclosure, at least some of which apply the watermarking on an entropy encoded bitstream directly without the entropy decode and re- encode steps.
Watermarking a CAVLC stream according to at least some of the described implementations involves changing a coded syntax element in the CAVLC stream. In general, changing a coded syntax element will cause the coded bit length to change. At least one implementation addresses the case in which the coded bit length is held constant, but other implementations allow the coded bit length to vary.
At least part of this disclosure focuses on how to generate metadata for a streaming watermark embedder. At least one implementation changes the Intra-prediction mode, and is robust to various modifications of the bitstream. Other implementations may modify the CAVLC encoding of residue coefficients. One advantage of modifying the Intra-prediction mode is that by changing a relatively few number of bits (for example, 7 bits in an implementation described below) in a CAVLC bitstream, a large and detectable (although not perceptible) change can be provided for a given block. Such a change can also be designed so that it is robust to changes in the coded bitstream. For example, if the coded bitstream is decoded and then re-encoded using different parameters (for example, block sizes, or modes for individual blocks), the bitstream will potentially be completely different but the original changes can still be expected to be detected by analyzing the decoded pixel values.
A brief discussion of CAVLC and Watermarking is provided to assist in the understanding of various implementations. These discussions are often specific. However, these discussions are not intended to be complete and, further, every detail in these discussions may not necessarily apply to all implementations described in this application. Additionally, these discussions include much material that is known to those of skill in the art. However, these discussions will invariably include material, or the organization of material, that is novel, even though such instances might not be pointed out specifically. These discussions are not intended to limit the breadth of the application. Rather, these discussions provide one or more specific contexts, of many possible contexts, to assist the reader in understanding the implementations.
We now provide a discussion of CAVLC. The final step in many video compression methods is the lossless entropy coding of the compressed data. In AVC, CAVLC is commonly used for entropy coding. CAVLC is a well known coding technique and is part of a class of coding techniques referred to as variable length codes. In general, variable length codes, in contrast for example to fixed length codes, assign codewords of shorter length to syntax element values that have, or are expected to have, a higher rate of occurrence. CAVLC generally provides a separate assignment, between codewords and syntax element values, for each type of syntax element. Variable length codes are a class of codes that falls within the family of entropy codes. Arithmetic codes, including CABAC (Context-based Adaptive Binary Arithmetic Coding), is another class of codes that falls within the family of entropy codes.
We now present a short discussion of the general field of watermarking and the more specific area within this field in which one or more described implementations apply. Those of ordinary skill in the art of watermarking will be familiar with much of the information presented here.
The phrase "digital watermarking", as used herein, typically refers to methods that modify a work of art (typically an image, motion image sequence, or audio clip) according to some payload data, such that the following conditions are satisfied:
1. The modified version of the work is perceptually indistinguishable to the original version of the work, and
2. The payload data can be recovered from the modified version of the work at a later time.
A subclass of digital watermarking methods, referred to as "robust digital watermarking", introduces a third condition: 3. The payload data can be recovered from a distorted version of the modified version of the work, where the distortion may have been introduced by common signal processing and signal handling to which the modified work may have subjected (for example, compression, noise reduction filtering, color enhancements) or the distortion may have been introduced intentionally by an adversary attempting to render the payload data unrecoverable.
There are many applications of robust digital watermarking including, but not limited to, the following:
1. Owner Identification: the watermark payload identifies the owner of a work.
2. Copy Control: the watermark payload indicates a copyright associated with a work. Devices for viewing, duplicating, recording, printing, distributing, or any other action can recover the payload data and restrict action to those allowed by the copyright.
3. Transaction Tracking: the watermark payload identifies the recipient to whom the copy of a work was legitimately distributed. This can be useful when the legitimate recipients do not receive the rights to further distribute the work. If an unauthorized work is discovered, the original content owner can recover the payload from the unauthorized copy and identify the recipient responsible for the unauthorized use.
Those of ordinary skill in the art will recognize that there are many other applications of robust digital watermarking.
Watermarking can be performed in the "baseband" or on compressed works. Baseband imagery or motion image sequences are, for example, pixel-domain representations. Baseband audio works are, for example, audio samples. Some applications require watermarking of a compressed work. In this case, the output is also a compressed work. The last step of compression is typically entropy coding and the first step of decompression is typically entropy decoding. The entropy encoding / decoding process is typically lossless, but the compression process typically also includes a lossy process. One approach for watermarking a compressed work is first to apply the entropy decoding, then apply the decompression to obtain a baseband representation. The baseband representation is watermarked and the resulting watermarked work is compressed and entropy coded. This approach can be time consuming and can result in degradation of perceptual quality due to the recompression. To improve the perceptual quality and to reduce the computation required, information from the original compressed work, such as motion vectors, mode decisions, quality factors, and other information, can be saved during decompression and used during recompression. This means that the recompression need not perform any motion estimation (thus saving computation and/or time) and use of the original quantization factors and mode decisions can result in improved perceptual quality.
A class of watermarking algorithms called "compressed domain watermarking" has emerged. These methods can be described as performing a "partial decode" prior to watermarking rather than the "full decode" previously described. Here the compressed work is first entropy decoded to expose the syntax elements of the compressed work. These can include coefficients (block DCT (discrete cosine transform) or wavelet coefficients for example), motion vectors, picture types, prediction modes, and many other syntax elements. The watermarking algorithm then directly modifies some of those syntax elements. Finally, the modified syntax elements are entropy coded to obtain the modified compressed work.
At least one implementation described in this application falls into a new class of watermarking algorithms which could be called "entropy coded stream watermarking." These methods directly modify an entropy coded stream as illustrated in FIG. 1.
Referring to FIG. 1, a system 100 performs watermarking. The system 100 may also be considered as a process. The original compressed stream is directly modified by stream modification 102, according to the Payload, and the output is the resulting marked compressed stream 103. The payload can be, for example, the serial number of a content (for example, DVD) player, the model of the player, or other information desired to be used for later identification. The payload can be uncoded, or can be coded as shown in data coding unit 120. The stream modification process is informed as to (1) the location of all changes to be made and (2) the actual changes to be made. The stream modification process is informed of this information by metadata which can be generated during a preprocessing stage 104.
The metadata 105 is generated by entropy decoding 106 (and possible further decoding if multiple layers of coding are used) the original compressed stream, and generating a watermark 108. The metadata identifies the locations within the stream where changes are to be made (that is, for watermark generation) and indicates how the stream should change in response to different payload symbols. Implementations of FIG. 1 are described for which the metadata is generated by an analysis of the decoded syntax elements of the compressed work. One challenging aspect of a watermarking method such as this is the generation of the metadata. The following explains how this can be done for one or more implementations .
The previous paragraph and FIG. 1 suggest that there may be a pre-processing stage 104. It is useful to point out the situation in which there are three important times. The first time is where/when the compressed bitstream is analyzed to generate some metadata. The second time is where/when some or all of the metadata generated at the first time is used, along with a specific sequence of symbols, known as the payload, to modify the bitstream. The third time is where/when some (or all or none) of the metadata generated at the first time is used to analyze a modified bitstream, a motion image sequence obtained by decompressing the modified bitstream, or a distorted version of the motion image sequence obtained by decompressing the modified bitstream. The purpose of this analysis, in the third time, is to recover the payload.
In order to understand the context, consider the first time occurring prior to distribution of a work, the second time occurring during duplication where the payload used for each copy uniquely identifies that copy, and the third time occurring after an unauthorized copy of the work has been found at which time the payload is recovered to reveal which of the distributed copies was the source of the unauthorized copy. This example is just an illustration, and is not intended to suggest any limits to the application of these concepts. In addition, while there may be application-specific requirements, there is no technical requirement that the first time (the preprocessing) and the second time (the embedding) be different. Indeed, all three "times" may be the same.
As additional examples, we refer back to FIG. 1. The pre-processing stage may be performed during the authoring of a movie for eventual delivery, for example, hi one scenario, a process is performed to identify locations of coded elements for which acceptable replacement values have been determined. The results of that process (for example, the locations of such coded elements and the acceptable replacement values) are stored in metadata that is included with the coded movie. For this example, consider two cases. In one case, each entry of the metadata identifies a location in the bitstream and one acceptable replacement value. In a second case, two acceptable replacement values are identified in each metadata entry.
The stream modification may be performed during playback of the movie, in which, for example, the serial number of the player (for example, a software player, a set top box player, or a DVD player) is used as the payload. The payload is used, for example, to determine whether to replace the identified coded elements. For example, if a single acceptable alternative is provided in the metadata, then a "1" in the payload sequence may indicate that the original value be replaced with the alternative value, and a "0" may indicate that the original value be retained. As another example, all identified locations may be replaced, and the payload may indicate which of two provided replacement values (for each location in the coded sequence) is to be used. For example, a "0" may indicate use of the first replacement, and a "1" may indicate use of the second replacement. Note that the words "alternative" and "replacement" are often used interchangeably in this application. Further, the alternative (or replacement) may refer to a variety of items, depending on context. The alternative may be, for example, an alternative value for a syntax element or an alternative value for coded bits representing a value of a syntax element.
The recovery of the payload may be performed at a geographic location that is unrelated to the geographic locations at which the stream modification occurred. In other words, the stream modification may take place in Toledo, Ohio and the payload recovery may take place in Burbank, California. The key is to have access to a document containing data based on a modified stream. For example, a modified stream may be copied electronically and put on a recordable DVD, or a modified stream may be presented and then re-recorded and encoded, and then put on a recordable DVD. If this recordable DVD is acquired, then this recordable DVD can be analyzed to recover the payload. Recovery of the payload may be assisted with detection metadata (shown in FIG. 1). Detection metadata may indicate, for example, the locations in the data stream where watermarking information is embedded, as well as the acceptable replacement values. Detection metadata may also, or alternatively, indicate, for example, a location within a picture (for example, frame or field) in which the watermark information is intended to produce a detectable change in the pixel- domain data. In this latter scenario, the detection metadata may also indicate the expected change(s), as explained further below. Detection metadata may be produced at the same time that the watermarking (embedding) metadata is produced, or at a different stage.
A "watermark" may refer, for example, to the embedded data that replaces the original data in a data stream. A "watermark" may also, or alternatively, refer to the effect that is produced on a decoded, displayed video picture in the baseband imagery as a result of embedding replacement data in the data stream. Thus, the "watermark" may refer to one or more of the embedded data or the produced effect on the resulting baseband data (for example, an image or an audio clip). For example, the produced effect may be a change in the luminance of a macroblock that is detectable but not perceptible to a viewer.
We now provide a discussion of CAVLC -based data embedding in an AVC-coded bitstream. One way to watermark a compressed stream is to change the values of one or more syntax elements. A general requirement is that the changed compressed stream is still a valid stream (remains compliant with the specific compression standard). This requirement is to be met when the compression technique uses a variable-length code entropy coding technique. This is the case for AVC with CAVLC. The changed (that is, modified) syntax element will be encoded using CAVLC, and these modified CAVLC bits will replace the CAVLC-encoded original values in the bit stream. These bits may be the same length (same number of bits) as the CAVLC encoding of the unmodified syntax element, or may have a different length. However, whether the length is the same or not, there is no effect on the accuracy of the other CAVLC bits because the CAVLC encoding of a syntax element does not depend on prior or subsequent syntax element encodings.
In various described implementations, there are two general steps to modifying a CAVLC encoded bitstream, but the steps can be performed in either order. In discussing these steps, reference is made to "Step 1" and "Step 2", but these step numbers are not intended to imply or require any particular or specific order of performance of the same.
FIGS. 2a and 2b include block diagrams 200 and 210 that each show these two general steps. Given a CAVLC encoded AVC bitstream, Step 1 is to build a mapping (202) from the target element to the original coded block. In one practical implementation, this is done by decoding the bitstream and keeping track of which bitstream bits produce which syntax elements. For example, a CAVLC decoder may be applied to the compressed bitstream to expose the syntax elements.
Step 2 is to search for one or more acceptable alternative values for the target element (204). One way to search for acceptable alternative values is to examine all possible alternative values and determine which, if any, are acceptable. Each possible alternative syntax value is CAVLC coded to yield the alternative bits. In general, all possible alternative syntax values are "acceptable alternative values". However, various implementations have one or more additional criteria.
One criterion is CAVLC encoding length. Because CAVLC is a variable-length code, some alternative syntax values will change the length of the CAVLC encoding. This is acceptable in some implementations, but other implementations impose a requirement that the CAVLC encoding length remain the same before and after watermarking. Other criteria relate, for example, to fidelity and detectability, as discussed further below.
Two different orderings of these two steps 202, 204 are depicted in FIGS. 2a and 2b, respectively. Note that in FIG. 2b the mapping and assignment in Step 1 (202) is only required for target elements for which at least one alternative syntax value was found in Step 2 (204).
The AVC video compression standard, like most video compression standards, achieves compression by predicting the values in a block of pixels from the values in one or more previously coded blocks of pixels. The difference between the prediction and the actual values, often called the residue, is then transform coded and quantized. The block or blocks used for the prediction, the reference blocks, can be from the same picture or from different pictures. Blocks whose reference blocks come from the same picture are called Intracoded blocks or simply Intra-blocks. In this case, the prediction is often called Intra- prediction.
For the luminance samples, an entire 16x16 macroblock can be Intra-predicted as a whole or can be divided into 8 x 8 sub-blocks or even 4 x 4 sub-blocks. Each sub-block will then be Intra-predicted independently. For 16 x 16 luminance Intra-prediction, four modes are defined in the standard. For 8 x 8 and 4 x 4 sub-blocks, nine modes are defined for each type of block. The encoder typically selects the prediction mode for each block that minimizes the difference between a predicted block and the actual pixel values.
To simplify the discussion, we only discuss 16 x 16 Intra-prediction. For 16 x 16 Intra-prediction, the following four modes are defined as illustrated in FIG. 3:
1. Mode 0 (vertical) 310— Extrapolation from upper samples (H). In this mode, the neighboring pixels bordering the upper edge of a block are used as a prediction for all pixels in the corresponding columns of the block. That is, for a given column in the 16x16 block, the bordering pixel in the upper vertically- adjacent block is used as the prediction for the entire column.
2. Mode 1 (horizontal) 320-Extrapolation from left samples (V). In this mode, the neighboring pixels bordering the left edge of a block are used as a prediction for all pixels in the corresponding rows of the block. That is, for a given row in the 16x16 block, the bordering pixel in the left horizontally-adjacent block is used as the prediction for the entire row.
3. Mode 2 (DC) 330-Mean of upper and left-hand samples (H + V). In this mode, the neighboring pixels bordering the upper edge of a block, and the neighboring pixels bordering the left edge of the block, are averaged to determine the mean. The mean value is then used as a prediction for all of the pixels of the block. That is, the mean is determined of all of the bordering pixels in the left horizontally-adjacent block and in the upper vertically- adjacent block. The mean of these pixels is then used as the prediction for all of the pixels of the block. Each pixel in the block will then have the same prediction.
4. Mode 3 (Plane) 340— A linear plane is fitted to the upper and left-hand samples H and V. In this mode, a plane is formed. The plane is based on all of the bordering pixels in the left horizontally-adjacent block and all of the bordering pixels in the upper vertically- adjacent block. The plane provides the prediction for each pixel in the block. Note that the modes for 8x8 and 4x4 Intra-prediction can be modified in a manner that is analogous to the modification described herein of the 16x16 Intra prediction modes. Further, all 3 block sizes use additional syntax that is amenable to modification in an analogous manner to the modification of the mode. To decode a block, the predicted block is generated with the available pixels of previously decoded neighboring blocks as specified by the Intra-prediction mode of the current block. Then, the decoded residue pixel values are added to the predicted block. The result is the final decoded pixel block.
B = P + R (3-1)
where B is the final decoded block of pixel values, P is the predicted block, and R is the block of decoded residues.
The basic idea of using Intra-prediction for watermarking in this implementation is to change the Intra-prediction mode from one to another while not modifying the residue data. That is, the residue, R, is left unchanged although it may no longer be an accurate residue for the new predicted block. The result of changing the prediction mode will be a different predicted block (referred to as Pw)- As a result, the final decoded pixel block (now referred to as Bw) will be different from it should have been (which is B). That is, Bw = Pw + R, and
Bw does not equal B. The difference between the original block of decoded pixel values (B) and the watermarked block of pixel values (Bw), denoted ΔB, will be the same as the difference between the original predicted block of pixels (P) and the watermarked predicted block of pixel values (Pw), denoted ΔP.
ΔB = ΔP where ΔB = Bw - B and ΔP = Pw - P, (3-2)
and the subscript 'w' indicates the watermarked version of each.
By changing the Intra-prediction mode of a macroblock, the pixels of that block will change by ΔB. For this change to be appropriate for watermarking, we require in at least this implementation that the following three requirements (R1-R3) be satisfied: Rl : the change be detectable from the reconstructed imagery,
R2: the change be imperceptible in the reconstructed imagery, and R3: the detection be robust to some predefined set of signal distortions. To this end, we evaluate the suitability of each possible change and select only those changes that meet these requirements.
The second requirement can be interpreted in many ways. We can require that the reconstructed imagery have high visual quality or that it be indistinguishable from the original, unmarked imagery, or that the perceptibility of the changes fall below some threshold which may be application dependent. There are many ways people judge the fidelity of a watermark. For the purposes of this disclosure, we allow any appropriate fidelity measure to be applied to judge whether or not, or to what extent, a proposed change meets the fidelity requirements of the application. Assessing the fidelity requirement (R2) may be done in various ways. For a given target element, we need to assess or predict the perceptual impact of replacing its original value with each of the alternative values. Recall that this assessment or prediction has full access to all of the syntax elements of the compressed stream and can use these to predict the masking effect of the underlying imagery and the sensitivity of the human visual or auditory system (in the case of video, we are concerned with the human visual system) to the modifications. Details of such a prediction are well known to those versed in the art of perceptual modeling. Perceptual models are widely cited in both the compression literature and the watermarking literature.
In addition to the use of compressed domain computational predictions of perceptibility, we may have the luxury of being able to fully decompress the stream to a baseband motion image sequence. This may be the case, for example, if the analysis is being performed as a pre-process. In this case, the computational predictions can examine the actual pixel data. This may lead to more accurate predictions of perceptibility. Additionally, we may be able to assess the perceptibility of replacing an original syntax element value with an alternative value by decompressing the original stream to obtain a reference motion image sequence and then replacing the syntax element value with the alternative and decompressing the resulting stream to obtain a second motion image sequence. Many well known techniques can be used for assessing the perceptibility of the difference between the two motion image sequences. Finally, we may have the luxury to resort to subjective assessment. A human viewer can assess the perceptibility of the difference between the reference motion image sequence and the modified motion image sequence. Human subjects can assess the degree to which a modification satisfies Requirement R2 for a given application. These are but some of the methods that can be used to determine which of the possible syntax element changes satisfy Requirement R2.
We now consider the first Requirement Rl from a general standpoint. Use of the alternative syntax value for the target syntax element is assumed to induce some measurable change when the modified stream is later decompressed to a motion image sequence. There are generally two kinds of measurable changes that can be induced, "direct" and "indirect".
With "direct changes" the syntax element corresponds directly to a measurable artifact of the motion image sequence. For example, modification of a luminance block DC coefficient will directly result in a measurable change in mean luminance of the corresponding decompressed block. With "indirect changes" on the other hand the artifact measured in the image sequence is only indirectly related to the modification in the stream. For example, modification of a motion vector will result in the wrong block being used as a prediction and will therefore lead to incorrect pixel data in the corresponding decompressed block. It may be difficult to determine which motion vector was used, but the use of a different motion vector can impact other measurable artifacts. The motion vector can be used to yield a reconstructed block with higher or lower mean luminance.
The measurable change of requirement Rl may assist in identifying the locations and in seeing what changes were made in order to recover the payload. This is particularly useful when a pirated copy is obtained. By "seeing" the changes that were made, the source of the pirated copy can be obtained.
In one implementation, it is determined which motion vector syntax elements have at least two alternative syntax values, such that use of one of the alternative syntax values will yield a reconstructed block with higher mean luminance and use of a different alternative syntax value will yield a reconstructed block with lower mean luminance. The coded blocks of bits corresponding to the CAVLC coding of each of these two alternative values, along with the bit location within the CAVLC stream, are sent, as metadata, to the embedder. Based on the value of the corresponding payload bit, the embedder will replace the original block of bits with the block of bits corresponding to one or the other alternative block of bits.
For example, the embedder chooses or selects the block of bits associated with the syntax value that decreases the mean luminance in the corresponding block if the payload bit is a '0' and chooses the block of bits associated with the syntax value that increases the mean luminance in the corresponding block if the payload bit is a '1'. Clearly, we need at least one target element satisfying all of the requirements for each payload bit that is to be embedded. The metadata may also contain the frame number and block number in the decompressed motion image sequence where the change in luminance will be induced. For further robustness, the preprocessing stage may also store the original mean luminance of that block in the metadata. This information may be used at the time of recovery (for example, decoding) to identify the modified block and compare its mean luminance with the original value stored in the metadata. In the example given, a mean luminance that is higher than the original value will imply that the corresponding payload bit is a T and a mean luminance that is lower than the original value will imply that the corresponding payload bit is a O'. For this implementation, the first and third requirements (that the change be robustly detectable) require establishing a good feature that can be reliably measured in the decoded imagery and can be modified by changing the Intra-prediction mode of a macroblock. One such feature is the mean luminance of the macroblock. Each Intra-prediction mode change will result in a change, ΔB, in the decoded pixel values. Note that ΔB is, in general, a matrix of values (that is, ΔB is also a block). This ΔB may have a positive or negative average value (averaged over the block) and the magnitude of the average can vary from one mode to another. The sign of the change (for example, the average value for ΔB) can be used to encode (embed) data. Further, the magnitude of the change can be used as an indication of the expected robustness of the change, with a large magnitude indicating more robustness against further modifications to the coded bitstream. More sophisticated measures of robustness are available and can be used.
A second feature that may be used to satisfy Rl and R3 is the variance of the reconstructed block of pixels. DC mode (mode 2) is different from the other three Intra- prediction modes in that all the 16x16 pixel values are predicted with a single value, which is the mean of the reference pixels. It is expected that an AVC encoder will use this mode when a block is smooth in nature.
If we change the mode from mode 2 to one of the remaining three modes, the variance of the resultant block (Bw) can be expected to increase with respect to the original block "B". On the other hand, if an encoder chose modes 0, 1, or 3, it is expected that this block has higher fluctuation to begin with (compared to the situation in which mode 2 was initially chosen). By changing the intra-prediction mode from modes 0, 1, or 3 to mode 2, the variance of this block Bw will generally decrease with respect to the variance of "B". Again, the ΔB associated with a change of Intra-prediction mode may result in an increase or decrease in the variance of the reconstructed block Bw, and the magnitude of the variance change can vary depending on the beginning and ending modes. The sign of the variance change can be used to encode (embed) data. Further, the magnitude of the variance change can be used as an indication of the expected robustness of the change, with a large magnitude indicating more robustness against further modifications to the coded bitstream. More sophisticated measures of robustness are available and can be used.
We now discuss an implementation for changing intra-prediction mode through the macroblock type. In AVC, the 16x16 Intra-prediction mode of a macro-block is specified in the mb-type field. The mb-type field also specifies other parameters about this block such as coded-block-pattern. Referring to FIG. 4, a table 400 lists the macroblock types ("mb-types") for I slices and provides a list of mb-type values 410 with their meanings. This table 400, taken directly from the standard, is used in this implementation to find mb-type values 410 that change the Intra-prediction mode 420 without changing the coded-block-patterns 430 and 440 or the prediction block size 445. In order to preserve syntax other than Intra-prediction mode 420 when changing the
Intra-prediction mode 420, the change of the mb-type 410 is limited to the values that differ only in Intra-prediction mode 420. For example, an original mb-type of 11 (see row 450), indicates that the Intra-prediction mode 420 is 2 (DC) and that the coded-block-pattern for chroma 430 and luma 440 are 2 and 0 respectively. This mb-type 410 can be changed to 9, 10, or 12 to change the Intra-prediction mode 420 without changing the coded-block-patterns 430 and 440 or the prediction block size 445.
The mb-type is entropy coded in the bitstream. If CAVLC entropy coding is used, the mb-type is encoded with exp-Golomb code. Exp-Golomb code is a variable length coding scheme. Some special applications, such as the watermarking of authored DVD disks, require that the replacement (e.g. VLC) data have exactly the same length as the original (e.g. VLC) data. In this case, only mb-types that result in same number of (e.g. VLC) bits can be used to replace the original mb-type.
Referring to FIG. 5, a table 500 is an Exp-Golomb coding table, and lists the bit string form (left-hand column) 510 and the corresponding value range of the Exp-Golomb code (right-hand column) 520. Table 500 is taken directly from the standard. From this table 500, we find that, using the example from above, an mb-type of 9 requires 7 bits. This can be determined by first noting that the mb-type of 9 occurs in the range 520 given in the fourth entry 530 of the right-hand column 520 which has the value "7-14". Then we note that the corresponding (fourth) entry 530 of the left-hand column 510 shows 7 bits, which are 00 0 1 X2 Xi X0. X2 Xi xo may be assigned, for example, in order, with 000 being assigned to the value 7 and 111 being assigned to the value 14.
Accordingly, in this implementation in which the length of the CAVLC string is to remain the same before and after watermarking, the mb-type can only be replaced with another mb-type also requiring 7 bits. In this case, mb-types 9, 10, and 12 all fall in the same range (7-14) and all require 7 bits. Thus, mb-types 9, 10, and 12 are all possible candidate replacement mb-types. In this way, we can combine the VLC bit lengths of FIG. 5 with the macroblock types of FIG. 4 to determine which mb-types can be used to replace the original mb-type. The following rules are enforced in the above methodology: 1. The alternative mb-type should differ only in Intra-prediction mode.
2. The size of the bit string corresponding to the alternative mb-type should be the same as that corresponding to the original mb-type (if constant bit length is required).
In a previous section, we suggested that a potential change should be evaluated with respect to its impact on the fidelity of the reconstructed imagery and the robustness of its detectability. In this section, we describe a method for combining those two effects into a single cost value and the use of that cost value in selecting which changes to apply.
Referring again to FIG. 1, the input of the preprocessing is the AVC encoded bitstream. The output is the watermarking metadata. One of the first steps in processing the stream is to identify each intra-coded block, the Intra-prediction mode of which can potentially be changed. For each of these intra-coded blocks, we identify all alternative Intra-prediction modes that satisfy the bit-length requirement (if the application requires constant bit length), and that satisfy the first rule above that the corresponding alternative mb-types differ only in Intra-prediction mode. Assuming a particular detection measure (such as, for example, the luminance mean, or variance of a block as previously discussed), an additional step is to gather the original detection value and all the alternative detection values. A "detection value" is a value (a number) of the detection measure that results from the encoding. For example, the value of the luminance mean for a block. An alternative detection value is the value that would result from using each of the alternative Intra- prediction modes. Referring to FIG. 6, a process 600 illustrates an embodiment for determining detection values when mean luminance is used as a detection measure. One or more detection values may be determined for a given block. For example, if there are multiple alternatives for a given block, a detection value may be determined for each alternative. Typical implementations optimize among the determined detection values. Such optimization may include, for example, selecting the best alternative for each block, and then selecting the top ten from among these best alternatives. This example results in picking the ten blocks with the best detection values, where "best" is determined according to a selected measure, for example. Another implementation considers, for a given block, pairs of alternatives, and selects the best pair for each block, as is explained further below.
The process 600 includes calculating the mean luminance of an intra-prediction coded block 610. This is the original detection value, and the mean luminance may be calculated from the sum of the prediction and the decoded residue as discussed earlier with respect to Equation 3-1. The process 600 then includes calculating the mean luminance of the intra-prediction coded block for each alternative intra-prediction mode 620. Operation 620 uses the alternative mode for the prediction. The mean luminance may be calculated using, for example, the prediction with or without the existing residue data.
The process 600 stores the frame number (or, more generally, the picture number), the block location, and all of the mean luminances 630. These mean luminances include the mean luminance resulting from the original intra-prediction mode (operation 610) and the mean luminance(s) resulting from the alternative intra-prediction mode(s) (operation 620).
The process 600 proceeds to the next intra-prediction coded block 640 and repeats the operations 610-630. The process 600 is performed for all intra-prediction coded blocks in a given picture. Other implementations, of course, need not be as exhaustive. Note that an intra-prediction coded block may be, for example, a block from an intra-coded picture (for example, an I frame), or a block from an inter-coded picture (for example, a P frame) if that block is intra-coded.
Using the information gathered in the process 600, an implementation may make a determination directly as to which locations and which alternative replacement values should be used to provide watermarking. Various decision processes may be used. Below we discuss an implementation of one such process. The implementation discussed below uses, for example, the information gathered in the process 600 to select locations and alternative values that meet, for example, the requirements Rl, R2, and R3 listed earlier. The key properties to a watermarking algorithm are typically the robustness (R3, above) and the fidelity (R2, above). Fidelity is also referred to as the imperceptibility. Often, these two properties of robustness and fidelity contradict each other. We introduce an analytical method to specify a balance between these two. Let CF represent the fidelity cost. Cp is defined such that the more visible the watermark, the larger the value. We would like to make changes that have very low fidelity cost. There are many methods for measuring Cp, and a user may select the method/measure best suited to a particular application—the present implementation is independent of the selection.
Let CR represent the robustness cost. CR is defined such that changes resulting in weaker robustness have a higher robustness cost. Weaker robustness means, for example, that the changes can become undetectable more easily. For example, if a picture is decoded and the pixel data is filtered, some changes may become weakened and possibly become undetectable. Again, we seek to make changes that have a lower robustness cost.
For each alternative change, we calculate both the fidelity cost and robustness cost associated with making the change. We then combine these two costs to obtain a total cost for making the change. That total cost is calculated as follows:
C = αCF + /?CR
where it is often helpful for restricting a + β = 1. In this case we can write
C = orCF + ( l-α) CR.
The parameter α, restricted to the range of 0 to 1, is used to control the tradeoff between fidelity and robustness. A larger value of oc places more emphasis on fidelity while a lower value of α places more emphasis on robustness. For a given α, the cost C for each alternative prediction mode can be calculated. Those for which C exceeds a threshold can be discarded. To satisfy R2 above, which is the imperceptibility requirement, an implementation may additionally use, for example, a threshold level for CF- For example, in one implementation, the value of CF for an alternative prediction mode is compared to a threshold. If the value of CF is greater than the threshold, then the alternative prediction mode will not be accepted as a possible replacement for the original prediction mode. In one particular implementation that uses the above formulation of costs, 16x16 macro-blocks are used. In a 16x16 Intra-predicted macro-block, there are three available alterative Intra-prediction modes and the original mode. For this example, we assume that all of the different Intra-prediction mode values are valid alternatives in that we can change the mode to any one without changing the coded-block-patterns or the coded bit length (if constant bit length is required). A review of FIGs. 4-5 will reveal that this assumption is not always met, but the assumption is useful for clarity and simplicity of the current discussion. In addition, we will assume that the detection measure is the mean luminance of the block.
To embed a data bit, two prediction modes can be selected: a first mode will be used to represent a T and a second mode will be used to represent a 1O'. We assume a prediction mode resulting in a lower mean luminance will be used to represent bit '0' and a prediction mode resulting in a larger mean luminance will be used to represent bit T. Then, there are six possible pair combinations: (P1 = (modeO, model), P2 = (modeO, mode2), P3 = (modeO, mode3), P4 = (model, mode2), P5 = (model, mode3), P6 = (mode2, mode3)}. (Note that some of these combinations will be unavailable if some of the prediction modes are not valid alternatives.) In this case, we need to calculate the fidelity and robustness costs, CF and CR, associated with selection of each pair combination. Those costs can then be used to compare each to the application requirements. For each pair combination, the CF and CR are evaluated as follows.
Let B denote the original block of pixels. Let ΔBo and ΔBi denote the pixel differences between the watermarked block and the original block if bit '0' or bit T is embedded, respectively. If the original Intra-prediction mode is used to represent a 'O' or a 1I' bit, the corresponding ΔB is simply all zeros. In such a case, the fidelity cost depends only on the other mode that is selected. Assuming that there are K available pairs, the fidelity cost of pair k can be obtained by:
CFPA = F ( B1 ABO1 AB1 ) (4-1)
where the function F( • ) incorporates any fidelity measure as discussed above (for example, the Watson model) and k is an index running from 1 to K. Typically, this fidelity function will evaluate ΔBo and ΔBi independently, obtaining a fidelity cost value for each, and will return the larger of the two values, representing the "worse" fidelity of the two or the sum of the two values. The fidelity measure may also be, in part or whole, a subjective measure based on user evaluation.
Let Lo and Li denote the luminance (a single value in this implementation) of the block if bit '0' or bit '1 ' is embedded, respectively. Let BIkSz denote the Intra-prediction block size. The robustness cost can be measured as a function of LQ1 LI1 and BIkSz. For a given luminance (or luminance change), a larger blocksize may provide for increased robustness. The robustness cost of pair k can be obtained by:
Cm = G ( U L15 BIkSz) (4-2)
where the function G( • ) is any robustness measure as discussed above (for example, the magnitude of the variance change or the mean luminance change). Again, a typical robustness measure will evaluate the robustness of each change independently and return the larger of the two costs or the sum of the two costs.
Finally, the final watermarking cost of this pair is:
Q = «Cm + /?CRP* (4-3)
Once the cost associated with each pair has been calculated, the pair with minimum cost can be selected for that block and the corresponding cost can be assigned to C, the cost of changing the block.
C = min(C* ) where k = 1 ... K (4-4)
Once the watermarking cost of each block has been established, the block selection process can be simply picking blocks having the smallest watermarking costs based on the payload requirement. For example, if there are 10 payload bits, then the 10 blocks with the smallest watermarking cost can be selected. The 10 payload bits of this example may be generated, for example, by encoding one or more payload symbols to increase robustness. Another implementation does not encode payload symbols/information to increase robustness, but merely represents the payload information in binary form as payload bits.
Referring again to the implementation of FIG. 1, the watermarking embedding metadata 105 contains the bit offsets identifying the location where, in the bitstream, each modification will take place and the values to be used in the case that the payload bit is a 1O1 or a T. Thus, when keeping track of an alternative change, we track the bit location in the input AVC stream where the VLC code describing the current mb-type can be found. We also keep track of the specific bit string (from the table of FIG. 5) that is used to represent each alternative change. Thus, after selection (perhaps based on minimizing the total cost), the system can write out the embedding metadata 105. For each entry in this file, there is a bit offset and two bit strings (for example, the VLC bit strings), one for each of the two possible payload bits, 'O1 and 1I'.
In addition, the preprocessing stage writes detection metadata (also shown in FIG. 1). This includes the frame number (or, more generally, picture number) and block location of each change as well as the expected luminances (or other detection measure) of the watermarked block if it represents bit 1O' and T. Also note that implementations may include the embedding metadata in the detection metadata to allow for detecting the presence of watermarking information in a stream prior to decoding.
As just suggested, detection may be performed at the bitstream level, in lieu of or in addition to performing detection at the pixel level. By analyzing a bitstream, it can be determined what payload bits are embedded at the designated bit offsets. However, as discussed earlier, if the bitstream has been processed by, for example, decoding and then re- encoding, the resulting (encoded) bitstream may be completely different from the original (encoded) bitstream. For example, the re-encoding may use (as indicated earlier) different block sizes or modes. In such a case, detection of the watermark from the bitstream may be impossible, but detection of the watermark from the pixels (after decoding the new bitstream) is possible if the watermark was robust enough.
Referring to FIG. 7, a process 700 provides an implementation that determines the watermarking metadata (embedding and detection) for 16x16 intra-prediction coded macroblocks using a cost approach. The process 700 includes the basic features of the process 600. That is, the process 700 of determining watermarking metadata for macroblocks includes determining detection values for those macroblocks.
The process 700 may be performed, for example, for a given set of macroblocks in a picture, or for all macroblocks in a picture, or for all macroblocks in a sequence of pictures. In the following discussion of the process 700, an implementation is assumed in which the process 700 is performed for all macroblocks in a picture.
The process 700 includes looping (710) over all 16x16 macroblocks in the picture, and performing a set of operations (720-750) for each 16x16 macroblock that uses a 16x16 intra-prediction mode (see, for example, FIG. 4). The set of operations includes operations 720-750.
For each macroblock using a 16x16 intra-prediction mode, the possible alternative intra-prediction modes, if any, are determined (720). In one implementation, the alternatives must satisfy the requirements that the coded-block patterns (430 and 440) and the prediction block size (445) remain the same, and the coded bit length of the macroblock type (410) remains the same (see FIG. 5).
For each possible alternative intra-prediction mode or group of modes, the total cost is determined (730). In one implementation, determining the total cost involves calculating the fidelity cost and the robustness cost using the sequence of equations described above. A group of modes may be, for example, a pair of modes as discussed earlier, or some other combination of modes.
The best possible alternative intra-prediction mode, or group of modes, is determined (740). In one implementation, the best is determined using a minimization function such as in Equation 4-4 above, which selects the pair with the minimum total cost. Other implementations use different functions to determine the best possible alternative, and also may identify multiple "best" possible alternatives. For example, in an implementation discussed above, the "best" possible alternative is a pair. The pair may include one alternative, or two alternatives. In typical implementations of the process 700, if there are no possible alternative intra-prediction modes, then there is no "best" mode.
The embedding metadata and the detection metadata are stored for the best possible alternative intra-prediction mode or group of modes (750). In one implementation, the embedding metadata includes the bit offset into the stream and the coded alternative macroblock type(s), in which the alternative macroblock type(s) corresponds to the best possible alternative intra-prediction mode(s). In one implementation, the detection metadata includes the picture number (or frame number), the macroblock location, and the original and alternative detection values or some other reference detection value. In such an implementation, the detection values may be computed during the operation 730 of calculating the total cost. For example, the detection values may be determined in the process of calculating a robustness cost.
Various implementations reduce, or more generally filter, the metadata prior to, or subsequent to, storing the metadata. In one such implementation, the best alternative mode (or group of modes) for each block are rank ordered and only the top one-hundred are kept and stored because there are only one-hundred payload bits. A second implementation specifies a minimum number of unchanged bits that must be between any two changes in the bitstream. This criterion in the second implementation may, for example, preclude using the best alternative modes for two adjacent blocks. A third implementation specifies the size (in number of bits) of each particular change in the entropy-encoded bitstream. This criterion in the third implementation may, for example, dictate the size of the entries in the embedding metadata. Each particular change need not, of course, actually change the value of every bit that is replaced. In yet another implementation, for a given block, the metadata is only stored for the best alternative mode (or group of modes) if this best alternative also satisfies the requirements Rl, R2, and R3. Further, implementations may combine these and other criteria.
In one implementation, embedding metadata includes the locations in the compressed bitstream where the original coded block of bits can be found and two blocks of bits, one to be used as a replacement block if the corresponding payload bit is a '0' and the other to be used as a replacement block if the corresponding payload bit is a T. In one implementation, one of these blocks is itself the original block of bits and the other is an alternative block of bits. In this case, the list of changeable syntax elements can include those for which there is only one acceptable alternative value. In another implementation, the two blocks are both alternative blocks of bits corresponding to different syntax values. In this case, the list of changeable syntax elements can only include those for which there are at least two acceptable alternatives.
In one implementation, detection metadata includes the embedding metadata. With such information, the payload can be recovered directly from a watermarked coded bitstream.
In one implementation, detection metadata additionally or alternatively includes the location in the decompressed motion image sequence where the bitstream modification will be detectable. This may be specified as a frame or picture number and a block number, macroblock number, pixel position, or any other locator required for recovery. The detection metadata also may include an indication of the detection value associated with a payload bit of "0" and a payload bit of "1" or some other reference detection value.
Detection metadata can also include the value of the detection measure that would have been measured if no change had been made. In other words, this can include the original value of the detection measure. In a previous example, the detection measure is the mean luminance of a particular block and the detection data can include the original mean luminance of that block. By including the original value, the detection process can ascertain whether the detection value has increased or decreased as a result of the watermarking. In one implementation, determining the metadata is performed during pre-processing.
In order to increase the robustness of the watermarking technique to global or local changes in brightness or contrast, detection data may also be saved for blocks that are not expected to be modified by the watermarking process. For example, the detection data may include the original mean luminance of blocks not changed by the watermark. The detector can then use these as a reference to determine if the entire image, or at least the part of the image in the region of the reference, has experienced a change in luminance. If the measured luminance in the reference blocks does not match that recorded in the detection data, a compensation can be made prior to recovery of the payload. For example, the compensation to a mean luminance measure could be added to all stored detection values
Referring to FIG. 8, a process 800 provides a general implementation that determines embedding metadata based on a reference. The process 800 thus has some similarity in functionality with the process 700.
The process 800 includes accessing variable-length encoded data that includes a reference indicator (810). That is, the variable-length encoded data includes an encoding (the reference indicator) of information identifying an actual reference used to predictively encode an image. The reference indicator, which is the encoding of the information identifying the actual reference, has a particular value. In one or more previously described examples, the reference indicator is the encoding of a value of the macroblock type field that identifies, through the corresponding intra-prediction mode, the reference used to predictively encode a macroblock.
The process 800 includes determining a location in the variable-length encoded data of the reference indicator (820). The location is used, for example, in creating the embedding metadata. The process 800 also includes determining an alternative value for the reference indicator (830). The alternative value is different from the particular value. The alternative value is an encoding of alternative information that identifies a different reference different from the actual reference. All or part of the process 700 may be used, for example, in performing the operation 830. In one or more previously described examples, the alternative value is the encoding of a different value for the macroblock type field.
The process 800 may include various additional operations, such as, for example, designating the alternative value as a substitute (a watermark) for the particular value, evaluating the effectiveness of the alternative value as a watermark, or creating embedding metadata. After creating a set of possible watermark replacements using, for example, the process 700 or the process 800, an implementation may select a subset of macroblocks to change. This selection is typically based on the payload requirements of the application, and any data coding applied to the payload. The selection is typically informed by the costs of each change (for example the fidelity and robustness costs as previously described). Usually, the selection will favor lower cost changes, hi one implementation, the macroblocks are ranked according to the total cost for the best possible alternative for each macroblock (730 and 740). The macroblocks with the lowest total cost (for the best possible alternative) are selected for watermarking with the payload data. Referring to FIG. 9, a process 900 is shown that describes an implementation for inserting replacement values, such as, for example, inserting a watermark. The process 900 includes accessing a payload (910). The accessed payload may be in bits or other symbols. Typically, the payload is in bits or is converted into bits. Additionally, the payload may be encoded. The process 900 includes determining the replacement locations and replacement values (920). Operation 920 may be performed using, for example, the process 700, followed by a ranking process as just described. Operations 910 and 920 may be performed in either order. However, one implementation performs operation 910 first and also determines the number of payload bits, and then determines only the needed locations in operation 920 by, for example, selecting only the top ranking macroblocks until all payload bits have been assigned a macroblock. The operation 920 may be influenced by various other implementation requirements such as, for example, those discussed with respect to FIG. 7. hi at least one implementation, all or part of operation 920 is performed during a pre- processing stage. For example, in a pre-processing stage, a table may be prepared that includes embedding metadata. Then, in operation 920, the replacement values and locations may be determined by accessing the table.
The process 900 further includes inserting the replacement values, at the replacement locations (930) to provide, for example, a watermark. Inserting the replacement values involves replacing the existing coded data with the replacement values. The modified data may then be stored or transmitted, for example. These replacement actions are typically informed by a coded payload.
Referring to FIG. 10, a process 1000 is shown that describes a general implementation for inserting substitute values based on a reference. The process 1000 thus has some similarity in functionality with the process 900.
The process 1000 includes accessing variable-length encoded data that includes a reference indicator (1010). That is, the variable-length encoded data includes an encoding (the reference indicator) of information identifying an actual reference used to predictively encode an image. The reference indicator, which is the encoding of the information identifying the actual reference, has a particular value. In one or more previously described examples, the reference indicator is the encoding of a value of the macroblock type field that identifies, through the corresponding intra-prediction mode, the reference used to predictively encode a macroblock. The process 1000 includes accessing an alternative value for the reference indicator
(1020). The alternative value is different from the particular value. The alternative value is an encoding of alternative information that identifies a different reference different from the actual reference. The alternative value may be, for example, accessed from storage or computed in real-time. An implementation may, for example, access the alternative value from a table that is indexed by a location of the reference indicator.
The process 1000 includes inserting the alternative value as a substitute for the reference indicator (1030). The alternative value is inserted into the variable-length encoded data to watermark the image.
The process 1000 may include various additional operations, such as, for example, storing or transmitting the modified variable- length encoded data.
All or part of the data identifying locations of coded elements and possible replacement values, as accessed by 1020, can be stored on a storage device, or sent electronically. One implementation stores the locations and values on an apparatus such as a DVD, a hard disk, or other storage device. The apparatus includes a processor-readable medium having information stored thereon. The stored information identifies a replacement value for a portion of an encoded set of data. Another implementation provides a signal formatted to include the information that is stored on a processor-readable medium of this apparatus.
Additional implementations are directed to the result of various processes, such as, for example, results of the process 900 or the process 1000. For example, one implementation is an apparatus such as a DVD, a hard disk, or other storage device that includes modified encoded data, and another implementation is a signal formatted to include such modified encoded data. More specifically, one implementation is an apparatus that includes a processor-readable medium, the processor-readable medium having stored thereon encoded data including a modified portion. Another implementation is a signal formatted to include the encoded data that is stored on the processor-readable medium of this apparatus. The above discussion describes a method for analyzing a target syntax element and identifying all, if any, acceptable alternative values that could be substituted by replacing a block of bits in the coded bitstream with an alternative block of bits. By examining all syntax elements in an AVC coded sequence, we can build a list of those, for which there exists at least one acceptable alternative value. This is the list of "changeable syntax elements". For each syntax element that can be changed, we can build a list of the acceptable alternative values. Note that other implementations may change syntax elements other than macroblock type, and the underlying intra-prediction mode. Such other syntax elements include, for example, motion vectors, residue values or the encoding of residue values using DCT coefficients (for example), inter-prediction indicators of a reference picture or reference frame.
Various syntax elements relate to reference information, which means information that identifies a reference in some way. A reference refers generally to a set of information that is used as a basis for a prediction. A reference identifier generally refers to information that identifies a reference. For example, a reference may be identified by an intra-prediction mode of a block because the intra-prediction mode identifies the pixels used as the basis for a prediction of a current block. The intra-prediction mode also identifies the manner in which those identified pixels are used. A reference also may be identified by, for example, a motion vector, or an indicator of a previous frame or macroblock that is used as a basis for a prediction. Note that a given macroblock may have multiple reference identifiers and multiple references.
It should be clear that a reference, and/or a reference identifier, may exist for intra- predicted blocks and inter-predicted blocks. Intra-predicted blocks may use a reference identifier such as, for example, an intra-prediction mode or a macroblock type (which identifies the intra- prediction mode), and the reference may be, for example, a block or a set of pixels from the same picture. Inter-predicted blocks may use a reference identifier such as, for example, a motion vector, and the reference may be all or part of a different picture.
The goal of information embedding is to modify a subset of the syntax elements on the list of all changeable syntax elements, changing their values from their original values to one of the listed acceptable alternative values, in accordance with the payload. In one practical implementation, this is accomplished in three steps as shown above in FIG. 9.
As discussed above, the payload can be recovered from the AVC bitstream with the aid of the detection metadata. In some implementations, the detection metadata indicates the specific syntax elements that represent the payload information and the original values of those elements. If the embedding process used the original values to represent a 1O1 and the alternative value to represent a 1I', the detector can compare the value in the bitstream with the original value stored in the detection data. If they match, the detector reports a '0' bit. If they do not match, the detector reports a T bit. If the embedding process replaced the original value with one of two alternative values, those two alternative values and their corresponding labels are recovered from the detection data. The detector then compares the value in the bitstream with one or more of the two alternatives and reports the corresponding label.
The payload data can also be recovered from the decoded pixel-domain imagery. This process is specific to the particular measure used in the subset selection process. In one practical implementation, the measure is the mean luminance of a block of pixels. The original mean luminance of each modified block is recovered from the detection data. The detector calculates the mean luminance of the specified block of pixels in the decoded image sequence and compares that value to the original value stored in the detection data. If the calculated value is higher than the original value, the detector reports a T bit. If the calculated value is lower than the original, the detector reports a '0' bit. Such an implementation stores the location and original value in the detection data, but does not need to store the expected detection values for a '0' bit or a T bit.
This recovery method could have problems if the decoded imagery is modified by a uniform change in luminance after decoding, but prior to detection. In order to address this, the mean luminance of a number of reference blocks can be stored in the detection data. These are blocks that are not changed by the embedding process. The detector can calculate the mean luminance of the reference blocks just prior to recovery and discover any luminance changes that are unrelated to the embedding process. These luminance changes can be compensated by adjusting the original values accordingly. At least one implementation adjusts for non-uniform luminance changes by using a reference block close to the watermarked block.
It should be clear that information embedding may include a variety of applications. One such application is watermarking in which a payload is embedded in a datastream. However, various information embedding applications may use different requirements. For example, it may be desirable to make a change to the datastream that results in a change that is perceivable by a user.
Referring to FIG. 11, a general process 1100 is shown for recovering payload information, or more generally, for detecting a watermark. The process 1100 may be applied to, for example, a coded and watermarked bitstream, or baseband data from a decoded watermarked bitstream. The process 1100 includes determining a location to check for a possible watermark
(1110). Note that this process may be applied to content that may or may not have had a watermarking process applied. Further, even if a watermarking process was applied, a payload bit may be embedded without changing the content (as previously described) Thus, the location that is checked may or may not have been modified. If the content has been previously watermarked, then this process is designed to recover the embedded payload. The process 1100 includes accessing (1120) and analyzing (1130) data from the determined location. The process 1100 further includes identifying the watermark information, if any watermark exists, based on the analysis (1140). The identified watermark information may be, for example, a sequence of bits (or other unit of information) or a detection value determined for a macroblock (or other unit of a picture).
The process 1100 may be repeated for one or more other locations to identify one or more additional bits that make up a payload. Thus, an entire payload may be recovered using the process 1100. Implementations of the process 1100 include analyzing a modified bitstream as well as analyzing baseband data (for example, pixel domain data or audio data). For example, a bitstream may be modified by modifying bits associated with a target element, according to one of the implementations previously described. A watermark may be detected in such a bitstream by accessing the appropriate bit locations and testing for the modification at those locations. The bit locations and modified values (or possible modified values), such as found in the embedding metadata, may also be included in the detection data.
Alternatively, or in addition, such a modified bitstream may be decoded and possibly subject to other processing, including re-encoding. In the case of re-encoding, such a re-encoded bitstream will not be expected to include the same modified target element, at the same location, as in the original modified bitstream. However, the re-encoded bitstream may be decoded to produce a baseband (for example, pixel-domain or audio clip) digital representation in which an effect of the original modification is still typically present. Thus, detection data will be useful that identifies the frame and block number in which the original modification had its impact. For example, the target element may have originally been a motion vector for a particular block, and the impact of modifying the motion vector may have been an increase in the mean luminance of that particular block or set of blocks. That increase in mean luminance may be preserved despite the processing of the original modified bitstream. However, the motion vector, and the original change to the motion vector will typically not be exactly the same after re-encoding.
Referring to FIG. 12, a process 1200 is shown that describes an implementation of the process 1100 for specific use with baseband imagery (that is, pixel data) and including specific operations tailored to baseband imagery. However, if compressed data is accessed (for example, is retrieved from storage or received in a transmission) instead of baseband imagery, we can decode the compressed data to obtain the baseband imagery. The process 1200 includes accessing baseband imagery (1205), and optionally performing temporal and/or geometric registration (1210). Registration may be necessary because the detection metadata may describe each change by, for example, frame number and block position within the frame. Accordingly, registration facilitates the proper identification of the frame number and block. There are many approaches for obtaining this registration, and the implementation is independent of the registration approach, so various approaches may be used.
The process 1200 includes accessing the detection metadata (1215). Each entry in the detection metadata may define a change by, for example, its frame position and block within the frame. For each entry, a loop (1220) is performed that may generally be defined to include operations 1225-1245.
For each entry in the detection metadata, the corresponding block of pixel data is extracted from the baseband imagery (1225). From the extracted block, the detection feature is measured, calculated, or otherwise determined (1230). In one example above, the detection feature is the mean luminance, and in another example the detection feature is the variance.
The process 1200, and the loop (1220), includes comparing the determined detection feature to the detection metadata (1235). This comparison includes, in one implementation, comparing the determined feature, for example a mean luminance value, to two mean luminance values in the detection metadata. The best match is selected and its corresponding symbol is output (1240). One implementation identifies the best match as the stored detection value that is closest to the determined detection feature. Other implementations may apply, for example, a non-linear evaluation to determine the best match.
The process 1200, and the loop (1220), further includes looping back to go the next intra-prediction coded block that is indicated in the detection metadata (1245). The loop (1220) repeats for all blocks indicated in the detection metadata.
Each iteration through the loop (1220) outputs a symbol from the operation (1240), and the result is a symbol stream (1250). The symbol stream is, optionally, decoded (1255). Note that implementations need not have encoded the payload bits. If a data coding process was applied to the payload (for example, as in data coder 120 in FIG. 1), then the corresponding data decoding process is applied to the symbol stream yielding the recovered payload which is referred to as the payload estimate (1260).
The payload estimate (1260) corresponds to the decoded symbol stream, or (if the payload was not coded) to the symbol stream. In typical implementations, the symbols output from the operation (1240) are bits, but other implementations may encode symbols other than bits.
As discussed above, when mean luminance is used as the detection feature, the system can become confused by global changes in brightness. In other words, a global increase in brightness can cause the luminance extracted from the baseband imagery to always be closer to the brighter of the two values stored in the metadata. Thus, the symbol stream may (erroneously) consist of all T bits. To counter this, an embedder can add a number of reference entries into the detection information. A reference entry lists a frame number, block position, and original luminance value of the block for a block that is not affected by the watermarking process. The detector can read out the reference values and compare these to the corresponding values seen in the baseband imagery. The baseband imagery can then be adjusted (perhaps during registration) such that the measured luminance in the reference blocks matches that listed in the detection metadata file.
Various implementations of the process 900 or the process 1200 use stored detection metadata that includes one or more of a variety of pieces of data. For example, the detection metadata may include location information identifying the locations to check for a possible watermark. The location information may include, for example, a frame identifier and/or a block identifier.
Detection metadata may include, for example, a benchmark value for a feature. The benchmark may be, for example, the value of the feature before the location was modified. The benchmark may be, for example, compared to the actual value (the new benchmark) of the feature for the accessed location (1120) to provide an indication of the change. For example, the comparison may indicate whether the value (the benchmark) has increased or decreased as a result of the modification. Detection metadata may include, for example, a base value for a feature from a different (non-watermarked) location. Such a base value may be, for example, the mean luminance of a non-watermarked location. The base value may be used, as explained earlier, to determine if there was a change to the data that affected more than the watermarked location. In certain circumstances, there may have been a global change (for example, a change to an entire frame). For example, the mean luminance of an entire frame may have been changed. The base value can then be compared to the new value of the feature at the non-watermarked location (a new base value). If the difference is more than a threshold, then it may be determined that a global change occurred. Alternatively, the difference may simply be taken to be a global difference, and the difference may be added to the value (the new benchmark) determined for the (possible) watermarked location to account for the global change. Note that in this alternative, the difference may (alternatively) be added to the benchmark instead of the value (the new benchmark). Further, in certain implementations a ratio may be determined between the base value and the new base value, and either the benchmark or the new benchmark may be multiplied by the ratio.
Referring to FIG. 13, a system 1300 provides a player 1305 for watermarking video (other types of content may also be watermarked) using pre-prepared embedding information (referred to as embedding metadata). The watermarked video is provided for display. The system 1300 also provides for re-encoding the video that is provided for display, such as may occur, for example, when an unauthorized copy of the video is re- encoded. The system 1300 further provides for decoding the re-encoding, and for detecting the original payload at one or more points in the overall system. The system 1300 also serves as a flow chart for one or more processes.
The player 1305 includes a payload 1310, a video 1315, and embedding metadata 1318. The player 1305 includes a watermarking unit 1320 that receives the payload 1310, the video 1315, and the embedding metadata 1318, and that provides a watermarked video. The payload may be detected from the watermarked video by a payload detector 1345.
The player 1305 includes an entropy decoder 1325 that receives the watermarked video and performs entropy decoding. The player 1305 further includes a predictive decoder 1330 that receives the entropy decoded stream from the entropy decoder 1325 and performs predictive decoding to produce a pixel-domain image 1335. The pixel-domain image may be provided to a display 1355, or to a payload detector 1350 that operates on baseband data.
The pixel-domain image also may be provided to a predictive re-encoder 1360 followed by an entropy re-encoder to re-encode the pixel-domain image into an encoded output 1370. The encoded output 1370 may be, for example, an AVC-compatible bitstream. The encoded output 1370 may be stored, for example, on a recordable medium for distribution. The predictive re-encoder 1360 and the entropy re-encoder 1365 may be part of a device that is separate from the player 1305 and that is for producing unauthorized copies of content (represented by the output 1370).
The encoded output 1370 may be provided, for example, to an entropy decoder 1380 (which may be the same as the entropy decoder 1325) followed by a predictive decoder 1385 (which may be the same as the predictive decoder 1330) to decode the encoded output 1370 into a pixel-domain image 1390. The pixel-domain image 1390 may be provided to a display 1392 and/or to a payload detector 1395 (which may be the same as payload detector 1350). The entropy decoder 1380 and the predictive decoder 1385 may be part of a device separate from the player 1305 and the predictive re-encoder 1360 and the entropy re-encoder 1365. For example, one such separate device may be geographically located at a payload detection facility that receives and analyzes unauthorized copies (represented by the output 1370) of content.
Clearly the process 900, or other processes described in this application, may be performed by a variety of devices, including processing devices. Such devices may also include a storage device for storing data, such as, for example, the accessed data, the benchmark value, the base value, and the location(s) of possible watermark information. Further, the process 900, or other processes described in this application, may be embodied in a set of instructions as well.
Features and aspects of described implementations may be applied to various applications. Applications include, for example, watermarking discs such as, for example, DVDs or other discs, and watermarking digital streams. Watermarking of discs may be performed in various manners, for example, at duplication of the discs. Watermarking of digital streams may also be performed in various manners, for example, at playback, broadcast, download, or other transfer of a digital stream. These features and aspects may also be adapted for other application areas. For example, a coded bitstream could be modified for purposes other than watermarking. One example includes embedding a message intended for a viewer to see. Further, the message could be varied based on a payload or other criterion. Further, although the described implementations focused primarily on variable length coding, other applications may apply the same concepts to other coding techniques.
The concepts, implementations, and features described in this application may be applied, for example, at various stages in a typical DVD creation, distribution, and playback process. For example, the concepts and features may be employed in:
1. Pre-processing the content to determine the replacement values. Replacement values need not be inserted at this stage, but may be stored, for example, in a data structure (for example, a table) for future insertion. 2. The data structure mentioned in item 1 above, or a signal conveying the data structure, or a processor-readable medium that stores the data structure. Such a medium may contain, for example, both the data structure and the unmodified content.
3. Inserting the replacement values from item 1 above into the content. 4. The modified content produced from item 3 above, either in a data structure, a signal conveying the modified content, or a processor-readable medium storing the modified content.
5. Decoding the modified content of item 4 above to produce baseband data, such as, for example, pixel data (if images are encoded) or audio data (if audio is encoded). 6. The decoded content itself from item 5 above, which is modified content that may include a watermark. The decoded content may be, for example, in a data structure, a signal conveying the decoded content, or a processor-readable medium storing at least temporarily the decoded content.
7. Displaying, or more generally presenting, the decoded content of item 6 above. Also includes providing for display or presentation.
8. Re-encoding the decoded content from item 6 above, such that the detection feature (that resulted from the modification) is retained even though the encoded bits might be different from those provided in item 4 above.
9. A data structure containing the re-encoded content from item 8. Or a signal formatting and conveying the re-encoded content. Or a processor-readable medium storing the re-encoded content.
10. Decoding the re-encoded content of item 8 above to produce baseband data.
11. The baseband data produced by decoding in item 10 above. The baseband data may be, for example, in a data structure, a signal conveying the baseband data, or a processor- readable medium storing at least temporarily the baseband data.
12. Displaying, or more generally presenting, the baseband data of item 11 above. Also includes providing for display or presentation.
13. Detecting a payload (for example, a watermark) from the modified content of item 4 above. 14. Detecting a payload from the baseband data of item 5 above.
15. Detecting a payload, if the encoded bits allow, from the re-encoded content of items 8 and 9 above.
16. Detecting a payload from the baseband data of item 11 above.
Note that if headers are used for various sections of this disclosure, then the header of a given section is not to be construed as limiting the disclosure of that section to the topic of the header, nor as limiting the disclosure of other sections to topics other than that of the header. Such headers are exemplary, and are intended as a general aid to the reader. Such headers are not intended to constrain the flow of the disclosure nor to restrict the applicability or generality of the disclosure. A watermark, as used in this application, may refer to various items. For example, a watermark may refer to data modified or inserted to allow subsequent detection, or to the resulting baseband modification.
As should be clear, a syntax element may represent one or more of various different types of information. For example, a syntax element may be a motion vector, a residue DCT coefficient, a macroblock type, a quantization parameter, or a flag. Accordingly, syntax elements need not all have the same length but can have various different lengths. Various implementations disclosed in this application may work on any type of syntax element, regardless of what type of information is represented by the syntax element and regardless of the size/length of the syntax element.
Various implementations are described in terms of a picture, a frame, or a block, for example. However, the concepts, implementations, and features described in this application generally apply to an image, and that image may be (or include) one or more pixels, blocks, slices, fields, frames, pictures, or sequences. Additionally, many implementations are described in terms of video data. However, the concepts, implementations, and features are generally equally applicable to audio data and other types of coded data.
Two devices or components are said to be coupled if the two devices are directly connected or indirectly connected. Directly connected devices have no intervening devices between the connected devices. Indirectly connected devices have one or more intervening devices between the connected devices.
Further, many implementations are described with respect to AVC. However, the concepts, implementations, and features (1) need not be restricted to a standard-environment, but may be applied to environments in which no standard is used, (2) are certainly not restricted to AVC, (3) generally apply to other known standards, and (4) will generally be applicable in some respect at least to future-developed standards. Other standards may include AVC-related standards which refer generally to other standards that are based on, or are similar to, AVC (with or without its extensions).
The implementations described herein may be implemented in, for example, a method or process, an apparatus, or a software program. Even if only discussed in the context of a single form of implementation (for example, discussed only as a method), the implementation of features discussed may also be implemented in other forms (for example, an apparatus or program). An apparatus may be implemented in, for example, appropriate hardware, software, and firmware. The methods may be implemented in, for example, an apparatus such as, for example, a processor, which refers to processing devices in general, including, for example, a computer, a microprocessor, an integrated circuit, or a programmable logic device. Processing devices also include communication devices, such as, for example, computers, cell phones, portable/personal digital assistants ("PDAs"), and other devices that facilitate communication of information between end-users.
Implementations of the various processes and features described herein may be embodied in a variety of different equipment or applications, particularly, for example, equipment or applications associated with data encoding and decoding, or equipment or applications associated with content production. Examples of equipment include video coders, video decoders, video codecs, web servers, set-top boxes, laptops, personal computers, cell phones, PDAs, and other communication devices. As should be clear, the equipment may be mobile and even installed in a mobile vehicle.
Additionally, the methods may be implemented by instructions being performed by a processor, and such instructions may be stored on a processor-readable medium such as, for example, an integrated circuit, a software carrier or other storage device such as, for example, a hard disk, a compact diskette, a random access memory ("RAM"), or a read-only memory ("ROM"). The instructions may form an application program tangibly embodied on a processor-readable medium. Instructions may be, for example, in hardware, firmware, software, or a combination. Instructions may be found in, for example, an operating system, a separate application, or a combination of the two. A processor may be characterized, therefore, as, for example, both a device configured to carry out a process and a device that includes a processor-readable medium having instructions for carrying out a process.
As should be evident to one of skill in the art, implementations may also produce a signal formatted to carry information that may be, for example, stored or transmitted. The information may include, for example, instructions for performing a method, or data produced by one of the described implementations. Such a signal may be formatted, for example, as an electromagnetic wave (for example, using a radio frequency portion of spectrum) or as a baseband signal. The formatting may include, for example, encoding a data stream and modulating a carrier with the encoded data stream. The information that the signal carries may be, for example, analog or digital information. The signal may be transmitted over a variety of different wired or wireless links, as is known.
A number of implementations have been described. Nevertheless, it will be understood that various modifications may be made. For example, elements of different implementations may be combined, supplemented, modified, or removed to produce other implementations. Additionally, one of ordinary skill will understand that other structures and processes may be substituted for those disclosed and the resulting implementations will perform at least substantially the same function(s), in at least substantially the same way(s), to achieve at least substantially the same result(s) as the implementations disclosed. Accordingly, these and other implementations are contemplated by this application and are within the scope of the following claims.

Claims

CLAIMS:
1. A method comprising: accessing (810) variable-length encoded data including an encoding of information identifying an actual reference used to predictively encode an image, the encoding of the information having a particular value; and determining (830) an alternative value that is different from the particular value, such that the alternative value is an encoding of alternative information that identifies a different reference from the actual reference, wherein the alternative value is for use in watermarking the variable-length encoded data.
2. The method of claim 1 further comprising designating the alternative value as a substitute for the particular value for use in watermarking the variable-length encoded data.
3. The method of claim 2 further comprising evaluating effectiveness of using the alternative value, in place of the current value, as a watermark, and wherein designating the alternative value as a substitute is based on a result of evaluating effectiveness.
4. The method of claim 3 wherein evaluating comprises determining a cost for the alternative value based on fidelity of the watermark and robustness of the watermark.
5. The method of claim 3 further comprising: evaluating effectiveness of an additional alternative value; and determining, based on results from evaluating the alternative value and evaluating the additional alternative value, that the alternative value is more effective, and wherein designating the alternative value as a substitute is based on determining that the alternative value is more effective.
6. The method of claim 5 wherein: the particular value identifies a first value for a macroblock type field for an intra- predicted 16x16 macroblock in H.264/AVC or a related standard, the first value indicating a first intra-prediction mode, the alternative value identifies a second value for a macroblock type field for an intra-predicted 16x16 macroblock in H.264/AVC or a related standard, the second value indicating a second intra-prediction mode, and the additional alternative value identifies a third value for a macroblock type field for an intra-predicted 16x16 macroblock in H.264/AVC or a related standard, the third value indicating a third intra-prediction mode.
7. The method of claim 6 wherein a CAVLC encoding of each of the first value, the second value, and the third value uses the same number of bits.
8. The method of claim 1 further comprising: inserting into a table the alternative value; determining location of the particular value in the variable-length encoded data; and inserting into the table information identifying the location in the variable-length encoded data at which the particular value is located, the location being where the alternative value would be inserted into the variable-length encoded data to replace the particular value.
9. The method of claim 1 further comprising replacing the particular value with the alternative value in the variable-length encoded data.
10. The method of claim 1 wherein the information identifying the actual reference identifies pixel locations of blocks that are adjacent to a current block, wherein the values of the pixel locations are used to predict at least a portion of the current block.
1 1. The method of claim 1 wherein the information identifying the actual reference identifies a reference block.
12. The method of claim 1 wherein the information identifying the actual reference identifies a reference picture.
13. The method of claim 1 wherein the information identifying the actual reference comprises a macroblock type field in H.264/AVC or a related standard.
14. The method of claim 1 wherein the information identifying the actual reference comprises a macroblock type field for an intra-predicted 16x16 macroblock in H.264/AVC or a related standard.
15. The method of claim 1 wherein the information identifying the actual reference comprises a prediction mode in H.264/AVC or a related standard.
16. The method of claim 1 wherein the information identifying the actual reference comprises a motion vector.
17. The method of claim 1 wherein the variable-length encoded data further includes an encoding of information identifying a current residue resulting from predicting the image with the current reference.
18. The method of claim 1 wherein: the variable-length encoded data has been encoded using a particular variable- length code, and the alternative value encodes the alternative information using the particular variable-length code.
19. An apparatus comprising: an entropy decoder (106) to decode variable-length encoded data including an encoding of information identifying an actual reference used to predictively encode an image, the encoding of the information having a particular value; and a watermark generator (108), coupled to the entropy decoder, to determine an alternative value that is different from the particular value, such that the alternative value is an encoding of alternative information that identifies a different reference from the actual reference, wherein the alternative value is for use in watermarking the variable- length encoded data.
20. The apparatus of claim 19 wherein the watermark generator is configured to create metadata for use in watermarking the variable-length encoded data, the metadata including (1) the alternative value and (2) a location of the particular value in the variable-length encoded data, and the metadata associating the alternative value and the location
21. An apparatus ( 104) comprising: means for accessing variable-length encoded data including an encoding of information identifying an actual reference used to predictively encode an image, the encoding of the information having a particular value; and means for determining an alternative value that is different from the particular value, such that the alternative value is an encoding of alternative information that identifies a different reference from the actual reference, wherein the alternative value is for use in watermarking the variable-length encoded data.
22. A processor configured to perform at least the following: accessing variable-length encoded data including an encoding of information identifying an actual reference used to predictively encode an image, the encoding of the information having a particular value; and determining an alternative value that is different from the particular value, such that the alternative value is an encoding of alternative information that identifies a different reference from the actual reference, wherein the alternative value is for use in watermarking the variable-length encoded data.
23. A processor-readable medium having stored thereon instructions for performing at least the following: accessing variable-length encoded data including an encoding of information identifying an actual reference used to predictively encode an image, the encoding of the information having a particular value; and determining an alternative value that is different from the particular value, such that the alternative value is an encoding of alternative information that identifies a different reference from the actual reference, wherein the alternative value is for use in watermarking the variable-length encoded data.
24. A processor-readable medium having watermark data (105) stored thereon, the watermark data for use in watermarking variable-length encoded data that includes an encoding of information identifying an actual reference used to predictively encode an image, the encoding of the information having a particular value, and the watermark data including an alternative value that is different from the particular value, such that the alternative value is an encoding of alternative information that identifies a different reference from the actual reference, the alternative value being a substitute for the particular value for use in watermarking the variable-length encoded data.
25. The processor-readable medium of claim 24 wherein the processor- readable medium has stored thereon the variable-length encoded data that includes the encoding of information identifying the actual reference used to predictively encode the image, the encoding of the information having the particular value.
26. A signal formatted to include watermark data (105) for use in watermarking variable-length encoded data that includes an encoding of information identifying an actual reference used to predictively encode an image, the encoding of the information having a particular value, the watermark data including an alternative value that is different from the particular value, such that the alternative value is an encoding of alternative information that identifies a different reference from the actual reference, the alternative value being a substitute for the particular value for use in watermarking the variable-length encoded data.
27. A method comprising: accessing (1010) variable-length encoded data including an encoding of information identifying an actual reference used to predictively encode an image, the encoding of the information having a particular value; accessing (1020) an alternative value that is different from the particular value, such that the alternative value is an encoding of alternative information that identifies a different reference from the actual reference; and inserting (1030) the alternative value into the variable-length encoded data as a substitute for the particular value to watermark the image.
28. The method of 27 wherein: accessing the variable-length encoded data occurs in response to a request for presentation of the variable-length encoded data, and processing operations to determine the alternative value have been performed prior to the accessing of the variable-length encoded data, such that upon receiving the request for presentation of the variable-length encoded data and subsequently accessing the variable-length encoded data, the alternative value may be inserted without needing to determine the alternative value.
29. The method of 27 further comprising performing processing operations to determine the alternative value, prior to accessing the alternative value.
30. An apparatus comprising a stream modification unit (102, 1320) configured to perform at least the following: accessing variable-length encoded data including an encoding of information identifying an actual reference used to predictively encode an image, the encoding of the information having a particular value; accessing an alternative value that is different from the particular value, such that the alternative value is an encoding of alternative information that identifies a different reference from the actual reference; and inserting the alternative value into the variable-length encoded data as a substitute for the particular value to watermark the image.
31. The apparatus of claim 30 further comprising a DVD reader, and wherein the apparatus is a DVD player.
32. An apparatus (102) comprising: means for accessing variable-length encoded data including an encoding of information identifying an actual reference used to predictively encode an image, the encoding of the information having a particular value; means for accessing an alternative value that is different from the particular value, such that the alternative value is an encoding of alternative information that identifies a different reference from the actual reference; and means for inserting the alternative value into the variable-length encoded data as a substitute for the particular value to watermark the image.
33. A processor configured to perform at least the following: accessing variable-length encoded data including an encoding of information identifying an actual reference used to predictively encode an image, the encoding of the information having a particular value; accessing an alternative value that is different from the particular value, such that the alternative value is an encoding of alternative information that identifies a different reference from the actual reference; and inserting the alternative value into the variable-length encoded data as a substitute for the particular value to watermark the image.
34. A processor-readable medium having stored thereon instructions for performing at least the following: accessing variable-length encoded data including an encoding of information identifying an actual reference used to predictively encode an image, the encoding of the information having a particular value; accessing an alternative value that is different from the particular value, such that the alternative value is an encoding of alternative information that identifies a different reference from the actual reference; and inserting the alternative value into the variable-length encoded data as a substitute for the particular value to watermark the image.
35. A processor-readable medium having stored thereon variable-length encoded data (103) for an encoding of an image, the variable-length encoded data comprising an encoding of information identifying an alternative reference that is different from the actual reference used to predictively encode the image, wherein the information identifying the alternative reference provides a watermark for the image.
36. The processor-readable medium of claim 35 wherein the variable-length encoded data stored on the medium further comprises an encoding of information identifying a residue from predictively encoding the image using the actual reference.
37. A signal formatted to include variable-length encoded data (103) for an encoding of an image, the variable-length encoded data comprising an encoding of information identifying an alternative reference that is different from the actual reference used to predictively encode the image, the alternative reference providing a watermark for the image.
38. A method comprising: decoding (1325) variable-length encoded data for an encoding of an image, the variable-length encoded data comprising an encoding of information identifying an alternative reference that is different from an actual reference used in predictively encoding the image, wherein the information identifying the alternative reference provides a watermark for the image.
39. The method of claim 38 wherein the variable-length encoded data further comprises an encoding of information identifying a residue from predictively encoding the image using the actual reference.
40. The method of claim 38 wherein decoding comprises decoding the variable-length code and the predictive code.
41. The method of claim 38 wherein decoding produces a baseband reconstruction of the image that varies from the original image by including a detectable feature arising from the use of the information identifying the alternative reference as a watermark.
42. An apparatus comprising a decoder (1325) configured to decode variable- length encoded data for an encoding of an image, the variable-length encoded data comprising an encoding of information identifying an alternative reference that is different from an actual reference used in predictively encoding the image, wherein the information identifying the alternative reference provides a watermark for the image.
43. An apparatus comprising: means (1325) for decoding variable-length encoded data for an encoding of an image, the variable-length encoded data comprising an encoding of information identifying an alternative reference that is different from an actual reference used in predictively encoding the image, wherein the information identifying the alternative reference provides a watermark for the image.
44. The apparatus of claim 43 further comprising memory means for storing the variable-length encoded data.
45. A processor configured to decode variable-length encoded data for an encoding of an image, the variable-length encoded data comprising an encoding of information identifying an alternative reference that is different from an actual reference used in predictively encoding the image, wherein the information identifying the alternative reference provides a watermark for the image.
46. A processor-readable medium having stored thereon instructions for decoding variable-length encoded data for an encoding of an image, the variable-length encoded data comprising an encoding of information identifying an alternative reference that is different from an actual reference used in predictively encoding the image, wherein the information identifying the alternative reference provides a watermark for the image.
47. A processor-readable medium having stored thereon a pixel-domain image (1335) that includes a detectable feature arising from a watermark of a variable-length encoding of one or more syntax elements from a predictive encoding of the image, the variable-length encoding having included an encoding of information identifying an alternative reference that is different from an actual reference used in predictively encoding the image, wherein the information identifying the alternative reference provided the watermark for the image.
48. A method comprising providing (1330) for display a pixel-domain image that includes a detectable feature arising from a watermark of a variable-length encoding of one or more syntax elements from a predictive encoding of the image, the variable- length encoding having included an encoding of information identifying an alternative reference that is different from an actual reference used in predictively encoding the image, wherein the information identifying the alternative reference provided the watermark for the image.
49. A method comprising: variable-length encoding (1365) a predictive encoding of a watermarked version of an image, the variable-length encoded data comprising an indicator of a current reference used in encoding the watermarked version of the image and an indicator of a resulting residue, the watermarked version of the image having a detectable characteristic that provides a watermark, wherein the detectable characteristic results from (1) modifying a previous variable-length encoding of a previous predictive-encoding of the image, the previous predictive-encoding being based on a previous reference and including information identifying the previous reference, wherein the modifying includes distorting the information in order to indicate an alternative reference and to provide the detectable characteristic for the image, and (2) decoding the previous variable-length encoding and the previous predictive-encoding of the image to produce the watermarked version of the image in which the detectable characteristic is present.
50. A processor-readable medium having stored thereon: variable-length encoded data (1370) from a variable-length encoding of a predictive encoding of a watermarked version of an image, the variable-length encoded data comprising an indicator of a current reference used in encoding the watermarked version of the image and an indicator of a resulting residue, the watermarked version of the image having a detectable characteristic that provides a watermark, wherein the detectable characteristic results from (1) modifying a previous variable-length encoding of a previous predictive-encoding of the image, the previous predictive-encoding being based on a previous reference and including information identifying the previous reference, wherein the modifying includes distorting the information in order to indicate an alternative reference and to provide the detectable characteristic for the image, and (2) decoding the previous variable-length encoding and the previous predictive-encoding of the image to produce the watermarked version of the image in which the detectable characteristic is present.
51. A method comprising decoding (1380-1385) variable-length encoded data from a variable-length encoding of a predictive encoding of a watermarked version of an image, the variable-length encoded data comprising an indicator of a current reference used in encoding the watermarked version of the image and an indicator of a resulting residue, the watermarked version of the image having a detectable characteristic that provides a watermark, wherein the detectable characteristic results from (1) modifying a previous variable-length encoding of a previous predictive-encoding of the image, the previous predictive-encoding being based on a previous reference and including information identifying the previous reference, wherein the modifying includes distorting the information in order to indicate an alternative reference and to provide the detectable characteristic for the image, and (2) decoding the previous variable-length encoding and the previous predictive-encoding of the image to produce the watermarked version of the image in which the detectable characteristic is present.
52. A processor-readable medium having stored thereon pixel-domain image data (1390) resulting from decoding (1380-1385) variable-length encoded data from a variable-length encoding of a predictive encoding of a watermarked version of an image, the variable-length encoded data comprising an indicator of a current reference used in encoding the watermarked version of the image and an indicator of a resulting residue, the watermarked version of the image having a detectable characteristic that provides a watermark, wherein the detectable characteristic results from (1) modifying a previous variable-length encoding of a previous predictive-encoding of the image, the previous predictive-encoding being based on a previous reference and including information identifying the previous reference, wherein the modifying includes distorting the information in order to indicate an alternative reference and to provide the detectable characteristic for the image, and (2) decoding the previous variable-length encoding and the previous predictive-encoding of the image to produce the watermarked version of the image in which the detectable characteristic is present.
53. A method comprising providing (1385) for display pixel-domain image data resulting from decoding variable-length encoded data from a variable-length encoding of a predictive encoding of a watermarked version of an image, the variable- length encoded data comprising an indicator of a current reference used in encoding the watermarked version of the image and an indicator of a resulting residue, the watermarked version of the image having a detectable characteristic that provides a watermark, wherein the detectable characteristic results from (1) modifying a previous variable-length encoding of a previous predictive-encoding of the image, the previous predictive-encoding being based on a previous reference and including information identifying the previous reference, wherein the modifying includes distorting the information in order to indicate an alternative reference and to provide the detectable characteristic for the image, and (2) decoding the previous variable-length encoding and the previous predictive-encoding of the image to produce the watermarked version of the image in which the detectable characteristic is present.
54. A method comprising: accessing (1 110) information that identifies a location in variable-length encoded data at which a variable-length encoding of information is located, the information identifying one of at least two references associated with a predictive encoding of an image; accessing (1120) the encoding of the information at the location in the variable- length encoded data; determining (1130), based on the encoding of the information, which of the at least two references is identified; and determining (1 140) pay load information based on a result of determining which of the at least two references is identified.
55. The method of claim 54 wherein the identified reference is different from an actual reference used in the predictive encoding of the image, and variable-length encoding the identified reference rather than the actual reference provided a watermark for the image.
56. A method comprising: accessing (1205) a pixel-domain image that includes a detectable feature arising from a watermark of a variable-length encoding of one or more syntax elements from a predictive encoding of the image, the variable-length encoding having included an encoding of information identifying an alternative reference that is different from an actual reference used in predictively encoding the image, wherein the information identifying the alternative reference provided the watermark for the image. accessing (1215) detection metadata indicating a location in the pixel-domain image at which the detectable feature is located; analyzing (1230) the pixel-domain image at the location to determine a value for the detectable feature; accessing (1235) additional detection metadata indicating a comparison value for the detectable feature; comparing (1235) the determined value for the detectable feature with the comparison value; and determining (1240-1260) payload information based on a result of the comparing.
PCT/US2008/007441 2007-06-14 2008-06-13 Modifying a coded bitstream WO2008154041A1 (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
EP08794359.3A EP2162860B1 (en) 2007-06-14 2008-06-13 Modifying a coded bitstream
BRPI0811626-1A BRPI0811626B1 (en) 2007-06-14 2008-06-13 METHOD AND DEVICE PRINT WATERMARK ON CODE VARIABLE EXTENSION DATA, CONTINUOUS FLOW OF CODE VARIABLE EXTENSION DATA AND LEGAL MEDIA BY PROCESSOR
CN2008800200087A CN101681499B (en) 2007-06-14 2008-06-13 Modifying a coded bitstream
KR1020097025542A KR101518999B1 (en) 2007-06-14 2008-06-13 Modifying a coded bitstream
CA2689634A CA2689634C (en) 2007-06-14 2008-06-13 Modifying a coded bitstream
US12/451,551 US8588459B2 (en) 2007-06-14 2008-06-13 Modifying a coded bitstream
JP2010512207A JP5467651B2 (en) 2007-06-14 2008-06-13 Encoding bitstream modification

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US93463407P 2007-06-14 2007-06-14
US60/934,634 2007-06-14
USPCT/US2007/023172 2007-11-02
PCT/US2007/023172 WO2008118145A1 (en) 2007-03-23 2007-11-02 Modifying a coded bitstream

Publications (1)

Publication Number Publication Date
WO2008154041A1 true WO2008154041A1 (en) 2008-12-18

Family

ID=39743136

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2008/007441 WO2008154041A1 (en) 2007-06-14 2008-06-13 Modifying a coded bitstream

Country Status (8)

Country Link
US (1) US8588459B2 (en)
EP (1) EP2162860B1 (en)
JP (2) JP5467651B2 (en)
KR (1) KR101518999B1 (en)
CN (1) CN101681499B (en)
BR (1) BRPI0811626B1 (en)
CA (1) CA2689634C (en)
WO (1) WO2008154041A1 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010021682A1 (en) * 2008-08-19 2010-02-25 Thomson Licensing Cabac/avc compliant watermarking of syntax elements in compressed video
WO2010021694A1 (en) * 2008-08-20 2010-02-25 Thomson Licensing Selection of watermarks for the watermarking of compressed video
WO2010021699A1 (en) 2008-08-19 2010-02-25 Thomson Licensing Context-based adaptive binary arithmetic coding (cabac) video stream compliance
CN101754016A (en) * 2008-12-19 2010-06-23 汤姆森许可贸易公司 Method for insertion of data, method for reading of inserted data
EP2321966A1 (en) * 2008-08-19 2011-05-18 Thomson Licensing Luminance evaluation
CN102244783A (en) * 2010-05-11 2011-11-16 美国博通公司 Method and system for data processing
WO2012038938A1 (en) 2010-09-24 2012-03-29 Nokia Corporation Methods, apparatuses and computer programs for video coding
EP2544143A1 (en) 2011-07-08 2013-01-09 Thomson Licensing Method for watermark detection using reference blocks comparison
US9042455B2 (en) 2008-08-19 2015-05-26 Thomson Licensing Propagation map
US9105091B2 (en) 2010-02-09 2015-08-11 Thomson Licensing Watermark detection using a propagation map
EP2321768A4 (en) * 2008-08-20 2015-10-28 Thomson Licensing Blockiness and fidelity in watermarking
US9299120B2 (en) 2007-03-23 2016-03-29 Thomson Licensing Llc Modifying a coded bitstream

Families Citing this family (66)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6882685B2 (en) * 2001-09-18 2005-04-19 Microsoft Corporation Block transform and quantization for image and video coding
US9055239B2 (en) 2003-10-08 2015-06-09 Verance Corporation Signal continuity assessment using embedded watermarks
US8942289B2 (en) * 2007-02-21 2015-01-27 Microsoft Corporation Computational complexity and precision control in transform-based digital media codec
US8396122B1 (en) * 2009-10-14 2013-03-12 Otoy, Inc. Video codec facilitating writing an output stream in parallel
WO2011075071A1 (en) * 2009-12-17 2011-06-23 Telefonaktiebolaget Lm Ericsson (Publ) Method and arrangement for video coding
EP2526698A1 (en) 2010-01-22 2012-11-28 Thomson Licensing Methods and apparatus for sampling -based super resolution video encoding and decoding
WO2011090798A1 (en) 2010-01-22 2011-07-28 Thomson Licensing Data pruning for video compression using example-based super-resolution
KR102166520B1 (en) 2010-04-13 2020-10-16 지이 비디오 컴프레션, 엘엘씨 Sample region merging
ES2549734T3 (en) 2010-04-13 2015-11-02 Ge Video Compression, Llc Video encoding using multi-tree image subdivisions
KR101584480B1 (en) 2010-04-13 2016-01-14 지이 비디오 컴프레션, 엘엘씨 Inter-plane prediction
CN106454371B (en) 2010-04-13 2020-03-20 Ge视频压缩有限责任公司 Decoder, array reconstruction method, encoder, encoding method, and storage medium
US20120014433A1 (en) * 2010-07-15 2012-01-19 Qualcomm Incorporated Entropy coding of bins across bin groups using variable length codewords
WO2012033972A1 (en) 2010-09-10 2012-03-15 Thomson Licensing Methods and apparatus for pruning decision optimization in example-based data pruning compression
WO2012033970A1 (en) 2010-09-10 2012-03-15 Thomson Licensing Encoding of a picture in a video sequence by example - based data pruning using intra- frame patch similarity
JP6071001B2 (en) * 2010-09-10 2017-02-01 トムソン ライセンシングThomson Licensing Video decoding using block-based mixed-resolution data pruning
US8848791B2 (en) * 2010-09-29 2014-09-30 Futurewei Technologies, Inc. Compressed domain video watermarking
KR101424049B1 (en) 2010-11-29 2014-07-29 주식회사 씨케이앤비 Watermark generating method, broadcast content generating method including the same and watermarking system
PT2697979T (en) * 2011-04-15 2016-12-23 Nagravision Sa Method to identify the origin of a security module in pay-tv decoder system
US20120294366A1 (en) * 2011-05-17 2012-11-22 Avi Eliyahu Video pre-encoding analyzing method for multiple bit rate encoding system
US8805099B2 (en) 2011-06-22 2014-08-12 Panasonic Intellectual Property Corporation Of America Image decoding method and image coding method
US9253508B2 (en) * 2011-11-04 2016-02-02 Futurewei Technologies, Inc. Differential pulse code modulation intra prediction for high efficiency video coding
US8745403B2 (en) 2011-11-23 2014-06-03 Verance Corporation Enhanced content management based on watermark extraction records
EP2600531A1 (en) * 2011-12-01 2013-06-05 Thomson Licensing Method for determining a modifiable element in a coded bit-stream and associated device
JP2013126225A (en) 2011-12-16 2013-06-24 Internatl Business Mach Corp <Ibm> Method, program and system for distributing data to multiple clients from server
US9531990B1 (en) 2012-01-21 2016-12-27 Google Inc. Compound prediction using multiple sources or prediction modes
US8737824B1 (en) 2012-03-09 2014-05-27 Google Inc. Adaptively encoding a media stream with compound prediction
US9185414B1 (en) * 2012-06-29 2015-11-10 Google Inc. Video encoding using variance
US8726304B2 (en) 2012-09-13 2014-05-13 Verance Corporation Time varying evaluation of multimedia content
CN104685881B (en) * 2012-09-28 2018-05-15 夏普株式会社 Picture decoding apparatus, picture coding device and picture decoding method
US9990478B2 (en) * 2012-11-30 2018-06-05 The Nielsen Company (Us), Llc Methods, apparatus, and articles of manufacture to encode auxiliary data into relational database keys and methods, apparatus, and articles of manufacture to obtain encoded data from relational database keys
US9628790B1 (en) 2013-01-03 2017-04-18 Google Inc. Adaptive composite intra prediction for image and video compression
US9262794B2 (en) 2013-03-14 2016-02-16 Verance Corporation Transactional video marking system
US9374578B1 (en) 2013-05-23 2016-06-21 Google Inc. Video coding using combined inter and intra predictors
US9485089B2 (en) 2013-06-20 2016-11-01 Verance Corporation Stego key management
US9251549B2 (en) 2013-07-23 2016-02-02 Verance Corporation Watermark extractor enhancements based on payload ranking
US9208334B2 (en) * 2013-10-25 2015-12-08 Verance Corporation Content management using multiple abstraction layers
ES2682198T3 (en) * 2013-11-04 2018-09-19 Nagravision S.A. Device and method for marking digital audio or audio and / or video content
US9609343B1 (en) 2013-12-20 2017-03-28 Google Inc. Video coding using compound prediction
US9299119B2 (en) * 2014-02-24 2016-03-29 Disney Enterprises, Inc. Overlay-based watermarking for video synchronization with contextual data
US10504200B2 (en) 2014-03-13 2019-12-10 Verance Corporation Metadata acquisition using embedded watermarks
CN106170988A (en) 2014-03-13 2016-11-30 凡瑞斯公司 The interactive content using embedded code obtains
EP2960854A1 (en) * 2014-06-27 2015-12-30 Thomson Licensing Method and device for determining a set of modifiable elements in a group of pictures
EP3183883A4 (en) 2014-08-20 2018-03-28 Verance Corporation Watermark detection using a multiplicity of predicted patterns
US9769543B2 (en) 2014-11-25 2017-09-19 Verance Corporation Enhanced metadata and content delivery using watermarks
US9942602B2 (en) 2014-11-25 2018-04-10 Verance Corporation Watermark detection and metadata delivery associated with a primary content
WO2016100916A1 (en) 2014-12-18 2016-06-23 Verance Corporation Service signaling recovery for multimedia content using embedded watermarks
US9756401B2 (en) * 2015-04-07 2017-09-05 Sony Corporation Processing and providing an image in which a plurality of symbols are encoded
EP3086562B1 (en) * 2015-04-23 2017-05-24 Axis AB Method and device for processing a video stream in a video camera
US10257567B2 (en) 2015-04-30 2019-04-09 Verance Corporation Watermark based content recognition improvements
CN113438518B (en) * 2015-07-06 2023-02-28 Lg电子株式会社 Method for processing broadcast data, receiving system and transmitting system
WO2017015399A1 (en) 2015-07-20 2017-01-26 Verance Corporation Watermark-based data recovery for content with multiple alternative components
CN105263024B (en) * 2015-10-15 2018-06-29 宁波大学 A kind of registration of HEVC video flowing zero watermarkings of anti-quantization transcoding and detection method
CN107105255B (en) * 2016-02-23 2020-03-03 阿里巴巴集团控股有限公司 Method and device for adding label in video file
US10958989B2 (en) 2016-02-25 2021-03-23 Synamedia Limited Framework for embedding data in encoded video
WO2017184648A1 (en) 2016-04-18 2017-10-26 Verance Corporation System and method for signaling security and database population
CN117499646A (en) * 2016-04-29 2024-02-02 英迪股份有限公司 Image decoding method, image encoding method, and method for transmitting bit stream
US10554976B2 (en) * 2016-07-25 2020-02-04 Synamedia Limited Framework for embedding data in encoded video
US10359518B2 (en) * 2016-12-30 2019-07-23 DeepMap Inc. Vector data encoding of high definition map data for autonomous vehicles
WO2018237191A1 (en) 2017-06-21 2018-12-27 Verance Corporation Watermark-based metadata acquisition and processing
CN109756738B (en) * 2017-11-02 2021-04-16 北京金山云网络技术有限公司 Digital watermark adding and extracting method and device, electronic equipment and storage medium
US11057685B2 (en) * 2018-03-29 2021-07-06 Ncr Corporation Media content proof of play over optical medium
US11468149B2 (en) 2018-04-17 2022-10-11 Verance Corporation Device authentication in collaborative content screening
WO2021030625A1 (en) * 2019-08-15 2021-02-18 Dolby Laboratories Licensing Corporation Methods and devices for generation and processing of modified bitstreams
CN111866517A (en) * 2020-07-23 2020-10-30 北京中指实证数据信息技术有限公司 Picture processing method and device, electronic equipment and computer readable storage medium
CN111913473B (en) * 2020-07-31 2021-10-22 深圳市元征科技股份有限公司 Code adjusting method, vehicle diagnosis equipment and system
US11722741B2 (en) 2021-02-08 2023-08-08 Verance Corporation System and method for tracking content timeline in the presence of playback rate changes

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0928110A2 (en) * 1997-12-30 1999-07-07 Sarnoff Corporation Image signal processing for electronic watermarking
US20060227873A1 (en) * 2005-04-11 2006-10-12 Toebes John A Digital watermarking of a media stream using coded macroblock types

Family Cites Families (70)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4939515A (en) * 1988-09-30 1990-07-03 General Electric Company Digital signal encoding and decoding apparatus
US5721788A (en) * 1992-07-31 1998-02-24 Corbis Corporation Method and system for digital image signatures
DE726013T1 (en) * 1993-10-29 1998-01-02 Time Warner Entertainment Co., L.P., Burbank, Calif. SYSTEM AND METHOD FOR PLAYBACK CONTROL OF SEVERAL MOVIE FILES STORED ON AN OPTICAL DISK
US5636292C1 (en) * 1995-05-08 2002-06-18 Digimarc Corp Steganography methods employing embedded calibration data
US5710834A (en) * 1995-05-08 1998-01-20 Digimarc Corporation Method and apparatus responsive to a code signal conveyed through a graphic image
US7113615B2 (en) * 1993-11-18 2006-09-26 Digimarc Corporation Watermark embedder and reader
US5748783A (en) * 1995-05-08 1998-05-05 Digimarc Corporation Method and apparatus for robust information coding
US5530751A (en) * 1994-06-30 1996-06-25 Hewlett-Packard Company Embedded hidden identification codes in digital objects
US5646997A (en) * 1994-12-14 1997-07-08 Barton; James M. Method and apparatus for embedding authentication information within digital data
GB9500285D0 (en) 1995-01-07 1995-03-01 Central Research Lab Ltd A method of labelling an audio signal
US5530759A (en) * 1995-02-01 1996-06-25 International Business Machines Corporation Color correct digital watermarking of images
US5613004A (en) * 1995-06-07 1997-03-18 The Dice Company Steganographic method and device
US6411725B1 (en) * 1995-07-27 2002-06-25 Digimarc Corporation Watermark enabled video objects
US5687191A (en) * 1995-12-06 1997-11-11 Solana Technology Development Corporation Post-compression hidden data transport
US5664018A (en) * 1996-03-12 1997-09-02 Leighton; Frank Thomson Watermarking process resilient to collusion attacks
AU2435297A (en) * 1996-04-02 1997-11-07 Theodore G Handel Data embedding
US7412072B2 (en) * 1996-05-16 2008-08-12 Digimarc Corporation Variable message coding protocols for encoding auxiliary data in media signals
US6978370B1 (en) * 1996-09-03 2005-12-20 Cryptography Research, Inc. Method and system for copy-prevention of digital copyright works
US5809139A (en) * 1996-09-13 1998-09-15 Vivo Software, Inc. Watermarking method and apparatus for compressed digital video
US5734752A (en) * 1996-09-24 1998-03-31 Xerox Corporation Digital watermarking using stochastic screen patterns
US5825892A (en) * 1996-10-28 1998-10-20 International Business Machines Corporation Protecting images with an image watermark
US5960081A (en) * 1997-06-05 1999-09-28 Cray Research, Inc. Embedding a digital signature in a video sequence
WO1999004570A1 (en) * 1997-07-18 1999-01-28 Ecole Polytechnique Federale De Lausanne Method for marking a compressed digital video signal
KR100323441B1 (en) * 1997-08-20 2002-06-20 윤종용 Mpeg2 motion picture coding/decoding system
JP4064506B2 (en) * 1997-09-17 2008-03-19 パイオニア株式会社 Digital watermark superimposing method, detecting method and apparatus
US6332194B1 (en) * 1998-06-05 2001-12-18 Signafy, Inc. Method for data preparation and watermark insertion
US6154571A (en) * 1998-06-24 2000-11-28 Nec Research Institute, Inc. Robust digital watermarking
KR100368084B1 (en) * 1998-08-27 2003-01-15 인터내셔널 비지네스 머신즈 코포레이션 System for embedding additional information in video data, and embedding method
JP3480700B2 (en) * 1999-06-25 2003-12-22 日本ビクター株式会社 Digital watermark recording method and digital watermark recording device
JP2001242786A (en) * 1999-12-20 2001-09-07 Fuji Photo Film Co Ltd Device and method for distribution, and recording medium
US6282300B1 (en) * 2000-01-21 2001-08-28 Signafy, Inc. Rotation, scale, and translation resilient public watermarking for images using a log-polar fourier transform
US6687384B1 (en) * 2000-03-27 2004-02-03 Sarnoff Corporation Method and apparatus for embedding data in encoded digital bitstreams
BR0109448A (en) * 2001-01-23 2003-06-03 Koninkl Philips Electronics Nv Process and arrangement for embedding a watermark in an information signal
JP3565182B2 (en) * 2001-05-11 2004-09-15 日本電気株式会社 Method and method for preventing input of variable length code from being interrupted
JP2004536531A (en) * 2001-07-19 2004-12-02 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Processing compressed media signals
US7046818B2 (en) * 2001-07-20 2006-05-16 Seiko Epson Corporation Standards compliant watermarking for access management
JP3977216B2 (en) * 2001-09-27 2007-09-19 キヤノン株式会社 Information processing apparatus and method, information processing program, and storage medium
US6724914B2 (en) * 2001-10-16 2004-04-20 Digimarc Corporation Progressive watermark decoding on a distributed computing platform
AU2003210625A1 (en) * 2002-01-22 2003-09-02 Digimarc Corporation Digital watermarking and fingerprinting including symchronization, layering, version control, and compressed embedding
JP3720791B2 (en) 2002-04-24 2005-11-30 ソニー株式会社 Image encoding apparatus and method, and image decoding apparatus and method
US7277587B2 (en) * 2002-04-26 2007-10-02 Sharp Laboratories Of America, Inc. System and method for lossless video coding
KR20050005531A (en) * 2002-06-03 2005-01-13 코닌클리케 필립스 일렉트로닉스 엔.브이. Encoding and decoding of watermarks in independent channels
AU2003256333A1 (en) * 2002-06-28 2004-01-19 University Of Rochester System and method for embedding information in digital signals
MXPA05002002A (en) * 2002-08-21 2005-04-28 Thomson Licensing Sa Watermarking digital data at a user device.
US20040120404A1 (en) * 2002-11-27 2004-06-24 Takayuki Sugahara Variable length data encoding method, variable length data encoding apparatus, variable length encoded data decoding method, and variable length encoded data decoding apparatus
US7636440B2 (en) * 2003-01-31 2009-12-22 Hewlett-Packard Development Company, L.P. Digital watermark with variable location
US20050021539A1 (en) * 2003-03-07 2005-01-27 Chaticom, Inc. Methods and systems for digital rights management of protected content
CN1778092B (en) * 2003-04-25 2010-05-12 皇家飞利浦电子股份有限公司 Overhead reduction and address protection in communication stack
DE10321983A1 (en) * 2003-05-15 2004-12-09 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Device and method for embedding binary useful information in a carrier signal
US7769088B2 (en) * 2003-05-28 2010-08-03 Broadcom Corporation Context adaptive binary arithmetic code decoding engine
EP1636995B1 (en) * 2003-06-25 2010-06-02 Thomson Licensing Encoding method and apparatus for insertion of watermarks in a compressed video bitstream
US20060257000A1 (en) * 2003-06-25 2006-11-16 Boyce Jill M Decoding method an apparatus for detection of watermarks in a compressed video bitsream
JP4612797B2 (en) * 2004-03-11 2011-01-12 キヤノン株式会社 Encoding device and encoding method
US8127137B2 (en) * 2004-03-18 2012-02-28 Digimarc Corporation Watermark payload encryption for media including multiple watermarks
CA2562137C (en) * 2004-04-07 2012-11-27 Nielsen Media Research, Inc. Data insertion apparatus and methods for use with compressed audio/video data
US7437721B2 (en) * 2004-09-29 2008-10-14 Microsoft Corporation Isolating software deployment over a network from external malicious intrusion
EP1800466A1 (en) 2004-10-15 2007-06-27 Matsushita Electric Industrial Co., Ltd. Information-detecting apparatus and method
GB2419762A (en) * 2004-11-01 2006-05-03 Sony Uk Ltd Method of generating protected media signals by replacing data bits with hash values
GB2421134A (en) * 2004-12-09 2006-06-14 Sony Uk Ltd Detection of payload data from a watermarked image by calculation of payload probability values
FR2879878B1 (en) 2004-12-22 2007-05-25 Thales Sa COMPATIBLE SELECTIVE ENCRYPTION METHOD FOR VIDEO STREAM
KR100878827B1 (en) * 2005-07-08 2009-01-14 엘지전자 주식회사 Method for modeling coding information of a video signal to compress/decompress the information
CN100466739C (en) * 2005-10-12 2009-03-04 华为技术有限公司 CABAC decoding system and method
WO2007067168A1 (en) 2005-12-05 2007-06-14 Thomson Licensing Watermarking encoded content
FR2894759A1 (en) 2005-12-12 2007-06-15 Nextamp Sa METHOD AND DEVICE FOR FLOW TATTOO
DE102005063136B3 (en) * 2005-12-30 2007-07-05 Siemens Ag Marked data stream generating method for use in digital video data, involves displaying applicability of marked data stream section and localizing marked data stream section using marking information
EP2011075B1 (en) 2006-04-25 2017-03-29 Thomson Licensing Digital watermarking method
US8752032B2 (en) * 2007-02-23 2014-06-10 Irdeto Canada Corporation System and method of interlocking to protect software-mediated program and device behaviours
WO2008118146A1 (en) 2007-03-23 2008-10-02 Thomson Licensing Modifying a coded bitstream
WO2009005494A1 (en) 2007-06-29 2009-01-08 Thomson Licensing Volume marking with low-frequency
KR101611375B1 (en) 2008-08-19 2016-04-11 톰슨 라이센싱 Cabac/avc compliant watermarking of syntax elements in compressed video

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0928110A2 (en) * 1997-12-30 1999-07-07 Sarnoff Corporation Image signal processing for electronic watermarking
US20060227873A1 (en) * 2005-04-11 2006-10-12 Toebes John A Digital watermarking of a media stream using coded macroblock types

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
CONG-VAN NGUYEN ET AL: "A Fast Watermarking System for H.264/AVC Video", CIRCUITS AND SYSTEMS, 2006. APCCAS 2006. IEEE ASIA PACIFIC CONFERENCE ON, IEEE, PISCATAWAY, NJ, USA, 1 December 2006 (2006-12-01), pages 81 - 84, XP031070779, ISBN: 978-1-4244-0387-5 *
NÜKHET ÖZBEK, TURHAN TUNALI: "A Survey on the H.264/AVC Standard", TURK J. ELEC. ENGIN., vol. 13, no. 3, 2005, pages 287 - 302, XP002496535, Retrieved from the Internet <URL:http://journals.tubitak.gov.tr/elektrik/issues/elk-05-13-3/elk-13-3-1-0408-5.pdf> [retrieved on 20080919] *
WIEGAND T ET AL: "Overview of the H.264/AVC video coding standard", IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, IEEE SERVICE CENTER, PISCATAWAY, NJ, US, vol. 13, no. 7, 1 July 2003 (2003-07-01), pages 560 - 576, XP011099249, ISSN: 1051-8215 *

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9299120B2 (en) 2007-03-23 2016-03-29 Thomson Licensing Llc Modifying a coded bitstream
EP2321966A1 (en) * 2008-08-19 2011-05-18 Thomson Licensing Luminance evaluation
WO2010021699A1 (en) 2008-08-19 2010-02-25 Thomson Licensing Context-based adaptive binary arithmetic coding (cabac) video stream compliance
US8948443B2 (en) 2008-08-19 2015-02-03 Thomson Licensing Luminance evaluation
WO2010021682A1 (en) * 2008-08-19 2010-02-25 Thomson Licensing Cabac/avc compliant watermarking of syntax elements in compressed video
EP2321904A1 (en) * 2008-08-19 2011-05-18 Thomson Licensing Context-based adaptive binary arithmetic coding (cabac) video stream compliance
US9042455B2 (en) 2008-08-19 2015-05-26 Thomson Licensing Propagation map
EP2321966A4 (en) * 2008-08-19 2011-08-31 Thomson Licensing Luminance evaluation
EP2321904A4 (en) * 2008-08-19 2012-08-01 Thomson Licensing Context-based adaptive binary arithmetic coding (cabac) video stream compliance
US9113231B2 (en) 2008-08-19 2015-08-18 Thomson Licensing Changeable block list
US8594366B2 (en) 2008-08-19 2013-11-26 Thomson Licensing Context-based adaptive binary arithmetic coding (CABAC) video stream compliance
WO2010021694A1 (en) * 2008-08-20 2010-02-25 Thomson Licensing Selection of watermarks for the watermarking of compressed video
EP2321768A4 (en) * 2008-08-20 2015-10-28 Thomson Licensing Blockiness and fidelity in watermarking
US8824727B2 (en) 2008-08-20 2014-09-02 Thomson Licensing Selection of watermarks for the watermarking of compressed video
EP2199970A1 (en) 2008-12-19 2010-06-23 Thomson Licensing, Inc. Watermarking compressed video data by changing blocks' prediction mode
CN101754016B (en) * 2008-12-19 2014-06-04 汤姆森许可贸易公司 Method for insertion of data, method for reading of inserted data
CN101754016A (en) * 2008-12-19 2010-06-23 汤姆森许可贸易公司 Method for insertion of data, method for reading of inserted data
US9105091B2 (en) 2010-02-09 2015-08-11 Thomson Licensing Watermark detection using a propagation map
CN102244783B (en) * 2010-05-11 2015-03-25 美国博通公司 Method and system for data processing
CN102244783A (en) * 2010-05-11 2011-11-16 美国博通公司 Method and system for data processing
WO2012038938A1 (en) 2010-09-24 2012-03-29 Nokia Corporation Methods, apparatuses and computer programs for video coding
US8768004B2 (en) 2011-07-08 2014-07-01 Thomson Licensing Method for watermark detection using reference blocks comparison
EP2544142A1 (en) 2011-07-08 2013-01-09 Thomson Licensing Method for watermark detection using reference blocks comparison
EP2544143A1 (en) 2011-07-08 2013-01-09 Thomson Licensing Method for watermark detection using reference blocks comparison

Also Published As

Publication number Publication date
JP5892704B2 (en) 2016-03-23
KR101518999B1 (en) 2015-05-12
BRPI0811626B1 (en) 2019-08-20
JP2014042311A (en) 2014-03-06
CA2689634A1 (en) 2008-12-18
JP5467651B2 (en) 2014-04-09
JP2010529813A (en) 2010-08-26
BRPI0811626A2 (en) 2014-11-11
EP2162860A1 (en) 2010-03-17
US8588459B2 (en) 2013-11-19
CN101681499B (en) 2013-04-24
US20100150394A1 (en) 2010-06-17
CA2689634C (en) 2016-08-23
CN101681499A (en) 2010-03-24
KR20100021588A (en) 2010-02-25
EP2162860B1 (en) 2018-08-01

Similar Documents

Publication Publication Date Title
US8588459B2 (en) Modifying a coded bitstream
CA2681402C (en) Modifying a coded bitstream
Tew et al. An overview of information hiding in H. 264/AVC compressed video
Noorkami et al. Compressed-domain video watermarking for H. 264
US6798893B1 (en) Digital watermarking technique
US7779271B2 (en) Watermark embedding
EP2102807B1 (en) Video watermarking
US7630512B2 (en) Method for performing recoverable video and image watermarking which survives block-based video and image compression
US20090080689A1 (en) Watermarking Encoded Content
Zou et al. H. 264 stream replacement watermarking with CABAC encoding
Zou et al. H. 264/AVC stream replacement technique for video watermarking
Chen et al. Robust drift-free bit-rate preserving H. 264 watermarking
US20050025336A1 (en) Method and apparatus for compressed-domain watermarking
Zou et al. H. 264/AVC substitution watermarking: a CAVLC example
US11308572B1 (en) Method and system for invisible watermarking of images and video
Liu et al. A MPEG-2 video watermarking algorithm with compensation in bit stream
JP2009213074A (en) Digital watermark inserting system and detecting system
Ahuja et al. Compressed domain based review on digital video watermarking techniques

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200880020008.7

Country of ref document: CN

DPE2 Request for preliminary examination filed before expiration of 19th month from priority date (pct application filed from 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08794359

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 12451551

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2689634

Country of ref document: CA

ENP Entry into the national phase

Ref document number: 20097025542

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 2010512207

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2008794359

Country of ref document: EP

DPE2 Request for preliminary examination filed before expiration of 19th month from priority date (pct application filed from 20040101)
ENP Entry into the national phase

Ref document number: PI0811626

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20091113