# US 2021/0082141 A1 · Image processing apparatus, image processing method, and computer-readable medium

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

- Number: US 2021/0082141 A1
- Document ID: US20210082141A1
- Status: Published application
- Kind: A1
- Application number: 17/021,297
- Filed: 2020-09-15
- Published: 2021-03-18
- Earliest claimed: 2019-09-17
- Assignees: Canon Kabushiki Kaisha
- Applicants: Canon Kabushiki Kaisha
- Inventors: Hajime Muta; Yasuo Bamba; Kotaro Yano
- Web page: https://patentgrep.com/patent/US20210082141A1

## CPC

- G06T 7/73: using feature-based methods
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06T 7/246: using feature-based methods, e.g. the tracking of corners or segments
- G06T 7/97: {Determining parameters from multiple pictures (depth or shape recovery from multiple images G06T7/55; stereo camera calibration G06T7/85)}
- G06T 2207/10016: Video; Image sequence
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/30196: Human being; Person
- G06T 2207/30242: Counting objects in image
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

There is provided with an image processing apparatus. An obtaining unit obtains a moving image including a plurality of images. A density estimating unit estimates a density distribution of a target object based on an image of the plurality of images. A position estimating unit estimates a position of the target object in the image based on the density distribution. A measuring unit measures a flow of the target object from positions of the target object in the plurality of images.

## Claims

### Claim 1

An image processing apparatus, comprising:
an obtaining unit configured to obtain a moving image including a plurality of images;
a density estimating unit configured to estimate a density distribution of a target object based on an image of the plurality of images;
a position estimating unit configured to estimate a position of the target object in the image based on the density distribution; and
a measuring unit configured to measure a flow of the target object from positions of the target object in the plurality of images.

### Claim 2 (depends on 1)

The image processing apparatus according to claim 1, wherein the density distribution indicates a region in the image where the target object is estimated to present.

### Claim 3 (depends on 1)

The image processing apparatus according to claim 1, wherein the position estimating unit is further configured to perform, for each position on the image, two-class classification for distinguishing whether or not the position indicates a representative point of the target object.

### Claim 4 (depends on 1)

The image processing apparatus according to claim 1, wherein the position estimating unit is further configured to calculate the position of the target object on the basis of a plurality of positions in the image which are estimated to indicate the position of the target object, the plurality of positions being adjacent to each other.

### Claim 5 (depends on 1)

The image processing apparatus according to claim 1, wherein the obtaining unit is further configured to extract, from each of the plurality of images, one or more partial images each being a part of the image, and
the density estimating unit is further configured to estimate a density distribution of the target object in each of the one or more partial images.

### Claim 6 (depends on 5)

The image processing apparatus according to claim 5, wherein the obtaining unit is further configured to extract the partial image from the image in such a way that the partial image includes a measuring region where a flow of the target objects is to be measured.

### Claim 7 (depends on 6)

The image processing apparatus according to claim 6, wherein the obtaining unit is further configured to obtain a designation of the measuring region by a user, and for setting, based on the designation, a region from which the partial image is to be extracted.

### Claim 8 (depends on 5)

The image processing apparatus according to claim 5, wherein the obtaining unit is further configured to divide the image into a plurality of regions, and to extract, for each of one or more regions selected from the plurality of regions, the partial image at the region and a margin region around the region.

### Claim 9 (depends on 1)

The image processing apparatus according to claim 1, wherein the density estimating unit is further configured to generate a density map of the image, the density map being indicative of a density of the target object at each position on the image, and
the position estimating unit is further configured to perform, for each position on the density map, two-class classification for distinguishing whether or not the position indicates a representative point of the target object.

### Claim 10 (depends on 1)

The image processing apparatus according to claim 1, wherein the measuring unit is further configured to measure the number of target objects moved from a first region to a second region, the first and second regions being separated by a measuring region where a flow of the target object is to be measured.

### Claim 11 (depends on 10)

The image processing apparatus according to claim 10, wherein the measuring unit is further configured to measure the number of target objects moved from the first region to the second region across the measuring region while excluding, from the number of target objects measured, the number of target objects moved from the first region to the measuring region but not to the second region.

### Claim 12 (depends on 10)

The image processing apparatus according to claim 10, wherein the measuring unit is further configured to calculate a difference between the number of target objects moved from the first region to the second region and the number of target objects moved from the second region to the first region.

### Claim 13 (depends on 1)

The image processing apparatus according to claim 1, further comprising an associating unit configured to associate a position of the target object in a first image at a first time among the plurality of images with a position of the target object in a second image at a second time among the plurality of images.

### Claim 14 (depends on 13)

The image processing apparatus according to claim 13, wherein the associating unit is further configured to:
predict a position of the target object in a third image at a third time later than the second time, at least on the basis of the position of the target object in the second image; and
associate the position of the target object in the second image with the position of the target object in the third image on the basis of the predicted position of the target object in the third image at the third time and the position of the target object in the third image.

### Claim 15 (depends on 1)

The image processing apparatus according to claim 1, wherein the density estimating unit is further configured to estimate the density distribution using a neural network.

### Claim 16 (depends on 1)

The image processing apparatus according to claim 1, wherein the position estimating unit is further for estimating the positions of the target object using a neural network.

### Claim 17

An image processing method, comprising:
obtaining a moving image including a plurality of images;
estimating a density distribution of a target object based on an image of the plurality of images;
estimating a position of the target object in the image from the density distribution; and
measuring a flow of the target object from positions of the target object in the plurality of images.

### Claim 18

A non-transitory computer-readable medium storing a program which, when executed by a computer, causes the computer to perform a method comprising:
obtaining a moving image including a plurality of images;
estimating a density distribution of a target object based on an image of the plurality of images;
estimating a position of the target object in the image from the density distribution; and
measuring a flow of the target object from positions of the target object in the plurality of images.
