# US 2023/0274444 A1 · Measuring device, moving device, measuring 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/0274444 A1
- Document ID: US20230274444A1
- Status: Published application
- Kind: A1
- Application number: 18/165,983
- Filed: 2023-02-08
- Published: 2023-08-31
- Earliest claimed: 2022-02-28
- Assignees: Canon Kabushiki Kaisha
- Applicants: Canon Kabushiki Kaisha
- Inventors: Makoto Oigawa
- Web page: https://patentgrep.com/patent/US20230274444A1

## CPC

- G06T 7/20: Analysis of motion (motion estimation for coding, decoding, compressing or decompressing digital video signals H04N19/43, H04N19/51)
- G06T 7/254: involving subtraction of images
- G06T 5/40: using histogram techniques
- G06T 7/579: from motion
- G06T 7/73: using feature-based methods
- G06V 10/751: {Comparing pixel values or logical combinations thereof, or feature values having positional relevance, e.g. template matching}
- G06V 10/758: {Involving statistics of pixels or of feature values, e.g. histogram matching}
- G06V 10/761: {Proximity, similarity or dissimilarity measures}
- G06T 2207/10012: Stereo images
- G06T 2207/10021: Stereoscopic video; Stereoscopic image sequence
- G06T 2207/20224: Image subtraction
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A measuring device including: a stereo image acquiring unit configured to acquire a first image of a first viewpoint and a second image of a second viewpoint at a predetermined first time and acquire a third image of the first viewpoint and a fourth image of the second viewpoint at a second time different from the first time; a stereo distance measuring unit configured to acquire a first distance image from the first image and the second image and acquire a second distance image from the third image and the fourth image; and a movement amount calculating unit configured to calculate a relative movement amount between the stereo image acquiring unit and a subject between the first time and the second time on the basis of the first distance image and the second distance image.

## Claims

### Claim 1

A measuring device comprising at least one processor or circuit configured to function as:
a stereo image acquiring unit configured to acquire a first image of a first viewpoint and a second image of a second viewpoint at a predetermined first time and acquire a third image of the first viewpoint and a fourth image of the second viewpoint at a second time different from the first time;
a stereo distance measuring unit configured to acquire a first distance image from the first image and the second image and acquire a second distance image from the third image and the fourth image; and
a movement amount calculating unit configured to calculate a relative movement amount between the stereo image acquiring unit and a subject between the first time and the second time on the basis of the first distance image and the second distance image.

### Claim 2 (depends on 1)

The measuring device according to claim 1, wherein the movement amount calculating unit calculates the movement amount by statistically processing a relative distance value for each of pixels of the first distance image and the second distance image.

### Claim 3 (depends on 1)

The measuring device according to claim 1, wherein the movement amount calculating unit performs association of pixels of the first distance image and the second distance image on the basis of information of an optical system and calculates a relative distance value by comparing distance information of the pixels associated with each other.

### Claim 4 (depends on 3)

The measuring device according to claim 3, wherein the movement amount calculating unit calculates the movement amount on the basis of a peak of an approximation curve fitted to a histogram of the relative distance values.

### Claim 5 (depends on 1)

The measuring device according to claim 1, wherein the movement amount calculating unit includes a feature point distance measuring unit configured to calculate a position/posture change amount of the stereo image acquiring unit on the basis of a correspondence relation between feature points of the first image and the third image, and the movement amount calculating unit calculates the movement amount by performing scaling of the position/posture change amount using a relative distance value between the first distance image and the second distance image.

### Claim 6 (depends on 1)

The measuring device according to claim 1, wherein the stereo image acquiring unit acquires the fourth image from the first image using an image sensor of a pupil division system.

### Claim 7 (depends on 5)

The measuring device according to claim 5,
wherein the stereo distance measuring unit calculates first distance information of each pixel, and
wherein the feature point distance measuring unit calculates an optical flow on the basis of a correspondence relation between feature points of the first image and the third image and calculates second distance information of each pixel on the basis of the optical flow and the movement amount,
the measuring device further comprising a correction unit for correcting an output of the stereo image acquiring unit using the first distance information and the second distance information.

### Claim 8 (depends on 7)

The measuring device according to claim 7, wherein the first distance information and the second distance information are image-side defocusing amounts.

### Claim 9

A moving device comprising: at least one processor or circuit configured to function as:
a stereo image acquiring unit configured to acquire a first image of a first viewpoint and a second image of a second viewpoint at a predetermined first time and acquire a third image of the first viewpoint and a fourth image of the second viewpoint at a second time different from the first time;
a stereo distance measuring unit configured to acquire a first distance image from the first image and the second image and acquire a second distance image from the third image and the fourth image;
a movement amount calculating unit configured to calculate a relative movement amount between the stereo image acquiring unit and a subject between the first time and the second time on the basis of the first distance image and the second distance image; and
a control unit configured to perform warning or control of a movement operation of the moving device on the basis of the movement amount calculated by the movement amount calculating unit.

### Claim 10

A measuring method comprising:
acquiring a first image of a first viewpoint and a second image of a second viewpoint at a predetermined first time and acquiring a third image of the first viewpoint and a fourth image of the second viewpoint at a second time different from the first time by using a stereo camera;
acquiring a first distance image from the first image and the second image and acquiring a second distance image from the third image and the fourth image; and
calculating a relative movement amount between the stereo camera and a subject between the first time and the second time on the basis of the first distance image and the second distance image.

### Claim 11

A non-transitory computer-readable storage medium configured to store a computer program comprising instructions for executing following processes:
acquiring a first image of a first viewpoint and a second image of a second viewpoint at a predetermined first time and acquiring a third image of the first viewpoint and a fourth image of the second viewpoint at a second time different from the first time by using a stereo camera;
acquiring a first distance image from the first image and the second image and acquiring a second distance image from the third image and the fourth image; and
calculating a relative movement amount between the stereo camera and a subject between the first time and the second time on the basis of the first distance image and the second distance image.
