# US 2022/0292691 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 2022/0292691 A1
- Document ID: US20220292691A1
- Status: Published application
- Kind: A1
- Application number: 17/686,530
- Filed: 2022-03-04
- Published: 2022-09-15
- Earliest claimed: 2021-03-12
- Assignees: Canon Kabushiki Kaisha
- Applicants: Canon Kabushiki Kaisha
- Inventors: Kazuya Kitamura; Tokuro Nishida; Akimori Hayashi; Hiroyuki Hasegawa; Koki Nakamura; Kazuki Hosoi; Norifumi Kashiyama; Shunsuke Kawahara
- Web page: https://patentgrep.com/patent/US20220292691A1

## CPC

- G06T 7/194: involving foreground-background segmentation
- G06T 5/20: using local operators
- G06T 5/40: using histogram techniques
- G06T 7/11: Region-based segmentation
- G06T 2207/10052: Images from lightfield camera
- G06T 2207/20132: Image cropping
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A generation unit generates a background separation image in which regions of a captured image are classified as a foreground region, a background region, and an unknown region, based on distance distribution information obtained from a plurality of parallax images. An output unit outputs the captured image and the background separation image. A region in which a distance in the distance distribution information is within a first range is classified as the foreground region. A region in which a distance in the distance distribution information is outside a second range broader than the first range is classified as the background region. A region in which a distance in the distance distribution information is outside the first range and inside the second range is classified as the unknown region.

## Claims

### Claim 1

An image processing apparatus comprising at least one processor and/or at least one circuit which functions as:
an obtainment unit configured to obtain a captured image and a plurality of parallax images generated through shooting using an image sensor in which a plurality of photoelectric conversion units are arranged, each photoelectric conversion unit receiving a light flux passing through a different partial pupil region of an imaging optical system;
a generation unit configured to generate a background separation image in which regions of the captured image are classified as a foreground region, a background region, and an unknown region, based on distance distribution information obtained from the plurality of parallax images; and
an output unit configured to output the captured image and the background separation image,
wherein the generation unit generates the background separation image such that
a region in which a distance in the distance distribution information is within a first range is classified as the foreground region,
a region in which a distance in the distance distribution information is outside a second range broader than the first range is classified as the background region, and
a region in which a distance in the distance distribution information is outside the first range and inside the second range is classified as the unknown region.

### Claim 2 (depends on 1)

The image processing apparatus according to claim 1, wherein the at least one processor and/or the at least one circuit further functions as:
a first display control unit configured to display the background separation image in a display; and
a recording control unit configured to record the background separation image into a storage medium.

### Claim 3 (depends on 1)

The image processing apparatus according to claim 1, wherein the at least one processor and/or the at least one circuit further functions as:
an input unit configured to accept an input from a user; and
a first setting unit configured to set at least one of the first range and the second range based on the input accepted by the input unit.

### Claim 4 (depends on 1)

The image processing apparatus according to claim 1, wherein the at least one processor and/or the at least one circuit further functions as:
a second display control unit configured to display the captured image in a display,
wherein based on the background separation image, the second display control unit displays the captured image in a state in which the foreground region, the background region, and the unknown region can be identified.

### Claim 5 (depends on 4)

The image processing apparatus according to claim 4,
wherein based on the background separation image, the second display control unit displays, superimposed on the captured image, a boundary line between the foreground region and the unknown region, and a boundary line between the unknown region and the background region.

### Claim 6 (depends on 5)

The image processing apparatus according to claim 5,
wherein the second display control unit detects the boundary line between the foreground region and the unknown region and the boundary line between the unknown region and the background region by extracting a high-frequency component in the background separation image using a high-pass filter having a predetermined cutoff frequency.

### Claim 7 (depends on 4)

The image processing apparatus according to claim 4, wherein the at least one processor and/or the at least one circuit further functions as:
a second setting unit configured to set a transparency of the foreground region, the background region, and the unknown region in the background separation image,
wherein the second display control unit displays the background separation image superimposed over the captured image at the transparency set.

### Claim 8 (depends on 1)

The image processing apparatus according to claim 1, wherein the at least one processor and/or the at least one circuit further functions as:
a third display control unit configured to display a histogram of a distance indicated by the distance distribution information in a display,
wherein the third display control unit displays the histogram such that the first range and the second range can be identified.

### Claim 9 (depends on 1)

The image processing apparatus according to claim 1, wherein the at least one processor and/or the at least one circuit further functions as:
a fourth display control unit configured to display, in a display, a bird's-eye view expressing a relationship between a horizontal coordinate of the captured image and a distance, based on the distance distribution information,
wherein the fourth display control unit displays the bird's-eye view such that the first range and the second range can be identified.

### Claim 10 (depends on 1)

The image processing apparatus according to claim 1,
wherein the generation unit detects an edge from the captured image and generates the background separation image based on the edge detected.

### Claim 11 (depends on 1)

The image processing apparatus according to claim 1,
wherein the generation unit detects an object from the captured image and generates the background separation image based on a region where the object detected is present.

### Claim 12 (depends on 1)

The image processing apparatus according to claim 1,
wherein the generation unit determines at least one of the first range and the second range such that a range of a distance corresponding to the unknown region changes according to an aperture value used when performing the shooting pertaining to the captured image.

### Claim 13 (depends on 1)

The image processing apparatus according to claim 1,
wherein the generation unit generates the background separation image by determining the foreground region, the background region, and the unknown region according to information of a focal position used when performing shooting the pertaining to the captured image.

### Claim 14 (depends on 1)

The image processing apparatus according to claim 1, wherein the at least one processor and/or the at least one circuit further functions as:
an object detection unit configured to detect a plurality of objects,
wherein the generation unit generates the background separation image for each of the plurality of objects detected by the object detection unit.

### Claim 15 (depends on 14)

The image processing apparatus according to claim 14,
wherein the generation unit further generates a single background separation image by compositing a plurality of the background separation images.

### Claim 16 (depends on 14)

The image processing apparatus according to claim 14, wherein the at least one processor and/or the at least one circuit further functions as:
a selection unit configured to select at least one of the plurality of objects detected by the object detection unit,
wherein the generation unit generates at least one background separation image based on selecting of an object by the selection unit.

### Claim 17 (depends on 1)

The image processing apparatus according to claim 1,
wherein the output unit adds the background separation image to a data stream configured in N-bit units (N≥10) and outputs the data stream with the captured image.

### Claim 18 (depends on 17)

The image processing apparatus according to claim 17,
wherein the output unit adds the background separation image to the data stream such that data is inverted on a pixel-by-pixel basis.

### Claim 19 (depends on 17)

The image processing apparatus according to claim 17,
wherein the output unit outputs the data stream to a transmitter that transmits through SDI.

### Claim 20 (depends on 1)

The image processing apparatus according to claim 1, further comprising the image sensor.

### Claim 21

An image processing method executed by an image processing apparatus, comprising:
obtaining a captured image and a plurality of parallax images generated through shooting using an image sensor in which a plurality of photoelectric conversion units are arranged, each photoelectric conversion unit receiving a light flux passing through a different partial pupil region of an imaging optical system;
generating a background separation image in which regions of the captured image are classified as a foreground region, a background region, and an unknown region, based on distance distribution information obtained from the plurality of parallax images; and
outputting the captured image and the background separation image,
wherein the background separation image is generated such that
a region in which a distance in the distance distribution information is within a first range is classified as the foreground region,
a region in which a distance in the distance distribution information is outside a second range broader than the first range is classified as the background region, and
a region in which a distance in the distance distribution information is outside the first range and inside the second range is classified as the unknown region.

### Claim 22

A non-transitory computer-readable storage medium which stores a program for causing a computer to execute an image processing method comprising:
obtaining a captured image and a plurality of parallax images generated through shooting using an image sensor in which a plurality of photoelectric conversion units are arranged, each photoelectric conversion unit receiving a light flux passing through a different partial pupil region of an imaging optical system;
generating a background separation image in which regions of the captured image are classified as a foreground region, a background region, and an unknown region, based on distance distribution information obtained from the plurality of parallax images; and
outputting the captured image and the background separation image,
wherein the background separation image is generated such that
a region in which a distance in the distance distribution information is within a first range is classified as the foreground region,
a region in which a distance in the distance distribution information is outside a second range broader than the first range is classified as the background region, and
a region in which a distance in the distance distribution information is outside the first range and inside the second range is classified as the unknown region.
