# US 10,958,796 B2 · Image processing apparatus, image processing method, and storage medium

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

- Number: US 10,958,796 B2
- Document ID: US10958796B2
- Status: Granted
- Kind: B2
- Application number: 16/373,778
- Filed: 2019-04-03
- Published: 2019-10-24
- Granted: 2021-03-23
- Earliest claimed: 2018-04-23
- Assignees: Canon Kabushiki Kaisha
- Applicants: Canon Kabushiki Kaisha
- Inventors: Masaaki Obayashi; Hiroyasu Kunieda; Shinjiro Hori
- Web page: https://patentgrep.com/patent/US10958796B2

## CPC

- H04N 1/00196: {Creation of a photo-montage, e.g. photoalbum (H04N1/0019 takes precedence)}
- G06F 9/3004: {to perform operations on memory}
- H04N 1/00167: {Processing or editing (H04N1/00196 - H04N1/00201 take precedence)}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An image processing apparatus includes a first determination unit configured to determine a group of candidate templates usable for a processing target double-page spread in accordance with the number of images allocated to the processing target double-page spread, a second determination unit configured to determine a determination condition for determining whether a template already used and a template included in the group of candidate templates are similar, on the basis of the number of images or the number of templates, a third determination unit configured to determine a to-be-used template to be used for the processing target double-page spread from among the templates excluding any template determined as a similar template with the determination condition, and a layout unit configured to lay out the images allocated to the processing target double-page spread on the to-be-used template.

## Claims

### Claim 1

An image processing apparatus comprising:
an obtaining unit configured to obtain a plurality of images;
an allocating unit configured to allocate at least one image to each of double-page spreads out of the obtained images;
a first determination unit configured to determine a group of candidate templates usable for a processing target double-page spread in accordance with the number of images allocated to the processing target double-page spread;
a second determination unit configured to determine a determination condition for determining whether a template already used for layout and a template included in the determined group of candidate templates are similar, on a basis of the number of images allocated to the processing target double-page spread or the number of templates included in the determined group of candidate templates;
a third determination unit configured to determine a to-be-used template to be used for the processing target double-page spread from among the templates included in the group of candidate templates and excluding any template determined to be a similar template with the determination condition; and
a layout unit configured to lay out the at least one image allocated to the processing target double-page spread on the to-be-used template.

### Claim 2 (depends on 1)

The image processing apparatus according to claim 1, wherein the second determination unit determines (i) a first determination condition as the determination condition in a case when the number of images allocated to the processing target double-page spread is equal to or more than a first threshold, and (ii) a second determination condition for determining similarity more specifically than the first determination condition as the determination condition in a case when the number of images allocated to the processing target double-page spread is fewer than the first threshold.

### Claim 3 (depends on 1)

The image processing apparatus according to claim 1, wherein the second determination unit determines (i) a first determination condition as the determination condition in a case when the number of templates included in the group of candidate templates, determined by the first determination unit, is equal to or more than a second threshold, and (ii) a second determination condition for determining similarity more specifically than the first determination condition as the determination condition in a case when the number of templates included in the group of candidate templates, determined by the first determination unit, is fewer than the second threshold.

### Claim 4 (depends on 2)

The image processing apparatus according to claim 2, wherein the second determination condition includes a greater number of determination items than the first determination condition.

### Claim 5 (depends on 2)

The image processing apparatus according to claim 2, wherein the first determination condition includes a determination item based on an aspect ratio of a slot in which to arrange the at least one image.

### Claim 6 (depends on 5)

The image processing apparatus according to claim 5, wherein the second determination condition includes a determination item based on the aspect ratio and a determination item based on a position of the slot in which to arrange the at least one image.

### Claim 7

An image processing method comprising:
obtaining a plurality of images;
allocating at least one image to each of double-page spreads out of the obtained images;
determining a group of candidate templates usable for a processing target double-page spread in accordance with the number of images allocated to the processing target double-page spread;
determining a determination condition for determining whether a template already used for layout and a template included in the determined group of candidate templates are similar, on a basis of the number of images allocated to the processing target double-page spread or the number of templates included in the determined group of candidate templates;
determining a to-be-used template to be used for the processing target double-page spread from among the templates included in the group of candidate templates and excluding any template determined to be a similar template with the determination condition; and
laying out the at least one image allocated to the processing target double-page spread on the to-be-used template.

### Claim 8 (depends on 7)

The image processing method according to claim 7, wherein a first determination condition is determined to be the determination condition in a case when the number of images allocated to the processing target double-page spread is equal to or more than a first threshold, and a second determination condition for determining similarity more specifically than the first determination condition is determined to be the determination condition in a case when the number of images allocated to the processing target double-page spread is fewer than the first threshold.

### Claim 9 (depends on 7)

The image processing method according to claim 7, wherein a first determination condition is determined to be the determination condition in a case when the number of templates included in the determined group of candidate templates is equal to or more than a second threshold, and a second determination condition for determining similarity more specifically than the first determination condition is determined to be the determination condition in a case when the number of templates included in the determined group of candidate templates is fewer than the second threshold.

### Claim 10 (depends on 8)

The image processing method according to claim 8, wherein the second determination condition includes a greater number of determination items than the first determination condition.

### Claim 11 (depends on 8)

The image processing method according to claim 8, wherein the first determination condition includes a determination item based on an aspect ratio of a slot in which to arrange the at least one image.

### Claim 12 (depends on 11)

The image processing method according to claim 11, wherein the second determination condition includes a determination item based on the aspect ratio and a determination item based on a position of the slot in which to arrange the at least one image.

### Claim 13 (depends on 7)

The image processing method according to claim 7, wherein the determination condition is used to determine whether a template already used for layout of a double-page spread immediately preceding the processing target double-page spread and a template included in the determined group of candidate templates are similar.

### Claim 14 (depends on 7)

The image processing method according to claim 7, wherein the determination condition is used to determine whether a template already used for layout of a double-page spread separated from the processing target double-page spread by a predetermined interval and a template included in the determined group of candidate templates are similar.

### Claim 15 (depends on 7)

The image processing method according to claim 7, further comprising:
determining an evaluation value of each of the candidate templates with the at least one image arranged thereon; and
determining the template with the highest evaluation value as the to-be-used template.

### Claim 16 (depends on 15)

The image processing method according to claim 15, wherein the evaluation value is determined for each of the candidate templates with the at least one image arranged thereon excluding any candidate template determined to be a similar template with the determination condition.

### Claim 17 (depends on 9)

The image processing method according to claim 9, wherein the first determination condition includes a determination item based on an aspect ratio of a slot in which to arrange the at least one image.

### Claim 18 (depends on 17)

The image processing method according to claim 17, wherein the second determination condition includes a determination item based on the aspect ratio and a determination item based on a position of the slot in which to arrange the at least one image.

### Claim 19

A non-transitory computer readable storage medium storing a program that performs an image processing method, the image processing method comprising:
obtaining a plurality of images;
allocating at least one image to each of double-page spreads out of the obtained images;
determining a group of candidate templates usable for a processing target double-page spread in accordance with the number of images allocated to the processing target double-page spread;
determining a determination condition for determining whether a template already used for layout and a template included in the determined group of candidate templates are similar, on a basis of the number of images allocated to the processing target double-page spread or the number of templates included in the determined group of candidate templates;
determining a to-be-used template to be used for the processing target double-page spread from among the templates included in the group of candidate templates and excluding any template determined to be a similar template with the determination condition; and
laying out the at least one image allocated to the processing target double-page spread on the to-be-used template.
