# US 2021/0174532 A1 · 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 2021/0174532 A1
- Document ID: US20210174532A1
- Status: Published application
- Kind: A1
- Application number: 17/090,148
- Filed: 2020-11-05
- Published: 2021-06-10
- Earliest claimed: 2019-12-09
- Assignees: Canon Kabushiki Kaisha
- Applicants: Canon Kabushiki Kaisha
- Inventors: Takashi Adachi
- Web page: https://patentgrep.com/patent/US20210174532A1

## CPC

- G06V 40/103: {Static body considered as a whole, e.g. static pedestrian or occupant recognition}
- G06F 17/18: for evaluating statistical data {, e.g. average values, frequency distributions, probability functions, regression analysis (forecasting specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- G06T 7/11: Region-based segmentation
- G06T 7/136: involving thresholding
- G06T 7/62: of area, perimeter, diameter or volume
- G06V 10/25: Determination of region of interest [ROI] or a volume of interest [VOI]
- G06V 20/53: {Recognition of crowd images, e.g. recognition of crowd congestion}
- G06T 2207/20021: Dividing image into blocks, subimages or windows
- G06T 2207/20076: Probabilistic image processing
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

To improve calculation efficiency by properly reducing the number of regression regions based on a size of an object to be detected, a processing apparatus has at least one processor or circuit configured to function as: a size obtain unit configured to obtain a size of a predetermined object in the image; a set unit configured to divide the image into a plurality of regions based on the size of the predetermined object obtained by the size obtain unit, and to set regression regions for estimating a number of the predetermined object, wherein the set unit is configured to inhibit to set the regression regions smaller than a predetermined minimum size corresponding to the predetermined object, and an estimate unit configured to estimate the number of the predetermined object by performing a regression process on the regression regions set by the set unit.

## Claims

### Claim 1

An image processing apparatus comprising:
at least one processor or circuit configured to function as: an image obtain unit configured to obtain an image;
a size obtain unit configured to obtain a size of a predetermined object in the image;
a set unit configured to divide the image into a plurality of regions based on the size of the predetermined object obtained by the size obtain unit, and to set regression regions for estimating a number of the predetermined object, wherein the set unit is configured to inhibit to set the regression regions smaller than a predetermined minimum size corresponding to the predetermined object; and
an estimate unit configured to estimate the number of the predetermined object by performing the regression process on the regression regions set by the set unit.

### Claim 2 (depends on 1)

The image processing apparatus according to claim 1, wherein the set unit sets the regression region for estimating the number of the predetermined object to the predetermined minimum size in a case where an image region is smaller than the predetermined minimum size.

### Claim 3 (depends on 1)

The image processing apparatus according to claim 1, wherein the set unit sets the regression region for estimating the number of the predetermined object to a size larger than the predetermined minimum size in a case where an image region is smaller than the predetermined minimum size.

### Claim 4 (depends on 1)

The image processing apparatus according to claim 1, wherein the set unit includes a generation unit configured to generate a temporary regression region, and a judge unit for judging the size of the temporary regression region, wherein the set unit inhibits to set the regression region for estimating the number of the predetermined object to a size smaller than the predetermined minimum size in a case where the judge unit judges that the size of the temporary regression region generated by the generation unit is smaller than the predetermined minimum size.

### Claim 5 (depends on 4)

The image processing apparatus according to claim 4, wherein the set unit sets the regression region for estimating the number of the predetermined object to a size equal to the predetermined size in a case where the judge unit judges that the size of the temporary regression region generated by the generation unit is smaller than the predetermined minimum size.

### Claim 6 (depends on 4)

The image processing apparatus according to claim 4, wherein the set unit sets the regression region for estimating the number of the predetermined object to a size larger than the predetermined minimum size in a case where the judge unit judges that the size of the temporary regression region generated by the generation unit is smaller than the predetermined minimum size.

### Claim 7 (depends on 1)

The image processing apparatus according to claim 1, wherein the size obtain unit is configured to set analyze regions in the image and to obtain the minimum size of the predetermined object in each of the analyze regions.

### Claim 8

An image processing method comprising:
an image obtaining step for obtaining an image;
a size obtaining step for obtaining a size of a predetermined object in the image;
a setting step for dividing the image into a plurality of regions based on the size of the predetermined object obtained by the size obtaining step, and for setting regression regions for estimating a number of the predetermined object, wherein the setting inhibits to set the regression regions smaller than a predetermined minimum size corresponding to the predetermined object; and
an estimating step for estimating the number of the predetermined object by performing the regression process on the regression regions set by the setting.

### Claim 9

A non-transitory computer-readable storage medium that stores a computer program for image processing apparatus to execute the following steps:
an image obtaining step for obtaining an image;
a size obtaining step for obtaining a size of a predetermined object in the image;
a setting step for dividing the image into a plurality of regions based on the size of the predetermined object obtained by the size obtaining step, and for setting regression regions for estimating a number of the predetermined object, wherein the setting step inhibits to set the regression regions smaller than a predetermined minimum size corresponding to the predetermined object; and
an estimating step for estimating the number of the predetermined object by performing the regression process on the regression regions set by the setting step.
