JPH1198508A - Method for detecting motion vector - Google Patents

Method for detecting motion vector

Info

Publication number
JPH1198508A
JPH1198508A JP25980097A JP25980097A JPH1198508A JP H1198508 A JPH1198508 A JP H1198508A JP 25980097 A JP25980097 A JP 25980097A JP 25980097 A JP25980097 A JP 25980097A JP H1198508 A JPH1198508 A JP H1198508A
Authority
JP
Japan
Prior art keywords
motion vector
field
screen
detecting
prediction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP25980097A
Other languages
Japanese (ja)
Inventor
Yoshiharu Kamiya
義治 上谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP25980097A priority Critical patent/JPH1198508A/en
Publication of JPH1198508A publication Critical patent/JPH1198508A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/004Predictors, e.g. intraframe, interframe coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve encoding efficiency by means of dual prime prediction and field prediction by permitting referring picture elements required for searching the reference motion vector of dual prime prediction and a frame movement vector to be common. SOLUTION: A motion compensating means 140 interpolates the picture elements at every field screen so as to generate then reference movement vector detecting referring picture elements of dual prime prediction through the use of the referring picture elements which are read, based on reference vectors for searching the reference motion vector of dual prime prediction and the frame motion vector with respect to an encoding object block supplied from a motion vector candidate detecting means 130. Then, the reference motion vector of a 1/2 picture element unit in dual prime prediction is detected. Besides, the referring picture elements for detecting the frame motion vector are generated after picture element interpolation as the frame screen and the frame motion vector of the 1/2 picture element unit is detected. The access speed of a referring screen memory is reduced and the reference motion vector is detected with high precision.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、動画像信号の記録
・通信・伝送および放送等に用いられる動画像符号化装
置に係り、特に符号化対象画面の部分領域が参照画面の
どの位置から動いてきたものかを表す動きベクトルを検
出する動きベクトル検出方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving picture coding apparatus used for recording, communication, transmission and broadcasting of a moving picture signal, and more particularly to a partial area of a screen to be coded from which position on a reference screen. The present invention relates to a motion vector detection method for detecting a motion vector indicating whether a motion vector has come.

【0002】[0002]

【従来の技術】従来、デュアルプライム予測の動きベク
トル検出では、1画素単位以上の間隔で行う1次動きベ
クトル探索において、フレーム動きベクトルとトップ・
フィールド動きベクトルとボトム・フィールド動きベク
トルを検出し、1/2画素単位の間隔で行う2次動きベ
クトル探索において、各動きベクトルについて再探索を
行い、さらにそれらの再探索により得られた3つの動き
ベクトルの中から誤差が最小となる動きベクトルに基づ
いて、デュアルプライム予測の微小動きベクトルdmv
を検出し、フレーム動きベクトルによる予測と2つのフ
ィールド動きベクトルによる予測とデュアルプライム予
測の3種類から予測誤差が最小になる予測方法を選択し
ていた(特開平09- 65340号参照)。
2. Description of the Related Art Conventionally, in motion vector detection in dual prime prediction, a frame motion vector and a top motion vector are searched in a primary motion vector search performed at intervals of one pixel or more.
In a secondary motion vector search performed by detecting a field motion vector and a bottom field motion vector at an interval of 1/2 pixel, re-search is performed for each motion vector, and three motions obtained by the re-search are further performed. Based on the motion vector that minimizes the error among the vectors, the minute motion vector dmv of the dual prime prediction
And a prediction method that minimizes a prediction error is selected from three types of prediction, that is, prediction using a frame motion vector, prediction using two field motion vectors, and dual prime prediction (see JP-A-09-65340).

【0003】しかし、この1次動きベクトル探索でのボ
トム・フィールド動きベクトルの検出において、時間的
な画面間距離の遠くなる参照画面のトップ・フィールド
から符号化画面のボトム・フィールドに対する動きベク
トルが検出され難くするか検出されない様にしていたた
めに、ボトム・フィールドに対する動きベクトルが最適
化されず、この制限が無ければ最適なフィールド予測に
より符号化効率が向上する場合も、次善の予測方法を利
用することになり符号化効率が低下すると言う問題があ
った。
However, in the detection of the bottom field motion vector in the primary motion vector search, the motion vector for the bottom field of the coded picture is detected from the top field of the reference picture whose temporal inter-picture distance is long. The motion vector for the bottom field is not optimized because it is hard to detect or it is not detected. Even if the coding efficiency is improved by the optimal field prediction without this restriction, the suboptimal prediction method is used. Therefore, there is a problem that the coding efficiency is reduced.

【0004】また、デュアルプライム予測の基準動きベ
クトルを、1/2画素精度のフレーム動きベクトルまた
はフィールド動きベクトルで代用するために、デュアル
プライム予測の利用効率があまり向上しないと言う問題
があった。
[0004] Further, since the reference motion vector of the dual prime prediction is substituted by a frame motion vector or a field motion vector of 1/2 pixel precision, there is a problem that the utilization efficiency of the dual prime prediction is not so much improved.

【0005】さらに、この2次動きベクトル探索では、
デュアルプライム予測に使用する基準動きベクトルがフ
ィールド動きベクトルの場合、基準動きベクトルに対す
る他方のフィールドに対する参照領域が不足するため、
フレーム予測用参照領域(18画素×18画素)とフィ
ールド予測用参照領域(18画素×10画素×2)とデ
ュアルプライム予測の微小動きベクトルdmv検出用参
照領域(18画素×10画素×2)に加え、デュアルプ
ライム予測の基準ベクトル検出用に不足する参照領域
(18画素×10画素)が必要になり、参照画面メモリ
のアクセス速度が高速になると言う問題があった。
Further, in this secondary motion vector search,
If the reference motion vector used for dual prime prediction is a field motion vector, the reference field for the other field for the reference motion vector is insufficient, so that
The reference region for frame prediction (18 pixels × 18 pixels), the reference region for field prediction (18 pixels × 10 pixels × 2), and the reference region for small motion vector dmv detection of dual prime prediction (18 pixels × 10 pixels × 2). In addition, there is a problem that a reference area (18 pixels × 10 pixels) that is insufficient for detecting a reference vector in dual prime prediction is required, and the access speed of the reference screen memory is increased.

【0006】[0006]

【発明が解決しようとする課題】上述したように、従来
ではデュアルプライム予測の利用効率を向上させるため
に、フィールド動きベクトル検出の参照画面を制限して
いたので、フィールド予測の利用効率が低下すると言う
問題点があった。
As described above, in order to improve the utilization efficiency of the dual prime prediction, the reference screen for the field motion vector detection has been limited in the past. There was a problem to say.

【0007】また、デュアルプライム予測の基準動きベ
クトルが、フィールド動きベクトルの場合、デュアルプ
ライム予測の微小動きベクトルdmv検出のために、参
照画面メモリのアクセスを高速にしなければならないと
言う問題点があった。
Further, when the reference motion vector of the dual prime prediction is a field motion vector, there is a problem that the access to the reference screen memory must be performed at high speed in order to detect the minute motion vector dmv of the dual prime prediction. Was.

【0008】さらに、デュアルプライム予測の基準動き
ベクトルを、1/2画素精度のフレーム動きベクトルま
たはフィールド動きベクトルで代用するために、デュア
ルプライム予測の利用効率があまり向上しないと言う問
題点があった。
Furthermore, since the reference motion vector of the dual prime prediction is substituted by a frame motion vector or a field motion vector with half-pixel accuracy, there is a problem that the utilization efficiency of the dual prime prediction is not so much improved. .

【0009】本発明の目的は、1次動きベクトル探索で
のフィールド動きベクトル検出における参照画面の制限
を無くし、デュアルプライム予測およびフィールド予測
による符号化効率を向上させることにある。
[0009] It is an object of the present invention to eliminate the restriction on the reference screen in the field motion vector detection in the primary motion vector search and to improve the coding efficiency by dual prime prediction and field prediction.

【0010】また、デュアルプライム予測の基準動きベ
クトルの参照領域をフレーム予測用参照領域またはデュ
アルプライム予測の微小動きベクトルdmv検出用参照
領域と重複させることにより、参照画面メモリのアクセ
ス速度の低減を図ることにある。さらに、本発明の目的
は、デュアルプライム基準動きベクトルを高精度に検出
することにある。
The access speed of the reference screen memory is reduced by overlapping the reference region of the reference motion vector for dual prime prediction with the reference region for frame prediction or the reference region for detecting a minute motion vector dmv for dual prime prediction. It is in. Another object of the present invention is to detect a dual prime reference motion vector with high accuracy.

【0011】[0011]

【課題を解決するための手段】本発明は、入力画像を符
号化するため、過去に符号化された画像の部分画像から
前記入力画像に対する参照画像を生成するための動きベ
クトルを検出する動きベクトル検出方法において、所定
の画素単位以上の間隔で動きベクトルを探索する第1の
動きベクトル検出ステップと、その第1の動きベクトル
検出ステップで検出された参照画面をなす奇数フィール
ドから前記入力画面の部分領域をなす奇数フィールドに
対する動きベクトルと参照画面をなす偶数フィールドか
ら前記入力画面の部分領域をなす偶数フィールドに対す
る動きベクトルの少なくとも一方の動きベクトルを基準
にして、1/2画素単位でフレーム間予測符号化方法に
用いる動きベクトルとデュアルプライム予測符号化方法
を行なう際に基準となる動きベクトルの探索を行う第2
の動きベクトル検出ステップを含むことを特徴とする。
SUMMARY OF THE INVENTION According to the present invention, there is provided a motion vector detecting system for detecting a motion vector for generating a reference image for an input image from a partial image of a previously encoded image. In the detection method, a first motion vector detection step of searching for a motion vector at intervals of a predetermined pixel unit or more, and a portion of the input screen from an odd field forming a reference screen detected in the first motion vector detection step On the basis of at least one of a motion vector for an odd field forming an area and a motion vector for an even field forming a partial area of the input screen from an even field forming a reference screen, an inter-frame prediction code in units of 1/2 pixel. Motion vector used in the encoding method and the reference when performing the dual prime prediction encoding method The second of searching the motion vector of
Characterized by a motion vector detecting step.

【0012】また本発明は上述の目的を達成するため、
1画素単位以上の間隔で動きベクトルを探索する第1の
動きベクトル検出ステップと、第1の動きベクトル検出
ステップで得られた動きベクトルに基づいてフレーム予
測とフィールド予測とデュアルプライム予測の動きベク
トルを1/2画素単位で再探索する第2の動きベクトル
検出ステップにより、参照画面である前符号化画面から
現符号化画面の部分領域に対する最適な動きベクトルを
検出する動きベクトル検出方法において、第1の動きベ
クトル検出ステップで得られた同位相の参照フィールド
からのフィールド動きベクトルを基準として、デュアル
プライム予測の基準動きベクトルとフレーム動きベクト
ルを1/2画素単位で探索する。これにより、デュアル
プライム予測の基準動きベクトルとフレーム動きベクト
ルの探索に必要な参照画素の共通化をはかり、参照画面
メモリのアクセス速度を低減し、デュアルプライム予測
の基準動きベクトルを高精度に検出する。
[0012] In order to achieve the above object, the present invention provides
A first motion vector detection step of searching for a motion vector at intervals of one pixel or more, and a motion vector for frame prediction, field prediction and dual prime prediction based on the motion vector obtained in the first motion vector detection step. In the motion vector detecting method for detecting an optimal motion vector for a partial area of a current coded screen from a previous coded screen as a reference screen by a second motion vector detecting step of re-searching in units of 1 / pixel, The reference motion vector and the frame motion vector for the dual prime prediction are searched for in units of 1/2 pixel with reference to the field motion vector from the in-phase reference field obtained in the motion vector detection step. As a result, the reference pixels required for searching for the reference motion vector and the frame motion vector for dual prime prediction are shared, the access speed of the reference screen memory is reduced, and the reference motion vector for dual prime prediction is detected with high accuracy. .

【0013】また本発明は上述の目的を達成するため、
第1の動きベクトル検出ステップで得られた同位相の参
照フィールドからのフィールド動きベクトルの内で少な
くとも一方が所定値以下の場合に、第1の動きベクトル
検出ステップで、その動きベクトルを基準としてデュア
ルプライム予測の基準動きベクトルを1/2画素精度で
探索し、その結果得られた1/2画素精度の基準動きベ
クトルに基づいて、デュアルプライム予測の微小動きベ
クトルdmvを1/2画素単位で探索する。これによ
り、デュアルプライム予測の基準動きベクトルとその微
小動きベクトルdmvの探索に必要な参照画素の共通範
囲を確保して、参照画面メモリのアクセス速度を低減
し、デュアルプライム予測の各動きベクトルを高精度に
検出する。
[0013] In order to achieve the above object, the present invention provides
If at least one of the field motion vectors from the in-phase reference field obtained in the first motion vector detection step is equal to or less than a predetermined value, the first motion vector detection step uses a dual Search for a reference motion vector for prime prediction with half-pixel accuracy, and search for a minute motion vector dmv for dual prime prediction in half-pixel units based on the resulting reference motion vector with half-pixel accuracy. I do. As a result, the common range of the reference pixel necessary for searching for the reference motion vector of the dual prime prediction and its minute motion vector dmv is secured, the access speed of the reference screen memory is reduced, and each motion vector of the dual prime prediction is increased. Detect with accuracy.

【0014】また本発明は上述の目的を達成するため、
第1の動きベクトル検出ステップで得られた同位相の参
照フィールドからのフィールド動きベクトルの両方が所
定値以上の場合に、第2の動きベクトル検出ステップで
のデュアルプライム予測の各動きベクトルの探索を禁止
することにより、参照画面メモリのアクセス速度を低減
する。
The present invention also achieves the above-mentioned object.
When both of the field motion vectors from the in-phase reference field obtained in the first motion vector detection step are equal to or larger than a predetermined value, the search for each motion vector of the dual prime prediction in the second motion vector detection step is performed. By prohibiting, the access speed of the reference screen memory is reduced.

【0015】また本発明は上述の目的を達成するため、
第1の動きベクトル検出ステップで得られた同位相の参
照フィールドからのフィールド動きベクトルの両方が所
定値以上の場合に、第2の動きベクトル検出ステップで
のデュアルプライム予測の各動きベクトルの探索を禁止
し、第2の動きベクトル検出ステップでのフレーム予測
の動きベクトルの探索点数を増加させることにより、参
照画面メモリのアクセス速度の許容範囲で、高精度なフ
レーム動きベクトルを検出し、フレーム予測での符号化
効率を向上させる。
[0015] In order to achieve the above object, the present invention provides
When both of the field motion vectors from the in-phase reference field obtained in the first motion vector detection step are equal to or larger than a predetermined value, the search for each motion vector of the dual prime prediction in the second motion vector detection step is performed. By prohibiting and increasing the number of search points of the motion vector of the frame prediction in the second motion vector detection step, a highly accurate frame motion vector is detected within the allowable range of the access speed of the reference screen memory. To improve the coding efficiency.

【0016】また本発明は、第1の動きベクトル検出ス
テップにおいて、動きベクトル検出対象ブロックの各フ
ィールドに対するフィールト動きベクトル候補を検出す
るとき、同位相の参照フィールドからのフィールド動き
ベクトル候補の探索を、逆位相の参照フィールドからの
フィールド動きベクトル候補の探索の前に行う。これに
より、第2の動きベクトル検出ステップにおいてデュア
ルプライム予測の基準動きベクトルの探索に使用する同
位相のフィールド動きベクトル候補の検出を、各フィー
ルド動きベクトル候補の検出の途中結果として得られ、
デュアルプライム予測の基準動きベクトル候補専用の検
出ステップを不要にする。
According to the present invention, in the first motion vector detection step, when a field motion vector candidate for each field of the motion vector detection target block is detected, a search for a field motion vector candidate from in-phase reference fields is performed. This is performed before searching for a field motion vector candidate from a reference field having an opposite phase. Thereby, in the second motion vector detection step, detection of in-phase field motion vector candidates used for searching for a reference motion vector for dual prime prediction is obtained as an intermediate result of detection of each field motion vector candidate,
Eliminates the need for a dedicated detection step for reference motion vector candidates in dual prime prediction.

【0017】[0017]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態を説明する。本発明の第1の実施の形態に係る
動きベクトル検出方法の流れ図を図1に示す。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a flowchart of the motion vector detection method according to the first embodiment of the present invention.

【0018】先ず、処理ステップ1は、1画素単位以上
の間隔で動きベクトルを探索する第1の動きベクトル検
出ステップであり、参照画面のトップ・フィールドから
符号化ブロックのトップ・フィールドに対するフィール
ド動きベクトル候補を検出する処理ステップ11と、参
照画面のトップ・フィールドおよびボトム・フィールド
から符号化ブロックのトップ・フィールドに対する動き
ベクトル候補を検出する処理ステップ12と、参照画面
のボトム・フィールドから符号化ブロックのボトム・フ
ィールドに対するフィールド動きベクトル候補を検出す
る処理ステップ13と、参照画面のボトム・フィールド
およびトップ・フィールドから符号化ブロックのボトム
・フィールドに対する動きベクトル候補を検出する処理
ステップ14により構成されている。
First, processing step 1 is a first motion vector detection step of searching for a motion vector at intervals of one pixel or more, and comprises a field motion vector from the top field of the reference screen to the top field of the coding block. Processing step 11 for detecting a candidate, processing step 12 for detecting a motion vector candidate for the top field of the coded block from the top field and the bottom field of the reference screen, and processing of the coded block from the bottom field of the reference screen. A processing step 13 for detecting a field motion vector candidate for the bottom field and a processing step 14 for detecting a motion vector candidate for the bottom field of the coding block from the bottom field and the top field of the reference screen. It is configured.

【0019】処理ステップ11は、参照画面のトップ・
フィールドと符号化ブロックのトップ・フィールドの差
の絶対値和(マッチング誤差)を順次計算し、そのマッ
チング誤差が最小になる位置を、符号化ブロックのトッ
プ・フィールドに対する同位相の参照フィールドからの
フィールド動きベクトル候補として検出する。
The processing step 11 is performed at the top of the reference screen.
The sum of the absolute value of the difference between the field and the top field of the coding block (matching error) is sequentially calculated, and the position where the matching error is minimized is determined by the field from the in-phase reference field with respect to the top field of the coding block. It is detected as a motion vector candidate.

【0020】処理ステップ12は、参照画面のボトム・
フィールドと符号化ブロックのトップ・フィールドのマ
ッチング誤差を順次計算し、処理ステップ11で検出さ
れたマッチング誤差を初期値としてマッチング誤差が最
小になる位置を、符号化ブロックのトップ・フィールド
に対するフィールド動きベクトル候補として検出する。
即ち、処理ステップ12では、処理ステップ11で検出
されたマッチング誤差より小さくなる位置が参照画面の
ボトム・フィールドに存在しない場合は、処理ステップ
11で検出された参照画面のトップ・フィールドからの
フィールド動きベクトル候補が検出され、処理ステップ
11で検出されたマッチング誤差より小さくなる位置が
参照画面のボトム・フィールドに存在する場合は、参照
画面のボトム・フィールドからのフィールド動きベクト
ル候補が検出される。
The processing step 12 is a step of
The matching error between the field and the top field of the coding block is sequentially calculated, and the position where the matching error is minimized using the matching error detected in the processing step 11 as an initial value is determined by the field motion vector for the top field of the coding block. Detect as a candidate.
That is, in the processing step 12, when the position smaller than the matching error detected in the processing step 11 does not exist in the bottom field of the reference screen, the field motion from the top field of the reference screen detected in the processing step 11 If a vector candidate is detected and a position smaller than the matching error detected in processing step 11 is present in the bottom field of the reference screen, a field motion vector candidate from the bottom field of the reference screen is detected.

【0021】処理ステップ13は、参照画面のボトム・
フィールドと符号化ブロックのボトム・フィールドのマ
ッチング誤差を順次計算し、そのマッチング誤差が最小
になる位置を、符号化ブロックのボトム・フィールドに
対する同位相の参照フィールドからのフィールド動きベ
クトル候補として検出する。
The processing step 13 is performed at the bottom of the reference screen.
The matching error between the field and the bottom field of the coding block is sequentially calculated, and the position where the matching error is minimized is detected as a field motion vector candidate from the in-phase reference field with respect to the bottom field of the coding block.

【0022】処理ステップ14は、参照画面のトップ・
フィールドと符号化ブロックのボトム・フィールドのマ
ッチング誤差を順次計算し、処理ステップ13で検出さ
れたマッチング誤差を初期値としてマッチング誤差が最
小になる位置を、符号化ブロックのボトム・フィールド
に対するフィールド動きベクトル候補として検出する。
即ち、処理ステップ14では、処理ステップ13で検出
されたマッチング誤差より小さくなる位置が参照画面の
トップ・フィールドに存在しない場合は、処理ステップ
13で検出された参照画面のボトム・フィールドからの
フィールド動きベクトル候補が検出され、処理ステップ
13で検出されたマッチング誤差より小さくなる位置が
参照画面のトップ・フィールドに存在する場合は、参照
画面のトップ・フィールドからのフィールド動きベクト
ル候補が検出される。
The processing step 14 is performed at the top of the reference screen.
The matching error between the field and the bottom field of the coding block is sequentially calculated, and the position where the matching error is minimized using the matching error detected in the processing step 13 as an initial value is determined by the field motion vector for the bottom field of the coding block. Detect as a candidate.
That is, in the processing step 14, when the position smaller than the matching error detected in the processing step 13 does not exist in the top field of the reference screen, the field motion from the bottom field of the reference screen detected in the processing step 13 If a vector candidate is detected and a position smaller than the matching error detected in the processing step 13 exists in the top field of the reference screen, a field motion vector candidate from the top field of the reference screen is detected.

【0023】処理ステップ2aは、処理ステップ11お
よび13で検出された同位相の参照フィールドからのフ
ィールド動きベクトル候補の内でマッチング誤差の小さ
な方を、デュアルプライム予測の基準動きベクトルおよ
びフレーム動きベクトルの1/2画素単位の探索基準点
に使用する動きベクトル候補として決定する。
In the processing step 2a, the smaller one of the candidate field motion vectors from the in-phase reference fields detected in the processing steps 11 and 13 is used to determine the smaller one of the matching errors between the reference motion vector and the frame motion vector of the dual prime prediction. It is determined as a motion vector candidate to be used for a search reference point in units of 1/2 pixel.

【0024】処理ステップ3aは、処理ステップ1で検
出された動きベクトル候補に基づいて、1/2画素単位
の間隔で動きベクトルを探索する第2の動きベクトル検
出ステップであり、デュアルプライム予測の基準動きベ
クトルを検出する処理ステップ31と、フレーム動きベ
クトルを検出する処理ステップ32と、フィールド動き
ベクトルを検出する処理ステップ33と、デュアルプラ
イム予測の微小動きベクトルdmvを検出する処理ステ
ップ34により構成されている。
The processing step 3a is a second motion vector detection step of searching for a motion vector at intervals of 1/2 pixel based on the motion vector candidates detected in the processing step 1. It comprises a processing step 31 for detecting a motion vector, a processing step 32 for detecting a frame motion vector, a processing step 33 for detecting a field motion vector, and a processing step 34 for detecting a minute motion vector dmv for dual prime prediction. I have.

【0025】処理ステップ31では、処理ステップ2a
で決定された動きベクトル候補に基づいて、参照画面を
フィールド毎に画素補間した参照領域を作成し、符号化
ブロックの各フィールドと同位相のフィールドの参照領
域とのマッチング誤差を順次計算し、そのマッチング誤
差が最小になる位置をデュアルプライム予測の1/2画
素精度の基準動きベクトルとして検出する。
In processing step 31, processing step 2a
Based on the motion vector candidates determined in the above, to create a reference region pixel-interpolated reference screen for each field, sequentially calculate the matching error between each field of the encoding block and the reference region of the in-phase field, The position at which the matching error is minimized is detected as a reference motion vector with half-pixel accuracy of dual prime prediction.

【0026】処理ステップ32では、処理ステップ2a
で決定された動きベクトル候補に基づいて、参照画面を
1つの画面として画素補間した参照領域を作成し、符号
化ブロックとその参照領域とのマッチング誤差(フレー
ム予測誤差)を順次計算し、フレーム予測誤差が最小に
なる位置を1/2画素精度のフレーム動きベクトルとし
て検出する。
In processing step 32, processing step 2a
Based on the motion vector candidates determined in step (1), a reference area is created by interpolating pixels with the reference screen as one screen, and a matching error (frame prediction error) between the coding block and the reference area is sequentially calculated. The position where the error is minimized is detected as a frame motion vector with half-pixel accuracy.

【0027】処理ステップ33では、処理ステップ12
および14で検出された各フィールド動きベクトル候補
に基づいて、参照フィールド毎に画素補間した参照領域
を作成し、符号化ブロックの各フィールドと各参照領域
とのマッチング誤差を別々に順次計算し、符号化ブロッ
クの各フィールドに対するマッチング誤差(フィールド
予測誤差)が最小になる位置を、符号化ブロックの各フ
ィールドに対する1/2画素精度のフィールド動きベク
トルとして検出する。
In processing step 33, processing step 12
Based on each of the field motion vector candidates detected in steps 14 and 14, a pixel-interpolated reference area is created for each reference field, and the matching error between each field of the coding block and each reference area is calculated separately and sequentially. The position where the matching error (field prediction error) for each field of the encoded block is minimized is detected as a 1/2 pixel-accurate field motion vector for each field of the encoded block.

【0028】処理ステップ34では、処理ステップ31
で検出したデュアルプライム予測の1/2画素精度の基
準動きベクトルをスケーリングした動きベクトル(スケ
ーリング動きベクトル)に基づいて、符号化ブロックの
各フィールドに対して逆位相の参照フィールドの参照領
域を決定し、各参照フィールド毎に画素補間したdmv
検出用参照領域を作成する。さらに、各画素値を2倍し
た符号化ブロックから処理ステップ31で決定した参照
ブロックの各画素値を減算した差分ブロックを作成し、
この差分ブロックからdmv検出用参照領域の各画素値
を減算して1/2倍した値の絶対値和(デュアルプライ
ム予測誤差)を順次計算し、デュアルプライム予測誤差
が最小になる参照領域の位置を示す動きベクトルとスケ
ーリング動きベクトルとの差を、デュアルプライム予測
の微小動きベクトルdmvとして検出する。
In processing step 34, processing step 31
Based on the motion vector (scaling motion vector) obtained by scaling the reference motion vector of 1/2 pixel precision of the dual prime prediction detected in the above, the reference region of the reference field of the opposite phase is determined for each field of the coding block. , Dmv with pixel interpolation for each reference field
Create a reference area for detection. Further, a difference block is created by subtracting each pixel value of the reference block determined in the processing step 31 from the encoded block in which each pixel value is doubled,
The absolute value sum (dual prime prediction error) of the value obtained by subtracting each pixel value of the reference area for dmv detection from this difference block and halving the value is sequentially calculated, and the position of the reference area where the dual prime prediction error is minimized Is detected as a small motion vector dmv for dual prime prediction.

【0029】処理ステップ4aは、符号化ブロックに対
して最適な予測方法を決定する処理ステップであり、処
理ステップ3aで検出したフレーム動きベクトルを使用
した時のフレーム予測誤差、2つのフィールド動きベク
トルを使用した時のフィールド予測誤差の和、デュアル
プライム予測の基準動きベクトルおよび微小動きベクト
ルdmvを使用した時のデュアルプライム予測誤差、さ
らに予測信号を0とした時の予測誤差を比較し、最小の
予測誤差となる予測方法を検出し、符号化に使用する予
測方法と動きベクトルを決定する。
The processing step 4a is a processing step for determining an optimal prediction method for the coded block, and calculates a frame prediction error when using the frame motion vector detected in the processing step 3a and two field motion vectors. The sum of the field prediction error when used, the dual prime prediction error when using the reference motion vector and the small motion vector dmv for dual prime prediction, and the prediction error when the prediction signal is set to 0 are compared, and the minimum prediction is performed. An error prediction method is detected, and a prediction method and a motion vector used for encoding are determined.

【0030】この第1の実施の形態では、符号化ブロッ
クサイズが16画素×16画素の場合、フレーム予測用
参照画素(18画素×18画素)は、デュアルプライム
予測の基準ベクトル検出用に必要な参照画素(18画素
×10画素×2)に含まれるため、第2の動きベクトル
検出ステップでは、フィールド予測用参照画素(18画
素×10画素×2)とデュアルプライム予測の微小動き
ベクトルdmv検出用参照画素(18画素×10画素×
2)を加えても、符号化ブロック毎に必要な参照画面メ
モリのアクセスは、18画素×10画素×6となり、従
来の約6/7であるが、デュアルプライム予測の基準動
きベクトルも従来より正確に検出できる。
In the first embodiment, when the coding block size is 16 pixels × 16 pixels, the frame prediction reference pixels (18 pixels × 18 pixels) are necessary for detecting the reference vector in the dual prime prediction. Since it is included in the reference pixels (18 pixels × 10 pixels × 2), in the second motion vector detection step, the reference pixels for field prediction (18 pixels × 10 pixels × 2) and the minute motion vectors dmv for dual prime prediction are detected. Reference pixel (18 pixels x 10 pixels x
Even if 2) is added, the access of the reference screen memory required for each coding block is 18 pixels × 10 pixels × 6, which is about 6/7 of the conventional. However, the reference motion vector of the dual prime prediction is also more than the conventional. Can be detected accurately.

【0031】尚、この実施の形態では、フレーム動きベ
クトル候補として同位相のフィールド動きベクトル候補
を使用しているが、逆位相のフィールド動きベクトル候
補に基づくフレーム動きベクトル探索よりも予測誤差が
小さくなる場合が多いため、符号化効率に及ぼす影響が
少ない。
In this embodiment, in-phase field motion vector candidates are used as frame motion vector candidates, but the prediction error is smaller than in a frame motion vector search based on opposite-phase field motion vector candidates. In many cases, the effect on coding efficiency is small.

【0032】また第1の動きベクトル検出ステップにお
いて、動きベクトル検出対象ブロックの各フィールドに
対するフィールト動きベクトル候補を検出するとき、同
位相の参照フィールドからのフィールド動きベクトル候
補の探索を、逆位相の参照フィールドからのフィールド
動きベクトル候補の探索の前に行っており、第2の動き
ベクトル検出ステップにおいてデュアルプライム予測の
基準動きベクトルの探索に使用する同位相のフィールド
動きベクトル候補の検出を、各フィールド動きベクトル
候補の検出の途中結果として得られ、デュアルプライム
予測の基準動きベクトル候補専用の検出ステップを不要
にしている。
In the first motion vector detecting step, when detecting a field motion vector candidate for each field of the motion vector detection target block, the search for the field motion vector candidate from the in-phase reference field is performed by the opposite phase reference. In the second motion vector detection step, in-phase field motion vector candidates used for searching for a reference motion vector for dual prime prediction are detected before searching for a field motion vector candidate from a field. This is obtained as an intermediate result of detection of vector candidates, and eliminates the need for a detection step dedicated to reference motion vector candidates for dual prime prediction.

【0033】本発明の第2の実施の形態に係る第1の実
施例の動きベクトル検出方法の流れ図を図2に示す。先
ず、処理ステップ1は、1画素単位以上の間隔で動きベ
クトルを探索する第1の動きベクトル検出ステップであ
り、第1の実施の形態と同様の処理を行う。
FIG. 2 shows a flowchart of the motion vector detecting method of the first embodiment according to the second embodiment of the present invention. First, processing step 1 is a first motion vector detection step of searching for a motion vector at intervals of one pixel or more, and performs the same processing as in the first embodiment.

【0034】処理ステップ2bは、処理ステップ11お
よび13で検出された同位相の参照フィールドからのフ
ィールド動きベクトル候補の内でマッチング誤差の小さ
な方を、デュアルプライム予測の基準動きベクトルの1
/2画素単位の探索基準点に使用する動きベクトル候補
として決定する。また処理ステップ2bは、処理ステッ
プ12および14で検出されたフィールド動きベクトル
候補の内でマッチング誤差の小さな方を、フレーム動き
ベクトルの1/2画素単位の探索基準点に使用する動き
ベクトル候補として決定する。
In the processing step 2b, the smaller of the matching errors among the field motion vector candidates from the in-phase reference fields detected in the processing steps 11 and 13 is determined as one of the reference motion vectors of the dual prime prediction.
Determined as a motion vector candidate to be used as a search reference point in units of / 2 pixels. Further, the processing step 2b determines the smaller one of the field motion vector candidates detected in the processing steps 12 and 14 as a motion vector candidate to be used as a search reference point in units of 1/2 pixel of the frame motion vector. I do.

【0035】処理ステップ3bは、処理ステップ1で検
出された動きベクトル候補に基づいて、1/2画素単位
の間隔で動きベクトルを探索する第2の動きベクトル検
出ステップであり、デュアルプライム予測の1/2画素
精度の動きベクトルを探索するか探索しないかを決定す
る処理ステップ30と、デュアルプライム予測の基準動
きベクトルを検出する処理ステップ31と、フレーム動
きベクトルを検出する処理ステップ32および36と、
フィールド動きベクトルを検出する処理ステップ33お
よび37と、デュアルプライム予測の微小動きベクトル
dmvを検出する処理ステップ34により構成されてい
る。
The processing step 3b is a second motion vector detection step of searching for a motion vector at intervals of a half pixel based on the motion vector candidates detected in the processing step 1. A processing step 30 for determining whether or not to search for a motion vector with a / 2 pixel accuracy; a processing step 31 for detecting a reference motion vector for dual prime prediction; processing steps 32 and 36 for detecting a frame motion vector;
It comprises processing steps 33 and 37 for detecting a field motion vector, and processing step 34 for detecting a minute motion vector dmv for dual prime prediction.

【0036】処理ステップ30では、デュアルプライム
予測の基準動きベクトル候補の水平成分および垂直成分
の絶対値和の大きさが所定値(例えばフレーム画素単位
で20画素)以下かどうかを調べ、所定値以下の場合は
デュアルプライム予測の1/2画素精度の動きベクトル
を探索する処理ステップ31に進めて、所定値を超える
場合はデュアルプライム予測の1/2画素精度の動きベ
クトルを探索しない処理ステップ36に進める。
In processing step 30, it is checked whether or not the magnitude of the sum of the absolute values of the horizontal and vertical components of the reference motion vector candidate for dual prime prediction is equal to or smaller than a predetermined value (for example, 20 pixels per frame pixel). In the case of, the process proceeds to a processing step 31 for searching for a motion vector with a half-pixel accuracy of dual prime prediction. Proceed.

【0037】なお、処理ステップ31から37の処理内
容は、第1の実施の形態と同様であるので説明を省略す
る。処理ステップ4bは、符号化ブロックに対して最適
な予測方法を決定する処理ステップであり、処理ステッ
プ3bで検出したフレーム動きベクトルを使用した時の
フレーム予測誤差、2つのフィールド動きベクトルを使
用した時のフィールド予測誤差の和、デュアルプライム
予測の基準動きベクトルおよび微小動きベクトルdmv
を使用した時のデュアルプライム予測誤差(デュアルプ
ライム探索しなかった場合は除く)、さらに予測信号を
0とした時の予測誤差を比較し、最小の予測誤差となる
予測方法を検出し、符号化に使用する予測方法と動きベ
クトルを決定する。
Note that the processing contents of the processing steps 31 to 37 are the same as those of the first embodiment, so that the description will be omitted. Processing step 4b is a processing step for determining an optimal prediction method for the coded block, and includes a frame prediction error when using the frame motion vector detected in processing step 3b and a frame prediction error when using two field motion vectors. Of the field prediction error of the reference, the reference motion vector and the small motion vector dmv of the dual prime prediction
Is compared with the dual-prime prediction error when using (except when dual-prime search is not performed) and the prediction error when the prediction signal is set to 0, and the prediction method that minimizes the prediction error is detected. To determine the prediction method and the motion vector to be used.

【0038】この第2の実施の形態に係る第1の実施例
における第2の動きベクトル検出ステップでの符号化ブ
ロック毎に必要な参照画面メモリのアクセスは、デュア
ルプライム予測の効果の少ない動きの大きな符号化ブロ
ックで、フレーム予測用参照画素(18画素×18画
素)とフィールド予測用参照画素(18画素×10画素
×2)であり従来の約4/7であり、デュアルプライム
予測の効果のある符号化ブロックでも、デュアルプライ
ム予測の基準ベクトル検出用に必要な参照画素(18画
素×10画素×2)の約1/2がデュアルプライム予測
の微小動きベクトルdmv検出用参照画素(18画素×
10画素×2)に含まれ、フレーム予測用参照画素(1
8画素×18画素)の1/2がフィールド予測用参照画
素(18画素×10画素×2)に含まれるので、従来の
約6/7となり、デュアルプライム予測の基準動きベク
トルも従来より正確に検出できる。
In the first example according to the second embodiment, the access to the reference picture memory required for each coding block in the second motion vector detection step is performed for a motion having a small effect of dual prime prediction. This is a large coding block, which is a reference pixel for frame prediction (18 pixels × 18 pixels) and a reference pixel for field prediction (18 pixels × 10 pixels × 2), which is about 4/7 of the prior art. In a certain coding block, about の of the reference pixels (18 pixels × 10 pixels × 2) necessary for detecting the reference vector of the dual prime prediction are used as the reference pixels (18 pixels × 18) of the minute motion vector dmv detection of the dual prime prediction.
10 pixels × 2), and a frame prediction reference pixel (1
Since one half of (8 pixels × 18 pixels) is included in the field prediction reference pixels (18 pixels × 10 pixels × 2), it is about 6/7 of the conventional one, and the reference motion vector of the dual prime prediction is more accurate than the conventional one. Can be detected.

【0039】本発明の第2の実施の形態に係る第2の実
施例の動きベクトル検出方法の流れ図を図3に示す。先
ず、処理ステップ1は、1画素単位以上の間隔で動きベ
クトルを探索する第1の動きベクトル検出ステップであ
り、第2の実施の形態に係る第1の実施例と同様の処理
を行う。
FIG. 3 shows a flowchart of a motion vector detecting method according to a second embodiment of the present invention. First, processing step 1 is a first motion vector detection step of searching for a motion vector at intervals of one pixel or more, and performs the same processing as in the first example according to the second embodiment.

【0040】処理ステップ2cは、処理ステップ11お
よび13で検出された同位相の参照フィールドからのフ
ィールド動きベクトル候補の内でマッチング誤差の小さ
な方を、デュアルプライム予測の基準動きベクトルの1
/2画素単位の探索基準点に使用する動きベクトル候補
として決定する。
In processing step 2c, the smaller of the matching errors among the field motion vector candidates from the in-phase reference fields detected in processing steps 11 and 13, is determined as one of the reference motion vectors of the dual prime prediction.
Determined as a motion vector candidate to be used as a search reference point in units of / 2 pixels.

【0041】また処理ステップ2cは、処理ステップ1
2および14で検出されたフィールド動きベクトル候補
の内でマッチング誤差の小さな方をフレーム動きベクト
ルの1/2画素単位の探索基準点に使用する第1の動き
ベクトル候補として、他方をフレーム動きベクトルの1
/2画素単位の探索基準点に使用する第2の動きベクト
ル候補として決定する。
Processing step 2c is the same as processing step 1
Of the field motion vector candidates detected in 2 and 14, the one with the smaller matching error is used as a first motion vector candidate to be used as a search reference point in units of 1/2 pixel of the frame motion vector, and the other is used as the first frame motion vector candidate. 1
It is determined as a second motion vector candidate used for a search reference point in units of / 2 pixels.

【0042】処理ステップ3cは、処理ステップ1で検
出された動きベクトル候補に基づいて、1/2画素単位
の間隔で動きベクトルを探索する第2の動きベクトル検
出ステップであり、デュアルプライム予測の1/2画素
精度の動きベクトルを探索するか探索しないかを決定す
る処理ステップ30と、デュアルプライム予測の基準動
きベクトルを検出する処理ステップ31と、フレーム動
きベクトルを検出する処理ステップ32,35,36お
よび38と、フィールド動きベクトルを検出する処理ス
テップ33および37と、デュアルプライム予測の微小
動きベクトルdmvを検出する処理ステップ34により
構成されている。
The processing step 3c is a second motion vector detection step of searching for a motion vector at an interval of a half pixel based on the motion vector candidate detected in the processing step 1. Processing step 30 for determining whether or not to search for a motion vector with a / 2 pixel precision, processing step 31 for detecting a reference motion vector for dual prime prediction, and processing steps 32, 35, 36 for detecting a frame motion vector. And 38, processing steps 33 and 37 for detecting a field motion vector, and processing step 34 for detecting a minute motion vector dmv for dual prime prediction.

【0043】処理ステップ30では、デュアルプライム
予測の基準動きベクトル候補の水平成分および垂直成分
の絶対値和の大きさが所定値(例えばフレーム画素単位
で20画素)以下かどうかを調べ、所定値以下の場合は
デュアルプライム予測の1/2画素精度の動きベクトル
を探索する処理ステップ31に進めて、所定値を超える
場合はデュアルプライム予測の1/2画素精度の動きベ
クトルを探索しない処理ステップ35に進める。
In processing step 30, it is checked whether or not the sum of the absolute values of the horizontal and vertical components of the reference motion vector candidate for dual prime prediction is equal to or smaller than a predetermined value (for example, 20 pixels per frame pixel). In the case of, the process proceeds to a processing step 31 for searching for a motion vector with a half-pixel accuracy of dual prime prediction. Proceed.

【0044】なお、処理ステップ31,33,34およ
び37の処理内容は、第2の実施の形態に係る第1の実
施例と同様であるので説明を省略する。処理ステップ3
5では、処理ステップ2cで判断された第2のフレーム
動きベクトル候補に基づいて、第2の実施の形態に係る
第1の実施例の処理ステップ32と同様に1/2画素精
度のフレーム動きベクトル探索を行う。
Note that the processing contents of the processing steps 31, 33, 34 and 37 are the same as those of the first example according to the second embodiment, so that the description will be omitted. Processing step 3
In step 5, based on the second frame motion vector candidate determined in processing step 2c, a frame motion vector having half-pixel accuracy as in processing step 32 of the first example according to the second embodiment. Perform a search.

【0045】処理ステップ32および36では、処理ス
テップ2cで判断された第1のフレーム動きベクトル候
補に基づいて、第2の実施の形態に係る第1の実施例の
処理ステップ32と同様に1/2画素精度のフレーム動
きベクトル探索を行う。
In processing steps 32 and 36, based on the first frame motion vector candidate determined in processing step 2c, as in processing step 32 of the first example according to the second embodiment, 1 / A frame motion vector search with 2-pixel accuracy is performed.

【0046】処理ステップ38では、動きベクトル0に
基づいて、第2の実施の形態に係る第1の実施例の処理
ステップ32と同様に1/2画素精度のフレーム動きベ
クトル探索を行う。
In the processing step 38, based on the motion vector 0, a frame motion vector search with 1/2 pixel precision is performed as in the processing step 32 of the first example according to the second embodiment.

【0047】処理ステップ4cは、符号化ブロックに対
して最適な予測方法を決定する処理ステップであり、デ
ュアルプライム探索を行った場合は、処理ステップ3c
で検出したフレーム動きベクトルを使用した時のフレー
ム予測誤差、2つのフィールド動きベクトルを使用した
時のフィールド予測誤差の和、デュアルプライム予測の
基準動きベクトルおよび微小動きベクトルdmvを使用
した時のデュアルプライム予測誤差、さらに予測信号を
0とした時の予測誤差を比較し、最小の予測誤差となる
予測方法を検出し、符号化に使用する予測方法と動きベ
クトルを決定し、デュアルプライム探索を行わなかった
場合は、処理ステップ3cで検出した第1候補のフレー
ム動きベクトルを使用した時のフレーム予測誤差、第2
候補のフレーム動きベクトルを使用した時のフレーム予
測誤差、動きベクトル0近傍のフレーム動きベクトルを
使用した時のフレーム予測誤差、2つのフィールド動き
ベクトルを使用した時のフィールド予測誤差の和、さら
に予測信号を0とした時の予測誤差を比較し、最小の予
測誤差となる予測方法を検出し、符号化に使用する予測
方法と動きベクトルを決定する。
Processing step 4c is a processing step for determining an optimal prediction method for the coded block. If a dual prime search is performed, processing step 3c
Frame prediction error when using the frame motion vector detected in step 2, the sum of the field prediction errors when using two field motion vectors, the reference motion vector for dual prime prediction and the dual prime when using the small motion vector dmv The prediction error and the prediction error when the prediction signal is set to 0 are compared, the prediction method with the minimum prediction error is detected, the prediction method and the motion vector used for encoding are determined, and the dual prime search is not performed. The frame prediction error when the first candidate frame motion vector detected in the processing step 3c is used,
A frame prediction error when using a candidate frame motion vector, a frame prediction error when using a frame motion vector near the motion vector 0, a sum of field prediction errors when using two field motion vectors, and a prediction signal Are compared with each other, a prediction method that minimizes the prediction error is detected, and a prediction method and a motion vector used for encoding are determined.

【0048】この第2の実施の形態に係る第2の実施例
における第2の動きベクトル検出ステップでの符号化ブ
ロック毎に必要な参照画面メモリのアクセスは、デュア
ルプライム予測の効果の少ない動きの大きな符号化ブロ
ックで、第1候補および第2候補のフレーム予測用参照
画素(18画素×18画素)のそれぞれの1/2の画素
数がフィールド予測用参照画素(18画素×10画素×
2)に含まれ、動きベクトル0近傍のフレーム予測用参
照画素(18画素×18画素)を加えても、従来の約6
/7であり、デュアルプライム予測の代りに、符号化効
率の良いフレーム動きベクトルの検出を期待できる。
In the second example according to the second embodiment, the access to the reference picture memory required for each encoded block in the second motion vector detecting step is performed for a motion having a small effect of the dual prime prediction. In a large coding block, the number of half of each of the first and second candidate frame prediction reference pixels (18 pixels × 18 pixels) is changed to the field prediction reference pixels (18 pixels × 10 pixels ×
2), and adding a frame prediction reference pixel (18 pixels × 18 pixels) near the motion vector 0, the conventional
/ 7, which can be expected to detect a frame motion vector with good coding efficiency instead of the dual prime prediction.

【0049】図4は、本発明の実施形態に係る動きベク
トル検出方法を符号化装置に応用した実施例を示す図で
ある。符号化される画像が、図5に示すように、符号化
対象ブロックは水平方向に、符号化対象ブロック内画素
は垂直方向に、入力端子101から順次入力される。
FIG. 4 is a diagram showing an example in which the motion vector detecting method according to the embodiment of the present invention is applied to an encoding device. As shown in FIG. 5, an image to be encoded is sequentially input from the input terminal 101 in the encoding target block in the horizontal direction and in the encoding target block in the vertical direction.

【0050】[0050]

【数1】 (Equation 1)

【0051】内挿間引き手段110は、図6( a) に示
すように「入力画像の輝度信号」を水平方向に画素補間
して2つのフィールドを異なる位相で2画素間隔にサブ
サンプルして「一次探索用参照画面」を生成し、内部画
像メモリ120に記憶する。
As shown in FIG. 6A, the interpolation thinning-out means 110 interpolates the "luminance signal of the input image" in the horizontal direction and sub-samples the two fields at different phases at two-pixel intervals. A “primary search reference screen” is generated and stored in the internal image memory 120.

【0052】動きベクトル候補検出手段130は、前述
の第1の動きベクトル検出ステップに相当する処理を行
うものであり、入力端子101から入力される符号化対
象ブロックを水平方向に2画素間隔でサブサンプルした
2種類の探索対象ブロック(図6( b) および( c) )
を生成し、2種類の「探索対象ブロックの第1のフィー
ルドの信号」に対して、1画面前に入力された同一画面
位置周辺画素を参照領域として内部画像メモリ120か
ら読み出し、符号化対象ブロックの第1のフィールドに
対するフィールド動きベクトル候補を検出する。
The motion vector candidate detecting means 130 performs a process corresponding to the above-described first motion vector detecting step. The motion vector candidate detecting means 130 subdivides the encoding target block input from the input terminal 101 in the horizontal direction at an interval of two pixels. Two types of search target blocks sampled (Fig. 6 (b) and (c))
Is generated, and two types of “signals of the first field of the search target block” are read out from the internal image memory 120 using the peripheral pixels at the same screen position input one screen before as reference regions, and Of the field motion vector candidate for the first field of.

【0053】この第1のフィールド動きベクトル候補の
検出において、先ず2種類の探索対象ブロックの「第1
のフィールドの信号」に対する「1次探索用参照画面の
同位相フィールドの信号」とのマッチング誤差を評価
し、マッチング誤差が最小となるフィールド動きベクト
ル候補を検出し、符号化対象ブロックの第1のフィール
ドに対する同位相のフィールド動きベクトル候補とす
る。
In the detection of the first field motion vector candidate, first, two types of "first"
Is evaluated with respect to the "signal of the in-phase field of the primary search reference screen" with respect to the "signal of the field of the first search", and a field motion vector candidate with the minimum matching error is detected. In-phase field motion vector candidates for the field are assumed.

【0054】そのマッチング誤差とフィールド動きベク
トル候補を初期値として、さらに2種類の探索対象ブロ
ックの「第1のフィールドの信号」に対する「1次探索
用参照画面の逆位相フィールドの信号」とのマッチング
誤差を評価し、マッチング誤差が最小となるフィールド
動きベクトル候補を検出し、符号化対象ブロックの第1
のフィールドに対するフィールド動きベクトル候補とす
る。
Using the matching error and the field motion vector candidate as initial values, matching with the "signal of the opposite phase field of the reference screen for the primary search" for the "signal of the first field" of the two types of search target blocks. The error is evaluated, a field motion vector candidate with the minimum matching error is detected, and the first
Field motion vector candidates for the field of.

【0055】次に、動きベクトル候補検出手段130
は、「探索対象ブロックの一方のフィールドの信号」に
対するフィールド動きベクトル候補の検出結果に基づい
て、「探索対象ブロックの他方のフィールドの信号」に
対する参照領域を内部画像メモリ120から読み出し、
符号化対象ブロックの第2のフィールドに対するフィー
ルド動きベクトル候補を検出する。
Next, the motion vector candidate detecting means 130
Reads a reference area for the “signal of the other field of the search target block” from the internal image memory 120 based on the detection result of the field motion vector candidate for the “signal of one field of the search target block”,
A field motion vector candidate for the second field of the current block is detected.

【0056】この第2のフィールド動きベクトル候補の
検出において、先ず2種類の「探索対象ブロックの第1
のフィールドの信号」に対する「1次探索用参照画面の
同位相フィールドの信号」とのマッチング誤差を評価
し、マッチング誤差が最小となるフィールド動きベクト
ル候補を検出し、符号化対象ブロックの第2のフィール
ドに対する同位相のフィールド動きベクトル候補とす
る。
In the detection of the second field motion vector candidate, first, two types of “first motion vector
Of the field signal of the primary search reference screen with respect to the signal of the in-phase field of the primary search reference screen, a field motion vector candidate with the minimum matching error is detected, and the second In-phase field motion vector candidates for the field are assumed.

【0057】そのマッチング誤差とフィールド動きベク
トル候補を初期値として、さらに2種類の「探索対象ブ
ロックの第2のフィールドの信号」に対する「1次探索
用参照画面の逆位相フィールドの信号」とのマッチング
誤差を評価し、マッチング誤差が最小となるフィールド
動きベクトル候補を検出し、符号化対象ブロックの第2
のフィールドに対するフィールド動きベクトル候補とす
る。
Using the matching error and the field motion vector candidate as initial values, matching with two types of "signals of the second field of the block to be searched" and "signals of the opposite phase field of the reference screen for primary search" The error is evaluated, a field motion vector candidate with the minimum matching error is detected, and the second
Field motion vector candidates for the field of.

【0058】動き補償手段140は、動きベクトル候補
検出手段130で検出された2つの同位相のフィールド
動きベクトル候補の内からマッチング誤差の小さな方
を、デュアルプライム予測の基準動きベクトルおよびフ
レーム動きベクトルの探索の基準ベクトルとして選択
し、フィールド動きベクトル候補と共にアドレス発生手
段150に供給する。
The motion compensating means 140 determines which of the two in-phase field motion vector candidates detected by the motion vector candidate detecting means 130 has the smaller matching error the reference motion vector and the frame motion vector of the dual prime prediction. It is selected as a reference vector for the search and supplied to the address generating means 150 together with the field motion vector candidate.

【0059】アドレス発生手段150は、符号化対象ブ
ロックの各フィールドに対するフィールド動きベクトル
候補と、デュアルプライム予測の基準動きベクトルおよ
びフレーム動きベクトルの探索の基準ベクトルに基づい
て、外部メモリ160に記憶された局部再生画面の参照
画素を読み出し、バッファメモリ170を介して動き補
償手段140に供給する。
The address generation means 150 is stored in the external memory 160 based on the field motion vector candidates for each field of the block to be encoded, the reference motion vector for dual prime prediction, and the reference vector for frame motion vector search. The reference pixel of the local reproduction screen is read out and supplied to the motion compensation means 140 via the buffer memory 170.

【0060】動き補償手段140は、前述の第2の動き
ベクトル検出ステップに相当する処理を行うものであ
る。この動き補償手段140は、動きベクトル候補検出
手段130から供給される符号化対象ブロックに対し
て、デュアルプライム予測の基準動きベクトルおよびフ
レーム動きベクトルの探索の基準ベクトルに基づいて読
み出された参照画素を用いて、フィールド画面毎に画素
補間してデュアルプライム予測の基準動きベクトル検出
用参照画素を生成し、デュアルプライム予測の1/2画
素単位の基準動きベクトルを検出し、またフレーム画面
として画素補間してフレーム動きベクトル検出用参照画
素を生成し、1/2画素単位のフレーム動きベクトルを
検出する。
The motion compensating means 140 performs a process corresponding to the above-described second motion vector detecting step. The motion compensating unit 140 applies, to the encoding target block supplied from the motion vector candidate detecting unit 130, a reference pixel read based on a reference motion vector for dual prime prediction and a reference vector for searching for a frame motion vector. To generate a reference pixel for detecting a reference motion vector in dual prime prediction by performing pixel interpolation for each field screen, detect a reference motion vector in units of 1/2 pixel in dual prime prediction, and perform pixel interpolation as a frame screen. To generate a frame motion vector detection reference pixel, and detect a frame motion vector in units of 1/2 pixel.

【0061】さらに動き補償手段140は、フィールド
動きベクトル候補に基づいて読み出された参照画素か
ら、フィールド画面毎に画素補間した参照画素を生成
し、1/2画素単位のフィールド動きベクトルを検出
し、先に検出したデュアルプライム予測の1/2画素単
位の基準動きベクトルをアドレス発生手段150に供給
し、その動きベクトルに基づいて読み出される参照画素
から、フィールド画面毎に画素補間した参照画素を生成
し、デュアルプライム予測の微小動きベクトルdmvを
検出する。
Further, the motion compensating means 140 generates a reference pixel interpolated for each field screen from the reference pixels read based on the field motion vector candidates, and detects a 1/2 pixel unit field motion vector. Supplies the reference motion vector of the half-pixel unit of the previously detected dual prime prediction to the address generation unit 150, and generates a reference pixel interpolated for each field screen from the reference pixel read based on the motion vector. Then, a minute motion vector dmv of the dual prime prediction is detected.

【0062】さらに動き補償手段140は、前述のよう
にして検出された動きベクトルからマッチング誤差に基
づいて最適動きベクトルを検出して、最適動き補償モー
ドを決定し、最適動きベクトルおよび動き補償モードを
可変長符号化手段230に供給し、その動き補償モード
に対応する予測信号を生成し局部再生手段220に供給
するとともに、その予測信号と符号化対象ブロックの各
画素との差分(予測誤差データ)を生成し、離散コサイ
ン変換手段180に供給する。
Further, the motion compensating means 140 detects an optimal motion vector from the motion vectors detected as described above based on the matching error, determines an optimal motion compensation mode, and determines the optimal motion vector and the motion compensation mode. The prediction signal corresponding to the motion compensation mode is generated and supplied to the local playback unit 220, and the difference (prediction error data) between the prediction signal and each pixel of the encoding target block is supplied to the variable length coding unit 230. Is generated and supplied to the discrete cosine transform means 180.

【0063】離散コサイン変換手段180は、動き補償
手段140から供給される予測誤差データに対して、2
次元の離散コサイン変換処理を施し、DCT係数データ
を生成し、量子化手段190に供給する。
The discrete cosine transform means 180 calculates the prediction error data supplied from the motion compensation
The DCT coefficient data is generated by performing a dimensional discrete cosine transform process and supplied to the quantization unit 190.

【0064】量子化手段190は、離散コサイン変換手
段180から供給されるDCT係数データに対して、各
周波数成分に応じた量子化幅で除算処理する量子化処理
を行い、逆量子化手段200および可変長符号化手段2
30に供給する。
The quantization means 190 performs a quantization process for dividing the DCT coefficient data supplied from the discrete cosine transform means 180 by a quantization width corresponding to each frequency component. Variable length coding means 2
30.

【0065】可変長符号化手段230は、動き補償手段
140から供給される動き補償モードや動きベクトル
と、量子化手段190から供給されるDCT係数データ
を、可変長符号化して多重して、出力端子102から出
力する。
The variable length coding means 230 performs variable length coding on the motion compensation mode and the motion vector supplied from the motion compensation means 140 and the DCT coefficient data supplied from the quantization means 190, multiplexes them, and outputs Output from terminal 102.

【0066】逆量子化手段200は、量子化手段190
から供給されるDCT係数データに、各周波数成分に応
じた量子化幅を乗じて、元のダイナミックレンジのDC
T係数に戻し、元のダイナミックレンジに戻されたDC
T係数データを逆離散コサイン変換手段210に供給す
る逆離散コサイン変換手段210は、逆量子化手段20
0から供給されるDCT係数データに対して逆離散コサ
イン変換処理を施し、局部再生予測誤差データを生成す
る。
The inverse quantization means 200 includes a quantization means 190
Is multiplied by the quantization width according to each frequency component to obtain the DCT of the original dynamic range.
DC restored to T coefficient and restored to original dynamic range
The inverse discrete cosine transform unit 210 that supplies the T coefficient data to the inverse discrete cosine transform unit 210
DCT coefficient data supplied from 0 is subjected to inverse discrete cosine transform processing to generate local reproduction prediction error data.

【0067】局部再生手段220は、逆離散コサイン変
換手段210から供給される局部再生予測誤差データ
と、動き補償手段140から供給される予測画素データ
とを加算して、局部再生画像信号を生成し、外部メモリ
に一時記憶する(この時、参照されなくなった過去の参
照画面が記憶されていたアドレスに上書きされる)。
The local reproduction means 220 adds the local reproduction prediction error data supplied from the inverse discrete cosine transform means 210 and the prediction pixel data supplied from the motion compensation means 140 to generate a local reproduction image signal. And temporarily store it in the external memory (at this time, the past reference screen that is no longer referenced is overwritten on the stored address).

【0068】[0068]

【発明の効果】上述のように本発明によれば、フレーム
動きベクトル候補とデュアルプライム予測の基準動きベ
クトル候補の共通化、またはフレーム動きベクトル候補
とフィールド動きベクトル候補の共通化とデュアルプラ
イム予測の基準動きベクトル候補の大きさの制限によ
り、フレーム予測用参照画素とデュアルプライム予測の
基準ベクトル検出用に必要な参照画素の重複、またはフ
レーム予測用参照画素とフィールド予測用参照画素の重
複およびデュアルプライム予測の基準動きベクトル探索
用参照画素とデュアルプライム予測の微小動きベクトル
探索用参照画素の重複を持たせ、第2の動きベクトル検
出ステップで符号化ブロック毎に必要な参照画面メモリ
のアクセスを従来の約6/7にし、デュアルプライム予
測の基準動きベクトルも従来より正確に検出できる。
As described above, according to the present invention, the frame motion vector candidate and the reference motion vector candidate for dual prime prediction are shared, or the frame motion vector candidate and the field motion vector candidate are shared and dual prime prediction is performed. Due to the limitation of the size of the reference motion vector candidate, the overlap of the reference pixel for frame prediction and the reference pixel necessary for the detection of the reference vector for dual prime prediction, or the overlap of the reference pixel for frame prediction and the reference pixel for field prediction and dual prime The reference pixel for reference motion vector search for prediction and the reference pixel for micro motion vector search for dual prime prediction are overlapped, and the access of the reference screen memory required for each coding block in the second motion vector detection step is performed in a conventional manner. Approximately 6/7, the reference motion vector for dual prime prediction It can also be detected accurately than conventional.

【0069】また第1の動きベクトル検出ステップにお
いて、動きベクトル検出対象ブロックの各フィールドに
対するフィールト動きベクトル候補を検出するとき、同
位相の参照フィールドからのフィールド動きベクトル候
補の探索を、逆位相の参照フィールドからのフィールド
動きベクトル候補の探索の前に行っており、第2の動き
ベクトル検出ステップにおいてデュアルプライム予測の
基準動きベクトルの探索に使用する同位相のフィールド
動きベクトル候補の検出を、各フィールド動きベクトル
候補の検出の途中結果として得られ、デュアルプライム
予測の基準動きベクトル候補専用の検出ステップを不要
になる。
In the first motion vector detection step, when detecting a field motion vector candidate for each field of the motion vector detection target block, the search for the field motion vector candidate from the in-phase reference field is performed by the opposite phase reference. In the second motion vector detection step, in-phase field motion vector candidates used for searching for a reference motion vector for dual prime prediction are detected before searching for a field motion vector candidate from a field. This is obtained as an intermediate result of detection of vector candidates, and a detection step dedicated to reference motion vector candidates for dual prime prediction is not required.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施例の動きベクトル検出方法
の流れ図。
FIG. 1 is a flowchart of a motion vector detection method according to a first embodiment of the present invention.

【図2】本発明の第2の実施例の動きベクトル検出方法
の流れ図。
FIG. 2 is a flowchart of a motion vector detection method according to a second embodiment of the present invention.

【図3】本発明の第3の実施例の動きベクトル検出方法
の流れ図。
FIG. 3 is a flowchart of a motion vector detection method according to a third embodiment of the present invention.

【図4】動きベクトルの1/2画素精度の探索に関する
説明図。
FIG. 4 is an explanatory diagram relating to a search for 1/2 pixel accuracy of a motion vector.

【図5】画像の入力方法をに関する説明図FIG. 5 is an explanatory diagram relating to an image input method.

【図6】動きベクトルの探索方法の説明図FIG. 6 is an explanatory diagram of a search method for a motion vector.

【符号の説明】[Explanation of symbols]

1 … 第1の動きベクトル検出ステップ、 2a,2
b,2c … デュアルプライム予測の基準動きベクト
ル候補およびフレーム動きベクトル候補の選択ステッ
プ、 3a,3b,3c … 第2の動きベクトル検出
ステップ、 30… デュアルプライム予測の動きベク
トル探索可否決定ステップ、 4a,4b,4c …
予測方法および動きベクトル決定ステップ。
1... First motion vector detection step, 2a, 2
b, 2c: a step of selecting a reference motion vector candidate and a frame motion vector candidate for dual prime prediction; 3a, 3b, 3c: a second motion vector detection step; 30: a determination step of whether to search for a motion vector for dual prime prediction; 4b, 4c ...
Prediction method and motion vector determination step.

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】入力画像を符号化するため、過去に符号化
された画像の部分画像から前記入力画像に対する参照画
像を生成するための動きベクトルを検出する動きベクト
ル検出方法において、所定の画素単位以上の間隔で動き
ベクトルを探索する第1の動きベクトル検出ステップ
と、その第1の動きベクトル検出ステップで検出された
参照画面をなす第1フィールドから前記入力画面の部分
領域をなす第1フィールドに対する動きベクトルと参照
画面をなす第2フィールドから前記入力画面の部分領域
をなす第2フィールドに対する動きベクトルの少なくと
も一方の動きベクトルを基準にして、所定画素単位より
も小さい画素単位で少なくともフレーム間予測符号化方
法に用いる動きベクトル又はデュアルプライム予測符号
化方法を行なう際に基準となる動きベクトルの探索を行
う第2の動きベクトル検出ステップを含むことを特徴と
する動きベクトル検出方法。
1. A motion vector detecting method for detecting a motion vector for generating a reference image for an input image from a partial image of an image coded in the past, in order to encode the input image. A first motion vector detecting step of searching for a motion vector at the above interval, and a first field forming a partial area of the input screen from a first field forming a reference screen detected in the first motion vector detecting step. Based on at least one motion vector of a motion vector and a motion vector for a second field forming a partial area of the input screen from a second field forming a reference screen, at least an inter-frame prediction code in pixel units smaller than a predetermined pixel unit. Motion vector or dual prime predictive coding method Motion vector detecting method characterized by comprising a second motion vector detection step of searching a motion vector of a quasi.
【請求項2】入力画像を符号化するため、過去に符号化
された画像の部分画像から前記入力画像に対する参照画
像を生成するための動きベクトルを検出する動きベクト
ル検出方法において、所定の画素単位以上の間隔で動き
ベクトルを探索する第1の動きベクトル検出ステップ
と、その第1の動きベクトル検出ステップで検出された
参照画面をなす奇数フィールドから前記入力画面の部分
領域をなす奇数フィールドに対する動きベクトルと参照
画面をなす偶数フィールドから前記入力画面の部分領域
をなす偶数フィールドに対する動きベクトルの少なくと
も一方の動きベクトルを基準にして、1/2画素単位で
フレーム間予測符号化方法に用いる動きベクトルとデュ
アルプライム予測符号化方法を行なう際に基準となる動
きベクトルの探索を行う第2の動きベクトル検出ステッ
プを含むことを特徴とする動きベクトル検出方法。
2. A motion vector detecting method for detecting a motion vector for generating a reference image for an input image from a partial image of an image encoded in the past in order to encode the input image. A first motion vector detecting step of searching for a motion vector at the above intervals, and a motion vector for an odd field forming a partial area of the input screen from an odd field forming a reference screen detected in the first motion vector detecting step And a motion vector used in the inter-frame predictive encoding method in units of 1/2 pixel based on at least one of motion vectors for an even field forming a partial area of the input screen from an even field forming a reference screen. Search for the motion vector that is the reference when performing the prime prediction coding method. Cormorant motion vector detecting method characterized by comprising a second motion vector detection step.
【請求項3】1画素単位以上の間隔で動きベクトルを探
索する第1の動きベクトル検出ステップと、前記第1の
動きベクトル検出ステップで検出した動きベクトルに基
づいて1/2画素単位で動きベクトルの再探索を行う第
2の動きベクトル検出ステップにより、参照画面である
前符号化画面から現符号化画面の部分領域に対する動き
ベクトルを検出する動きベクトル検出方法において、前
記第2の動きベクトル検出ステップが、第1の動きベク
トル検出ステップで検出された参照画面のトップ・フィ
ールドから符号化画面の部分領域のトップ・フィールド
に対する動きベクトルと参照画面のボトム・フィールド
から符号化画面の部分領域のボトム・フィールドに対す
る動きベクトルの少なくとも一方の動きベクトルを基準
にして、フレーム予測の動きベクトルとデュアルプライ
ム予測の基準動きベクトルの探索を行うステップを含む
ことを特徴とする動きベクトル検出方法。
3. A first motion vector detecting step of searching for a motion vector at intervals of one pixel or more, and a motion vector in half pixel units based on the motion vector detected in the first motion vector detecting step. In the motion vector detecting method for detecting a motion vector for a partial region of the current coded screen from the previous coded screen as the reference screen by the second motion vector detecting step of re-searching, the second motion vector detecting step Is a motion vector corresponding to the top field of the reference screen detected from the top field of the reference screen detected in the first motion vector detection step and the bottom field of the partial screen of the coded screen obtained from the bottom field of the reference screen. Frame with respect to at least one of the motion vectors for the field Motion vector detecting method characterized by comprising the steps of searching the reference motion vector of measurements of the motion vector and the dual prime prediction.
【請求項4】1画素単位以上の間隔で動きベクトルを探
索する第1の動きベクトル検出ステップと、前記第1の
動きベクトル検出ステップで検出した動きベクトルに基
づいて1/2画素単位で動きベクトルの再探索を行う第
2の動きベクトル検出ステップにより、参照画面である
前符号化画面から現符号化画面の部分領域に対する動き
ベクトルを検出する動きベクトル検出方法において、前
記第2の動きベクトル検出ステップが、第1の動きベク
トル検出ステップで検出された参照画面のトップ・フィ
ールドから符号化画面の部分領域のトップ・フィールド
に対する動きベクトルと参照画面のボトム・フィールド
から符号化画面の部分領域のボトム・フィールドに対す
る動きベクトルの少なくとも一方の動きベクトルの水平
成分および垂直成分が所定値以下の時に、その動きベク
トルを基準にしてデュアルプライム予測の基準動きベク
トルの探索とその基準動きベクトルに対応する微小動き
ベクトルの探索を行い、それ以外の場合は、デュアルプ
ライム予測の基準動きベクトルの探索を行わずにその動
きベクトルをデュアルプライム予測の基準動きベクトル
に決定し、その基準動きベクトルに対応する微小動きベ
クトルの探索を行うステップを含むことを特徴とする動
きベクトル検出方法。
4. A first motion vector detecting step of searching for a motion vector at intervals of one pixel or more, and a motion vector in a 1/2 pixel unit based on the motion vector detected in the first motion vector detecting step. In the motion vector detecting method for detecting a motion vector for a partial region of the current coded screen from the previous coded screen as the reference screen by the second motion vector detecting step of re-searching, the second motion vector detecting step Is a motion vector corresponding to the top field of the reference screen detected from the top field of the reference screen detected in the first motion vector detection step and the bottom field of the partial screen of the coded screen obtained from the bottom field of the reference screen. The horizontal and vertical components of at least one of the motion vectors for the field Is less than or equal to a predetermined value, a search for a reference motion vector for dual prime prediction based on the motion vector and a search for a minute motion vector corresponding to the reference motion vector are performed; otherwise, a reference for dual prime prediction is performed. A method for detecting a motion vector, comprising: determining a motion vector as a reference motion vector for dual prime prediction without searching for a motion vector, and searching for a minute motion vector corresponding to the reference motion vector.
【請求項5】1画素単位以上の間隔で動きベクトルを探
索する第1の動きベクトル検出ステップと、前記第1の
動きベクトル検出ステップで検出した動きベクトルに基
づいて1/2画素単位で動きベクトルの再探索を行う第
2の動きベクトル検出ステップにより、参照画面である
前符号化画面から現符号化画面の部分領域に対する動き
ベクトルを検出する動きベクトル検出方法において、前
記第2の動きベクトル検出ステップが、第1の動きベク
トル検出ステップで検出された参照画面のトップ・フィ
ールドから符号化画面の部分領域のトップ・フィールド
に対する動きベクトルと参照画面のボトム・フィールド
から符号化画面の部分領域のボトム・フィールドに対す
る動きベクトルの少なくとも一方の動きベクトルの水平
成分および垂直成分が所定値以下の時に、その動きベク
トルを基準にしてデュアルプライム予測の基準動きベク
トルの探索とその基準動きベクトルに対応する微小動き
ベクトルの探索を行い、それ以外の場合は、デュアルプ
ライム予測の基準動きベクトルおよび微小動きベクトル
の探索を禁止するステップを含むことを特徴とする動き
ベクトル検出方法。
5. A first motion vector detecting step of searching for a motion vector at intervals of one pixel or more, and a motion vector in a 1/2 pixel unit based on the motion vector detected in the first motion vector detecting step. In the motion vector detecting method for detecting a motion vector for a partial region of the current coded screen from the previous coded screen as the reference screen by the second motion vector detecting step of re-searching, the second motion vector detecting step Are the motion vectors for the top field of the reference screen from the top field of the reference screen detected in the first motion vector detection step and the bottom field of the partial area of the coding screen from the bottom field of the reference screen. The horizontal and vertical components of at least one of the motion vectors for the field Is less than or equal to a predetermined value, a search for a reference motion vector for dual prime prediction based on the motion vector and a search for a minute motion vector corresponding to the reference motion vector are performed; otherwise, a reference for dual prime prediction is performed. A method for detecting a motion vector, comprising a step of prohibiting a search for a motion vector and a minute motion vector.
【請求項6】デュアルプライム予測の基準動きベクトル
および微小動きベクトルの探索を禁止する場合は、フレ
ーム予測の動きベクトルの探索点数を増加させて探索す
るステップを含むことを特徴とする請求項5記載の動き
ベクトル検出方法。
6. The method according to claim 5, further comprising the step of, when prohibiting the search for the reference motion vector and the minute motion vector for dual prime prediction, increasing the number of search points for the motion vector for frame prediction. Motion vector detection method.
【請求項7】1画素単位以上の間隔で動きベクトルを探
索する第1の動きベクトル検出ステップと、前記第1の
動きベクトル検出ステップで検出した動きベクトルに基
づいて1/2画素単位で動きベクトルの再探索を行う第
2の動きベクトル検出ステップにより、参照画面である
前符号化画面から現符号化画面の部分領域に対する動き
ベクトルを検出する動きベクトル検出方法において、前
記第1の動きベクトル検出ステップが、符号化画面の部
分領域のフィールド動きベクトル検出を、同位相の参照
フィールドからの動きベクトル探索の後に、逆位相の参
照フィールドからの動きベクトル探索を行い、同位相の
フィールド動きベクトルと最適なフィールド動きベクト
ルを検出するステップを含むことを特徴とする動きベク
トル検出方法。
7. A first motion vector detecting step for searching for a motion vector at intervals of one pixel or more, and a motion vector in 1/2 pixel units based on the motion vector detected in the first motion vector detecting step. In the motion vector detecting method for detecting a motion vector for a partial area of the current coded screen from the previous coded screen as the reference screen by the second motion vector detecting step of re-searching the first motion vector, Performs the field motion vector detection of the partial area of the coded screen, the motion vector search from the in-phase reference field, and then the motion vector search from the opposite-phase reference field. A method for detecting a motion vector, comprising the step of detecting a field motion vector.
JP25980097A 1997-09-25 1997-09-25 Method for detecting motion vector Pending JPH1198508A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25980097A JPH1198508A (en) 1997-09-25 1997-09-25 Method for detecting motion vector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25980097A JPH1198508A (en) 1997-09-25 1997-09-25 Method for detecting motion vector

Publications (1)

Publication Number Publication Date
JPH1198508A true JPH1198508A (en) 1999-04-09

Family

ID=17339183

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25980097A Pending JPH1198508A (en) 1997-09-25 1997-09-25 Method for detecting motion vector

Country Status (1)

Country Link
JP (1) JPH1198508A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113711592A (en) * 2019-04-01 2021-11-26 北京字节跳动网络技术有限公司 One-half pixel interpolation filter in intra block copy coding mode

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113711592A (en) * 2019-04-01 2021-11-26 北京字节跳动网络技术有限公司 One-half pixel interpolation filter in intra block copy coding mode

Similar Documents

Publication Publication Date Title
JP4472986B2 (en) Motion estimation and / or compensation
US7920627B2 (en) Motion estimation employing adaptive spatial update vectors
US6418168B1 (en) Motion vector detection apparatus, method of the same, and image processing apparatus
EP1592248A1 (en) Motion vector estimation employing adaptive temporal prediction
US9118927B2 (en) Sub-pixel interpolation and its application in motion compensated encoding of a video signal
CN111201795B (en) Memory access window and padding for motion vector modification
CN112292862A (en) Memory access window and padding for motion vector modification and motion compensation
CN113597764B (en) Video decoding method, system and storage medium
JP2009027744A (en) Device and method for performing half-pixel accuracy fast search in video coding
KR20060047590A (en) Motion vector estimation with improved motion vector selection
CN112292861B (en) Sub-pixel accurate correction method based on error surface for decoding end motion vector correction
CN111201792B (en) Modified motion vector for motion vector pointing to fractional pixel point position
JP3813320B2 (en) Motion vector detection method and apparatus
JP2008502196A (en) Global motion vector search method
JP2861462B2 (en) Motion vector detection device
KR100644629B1 (en) Method for estimating motion based on hybrid search block matching algorithm and frame-rate converter using thereof
KR20040000312A (en) Detection and proper interpolation of interlaced moving areas for MPEG decoding with embedded resizing
US7852939B2 (en) Motion vector detection method and device of the same
JPH1198508A (en) Method for detecting motion vector
KR100810391B1 (en) Frame rate up conversion using motion interpolation
KR0152014B1 (en) Method and apparauts for moving estimation in image data compression
WO2019187096A1 (en) Decoding method, decoding device, encoding device and program
JP3171249B2 (en) Motion vector search method for video coding
JP2006262198A (en) Moving picture compressing and encoding device
JP3585628B2 (en) Motion vector detection device