# US 2003/0215015 A1 · Motion vector search apparatus and method

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

- Number: US 2003/0215015 A1
- Document ID: US20030215015A1
- Status: Published application
- Kind: A1
- Application number: 10/431,784
- Filed: 2003-05-08
- Published: 2003-11-20
- Earliest claimed: 2002-05-08
- Assignees: Canon Kabushiki Kaisha
- Inventors: Tadashi Ohira
- Web page: https://patentgrep.com/patent/US20030215015A1

## CPC

- H04N 19/57: Motion estimation characterised by a search window with variable size or shape
- H04N 5/145: {Movement estimation (for video coding H04N19/51)}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A motion vector search apparatus and method that search for inter-frame motion vectors of motion pictures are provided. The motion vector search apparatus and method involve: inputting a search target frame to be coded; inputting as a reference frame a frame on which a motion vector search has been performed; by using each of a plurality of specific blocks set within the search target frame and each corresponding one of reference blocks set within the reference frame, performing a block matching for each of the specific blocks within a predetermined range of the reference frame; determining a search pattern for a motion vector for the entire frame according to block matching results for the plurality of specific blocks; by using the search pattern determined, executing a block matching in predetermined units of blocks on the inputted search target frame to be encoded; and generating motion vectors.

## Claims

### Claim 1

A motion vector search apparatus that searches for inter-frame motion vectors of motion pictures, the motion vector search apparatus comprising:
a target frame input component that inputs a search target frame to be coded;
a reference frame input component that inputs as a reference frame a frame on which a motion vector search has been performed;
a search pattern determination component that uses each of a plurality of specific blocks set within the search target frame and each corresponding one of reference blocks set within the reference frame to perform a block matching for each of the specific blocks within a predetermined range of the reference frame and determine a search pattern for a motion vector for the entire frame according to block matching results for the plurality of specific blocks; and
a motion vector search component that uses the search pattern determined by the search pattern determination component to execute a block matching in predetermined units of blocks on the inputted search target frame to be coded and generate motion vectors.

### Claim 2 (depends on 1)

A motion vector search apparatus according to claim 1, further comprising a search pattern storage component that stores a plurality of search patterns, wherein the search pattern storage component selects an optimum search pattern among the plurality of search patterns stored in the search pattern storage component according to a matching result obtained for the plurality of specific blocks.

### Claim 3 (depends on 1)

A motion vector search apparatus according to claim 1, wherein the search pattern determination component comprises:
a difference calculation component that calculates difference information of a difference between each of the specific blocks and each of the corresponding reference blocks;
a component that determines a reference block that matches each of the specific blocks according to the difference information obtained by the difference calculation component, and outputs motion vectors of the specific blocks, respectively;
a general motion vector calculation component that calculates a general motion vector of the entire frame from the motion vectors of the plurality of specific blocks; and
a pattern determination component that determines a search pattern according to the general motion vector.

### Claim 4 (depends on 3)

A motion vector search apparatus according to claim 3, wherein the general motion vector calculation component comprises:
a deviation calculation component that calculates a deviation among the motion vectors of the plurality of specific blocks;
an average calculation component that calculates an average of the motion vectors of the plurality of specific blocks; and
a general calculation component that calculates a general motion vector of the entire frame from the deviation and the average of the motion vectors of the plurality of specific blocks calculated.

### Claim 5 (depends on 4)

A motion vector search apparatus according to claim 4, wherein the motion vector search component outputs matched reference blocks as prediction blocks with the motion vectors.

### Claim 6 (depends on 5)

A motion vector search apparatus according to claim 5, further comprising an encoding component that predictively encodes the search target frame, using the prediction blocks outputted from the motion vector search component.

### Claim 7

A motion vector search method to search for inter-frame motion vectors of motion pictures, the motion vector search method comprising:
a target frame input step of inputting a search target frame;
a reference frame input step of inputting as a reference frame a frame on which a motion vector search has been performed;
a search pattern determination step of, by using each of a plurality of specific blocks set within the search target frame and each corresponding one of reference blocks set within the reference frame, performing a block matching for each of the specific blocks within a predetermined range of the reference frame and determining a search pattern for a motion vector for the entire frame according to block matching results for the plurality of specific blocks; and
a motion vector searching step of executing a block matching in predetermined units of blocks on the inputted search target frame to be coded and generate motion vectors by using the search pattern determined in the search pattern determination step.

### Claim 8 (depends on 7)

A motion vector search method according to claim 7, further comprising a search pattern storage step of storing a plurality of search patterns, wherein the search pattern storage step includes selecting an optimum search pattern among the plurality of search patterns stored in the search pattern storage step according to a matching result obtained for the plurality of specific blocks.

### Claim 9 (depends on 7)

A motion vector search method according to claim 7, wherein the search pattern determination step comprises:
a difference calculation step for calculating difference information of a difference between each of the specific blocks and each of the corresponding reference blocks; and
a step for determining a reference block that matches each of the specific blocks according to the difference information obtained in the difference calculation step, and outputting motion vectors of the specific blocks, respectively;

### Claim 10 (depends on 9)

A motion vector search method according to claim 9, wherein the search pattern determination step further comprises:
a general motion vector calculation step of calculating a general motion vector of the entire frame from the motion vectors of the plurality of specific blocks; and
a pattern determination step of determining a search pattern according to the general motion vector.

### Claim 11 (depends on 10)

A motion vector search method according to claim 10, wherein the general motion vector calculation step comprises:
a deviation calculation step of calculating a deviation among the motion vectors of the plurality of specific blocks;
an average calculation step of calculating an average of the motion vectors of the plurality of specific blocks; and
a general calculation step of calculating a general motion vector of the entire frame from the deviation and the average of the motion vectors of the plurality of specific blocks calculated.

### Claim 12 (depends on 11)

A motion vector search method according to claim 11, wherein the motion vector search step includes outputting matched reference blocks as prediction blocks with the motion vectors.

### Claim 13 (depends on 12)

A motion vector search method according to claim 12, further comprising an encoding step of predictively encoding the search target frame, using the prediction blocks outputted in the motion vector search step.

### Claim 14

A program that renders a computer to execute a motion vector search method to search for inter-frame motion vectors of motion pictures, the motion vector search method comprising:
a target frame input step of inputting a search target frame;
a reference frame input step of inputting as a reference frame a frame on which a motion vector search has been performed;
a search pattern determination step of, by using each of a plurality of specific blocks set within the search target frame and each corresponding one of reference blocks set within the reference frame, performing a block matching for each of the specific blocks within a predetermined range of the reference frame and determining a search pattern for a motion vector for the entire frame according to block matching results for the plurality of specific blocks; and
a motion vector searching step of executing a block matching in predetermined units of blocks on the inputted search target frame to be coded and generate motion vectors by using the search pattern determined in the search pattern determination step.
further comprising a search pattern storage component that stores a plurality of search patterns, wherein the search pattern storage component selects an optimum search patterns among the plurality of search patterns stored in the search pattern storage component according to a matching result obtained for the plurality of specific blocks.

### Claim 15 (depends on 14)

A program according to claim 14, further comprising a search pattern storage step of storing a plurality of search patterns, wherein the search pattern storage step includes selecting an optimum search pattern among the plurality of search patterns stored in the search pattern storage step according to a matching result obtained for the plurality of specific blocks.

### Claim 16 (depends on 14)

A program according to claim 14, wherein the search pattern determination step comprises:
a difference calculation step for calculating difference information of a difference between each of the specific blocks and each of the corresponding reference blocks;
a step for determining a reference block that matches each of the specific blocks according to the difference information obtained in the difference calculation step, and outputting motion vectors of the specific blocks, respectively;
a general motion vector calculation step of calculating a general motion vector of the entire frame from the motion vectors of the plurality of specific blocks; and
a pattern determination step of determining a search pattern according to the general motion vector.

### Claim 17 (depends on 16)

A program according to claim 16, wherein the general motion vector calculation step comprises:
a deviation calculation step of calculating a deviation among the motion vectors of the plurality of specific blocks;
an average calculation step of calculating an average of the motion vectors of the plurality of specific blocks; and
a general calculation step of calculating a general motion vector of the entire frame from the deviation and the average of the motion vectors of the plurality of specific blocks calculated.

### Claim 18 (depends on 17)

A program according to claim 17, wherein the motion vector search step includes outputting matched reference blocks as prediction blocks with the motion vectors.

### Claim 19 (depends on 18)

A program according to claim 18, further comprising an encoding step of predictively encoding the search target frame, using the prediction blocks outputted in the motion vector search step.

### Claim 20

A recording medium that store a program that renders a computer to execute a motion vector search method to search for inter-frame motion vectors of motion pictures, the motion vector search method comprising:
a target frame input step of inputting a search target frame;
a reference frame input step of inputting as a reference frame a frame on which a motion vector search has been performed;
a search pattern determination step of, by using each of a plurality of specific blocks set within the search target frame and each corresponding one of reference blocks set within the reference frame, performing a block matching for each of the specific blocks within a predetermined range of the reference frame and determining a search pattern for a motion vector for the entire frame according to block matching results for the plurality of specific blocks; and
a motion vector searching step of executing a block matching in predetermined units of blocks on the inputted search target frame to be coded and generate motion vectors by using the search pattern determined in the search pattern determination step.
