# US 2022/0292624 A1 · Method for inserting information into an image and corresponding device

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

- Number: US 2022/0292624 A1
- Document ID: US20220292624A1
- Status: Published application
- Kind: A1
- Application number: 17/639,720
- Filed: 2020-09-02
- Published: 2022-09-15
- Earliest claimed: 2019-09-06
- Assignees: Fondation B-Com
- Applicants: Fondation B-Com
- Inventors: Gaëtan LE GUELVOUIT; Valérie DENIS
- Web page: https://patentgrep.com/patent/US20220292624A1

## CPC

- G06T 1/0028: {Adaptive watermarking, e.g. Human Visual System [HVS]-based watermarking}
- G06T 1/005: {Robust watermarking, e.g. average attack or collusion attack resistant}
- 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
- G06T 2201/0065: Extraction of an embedded watermark; Reliable detection
- G06T 2201/0083: whereby only watermarked image required at decoder, e.g. source-based, blind, oblivious
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A method for inserting information into a first image including N1 rows×M1 columns of elements includes: a) obtaining, from the first image, a second image including N0 rows×M0 columns, N0 ≤N1 and M0≤M1, b) generating initial information including N0 rows×M0 columns, c) obtaining intermediate information including N4 rows×M4 columns of elements, so N4≥N1 and M4≥M1, and N4=kx.N0 and M4=ky.M0, kx and ky being integers≥1, the elements organized into blocks, d) obtaining information to be inserted from the intermediate information, including: generating symbols representing noise, including as many symbols as block elements, at least one <>0, so the result of a function applied to the symbols=a chosen value, adding each symbol to the corresponding block element, and e) inserting the obtained information into the first image.

## Claims

### Claim 1

A method for inserting information into a first image comprising N1 rows×M1 columns of elements, N1 and M1 being non-zero integers, said method comprising the following steps:
a) obtaining, from the first image, a second image comprising N0 rows×M0 columns of elements, N0 and M0 being non-zero integers such that N0≤N1 and M0≤M1,
b) generating, from the second image, initial information comprising N0 rows×M0 columns of elements,
c) obtaining, from the initial information generated, intermediate information comprising N4 rows×M4 columns of elements, in such a way that N4≥N1 and M4≥M1 on the one hand, and N4=kx.N0 and M4=ky.M0 on the other hand, N4 and M4 being non-zero integers, kx and ky being integers greater than or equal to 1, said elements of the intermediate information being organized into blocks,
d) obtaining said information to be inserted from the intermediate information, said step of obtaining comprising, for at least one said block of the intermediate information,
generating a sequence of symbols representative of a noise, the sequence of symbols comprising as many of the symbols as there are said elements in said block, each of the symbols of the sequence corresponding to one of said elements in said block, at least one of the symbols being non-zero, such that a result of a predetermined function applied to said symbols is equal to a chosen value,
adding each said symbol to the corresponding element of said block, and
e) inserting said obtained information into the first image.

### Claim 1

obtaining said information to be inserted from the intermediate information, said step of obtaining comprising, for at least one said block of the intermediate information,
generating a sequence of symbols representative of a noise, the sequence of symbols comprising as many of the symbols as there are said elements in said block, each of the symbols of the sequence corresponding to one of said elements in said block, at least one of the symbols being non-zero, such that a result of a predetermined function applied to said symbols is equal to a chosen value,
adding each said symbol to the corresponding element of said block, and
m) inserting said obtained information into the first image.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the predetermined function is a measure of central tendency.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the predetermined function is the median.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the predetermined function is the average.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the chosen value is equal to zero, kx or ky being greater than or equal to 2.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the intermediate information is obtained from the initial information by means of an enlargement method.

### Claim 7 (depends on 1)

The method according to claim 1, wherein, if N4>N1 or if M4>M1, obtaining the information to be inserted further comprises, after adding each said symbol to the corresponding element of said block, reducing a size of the intermediate information in such a way as to obtain N4=N1 or M4=M1, respectively.

### Claim 8 (depends on 1)

The method according to claim 1, wherein said sequence of symbols representative of the noise comprises a number p of the symbols, with a number pl of the symbols randomly or pseudorandomly generated and a number p2 of the symbols calculated in such a way that the result of the predetermined function applied to the p symbols is equal to said chosen value, p, p1 and p2 being integers such that p=p1+p2.

### Claim 9 (depends on 1)

A method for extracting information formed of a plurality of elements comprising N0 rows and M0 columns, inserted into an image comprising N2 rows×M2 columns of elements using the insertion method according to claim 1, N0, M0, N2 and M2 being non-zero integers, such that N2>N0 and M2>M0, said insertion extraction method comprising the following steps:
f) obtaining, from said image, a new image comprising N3 rows and M3 columns of elements, with N3≥N2 and M3≥M2 on the one hand, and N3=nx.N0 and M3=ny.M0 on the other hand, N3 and M3 being non-zero positive integers, nx and ny being integers greater than 1, the elements of said new image being organized into blocks,
g) obtaining (E201) a reduced image from the new image, the reduced image comprising N0 rows×M0 columns of elements, each element of the reduced image being obtained from the elements of a corresponding block in the new image, and for each respective element of the reduced image to be obtained:
determining a value of said respective element by applying said predetermined function to values of the elements of said block in the new image corresponding to said respective element, the value of said respective element being the result of application of the predetermined function, and
h) extracting the information from the reduced image.

### Claim 10

A device for inserting information into a first image comprising N1 rows×M1 columns of elements, N1 and M1 being non-zero integers, the device being configured to implement the following steps:
i) obtaining, from the first image, a second image comprising N0 rows×M0 columns of elements, N0 and M0 being non-zero integers such that N0≤N1 and M0>M1,
j) generating, from the second image, initial information comprising N0 rows×M0 columns of elements,
k) obtaining, from the initial information generated, intermediate information comprising N4 rows×M4 columns of elements, in such a way that N4≥N1 and M4≥M1 on the one hand, and N4=kx.N0 and M4=ky.M0 on the other hand, N4 and M4 being non-zero integers, kx and ky being integers higher greater than or equal to 1, said elements of the intermediate information being organized into blocks,

### Claim 11 (depends on 1)

A device for extracting information formed of a plurality of elements comprising N0 rows and M0 columns, inserted into an image comprising N2 rows×M2 columns of elements using the insertion method according to claim 1, N0, M0, N2 and M2 being non-zero integers, such that N2>N0 and M2>M0, the device being configured to implement the following steps:
n) obtaining, from said image, a new image comprising N3 rows and M3 columns of elements, with N3≥N2 and M3≥M2 on the one hand, and N3=nx.N0 and M3=ny.M0 on the other hand, N3 and M3 being non-zero positive integers, nx and ny being integers greater than 1, the elements of said new image being organized into blocks,
o) obtaining a reduced image from the new image, the reduced image comprising N0 rows ×M0 columns of elements, each element of the reduced image being obtained from the elements of a corresponding block in the new image, and for each respective element of the reduced image to be obtained:
determining a value of said respective element by applying said predetermined function to values of the elements of said block in the new image corresponding to said respective element, the value of said respective element being the result of application of the predetermined function, and
p) extracting the information from the reduced image.

### Claim 12 (depends on 1)

A non-transitory computer-readable recording medium, on which is recorded a computer program comprising program code instructions, which when executed by a computer, cause the computer to carry out the steps of the method according to claim 1.

### Claim 13 (depends on 2)

A method for extracting information formed of a plurality of elements comprising N0 rows and M0 columns, inserted into an image comprising N2 rows×M2 columns of elements using the insertion method according to claim 2, N0, M0, N2 and M2 being non-zero integers, such that N2>N0 and M2>M0, said extraction method comprising the following steps:
f) obtaining, from said image, a new image comprising N3 rows and M3 columns of elements, with N3≥N2 and M3≥M2 on the one hand, and N3=nx.N0 and M3=ny.M0 on the other hand, N3 and M3 being non-zero positive integers, nx and ny being integers greater than 1, the elements of said new image being organized into blocks,
g) obtaining a reduced image from the new image, the reduced image comprising N0 rows ×M0 columns of elements, each element of the reduced image being obtained from the elements of a corresponding block in the new image, and for each respective element of the reduced image to be obtained:
determining a value of said respective element by applying said predetermined function to values of the elements of said block in the new image corresponding to said respective element, the value of said respective element being the result of application of the predetermined function, and
h) extracting the information from the reduced image.

### Claim 14 (depends on 3)

A method for extracting information formed of a plurality of elements comprising N0 rows and M0 columns, inserted into an image comprising N2 rows×M2 columns of elements using the insertion method according to claim 3, N0, M0, N2 and M2 being non-zero integers, such that N2 >N0 and M2 >M0, said extraction method comprising the following steps:
f) obtaining, from said image, a new image comprising N3 rows and M3 columns of elements, with N3≥N2 and M3≥M2 on the one hand, and N3=nx.N0 and M3=ny.M0 on the other hand, N3 and M3 being non-zero positive integers, nx and ny being integers greater than 1, the elements of said new image being organized into blocks,
g) obtaining a reduced image from the new image, the reduced image comprising N0 rows ×M0 columns of elements, each element of the reduced image being obtained from the elements of a corresponding block in the new image, and for each respective element of the reduced image to be obtained:
determining a value of said respective element by applying said predetermined function to values of the elements of said block in the new image corresponding to said respective element, the value of said respective element being the result of application of the predetermined function, and
h) extracting the information from the reduced image.

### Claim 15 (depends on 4)

A method for extracting information formed of a plurality of elements comprising N0 rows and M0 columns, inserted into an image comprising N2 rows×M2 columns of elements using the insertion method according to claim 4, N0, M0, N2 and M2 being non-zero integers, such that N2>N0 and M2>M0, said extraction method comprising the following steps:
f) obtaining, from said image, a new image comprising N3 rows and M3 columns of elements, with N3≥N2 and M3≥M2 on the one hand, and N3=nx.N0 and M3=ny.M0 on the other hand, N3 and M3 being non-zero positive integers, nx and ny being integers greater than 1, the elements of said new image being organized into blocks,
g) obtaining a reduced image from the new image, the reduced image comprising N0 rows ×M0 columns of elements, each element of the reduced image being obtained from the elements of a corresponding block in the new image, and for each respective element of the reduced image to be obtained:
determining a value of said respective element by applying said predetermined function to values of the elements of said block in the new image corresponding to said respective element, the value of said respective element being the result of application of the predetermined function, and
h) extracting the information from the reduced image.

### Claim 16 (depends on 5)

A method for extracting information formed of a plurality of elements comprising N0 rows and M0 columns, inserted into an image comprising N2 rows×M2 columns of elements using the insertion method according to claim 5, N0, M0, N2 and M2 being non-zero integers, such that N2>N0 and M2>M0, said extraction method comprising the following steps:
f) obtaining, from said image, a new image comprising N3 rows and M3 columns of elements, with N3≥N2 and M3≥M2 on the one hand, and N3=nx.N0 and M3=ny.M0 on the other hand, N3 and M3 being non-zero positive integers, nx and ny being integers greater than 1, the elements of said new image being organized into blocks,
g) obtaining a reduced image from the new image, the reduced image comprising N0 rows ×M0 columns of elements, each element of the reduced image being obtained from the elements of a corresponding block in the new image, and for each respective element of the reduced image to be obtained:
determining a value of said respective element by applying said predetermined function to values of the elements of said block in the new image corresponding to said respective element, the value of said respective element being the result of application of the predetermined function, and
h) extracting the information from the reduced image.

### Claim 17 (depends on 2)

A device for extracting information formed of a plurality of elements comprising N0 rows and M0 columns, inserted into an image comprising N2 rows×M2 columns of elements using the insertion method according to claim 2, N0, M0, N2 and M2 being non-zero integers, such that N2>N0 and M2>M0, the device being configured to implement the following steps:
n) obtaining, from said image, a new image comprising N3 rows and M3 columns of elements, with N3≥N2 and M3≥M2 on the one hand, and N3=nx.N0 and M3=ny.M0 on the other hand, N3 and M3 being non-zero positive integers, nx and ny being integers greater than 1, the elements of said new image being organized into blocks,
o) obtaining a reduced image from the new image, the reduced image comprising N0 rows ×M0 columns of elements, each element of the reduced image being obtained from the elements of a corresponding block in the new image, and for each respective element of the reduced image to be obtained:
determining a value of said respective element by applying said predetermined function to values of the elements of said block in the new image corresponding to said respective element, the value of said respective element being the result of application of the predetermined function, and
p) extracting the information from the reduced image.

### Claim 18 (depends on 3)

A device for extracting information formed of a plurality of elements comprising N0 rows and M0 columns, inserted into an image comprising N2 rows×M2 columns of elements using the insertion method according to claim 3, N0, M0, N2 and M2 being non-zero integers, such that N2 >N0 and M2 >M0, the device being configured to implement the following steps:
n) obtaining, from said image, a new image comprising N3 rows and M3 columns of elements, with N3≥N2 and M3≥M2 on the one hand, and N3=nx.N0 and M3=ny.M0 on the other hand, N3 and M3 being non-zero positive integers, nx and ny being integers greater than 1, the elements of said new image being organized into blocks,
o) obtaining a reduced image from the new image, the reduced image comprising N0 rows ×M0 columns of elements, each element of the reduced image being obtained from the elements of a corresponding block in the new image, and for each respective element of the reduced image to be obtained:
determining a value of said respective element by applying said predetermined function to values of the elements of said block in the new image corresponding to said respective element, the value of said respective element being the result of application of the predetermined function, and
p) extracting the information from the reduced image.

### Claim 19 (depends on 4)

A device for extracting information formed of a plurality of elements comprising N0 rows and M0 columns, inserted into an image comprising N2 rows×M2 columns of elements using the insertion method according to claim 4, N0, M0, N2 and M2 being non-zero integers, such that N2 >N0 and M2 >M0, the device being configured to implement the following steps:
n) obtaining, from said image, a new image comprising N3 rows and M3 columns of elements, with N3≥N2 and M3≥M2 on the one hand, and N3=nx.N0 and M3=ny.M0 on the other hand, N3 and M3 being non-zero positive integers, nx and ny being integers greater than 1, the elements of said new image being organized into blocks,
o) obtaining a reduced image from the new image, the reduced image comprising N0 rows ×M0 columns of elements, each element of the reduced image being obtained from the elements of a corresponding block in the new image, and for each respective element of the reduced image to be obtained:
determining a value of said respective element by applying said predetermined function to values of the elements of said block in the new image corresponding to said respective element, the value of said respective element being the result of application of the predetermined function, and
p) extracting the information from the reduced image.

### Claim 20 (depends on 5)

A device for extracting information formed of a plurality of elements comprising N0 rows and M0 columns, inserted into an image comprising N2 rows×M2 columns of elements using the insertion method according to claim 5, N0, M0, N2 and M2 being non-zero integers, such that N2>N0 and M2>M0, the device being configured to implement the following steps:
n) obtaining, from said image, a new image comprising N3 rows and M3 columns of elements, with N3≥N2 and M3≥M2 on the one hand, and N3=nx.N0 and M3=ny.M0 on the other hand, N3 and M3 being non-zero positive integers, nx and ny being integers greater than 1, the elements of said new image being organized into blocks,
o) obtaining a reduced image from the new image, the reduced image comprising N0 rows ×M0 columns of elements, each element of the reduced image being obtained from the elements of a corresponding block in the new image, and for each respective element of the reduced image to be obtained:
determining a value of said respective element by applying said predetermined function to values of the elements of said block in the new image corresponding to said respective element, the value of said respective element being the result of application of the predetermined function, and
p) extracting the information from the reduced image.
