JPH07184211A - Motion vector detection circuit - Google Patents

Motion vector detection circuit

Info

Publication number
JPH07184211A
JPH07184211A JP32907893A JP32907893A JPH07184211A JP H07184211 A JPH07184211 A JP H07184211A JP 32907893 A JP32907893 A JP 32907893A JP 32907893 A JP32907893 A JP 32907893A JP H07184211 A JPH07184211 A JP H07184211A
Authority
JP
Japan
Prior art keywords
value
block
pixel value
pixel
output
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.)
Granted
Application number
JP32907893A
Other languages
Japanese (ja)
Other versions
JP3052711B2 (en
Inventor
Katsuji Aoki
勝司 青木
Hiroaki Aono
浩明 青野
Akiyoshi Tanaka
章喜 田中
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP32907893A priority Critical patent/JP3052711B2/en
Priority to US08/363,120 priority patent/US5659364A/en
Publication of JPH07184211A publication Critical patent/JPH07184211A/en
Priority to US08/903,024 priority patent/US5793443A/en
Application granted granted Critical
Publication of JP3052711B2 publication Critical patent/JP3052711B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To provide the motion vector detection circuit enhancing the detection of picture elements with high precision from a retrieval range in horizontal and vertical directions -x to x, -y to y in the case of applying motion compensation prediction coding to a moving picture. CONSTITUTION:A delay circuit 118 is used to delay received picture elements in a concerned block in matching with an output of an interpolation circuit 109 to provide an output to operation elements 1-9 being 127-135, which calculate an inter-block error of trial blocks in the retrieval ranges in horizontal and vertical directions -x to x, -y to y. Then a minimum value detection circuit 136 detects a minimum inter-block error among inter-block errors calculated by the operation elements 1-9 being 127-135 to provide an output of a motion vector being a displacement from the concerned block till the trial block in which the minimum inter-block error is calculated.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ブロックマッチング法
により、動画像の動き補償符号化の際に用いる実数画素
精度の動きベクトルを検出する動きベクトル検出回路に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a motion vector detection circuit for detecting a motion vector of real pixel precision used in motion compensation coding of a moving image by a block matching method.

【0002】[0002]

【従来の技術】現在、動画像の動き補償予測符号化の際
に用いる動きベクトルは、一般にブロックマッチング法
により検出される。このブロックマッチング法による動
きベクトル検出を、以下に説明する。図4に示すフレー
ム画像S上の、動きベクトルを検出しようとするブロッ
クを当該ブロックS、この当該ブロックS内の画素値を
総称してS(i,j)、当該ブロックSをフレーム画像Rに投
影した位置から水平方向m画素、垂直方向n画素(mお
よびnは実数値)の変位量だけ平行移動した位置にあ
る、当該ブロックSと同サイズのブロックを試行ブロッ
クRm,n、この試行ブロックRm,n内の画素値を総称して
R(i+m,j+n)と呼ぶ事とする。この当該ブロックSと、
予め探索範囲として定めた変位内で平行移動した位置に
ある試行ブロックRm,nに対して、それぞれのブロック
内で同じ位置にある画素値の差分値の絶対値の総和値、
すなわち(式1)を計算する(以後この差分値の絶対値
の総和値をブロック間誤差値Dm,nと記す)。
2. Description of the Related Art Currently, a motion vector used in motion compensation predictive coding of a moving image is generally detected by a block matching method. Motion vector detection by this block matching method will be described below. A block for which a motion vector is to be detected on the frame image S shown in FIG. 4 is the block S, pixel values in the block S are generically S (i, j), and the block S is a frame image R. A block of the same size as the block S located at a position translated from the projected position by a displacement amount of m pixels in the horizontal direction and n pixels in the vertical direction (m and n are real values) is a trial block R m, n . The pixel values in the block R m, n are collectively referred to as
Let's call it R (i + m, j + n). This block S,
A total value of absolute values of difference values of pixel values at the same position in each block with respect to the trial block R m, n located at a position translated in parallel within a displacement defined in advance as a search range,
That is, (Equation 1) is calculated (hereinafter, the sum of absolute values of the difference values is referred to as an inter-block error value D m, n ).

【0003】[0003]

【数1】 [Equation 1]

【0004】そして、この計算された全てのブロック間
誤差値Dm,nの中から最小のブロック間誤差値Dm,nを検
出し、当該ブロックSから最小のブロック間誤差値D
m,nが計算された試行ブロックRm,nまでの変位量m、n
を動きベクトルとするものである。
Then, the minimum inter-block error value D m, n is detected from all the calculated inter-block error values D m, n , and the minimum inter-block error value D from the block S is detected.
Displacement amount m, n to trial block R m, n for which m, n is calculated
Is a motion vector.

【0005】上記ブロックマッチング法により実数画素
精度の動きベクトルを検出する従来の動きベクトル検出
回路として、米国特許第4、937、666号公報の構
成が知られている。以下にこの従来の動きベクトル検出
回路について説明する。
A configuration of US Pat. No. 4,937,666 is known as a conventional motion vector detecting circuit for detecting a motion vector of real number pixel accuracy by the block matching method. The conventional motion vector detection circuit will be described below.

【0006】図5は、検出精度を1/2画素精度とした時
の従来の動きベクトル検出回路の構成図である。図5に
おいて、601は探索範囲内の画素値R(i,j)を入力する
入力端子、602は探索範囲内の画素値R(i,j+1)を入力
する入力端子、603は入力端子601に入力された画
素値R(i,j)と入力端子602に入力された画素値R(i,j+
1)の加算を行う加算器、604は入力端子601に入力
された画素値R(i,j)と、加算器603の出力値を交互に
選択して出力する選択器、605は加算器603及び、
選択器604から構成される垂直方向の補間を行う補間
回路V、606〜608は選択器604から出力された
値を保持するラッチ、609はラッチ606に保持され
た値と、ラッチ608に保持された値を加算する加算
器、610は加算器609から構成される水平方向の補
間を行う補間回路H、611はラッチ608に保持され
た値が出力されるバスR1、612は加算器609の出
力値が出力されるバスR2、613は当該ブロック内の
画素値S(i,j)を入力する入力端子、614は入力端子6
13に入力された画素値S(i,j)が出力されるバスS、6
15〜618はラッチ、619はバス611またはバス
612に出力されている値と、バス614に出力されて
いる値の差分値を計算し、その値をラッチ615に出力
する減算器、620はラッチ615に保持された値の絶
対値を計算し、その値をラッチ616に出力する絶対値
回路、621はラッチ616に保持された値とラッチ6
18に保持された値を加算し、その値をラッチ617に
出力する加算器、622はラッチ615〜618、減算
器619、絶対値回路620及び、加算器621から構
成される演算素子、623は演算素子622と同様の構
成を持つ演算素子、624は演算素子622及び演算素
子623内のラッチ618に保持された値の中から最小
値を検出し、それに対応した動きベクトル値を出力する
最小値検出回路、625は検出された動きベクトル値が
出力される出力端子である。
FIG. 5 is a block diagram of a conventional motion vector detection circuit when the detection accuracy is 1/2 pixel accuracy. In FIG. 5, 601 is an input terminal for inputting pixel values R (i, j) within the search range, 602 is an input terminal for inputting pixel values R (i, j + 1) within the search range, and 603 is an input terminal. Pixel value R (i, j) input to 601 and pixel value R (i, j + input to input terminal 602
1) is an adder for performing addition, 604 is a selector for alternately selecting and outputting the pixel value R (i, j) input to the input terminal 601 and the output value of the adder 603, and 605 is an adder 603. as well as,
An interpolation circuit V configured by the selector 604 for performing vertical interpolation, 606 to 608 are latches for holding the value output from the selector 604, 609 is a value held in the latch 606 and the latch 608. 610 is an adder 609 that performs horizontal interpolation, and 611 is a bus R 1 to which the value held in the latch 608 is output, and 612 is an adder 609. The buses R 2 and 613 to which the output value is output are input terminals for inputting the pixel values S (i, j) in the block, and 614 is the input terminal 6.
The bus S, 6 from which the pixel value S (i, j) input to 13 is output
15 to 618 are latches, 619 is a subtracter that calculates a difference value between the value output to the bus 611 or bus 612 and the value output to the bus 614, and outputs the value to the latch 615, and 620 is a latch An absolute value circuit for calculating the absolute value of the value held in 615 and outputting the value to the latch 616, 621 is the value held in the latch 616 and the latch 6
18 is an adder that adds the values held in 18 and outputs the value to the latch 617; 622 is an arithmetic element composed of the latches 615 to 618, the subtractor 619, the absolute value circuit 620, and the adder 621; An arithmetic element having the same configuration as the arithmetic element 622, 624 is a minimum value that detects the minimum value from the values held in the latch 618 in the arithmetic element 622 and the arithmetic element 623, and outputs a motion vector value corresponding to it. The detection circuit 625 is an output terminal to which the detected motion vector value is output.

【0007】以上の様に構成された従来の動きベクトル
検出回路について、説明を簡単にするため当該ブロック
Sのサイズを3×3とし、探索範囲内の画素値R(i,j)、
当該ブロックS内の画素値S(i,j)を用いて、(表1)の
タイミングを参照しながら、以下にその動作を説明す
る。
In the conventional motion vector detection circuit configured as described above, the size of the block S is set to 3 × 3 and the pixel value R (i, j) within the search range is set to simplify the description.
The operation of the pixel value S (i, j) in the block S will be described below with reference to the timing shown in Table 1.

【0008】[0008]

【表1】 [Table 1]

【0009】入力端子601には、(表1)のタイミン
グの入力端子601の欄に示すように、2クロック期間
に探索範囲内の画素値が1画素値ずつ、R(0,0),R(1,0),
R(2,0),R(3,0),R(0,1),R(1,1),R(2,1),R(3,1),R(0,2),R
(1,2),R(2,2),R(3,2)の順に入力される。また、これと
並行して入力端子602にも、(表1)の入力端子60
2の欄に示すように、2クロック期間に探索範囲内の画
素値が1画素値ずつ、R(0,1),R(1,1),R(2,1),R(3,1),R
(0,2),R(1,2),R(2,2),R(3,2),R(0,3),R(1,3),R(2,3),R
(3,3)の順に入力される。すなわち、入力端子602に
入力された探索範囲内の画素値は、同クロックに入力端
子601に入力された画素値R(i,j)の位置に対して、垂
直方向に1画素ずれた位置に存在する画素値R(i,j+1)で
ある。
In the input terminal 601, as shown in the column of the input terminal 601 of the timing of (Table 1), the pixel value in the search range is R (0,0), (1,0),
R (2,0), R (3,0), R (0,1), R (1,1), R (2,1), R (3,1), R (0,2), R
(1,2), R (2,2), R (3,2) are input in this order. Further, in parallel with this, the input terminal 602 also has the input terminal 60 of (Table 1).
As shown in the column of 2, the pixel value in the search range is one pixel value at a time in two clock periods, R (0,1), R (1,1), R (2,1), R (3,1 ), R
(0,2), R (1,2), R (2,2), R (3,2), R (0,3), R (1,3), R (2,3), R
Input in order of (3,3). That is, the pixel value in the search range input to the input terminal 602 is at a position shifted by one pixel in the vertical direction with respect to the position of the pixel value R (i, j) input to the input terminal 601 at the same clock. It is the existing pixel value R (i, j + 1).

【0010】入力端子601に入力された画素値R(i,j)
及び入力端子602に入力された画素値R(i,j+1)は補間
回路605に入力される。補間回路605では、加算器
603により、入力された画素値R(i,j)と画素値R(i,j+
1)の加算値が計算され、更にその加算値R(i,j)+R(i,j+
1)が1/2され、これをR(i,j)とR(i,j+1)の補間画素値R
(i,j+0.5)として出力する。そして、選択器604によ
り、各クロックに、入力端子601より入力された画素
値R(i,j)と、加算器603により計算された補間画素値
R(i,j+0.5)が交互に出力され、その結果ラッチ606に
は、(表1)のラッチ606の欄に示したような値が保
持される。
Pixel value R (i, j) input to the input terminal 601
The pixel value R (i, j + 1) input to the input terminal 602 is input to the interpolation circuit 605. In the interpolation circuit 605, the pixel value R (i, j) and the pixel value R (i, j +) input by the adder 603 are input.
The additional value of 1) is calculated, and the additional value R (i, j) + R (i, j +
1) is halved, and this is interpolated pixel value R of R (i, j) and R (i, j + 1)
Output as (i, j + 0.5). Then, the pixel value R (i, j) input from the input terminal 601 and the interpolated pixel value calculated by the adder 603 are input at each clock by the selector 604.
R (i, j + 0.5) is alternately output, and as a result, the latch 606 holds the value as shown in the column of the latch 606 in (Table 1).

【0011】ラッチ606に入力された値は、順次ラッ
チ607、ラッチ608に転送される。
The value input to the latch 606 is sequentially transferred to the latch 607 and the latch 608.

【0012】補間回路610では、上記ラッチ608に
保持された値が、そのままバス611に出力されると共
に、加算器609により、上記ラッチ608とラッチ6
06に保持された値の加算値が計算され、更にその加算
値を1/2した値がバス612に出力される。ラッチ60
6に保持されている値は、ラッチ608に保持されてい
る値に対して2クロック後に補間回路605内の選択器
604から出力された値である。ラッチ608に画素値
R(i,j)が保持されていたとすると、ラッチ606には画
素値R(i+1,j)が保持されており、上記加算器609によ
りバス612には画素値R(i,j)と画素値R(i+1,j)の補間
画素値R(i+0.5,j)が出力される。また、ラッチ608に
補間画素値R(i,j+0.5)が保持されていたとすると、ラッ
チ606には補間画素値R(i+1,j+0.5)が保持されてお
り、バス612には補間画素値R(i,j+0.5)と補間画素値
R(i+1,j+0.5)の補間画素値R(i+0.5,j+0.5)が出力され、
この結果、バス611ならびにバス612には、(表
1)のバス611、バス612の欄に示したような値が
出力される。
In the interpolation circuit 610, the value held in the latch 608 is output to the bus 611 as it is, and the adder 609 causes the latch 608 and the latch 6 to operate.
The added value of the values held in 06 is calculated, and a value obtained by halving the added value is output to the bus 612. Latch 60
The value held in 6 is the value output from the selector 604 in the interpolation circuit 605 two clocks after the value held in the latch 608. Pixel value in latch 608
If R (i, j) is held, the latch 606 holds the pixel value R (i + 1, j), and the adder 609 holds the pixel value R (i, j) on the bus 612. And the interpolated pixel value R (i + 0.5, j) of the pixel value R (i + 1, j) is output. If the latch 608 holds the interpolated pixel value R (i, j + 0.5), the latch 606 holds the interpolated pixel value R (i + 1, j + 0.5), and the bus 612 holds the interpolated pixel value R (i + 1, j + 0.5). Interpolated pixel value R (i, j + 0.5) and interpolated pixel value
The interpolated pixel value R (i + 0.5, j + 0.5) of R (i + 1, j + 0.5) is output,
As a result, the values as shown in the columns of the buses 611 and 612 in (Table 1) are output to the buses 611 and 612.

【0013】また、入力端子613には、(表1)の入
力端子613の欄に示すように、奇数クロックにバス6
11に出力されている画素値R(i,j)と同じ位置にある当
該ブロックS内の画素値S(i,j)が2クロック期間に1画
素値ずる入力され、バス614に出力される。
Further, as shown in the column of the input terminal 613 in (Table 1), the input terminal 613 has a bus 6 at an odd clock.
The pixel value S (i, j) in the block S at the same position as the pixel value R (i, j) output to 11 is input by shifting one pixel value in two clock periods and output to the bus 614. .

【0014】演算素子1 622では、以下の動作がパ
イプラインで行われる。減算器619により、バス61
1に出力されている値と、バス614に出力されている
値の差分値が計算され、その値がラッチ615に保持さ
れる。そして、絶対値回路620により、ラッチ615
に保持されている差分値の絶対値が計算され、その値が
ラッチ616に保持される。更に、2段のカスケード接
続されたラッチ617〜618と加算器621によって
構成される累積加算回路により、ラッチ616に2クロ
ックおきに保持される差分値の絶対値の累積加算値が計
算される。
In the arithmetic element 1 622, the following operations are performed in a pipeline. The subtractor 619 allows the bus 61
The difference value between the value output to 1 and the value output to the bus 614 is calculated, and the value is held in the latch 615. Then, the absolute value circuit 620 causes the latch 615 to
The absolute value of the difference value held in is calculated and the value is held in the latch 616. Further, the cumulative addition circuit composed of the two stages of cascade-connected latches 617 to 618 and the adder 621 calculates the cumulative addition value of the absolute values of the difference values held in the latch 616 every two clocks.

【0015】(表1)のタイミングに示すように、第3
クロックから2クロック周期に、バス611には画素値
R(i,j)が、バス614には画素値S(i,j)が出力されてい
る。また第4クロックから2クロック周期に、バス61
1には補間画素値R(i,j+0.5)が、バス614には画素値
S(i,j)が出力されている。この為、演算素子622で
は、|S(i,j)-R(i,j)|及び|s(i,j)-R(i,j+0.5)|の累積加
算値、つまりブロック間誤差値D0,0ならびにブロック
間誤差値D0,0.5が計算される。演算素子623も演算
素子622と同様の構成をもつが、演算素子623は演
算素子622と違い、バス611ではなくバス612に
接続されている為、|S(i,j)-R(i+0.5,j)|及び|s(i,j)-R
(i+0.5,j+0.5)|の累積加算値、つまりブロック間誤差値
0.5,0ならびにブロック間誤差値D0.5,0.5が計算され
る。
As shown in the timing of (Table 1), the third
Pixel values on the bus 611 every two clock cycles from the clock
R (i, j) and the pixel value S (i, j) are output to the bus 614. In addition, the bus 61 is switched from the fourth clock to the second clock cycle.
1 is the interpolated pixel value R (i, j + 0.5), and bus 614 is the pixel value
S (i, j) is output. Therefore, in the arithmetic element 622, the cumulative addition value of | S (i, j) -R (i, j) | and | s (i, j) -R (i, j + 0.5) | The value D 0,0 and the interblock error value D 0,0.5 are calculated. The arithmetic element 623 also has the same configuration as the arithmetic element 622, but unlike the arithmetic element 622, since the arithmetic element 623 is connected to the bus 612 instead of the bus 611, | S (i, j) -R (i + 0.5, j) | and | s (i, j) -R
(i + 0.5, j + 0.5 ) | of the cumulative addition value, i.e. inter-block error value D 0.5, 0 and inter-block error value D 0.5,0.5 is calculated.

【0016】演算素子622及び演算素子623で計算
されたブロック間誤差値Dv,wは(v,wは0,0.5)、最
小値検出回路624に転送され、ここで最小のブロック
間誤差値Dx,yが求められる。そして、当該ブロックS
から、この最小のブロック間誤差値Dx,yが計算された
試行ブロックRx,yまでの変位量x,y、つまり動きベ
クトルが出力端子625に出力される。
The interblock error value D v, w calculated by the arithmetic elements 622 and 623 (v, w is 0,0.5) is transferred to the minimum value detection circuit 624, where the minimum interblock error value is calculated. D x, y is required. Then, the block S
From this , the displacement amount x, y to the trial block R x, y for which this minimum inter-block error value D x, y is calculated, that is, the motion vector is output to the output terminal 625.

【0017】[0017]

【発明が解決しようとする課題】しかしながら、上記従
来の動きベクトル検出回路では、同回路内に、画素値S
(i,j)と画素値または補間画素値R(i+v,j+w)しか存在し
ない為、演算素子ではブロック間画素値Dv,wしか計算
できず、水平垂直方向に関し共に0〜0.5の探索範囲内の
動きベクトルしか検出できないという問題点を有してい
た。
However, in the above-described conventional motion vector detection circuit, the pixel value S
Since only (i, j) and the pixel value or the interpolated pixel value R (i + v, j + w) exist, only the inter-block pixel value D v, w can be calculated by the arithmetic element, and both 0 to 0 in the horizontal and vertical directions. There was a problem that only motion vectors within the search range of 0.5 could be detected.

【0018】本発明は上記従来の問題点を解決するもの
で、探索範囲を水平に関し−x〜x、垂直方向に関し−
y〜yとした動きベクトルを検出する動きベクトル検出
回路を提供することを目的とする。
The present invention solves the above-mentioned conventional problems. The search range is -x to x in the horizontal direction and -x in the vertical direction.
An object of the present invention is to provide a motion vector detection circuit that detects a motion vector defined as y to y.

【0019】[0019]

【課題を解決するための手段】この目的を達成するため
に本発明の動きベクトル検出回路は、探索範囲内の画素
値を入力し、入力した画素の補間画素値を求め、入力し
た画素値ならびに入力した画素の補間画素値を出力する
補間回路と、当該ブロック内の画素値を入力し、入力し
た当該ブロック内の画素値を遅延させ出力する遅延回路
と、探索範囲内の試行ブロックの数だけ存在し、探索範
囲内の画素値と当該ブロック内の画素値との、または、
探索範囲内の画素から求めた補間画素値と当該ブロック
内の画素値との差分値の絶対値の累積加算値を計算する
演算素子と、上記演算素子で計算された差分値の絶対値
の累積加算値から、最小の差分値の絶対値の累積加算値
を検出し、当該ブロックから最小の差分値の絶対値の累
積加算値を検出した探索範囲内の試行ブロックまでの変
位量を、動きベクトル値として出力する最小値検出回路
を有している。
In order to achieve this object, a motion vector detection circuit of the present invention inputs a pixel value within a search range, obtains an interpolated pixel value of the input pixel, and An interpolation circuit that outputs the interpolated pixel value of the input pixel, a delay circuit that inputs the pixel value in the block and delays and outputs the input pixel value in the block, and the number of trial blocks within the search range The pixel value that exists and is within the search range and the pixel value in the block, or
An arithmetic element for calculating the cumulative addition value of the absolute value of the difference value between the interpolated pixel value obtained from the pixels in the search range and the pixel value in the block, and the accumulation of the absolute value of the difference value calculated by the arithmetic element From the addition value, the cumulative addition value of the absolute value of the minimum difference value is detected, and the displacement amount from the block to the trial block in the search range where the cumulative addition value of the absolute value of the minimum difference value is detected is calculated as a motion vector. It has a minimum value detection circuit that outputs the value.

【0020】[0020]

【作用】この構成によって、遅延回路が、入力した当該
ブロックS内の画素値S(i,j)を遅延させ、演算素子内に
画素値S(i+p,j+q)(p及びqは・・・,-2,-1,0,1,2,・・・)
を出力する事ができる為、各演算素子ではブロック間誤
差値D(v-p),(w-q)が計算でき、水平方向に関して−|
v−p|〜|v−p|、垂直方向−|w−q|〜|w−
q|の探索範囲の動きベクトルを検出することができ
る。
With this configuration, the delay circuit delays the input pixel value S (i, j) in the block S and stores the pixel value S (i + p, j + q) (p and q in the arithmetic element. Is ..., -2, -1,0,1,2, ...)
Since it is possible to output, the inter-block error values D (vp), (wq) can be calculated in each arithmetic element, and − |
v-p |-| v-p, vertical direction- | w-q |-| w-
The motion vector in the search range of q | can be detected.

【0021】[0021]

【実施例】以下に本発明の一実施例について、図面を参
照しながら説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0022】図1は、検出精度を1/2画素精度とした時
の本発明の動きベクトル検出回路の構成図である。図1
において、101は探索範囲内の画素値R(i,j)を入力す
る入力端子、102は入力端子101に入力された画素
値R(i,j)を、入力端子101に1ラインの画素値が入力
される期間だけ遅延させる1ライン遅延器、103〜1
04はそれぞれ入力端子101に入力された画素値R(i,
j)、1ライン遅延器102から出力される値を、入力端
子101に1画素値が入力される期間だけ遅延させる1
画素遅延器、105〜108はそれぞれ入力端子101
に入力された画素値R(i,j)と1画素遅延器103から出
力される値、入力端子101に入力された画素値R(i,j)
と1ライン遅延器102から出力された値、1ライン遅
延器102から出力された値と1画素遅延器104から
出力された値、加算器105から出力された値と加算器
107から出力された値を加算する加算器、109は1
ライン遅延器102、1画素遅延器103〜104及
び、加算器105〜108から構成される補間回路、1
10〜113はそれぞれ、入力端子101に入力された
画素値R(i,j)、加算器105の出力値、加算器106の
出力値、加算器108の出力値が出力されるバスR1
4、114は当該ブロックSの画素値S(i,j)を入力す
る入力端子、115は入力端子114に入力された画素
値S(i,j)を、入力端子114に1ラインの画素値が入力
される期間だけ遅延させる1ライン遅延器、116〜1
17はそれぞれ入力端子114に入力された画素値S(i,
j)、1ライン遅延器115から出力された値を、入力端
子114に1画素値が入力される期間だけ遅延させる1
画素遅延器、118は1ライン遅延器115及び、1画
素遅延器116〜117から構成される遅延回路、11
9〜122はそれぞれ入力端子114に入力された画素
値S(i,j)、1画素遅延器116の出力値、1ライン遅延
器115の出力値、1画素遅延器117の出力値が出力
されるバスS1〜S4、123〜124はラッチ、125
はバス110に出力されている値とバス119に出力さ
れている値の差分値の絶対値を計算し、その値をラッチ
123に出力する絶対値差分回路、126はラッチ12
3に保持された値とラッチ124に保持された値を加算
し、その値をラッチ124に出力する加算器、127は
ラッチ123〜124、絶対値差分回路125及び加算
回路126から構成される演算素子1、128〜135
は演算素子1と同様の構成を持つ演算素子2〜演算素子
9、136は演算素子127〜演算素子135内のラッ
チ124に保持された値から最小値を検出し、それに対
応した動きベクトル値を出力する最小値検出回路、13
7は検出した動きベクトルが出力される出力端子であ
る。
FIG. 1 is a block diagram of the motion vector detection circuit of the present invention when the detection accuracy is 1/2 pixel accuracy. Figure 1
, 101 is an input terminal for inputting the pixel value R (i, j) within the search range, 102 is the pixel value R (i, j) input to the input terminal 101, and the pixel value of one line is input to the input terminal 101 1-line delay device for delaying only the period in which
04 are pixel values R (i,
j) Delay the value output from the 1-line delay unit 102 by a period in which 1 pixel value is input to the input terminal 101 1
Pixel delay devices 105 to 108 are input terminals 101, respectively.
Input pixel value R (i, j) and the value output from the 1-pixel delay unit 103, pixel value R (i, j) input to the input terminal 101
And the value output from the 1-line delay device 102, the value output from the 1-line delay device 102, the value output from the 1-pixel delay device 104, the value output from the adder 105, and the output value from the adder 107 An adder for adding values, 109 is 1
An interpolator composed of a line delay device 102, 1-pixel delay devices 103 to 104, and adders 105 to 108, 1
Each 10-113, is input to the input terminal 101 pixel values R (i, j), the output value of the adder 105, the output value of the adder 106, a bus R 1 output value is output from the adder 108 to
R 4 and 114 are input terminals for inputting the pixel value S (i, j) of the block S, 115 are pixel values S (i, j) input to the input terminal 114, and pixels of one line are input to the input terminal 114. 1-line delay device for delaying only the period in which a value is input, 116 to 1
17 are pixel values S (i,
j) Delay the value output from the 1-line delay device 115 by a period in which 1 pixel value is input to the input terminal 114 1
Pixel delay device 118 is a delay circuit composed of one line delay device 115 and one pixel delay devices 116 to 117.
9 to 122 respectively output the pixel value S (i, j) input to the input terminal 114, the output value of the 1-pixel delay unit 116, the output value of the 1-line delay unit 115, and the output value of the 1-pixel delay unit 117. Buses S 1 to S 4 and 123 to 124 are latches, 125
Is an absolute value difference circuit that calculates the absolute value of the difference value between the value output to the bus 110 and the value output to the bus 119, and outputs that value to the latch 123, and 126 is the latch 12
3 is added to the value held in the latch 124, and the value held in the latch 124 is added, and the adder 127 outputs the value to the latch 124. Operation 127 is composed of the latches 123 to 124, the absolute value difference circuit 125, and the addition circuit 126. Element 1, 128-135
Represents a minimum value from the values held in the latches 124 in the arithmetic elements 127 to 135, and calculates the motion vector value corresponding to the arithmetic elements 2 to 9 and 136 having the same configuration as the arithmetic element 1. Minimum value detection circuit for output, 13
An output terminal 7 outputs the detected motion vector.

【0023】以上のように構成された動きベクトル検出
回路について、説明を簡単にする為に当該ブロックSの
サイズを3×3とし、探索範囲内の画素値R(i,j)、当該
ブロックS内の画素値S(i,j)を用い、(表2)及び(表
3)のタイミングを参照しながら説明する。
In the motion vector detection circuit configured as described above, the size of the block S is set to 3 × 3, and the pixel value R (i, j) within the search range The pixel value S (i, j) in the above will be used to explain with reference to the timings in (Table 2) and (Table 3).

【0024】[0024]

【表2】 [Table 2]

【0025】[0025]

【表3】 [Table 3]

【0026】入力端子101より、(表2)及び(表
3)のタイミングチャートの入力端子101の欄に示す
ように、各クロックに探索範囲内の画素値がR(-1,-1),R
(0,-1),R(1,-1),R(2,-1),R(3,-1),R(-1,0),R(0,0),R(1,
0),R(2,0),R(3,0),・・・,R(3,3)の順に、補間回路109
に入力される。補間回路109では、1ライン遅延器1
02及び1画素遅延器103〜104により、入力端子
101から入力された画素値R(i,j)に対し、1つ前に入
力された画素値、1ライン前に入力された画素値、1ラ
インと1つ前に入力された画素値が求められる。すなわ
ち、これらの画素値は入力端子101から入力された画
素値R(i,j)に対し、それぞれ水平方向に1画素、垂直方
向に1画素、水平垂直方向に1画素ずれた位置のに存在
する画素値R(i-1,j)、画素値R(i,j-1)、画素値R(i-1,j-
1)である。
From the input terminal 101, as shown in the columns of the input terminal 101 in the timing charts of (Table 2) and (Table 3), the pixel value within the search range is R (-1, -1), at each clock. R
(0, -1), R (1, -1), R (2, -1), R (3, -1), R (-1,0), R (0,0), R (1,
0), R (2,0), R (3,0), ..., R (3,3) in that order.
Entered in. In the interpolation circuit 109, the 1-line delay unit 1
02 and the 1-pixel delay devices 103 to 104, the pixel value input one before the pixel value R (i, j) input from the input terminal 101, the pixel value input one line before, The pixel value input immediately before the line is obtained. That is, these pixel values exist at positions shifted by 1 pixel in the horizontal direction, 1 pixel in the vertical direction, and 1 pixel in the horizontal and vertical directions with respect to the pixel value R (i, j) input from the input terminal 101. Pixel value R (i-1, j), pixel value R (i, j-1), pixel value R (i-1, j-
1).

【0027】次に、加算器105により画素値R(i,j)と
画素値R(i-1,j)の加算値R(i,j)+R(i-1,j)が計算され、
更にこの加算値R(i,j)+R(i-1,j)が1/2され、画素値R(i,
j)と画素値R(i-1,j)の補間画素値R(i-0.5,j)が、加算器
106により画素値R(i,j)と画素値R(i,j-1)の加算値R
(i,j)+R(i,j-1)が計算され、更にこの加算値R(i,j)+R
(i,j-1)が1/2され、画素値R(i,j)と画素値R(i,j-1)の補
間画素値R(i,j-0.5)が、加算器107により画素値R(i,
j-1)と画素値R(i-1,j-1)の加算値R(i,j-1)+R(i-1,j-1)
が計算され、加算器108により上記加算器105の出
力する加算値R(i,j)+R(i,j-1)と上記加算器107から
出力される加算値R(i,j-1)+R(i-1,j-1)の加算値R(i,j)+
R(i-1,j)+R(i,j-1)+R(i-1,j-1)が計算され、更にこの加
算値R(i,j)+R(i-1,j)+R(i,j-1)+R(i-1,j-1)が1/4され、
画素値R(i,j)と画素値R(i-1,j)と画素値R(i,j)と画素値
R(i,j-1)の補間画素値R(i-0.5,j-0.5)が求められる。
Next, the adder 105 calculates the sum R (i, j) + R (i-1, j) of the pixel value R (i, j) and the pixel value R (i-1, j). ,
Further, the added value R (i, j) + R (i-1, j) is halved to obtain the pixel value R (i, j
j) and the interpolated pixel value R (i-0.5, j) between the pixel value R (i-1, j) and the pixel value R (i, j) and the pixel value R (i, j-1) by the adder 106. Addition value R
(i, j) + R (i, j-1) is calculated, and this added value R (i, j) + R
(i, j-1) is halved, and the pixel value R (i, j) and the interpolated pixel value R (i, j-0.5) of the pixel value R (i, j-1) are added by the adder 107. Pixel value R (i,
j-1) and pixel value R (i-1, j-1) added value R (i, j-1) + R (i-1, j-1)
Is calculated, and the added value R (i, j) + R (i, j-1) output from the adder 105 and the added value R (i, j-1) output from the adder 107 are calculated by the adder 108. ) + R (i-1, j-1) addition value R (i, j) +
R (i-1, j) + R (i, j-1) + R (i-1, j-1) is calculated, and this added value R (i, j) + R (i-1, j ) + R (i, j-1) + R (i-1, j-1) is 1/4,
Pixel value R (i, j) and pixel value R (i-1, j) and pixel value R (i, j) and pixel value
The interpolated pixel value R (i-0.5, j-0.5) of R (i, j-1) is obtained.

【0028】そして、入力端子101から入力された画
素値R(i,j)がそのままバス110に出力されると共に、
求められた補間画素値R(i-0.5,j)、補間画素値R(i,j-0.
5)、補間画素値R(i-0.5,j-0.5)がそれぞれ、バス11
1、バス112、バス113に出力されるので、この結
果、110から113のバスR1〜バスR4には、図2及
び図3のバスR1〜バスR4の欄に示す様な値が出力され
る。
Then, the pixel value R (i, j) input from the input terminal 101 is directly output to the bus 110, and
Obtained interpolation pixel value R (i-0.5, j), interpolation pixel value R (i, j-0.
5), interpolation pixel value R (i-0.5, j-0.5)
1, bus 112, because the output to the bus 113, As a result, the 110 from 113 buses R 1 ~ Bus R 4 of, such as shown in the column buses R 1 ~ Bus R 4 in FIG. 2 and FIG. 3 values Is output.

【0029】また、入力端子114からは、図2及び図
3の入力端子114の欄に示すように、各クロックに当
該ブロックS内の画素値がS(0,0),S(0,1),S(0,2),S(1,
0),S(1,1),S(1,2),S(2,0),S(2,1),S(2,2),S(2,3)の順に
入力される。
Further, from the input terminal 114, as shown in the column of the input terminal 114 in FIGS. 2 and 3, the pixel values in the block S at each clock are S (0,0), S (0,1). ), S (0,2), S (1,
0), S (1,1), S (1,2), S (2,0), S (2,1), S (2,2), S (2,3) are input in this order.

【0030】入力された画素値S(i,j)は遅延回路118
に入力される。遅延回路118では、1ライン遅延器1
15及び、1画素遅延器116〜117により、入力端
子114から入力された画素値S(i,j)に対し、1つ前に
入力された画素値、1ライン前に入力された画素値、1
ラインと1つ前に入力された画素値が求められる。すな
わち、これらの画素値は入力端子114から入力された
画素値S(i,j)に対し、それぞれ水平方向に1画素、垂直
方向に1画素、水平垂直方向に1画素ずれた位置に存在
する画素値S(i-1,j)、画素値S(i,j-1)、画素値S(i-1,j-
1)である。そして、入力端子114から入力された画素
値S(i,j)がそのままバスS1 119に出力すると共に、
求められた画素値S(i-1,j)、画素値S(i,j-1)、画素値S
(i-1,j-1)が、それぞれバスS2 120、バスS3
21、バスS4 122に出力されるので、この結果1
19〜122のバスS1〜バスS4には、(表2)及び
(表3)のバスS1〜バスS4の欄に示す様な値が出力さ
れる。
The input pixel value S (i, j) is delayed by the delay circuit 118.
Entered in. In the delay circuit 118, the 1-line delay unit 1
15 and the pixel value input from the input terminal 114 by the 15 and 1-pixel delay units 116 to 117, the pixel value input immediately before, the pixel value input one line before, 1
The pixel value input immediately before the line is obtained. That is, these pixel values exist at positions shifted by 1 pixel in the horizontal direction, 1 pixel in the vertical direction, and 1 pixel in the horizontal and vertical directions with respect to the pixel value S (i, j) input from the input terminal 114. Pixel value S (i-1, j), pixel value S (i, j-1), pixel value S (i-1, j-
1). Then, the pixel value S (i, j) input from the input terminal 114 is directly output to the bus S 1 119, and
Obtained pixel value S (i-1, j), pixel value S (i, j-1), pixel value S
(i-1, j-1) are bus S 2 120 and bus S 3 1 respectively
21 and output to bus S 4 122, so this result 1
The bus S 1 ~ Bus S 4 of 19 to 122, (Table 2) and values such as shown in the column buses S 1 ~ Bus S 4 (Table 3) is output.

【0031】演算素子126では、以下の動作がパイプ
ラインで行われる。絶対値差分回路125により、バス
110に出力されている画素値R(i,j)と、バス119に
出力されている画素値S(i,j)の差分値の絶対値|R(i,j)-
S(i,j)|が計算され、その値がラッチ122に保持され
る。そして、加算器125とラッチ123により構成さ
れる累積加算回路により、ラッチ122に保持される差
分値の絶対値|S(i,j)-R(i,j)|の累積加算値、つまりブ
ロック間誤差値D0,0が計算され、その値がラッチ12
3に保持される。
In the arithmetic element 126, the following operations are performed in a pipeline. By the absolute value difference circuit 125, the absolute value | R (i, j of the difference value between the pixel value R (i, j) output to the bus 110 and the pixel value S (i, j) output to the bus 119. j)-
S (i, j) | is calculated and the value is held in the latch 122. Then, by the cumulative addition circuit configured by the adder 125 and the latch 123, the cumulative addition value of the absolute value | S (i, j) -R (i, j) | of the difference value held in the latch 122, that is, the block The inter-error value D 0,0 is calculated and that value is latched 12
Held at 3.

【0032】127〜134の演算素子2〜演算素子9
も演算素子126と同様の構成もつが、各演算素子内の
絶対値差分回路125に接続されているバスの組み合わ
せがそれぞれ異なる為に、(表4)に示す様なブロック
間誤差値Dk,lが計算される(k、lは-0.5,0,0.5)。
Calculation elements 2 to 9 of 127 to 134
Also has the same configuration as the arithmetic element 126, but since the combinations of buses connected to the absolute value difference circuit 125 in each arithmetic element are different, the inter-block error value D k, l is calculated (k, l is -0.5,0,0.5).

【0033】[0033]

【表4】 [Table 4]

【0034】127〜136の演算素子1〜演算素子9
で計算されたブロック間誤差値Dk, lは、最小値検出回
路137に転送され、ここで最小のブロック間誤差値D
x,yが求められる。そして、当該ブロックSから、その
求められた最小のブロック間誤差値Dx,yが計算された
試行ブロックRx,yまでの変位量x,y、つまり動きベ
クトルが出力端子137に出力される。
Calculation elements 1 to 9 of 127 to 136
The inter-block error value D k, l calculated in step 1 is transferred to the minimum value detection circuit 137, where the minimum inter-block error value D
x, y is required. Then, the displacement amount x, y from the block S to the trial block R x, y for which the calculated minimum inter-block error value D x, y is calculated, that is, the motion vector is output to the output terminal 137. .

【0035】以上のように本実施例によれば、補間回路
109により、入力した探索範囲内の画素値R(i,j)から
画素値R(i,j)、補間画素値R(i-0.5,j)、補間画素値R(i,
j-0.5)、補間画素値R(i-0.5,j-0.5)が求められ、遅延回
路118により、入力した当該ブロック内の画素値S(i,
j)が遅延され、画素値S(i,j)、画素値S(i-1,j)、画素値
S(i,j-1)、画素値S(i-1,j-1)が求められ、これら求めた
画素値が、127〜135の演算素子1〜演算素子9内
の絶対値差分回路125に、(表4)に示す様な組み合
わせで入力される為、差分値の絶対値の累積加算値を計
算する、127〜135の演算素子1〜演算素子9に
は、ブロック間誤差値Dk,lが計算される。そして、最
小値検出回路136により、上記127〜135の演算
素子1〜演算素子9で計算されたブロック間誤差値D
k,lの中から最小のブロック間誤差値Dx,y及び、当該ブ
ロックSからその最小のブロック間誤差値Dx,yが計算
された試行ブロックRx,yまでの変位量x,yが検出さ
れるので、水平垂直方向に関し共に-0.5〜0.5の探索範
囲から1/2画素精度の動きベクトルを検出することがで
きる。
As described above, according to this embodiment, the interpolation circuit 109 causes the pixel value R (i, j) within the input search range to the pixel value R (i, j) and the interpolation pixel value R (i- 0.5, j), interpolation pixel value R (i,
j-0.5) and the interpolated pixel value R (i-0.5, j-0.5) are obtained, and the delay circuit 118 inputs the pixel value S (i,
j) is delayed, pixel value S (i, j), pixel value S (i-1, j), pixel value
S (i, j-1) and the pixel value S (i-1, j-1) are obtained, and the obtained pixel values are the absolute value difference circuits 125 in the arithmetic elements 1 to 9 of 127 to 135. Since the input is made in the combination as shown in (Table 4), the inter-block error value D k is calculated in the arithmetic elements 1 to 9 of 127 to 135 for calculating the cumulative addition value of the absolute values of the difference values. , l is calculated. Then, the inter-block error value D calculated by the arithmetic element 1 to arithmetic element 9 of 127 to 135 by the minimum value detection circuit 136.
The minimum inter-block error value D x, y from k, l and the displacement amount x, y from the block S to the trial block R x, y in which the minimum inter-block error value D x, y is calculated. Is detected, it is possible to detect a half-pixel precision motion vector from the search range of -0.5 to 0.5 in both the horizontal and vertical directions.

【0036】なお、本実施例では、1/2画素精度の動き
ベクトルを検出したが、1/z画素精度の動きベクトル検
出を検出する場合、図2に示した様な補間回路により、
検出精度の画素値または補間画素値R(i-k,j-k)(kは
0、1/z、2/z、3/z...(z-1)/z)を発生させ、探索範囲内
の試行ブロックの数だけ存在する各演算素子内の絶対値
差分回路に、以下に示す組み合わせの接続をすれば(a
は0、1/z、2/z、3/z...(z-1)/z、bは1/z、2/z、3/z...
(z-1)/z) R(i-a,j-a)とS(i,j) R(i-b,j-a)とS(i-1,j) R(1-a,j-b)とS(i,j-1) R(i-b,j-b)とS(i-1,j-1) 各演算素子ではブロック間誤差値Dc,dが計算されるの
で(c,dは-(z-1)/z、-(z-2)/z、-(z-3)/z...-1/z、
0、1/z、2/z、3/z...(z-1)/z)、水平垂直方向に関し共
に-(z-1)/z〜(z-1)/zの探索範囲内から1/z画素精度の動
きベクトルを検出できる事は言うまでもない。なお、図
3は図2における回路Aの詳細ブロック結線図である。
In this embodiment, the 1 / 2-pixel precision motion vector is detected. However, when detecting the 1 / z pixel precision motion vector detection, the interpolation circuit as shown in FIG.
Pixel value of detection accuracy or interpolated pixel value R (ik, jk) (k is
0, 1 / z, 2 / z, 3 / z ... (z-1) / z) is generated, and in the absolute value difference circuit in each arithmetic element existing by the number of trial blocks in the search range, If you connect the following combinations (a
0, 1 / z, 2 / z, 3 / z ... (z-1) / z, b is 1 / z, 2 / z, 3 / z ...
(z-1) / z) R (ia, ja) and S (i, j) R (ib, ja) and S (i-1, j) R (1-a, jb) and S (i, j -1) R (ib, jb) and S (i-1, j-1) Since the inter-block error value D c, d is calculated in each arithmetic element (c and d are-(z-1) / z ,-(Z-2) / z,-(z-3) / z ...- 1 / z,
0, 1 / z, 2 / z, 3 / z ... (z-1) / z), both in the horizontal and vertical directions within the search range of-(z-1) / z ~ (z-1) / z It goes without saying that it is possible to detect a motion vector with 1 / z pixel accuracy from. 3 is a detailed block connection diagram of the circuit A in FIG.

【0037】[0037]

【発明の効果】以上のように本発明は、探索範囲内の画
素値を入力し、入力した画素の補間画素値を求め、入力
した画素値ならびに入力した画素の補間画素値を出力す
る補間回路と、当該ブロック内の画素値を入力し、入力
した当該ブロック内の画素値を遅延させ出力する遅延回
路と、探索範囲内の試行ブロックの数だけ存在し、探索
範囲内の画素値と当該ブロック内の画素値との、または
探索範囲内の画素から求めた補間画素値と当該ブロック
内の画素値との差分値の絶対値の累積加算値を計算する
演算素子と、上記演算素子で計算された差分値の絶対値
の累積加算値から、最小の差分値の絶対値の累積加算値
を検出し、当該ブロックから最小の差分値の絶対値の累
積加算値を検出した探索範囲内の試行ブロックまでの変
位量を、動きベクトル値として出力する最小値検出回路
を設ける事により、上記遅延回路が、入力した当該ブロ
ック内の画素値を上記補間回路の出力に合わせて遅延さ
せる為、従来の動きベクトル検出回路では検出不可能で
あった水平方向−x〜x、垂直方向−y〜yの探索範囲
から、検出精度を高めた動きベクトルを検出できる優れ
た動きベクトル検出回路を実現できるものである。
INDUSTRIAL APPLICABILITY As described above, the present invention inputs an pixel value within a search range, obtains an interpolated pixel value of an input pixel, and outputs an input pixel value and an interpolated pixel value of an input pixel. And a delay circuit for inputting the pixel value in the block, delaying and outputting the input pixel value in the block, and the number of trial blocks in the search range, the pixel value in the search range and the block An arithmetic element for calculating the cumulative addition value of the absolute value of the difference value between the pixel value in the block or the pixel value in the block and the interpolated pixel value obtained from the pixel in the search range, and the arithmetic element The trial block in the search range in which the cumulative addition value of the absolute values of the minimum difference values is detected from the cumulative addition value of the absolute values of the difference values, and the cumulative addition value of the absolute values of the minimum difference values is detected from the block. The amount of displacement up to By providing the minimum value detection circuit that outputs as a pixel value, the delay circuit delays the input pixel value in the block according to the output of the interpolation circuit, so it cannot be detected by the conventional motion vector detection circuit. It is possible to realize an excellent motion vector detection circuit that can detect a motion vector with higher detection accuracy from the search range of -x to x in the horizontal direction and -y to y in the vertical direction.

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

【図1】本発明の一実施例における動きベクトル検出回
路のブロック結線図
FIG. 1 is a block connection diagram of a motion vector detection circuit according to an embodiment of the present invention.

【図2】同実施例における動きベクトル検出回路の要部
である1/z画素精度の補間値を出力する補間回路のブロ
ック結線図
FIG. 2 is a block connection diagram of an interpolation circuit that outputs an interpolation value of 1 / z pixel precision, which is a main part of the motion vector detection circuit in the embodiment.

【図3】同補間回路の要部ブロック結線図FIG. 3 is a block diagram of a main part of the interpolation circuit.

【図4】従来のブロックマッチング法の概念図FIG. 4 is a conceptual diagram of a conventional block matching method.

【図5】従来の動きベクトル検出回路のブロック結線図FIG. 5 is a block connection diagram of a conventional motion vector detection circuit.

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

101 入力端子 102 1ライン遅延器 103〜104 1画素遅延器 105〜108 加算器 109 補間回路 110〜113 バスR1〜バスR4 114 入力端子 115 1ライン遅延器 116〜117 1画素遅延器 118 遅延回路 119〜122 バスS1〜バスS4 123〜124 ラッチ 125 絶対値差分回路 126 加算器 127〜135 演算素子1〜演算素子9 136 最小値検出回路 137 出力端子 601〜602 入力端子 603 加算器 604 選択器 605 補間回路V 606〜608 ラッチ 609 加算器 610 補間回路H 611〜612 バスR1〜バスR2 613 入力端子 614 バスS 615〜618 ラッチ 619 減算器 620 絶対値回路 621 加算器 622〜623 演算素子1〜演算素子2 624 最小値検出回路 625 出力端子101 Input Terminal 102 1 Line Delay Device 103-104 1 Pixel Delay Device 105-108 Adder 109 Interpolation Circuit 110-113 Bus R 1 -Bus R 4 114 Input Terminal 115 1 Line Delay Device 116-117 1 Pixel Delay Device 118 Delay Circuit 119 to 122 Bus S 1 to Bus S 4 123 to 124 Latch 125 Absolute value difference circuit 126 Adder 127 to 135 Calculation element 1 to calculation element 9 136 Minimum value detection circuit 137 Output terminal 601 to 602 Input terminal 603 Adder 604 Selector 605 Interpolation circuit V 606 to 608 Latch 609 Adder 610 Interpolation circuit H 611 to 612 Bus R 1 to Bus R 2 613 Input terminal 614 Bus S 615 to 618 Latch 619 Subtractor 620 Absolute value circuit 621 Adder 622 to 623 Arithmetic element 1 to arithmetic element 2 624 Small value detection circuit 625 outputs terminal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 探索範囲内の画素値を入力し、入力した
画素の補間画素値を求め、入力した画素値ならびに入力
した画素の補間画素値を出力する補間回路と、当該ブロ
ック内の画素値を入力し、入力した当該ブロック内の画
素値を遅延させ出力する遅延回路と、探索範囲内の試行
ブロックの数だけ存在し、探索範囲内の画素値と当該ブ
ロック内の画素値との、または探索範囲内の画素から求
めた補間画素値と当該ブロック内の画素値との差分値の
絶対値の累積加算値を計算する演算素子と、上記演算素
子で計算された差分値の絶対値の累積加算値から、最小
の差分値の絶対値の累積加算値を検出し、当該ブロック
から最小の差分値の絶対値の累積加算値を検出した探索
範囲内の試行ブロックまでの変位量を、動きベクトル値
として出力する最小値検出回路を備え、上記遅延回路
が、入力した当該ブロック内の画素値を上記補間回路の
出力に合わせて遅延させる事により、水平方向に関し−
x〜x、垂直方向に関し−y〜yの探索範囲から検出精
度を高めた動きベクトルを検出できる事を特徴とした動
きベクトル検出回路。
1. An interpolation circuit which inputs a pixel value within a search range, obtains an interpolated pixel value of the input pixel, and outputs an input pixel value and an interpolated pixel value of the input pixel, and a pixel value in the block. A delay circuit that delays and outputs the input pixel value in the block, and the number of trial blocks in the search range exists, and the pixel value in the search range and the pixel value in the block, or An arithmetic element for calculating the cumulative addition value of the absolute value of the difference value between the interpolated pixel value obtained from the pixels in the search range and the pixel value in the block, and the accumulation of the absolute value of the difference value calculated by the arithmetic element From the addition value, the cumulative addition value of the absolute value of the minimum difference value is detected, and the displacement amount from the block to the trial block in the search range where the cumulative addition value of the absolute value of the minimum difference value is detected is calculated as a motion vector. Minimum output as a value A value detection circuit is provided, and the delay circuit delays the input pixel value in the block in accordance with the output of the interpolation circuit, thereby
A motion vector detection circuit characterized by being able to detect a motion vector with higher detection accuracy from a search range of -y to y in the x to x and vertical directions.
JP32907893A 1993-12-24 1993-12-24 Motion vector detection circuit Expired - Lifetime JP3052711B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP32907893A JP3052711B2 (en) 1993-12-24 1993-12-24 Motion vector detection circuit
US08/363,120 US5659364A (en) 1993-12-24 1994-12-23 Motion vector detection circuit
US08/903,024 US5793443A (en) 1993-12-24 1997-07-30 Motion vector detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32907893A JP3052711B2 (en) 1993-12-24 1993-12-24 Motion vector detection circuit

Publications (2)

Publication Number Publication Date
JPH07184211A true JPH07184211A (en) 1995-07-21
JP3052711B2 JP3052711B2 (en) 2000-06-19

Family

ID=18217381

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32907893A Expired - Lifetime JP3052711B2 (en) 1993-12-24 1993-12-24 Motion vector detection circuit

Country Status (1)

Country Link
JP (1) JP3052711B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0896301A1 (en) * 1997-08-06 1999-02-10 Victor Company Of Japan, Limited Stereoscopic image interpolating apparatus and method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05328332A (en) * 1992-05-14 1993-12-10 Nippon Telegr & Teleph Corp <Ntt> High parallel movement-compensated computing element

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05328332A (en) * 1992-05-14 1993-12-10 Nippon Telegr & Teleph Corp <Ntt> High parallel movement-compensated computing element

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0896301A1 (en) * 1997-08-06 1999-02-10 Victor Company Of Japan, Limited Stereoscopic image interpolating apparatus and method

Also Published As

Publication number Publication date
JP3052711B2 (en) 2000-06-19

Similar Documents

Publication Publication Date Title
JP2636674B2 (en) Video motion vector detection device
JP3863376B2 (en) Motion estimator
JPH03501541A (en) Method and device for predicting motion within a video frame
KR101578052B1 (en) Motion estimation device and Moving image encoding device having the same
US5357287A (en) Method of and apparatus for motion estimation of video data
JP2007060673A (en) Device and method for image prediction, device and method for image encoding and decoding, recording medium, and program
JPH043595A (en) Moving information detection system for moving picture and prediction coding system for inter-frame moving compensation for moving picture
JPH07184211A (en) Motion vector detection circuit
US8200032B2 (en) Image processing method and related apparatus for performing image processing operation according to image blocks in horizontal direction
JPWO2004012460A1 (en) Motion vector detection apparatus and motion vector detection method
JPH06225287A (en) Arithmetic circuit
JP2885039B2 (en) Motion vector detection circuit
JP2934146B2 (en) Block matching method and apparatus in video compression
JP4160855B2 (en) Block matching image processing device
Ciuhu et al. A two-dimensional generalized sampling theory and application to de-interlacing
JP2768644B2 (en) Motion vector search method and search device
JP3903358B2 (en) Motion vector evaluation method and apparatus
JP2866325B2 (en) Motion vector search device
JP2934134B2 (en) Block matching method and apparatus in video compression
JP2768647B2 (en) Motion vector search method and search device
JP4972321B2 (en) Method and apparatus for scanning pixels in a sequence of images representing temporal recurrence and method and apparatus for estimating current frame motion with respect to a reference frame
JP2866324B2 (en) Motion vector search device
JP2866321B2 (en) Motion vector search method and apparatus
JPH03191688A (en) Method for estimating extension and reduction and parallel movement parameters of image
JP6155087B2 (en) Motion estimation apparatus and program

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080407

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090407

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100407

Year of fee payment: 10

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110407

Year of fee payment: 11

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120407

Year of fee payment: 12

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120407

Year of fee payment: 12

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130407

Year of fee payment: 13

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130407

Year of fee payment: 13

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140407

Year of fee payment: 14

EXPY Cancellation because of completion of term