# US 10,313,591 B2 · Motion vector detection device, method of controlling a motion vector detection device, and image capturing apparatus that change a size and a number of a template block based on a use of a detected motion vector

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

- Number: US 10,313,591 B2
- Document ID: US10313591B2
- Status: Granted
- Kind: B2
- Application number: 15/355,084
- Filed: 2016-11-18
- Published: 2017-06-01
- Granted: 2019-06-04
- Earliest claimed: 2015-11-26
- Assignees: Canon Kabushiki Kaisha
- Applicants: Canon Kabushiki Kaisha
- Inventors: Shunichiro Ikeda
- Web page: https://patentgrep.com/patent/US10313591B2

## CPC

- H04N 23/682: {Vibration or motion blur correction}
- G06T 7/223: using block-matching
- G06T 7/248: {involving reference images or patches}
- H04N 23/667: Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
- H04N 23/6811: {based on the image signal}
- G06T 2207/20012: Locally adaptive
- G06T 2207/20021: Dividing image into blocks, subimages or windows
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A motion vector detection device includes at least one processor and at least one memory that function as a detection unit configured to detect a motion vector between a plurality of images, and a control unit configured to perform setting with respect to a detection of the motion vector. The detection unit detects the motion vector by searching for an area, which has a correlation with a template block that is set in one of the plurality of images, within a search range that is set for another one of the plurality of images. The control unit changes a size and a number of the template block, based on a use of the motion vector that is detected by the detection unit.

## Claims

### Claim 1

A motion vector detection device comprising:
at least one processor and at least one memory that function as:
(a) a detection unit configured to detect a motion vector between a plurality of images; and
(b) a control unit configured to perform setting with respect to a detection of the motion vector,
wherein the detection unit detects the motion vector by searching for an area, which has a correlation with a template block that is set in one of the plurality of images, within a search range that is set for another one of the plurality of images, and
wherein the control unit changes a size and a number of the template block, based on a use of the motion vector that is detected by the detection unit.

### Claim 2 (depends on 1)

The motion vector detection device according to claim 1, wherein the use includes a use for detecting movement of an apparatus that includes the motion vector detection device, and a use for detecting movement of an object between the plurality of images.

### Claim 3 (depends on 2)

The motion vector detection device according to claim 2, wherein the control unit sets a larger size reduction ratio of the plurality of images if the use is for detecting movement of an object than if the use is for detecting movement of the apparatus.

### Claim 4 (depends on 1)

The motion vector detection device according to claim 1, wherein the control unit further changes the search range based on the use.

### Claim 5 (depends on 4)

The motion vector detection device according to claim 4, wherein the control unit sets the search range having a size according to the size of the template block.

### Claim 6 (depends on 1)

The motion vector detection device according to claim 1, wherein the control unit further changes arrangement of the template block based on the use.

### Claim 7 (depends on 6)

The motion vector detection device according to claim 6, wherein (i) the use includes a use for detecting movement of an apparatus that includes the motion vector detection device, and a use for detecting movement of an object between the plurality of images, (ii) the control unit sets the template block so as to be distributed over one of the plurality of images if the use is for detecting movement of the apparatus, and (iii) the control unit sets a lamer greater number of smaller template blocks with a higher density if the use is for detecting movement of an object than if the use is for detecting movement of the apparatus.

### Claim 8 (depends on 1)

The motion vector detection device according to claim 1, wherein the control unit sets the number of the template block in a case when the size of the template block is a first size to be greater than in a case when the size of the template block is a second size that is larger than the first size.

### Claim 9 (depends on 8)

The motion vector detection device according to claim 8, wherein the control unit sets the size of the template block to the first size if the use is a use for detecting movement of an object between the plurality of images, and sets the size of the template block to the second size if the use is a use for detecting movement of an apparatus that includes the motion vector detection device.

### Claim 10 (depends on 1)

The motion vector detection device according to claim 1, wherein an apparatus that includes the motion vector detection device is an image capturing apparatus that has a plurality of shooting modes, and
the control unit changes the size and the number of the template block according to the use with which the shooting mode set in the image capturing apparatus is associated.

### Claim 11

An image capturing apparatus comprising:
(A) an image capturing unit; and
(B) at least one processor and at least one memory function as:
(a) an image processing unit;
(b) a detection unit configured to detect a motion vector between a plurality of images; and
(c) a control unit configured to perform setting with respect to a detection of the motion vector,
wherein the detection unit detects the motion vector by searching for an area, which has a correlation with a template block that is set in one of the plurality of images, within a search range that is set for another one of the plurality of images,
wherein the control unit changes a size and a number of the template block, based on a use of the motion vector that is detected by the detection unit, and
wherein the detection unit detects the motion vector between the plurality of images that are captured by the image capturing unit and are supplied via the image processing unit.

### Claim 12 (depends on 11)

The image capturing apparatus according to claim 11, wherein the use includes a use for detecting movement of the image capturing apparatus, and a use for detecting movement of an object between the plurality of images, and wherein blur prevention control by using the motion vector is performed based on the use.

### Claim 13

A method of controlling a motion vector detection device, the method comprising:
detecting motion of a vector by searching for an area, which has a correlation with a template block that is set in one of a plurality of images, within a search range that is set for another one of the plurality of images; and
changing a size and a number of the template block, based on a use of the motion vector that is to be detected.

### Claim 14

A motion vector detection device comprising:
at least one processor and at least one memory functioning as:
(a) a detection unit configured to detect a motion vector between a plurality of images; and
(b) a control unit configured to perform setting with respect to a detection of the motion vector,
wherein the detection unit detects the motion vector by searching for an area, which has a correlation with a template block that is set in one of the plurality of images, within a search range that is set for another one of the plurality of images, and
wherein the control unit sets a greater number of smaller template blocks with a higher density if a use of the motion vector that is to be detected by the detection unit is for detecting movement of an object than if the use is for detecting movement of an apparatus that includes the motion vector detection device.

### Claim 15

An image capturing apparatus comprising:
(A) an image capturing unit; and
(B) at least one processor and at least one memory functioning as:
(a) an image processing unit;
(b) a detection unit configured to detect a motion vector between a plurality of images; and
(c) a control unit configured to perform setting with respect to a detection of the motion vector,
wherein the detection unit detects the motion vector by searching for an area, which has a correlation with a template block that is set in one of the plurality of images, within a search range that is set for another one of the plurality of images, and
wherein the control unit sets a greater number of smaller template blocks with a higher density if a use of the motion vector that is to be detected by the detection unit is for detecting movement of an object than if the use is for detecting movement of an apparatus that includes the motion vector detection device.

### Claim 16

A method of controlling a motion vector detection device, the method comprising:
detecting a motion vector by searching for an area, which has a correlation with a template block that is set in one of a plurality of images, within a search range that is set for another one of the plurality of images; and
setting a greater number of smaller template blocks with a higher density if a use of the motion vector that is to be detected is for detecting movement of an object than if the use is for detecting movement of an apparatus that includes the motion vector detection device.
