JP2906684B2 - Motion detection device - Google Patents

Motion detection device

Info

Publication number
JP2906684B2
JP2906684B2 JP3022302A JP2230291A JP2906684B2 JP 2906684 B2 JP2906684 B2 JP 2906684B2 JP 3022302 A JP3022302 A JP 3022302A JP 2230291 A JP2230291 A JP 2230291A JP 2906684 B2 JP2906684 B2 JP 2906684B2
Authority
JP
Japan
Prior art keywords
pixels
pixel
reference data
data block
pel
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
JP3022302A
Other languages
Japanese (ja)
Other versions
JPH04261288A (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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP3022302A priority Critical patent/JP2906684B2/en
Priority to KR1019920000895A priority patent/KR100247880B1/en
Priority to EP19920300778 priority patent/EP0497586A3/en
Publication of JPH04261288A publication Critical patent/JPH04261288A/en
Priority to US08/286,388 priority patent/US5586202A/en
Application granted granted Critical
Publication of JP2906684B2 publication Critical patent/JP2906684B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えば動画像データの
高能率符号化で、動きベクトルの検出等に用いられる動
き検出装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a motion detecting apparatus used for detecting a motion vector in, for example, high-efficiency coding of moving image data.

【0002】[0002]

【従来の技術】例えば動画像データの高能率符号化で、
動きベクトルの検出等を行うために動き検出装置が用い
られる。このような動き検出装置において、演算は1画
素(1ペル)精度の検出を行う第1のステージと、0.
5ペル(ハーフペル)精度の検出を行う第2のステージ
とに分けられる。このような動き検出装置として、本願
発明者は先にいわゆるフルサーチ・ブロックマッチング
によって1ペル精度の検出を行うための装置を提案して
いる(特願平3−10551号)。またこのような1ペ
ル精度の検出を行った後に、さらにハーフペル精度の検
出を行うための装置も提案している(特願平3−143
10号)。
2. Description of the Related Art For example, in highly efficient coding of moving image data,
A motion detection device is used for detecting a motion vector and the like. In such a motion detection device, the operation is performed by a first stage for detecting one pixel (one pel) with accuracy, and a first stage for detecting the accuracy of one pixel.
It is divided into a second stage for detecting 5-pel (half-pel) accuracy. As such a motion detecting device, the present inventor has previously proposed a device for performing one-pel accuracy detection by so-called full search block matching (Japanese Patent Application No. 3-10551). An apparatus for detecting half-pel accuracy after detecting such one-pel accuracy has also been proposed (Japanese Patent Application No. 3-143).
No. 10).

【0003】すなわちこれらの装置において、1ペル精
度の検出は例えばe×f画素の捜索範囲内でg×p画素
の基準データブロックが取りうる画素同士の対応状態毎
に基準データブロック内の各画素と捜索範囲内の対応画
素との差分絶対値の和を演算して、この和が最小になる
g×p画素のブロックの位置を検出するものである。こ
れに対してハーフペル精度の検出を行う場合には、隣接
する画素間の平均値と基準データブロック内の画素とを
比較するようになし、この基準データブロック内の画素
との各対応状態毎に差分絶対値の和を得るようになす。
ここで上述の1ペル精度の検出が行われている場合に
は、ハーフペル精度の検出では検出されたg×p画素の
ブロックに対して、その周囲を1画素ずつ広げた(g+
2)×(p+2)画素について演算を行えばよい。
That is, in these devices, 1-pel accuracy detection is performed, for example, for each pixel in the reference data block for each correspondence state of pixels that can be taken by the reference data block of g × p pixels within the search range of e × f pixels. And the sum of absolute differences between the pixel and the corresponding pixel in the search range is calculated, and the position of the block of g × p pixels at which the sum is minimized is detected. On the other hand, when half-pel accuracy is detected, the average value between adjacent pixels is compared with the pixels in the reference data block, and for each corresponding state with the pixels in the reference data block. The sum of absolute differences is obtained.
Here, when the above-described one-pel accuracy detection is performed, the periphery of the block of g × p pixels detected by the half-pel accuracy detection is expanded by one pixel (g + p).
2) The operation may be performed on (p + 2) pixels.

【0004】そこでこれらの装置を連結して、ハーフペ
ル精度の検出までを行う装置を構成する場合に、例えば
上述の提案された装置では1ペル精度の検出をg×pサ
イクルの処理で検出を行うことができ、リアルタイムの
処理を行うことができる。ところがハーフペル精度の検
出では、処理を行うのに(g+2)×(p+2)サイク
ルが必要になる。このためこの処理もリアルタイムで行
う場合には、このハーフペル精度の検出を行う装置の処
理速度を(g+2)×(p+2)/g×p倍に高速化し
なければならず、特別な装置が必要となったり、また画
像データの転送にも複雑な回路装置を設けなくてはなら
なかった。
Therefore, when these devices are connected to constitute a device that performs detection up to half-pel accuracy, for example, in the above-described proposed device, detection of one pel accuracy is detected by processing of g × p cycles. And can perform real-time processing. However, in the detection with half-pel accuracy, (g + 2) × (p + 2) cycles are required to perform the processing. Therefore, when this processing is also performed in real time, the processing speed of the device for detecting the half-pel accuracy must be increased to (g + 2) × (p + 2) / g × p times, and a special device is required. In addition, complicated circuit devices have to be provided for transferring image data.

【0005】[0005]

【発明が解決しようとする課題】解決しようとする問題
点は、装置を連結してハーフペル精度の検出までを行う
装置を構成する場合に、そのままでは一部の装置の処理
速度を高速化しなければならず、特別な装置が必要とな
ったり、画像データの転送に複雑な回路装置を設けなく
てはならないというものである。
The problem to be solved is that, when a device is connected to perform detection up to half-pel accuracy, the processing speed of some devices must be increased as it is. In addition, a special device is required, and a complicated circuit device must be provided for transferring image data.

【0006】[0006]

【課題を解決するための手段】本発明は、所定画素数に
て構成された捜索範囲内の画素と上記所定画素数より小
なる画素数にて構成される第1の基準データブロック内
の画素とをその配列状態に基づいて比較する際、上記捜
索範囲(入力端子4)内で上記第1の基準データブロッ
ク(入力端子1)が取りうる画素同士の対応状態毎に上
記第1の基準データブロック内の各画素と上記捜索範囲
内の対応画素との差分絶対値の和を演算する第1の演算
手段(1ペル精度の動き検出回路3)と、上記捜索範囲
内における1画素以下の動き状態を検出する際、隣接す
る画素(RAM17a、17b)間の平均値と第2の基
準データブロック(遅延回路22)内の画素とを比較す
るようになし、この第2の基準データブロック内の画素
との各対応状態毎に更に差分絶対値の和を得るようにな
す第2の演算手段(ハーフペル精度の動き検出回路2
1)とを有し、上記第2の基準データブロックの画素数
を、上記第2の演算手段での処理サイクル数を上記第1
の演算手段での処理サイクル数と等しくするような上記
第1の基準データブロックの画素数(6×6)より小な
画素数(4×4)としたことを特徴とする動き検出装
置である。
According to the present invention, a pixel within a search range constituted by a predetermined number of pixels and a pixel in a first reference data block constituted by a number of pixels smaller than the predetermined number of pixels are provided. Are compared with each other based on the arrangement state, the first reference data is set for each corresponding state of pixels that can be taken by the first reference data block (input terminal 1) within the search range (input terminal 4). First calculating means (a motion detecting circuit 3 with one-pel accuracy) for calculating the sum of absolute differences between each pixel in the block and a corresponding pixel in the search range, and a motion of one pixel or less in the search range When detecting the state, the average value between adjacent pixels (RAMs 17a and 17b) is compared with the pixels in the second reference data block (delay circuit 22). For each correspondence state with pixels Second arithmetic means for forming as further obtain a sum of absolute difference (half-pel precision motion detection circuit 2
1) the number of pixels of the second reference data block
With the number of processing cycles in the second arithmetic means
Wherein the number of pixels (4 × 4) is smaller than the number of pixels (6 × 6) of the first reference data block so as to be equal to the number of processing cycles in the calculating means. .

【0007】[0007]

【作用】これによれば、第2の基準データブロックの画
素数が第1の基準データブロックの画素数より小となる
ようにしたことにより、第2の演算手段での処理サイク
ル数を第1の演算手段での処理サイクル数と等しくする
ことができ、処理速度や画像データの転送の問題を解消
して、簡単な構成でハーフペル精度の検出までを行うこ
とができる。
According to this, the number of pixels of the second reference data block is set to be smaller than the number of pixels of the first reference data block. Can be made equal to the number of processing cycles in the calculating means, and the problems of processing speed and image data transfer can be solved, and half-pel accuracy can be detected with a simple configuration.

【0008】[0008]

【実施例】図1は装置の構成を示す。なおここでは、具
体例として捜索範囲11×11画素、基準データブロッ
ク6×6画素とした場合について述べているが、勿論こ
れは、一般化(捜索範囲e×f画素、基準データブロッ
クg×p画素)することができる。
FIG. 1 shows the structure of the apparatus. Here, a case where the search range is 11 × 11 pixels and the reference data block is 6 × 6 pixels is described as a specific example, but this is of course generalized (search range e × f pixels, reference data block g × p Pixel).

【0009】この図において、入力端子1には例えば図
2に示すような基準データブロックの36画素aI (I
=0〜35)がa0 から順に入力される。この入力され
た各画素aI は36段のシフトレジスタ2に格納された
後、1ペル精度の動き検出回路3に供給される。
In FIG. 1, an input terminal 1 has, for example, 36 pixels a I (I) of a reference data block as shown in FIG.
= 0 to 35 ) are sequentially input from a0. Each of the input pixels a I is stored in the 36-stage shift register 2 and then supplied to the 1-pel precision motion detection circuit 3.

【0010】また入力端子4には捜索範囲の画素(1フ
レーム前)が例えば図3のAに示すような順序で入力さ
れる。この入力端子4からの各画素は動き検出回路3の
入力Dに供給されると共に、36サイクル期間の遅延回
路5を通じて動き検出回路3の入力Cに供給される。ま
た入力端子4からの各画素は6水平期間の遅延回路6を
通じて動き検出回路3の入力Bに供給されると共に、さ
らに36サイクル期間の遅延回路7を通じて動き検出回
路3の入力Aに供給される。従って動き検出回路3には
図3のBに示すように各画素が入力される。なお捜索範
囲が11×11画素の場合、斜線を付したB5 ・・・B
35、C30〜C35、D5 ・・・D29〜C35の各画素は捜索
範囲外のデータであり、ダミーデータと見做される。
The input terminal 4 receives pixels in the search range (one frame before) in the order shown in FIG. 3A, for example. Each pixel from the input terminal 4 is supplied to the input D of the motion detection circuit 3 and is also supplied to the input C of the motion detection circuit 3 through the delay circuit 5 for a 36-cycle period. Each pixel from the input terminal 4 is supplied to the input B of the motion detection circuit 3 through the delay circuit 6 for 6 horizontal periods, and further to the input A of the motion detection circuit 3 through the delay circuit 7 for 36 cycle periods. . Accordingly, each pixel is input to the motion detection circuit 3 as shown in FIG. If the search range is 11 × 11 pixels, the shaded B 5 ... B
35, C 30 ~C 35, D 5 each pixel of the ··· D 29 ~C 35 is searched
The data is out of the range, and is regarded as dummy data .

【0011】これによって動き検出回路3で1ペル精度
の動き検出が行われる。すなわちこの動き検出回路3に
は、例えば36個の差分絶対値計算回路及び累加算回路
と、これらの累加算値を比較する比較回路が設けられ、
上述のシフトレジスタ2から供給される各画素aI の値
及び入力A〜Dに供給される各画素AK 〜DK の値に応
じて Σ|XK −aI |(但し、X=A〜D、K,I=0〜3
5) が計算されて、この累加算値が最小となる1ペル精度の
動きベクトル(i,j)が検出される。この検出された
1ペル精度の動きベクトル(i,j)がラッチ回路8〜
10を通じて動きベクトルの整数部の出力端子11に出
力される。
As a result, the motion detection circuit 3 performs motion detection with one-pel accuracy. That is, the motion detection circuit 3 is provided with, for example, 36 difference absolute value calculation circuits and accumulation circuits, and a comparison circuit for comparing these accumulated values.
Each pixel A K to D depending on the value of K sigma supplied to the values and input A~D of each pixel a I supplied from the shift register 2 above | X K -a I | (where, X = A ~ D, K, I = 0 ~ 3
5) is calculated, and a 1-pel precision motion vector (i, j) in which the accumulated value is minimized is detected. The detected 1-pel precision motion vector (i, j) is stored in the latch circuits 8 to
The signal is output to the output terminal 11 of the integer part of the motion vector through 10.

【0012】一方、遅延回路5からの各画素が切換スイ
ッチ12の接点Dに供給されると共に、さらに36サイ
クル期間の遅延回路13を通じて切換スイッチ12の接
点Cに供給される。また遅延回路7からの各画素が切換
スイッチ12の接点Bに供給されると共に、さらに36
サイクル期間の遅延回路14を通じて切換スイッチ12
の接点Aに供給される。さらに検出された1ペル精度の
動きベクトル(i,j)がラッチ回路8を通じて制御回
路15に供給され、この制御回路15からの信号にて切
換スイッチ12が接点A〜Dに切り換えられる。これに
よって切換スイッチ12から動きベクトル(i,j)に
応じて例えば図4のAに示すような各画素AK 〜DK
サフィックスの順に取り出される。
On the other hand, each pixel from the delay circuit 5 is supplied to the contact D of the changeover switch 12 and further supplied to the contact C of the changeover switch 12 through the delay circuit 13 for 36 cycles. Each pixel from the delay circuit 7 is supplied to the contact B of the changeover switch 12, and
Change-over switch 12 through cycle period delay circuit 14
Is supplied to the contact A. Further, the detected motion vector (i, j) with one pel accuracy is supplied to the control circuit 15 through the latch circuit 8, and the switch 12 is switched to the contacts A to D by a signal from the control circuit 15. Thereby, for example, each pixel A K to D K as shown in FIG. 4A is extracted from the changeover switch 12 in the order of the suffix in accordance with the motion vector (i, j).

【0013】さらにラッチ回路8からの1ペル精度の動
きベクトル(i,j)がメモリ制御回路16に供給さ
れ、この制御回路16で形成された書き込みアドレス
(WA)がそれぞれ36ワードの記憶容量を有するRA
M17a、17bに供給される。これによってRAM1
7a、17bの各アドレスには、切換スイッチ12から
サフィックス(図4のA)の順に取り出された各画素A
K 〜DK がそれぞれ図示のように書き込まれる。また1
8は0〜35の値を出力するリングカウンタであって、
このリングカウンタ18からの値がRAM17a、17
bの読み出しアドレス(RA)に供給される。これによ
ってRAM17a、17bからは、書き込まれた各画素
K 〜DK が図4のBに示すような画素A′K としてサ
フィックスの順に取り出される。なおスイッチ19、2
0はRAM17a、17bを36サイクル毎にバンク切
り換えして交互に読み出し/書き込みを行い、連続的な
処理が行えるようにするためのものである。
Further, the motion vector (i, j) with one pel accuracy from the latch circuit 8 is supplied to the memory control circuit 16, and the write address (WA) formed by the control circuit 16 has a storage capacity of 36 words. RA with
M17a and 17b. This allows RAM1
Each of the addresses 7a and 17b has a pixel A extracted from the changeover switch 12 in the order of the suffix (A in FIG. 4).
K to D K is written as shown respectively. Also one
Reference numeral 8 denotes a ring counter that outputs a value from 0 to 35,
The values from the ring counter 18 are stored in the RAMs 17a and 17a.
b is supplied to the read address (RA). This RAM17a, from 17b, the pixels A K to D K written is fetched in the order of suffixes as pixel A 'K as shown in B of FIG. The switches 19, 2
0 is for switching the banks of the RAMs 17a and 17b every 36 cycles to alternately perform read / write operations so that continuous processing can be performed.

【0014】このスイッチ20から取り出された各画素
A′K がハーフペル精度の動き検出回路21に供給され
る。またシフトレジスタ2を通過された基準データブロ
ックの各画素aI が、72サイクル期間の遅延回路22
及び7サイクル期間の遅延回路23を通じてハーフペル
精度の動き検出回路21に供給される。さらに1ペル精
度の動き検出回路3で1ペル精度の動きベクトル(i,
j)が検出されたときの残差Sがラッチ回路24、25
を通じてハーフペル精度の動き検出回路21に供給され
る。
[0014] Each pixel A 'K retrieved from the switch 20 is supplied to the motion detection circuit 21 of the half-pel precision. Each pixel a I of the reference data block passed through the shift register 2 is supplied to a delay circuit 22 for a 72-cycle period.
And a motion detection circuit 21 with half-pel accuracy through a delay circuit 23 for a period of 7 cycles. Further, the motion vector (i, i,
The residual S when j) is detected is stored in the latch circuits 24 and 25.
To the motion detection circuit 21 with half-pel accuracy.

【0015】これによって動き検出回路21では、基準
データブロックの36画素aI の中の図5に示すI=7
〜10、13〜16、19〜22、25〜28の16画
素を新たな基準データブロックとしてハーフペル精度の
動き検出が行われる。すなわちこの動き検出回路21に
は、減算回路と、8個の平均値計算回路、絶対値計算回
路及び累加算回路と、これらの累加算値及び上述の残差
Sを比較する比較回路が設けられ、上述のシフトレジス
タ2から供給される各画素aI の値及びスイッチ20か
ら取り出された各画素A′K の値に応じて Σ|(A′K /2)+(A′K*/2)−aI | (但し、K,I=7〜10、13〜16、19〜22、
25〜28、K*はKに対する周囲8方向の値)が計算
されて、この累加算値及び残差Sの値が最小となるハー
フペル精度の動きベクトルが検出される。この検出され
たハーフペル精度の動きベクトルがラッチ回路26を通
じて動きベクトルの小数部の出力端子27に出力され
る。
[0015] This is shown in Figure 5 in the 36 pixel a I of the motion detection circuit 21, the reference data block I = 7
Motion detection with half-pel accuracy is performed using 16 pixels of -10, 13-16, 19-22, and 25-28 as new reference data blocks. That is, the motion detection circuit 21 is provided with a subtraction circuit, eight average value calculation circuits, an absolute value calculation circuit and a cumulative addition circuit, and a comparison circuit for comparing the cumulative value and the residual S described above. Σ | (A ′ K / 2) + (A ′ K * / 2) according to the value of each pixel a I supplied from the shift register 2 and the value of each pixel A ′ K extracted from the switch 20. ) −a I | (where K, I = 7 to 10, 13 to 16, 19 to 22,
25 to 28, K * is a value in eight directions around K), and a half-pel precision motion vector in which the value of the accumulated value and the value of the residual S are minimized is detected. The detected half-pel precision motion vector is output to the output terminal 27 of the decimal part of the motion vector through the latch circuit 26.

【0016】なお図6は全体のタイムチャートを示す。
ここで図のAは入力端子1に入力される値、B〜Eは動
き検出回路3の入力A〜Dに供給される値、Fはラッチ
回路8から取り出される1ペル精度の動きベクトル
(i,j)、G〜Jはスイッチ12の端子A〜Dに供給
される値、Kは72サイクル期間の遅延回路22から取
り出される値、Lはラッチ回路25から取り出される1
ペル精度の動きベクトル(i,j)が検出されたときの
残差S、Mはスイッチ20から取り出される値、Nは出
力端子11に取り出される動きベクトルの整数部、Oは
出力端子27に取り出される動きベクトルの小数部であ
る。
FIG. 6 shows an overall time chart.
Here, A is a value input to the input terminal 1, B to E are values supplied to the inputs A to D of the motion detection circuit 3, and F is a 1-pel precision motion vector (i , J), G to J are values supplied to the terminals A to D of the switch 12, K is a value extracted from the delay circuit 22 for a 72-cycle period, and L is extracted from the latch circuit 25.
Residuals S and M when a pel-accurate motion vector (i, j) are detected are values taken out from the switch 20, N is an integer part of the motion vector taken out to the output terminal 11, and O is taken out to the output terminal 27. This is the fractional part of the motion vector.

【0017】また図7はスイッチ12、20間のタイム
チャートを示す。ここで図のA〜Dはスイッチ12の端
子A〜Dに供給される値であって、このスイッチ12が
制御回路15からの信号で制御されることによって、例
えばこの内の太線で示す値がスイッチ12から取り出さ
れる。またEはRAM17a、17bに供給される書き
込みアドレス(WA)であって、これによりFに示すR
AM17a、17bの入力がそれぞれのアドレスに書き
込まれ、Gに示すようなA′K の値が形成される。この
A′K の値がサフィックスの順にスイッチ20から取り
出される。
FIG. 7 shows a time chart between the switches 12 and 20. Here, A to D in the figure are values supplied to the terminals A to D of the switch 12, and when the switch 12 is controlled by a signal from the control circuit 15, for example, It is taken out of the switch 12. E is a write address (WA) supplied to the RAMs 17a and 17b.
AM17a, input 17b is written to each address, the value of such A 'K as shown in G is formed. The value of the A 'K is taken from the switch 20 in the order of the suffix.

【0018】こうして上述の装置によれば、第2の基準
データブロック(遅延回路22)の画素数が第1の基準
データブロック(入力端子1)の画素数より小となるよ
うにしたことにより、第2の演算手段(ハーフペル精度
の動き検出回路21)での処理サイクル数を第1の演算
手段(1ペル精度の動き検出回路3)での処理サイクル
数と等しくすることができ、処理速度や画像データの転
送の問題を解消して、簡単な構成でハーフペル精度の検
出までを行うことができるものである。
According to the above-described apparatus, the number of pixels of the second reference data block (delay circuit 22) is smaller than the number of pixels of the first reference data block (input terminal 1). The number of processing cycles in the second calculating means (the motion detecting circuit 21 with half-pel accuracy) can be made equal to the number of processing cycles in the first calculating means (the motion detecting circuit 3 with one-pel accuracy). It is possible to solve the problem of transfer of image data and perform half-pel accuracy detection with a simple configuration.

【0019】すなわち上述の装置によれば、第1の演算
手段(1ペル精度の動き検出回路3)及び第2の演算手
段(ハーフペル精度の動き検出回路21)の処理サイク
ル数を、共に36サイクルにすることができ、ハーフペ
ル精度の検出までをリアルタイムで行うことができる。
That is, according to the above-described apparatus, the number of processing cycles of the first calculating means (the motion detecting circuit 3 with one-pel accuracy) and the second calculating means (the motion detecting circuit 21 with half-pel accuracy) are both 36 cycles. And half-pel accuracy can be detected in real time.

【0020】また図8は上述の装置の概念図であって、
例えば入力端子1に供給される6×6画素の第1の基準
データブロックと、入力端子4に供給される11×11
画素の捜索範囲が1ペル精度の動き検出回路3に供給さ
れて、1ペル精度の動きベクトルが検出される。さらに
この動き検出回路3で検出された1ペル精度の動きベク
トルに応じた6×6画素が捜索範囲(斜線図示:RAM
17a、17bの内容)としてハーフペル精度の動き検
出回路21に供給され、このハーフペル精度の動き検出
回路21では、遅延回路22からの各画素のうち斜線図
示の4×4画素第2の基準データブロックとしてハー
フペル精度の動きベクトルが検出される。そしてこの検
出された1ペル精度及びハーフペル精度の動きベクトル
が、出力端子11及び27に取り出されるものである。
FIG. 8 is a conceptual diagram of the above-described device.
For example, a first reference data block of 6 × 6 pixels supplied to input terminal 1 and 11 × 11 supplied to input terminal 4
The search range of the pixel is supplied to the 1-pel precision motion detection circuit 3, and a 1-pel precision motion vector is detected. Further, 6 × 6 pixels corresponding to the 1-pel precision motion vector detected by the motion detection circuit 3 are included in the search range (shown by hatching in the RAM.
17a and 17b) are supplied to the motion detection circuit 21 with half-pel accuracy. In the motion detection circuit 21 with half-pel accuracy, among the pixels from the delay circuit 22, 4 × 4 pixels indicated by oblique lines are used as second reference data. A motion vector with half-pel accuracy is detected as a block. Then, the detected one-pel precision and half-pel precision motion vectors are taken out to the output terminals 11 and 27.

【0021】なお上述の例では、捜索範囲を11×11
画素、第1の基準データブロックを6×6画素とした場
合について述べたが、これは例えば捜索範囲をe×f画
素、基準データブロックをg×p画素に一般化すること
ができる。また上述の装置において、1ペル精度の動き
検出回路3及びハーフペル精度の動き検出回路21は、
先に述べた本願発明者の提案した装置に限らず、任意の
装置に適用できるものである。
In the above example, the search range is 11 × 11
The case where the pixels and the first reference data block are 6 × 6 pixels has been described. For example, the search range can be generalized to e × f pixels and the reference data block to g × p pixels. In the above-described apparatus, the 1-pel precision motion detection circuit 3 and the half-pel precision motion detection circuit 21
The present invention is not limited to the device proposed by the inventor of the present application, but can be applied to any device.

【0022】[0022]

【発明の効果】この発明によれば、第2の基準データブ
ロックの画素数が第1の基準データブロックの画素数よ
り小となるようにしたことにより、第2の演算手段での
処理サイクル数を第1の演算手段での処理サイクル数と
等しくすることができ、処理速度や画像データの転送の
問題を解消して、簡単な構成でハーフペル精度の検出ま
でを行うことができるようになった。
According to the present invention, the number of pixels in the second reference data block is made smaller than the number of pixels in the first reference data block. Can be made equal to the number of processing cycles in the first arithmetic means, and the processing speed and the transfer of image data can be eliminated, and half-pel accuracy can be detected with a simple configuration. .

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

【図1】本発明による動き検出装置の一例の構成図であ
る。
FIG. 1 is a configuration diagram of an example of a motion detection device according to the present invention.

【図2】第1の基準データブロックを示す線図である。FIG. 2 is a diagram showing a first reference data block.

【図3】捜索範囲を示す線図である。FIG. 3 is a diagram showing a search range.

【図4】1ペル精度で検出された第2ステージの捜索範
囲を示す線図である。
FIG. 4 is a diagram showing a search range of a second stage detected with one pel accuracy.

【図5】第2の基準データブロックを示す線図である。FIG. 5 is a diagram showing a second reference data block.

【図6】装置の全体のタイムチャート図である。FIG. 6 is an overall time chart of the apparatus.

【図7】装置の要部のタイムチャート図である。FIG. 7 is a time chart of a main part of the apparatus.

【図8】本発明による動き検出装置の概念図である。FIG. 8 is a conceptual diagram of a motion detection device according to the present invention.

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

1 基準データブロックの入力端子 2 シフトレジスタ 3 1ペル精度の動き検出回路 4 捜索範囲の入力端子 5〜7、13、14、22、23 遅延回路 8〜10、24〜26 ラッチ回路 11 動きベクトルの整数部の出力端子 12、19、20 切換スイッチ 15 制御回路 16 メモリ制御回路 17a、17b RAM 18 リングカウンタ 21 ハーフペル精度の動き検出回路 27 動きベクトルの小数部の出力端子 DESCRIPTION OF SYMBOLS 1 Input terminal of reference data block 2 Shift register 3 1 Motion detection circuit of 1 pel accuracy 4 Input terminal of search range 5-7, 13, 14, 22, 23 Delay circuit 8-10, 24-26 Latch circuit 11 Motion vector Output terminal of integer part 12, 19, 20 Changeover switch 15 Control circuit 16 Memory control circuit 17a, 17b RAM 18 Ring counter 21 Half-pel precision motion detection circuit 27 Output terminal of decimal part of motion vector

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 所定画素数にて構成された捜索範囲内の
画素と上記所定画素数より小なる画素数にて構成される
第1の基準データブロック内の画素とをその配列状態に
基づいて比較する際、上記捜索範囲内で上記第1の基準
データブロックが取りうる画素同士の対応状態毎に上記
第1の基準データブロック内の各画素と上記捜索範囲内
の対応画素との差分絶対値の和を演算する第1の演算手
段と、 上記捜索範囲内における1画素以下の動き状態を検出す
る際、隣接する画素間の平均値と第2の基準データブロ
ック内の画素とを比較するようになし、この第2の基準
データブロック内の画素との各対応状態毎に更に差分絶
対値の和を得るようになす第2の演算手段とを有し、 上記第2の基準データブロックの画素数を、上記第2の
演算手段での処理サイクル数を上記第1の演算手段での
処理サイクル数と等しくするような上記第1の基準デー
タブロックの画素数より小なる画素数としたことを特徴
とする動き検出装置。
1. A method according to claim 1, wherein a pixel in a search range composed of a predetermined number of pixels and a pixel in a first reference data block composed of a number of pixels smaller than the predetermined number of pixels are arranged based on their arrangement state. At the time of comparison, the absolute value of the difference between each pixel in the first reference data block and the corresponding pixel in the search range is determined for each corresponding state of the pixels that can be taken by the first reference data block in the search range. A first calculating means for calculating the sum of the above, and when detecting a motion state of one pixel or less in the search range, an average value between adjacent pixels is compared with a pixel in a second reference data block. And a second calculating means for obtaining a sum of absolute difference values for each corresponding state with the pixels in the second reference data block. Number the second
The number of processing cycles in the arithmetic means is
Motion detecting apparatus characterized by small consisting number of pixels than the number of pixels in the first reference data blocks to equal the number of processing cycles and the.
JP3022302A 1991-01-31 1991-02-15 Motion detection device Expired - Fee Related JP2906684B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP3022302A JP2906684B2 (en) 1991-02-15 1991-02-15 Motion detection device
KR1019920000895A KR100247880B1 (en) 1991-02-15 1992-01-23 Motion detecting apparatus
EP19920300778 EP0497586A3 (en) 1991-01-31 1992-01-30 Motion detection circuit
US08/286,388 US5586202A (en) 1991-01-31 1994-08-05 Motion detecting apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3022302A JP2906684B2 (en) 1991-02-15 1991-02-15 Motion detection device

Publications (2)

Publication Number Publication Date
JPH04261288A JPH04261288A (en) 1992-09-17
JP2906684B2 true JP2906684B2 (en) 1999-06-21

Family

ID=12078954

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3022302A Expired - Fee Related JP2906684B2 (en) 1991-01-31 1991-02-15 Motion detection device

Country Status (2)

Country Link
JP (1) JP2906684B2 (en)
KR (1) KR100247880B1 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4937666A (en) * 1989-12-04 1990-06-26 Bell Communications Research, Inc. Circuit implementation of block matching algorithm with fractional precision

Also Published As

Publication number Publication date
JPH04261288A (en) 1992-09-17
KR920017493A (en) 1992-09-26
KR100247880B1 (en) 2000-03-15

Similar Documents

Publication Publication Date Title
US5586202A (en) Motion detecting apparatus
JPH03256485A (en) Motion vector detecting circuit
JP3611507B2 (en) Motion vector detection device
US5696836A (en) Motion estimation processor architecture for full search block matching
JPH0568155B2 (en)
JPS6247786A (en) Exclusive memory for adjacent image processing
JPH07115646A (en) Image processor
JP2906684B2 (en) Motion detection device
JP2008060836A (en) Motion vector search method and device
JPH07203457A (en) Motion vector detector
JP2885039B2 (en) Motion vector detection circuit
US5548665A (en) Vector correlation detecting circuit
GB2214751A (en) Video signal coding
JP3513214B2 (en) Motion vector detection device
JP3004685B2 (en) Motion vector detection circuit
JP3698501B2 (en) Motion vector detection device
JPH0993581A (en) Motion detector for moving image coder
JP2901848B2 (en) Vector correlation detection circuit
KR970057953A (en) Search movement prediction processor based on bidirectional parallel pipeline structure
JP3038935B2 (en) Motion detection device
JP2003208789A (en) Semiconductor memory device, moving vector detecting device, and compensation prediction coding device
JPH0540828A (en) Block matching search system
JPH02265387A (en) Motion-compensated inter-frame encoder
JP3004697B2 (en) Motion vector detection circuit
JP2872105B2 (en) Distortion calculator

Legal Events

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