# US 2023/0065506 A1 · Image processing apparatus, control method thereof, and image capturing apparatus

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

- Number: US 2023/0065506 A1
- Document ID: US20230065506A1
- Status: Published application
- Kind: A1
- Application number: 17/897,340
- Filed: 2022-08-29
- Published: 2023-03-02
- Earliest claimed: 2021-09-01
- Assignees: Canon Kabushiki Kaisha
- Applicants: Canon Kabushiki Kaisha
- Inventors: Tomoyuki Tenkawa; Kotaro Yano; Kenshi Saito
- Web page: https://patentgrep.com/patent/US20230065506A1

## CPC

- G06T 7/70: Determining position or orientation of objects or cameras (camera calibration G06T7/80)
- G06T 7/20: Analysis of motion (motion estimation for coding, decoding, compressing or decompressing digital video signals H04N19/43, H04N19/51)
- G06V 10/25: Determination of region of interest [ROI] or a volume of interest [VOI]
- G06V 10/761: {Proximity, similarity or dissimilarity measures}
- G06V 10/771: Feature selection, e.g. selecting representative features from a multi-dimensional feature space
- G06V 2201/07: Target detection
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

An image processing apparatus comprises: an image input unit configured to input an image; a detection unit configured to detect an object from the image; an accepting unit configured to accept an input of a locus to the image, a selection unit configured to select, based on a locus region decided by the locus, at least two objects included in a plurality of objects detected by the detection unit; and an integration unit configured to generate an integration region that integrates at least two regions in the image corresponding to the at least two objects selected by the selection unit and set the integration region as a region of interest in the image.

## Claims

### Claim 1

An image processing apparatus comprising:
an image input unit configured to input an image;
a detection unit configured to detect an object from the image;
an accepting unit configured to accept an input of a locus to the image;
a selection unit configured to select, based on a locus region decided by the locus, at least two objects included in a plurality of objects detected by the detection unit; and
an integration unit configured to generate an integration region that integrates at least two regions in the image corresponding to the at least two objects selected by the selection unit and set the integration region as a region of interest in the image.

### Claim 2 (depends on 1)

The apparatus according to claim 1, wherein the accepting unit is configured as a touch display configured to display the image and accept the input of the locus to the image by a touch operation.

### Claim 3 (depends on 1)

The apparatus according to claim 1, further comprising:
an initial setting unit configured to select one object included in the plurality of objects detected by the detection unit and set the object as an initial region of interest in the image; and
an updating unit configured to, if the integration region is generated by the integration unit, update the initial region of interest by the integration region.

### Claim 4 (depends on 3)

The apparatus according to claim 3, wherein the initial setting unit selects, of the objects detected by the detection unit, an object whose distance from a center of the image is not more than a threshold set in advance and whose likelihood is maximum.

### Claim 5 (depends on 3)

The apparatus according to claim 3, wherein the initial setting unit selects, based on a selection instruction from a user, one detection frame of the objects detected by the detection unit.

### Claim 6 (depends on 1)

The apparatus according to claim 1, wherein
the selection unit
decides a plurality of combinations including at least two objects each including an overlap portion with the locus region of the plurality of objects detected by the detection unit,
selects, of the plurality of combinations, one combination in which a ratio of an area of an intersection between the integration region and the locus region to an area of a union of the locus region and the integration region that integrates at least two regions corresponding to the at least two objects included in the combination is maximum, and
selects at least two objects included in the one selected combination.

### Claim 7 (depends on 6)

The apparatus according to claim 6, wherein the selection unit further excludes, from the plurality of combinations, at least one combination including an object for which a difference from an average value of distance information corresponding to at least two objects included in the combination is not less than a predetermined threshold.

### Claim 8 (depends on 1)

The apparatus according to claim 1, wherein the locus region is a rectangular region including the locus.

### Claim 9 (depends on 1)

The apparatus according to claim 1, wherein the locus region is a region having an arbitrary shape surrounded by the locus.

### Claim 10

An image capturing apparatus comprising:
an image capturing unit configured to perform image capturing to generate a moving image;
an image input unit configured to input an image included in the moving image;
a detection unit configured to detect an object from the image;
an accepting unit configured to accept an input of a locus to the image;
a selection unit configured to select, based on a locus region decided by the locus, at least two objects included in a plurality of objects detected by the detection unit;
an integration unit configured to generate an integration region that integrates at least two regions in the image corresponding to the at least two objects selected by the selection unit and set the integration region as a region of interest in the image; and
a tracking unit configured to track an object included in the moving image in accordance with the region of interest set by the integration unit.

### Claim 11

A control method of an image processing apparatus for setting a region of interest in an image, comprising:
inputting the image;
detecting an object from the image;
accepting an input of a locus to the image;
selecting, based on a locus region decided by the locus, at least two objects included in a plurality of objects detected in the detecting; and
generating an integration region that integrates at least two regions in the image corresponding to the at least two objects selected in the selecting and setting the integration region as a region of interest in the image.

### Claim 12

A non-transitory computer-readable recording medium storing a program for causing a computer to execute a control method of an image processing apparatus for setting a region of interest in an image, comprising:
inputting the image;
detecting an object from the image;
accepting an input of a locus to the image;
selecting, based on a locus region decided by the locus, at least two objects included in a plurality of objects detected in the detecting; and
generating an integration region that integrates at least two regions in the image corresponding to the at least two objects selected in the selecting and setting the integration region as a region of interest in the image.
