# US 2009/0268822 A1 · Motion vector detection by stepwise search

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

- Number: US 2009/0268822 A1
- Document ID: US20090268822A1
- Status: Published application
- Kind: A1
- Application number: 12/273,717
- Filed: 2008-11-19
- Published: 2009-10-29
- Earliest claimed: 2008-04-24
- Inventors: Kengo TERADA; Kouji Nakajima; Keisuke Kondou
- Web page: https://patentgrep.com/patent/US20090268822A1

## CPC

- H04N 19/533: Motion estimation using multistep search, e.g. two-dimensional [2D]-log search or one-at-a-time search [OTS]
- G06T 7/238: using non-full search, e.g. three-step search
- H04N 19/61: in combination with predictive coding
- G06T 2207/10016: Video; Image sequence
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A moving image encoding apparatus includes a motion vector detecting unit for executing from a wide and coarse search to a narrow and fine search in a plurality of steps and in a stepwise manner to detect a motion vector of each block in an input image. The motion vector detecting unit includes a block combining unit for generating a combination block, depending on a result of detection in a search step, a search use pixel extracting unit for extracting a search use pixel to be used in a next search step, from the combination block, and a second search combination block searching unit for performing the next search step with respect to the combination block using the search use pixel, and setting a detected motion vector of the combination block as the motion vector of each block of the combination block.

## Claims

### Claim 1

A moving image encoding apparatus for sequentially encoding a plurality of moving image frames, comprising:
a motion vector detecting unit for executing from a wide and coarse search to a narrow and fine search in a plurality of steps and in a stepwise manner to detect a motion vector of each block in an input image,
wherein the motion vector detecting unit includes:
a block combining unit for generating a combination block, depending on a result of detection in a search step;
a search use pixel extracting unit for extracting a search use pixel to be used in a next search step, from the combination block; and
a combination block searching unit for performing the next search step with respect to the combination block using the search use pixel, and setting a detected motion vector of the combination block as the motion vector of each block of the combination block.

### Claim 2 (depends on 1)

The moving image encoding apparatus of claim 1, wherein
the block combining unit generates, as a combination block, a group of blocks for which a difference in motion vector as the result of detection of the search step is smaller than or equal to an approximation threshold.

### Claim 3 (depends on 1)

The moving image encoding apparatus of claim 1, wherein
the block combining unit generates, as a combination block, a group of blocks for which a difference in motion vector as the result of detection of the search step is smaller than or equal to an approximation threshold and an evaluation function value of the motion vector of the search step is within an effective evaluation value range.

### Claim 4 (depends on 1)

The moving image encoding apparatus of claim 1, wherein
the block combining unit generates, as a combination block, a group of blocks for which a difference in motion vector as the result of detection of the search step is smaller than or equal to an approximation threshold and a distance between each block is smaller than or equal to a distance threshold.

### Claim 5 (depends on 1)

The moving image encoding apparatus of claim 1, wherein
the block combining unit obtains motion vectors in descending order of evaluation function value in a search step, the number of motion vectors being equal to the number of combination determination vectors, and generates, as a combination block, a group of blocks for which a difference of any of the motion vectors is smaller than or equal to an approximation threshold.

### Claim 6 (depends on 1)

The moving image encoding apparatus of claim 1, further comprising:
a motion vector resetting unit for calculating an evaluation function value of a block using a motion vector detected by the combination block searching unit in the next search step, and when the evaluation function value is smaller than or equal to a reset threshold, executing the next search step in units of a block to reset the motion vector of the next search step.

### Claim 7 (depends on 1)

The moving image encoding apparatus of claim 1, wherein
the search use pixel extracting unit extracts, as a search use pixel, a pixel of a block that is the first of the combination block in order of encoding.

### Claim 8 (depends on 1)

The moving image encoding apparatus of claim 1, further comprising:
a process time parameter setting unit for receiving a process time of motion vector detection, and based on the process time, setting an approximation threshold, an effective evaluation value range, a distance threshold, the number of combination determination vectors, and a reset threshold.

### Claim 9

A moving image encoding method for sequentially encoding a plurality of moving image frames, comprising:
a motion vector detecting step of executing from a wide and coarse search to a narrow and fine search in a plurality of steps and in a stepwise manner to detect a motion vector of each block in an input image,
wherein the motion vector detecting step includes:
generating a combination block, depending on a result of detection in a search step;
extracting a search use pixel to be used in a next search step, from the combination block; and
performing the next search step with respect to the combination block using the search use pixel, and setting a detected motion vector of the combination block as the motion vector of each block of the combination block.

### Claim 10

An image recording apparatus comprising:
a moving image encoding apparatus for sequentially encoding a plurality of moving image frames;
an image input unit for inputting a plurality of moving image frames to the moving image encoding apparatus; and
a media recording unit for recording a code sequence generated using a motion vector from the moving image encoding apparatus into a recording medium,
wherein the moving image encoding apparatus includes a motion vector detecting unit for executing from a wide and coarse search to a narrow and fine search in a plurality of steps and in a stepwise manner to detect a motion vector of each block in an input image, and
the motion vector detecting unit includes:
a block combining unit for generating a combination block, depending on a result of detection in a search step;
a search use pixel extracting unit for extracting a search use pixel to be used in a next search step, from the combination block; and
a combination block searching unit for performing the next search step with respect to the combination block using the search use pixel, and setting a detected motion vector of the combination block as the motion vector of each block of the combination block.

### Claim 11 (depends on 10)

The image recording apparatus of claim 10, wherein
the moving image encoding apparatus further includes a mode parameter setting unit for receiving at least any of an image size of a moving image frame and an operation mode for changing an encoding process time, and based on the at least any of the image size of the moving image frame and the operation mode for changing the encoding process time, setting an approximation threshold, an effective evaluation value range, a distance threshold, the number of combination determination vectors, and a reset threshold, and
the image recording apparatus further includes at least any of an image size setting unit for setting the image size or an operation mode setting unit for setting the operation mode.

### Claim 12

An image recording apparatus comprising:
a moving image encoding apparatus for sequentially encoding a plurality of moving image frames;
an image input unit for inputting a plurality of moving image frames to the moving image encoding apparatus; and
a media recording unit for recording a code sequence generated using a motion vector from the moving image encoding apparatus into a recording medium,
wherein the moving image encoding apparatus sets the same motion vector for regions that are determined by a coarse-accuracy search to have the same motion.

### Claim 13 (depends on 12)

The image recording apparatus of claim 12, wherein
the moving image encoding apparatus has a function of receiving at least any of an image size of a moving image frame and an operation mode for changing an encoding process time, and in the case of an operation mode in which the image size is large or the encoding process time is small, setting the same motion vector, and
the image recording apparatus further includes at least any of an image size setting unit for designating the image size and an operation mode setting unit for designating the operation mode.
