JP3046689B2 - Motion vector detection method - Google Patents

Motion vector detection method

Info

Publication number
JP3046689B2
JP3046689B2 JP8303793A JP8303793A JP3046689B2 JP 3046689 B2 JP3046689 B2 JP 3046689B2 JP 8303793 A JP8303793 A JP 8303793A JP 8303793 A JP8303793 A JP 8303793A JP 3046689 B2 JP3046689 B2 JP 3046689B2
Authority
JP
Japan
Prior art keywords
prediction error
motion vector
prediction
pixels
block
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.)
Expired - Fee Related
Application number
JP8303793A
Other languages
Japanese (ja)
Other versions
JPH06296273A (en
Inventor
俊行 三宅
寛 草尾
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP8303793A priority Critical patent/JP3046689B2/en
Priority to US08/221,744 priority patent/US5497338A/en
Priority to EP94105476A priority patent/EP0624981B1/en
Publication of JPH06296273A publication Critical patent/JPH06296273A/en
Application granted granted Critical
Publication of JP3046689B2 publication Critical patent/JP3046689B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Color Television Systems (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は動きベクトル検出方法
係り、詳細には動き補償予測を用いる動画像符合化の
際、予測対象画像と参照画像の間のブロックマッチング
によって動きベクトルを検出する動きベクトル検出方法
に係る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of detecting a motion vector, and more particularly to a method of detecting a motion vector by block matching between a prediction target image and a reference image when coding a moving image using motion compensated prediction. The present invention relates to a vector detection method .

【0002】[0002]

【従来の技術】ブロックマッチングによって動きベクト
ルを求める主な方式として文献「インターフェースAu
g.1992 pp138」に紹介されているフルサー
チ、3ステップサーチ等がある。以下従来の動きベクト
ル検出方式の計算量について説明する。
2. Description of the Related Art As a main method for obtaining a motion vector by block matching, a document "Interface Au" is used.
g. 1992 pp138 ", a full search, a three-step search, and the like. Hereinafter, the calculation amount of the conventional motion vector detection method will be described.

【0003】ここで、subは減算、addは加算、o
psは計算量を示す。また、ブロックの大きさが16×
16の矩形ブロック、動きベクトルの探索範囲は水平方
向、垂直方向ともに−15〜+15の矩形領域、動きベ
クトルの精度は1画素単位であるものと仮定し、予測誤
差としては画素値の差分の絶対値の和を用いるものとす
る。
Here, sub is subtraction, add is addition, o
ps indicates the amount of calculation. Also, the size of the block is 16 ×
It is assumed that 16 rectangular blocks, the search range of the motion vector is a rectangular area of −15 to +15 in both the horizontal and vertical directions, and the accuracy of the motion vector is in units of one pixel. The sum of the values shall be used.

【0004】1.フルサーチ (1)ブロック内の全画素を用いて予測誤差PEを求め
る処理を、961(312 )の全ての候補ブロックに対
して行う。
[0004] 1. Full Search (1) A process of obtaining a prediction error PE using all pixels in a block is performed for all candidate blocks of 961 (31 2 ).

【0005】(2)予測誤差PEが最小となる候補ブロ
ックへの動きベクトルを最適な動きベクトルとする。
(2) A motion vector for a candidate block having a minimum prediction error PE is determined as an optimum motion vector.

【0006】上記の処理において、ブロックマッチング
に必要となる計算量は、 予測誤差PEの計算:256(sub)+255(ad
d)=511ops 予測誤差PEと最小値の比較:1ops を961個の全ての候補ブロックに対して行うので、 (511+1)×961=492032opsとなる。
[0006] In the above processing, the amount of calculation required for block matching is as follows: Calculation of prediction error PE: 256 (sub) +255 (ad)
d) = 511 ops Comparison between prediction error PE and minimum value: Since 1 ops is performed for all 961 candidate blocks, (511 + 1) × 961 = 492032 ops.

【0007】2.3ステップサーチ (1)ブロック内の全画素を用いて予測誤差PEを求め
る処理を、動きベクトル(4m,4n)に対応する候補
ブロックに対して行う。ここでmおよびnはともに−3
〜+3の整数である。
2.3 Step Search (1) A process of obtaining a prediction error PE using all pixels in a block is performed on a candidate block corresponding to a motion vector (4m, 4n). Here, m and n are both -3.
It is an integer of up to +3.

【0008】(2)(1)における予測誤差PEの最小
値をMIN_PE、MIN_PEを与える動きベクトル
を(x,y)とし動きベクトル(x−2,y−2)、
(x,y−2)、(x+2,y−2)、(x−2,
y)、(x+2,y)、(x−2,y+2)、(x,y
+2)、(x+2,y+2)に対応する8個の候補ブロ
ックに対して、ブロック内の全画素を用いた予測誤差P
Eを求め、PE<MIN_PEであればMIN_PE=
PEとする。
(2) The minimum value of the prediction error PE in (1) is MIN_PE, the motion vector giving MIN_PE is (x, y), and the motion vector is (x-2, y-2);
(X, y-2), (x + 2, y-2), (x-2,
y), (x + 2, y), (x−2, y + 2), (x, y)
+2) and eight candidate blocks corresponding to (x + 2, y + 2), a prediction error P using all pixels in the block
E is obtained, and if PE <MIN_PE, MIN_PE =
PE.

【0009】(3)(2)でMIN_PEを与える動き
ベクトルを(x,y)とし、動きベクトル(x−1,y
−1)、(x,y−1)、(x+1,y−1)、(x−
1,y)、(x+1,y)(x−1,y+1)、(x,
y+1)、(x+1,y+1)に対応する8個の候補ブ
ロックに対して、ブロック内の全画素を用いた予測誤差
PEを求め、PE<MIN_PEであればMIN_PE
=PEとする。
(3) The motion vector giving MIN_PE in (2) is (x, y), and the motion vector is (x-1, y).
-1), (x, y-1), (x + 1, y-1), (x-
1, x), (x + 1, y) (x-1, y + 1), (x,
For each of eight candidate blocks corresponding to (y + 1) and (x + 1, y + 1), a prediction error PE using all pixels in the block is obtained. If PE <MIN_PE, MIN_PE
= PE.

【0010】(4)(3)でMIN_PEを与える動き
ベクトルを最適な動きベクトルとする。
(4) The motion vector giving MIN_PE in (3) is set as the optimum motion vector.

【0011】上記の処理においてブロックマッチングに
必要となる計算量は、 予測誤差PEの計算:511ops 予測誤差PEと最小値MIN_PEとの比較:1ops 1)で予測誤差PEを求める回数:7×7=49回 2)で予測誤差PEを求める回数:8回 3)で予測誤差PEを求める回数:8回 なので、(511+1)×(49+8+8)=3328
0opsとなる。
The amount of calculation required for block matching in the above processing is as follows: Calculation of prediction error PE: 511 ops Comparison between prediction error PE and minimum value MIN_PE: 1 ops 1) Number of times to obtain prediction error PE by 7) = 7 × 7 = 49 times The number of times to calculate the prediction error PE in 2): 8 times 3) The number of times to calculate the prediction error PE: 8 times (511 + 1) × (49 + 8 + 8) = 3328
It becomes 0 ops.

【0012】3.2ステツプサーチ (1)ブロック内の全画素を用いて予測誤差PEを求め
る処理を、動きベクトル(3m、3n)に対応する候補
ブロックに対して行う。ここで、mおよびnはともに−
5〜+5の整数である。
3.2 Step Search (1) A process of obtaining a prediction error PE using all pixels in a block is performed on a candidate block corresponding to a motion vector (3m, 3n). Here, m and n are both-
It is an integer of 5 to +5.

【0013】(2)(1)における予測誤差PEの最小
値をMIN_PE、MIN_PEを与えるべき動きベク
トルを(x,y)とし動きベクトル(x−1,y−
1)、(x,y−1)、(x+1,y−1)、(x−
1,y)、(x+1,y)、(x−1,y+1)、
(x,y+1)、(x+1,y+1)に対応する8個の
候補ブロックに対して、ブロック内の全画素を用いた予
測誤差PEを求め、PE<MIN_PEであればMIN
_PE=PEとする。
(2) The minimum value of the prediction error PE in (1) is MIN_PE, the motion vector to which MIN_PE is given is (x, y), and the motion vector (x-1, y-
1), (x, y-1), (x + 1, y-1), (x-
1, y), (x + 1, y), (x-1, y + 1),
For eight candidate blocks corresponding to (x, y + 1) and (x + 1, y + 1), a prediction error PE using all pixels in the block is obtained. If PE <MIN_PE, MIN is obtained.
_PE = PE.

【0014】(3)(2)でMIN_PEを与える動き
ベクトルを最適な動きベクトルとする。
(3) The motion vector giving MIN_PE in (2) is set as the optimum motion vector.

【0015】上記の処理においてブロックマッチングに
必要となる計算量は、 予測誤差PEの計算:511ops 予測誤差PEと最小値MIN_PEとの比較:1ops 1)で予測誤差PEを求める回数:11×11=121
回 2)で予測誤差PEを求める回数:8回 なので、(511+1)×(121+8)=66048
opsとなる。
The amount of calculation required for block matching in the above processing is as follows: Calculation of prediction error PE: 511 ops Comparison between prediction error PE and minimum value MIN_PE: 1 ops 1) Number of times of obtaining prediction error PE by 11) = 11 × 11 = 121
The number of times the prediction error PE is calculated in the second time 2): 8 times, so that (511 + 1) × (121 + 8) = 66048
ops.

【0016】[0016]

【発明が解決しようとする課題】しかしながら、フルサ
ーチは上記のようにブロックマッチングに莫大な計算量
を必要とする。また、3ステップサーチおよび2ステッ
プサーチは、一部の候補ブロックしか調べないので正し
い動きブロックが求められず、フルサーチの場合と比較
して再生画像の画質が著しく劣下する。
However, full search requires an enormous amount of calculation for block matching as described above. Also, in the three-step search and the two-step search, since only a part of the candidate blocks are checked, a correct motion block cannot be obtained, and the image quality of the reproduced image is significantly inferior to that in the case of the full search.

【0017】本発明の目的は、計算量を大幅に削減して
も正しい動きベクトルを求めることができる動きベクト
ル検出方法を提供することにある。
An object of the present invention is to provide a motion vector detecting method capable of obtaining a correct motion vector even if the amount of calculation is greatly reduced.

【0018】[0018]

【課題を解決するための手段】本発明は、動き補償予測
を用いる動画像符号化に際し、L個の画素からなる予測
対象画像と、参照画像とのブロックマッチングを行って
動きベクトルを検出する動きベクトル検出方法であっ
て、L1(L1<L)個の画素に対して候補ブロックと
予測対象画像とのブロックマッチングにより第1予測誤
差を算出する第1のステップと、該第1予測誤差が所定
の閾値T以下の場合にのみ、L2(L1<L2≦L)個
の画素に対して候補ブロックと予測対象画像とのブロッ
クマッチングにより第2予測誤差を算出する第2のステ
ップと、求められた該第2予測誤差が最小の第2予測誤
差であれば、当該動きベクトルを当該予測対象画像の動
きベクトルとする第3のステップとを、候補ブロック
毎に行い、前記第1から第3のステップを、全ての候補
ブロックに対するブロックマッチングが終了するまで繰
り返し、動きベクトルを求めることを特徴とする。
SUMMARY OF THE INVENTION The present invention provides a motion picture detecting method for detecting a motion vector by performing block matching between a picture to be predicted consisting of L pixels and a reference picture in moving picture coding using motion compensated prediction. A vector detecting method, comprising: a first step of calculating a first prediction error for L1 (L1 <L) pixels by block matching between a candidate block and a prediction target image; A second step of calculating a second prediction error by block matching between a candidate block and a prediction target image for L2 (L1 <L2 ≦ L) pixels only when the threshold T is equal to or less than the threshold T. if the second prediction error second prediction error is smallest, and a third step of the motion vector and the motion vector of the prediction target image, each candidate block
The first to third steps are performed for every candidate.
It is characterized in that a motion vector is obtained by repeating until block matching for a block is completed.

【0019】[0019]

【作用】本発明においては、動き補償予測を用いる動画
像符号化に際し、L個の画素からなる予測対象画像と、
参照画像とのブロックマッチングを行って動きベクトル
を検出する動きベクトル検出方法であって、L1(L1
<L)個の画素に対して候補ブロックと予測対象画像と
のブロックマッチングにより第1予測誤差を算出する第
1のステップと、該第1予測誤差が所定の閾値T以下の
場合にのみ、L2(L1<L2≦L)個の画素に対して
候補ブロックと予測対象画像とのブロックマッチングに
より第2予測誤差を算出する第2のステップと、求めら
れた該第2予測誤差が最小の第2予測誤差であれば、当
該動きベクトルを当該予測対象画像の動きベクトルとす
る第3のステップとを、候補ブロック毎に行い、前記
第1から第3のステップを、全ての候補ブロックに対す
ブロックマッチングが終了するまで繰り返し、動きベ
クトルを求めるので、ブロックマッチングに必要な計算
及びメモリを大幅に削減し得、かつ精度の高い動きベ
クトルを検出し得る。
According to the present invention, in a moving picture encoding using motion compensated prediction, a prediction target picture composed of L pixels
A motion vector detection method for detecting a motion vector by performing block matching with a reference image, wherein L1 (L1
A first step of calculating a first prediction error for the <L) pixels by block matching between the candidate block and the image to be predicted, and L2 only when the first prediction error is equal to or less than a predetermined threshold T. A second step of calculating a second prediction error for the (L1 <L2 ≦ L) pixels by block matching between the candidate block and the prediction target image, and a second step in which the obtained second prediction error is the minimum. If it is a prediction error, the third step of setting the motion vector as the motion vector of the prediction target image is performed for each candidate block ,
Perform the first to third steps for all candidate blocks.
Since the motion vector is repeatedly obtained until block matching is completed, the amount of calculation and memory required for block matching can be significantly reduced, and a highly accurate motion vector can be detected.

【0020】[0020]

【実施例】以下図面を参照して実施例を説明する。いず
れも、L個の画素からなるブロックを単位とし予測対象
画像内の1個の該ブロックに対して、参照画像内のN個
の候補ブロックとの間でブロックマッチングを行い動き
ベクトルを検出している。
An embodiment will be described below with reference to the drawings. In each case, a block composed of L pixels is used as a unit, and block matching is performed between one block in the prediction target image and N candidate blocks in the reference image to detect a motion vector. I have.

【0021】図1は本発明の動きベクトル検出方法の第
1実施例を実現する回路の例を示す図である。
FIG. 1 is a diagram showing an example of a circuit for realizing a first embodiment of the motion vector detecting method according to the present invention.

【0022】図1において、1はアドレス発生器であっ
て制御部9からの制御信号に応じて単位ブロック内のL
1(<L)個の画素についての予測誤差PE1を求める
際に用いられる画素に対するアドレス情報、およびL2
(L1<L2≦L)個の画素についての予測誤差PE2
を求める際に用いられる画素に対するアドレス情報を発
生する。
In FIG. 1, reference numeral 1 denotes an address generator, and L in a unit block in response to a control signal from a control unit 9.
Address information for a pixel used to determine a prediction error PE1 for 1 (<L) pixels, and L2
Prediction error PE2 for (L1 <L2 ≦ L) pixels
Generates address information for the pixels used in the calculation.

【0023】ここで、予測誤差PE2を求める際に用い
るL2個の画素は予測誤差PE1を求める際に用いるL
1個の画素を含み、予測誤差PE2を求める際はL2個
の画素のうち予測誤差PE1を求める際に用いられなか
った(L2−L1)個の画素に対するアドレス情報のみ
を発生する。
Here, the L2 pixels used in obtaining the prediction error PE2 are L2 pixels used in obtaining the prediction error PE1.
When calculating the prediction error PE2, including only one pixel, only the address information for the (L2-L1) pixels that are not used when calculating the prediction error PE1 out of the L2 pixels is generated.

【0024】2もアドレス発生器であって制御部9から
の制御信号を受けて動きベクトル発生部10からの動き
ベクトル情報に対応する候補ブロック内の、予測誤差P
E1を求める際に用いられるL1個の画素に対するアド
レス情報、および予測誤差PE2を求める際に用いられ
るL2個の画素に対するアドレス情報を発生する。
An address generator 2 receives a control signal from the control unit 9 and receives a prediction error P in a candidate block corresponding to the motion vector information from the motion vector generation unit 10.
The address information for the L1 pixels used for obtaining E1 and the address information for the L2 pixels used for obtaining the prediction error PE2 are generated.

【0025】ここで、予測誤差PE2を求める際に用い
るL2個の画素は、予測誤差PE1を求める際に用いる
L1個の画素を含み、予測誤差PE2を求める際は候補
ブロック内のL2個の画素のうち、予測誤差PE1を求
める際に用いられなかった(L2−L1)個の画素に対
するアドレス情報のみを発生する。
Here, the L2 pixels used for obtaining the prediction error PE2 include the L1 pixels used for obtaining the prediction error PE1, and the L2 pixels in the candidate block are used for obtaining the prediction error PE2. Among them, only the address information for the (L2-L1) pixels not used in obtaining the prediction error PE1 is generated.

【0026】3は予測対象画像の情報をブロック単位に
格納するメモリであってアドレス発生部1からの情報に
したがって格納されている情報が読み出される。
Reference numeral 3 denotes a memory for storing the information of the image to be predicted in units of blocks, from which the stored information is read in accordance with the information from the address generator 1.

【0027】4は参照画像内の探索領域の情報を格納す
るメモリであってアドレス発生部2からの情報にしたが
って情報が読み出される。
Reference numeral 4 denotes a memory for storing information on a search area in the reference image, from which information is read in accordance with information from the address generator 2.

【0028】5は予測誤差演算部であって、予測対象ブ
ロックと候補ブロックとの間の予測誤差を求める。予測
誤差PE2を求める場合はL2個の画素のうち予測誤差
PE1を求める際に用いられなかった(L2−L1)個
の画素についての予測誤差を求め、その値を予測誤差P
E1に加算することによって求める。予測誤差を求める
方法としては、例えば予測対象ブロックと候補ブロック
の対応する各画素間の画素値の差分の絶対値の累積和を
用いることができる。
Reference numeral 5 denotes a prediction error calculation unit for obtaining a prediction error between a prediction target block and a candidate block. When the prediction error PE2 is obtained, the prediction errors for the (L2−L1) pixels that are not used in obtaining the prediction error PE1 among the L2 pixels are obtained, and the value is calculated as the prediction error P
It is determined by adding to E1. As a method of calculating the prediction error, for example, a cumulative sum of absolute values of pixel value differences between corresponding pixels of the prediction target block and the candidate block can be used.

【0029】6は予測誤差PE1としきい値THとを比
較する比較部である。
Reference numeral 6 denotes a comparing section for comparing the prediction error PE1 with the threshold value TH.

【0030】7は比較部、8は予測誤差PE2の最小値
MIN_PEと、最小値MIN_PEを与える動きベク
トルを格納するレジスタであって、比較部7は予測誤差
PE2とレジスタ8に格納された最小値MIN_PEを
比較する。
Reference numeral 7 denotes a comparison unit. Reference numeral 8 denotes a register for storing the minimum value MIN_PE of the prediction error PE2 and a motion vector for giving the minimum value MIN_PE. The comparison unit 7 stores the prediction error PE2 and the minimum value stored in the register 8. Compare MIN_PE.

【0031】9は制御部であって比較部6の処理の結
果、予測誤差PE1がしきい値TH以下である場合は、
予測誤差PE2を求めるための制御信号を発生し、比較
部6の処理の結果、予測誤差PE1がしきい値THより
大きい場合、および比較部7の処理が終了した場合は次
の候補ブロックに対して予測誤差PE1を求めるための
制御信号を発生する。
Reference numeral 9 denotes a control unit, and as a result of the processing of the comparison unit 6, when the prediction error PE1 is equal to or less than the threshold value TH,
A control signal for obtaining the prediction error PE2 is generated, and as a result of the processing of the comparing section 6, when the prediction error PE1 is larger than the threshold value TH and when the processing of the comparing section 7 is completed, the next candidate block is generated. To generate a control signal for obtaining the prediction error PE1.

【0032】10は動きベクトル発生部であって、比較
部6の処理の結果、予測誤差PE1がしきい値THより
大きい場合、および比較部7の処理が終了した場合、制
御部9の制御により次の候補ブロックへの動きベクトル
情報を発生する。
Reference numeral 10 denotes a motion vector generation unit which is controlled by the control unit 9 when the prediction error PE1 is larger than the threshold value TH as a result of the processing of the comparison unit 6 and when the processing of the comparison unit 7 is completed. Generate motion vector information for the next candidate block.

【0033】上述の回路において、アドレス発生器1,
2、メモリ3,4、予測誤差演算部5、比較部6、制御
部9および動きベクトル発生部10が演算手段を構成
し、比較部7、レジスタ8、制御部9、動きベクトル発
生部10が比較手段を構成する。
In the circuit described above, the address generators 1,
2, the memories 3 and 4, the prediction error calculation unit 5, the comparison unit 6, the control unit 9 and the motion vector generation unit 10 constitute a calculation unit, and the comparison unit 7, the register 8, the control unit 9 and the motion vector generation unit 10 The comparison means is constituted.

【0034】以下に処理手順を説明する。The processing procedure will be described below.

【0035】(1)予測誤差PE1のしきい値をTHと
する。
(1) The threshold value of the prediction error PE1 is set to TH.

【0036】(2)予測誤差演算部5でブロック内のL
1(<L)個の画素を用いて予測誤差PE1を求め、比
較部6で予測誤差PE1としきい値THとを比較する。
(2) The prediction error calculator 5 calculates L
The prediction error PE1 is obtained using 1 (<L) pixels, and the comparison unit 6 compares the prediction error PE1 with the threshold value TH.

【0037】(3)予測誤差PE1がしきい値以下であ
れば、予測誤差演算部5でブロック内のL2(L1<L
2≦L)個の画素を用いて予測誤差PE2を求め、比較
部7で予測誤差PE2と最小値MIN_PEとを比較
し、予測誤差PE2が最小値MIN_PEより小さけれ
ば、予測誤差PE2を新たに最小値MIN_PEとして
動きベクトルとともにレジスタ8に格納する。
(3) If the prediction error PE1 is equal to or smaller than the threshold value, the prediction error calculation unit 5 sets L2 (L1 <L
The prediction error PE2 is obtained using 2 ≦ L) pixels, and the comparison unit 7 compares the prediction error PE2 with the minimum value MIN_PE. If the prediction error PE2 is smaller than the minimum value MIN_PE, the prediction error PE2 is newly minimized. It is stored in the register 8 together with the motion vector as the value MIN_PE.

【0038】(4)(2)および(3)の処理を全ての
候補ブロックに対して行い、最後にレジスタ8に格納さ
れている動きベクトルを最適な動きベクトルとする。
(4) The processes (2) and (3) are performed on all candidate blocks, and the motion vector stored in the register 8 at the end is determined as the optimum motion vector.

【0039】なお、上記の処理の初期設定として予測誤
差PE2の最小値MIN_PEを予測誤差PE2の取り
得る最大の値としてレジスタ8にセットする。また、全
ての候補ブロックにおいて、予測誤差PE1がしきい値
THより大きかった場合、動きベクトルを決める手段と
しては、 (1)特定の動きベクトルを用いる (2)直前の予測対象ブロックと同じ動きベクトルを用
いる (3)予測誤差PE1が最小となる候補ブロックへの動
きベクトルを最適な動きベクトルとする 方法がある。
As the initial setting of the above processing, the minimum value MIN_PE of the prediction error PE2 is set in the register 8 as the maximum possible value of the prediction error PE2. When the prediction error PE1 is larger than the threshold value TH in all the candidate blocks, the means for determining a motion vector include: (1) using a specific motion vector; and (2) the same motion vector as the immediately preceding prediction target block. (3) There is a method in which a motion vector to a candidate block with a minimum prediction error PE1 is set as an optimal motion vector.

【0040】(1)の方法は、初期設定において、動き
ベクトルとして(0、0)等特定の値をレジスタ8にセ
ットすることで行える。
The method (1) can be performed by setting a specific value such as (0, 0) in the register 8 as a motion vector in the initial setting.

【0041】(2)の方法は、初期設定において、レジ
スタ8の動きベクトルの設定を行わず、直前の処理の値
を保持することで行える。
The method (2) can be performed by holding the value of the immediately preceding process without setting the motion vector of the register 8 in the initial setting.

【0042】(3)の方法は、予測誤差PE1の最小値
とその時の動きベクトルの値を記憶する手段を設けるこ
とにより行うことができる。
The method (3) can be performed by providing means for storing the minimum value of the prediction error PE1 and the value of the motion vector at that time.

【0043】図7は予測誤差PE1の最小値を求める手
段を説明する図である。同図において、77は比較部、
78はレジスタであり、比較部77は予測誤差PE1と
レジスタ8に格納された予測誤差PE1の最小値を比較
し、レジスタ78は予測誤差PE1の最小値とこれに対
する動きベクトルを格納するものである。レジスタ78
は予測誤差PE1がすでに格納されている予測誤差PE
1の最小値より小さい場合に更新される。このように比
較部77、レジスタ78を予測誤差演算部5に付加する
ことにより(3)の方法が実施できる。
FIG. 7 is a diagram for explaining means for obtaining the minimum value of the prediction error PE1. In the figure, 77 is a comparison unit,
A register 78 compares the prediction error PE1 with the minimum value of the prediction error PE1 stored in the register 8, and the register 78 stores the minimum value of the prediction error PE1 and a motion vector corresponding thereto. . Register 78
Is the prediction error PE in which the prediction error PE1 has already been stored.
It is updated when it is smaller than the minimum value of 1. As described above, the method (3) can be performed by adding the comparison unit 77 and the register 78 to the prediction error calculation unit 5.

【0044】上記の方法においてブロックマッチングに
必要な計算量について説明する。ここで、subは減
算、addは加算、opsは計算量を示す。また、ブロ
ックの大きさが16×16の矩形ブロック、動きベクト
ルの探索範囲は水平方向、垂直方向ともに−15〜+1
5の矩形領域、動きベクトルの精度は1画素単位である
ものと仮定する。
The amount of calculation required for block matching in the above method will be described. Here, sub indicates subtraction, add indicates addition, and ops indicates the amount of calculation. In addition, a rectangular block having a block size of 16 × 16, and a search range of a motion vector is −15 to +1 in both the horizontal direction and the vertical direction.
It is assumed that the accuracy of the five rectangular areas and the motion vectors is in units of one pixel.

【0045】L1=16、L2=256と仮定すると上
記の処理で必要となる計算量は、 予測誤差PE1の計算:16(sub)+15(ad
d)=31ops 予測誤差PE1としきい値THの比較:1ops 予測誤差PE2の計算:240(sub)+240(a
dd)=480ops 予測誤差PE2と最小値MIN_PEの比較:1ops となるので、予測誤差PE2が求められる候補ブロック
の数をαとすると、(31+1)×312 +(480+
1)×α=30752+481αopsとなる。
Assuming that L1 = 16 and L2 = 256, the amount of calculation required in the above processing is: calculation of prediction error PE1: 16 (sub) +15 (ad
d) = 31 ops Comparison of prediction error PE1 with threshold value TH: 1 ops Calculation of prediction error PE2: 240 (sub) +240 (a)
dd) = 480 ops Comparison between the prediction error PE2 and the minimum value MIN_PE: 1 ops. Therefore, assuming that the number of candidate blocks for which the prediction error PE2 is obtained is α, (31 + 1) × 31 2 + (480+
1) × α = 30752 + 481αops.

【0046】以上のことから予測誤差PE1がしきい値
TH以下である候補ブロックに対してのみ予測誤差PE
2を求めることによりフルサーチより少ない計算量で動
きベクトルを求めることができる。
As described above, the prediction error PE1 is set only for the candidate block whose prediction error PE1 is equal to or smaller than the threshold value TH.
By obtaining 2, a motion vector can be obtained with a smaller amount of calculation than in a full search.

【0047】図6はL1個の画素についての予測誤差を
求める際に用いる画素を説明する図である。図6中黒正
方形はL1(16)個の画素についての予測誤差を求め
る際に用いられる画素を示す。
FIG. 6 is a diagram for explaining pixels used when calculating a prediction error for L1 pixels. The black squares in FIG. 6 indicate pixels used when calculating a prediction error for L1 (16) pixels.

【0048】上記方程式を現在ISOで標準化作業が進
められている動画像符号化方式MPEG2の動きベクト
ル検出部分に適用した場合について説明する。予測誤差
PE1を求める際には、図6に示す16個の画素を用
い、しきい値THは320とした。また、全ての候補ブ
ロックの予測誤差PE1がしきい値THより大きかった
場合、予測誤差PE1が最小となる候補ブロックへの動
きベクトルを最適な動きベクトルとした。
The case where the above equation is applied to a motion vector detecting portion of the moving picture coding system MPEG2, which is currently being standardized by the ISO, will be described. In determining the prediction error PE1, 16 pixels shown in FIG. 6 were used, and the threshold value TH was set to 320. When the prediction errors PE1 of all the candidate blocks are larger than the threshold value TH, the motion vector to the candidate block with the smallest prediction error PE1 is determined as the optimal motion vector.

【0049】なお、シーケンス1はパンニングを伴う2
秒間の動画像、シーケンス2は水平方向および垂直方向
に移動する物体が存在する2秒間の動画像である。
The sequence 1 is a sequence 2 with panning.
A second moving image, Sequence 2, is a two-second moving image in which an object moving in the horizontal and vertical directions is present.

【0050】(1)PE1>THとなり削除された候補
ブロックの割合は(単位:%)、シーケンス1では7
0.09、シーケンス2では80.28である。
(1) PE1> TH and the ratio of candidate blocks deleted is (unit:%).
0.09, and 80.28 in sequence 2.

【0051】(2)フルサーチで求めた動きベクトルと
の差の平均値(単位:画素)は、次の通りである。
(2) The average value (unit: pixel) of the difference from the motion vector obtained by the full search is as follows.

【0052】FDは予測対象フレームと参照フレームと
の間の距離を示す。本実施例のみでなく参考のために3
ステップサーチ、2ステップサーチの結果も併記する。
FD indicates the distance between the frame to be predicted and the reference frame. Not only this example but also 3
The results of the step search and the two-step search are also described.

【0053】 シーケンス 1 FD 3ステップサーチ 2ステツプサーチ 本実施例 X Y X Y X Y 1 1.21 1.40 0.97 0.83 0.08 0.09 2 1.59 1.38 1.43 1.13 0.25 0.25 3 2.20 1.89 1.84 1.47 0.52 0.45 シーケンス 2 FD 3ステップサーチ 2ステツプサーチ 本実施例 X Y X Y X Y 1 1.50 1.38 1.60 1.36 0.11 0.10 2 1.83 1.36 1.18 0.89 0.18 0.15 3 2.17 1.80 1.91 1.43 0.27 0.20 (3)再生画像の輝度信号の画質(SNR、単位:d
b) 本実施例のみでなく参考のために3ステップサーチ、2
ステップサーチの結果も併記する。なお、括弧内の値は
フルサーチとの差である。
Sequence 1 FD 3 step search 2 step search This embodiment XYXYXY 1 1.21 1.40 0.97 0.83 0.08 0.09 2 1.59 1.38 1.43 1.13 0.25 0.25 3 2.20 1.89 1.84 1.47 0.52 0.45 Sequence 2 FD 3 step search 2 step Search This embodiment XYXYXY1 1.50 1.38 1.60 1.36 0.11 0.10 2 1.83 1.36 1.18 0.89 0.18 0.15 3 2.17 1.80 1.91 1.43 0.27 0.20 (3) Image quality (SNR, unit: d) of the luminance signal of the reproduced image
b) A three-step search for reference as well as this embodiment,
The results of the step search are also shown. The value in parentheses is the difference from the full search.

【0054】 シーケンス 1 フルサーチ 3ステップサーチ 2ステップサーチ 本実施例 28.20 27.14 27.30 27.90 (−0.88) (−0.72) (−0.12) シーケンス 2 フルサーチ 3ステップサーチ 2ステップサーチ 本実施例 25.96 24.57 24.99 25.85 (−1.39) (−0.97) (−0.11) 以上の結果から本実施例ではフルサーチと比較して計算
量を70%から80%削減しても精度的にも画質(SN
R)の点でもほぼ同等の動きベクトルが得られることが
わかる。また、3ステップサーチおよび2ステップサー
チと比較すると、より正確に動きベクトルを求めること
ができ画質もよい。
Sequence 1 Full Search 3 Step Search 2 Step Search Example 28.20 27.14 27.30 27.90 (−0.88) (−0.72) (−0.12) Sequence 2 Full Search 3-step search 2-step search This embodiment 25.96 24.57 24.99 25.85 (-1.39) (-0.97) (-0.11) From the above results, in this embodiment, full search and Even if the calculation amount is reduced from 70% to 80%, the image quality (SN
It can be seen that almost the same motion vector can be obtained also at the point R). Further, as compared with the three-step search and the two-step search, the motion vector can be obtained more accurately and the image quality is good.

【0055】図2は本発明の動きベクトル検出方法の第
2実施例を実現する回路の例を示す図である。図1の回
路にカウンタ21と比較部22とが付加されている。カ
ウンタ21は予測誤差PE1がしきい値TH以下である
候補ブロックの数を数える。比較部22はカウンタ21
の値と予測誤差PE2を求める候補ブロックの数の最大
値M(<総数N)の値を比較する。
FIG. 2 is a diagram showing an example of a circuit for realizing a second embodiment of the motion vector detecting method according to the present invention. A counter 21 and a comparison unit 22 are added to the circuit of FIG. The counter 21 counts the number of candidate blocks for which the prediction error PE1 is equal to or smaller than the threshold value TH. The comparison unit 22 includes a counter 21
Is compared with the value of the maximum value M (<the total number N) of the number of candidate blocks for which the prediction error PE2 is to be obtained.

【0056】以下処理手順を説明する。The processing procedure will be described below.

【0057】(1)カウンタ21を0、予測誤差PE1
のしきい値をTH、予測誤差PE2を求める候補ブロッ
クの数の最大値をMとする。
(1) The counter 21 is set to 0 and the prediction error PE1
Is TH, and the maximum value of the number of candidate blocks for obtaining the prediction error PE2 is M.

【0058】(2)予測誤差演算部5でブロック内のL
1(<L)個の画素を用いて予測誤差PE1を求め、比
較部6で予測誤差PE1としきい値THを比較する。
(2) The prediction error calculator 5 calculates L
The prediction error PE1 is obtained using 1 (<L) pixels, and the comparison unit 6 compares the prediction error PE1 with the threshold value TH.

【0059】(3)予測誤差PE1がしきい値TH以下
であればカウンタ1をインクリメントし、予測誤差演算
部5でL2(L1<L2≦L)個の画素を用いて予測誤
差PE2を求め、比較部7で予測誤差PE2と最小値M
IN_PEを比較し、予測誤差PE2が最小値MIN_
PEより小さければ、予測誤差PE2を新たに最小値M
IN_PEとして動きベクトルとともにレジスタ8に格
納する。
(3) If the prediction error PE1 is equal to or less than the threshold value TH, the counter 1 is incremented, and the prediction error calculation section 5 calculates the prediction error PE2 using L2 (L1 <L2 ≦ L) pixels. The comparison unit 7 calculates the prediction error PE2 and the minimum value M
IN_PE is compared, and the prediction error PE2 is reduced to the minimum value MIN_PE.
If it is smaller than PE, the prediction error PE2 is newly set to the minimum value M
It is stored in the register 8 together with the motion vector as IN_PE.

【0060】(4)(2)から(3)までの処理をカウ
ンタ21の値がMに等しくなるか、候補ブロックがなく
なるまで行い、最後にレジスタ8に格納されている動き
ベクトルを最適な動きベクトルとする。
(4) The processes from (2) to (3) are performed until the value of the counter 21 becomes equal to M or until there are no more candidate blocks. Finally, the motion vector stored in the register 8 is converted to the optimum motion vector. Vector.

【0061】なお、全ての候補ブロックにおいて予測誤
差PE1がしきい値THより大きかった場合の処理は前
記第1実施例の場合と同じである。
The processing when the prediction error PE1 is larger than the threshold value TH in all the candidate blocks is the same as that in the first embodiment.

【0062】上記の方式におけるブロックマッチングに
必要な計算量について説明する。ここで、subは減
算、addは加算、opsは計算量を示す。また、ブロ
ックの大きさが16×16の矩形ブロック、動きベクト
ルの探索範囲は水平方向、垂直方向ともに−15〜+1
5の矩形領域、動きベクトルの精度は1画素単位である
ものと仮定する。
The amount of calculation required for block matching in the above method will be described. Here, sub indicates subtraction, add indicates addition, and ops indicates the amount of calculation. In addition, a rectangular block having a block size of 16 × 16, and a search range of a motion vector is −15 to +1 in both the horizontal direction and the vertical direction.
It is assumed that the accuracy of the five rectangular areas and the motion vectors is in units of one pixel.

【0063】L1=16、L2=256と仮定すると上
記の処理で必要となる計算量は、 予測誤差PE1の計算:16(sub)+15(ad
d)=31ops 予測誤差PE1としきい値THの比較:1ops 予測誤差PE2の計算:240(sub)+240(a
dd)=480ops 予測誤差PE2と最小値MIN_PEの比較:1ops となるので、予測誤差PE1が求めた候補ブロックの数
をβ、予測誤差PE2が求められる候補ブロックの数を
αとすると、(31+1)×β+(480+1)×α=
32β+481αopsとなる。ただし、最大値は30
752+481Mopsである。
Assuming that L1 = 16 and L2 = 256, the amount of calculation required in the above processing is the calculation of the prediction error PE1: 16 (sub) +15 (ad
d) = 31 ops Comparison of prediction error PE1 with threshold value TH: 1 ops Calculation of prediction error PE2: 240 (sub) +240 (a)
dd) = 480 ops Comparison between the prediction error PE2 and the minimum value MIN_PE: 1 ops. Therefore, if the number of candidate blocks for which the prediction error PE1 is obtained is β and the number of candidate blocks for which the prediction error PE2 is obtained is α, (31 + 1) × β + (480 + 1) × α =
32β + 481αops. However, the maximum value is 30
752 + 481 Mops.

【0064】以上のことから予測誤差PE1がしきい値
TH以下である候補ブロックに対してのみ予測誤差PE
2を求めることによりフルサーチより少ない計算量で動
きベクトルを求めることができる。
From the above, the prediction error PE1 is set only for the candidate blocks whose prediction error PE1 is equal to or smaller than the threshold value TH.
By obtaining 2, a motion vector can be obtained with a smaller amount of calculation than in a full search.

【0065】図3は本発明の動きベクトル検出方法の第
3実施例を実現する回路の例を示す図である。図1の回
路にカウンタ31、比較部32、しきい値TH、M更新
部33とが付加されている。カウンタ31は予測誤差P
E1がしきい値TH以下である候補ブロックの数を数え
る。比較部32はカウンタ31の値と予測誤差PE2を
求める候補ブロックの数の最大値M(<N)の値を比較
する。しきい値TH、M更新部33はカウンタ31の値
がMより大きい場合、しきい値THを減少方向に更新
し、Mを増加方向に更新する。
FIG. 3 is a diagram showing an example of a circuit for realizing a third embodiment of the motion vector detecting method according to the present invention. A counter 31, a comparing unit 32, a threshold value TH, and an M updating unit 33 are added to the circuit of FIG. The counter 31 has a prediction error P
The number of candidate blocks in which E1 is equal to or smaller than the threshold value TH is counted. The comparing unit 32 compares the value of the counter 31 with the maximum value M (<N) of the number of candidate blocks for which the prediction error PE2 is to be obtained. When the value of the counter 31 is larger than M, the threshold TH / M updating unit 33 updates the threshold TH in a decreasing direction and updates M in an increasing direction.

【0066】以下処理手順を説明する。The processing procedure will be described below.

【0067】(1)カウンタ31を0、予測誤差PE1
のしきい値をTH、予測誤差PE2を求める候補ブロッ
クの数の最大値をMとする。
(1) Counter 31 is set to 0, prediction error PE1
Is TH, and the maximum value of the number of candidate blocks for obtaining the prediction error PE2 is M.

【0068】(2)予測誤差演算部5でブロック内のL
1(<L)個の画素を用いて予測誤差PE1を求め、比
較部6で予測誤差PE1としきい値THを比較する。
(2) The prediction error calculator 5 calculates L
The prediction error PE1 is obtained using 1 (<L) pixels, and the comparison unit 6 compares the prediction error PE1 with the threshold value TH.

【0069】(3)予測誤差PE1がしきい値TH以下
であれば予測誤差演算部5でL2(L1<L2≦L)個
の画素を用いて予測誤差PE2を求め、比較部7で予測
誤差PE2と最小値MIN_PEを比較し、予測誤差P
E2が最小値MIN_PEより小さければ、予測誤差P
E2を新たに最小値MIN_PEとして動きベクトルと
ともにレジスタ8に格納するとともにカウンタ31をイ
ンクリメントし、比較部32でカウンタ31の値とMと
を比較し、カウンタ31の値がMより大きい場合、しき
い値TH、M更新部33でしきい値THを減少方向に更
新し、Mを増加方向に更新する。
(3) If the prediction error PE1 is equal to or smaller than the threshold value TH, the prediction error calculation unit 5 obtains the prediction error PE2 using L2 (L1 <L2 ≦ L) pixels, and the comparison unit 7 calculates the prediction error PE2. PE2 is compared with the minimum value MIN_PE, and the prediction error P
If E2 is smaller than the minimum value MIN_PE, the prediction error P
E2 is newly stored in the register 8 together with the motion vector as the minimum value MIN_PE, and the counter 31 is incremented. The comparator 32 compares the value of the counter 31 with M. If the value of the counter 31 is larger than M, the threshold is exceeded. The value TH and M updating unit 33 updates the threshold value TH in the decreasing direction, and updates M in the increasing direction.

【0070】(4)(2)から(3)までの処理を全て
の候補ブロックに対して行い、最後にレジスタ8に格納
されている動きベクトルを最適な動きベクトルとする。
(4) The processes from (2) to (3) are performed on all the candidate blocks, and the motion vector finally stored in the register 8 is set as the optimum motion vector.

【0071】なお、全ての候補ブロックにおいて予測誤
差PE1がしきい値THより大きかった場合の処理は前
記第1実施例の場合と同じである。
The processing when the prediction error PE1 is larger than the threshold value TH in all the candidate blocks is the same as that in the first embodiment.

【0072】上記の方式におけるブロックマッチングに
必要な計算量について説明する。ここで、subは減
算、addは加算、opsは計算量を示す。また、ブロ
ックの大きさが16×16の矩形ブロック、動きベクト
ルの探索範囲は水平方向、垂直方向ともに−15〜+1
5の矩形領域、動きベクトルの精度は1画素単位である
ものと仮定する。
The amount of calculation required for block matching in the above method will be described. Here, sub indicates subtraction, add indicates addition, and ops indicates the amount of calculation. In addition, a rectangular block having a block size of 16 × 16, and a search range of a motion vector is −15 to +1 in both the horizontal direction and the vertical direction.
It is assumed that the accuracy of the five rectangular areas and the motion vectors is in units of one pixel.

【0073】L1=16、L2=256と仮定すると上
記の処理で必要となる計算量は、 予測誤差PE1の計算:16(sub)+15(ad
d)=31ops 予測誤差PE1としきい値THの比較:1ops 予測誤差PE2の計算:240(sub)+240(a
dd)=480ops 予測誤差PE2と最小値MIN_PEの比較:1ops となるので、予測誤差PE2が求められる候補ブロック
の数をαとすると、(31+1)×312 +(480+
1)×α=30752+481αposとなる。
Assuming that L1 = 16 and L2 = 256, the amount of calculation required in the above processing is the calculation of the prediction error PE1: 16 (sub) +15 (ad
d) = 31 ops Comparison of prediction error PE1 with threshold value TH: 1 ops Calculation of prediction error PE2: 240 (sub) +240 (a)
dd) = 480 ops Comparison between the prediction error PE2 and the minimum value MIN_PE: 1 ops. Therefore, assuming that the number of candidate blocks for which the prediction error PE2 is obtained is α, (31 + 1) × 31 2 + (480+
1) × α = 30752 + 481αpos.

【0074】以上のことから予測誤差PE1がしきい値
TH以下である候補ブロックに対してのみ予測誤差PE
2を求めることによりフルサーチより少ない計算量で動
きベクトルを求めることができる。なお、Mの最大値を
決めておき、カウンタ31の値がその値に等しくなった
ら、それ以降探索を打ち切ることにより上記の計算量を
一定値以下にすることも可能である。
As described above, the prediction error PE1 is set only for the candidate block whose prediction error PE1 is equal to or smaller than the threshold value TH.
By obtaining 2, a motion vector can be obtained with a smaller amount of calculation than in a full search. It should be noted that it is also possible to determine the maximum value of M, and when the value of the counter 31 becomes equal to that value, terminate the search thereafter to reduce the amount of calculation to a certain value or less.

【0075】図4は本発明の動きベクトル検出方法の第
4実施例を実現する回路の例を示す図である。本実施例
では所定の時点でそれまでに予測誤差PE1を求めた候
補ブロック数に対する予測誤差PE2を求めた候補ブロ
ック数の割合Rに応じてしきい値THを更新するもので
ある。すなわち、Rが所定の値RTH未満であればしき
い値THを増加方向に更新し、RがRTHよりも大きい
場合はしきい値THを減少方向に更新する。RがRTH
に等しい場合は更新しない。
FIG. 4 is a diagram showing an example of a circuit for realizing a fourth embodiment of the motion vector detecting method according to the present invention. In the present embodiment, the threshold value TH is updated at a predetermined point in time in accordance with the ratio R of the number of candidate blocks for which the prediction error PE2 has been obtained to the number of candidate blocks for which the prediction error PE1 has been obtained. That is, if R is less than the predetermined value RTH, the threshold value TH is updated in the increasing direction, and if R is greater than RTH, the threshold value TH is updated in the decreasing direction. R is RTH
If it is equal to, do not update.

【0076】図1の回路にカウンタ41、42、除算部
43、比較部44、しきい値TH更新部45とが付加さ
れている。カウンタ41はそれまでに予測誤差PE1を
求めた候補ブロックの数を数える。カウンタ42は予測
誤差PE1がしきい値TH以下である候補ブロック数、
即ち、予測誤差PE2までを求めた候補ブロック数を数
える。除算部43はそれまでに予測誤差PE1を求めた
候補ブロックの数に対する、予測誤差PE2を求めた候
補ブロックの割合Rを求める。比較部44はRとRTH
とを比較する。しきい値TH更新部45はRがRTH未
満である場合THを増加方向に更新し、RがRTHより
大きい場合THを減少方向に更新する。RがRTHに等
しい場合は更新しない。
The circuits of FIG. 1 are provided with counters 41 and 42, a divider 43, a comparator 44, and a threshold TH updater 45. The counter 41 counts the number of candidate blocks for which the prediction error PE1 has been obtained. The counter 42 counts the number of candidate blocks for which the prediction error PE1 is equal to or less than the threshold value TH,
That is, the number of candidate blocks obtained up to the prediction error PE2 is counted. The division unit 43 obtains the ratio R of the candidate block for which the prediction error PE2 has been obtained to the number of candidate blocks for which the prediction error PE1 has been obtained. The comparison unit 44 has R and RTH
Compare with The threshold TH updating unit 45 updates TH in the increasing direction when R is less than RTH, and updates TH in the decreasing direction when R is greater than RTH. If R is equal to RTH, do not update.

【0077】以下処理手順を説明する。The processing procedure will be described below.

【0078】(1)カウンタ41、42を0、予測誤差
PE1のしきい値をTH、割合Rのしきい値をRTHと
する。
(1) The counters 41 and 42 are set to 0, the threshold value of the prediction error PE1 is set to TH, and the threshold value of the ratio R is set to RTH.

【0079】(2)予測誤差演算部5でブロック内のL
1(<L)個の画素を用いて予測誤差PE1を求め、カ
ウンタ41をインクリメントし、比較部6で予測誤差P
E1としきい値THとを比較する。
(2) The prediction error calculator 5 calculates L
The prediction error PE1 is obtained using 1 (<L) pixels, the counter 41 is incremented, and the comparison unit 6 calculates the prediction error P1.
E1 is compared with a threshold value TH.

【0080】(3)予測誤差PE1がしきい値TH以下
であればカウンタ42をインクリメントし、予測誤差演
算部5でL2(L1<L2≦L)個の画素を用いて予測
誤差PE2を求め、比較部7で予測誤差PE2と最小値
MIN_PEを比較し、予測誤差PE2が最小値MIN
_PEより小さければ、予測誤差PE2を新たに最小値
MIN_PEとして動きベクトルとともにレジスタ8に
格納する。
(3) If the prediction error PE1 is equal to or less than the threshold value TH, the counter 42 is incremented, and the prediction error calculation unit 5 obtains the prediction error PE2 using L2 (L1 <L2 ≦ L) pixels. The comparison unit 7 compares the prediction error PE2 with the minimum value MIN_PE, and determines that the prediction error PE2 is the minimum value MIN_PE.
If it is smaller than _PE, the prediction error PE2 is newly stored in the register 8 together with the motion vector as the minimum value MIN_PE.

【0081】(4)除算部43でカウンタ41の値に対
するカウンタ42の値の割合、即ち、それまでに予測誤
差PE1を求めた候補ブロック数に対する予測誤差PE
2までを求めた候補ブロック数の割合Rを求め、比較部
44でRとRTHとを比較し、割合RがRTHより大き
いときはしきい値TH更新部45でしきい値THを減少
方向に更新し、割合RがRTHよりも小さいときはしき
い値THを増加方向に更新する。
(4) The ratio of the value of the counter 42 to the value of the counter 41 in the division unit 43, that is, the prediction error PE with respect to the number of candidate blocks for which the prediction error PE1 has been obtained so far.
The ratio R of the number of candidate blocks obtained up to 2 is obtained, and the comparing unit 44 compares R with RTH. If the ratio R is larger than RTH, the threshold TH updating unit 45 increases the threshold TH in the decreasing direction. When the ratio R is smaller than RTH, the threshold value TH is updated in the increasing direction.

【0082】(5)(2)から(4)までの処理をすべ
ての候補ブロックに対して行い、最後にレジスタ8に格
納されている動きベクトルを最適な動きベクトルとす
る。
(5) The processes from (2) to (4) are performed on all the candidate blocks, and the motion vector finally stored in the register 8 is set as the optimum motion vector.

【0083】ここで(4)の処理は各候補ブロック毎に
行うことも、所定数の候補ブロックの処理が終了するた
びに行うことも可能である。また、割合Rとの比較を行
うRTHはその値に幅をもたせることも可能である。即
ち、α<RTH<βとすると、R>βのときにしきい値
THを減少の方向に更新し、R<αの時にしきい値TH
を増加させる方向に更新したり、あるいは、R>αの時
にしきい値THを減少方向に更新し、R<βのときにし
きい値THを増加方向に更新することも可能である。さ
らに、割合Rは必ずしも除算により求める必要はなく、
例えばカウンタ41の値とカウンタ42の値とを入力
し、所定の規則でその割合Rを出力するROMテーブル
を利用することが可能である。
Here, the processing of (4) can be performed for each candidate block, or each time the processing of a predetermined number of candidate blocks is completed. Further, the value of the RTH for comparison with the ratio R may have a range. That is, if α <RTH <β, the threshold value TH is updated in a decreasing direction when R> β, and the threshold value TH is updated when R <α.
It is also possible to update the threshold TH in a decreasing direction when R> α, and to update the threshold TH in an increasing direction when R <β. Furthermore, the ratio R does not necessarily need to be obtained by division,
For example, it is possible to use a ROM table that inputs the value of the counter 41 and the value of the counter 42 and outputs the ratio R according to a predetermined rule.

【0084】なお、全ての候補ブロックにおいて予測誤
差PE1がしきい値THより大きかった場合の処理は前
記第1実施例の場合と同じである。
The processing when the prediction error PE1 is larger than the threshold value TH in all the candidate blocks is the same as that in the first embodiment.

【0085】上記の方式におけるブロックマッチングに
必要な計算量について説明する。ここで、subは減
算、addは加算、opsは計算量を示す。また、ブロ
ックの大きさが16×16の矩形ブロック、動きベクト
ルの探索範囲は水平方向、垂直方向ともに−15〜+1
5の矩形領域、動きベクトルの精度は1画素単位である
ものと仮定する。
The amount of calculation necessary for block matching in the above method will be described. Here, sub indicates subtraction, add indicates addition, and ops indicates the amount of calculation. In addition, a rectangular block having a block size of 16 × 16, and a search range of a motion vector is −15 to +1 in both the horizontal direction and the vertical direction.
It is assumed that the accuracy of the five rectangular areas and the motion vectors is in units of one pixel.

【0086】L1=16、L2=256と仮定すると上
記の処理で必要となる計算量は、 予測誤差PE1の計算:16(sub)+15(ad
d)=31ops 予測誤差PE1としきい値THの比較:1ops 予測誤差PE2の計算:240(sub)+240(a
dd)=480ops 予測誤差PE2と最小値MIN_PEの比較:1ops となるので、予測誤差PE2が求められる候補ブロック
の数をαとすると、(31+1)×312 +(480+
1)×α=30752+481αopsとなる。
Assuming that L1 = 16 and L2 = 256, the amount of calculation required in the above processing is as follows: Calculation of prediction error PE1: 16 (sub) +15 (ad
d) = 31 ops Comparison of prediction error PE1 with threshold value TH: 1 ops Calculation of prediction error PE2: 240 (sub) +240 (a)
dd) = 480 ops Comparison between the prediction error PE2 and the minimum value MIN_PE: 1 ops. Therefore, assuming that the number of candidate blocks for which the prediction error PE2 is obtained is α, (31 + 1) × 31 2 + (480+
1) × α = 30752 + 481αops.

【0087】以上のことから予測誤差PE1がしきい値
TH以下である候補ブロックに対してのみ予測誤差PE
2を求めることによりフルサーチより少ない計算量で動
きベクトルを求めることができる。
As described above, the prediction error PE1 is set only for the candidate blocks whose prediction error PE1 is equal to or smaller than the threshold value TH.
By obtaining 2, a motion vector can be obtained with a smaller amount of calculation than in a full search.

【0088】なお、予測誤差PE2を求める候補ブロッ
クの数の最大値をM(<N)とし、予測誤差PE2を求
めた候補ブロックの数がMになったら、それ以降探索を
打ち切ることにより上記の計算量を一定値以下にするこ
とも可能である。
Note that the maximum value of the number of candidate blocks for which the prediction error PE2 is obtained is M (<N), and when the number of candidate blocks for which the prediction error PE2 is obtained becomes M, the search is terminated thereafter. It is also possible to reduce the amount of calculation below a certain value.

【0089】図5は本発明の動きベクトル検出方法の第
5実施例を実現する回路の例を示す図である。本実施例
では図1の回路にカウンタ51、比較部52、メモリ5
3とが付加されている。
FIG. 5 is a diagram showing an example of a circuit for realizing a fifth embodiment of the motion vector detecting method according to the present invention. In this embodiment, the circuit of FIG.
3 are added.

【0090】カウンタ51はそれまでに予測誤差PE1
がしきい値TH以下である候補ブロックの数を数える。
比較部52はカウンタ51の値と、予測誤差PE2を求
める候補ブロックの数の最大値M(<N)の値を比較す
る。メモリ53は、予測誤差PE1がしきい値TH以下
である候補ブロックの情報(予測誤差PE1、動きベク
トル)を格納するメモリである。ここでは、予測誤差P
E1の値をもとにして二分木を用いて情報を格納するも
のとする。
The counter 51 has previously calculated the prediction error PE1.
Is counted below the threshold value TH.
The comparing unit 52 compares the value of the counter 51 with the value of the maximum value M (<N) of the number of candidate blocks for obtaining the prediction error PE2. The memory 53 is a memory for storing information (prediction error PE1, motion vector) of a candidate block in which the prediction error PE1 is equal to or less than the threshold value TH. Here, the prediction error P
It is assumed that information is stored using a binary tree based on the value of E1.

【0091】以下処理手順を説明する。The processing procedure will be described below.

【0092】(1)カウンタ51を0、予測誤差PE1
のしきい値をTH、予測誤差PE2を求める候補ブロッ
ク数の最大値をMとする。
(1) Counter 51 is set to 0, prediction error PE1
Is TH, and the maximum value of the number of candidate blocks for obtaining the prediction error PE2 is M.

【0093】(2)予測誤差演算部5で全ての候補ブロ
ックに対してブロック内のL1(<L)個の画素を用い
て予測誤差PE1を求め、比較部6で予測誤差PE1と
しきい値THを比較し、予測誤差PE1がしきい値TH
以下であれば、その候補ブロックへの動きベクトルと予
測誤差PE1をメモリ53に2分木の形で格納するとと
もにカウンタ51をインクリメントする。
(2) The prediction error calculation unit 5 calculates a prediction error PE1 for all candidate blocks using L1 (<L) pixels in the block, and the comparison unit 6 calculates the prediction error PE1 and the threshold value TH. And the prediction error PE1 becomes equal to the threshold TH.
If not, the motion vector to the candidate block and the prediction error PE1 are stored in the memory 53 in the form of a binary tree, and the counter 51 is incremented.

【0094】(3)比較部52でカウンタ51の値とM
とを比較し、カウンタ51の値がM以下であれば、メモ
リ53に格納されている全ての候補ブロックに対して、
予測誤差演算部5でL2(L1<L2≦L)個の画素を
用いて予測誤差PE2を求める。カウンタ51の値がM
より大きい場合、メモリ53の2分木を予測誤差PE1
の小さい順にたどり、M個の候補ブロックに対して予測
誤差演算部5でL2個の画素を用いて予測誤差PE2を
求める。予測誤差PE2を求める際、比較部7で予測誤
差PE2と最小値MIN PEを比較し、予測誤差PE
2が最小値MIN PEより小さければ、予測誤差PE
2を新たに最小値MIN PEとして動きベクトルとと
もにレジスタ8に格納する。
(3) The value of the counter 51 and M
And if the value of the counter 51 is equal to or less than M, for all the candidate blocks stored in the memory 53,
The prediction error calculation section 5 calculates a prediction error PE2 using L2 (L1 <L2 ≦ L) pixels. When the value of the counter 51 is M
If the difference is larger than the prediction error PE1
, And the prediction error calculation unit 5 calculates a prediction error PE2 for the M candidate blocks by using L2 pixels. When calculating the prediction error PE2, the comparison unit 7 calculates the prediction error PE2 and the minimum value MIN. Compare PE and predict error PE
2 is the minimum value MIN If smaller than PE, prediction error PE
2 is newly added to the minimum value MIN It is stored in the register 8 together with the motion vector as PE.

【0095】(4)最後にレジスタ8に格納されている
動きベクトルを最適な動きベクトルとする。
(4) Finally, the motion vector stored in the register 8 is set as the optimum motion vector.

【0096】なお、全ての候補ブロックにおいて、予測
誤差PE1がしきい値THより大きかった場合の処理は
前記第1実施例の場合と同じである。
The processing in the case where the prediction error PE1 is larger than the threshold value TH in all the candidate blocks is the same as that in the first embodiment.

【0097】上記の方式におけるブロックマッチングに
必要な計算量について説明する。ここで、subは減
算、addは加算、opsは計算量を示す。また、ブロ
ックの大きさが16×16の矩形ブロック、動きベクト
ルの探索範囲は水平方向、垂直方向ともに−15〜+1
5の矩形領域、動きベクトルの精度は1画素単位である
ものと仮定する。
The amount of calculation required for block matching in the above method will be described. Here, sub indicates subtraction, add indicates addition, and ops indicates the amount of calculation. In addition, a rectangular block having a block size of 16 × 16, and a search range of a motion vector is −15 to +1 in both the horizontal direction and the vertical direction.
It is assumed that the accuracy of the five rectangular areas and the motion vectors is in units of one pixel.

【0098】L1=16、L2=256と仮定すると上
記の処理で必要となる計算量は、 予測誤差PE1の計算:16(sub)+15(ad
d)=31ops 予測誤差PE1としきい値THの比較:1ops 予測誤差PE2の計算:240(sub)+240(a
dd)=480ops 予測誤差PE2と最小値MIN PEの比較:1ops となるので、予測誤差PE2が求められる候補ブロック
の数をαとすると、(31+1)×312 +(480+
1)×α=30752+481αopsとなる。
Assuming that L1 = 16 and L2 = 256, the amount of calculation required in the above processing is: calculation of prediction error PE1: 16 (sub) +15 (ad
d) = 31 ops Comparison of prediction error PE1 with threshold value TH: 1 ops Calculation of prediction error PE2: 240 (sub) +240 (a)
dd) = 480 ops prediction error PE2 and minimum value MIN The comparison of PEs is 1 ops, and if α is the number of candidate blocks for which the prediction error PE2 is obtained, (31 + 1) × 31 2 + (480+
1) × α = 30752 + 481αops.

【0099】最大値は30752+481Mopsであ
る。
The maximum value is 30752 + 481 Mops.

【0100】以上のことから予測誤差PE1がしきい値
TH以下であるM個以下の候補ブロックに対してのみ予
測誤差PE2を求めることにより、計算量をフルサーチ
よりも少なく、しかも一定値以下に削減することができ
る。
From the above, by calculating the prediction error PE2 only for the M or less candidate blocks whose prediction error PE1 is equal to or less than the threshold value TH, the calculation amount is smaller than that of the full search, and is reduced to a certain value or less. Can be reduced.

【0101】[0101]

【発明の効果】本発明においては、動き補償予測を用い
る動画像符号化に際し、L個の画素からなる予測対象画
像と、参照画像とのブロックマッチングを行って動きベ
クトルを検出する動きベクトル検出方法であって、L1
(L1<L)個の画素に対して候補ブロックと予測対象
画像とのブロックマッチングにより第1予測誤差を算出
する第1のステップと、該第1予測誤差が所定の閾値T
以下の場合にのみ、L2(L1<L2≦L)個の画素に
対して候補ブロックと予測対象画像とのブロックマッチ
ングにより第2予測誤差を算出する第2のステップと、
求められた該第2予測誤差が最小の第2予測誤差であれ
ば、当該動きベクトルを当該予測対象画像の動きベクト
ルとする第3のステップとを、候補ブロック毎に行
い、前記第1から第3のステップを、全ての候補ブロッ
クに対するブロックマッチングが終了するまで繰り返
し、動きベクトルを求めるので、ブロックマッチングに
必要な計算量及びメモリを大幅に削減し得、かつ精度の
高い動きベクトルを検出し得る。
According to the present invention, a motion vector detecting method for detecting a motion vector by performing block matching between a prediction target image composed of L pixels and a reference image in video coding using motion compensated prediction. And L1
A first step of calculating a first prediction error for (L1 <L) pixels by block matching between the candidate block and the image to be predicted;
A second step of calculating a second prediction error by block matching between a candidate block and a prediction target image for L2 (L1 <L2 ≦ L) pixels only in the following cases:
If the second prediction error obtained is the smallest second prediction error, line the motion vector and a third step of the motion vector of the prediction target image, each candidate block
Steps 1 to 3 are repeated for all candidate blocks.
Since the motion vector is repeatedly obtained until the block matching for the block is completed, the amount of calculation and memory required for the block matching can be significantly reduced, and a highly accurate motion vector can be detected.

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

【図1】本発明の動きベクトル検出方法の第1実施例
実現する回路の例を示す図である。
The first embodiment of a motion vector detecting method of the present invention; FIG
FIG. 3 is a diagram illustrating an example of a circuit to be realized .

【図2】本発明の動きベクトル検出方法の第2実施例
実現する回路の例を示す図である。
The second embodiment of the motion vector detecting method of the present invention; FIG
FIG. 3 is a diagram illustrating an example of a circuit to be realized .

【図3】本発明の動きベクトル検出方法の第3実施例
実現する回路の例を示す図である。
The third embodiment of the motion vector detecting method of the present invention; FIG
FIG. 3 is a diagram illustrating an example of a circuit to be realized .

【図4】本発明の動きベクトル検出方法の第4実施例
実現する回路の例を示す図である。
The fourth embodiment of the motion vector detecting method of the present invention; FIG
FIG. 3 is a diagram illustrating an example of a circuit to be realized .

【図5】本発明の動きベクトル検出方法の第5実施例
実現する回路の例を示す図である。
[5] The fifth embodiment of the motion vector detecting method of the present invention
FIG. 3 is a diagram illustrating an example of a circuit to be realized .

【図6】L1個の画素についての予測誤差を求める際に
用いる画素を説明する図である。
FIG. 6 is a diagram illustrating pixels used when obtaining a prediction error for L1 pixels.

【図7】予測誤差PE1の最小値を求める手段を説明す
る図である。
FIG. 7 is a diagram illustrating a means for obtaining a minimum value of a prediction error PE1.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 7/24 - 7/68 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) H04N 7/ 24-7/68

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】動き補償予測を用いる動画像符号化に際
し、 L個の画素からなる予測対象画像と、参照画像とのブロ
ックマッチングを行って動きベクトルを検出する動きベ
クトル検出方法であって、 L1(L1<L)個の画素に対して候補ブロックと予測
対象画像とのブロックマッチングにより第1予測誤差を
算出する第1のステップと、 該第1予測誤差が所定の閾値T以下の場合にのみ、L2
(L1<L2≦L)個の画素に対して候補ブロックと予
測対象画像とのブロックマッチングにより第2予測誤差
を算出する第2のステップと、 求められた該第2予測誤差が最小の第2予測誤差であれ
ば、当該動きベクトルを当該予測対象画像の動きベクト
ルとする第3のステップとを、候補ブロック毎に行
い、 前記第1から第3のステップを、全ての候補ブロックに
対する ブロックマッチングが終了するまで繰り返し、動
きベクトルを求めることを特徴とする動きベクトル検出
方法。
1. A motion vector detecting method for detecting a motion vector by performing block matching between a prediction target image composed of L pixels and a reference image when a moving image is encoded using motion compensated prediction. A first step of calculating a first prediction error by block matching between a candidate block and a prediction target image for (L1 <L) pixels, and only when the first prediction error is equal to or less than a predetermined threshold T , L2
A second step of calculating a second prediction error for the (L1 <L2 ≦ L) pixels by block matching between the candidate block and the image to be predicted, and a second step in which the obtained second prediction error is the minimum. if the prediction error, the line the motion vector and a third step of the motion vector of the prediction target image, each candidate block
Then, the first to third steps are performed on all candidate blocks.
Against repeated until block matching has been completed, the motion vector detecting method characterized by obtaining a motion vector.
【請求項2】 動き補償予測を用いる動画像符号化に際
し、 L個の画素からなる予測対象画像と、参照画像とのブロ
ックマッチングを行って動きベクトルを検出する動きベ
クトル検出方法であって、 L1(L1<L)個の画素に対して候補ブロックと予測
対象画像とのブロックマッチングにより第1予測誤差を
算出する第1のステップと、 該第1予測誤差が所定の閾値T以下の場合にのみ、L2
(L1<L2≦L)個の画素に対して候補ブロックと予
測対象画像とのブロックマッチングにより第2予測誤差
を算出する第2のステップと、 求められた該第2予測誤差が最小の第2予測誤差であれ
ば、当該動きベクトルを当該余録対象画像の動きベクト
ルとする第3のステップとを、候補ブロック毎に行
い、 前記第1から第3のステップを、 第2のステップが所定
回数実行されるか、全ての候補ブロックに対するブロッ
クマッチングが終了するまで繰り返し、動きベクトルを
求めることを特徴とする動きベクトル検出方法。
2. A motion vector detecting method for detecting a motion vector by performing block matching between a prediction target image composed of L pixels and a reference image during video encoding using motion compensated prediction, comprising: A first step of calculating a first prediction error by block matching between a candidate block and a prediction target image for (L1 <L) pixels, and only when the first prediction error is equal to or less than a predetermined threshold T , L2
A second step of calculating a second prediction error for the (L1 <L2 ≦ L) pixels by block matching between the candidate block and the image to be predicted, and a second step in which the obtained second prediction error is the minimum. if the prediction error, the line the motion vector and a third step of the motion vector of the Yoroku target image, each candidate block
There, the third step from the first, or second step is executed a predetermined number of times, repeatedly until the block <br/> click matching against all of the candidate blocks is terminated, characterized in that a motion vector is obtained A motion vector detection method.
【請求項3】 動き補償予測を用いる動画像符号化に際
し、 L個の画素からなる予測対象画像と、参照画像とのブロ
ックマッチングを行って動きベクトルを検出する動きベ
クトル検出方法であって、 L1(L1<L)個の画素に対して候補ブロックと予測
対象画像とのブロックマッチングにより第1予測誤差を
算出する第1のステップと、 該第1予測誤差が所定の閾値T以下の場合にのみ、L2
(L1<L2≦L)個の画素に対して候補ブロックと予
測対象画像とのブロックマッチングにより第2予測誤差
を算出する第2のステップと、 前記第2のステップが所定回数実行された場合、前記閾
値Tを減少するよう更新する第3のステップと、 求められた該第2予測誤差が最小の第2予測誤差であれ
ば、当該動きベクトルを当該予測対象画像の動きベクト
ルとする第4のステップとを、候補ブロック毎に行
い、 前記第1から第4のステップを、全ての候補ブロックに
対する ブロックマッチングが終了するまで繰り返し、動
きベクトルを求めることを特徴とする動きベクトル検出
方法。
3. A motion vector detecting method for detecting a motion vector by performing block matching between a prediction target image composed of L pixels and a reference image in video coding using motion compensated prediction. A first step of calculating a first prediction error by block matching between a candidate block and a prediction target image for (L1 <L) pixels, and only when the first prediction error is equal to or less than a predetermined threshold T , L2
A second step of calculating a second prediction error by block matching between the candidate block and the prediction target image for (L1 <L2 ≦ L) pixels, and when the second step is performed a predetermined number of times, A third step of updating the threshold value T to be decreased; and a fourth step of setting the motion vector as the motion vector of the prediction target image if the obtained second prediction error is the minimum second prediction error. and a step, lines each candidate block
There, a fourth step from the first, to all of the candidate blocks
Against repeated until block matching has been completed, the motion vector detecting method characterized by obtaining a motion vector.
【請求項4】 動き補償予測を用いる動画像符号化に際
し、 L個の画素からなる予測対象画像と、参照画像とのブロ
ックマッチングを行って動きベクトルを検出する動きベ
クトル検出方法であって、 L1(L1<L)個の画素に対して候補ブロックと予測
対象画像とのブロックマッチングにより第1予測誤差を
算出する第1のステップと、 該第1予測誤差が所定の閾値T以下の場合にのみ、L2
(L1<L2≦L)個の画素に対して候補ブロックと予
測対象画像とのブロックマッチングにより第2予測誤差
を算出する第2のステップと、 第1予測誤差を求めた回数に対する第2予測誤差を求め
た回数の割合Rを求める第3のステップと、 前記割合Rが所定の割合RTよりも大きい場合は、前記
閾値Tを減少するように更新し、前記割合Rが所定の割
合RT未満の場合は、前記閾値Tを増加するように更新
する第4のステップと、 求められた該第2予測誤差が最小の第2の予測誤差であ
れば、当該動きベクトルを当該予測対象画像の動きベク
トルとする第5のステップとを、候補ブロック毎に行
い、前記第1から第5のステップを、全ての候補ブロックに
対する ブロックマッチングが終了するまで繰り返し、動
きベクトルを求めることを特徴とする動きベクトル検出
方法。
4. A motion vector detecting method for detecting a motion vector by performing block matching between a prediction target image composed of L pixels and a reference image when a moving image is encoded using motion compensated prediction. A first step of calculating a first prediction error by block matching between a candidate block and a prediction target image for (L1 <L) pixels, and only when the first prediction error is equal to or less than a predetermined threshold T , L2
A second step of calculating a second prediction error by block matching between the candidate block and the prediction target image for (L1 <L2 ≦ L) pixels, and a second prediction error with respect to the number of times the first prediction error is obtained A third step of obtaining a ratio R of the number of times of obtaining the above, if the ratio R is larger than a predetermined ratio RT, the threshold T is updated so as to decrease , and the ratio R is smaller than the predetermined ratio RT. In this case, a fourth step of updating the threshold value T to be increased, and if the obtained second prediction error is the minimum second prediction error, the motion vector is replaced with the motion vector of the prediction target image. Is performed for each candidate block, and the first to fifth steps are performed on all the candidate blocks.
Against repeated until block matching has been completed, the motion vector detecting method characterized by obtaining a motion vector.
JP8303793A 1993-04-09 1993-04-09 Motion vector detection method Expired - Fee Related JP3046689B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP8303793A JP3046689B2 (en) 1993-04-09 1993-04-09 Motion vector detection method
US08/221,744 US5497338A (en) 1993-04-09 1994-03-31 Motion vector detecting circuit
EP94105476A EP0624981B1 (en) 1993-04-09 1994-04-08 Motion vector detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8303793A JP3046689B2 (en) 1993-04-09 1993-04-09 Motion vector detection method

Publications (2)

Publication Number Publication Date
JPH06296273A JPH06296273A (en) 1994-10-21
JP3046689B2 true JP3046689B2 (en) 2000-05-29

Family

ID=13791024

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8303793A Expired - Fee Related JP3046689B2 (en) 1993-04-09 1993-04-09 Motion vector detection method

Country Status (1)

Country Link
JP (1) JP3046689B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4525064B2 (en) * 2003-12-11 2010-08-18 ソニー株式会社 Motion vector detection apparatus, motion vector detection method, and computer program
JP4730585B2 (en) * 2005-02-04 2011-07-20 ソニー株式会社 Encoding apparatus and method, decoding apparatus and method, information processing system, recording medium, and program
JP4581733B2 (en) * 2005-02-17 2010-11-17 ソニー株式会社 Encoding apparatus and method, decoding apparatus and method, recording medium, program, and image processing system

Also Published As

Publication number Publication date
JPH06296273A (en) 1994-10-21

Similar Documents

Publication Publication Date Title
US5748231A (en) Adaptive motion vector decision method and device for digital image stabilizer system
EP0624981B1 (en) Motion vector detecting circuit
KR100840133B1 (en) Motion estimator for reduced halos in MC up-conversion
US6456660B1 (en) Device and method of detecting motion vectors
KR20060121856A (en) Temporal interpolation of a pixel on basis of occlusion detection
US8374465B2 (en) Method and apparatus for field rate up-conversion
JP3046689B2 (en) Motion vector detection method
JP3175914B2 (en) Image encoding method and image encoding device
JPH11203483A (en) Image processor, its method and providing medium
KR20060103430A (en) Motion vector fields refinement to track small fast moving objects
JP2006215655A (en) Method, apparatus, program and program storage medium for detecting motion vector
US6081553A (en) Block-matching motion estimation technique for video compression of noisy source signals
AU2004200237B2 (en) Image processing apparatus with frame-rate conversion and method thereof
US8582882B2 (en) Unit for and method of segmentation using average homogeneity
JP3268258B2 (en) Motion estimation method for moving images using two-dimensional triangular patch line grid model
US20090153742A1 (en) Global motion estimation
JPH0478286A (en) Detection method for moving vector using initial deviation vector
JP2840007B2 (en) Motion vector detection circuit
JP3237815B2 (en) Motion vector search method and apparatus
JP2861971B2 (en) Motion vector prediction device
JP2885039B2 (en) Motion vector detection circuit
JP3611958B2 (en) Motion vector detection method and motion vector detection circuit for moving picture signal
JPH08242454A (en) Method for detecting global motion parameter
JPH0614316A (en) Motion vector detector
JP3941900B2 (en) Motion vector detection device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees