# US 2006/0080743 A1 · Secure image authentication with discrete level tamper localization

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

- Number: US 2006/0080743 A1
- Document ID: US20060080743A1
- Status: Published application
- Kind: A1
- Application number: 10/963,696
- Filed: 2004-10-13
- Published: 2006-04-13
- Earliest claimed: 2004-10-13
- Assignees: Microsoft Corporation
- Inventors: Bin Zhu; Jinhai Wu; Shipeng Li
- Web page: https://patentgrep.com/patent/US20060080743A1

## CPC

- H04N 19/467: characterised by the embedded information being invisible, e.g. watermarking
- G06T 1/0042: {Fragile watermarking, e.g. so as to detect tampering}
- H04N 1/00005: {relating to image data}
- H04N 1/00037: {Detecting, i.e. determining the occurrence of a predetermined state (H04N1/00031 takes precedence)}
- H04N 1/32144: {embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp}
- H04N 1/32213: {Modulating the least significant bits of pixels}
- G06T 2201/0051: Embedding of the watermark in the spatial domain
- G06T 2201/0061: Embedding of the watermark in each block of the image, e.g. segmented watermarking
- H04N 2201/3233: of authentication information, e.g. digital signature, watermark
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Systems and methods for secure multimedia authentication with discrete level tamper localization are described. In these aspects, the term “discrete” means that tamper localization is at the pixel level with respect to an image or video data, or at the sample level with respect to audio data. More particularly, and in one aspect, multimedia is evaluated to determine authenticity of the multimedia. This evaluation is based on data block(s). Responsive to determining that the multimedia is not authentic, a tampered portion of the multimedia is localized by addressing each respective pixel or sample of the tampered portion.

## Claims

### Claim 1

A method comprising:
evaluating multimedia to determine authenticity of the multimedia, the evaluating being based on data block(s); and
responsive to determining that the multimedia is not authentic, localizing a tampered portion of the multimedia, the localizing addressing each respective pixel or sample of the tampered portion.

### Claim 2 (depends on 1)

A method as recited in claim 1:
wherein the data block(s) are pixel block(s) associated with an image or video data, and wherein the tampered portion is one or more pixels; or
wherein the data block(s) are sample block(s) for audio data, and wherein the tampered portion is one or more samples.

### Claim 3 (depends on 1)

A method as recited in claim 1, wherein the multimedia is a grayscale or a color image.

### Claim 4 (depends on 1)

A method as recited in claim 1, wherein evaluating multimedia further comprises:
extracting data from the multimedia, the data comprising a digital signature, keyed hash, or MAC, from least significant bits (LSBs) of a set of pixels or samples selected for embedding; and
if the data is a digital signature, decrypting the multimedia using the data to obtain the hash value if digital signature is used.

### Claim 5 (depends on 1)

A method as recited in claim 1, wherein localizing further comprises:
shuffling a challenged image to generate a shuffled image with randomized neighborhood data;
converting the shuffled image and an original logo image into lower dimension vectors; the original logo image being a second image embedded into the multimedia to be signed in a signing procedure to detect tampered pixels or samples;
extract the embedded logo from a lower dimension vector of the lower dimension vectors that corresponds to the challenged image
comparing the extracted logo with the original logo to identify mis-matched pixel(s) or sample(s);
scanning the lower dimension vectors to higher dimension vectors by reversing previously applied dimension reduction operations;
reversing the shuffling operation to locate particular pixel(s) or samples of the multimedia that correspond to the mismatched pixel(s) or sample(s) in the shuffled image; and
wherein the particular pixel(s) or sample(s) are tampered pixel(s) or sample(s).

### Claim 6 (depends on 1)

A method as recited in claim 1, wherein localizing further comprises:
determining tampered pixel(s) or sample(s) as a function of pixel or sample neighborhood dependency criteria as follows:
expanding the tampered pixel(s) or sample(s) corresponding to mis-matched pixels or samples between an extracted logo and an original logo to include respective neighboring pixel(s) or sample(s) used to sign each individual pixel or sample at mis-matched pixel or sample location(s); and
identifying inauthentic pixel(s) or sample(s) of an expanded set of tampered pixels or sample(s) as those pixel(s) or sample(s) with connected paths larger than a preset threshold.

### Claim 7 (depends on 1)

A method as recited in claim 1, wherein the multimedia includes a digital signature, keyed hash, or MAC embedded in secretly selected pixels, and wherein evaluating multimedia to determine authenticity of the multimedia further comprises:
extracting the digital signature, keyed hash, or MAC from the selected pixels;
if digital signature is used, decrypting to recover a first hash value;
if keyed hash or MAC, the keyed hash or MAC is a first hash value;
zeroing out particular bits of a particular disjoint subspace of a plurality of disjoint subspaces determined by same operations used to authentication-sign multimedia;
hashing bits of the disjoint subspaces to obtain a second hash value;
comparing the first hash value with the second hash value; and
responsive to the comparing, determining that the multimedia is authentic or inauthentic.

### Claim 8 (depends on 7)

A method as recited in claim 7, wherein extracting further comprises:
if an associated signing procedure uses a key-based shuffling, using same operations and a same key used to sign the multimedia;
ordering the shuffled version into 1-D vectors;
partitioning pixels associated with the 1-D vectors into the disjoint subspaces; and
wherein the digital signature is extracted from specific bits of the particular disjoint subspace.

### Claim 9 (depends on 1)

A method as recited in claim 1, further comprising, before operations of evaluating and localizing, associating a fragile watermark to the multimedia for tamper localization.

### Claim 10 (depends on 9)

A method as recited in claim 9, wherein associating the fragile watermark comprises:
obtaining secret mapping function(s) such as selecting a secret key and generating secret mapping function(s) based on the secret key;
shuffling pixels or samples to randomize neighborhood(s) of pixels or samples;
ordering the shuffled image into a lower dimension vector;
partition the lower dimension vector into first and second disjoint subspaces;
enforcing a relationship in a particular subspace of the first and second disjoint subspaces;
using the secret mapping function(s) to enforce a relationship on the individual elements in both subspaces, such that the relationship in a particular subspace is satisfied; and
reversing dimension reduction operations and shuffling operations.

### Claim 11 (depends on 1)

A method as recited in claim 1, further comprising, before operations of evaluating and localizing, associating a digest to the multimedia for authenticity verification.

### Claim 12 (depends on 11)

A method as recited in claim 11, wherein associating the digest comprises:
shuffling pixels or samples to randomize neighborhood(s) of pixels or samples;
ordering shuffled image into a lower dimension vector;
partition the lower dimension vector into first and second disjoint subspaces;
enforcing a relationship in a particular subspace of the first and second disjoint subspaces;
applying a cryptographic hash function to elements of both subspaces and the result is encrypted with a private key and an asymmetric cipher, or applying a keyed hash or MAC to elements of both subspaces, to generate a digest of the multimedia;
embedding the digest to a particular bit portion of elements in the particular subspace enforcing a relationship in an early step;
reversing dimension reduction operations and shuffling operations used in early steps.

### Claim 13

A computer-readable medium comprising computer-program instructions executable by a processor for:
evaluating multimedia to determine authenticity of the multimedia, the evaluating being based on data block(s); and
responsive to determining that the multimedia is not authentic, localizing a tampered portion of the multimedia, the localizing addressing each respective pixel or sample of the tampered portion.

### Claim 14 (depends on 13)

A computer-readable medium as recited in claim 13:
wherein the data block(s) are pixel block(s) associated with an image or video data, and wherein the tampered portion is one or more pixels; or
wherein the data block(s) are sample block(s) for audio data, and wherein the tampered portion is one or more samples.

### Claim 15 (depends on 13)

A computer-readable medium as recited in claim 13, wherein the multimedia is a grayscale or a color image.

### Claim 16 (depends on 13)

A computer-readable medium as recited in claim 13, wherein the computer-program instructions for evaluating multimedia further comprise instructions for:
extracting data from the multimedia, the data comprising a digital signature, keyed hash, or MAC, from least significant bits (LSBs) of a set of pixels or samples selected for embedding; and
if the data is a digital signature, decrypting the multimedia using the data to obtain the hash value if digital signature is used.

### Claim 17 (depends on 13)

A computer-readable medium as recited in claim 13, wherein the computer-program instructions for localizing further comprise instructions for:
shuffling a challenged image to generate a shuffled image with randomized neighborhood data;
converting the shuffled image and an original logo image into lower dimension vectors; the original logo image being a second image embedded into the multimedia to be signed in a signing procedure to detect tampered pixels or samples;
extract the embedded logo from a lower dimension vector of the lower dimension vectors that corresponds to the challenged image
comparing the extracted logo with the original logo to identify mismatched pixel(s) or sample(s);
scanning the lower dimension vectors to higher dimension vectors by reversing previously applied dimension reduction operations;
reversing the shuffling operation to locate particular pixel(s) or samples of the multimedia that correspond to the mismatched pixel(s) or sample(s) in the shuffled image; and
wherein the particular pixel(s) or sample(s) are tampered pixel(s) or sample(s).

### Claim 18 (depends on 13)

A computer-readable medium as recited in claim 13, wherein the computer-program instructions for localizing further comprise instructions for:
determining tampered pixel(s) or sample(s) as a function of pixel or sample neighborhood dependency criteria as follows:
expanding the tampered pixel(s) or sample(s) corresponding to mis-matched pixels or samples between an extracted logo and an original logo to include respective neighboring pixel(s) or sample(s) used to sign each individual pixel or sample at mis-matched pixel or sample location(s); and
identifying inauthentic pixel(s) or sample(s) of an expanded set of tampered pixels or sample(s) as those pixel(s) or sample(s) with connected paths larger than a preset threshold.

### Claim 19 (depends on 13)

A computer-readable medium as recited in claim 13, wherein the multimedia includes a digital signature, keyed hash, or MAC embedded in secretly selected pixels, and wherein the computer-program instructions for evaluating multimedia to determine authenticity of the multimedia further comprise instructions for:
extracting the digital signature, keyed hash, or MAC from the selected pixels;
if digital signature is used, decrypting to recover a first hash value;
if keyed hash or MAC, the keyed hash or MAC is a first hash value;
zeroing out particular bits of a particular disjoint subspace of a plurality of disjoint subspaces determined by same operations used to authentication-sign multimedia;
hashing bits of the disjoint subspaces to obtain a second hash value;
comparing the first hash value with the second hash value; and
responsive to the comparing, determining that the multimedia is authentic or inauthentic.

### Claim 20 (depends on 19)

A computer-readable medium as recited in claim 19, wherein the computer-program instructions for extracting further comprise instructions for:
if an associated signing procedure uses a key-based shuffling, using same operations and a same key used to sign the multimedia;
ordering the shuffled version into 1-D vectors;
partitioning pixels associated with the 1-D vectors into the disjoint subspaces; and
wherein the digital signature is extracted from specific bits of the particular disjoint subspace.

### Claim 21 (depends on 13)

A computer-readable medium as recited in claim 13, further comprising, logically before the computer-program instructions for evaluating and localizing, the computer-program instructions for associating a fragile watermark to the multimedia for tamper localization.

### Claim 22 (depends on 21)

A computer-readable medium as recited in claim 21, wherein the computer-program instructions for associating the fragile watermark comprises computer-program instructions for:
obtaining secret mapping function(s) such as selecting a secret key and generating secret mapping function(s) based on the secret key;
shuffling pixels or samples to randomize neighborhood(s) of pixels or samples;
ordering the shuffled image into a lower dimension vector;
partition the lower dimension vector into first and second disjoint subspaces;
enforcing a relationship in a particular subspace of the first and second disjoint subspaces;
using the secret mapping function(s) to enforce a relationship on the individual elements in both subspaces, such that the relationship in a particular subspace is satisfied; and
reversing dimension reduction operations and shuffling operations.

### Claim 23 (depends on 13)

A computer-readable medium as recited in claim 13, further comprising, before the computer-program instructions for evaluating and localizing, computer-program instructions for associating a digest to the multimedia for authenticity verification.

### Claim 24 (depends on 23)

A computer-readable medium as recited in claim 23, wherein the computer-program instructions for associating the digest further comprise computer-program instructions for:
shuffling pixels or samples to randomize neighborhood(s) of pixels or samples;
ordering shuffled image into a lower dimension vector;
partition the lower dimension vector into first and second disjoint subspaces;
enforcing a relationship in a particular subspace of the first and second disjoint subspaces;
applying a cryptographic hash function to elements of both subspaces and the result is encrypted with a private key and an asymmetric cipher, or applying a keyed hash or MAC to elements of both subspaces, to generate a digest of the multimedia;
embedding the digest to a particular bit portion of elements in the particular subspace enforcing a relationship in an early step;
reversing dimension reduction operations and shuffling operations used in early steps.

### Claim 25

A computing device comprising:
a processor; and
a memory coupled to the processor, the memory comprising computer-program instructions executable by the processor and comprising instructions for:
evaluating multimedia to determine authenticity of the multimedia, the evaluating being based on data block(s); and
responsive to determining that the multimedia is not authentic, localizing a tampered portion of the multimedia, the localizing addressing each respective pixel or sample of the tampered portion.

### Claim 26 (depends on 25)

A computing device as recited in claim 25, wherein the computer-program instructions for evaluating multimedia further comprise instructions for:
extracting data from the multimedia, the data comprising a digital signature, keyed hash, or MAC, from least significant bits (LSBs) of a set of pixels or samples selected for embedding; and
if the data is a digital signature, decrypting the multimedia using the data to obtain the hash value if digital signature is used.

### Claim 27 (depends on 25)

A computing device as recited in claim 25, wherein the computer-program instructions for localizing further comprise instructions for:
shuffling a challenged image to generate a shuffled image with randomized neighborhood data;
converting the shuffled image and an original logo image into lower dimension vectors; the original logo image being a second image embedded into the multimedia to be signed in a signing procedure to detect tampered pixels or samples;
extract the embedded logo from a lower dimension vector of the lower dimension vectors that corresponds to the challenged image
comparing the extracted logo with the original logo to identify mis-matched pixel(s) or sample(s);
scanning the lower dimension vectors to higher dimension vectors by reversing previously applied dimension reduction operations;
reversing the shuffling operation to locate particular pixel(s) or samples of the multimedia that correspond to the mismatched pixel(s) or sample(s) in the shuffled image; and
wherein the particular pixel(s) or sample(s) are tampered pixel(s) or sample(s).

### Claim 28 (depends on 25)

A computing device as recited in claim 25, wherein the computer-program instructions for localizing further comprise instructions for:
determining tampered pixel(s) or sample(s) as a function of pixel or sample neighborhood dependency criteria as follows:
expanding the tampered pixel(s) or sample(s) corresponding to mis-matched pixels or samples between an extracted logo and an original logo to include respective neighboring pixel(s) or sample(s) used to sign each individual pixel or sample at mismatched pixel or sample location(s); and
identifying inauthentic pixel(s) or sample(s) of an expanded set of tampered pixels or sample(s) as those pixel(s) or sample(s) with connected paths larger than a preset threshold.

### Claim 29 (depends on 25)

A computing device as recited in claim 25, wherein the multimedia includes a digital signature, keyed hash, or MAC embedded in secretly selected pixels, and wherein the computer-program instructions for evaluating multimedia to determine authenticity of the multimedia further comprise instructions for:
extracting the digital signature, keyed hash, or MAC from the selected pixels;
if digital signature is used, decrypting to recover a first hash value;
if keyed hash or MAC, the keyed hash or MAC is a first hash value;
zeroing out particular bits of a particular disjoint subspace of a plurality of disjoint subspaces determined by same operations used to authentication-sign multimedia;
hashing bits of the disjoint subspaces to obtain a second hash value;
comparing the first hash value with the second hash value; and
responsive to the comparing, determining that the multimedia is authentic or inauthentic.

### Claim 30 (depends on 25)

A computing device as recited in claim 25, further comprising, logically before the computer-program instructions for evaluating and localizing, the computer-program instructions for associating a fragile watermark to the multimedia for tamper localization.

### Claim 31 (depends on 25)

A computing device as recited in claim 25, further comprising, before the computer-program instructions for evaluating and localizing, computer-program instructions for associating a digest to the multimedia for authenticity verification.

### Claim 32 (depends on 31)

A computing device as recited in claim 31, wherein the computer-program instructions for associating the digest further comprise computer-program instructions for:
shuffling pixels or samples to randomize neighborhood(s) of pixels or samples;
ordering shuffled image into a lower dimension vector;
partition the lower dimension vector into first and second disjoint subspaces;
enforcing a relationship in a particular subspace of the first and second disjoint subspaces;
applying a cryptographic hash function to elements of both subspaces and the result is encrypted with a private key and an asymmetric cipher, or applying a keyed hash or MAC to elements of both subspaces, to generate a digest of the multimedia;
embedding the digest to a particular bit portion of elements in the particular subspace enforcing a relationship in an early step;
reversing dimension reduction operations and shuffling operations used in early steps.

### Claim 33

A computing device comprising:
evaluating means to determine authenticity of multimedia as a function of data block(s); and
responsive to determining that the multimedia is not authentic, localizing means to identify a tampered portion of the multimedia, the localizing addressing each respective pixel or sample of the tampered portion.

### Claim 34 (depends on 33)

A computing device as recited in claim 33, wherein the data block(s) are pixel block(s) associated with an image or video data, and wherein the tampered portion is one or more pixels.

### Claim 35 (depends on 33)

A computing device as recited in claim 33, wherein the data block(s) are sample block(s) for audio data, and wherein the tampered portion is one or more samples.

### Claim 36 (depends on 33)

A computing device as recited in claim 33, wherein the localizing means further comprises:
shuffling means to shuffle a challenged image and generate a shuffled image with randomized neighborhood data;
converting means to convert the shuffled image and an original logo image into lower dimension vectors;
extracting means to extract the embedded logo from a lower dimension vector of the lower dimension vectors that corresponds to the challenged image
comparing means to compare the extracted logo with the original logo to identify mis-matched pixel(s);
scanning means to scan the lower dimension vectors to higher dimension vectors by reversing previously applied dimension reduction operations;
reversing means to reverse the key-based shuffling operation to locate particular pixel(s) or samples of the multimedia that correspond to the mis-matched pixel(s) in the shuffled image; and
wherein the particular pixel(s) or sample(s) are tampered pixel(s) or sample(s).

### Claim 37 (depends on 33)

A computing device as recited in claim 33, wherein the localizing means further comprises determining means to identify tampered pixel(s) or sample(s) as a function of pixel or sample neighborhood dependency.

### Claim 38 (depends on 33)

A computing device as recited in claim 33, wherein the evaluating means further comprise:
extracting means to extract data from the multimedia, the data comprising a digital signature, keyed hash, or MAC, from a set of pixels or samples selected for embedding.
if digital signature is used, decrypting means to recover a first hash value;
if keyed hash or MAC, the keyed hash or MAC is a first hash value;
zeroing means to enforce a relationship with respect to particular bits of a particular disjoint subspace of a plurality of disjoint subspaces determined by the same operations used to sign the multimedia;
hashing means to hash bits of the disjoint subspaces to obtain a second hash value;
comparing means to compare the first hash value with the second hash value; and
responsive to the comparing, determining means to determine that the multimedia is authentic or inauthentic.

### Claim 39 (depends on 33)

A computing device as recited in claim 33, further comprising, before the evaluating and localizing means, associating means to embed a fragile watermark into the multimedia for tamper localization.

### Claim 40 (depends on 33)

A computing device as recited in claim 33, further comprising, before the evaluating and localizing means, associating means to generate a digest of the multimedia and embed the digest into the multimedia for authenticity verification.
