# US 2023/0141542 A1 · Image processing device, 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 2023/0141542 A1
- Document ID: US20230141542A1
- Status: Published application
- Kind: A1
- Application number: 17/903,176
- Filed: 2022-09-06
- Published: 2023-05-11
- Earliest claimed: 2021-11-08
- Assignees: Kabushiki Kaisha Toshiba
- Applicants: Kabushiki Kaisha Toshiba
- Inventors: Shunsuke SAKURAI; Masako KASHIWAGI; Akihito SEKI
- Web page: https://patentgrep.com/patent/US20230141542A1

## CPC

- H04N 23/64: {Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image}
- G06T 7/50: Depth or shape recovery
- G06T 7/60: Analysis of geometric attributes
- H04N 23/617: Upgrading or updating of programs or applications for camera control
- H04N 23/695: Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects
- G06T 2207/20081: Training; Learning
- G06T 2207/30168: Image quality inspection
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

According to one embodiment, an image processing device is used when measuring a capture distance from a capture device to a subject in an image using an image captured by the capture device and affected by aberration of an optical system of the capture device. The image processing device includes a processor. The processor is configured to acquire an image captured by the capture device, acquire configuration information relating to an optical system of the capture device, acquire a capture distance with respect to the image based on the acquired image, create a first capture condition of an image suitable for measuring a distance to the subject based on the acquired configuration information and the acquired capture distance, and output the created first capture condition.

## Claims

### Claim 1

An image processing device which is used when measuring a capture distance from a capture device to a subject in an image using an image captured by the capture device and affected by aberration of an optical system of the capture device, the image processing device comprising:
a processor configured to:
acquire an image captured by the capture device;
acquire configuration information relating to an optical system of the capture device;
acquire a capture distance with respect to the image based on the acquired image;
create a first capture condition of an image suitable for measuring a distance to the subject based on the acquired configuration information and the acquired capture distance; and
output the created first capture condition.

### Claim 2 (depends on 1)

The image processing device of claim 1, wherein the processor is configured to create, based on the acquired configuration information and the acquired capture distance, a first capture condition comprising a direction and distance in which the capture device should move to achieve a capture distance suitable for measuring a distance to the subject.

### Claim 3 (depends on 1)

The image processing device of claim 1, wherein the processor is configured to create, based on the acquired configuration information and the acquired capture distance, a first capture condition comprising a setting value of the capture device suitable for measuring a distance to the subject.

### Claim 4 (depends on 1)

The image processing device of claim 1, wherein
the processor is configured to create, based on the acquired configuration information and the acquired capture distance, a first capture condition comprising a direction and distance in which the capture device should move, and a first capture condition comprising a setting value of the capture device, and
one of the first capture conditions is output preferentially.

### Claim 5 (depends on 1)

The image processing device of claim 1, wherein the processor is configured to estimate, based on the acquired configuration information, a range of distances from the capture device to the subject, in which a distance to the subject can be measured, and create, based on the range of distances, the first capture condition.

### Claim 6 (depends on 1)

The image processing device of claim 1, wherein the acquired configuration information comprises a distance to a position in focus in an image captured by the capture device.

### Claim 7 (depends on 1)

The image processing device of claim 1, further comprising storage configured to store a statistical model generated by learning bokeh that occurs in an image affected by aberration of an optical system of the capture device, and that changes nonlinearly according to a distance to a subject in the image, wherein
the processor is configured to acquire, as the capture distance, a distance to the subject in the image, which is converted from a bokeh value indicating bokeh occurred in the subject in the image, the bokeh value output from the statistical model by inputting the acquired image in the statistical model.

### Claim 8 (depends on 7)

The image processing device of claim 7, wherein
the statistical model is constructed to further output an uncertainty level with respect to a bokeh value output from the statistical model by inputting the acquired image in the statistical model, and
the processor is configured to acquire the capture distance based on the uncertainty level output from the statistical model.

### Claim 9 (depends on 7)

The image processing device of claim 7, wherein the processor acquires, as the capture distance, a distance to the subject, which is converted from a bokeh value indicating bokeh occurred in the subject, the bokeh value output from the statistical model by inputting an area including the subject in the acquired image to the statistical model.

### Claim 10 (depends on 1)

The image processing device of claim 1, wherein
the processor is configured to:
create, based on the acquired configuration information and the acquired capture distance, a second capture condition of an image suitable for measuring a size of the subject; and
output the created second capture condition.

### Claim 11 (depends on 2)

The image processing device of claim 2, wherein
the processor is configured to create, based on the acquired configuration information and the acquired capture distance, a second capture condition of an image suitable for measuring a size of the subject,
the second capture condition comprises a longest capture distance from the capture device to the subject that is capable of estimating the size of the subject in the acquired image, and
the processor is configured to preferentially output the second capture condition in a case where the first capture condition does not satisfy the second capture condition.

### Claim 12 (depends on 3)

The image processing device of claim 3, wherein
the processor is configured to create, based on the acquired configuration information and the acquired capture distance, a second capture condition of an image suitable for measuring a size of the subject,
the setting value included in the first capture condition comprises a focal length in an optical system of the capture device,
the second capture condition comprises a shortest focal length at which the size of the subject in the acquired image can be measured, and
the processor is configured to preferentially output the second capture condition in a case where the first capture condition does not satisfy the second capture condition.

### Claim 13 (depends on 10)

The image processing device of claim 10, further comprising storage configured to store a statistical model generated by learning bokeh that occurs in an image affected by aberration of an optical system of the capture device, and that changes nonlinearly according to a distance to the subject in the image, wherein
the processor is configured to create the second capture condition based on a bokeh value indicating bokeh occurred in a subject in the image, the bokeh value output from the statistical model by inputting the acquired image to the statistical model.

### Claim 14 (depends on 1)

The image processing device of claim 1, wherein the processor is configured to present the first capture condition to a user using the capture device.

### Claim 15 (depends on 10)

The image processing device of claim 10, wherein the processor is configured to present the second capture condition to a user using the capture device.

### Claim 16 (depends on 1)

The image processing device of claim 1, wherein the processor is configured to output the first capture condition so that a current capture condition is automatically changed to the first capture condition.

### Claim 17 (depends on 10)

The image processing device of claim 10, wherein the processor is configured to output the second capture condition so that a current capture condition is automatically changed to the second capture condition.

### Claim 18

A method executed by an image processing device used when measuring a capture distance from a capture device to a subject in an image, using an image captured by the capture device and affected by aberration of the optical system of the capture device, the method comprising:
acquiring an image captured by the capture device;
acquiring configuration information relating to the optical system of the capture device;
acquiring a capture distance with respect to the image based on the acquired image;
creating, based on the acquired configuration information and the acquired capture distance, a capture condition of an image suitable for measuring a distance to the subject; and
outputting the created capture condition.

### Claim 19

A non-transitory computer-readable storage medium having stored thereon a program which is executed by a computer of an image processing device used when measuring a capture distance from a capture device to a subject in an image, using an image captured by the capture device and affected by aberration of the optical system of the capture device, the program comprising instructions capable of causing the computer to execute functions of:
acquiring the image captured by the capture device;
acquiring configuration information relating to the optical system of the capture device;
acquiring, based on the acquired image, a capture distance with respect to the image;
creating, based on the acquired configuration information and the acquired capture distance, a capture condition of an image suitable for measuring a distance to the subject; and
outputting the created capture condition.
