JPH05236455A - Motion vector detector for moving image - Google Patents

Motion vector detector for moving image

Info

Publication number
JPH05236455A
JPH05236455A JP7554392A JP7554392A JPH05236455A JP H05236455 A JPH05236455 A JP H05236455A JP 7554392 A JP7554392 A JP 7554392A JP 7554392 A JP7554392 A JP 7554392A JP H05236455 A JPH05236455 A JP H05236455A
Authority
JP
Japan
Prior art keywords
motion vector
image
pixel data
block
frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7554392A
Other languages
Japanese (ja)
Inventor
Hideki Honma
英樹 本間
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP7554392A priority Critical patent/JPH05236455A/en
Publication of JPH05236455A publication Critical patent/JPH05236455A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To further simplify border conditions and arithmetic by accelerating a motion vector from two reference frames by a pipe-line processing. CONSTITUTION:Pixel data 11 and 12 are respectively inputted from first and second storing means 101 and 102 for storing the pixel data of a block of which motion is to be detected and the pixel data of the search area of two reference frames to an arithmetic means 103. A total sum 13 of error absolute values to candidate vectors in the search areas is inputted to a comparing means 104 by the arithmetic means, the minimum value of the total sum 13 up to the current time is inputted to a minimum value storage register 105, and the candidate vector corresponding to the minimum value is stored in a motion vector storage register 106 by outputting a control signal 17. The candidate vector having the minimum value of the total sum is stored in the motion vector storage register and detected as the motion vector and by executing the similar processing, motion vector correpsonding to two reference frames are obtained at motion vector storage registers 106 and 106'.

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 detecting device for moving images.

【0002】[0002]

【従来の技術】動画像の動きベクトルを検出する技術と
して、ブロックマッチングによる方法が良く知られてい
る。図13に示す、被動きベクトル検出フレームJに対
して、過去に現れた1枚の参照フレームIを基に動きベ
クトルを検出する場合、フレームIにはなかった画像が
フレームJに新たに現れた場合には、新たに現れた部分
には動き検出を施しても有用な結果が得られない。この
問題を解決するために、過去のフレームからの動きベク
トル検出に加えて、フレームJより後に現れるフレーム
Kを基にした動きベクトル検出も行なう、2枚の参照フ
レームに対してそれぞれ被動きベクトル検出フレームの
動きベクトルを検出する方式がある。
2. Description of the Related Art As a technique for detecting a motion vector of a moving image, a block matching method is well known. With respect to the motion vector detection frame J shown in FIG. 13, when a motion vector is detected based on one reference frame I that has appeared in the past, an image that did not exist in frame I newly appears in frame J. In this case, a useful result cannot be obtained even if motion detection is performed on the newly appearing portion. In order to solve this problem, in addition to motion vector detection from past frames, motion vector detection based on frame K appearing after frame J is also performed, and motion vector detection is performed for each of two reference frames. There is a method of detecting a motion vector of a frame.

【0003】ブロックマッチングにより前記フレームJ
とフレームKを参照フレームとしてフレームIの動き検
出を実現する装置については、「動画像の動き補償方
式」特開昭62−213494号の中に説明がなされて
いる。図14は動きベクトル検出装置を説明するもので
ある。ビデオ信号はフレームメモリ1に記憶され、フレ
ームメモリ2,3,4に伝搬される。ここで、フレーム
メモリ1にフレームi+3が、フレームメモリ2にフレ
ームi+2が、フレームメモリ3にフレームi+1が、
フレームメモリ4にフレームiが記憶されているとす
る。この構成を用いて動きベクトル検出器5,6によっ
てフレームi+1とフレームi+2及びフレームi+1
とフレームiの動きベクトルの検出を行なう。この動き
ベクトル検出装置は、画像に物体の重なりがあり、物体
が見え隠れする場合においても有効に機能し得る動画像
の動き補償の提供を実現している。
The frame J is made by block matching.
An apparatus for realizing the motion detection of the frame I using the frame K and the frame K as a reference frame is described in "Motion compensation system for moving images" in Japanese Patent Laid-Open No. 62-213494. FIG. 14 illustrates a motion vector detecting device. The video signal is stored in the frame memory 1 and propagated to the frame memories 2, 3 and 4. Here, the frame i + 3 is stored in the frame memory 1, the frame i + 2 is stored in the frame memory 2, and the frame i + 1 is stored in the frame memory 3.
It is assumed that the frame i is stored in the frame memory 4. With this configuration, the motion vector detectors 5 and 6 use the frame i + 1, the frame i + 2, and the frame i + 1.
And the motion vector of frame i is detected. This motion vector detection device realizes motion compensation of a moving image that can effectively function even when an object overlaps in an image and the object appears and disappears.

【0004】[0004]

【発明が解決しようとする課題】従来の、ブロックマッ
チング法による動きベクトル検出装置では、2枚の参照
フレームに対する現フレームの動き検出には2つの動き
ベクトル検出手段を用いていた。そのため、装置規模が
必然的に大きくなるという問題を生じる。
In the conventional motion vector detecting device by the block matching method, two motion vector detecting means are used for detecting the motion of the current frame with respect to two reference frames. Therefore, there arises a problem that the device scale is inevitably increased.

【0005】本発明の第1の目的は装置規模を大きくす
ることなく、被動きベクトル検出フレームに関して参照
フレームを2枚用いた動きベクトルの検出装置を提供す
ることにある。
It is a first object of the present invention to provide a motion vector detecting device using two reference frames for a motion vector detecting frame without increasing the device scale.

【0006】また、図12に示すような、被動きベクト
ル検出フレームの上下左右の境界ブロックAに関して動
きベクトルを検出する場合、探索範囲Sにおける有効な
探索範囲はTの部分だけになる。このように、ブロック
マッチングの際のマッチングをとる参照フレームの画素
が、有効探索範囲T外の探索範囲Sの領域を含む場合、
このときの動きベクトルは無効なものであり、ブロック
マッチングの際のマッチングをとる参照フレームの画素
が、全て有効探索範囲T内にある場合と同じ処理を行な
うことは、動きベクトルの誤検出につながる。
Further, when a motion vector is detected with respect to upper, lower, left and right boundary blocks A of a motion vector detection frame as shown in FIG. 12, the effective search range in the search range S is only the T portion. In this way, when the pixels of the reference frame to be matched in the block matching include the area of the search range S outside the effective search range T,
The motion vector at this time is invalid, and performing the same processing as when all the pixels of the reference frame to be matched at the time of block matching are within the effective search range T leads to erroneous detection of the motion vector. ..

【0007】本発明の第2の目的は、無効な候補ベクト
ルを含むブロックに対する、動きベクトル検出におい
て、動きベクトル検出結果が無効な候補ベクトルの選択
を防ぐことにある。
A second object of the present invention is to prevent selection of a candidate vector having an invalid motion vector detection result in motion vector detection for a block containing an invalid candidate vector.

【0008】[0008]

【課題を解決するための手段】本発明に係わる第1の動
画像の動きベクトル検出装置は、連続する複数フレーム
からなる動画像信号を、各画像フレームを複数個の画素
からなる複数ブロックに分割し、個々のブロック内画像
とそのブロックが属するフレームとは異なる参照フレー
ムとのマッチング度を計算し、動画像の動きベクトルを
推定する画像の動きベクトル検出装置であって、入力フ
レームのブロック内画素データを蓄える第1記憶手段
と、2枚の参照フレーム画像に対する動きベクトル検出
範囲を含む画素データを蓄える第2記憶手段と、前記第
1の記憶手段に蓄えられたデータと前記第2の記憶手段
に蓄えられたデータとの間でブロックマッチングを行な
い、ブロック内画素の対応画素の誤差の絶対値の総和と
マッチングの際の候補ベクトルを出力する演算手段と、
前記演算手段が求める全ての候補ベクトルに対する前記
誤差絶対値の総和を比較し最小値を判定する比較手段
と、前記誤差絶対値の総和を格納するレジスタと、2枚
の参照フレームの各々に対する前記最小値に対応する候
補ベクトルを格納する2つのレジスタとからなることを
特徴とする。
A first motion vector motion vector detecting device according to the present invention divides a motion image signal composed of a plurality of consecutive frames into a plurality of blocks each composed of a plurality of pixels. However, a motion vector detection device for an image that estimates the motion vector of a moving image by calculating the matching degree between each in-block image and a reference frame different from the frame to which the block belongs, First storage means for storing data, second storage means for storing pixel data including a motion vector detection range for two reference frame images, data stored in the first storage means, and second storage means Block matching is performed with the data stored in, and the sum of the absolute values of the errors of the corresponding pixels in the block and the matching Calculating means for outputting a vector,
Comparing means for comparing the sums of the error absolute values for all the candidate vectors obtained by the computing means to determine the minimum value, a register for storing the sum of the error absolute values, and the minimum for each of the two reference frames. It is characterized by comprising two registers for storing candidate vectors corresponding to values.

【0009】本発明に係わる第2の動画像の動きベクト
ル検出装置は、前記ブロック内画素の対応画素の誤差の
絶対値の総和を求める演算手段が、ブロックマッチング
における被動き検出フレーム内画素と参照フレーム内画
素との間の差分の絶対値の累算値と初期入力値のいずれ
かを選択する第1の選択手段と、前記第2の記憶手段か
ら出力される複数個の画素データから1つの画素データ
を選択する第2の選択手段と入力を前記累算値と現フレ
ーム内画素と前記第2の選択手段により選択された参照
フレーム内画素として前記差分の絶対値を求め、前記差
分の絶対値と前記累算値を加算することにより新たな累
算値を出力するプロセッサエレメントを、被動きベクト
ル検出フレームの前記ブロックの1ラインの画素数
(M)個直列に配置し、第M番めの前記プロセッサエレ
メントの出力値を0または複数クロック遅延し出力する
プロセッサスライスを1または複数個有し、前記プロセ
ッサスライスを複数個有する場合は、前記プロセッサス
ライスの出力を新たな前記プロセッサスライスの入力に
接続することで複数個直列に配置し、最後に配置された
前記プロセッサスライスの出力を前記第1の選択手段及
びM買いプロセッサスライスを通過することにより作成
される前記誤差の絶対値の総和を出力とする演算手段
と、前記誤差の絶対値の総和を格納する複数個のレジス
タとからなり、さらに全ての前記プロセッサエレメント
に対する前記第2の選択手段への各入力データを各々共
通とすることを特徴とする。
In a second motion image motion vector detecting device according to the present invention, the calculating means for obtaining the sum of absolute values of errors of corresponding pixels of the in-block pixels is referred to as a pixel in the motion-detected frame in block matching. One of a plurality of pixel data output from the second storage means and a first selection means for selecting either an accumulated value of absolute values of differences between pixels within a frame or an initial input value. The absolute value of the difference is obtained by using the second selection means for selecting pixel data and the input as the accumulated value, the pixel in the current frame, and the pixel in the reference frame selected by the second selection means. A processor element that outputs a new accumulated value by adding a value and the accumulated value is arranged in series in the number of pixels (M) of one line of the block of the motion vector detection frame. When the output value of the M-th processor element is delayed by 0 or a plurality of clocks and has one or more processor slices, and when there are a plurality of processor slices, the output of the processor slice is newly added to the processor. An absolute value of the error created by passing a plurality of output of the processor slice arranged in series by connecting to the input of the slice and passing the output of the processor slice arranged at the end through the first selecting means and the M buying processor slice. Of output data and a plurality of registers for storing the total sum of the absolute values of the errors, and further common input data to the second selection means for all the processor elements. It is characterized by doing.

【0010】本発明に係わる第3の動画像の動きベクト
ル検出装置は、前記第2の記憶手段において、データの
ビット幅を2倍に持ち隣合う2画素分の画素データに1
つのアドレスを与え、前記第2の記憶手段からの出力後
に、奇数カラム画素と偶数カラム画素に2分割し、いず
れかの画素に画素遅延手段を施すことを特徴とする。
In a third motion image motion vector detecting device according to the present invention, in the second storage means, the bit width of the data is doubled, and the pixel data of two adjacent pixels is set to one.
One address is given, and after output from the second storage means, it is divided into an odd column pixel and an even column pixel, and any one of the pixels is provided with a pixel delay means.

【0011】本発明に係わる第4の動画像の動きベクト
ル検出装置は、前方向予測画像(以下P画像)において
前方向のみの動きベクトル検出を行なう動作をし、かつ
両方向予測画像(以下B画像)に関しては前方向と逆方
向の動きベクトル検出を行なうために、P画像とB画像
における動作を適応的に切替える動きベクトル検出方式
決定手段を有することを特徴とする。
A fourth motion image motion vector detecting apparatus according to the present invention performs an operation of detecting a motion vector only in a forward direction in a forward direction prediction image (hereinafter referred to as P image), and a bidirectional prediction image (hereinafter referred to as B image). With regard to (), in order to detect a motion vector in the direction opposite to the forward direction, a motion vector detection method determining means for adaptively switching the operation in the P image and the B image is provided.

【0012】本発明に係わる第5の動画像の動きベクト
ル検出装置は、前記P画像における動きベクトル検出に
おいて、前記第2の記憶手段に1枚の参照画像について
探索範囲を変えた2つの捜索範囲内の画素データを格納
し、被動きベクトル検出ブロックに対する動きベクトル
検出を2つの探索範囲に関して行なうことにより、動き
ベクトル検出範囲を拡張することを特徴とする。
A fifth motion image motion vector detecting device according to the present invention is a motion vector detecting device for detecting a motion vector in a P image, wherein two search ranges are obtained by changing the search range for one reference image in the second storage means. The feature is that the motion vector detection range is expanded by storing the pixel data in the above and performing the motion vector detection for the motion vector detection block with respect to the two search ranges.

【0013】本発明に係わる第6の動画像の動きベクト
ル検出装置は、低域通過フィルタを具備し、現フレーム
内画素データは前記低域通過フィルタを施した後、第3
の記憶手段及び動き検出手段へ出力され、前記動きベク
トルの検出手段は、前記第2の記憶手段へ前記第3の記
憶手段に格納された画素データを入力することにより動
き検出の参照画像として低域通過画像を用いることを特
徴とする。
A sixth moving image motion vector detecting device according to the present invention comprises a low pass filter, and the pixel data in the current frame is subjected to the low pass filter and then a third
Of the pixel data stored in the third memory means to the second memory means, and the motion vector detecting means outputs a low-value image as a reference image for motion detection. It is characterized by using a bandpass image.

【0014】本発明に係わる第7の動画像の動きベクト
ル検出装置は、前記被動きベクトル検出ブロックが、画
面の上下左右の境界に存在する場合の動きベクトル検出
において、前記ブロックの候補ベクトルを選択する機能
を、前記誤差最小値比較手段に有することを特徴とす
る。
A seventh motion image motion vector detecting apparatus according to the present invention selects a candidate vector of the block in motion vector detection when the motion vector detection block is present at the upper, lower, left and right boundaries of the screen. The error minimum value comparing means has a function of

【0015】[0015]

【作用】本発明は、上記した構成により、動画像の動き
ベクトル検出装置において前記第2の記憶手段に2つの
参照フレーム内の捜索範囲内の画素データを格納するこ
とにより、2つの参照フレームを用いた動きベクトル検
出が、マッチングを計算する演算手段が1つで済むう
え、参照するフレームを切替える際、前記第2の記憶手
段の画素を入れ変えることなく行なうことができる。
According to the present invention, with the above-described structure, two reference frames are stored in the motion vector detecting apparatus for a moving image by storing the pixel data within the search range in the two reference frames in the second storage means. The motion vector detection used can be performed by using only one calculating means for calculating the matching and when switching the frame to be referred to, without changing the pixels of the second storage means.

【0016】本発明の第2,3の動きベクトル検出装置
においては、第1の記憶手段と第2の記憶手段のそれぞ
れに1またはn画素間引きした画素データを格納し、ブ
ロックマッチングによる動きベクトル検出に特化したデ
ータの出力タイミングを提案することにより1またはn
画素精度の動きベクトルの検出をパイプライン処理で高
速に実現する。
In the second and third motion vector detecting devices of the present invention, the pixel data thinned out by 1 or n pixels is stored in each of the first storage means and the second storage means, and the motion vector detection by block matching is performed. 1 or n by proposing the output timing of data specialized for
High-speed detection of motion vectors with pixel accuracy is achieved by pipeline processing.

【0017】特に第3の動きベクトル検出装置において
は、参照フレーム内画素データがパイプライン処理のた
めに同時刻に2個のデータが連続的に必要となる場合で
も、画素データ供給のための処理時間のみを2倍にする
という機能を、あるいは2個の画素データ供給手段を付
加することなく参照フレームからの画像データの供給が
可能となる。
Particularly, in the third motion vector detecting apparatus, even if two pieces of data in the reference frame require two pieces of data continuously at the same time for pipeline processing, the processing for supplying pixel data is performed. The image data can be supplied from the reference frame without the function of doubling only the time or adding two pixel data supplying means.

【0018】本発明の第4,5の動きベクトル検出装置
において、被動きベクトル検出フレームの画像の種類が
P画像かB画像であるかの識別機能を持つようにしたこ
とにより、画像の種類に応じ、B画像の場合は、前方向
予測のための参照フレーム内の探索範囲の画素データと
逆方向予測のための参照フレーム内の探索範囲の画素デ
ータを、P画像の場合は、前方向予測のための参照フレ
ーム内の2つの探索範囲の画素データを前記第2の記憶
手段に格納させることにより、B画像に関しては両方向
予測がP画像に関しては動きベクトル検出範囲を拡大し
た前方向予測が可能となる。これにより、特にP画像に
関してはフレーム間の動きが大きい場合も動き補償が可
能となる。
In the fourth and fifth motion vector detecting devices of the present invention, the motion vector detection frame has a function of discriminating whether the image type of the motion vector detection frame is a P image or a B image. Accordingly, in the case of the B image, the pixel data of the search range in the reference frame for the forward prediction and the pixel data of the search range in the reference frame for the backward prediction are used, and in the P image, the forward prediction is performed. By storing the pixel data of the two search ranges in the reference frame for the above, in the second storage means, it is possible to perform the bidirectional prediction for the B image and the forward prediction in which the motion vector detection range is expanded for the P image. Becomes As a result, it is possible to perform motion compensation even when there is a large amount of motion between frames, especially for P images.

【0019】本発明の第6の動きベクトル検出装置にお
いては、被動き検出フレームの画素及び参照フレームの
画素が間引かれて、一部分の画素を用いてブロックマッ
チングを行なっても、正確な動きベクトルが検出するこ
とができることと同時に、同じ探索範囲における第1の
記憶手段と第2の記憶手段に格納するデータ量を大幅に
減じ、装置規模を小さくすることが可能となる。
In the sixth motion vector detecting apparatus of the present invention, even if the pixels of the motion detected frame and the pixels of the reference frame are thinned out and block matching is performed using a part of the pixels, an accurate motion vector is obtained. Can be detected, and at the same time, the amount of data stored in the first storage means and the second storage means in the same search range can be significantly reduced, and the device scale can be reduced.

【0020】さらに、低域フィルタ通過後のデータを第
3の記憶手段に出力し、前記第2の記憶手段は第3の記
憶手段からの画素データを、改めて低域通過フィルタ手
段を施すことなく入力して、次以降の被動き検出フレー
ムに対する低域通過フィルタを施した後の参照フレーム
画素として使用することが可能となり、参照フレーム内
画素データを前記第2の記憶手段へ格納する間の処理が
簡略化される。
Further, the data after passing through the low pass filter is output to the third storage means, and the second storage means does not apply the low pass filter means to the pixel data from the third storage means. It becomes possible to input and use as reference frame pixels after low-pass filtering for subsequent motion detection frames, and processing during storage of reference frame pixel data in the second storage means. Is simplified.

【0021】被動きベクトル検出フレームの被ブロック
マッチング領域が、画像の上下左右の境界に存在する場
合、ある候補ベクトルに関しては、図12に示すように
マッチングをとる時の参照フレームの被マッチング領域
はUのようになり、領域U全体が、画像領域に含まれな
くなる場合が生じる。
When the block matching area of the motion vector detection frame exists at the upper, lower, left and right boundaries of the image, the matching area of the reference frame at the time of matching as shown in FIG. It becomes like U, and the whole area U may not be included in the image area.

【0022】この時の候補ベクトルは意味のないもので
あり、如何なる場合も、この候補ベクトルは検出結果の
動きベクトルとなってはならない。
The candidate vector at this time is meaningless, and in any case, this candidate vector should not be the motion vector of the detection result.

【0023】本発明の第7の動きベクトル検出装置にお
いて、意味のない候補ベクトルに対する前記誤差の絶対
値の総和を、前記比較手段へ出力させない機能を有する
ことで、動きベクトルの誤検出による画質劣化を防ぐ。
In the seventh motion vector detecting device of the present invention, by having a function of not outputting the total sum of the absolute values of the errors for the meaningless candidate vector to the comparing means, the image quality is deteriorated due to the erroneous detection of the motion vector. prevent.

【0024】[0024]

【実施例】第1の動画像の動きベクトル検出装置を図1
を用いて説明する。第1の記憶手段101に被動きベク
トル検出フレームの動きベクトル検出対象ブロック内画
素データ11を、第2の記憶手段102に2枚の参照フ
レームの探索領域の画素データ12を格納する。前記第
1の記憶手段に格納された画素データ11と、前記第2
の記憶手段に格納された中の第1の参照フレームの画素
データ12′から、演算手段103は1つの候補ベクト
ルに関してブロックマッチングを行ない候補ベクトルに
関する誤差の絶対値の総和13を比較手段104に出力
する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT FIG. 1 shows a first motion vector motion vector detecting device.
Will be explained. The first storage means 101 stores the pixel data 11 in the motion vector detection target block of the motion vector detection frame, and the second storage means 102 stores the pixel data 12 of the search areas of the two reference frames. The pixel data 11 stored in the first storage means;
From the pixel data 12 ′ of the first reference frame stored in the storage means, the calculation means 103 performs block matching for one candidate vector and outputs the sum 13 of absolute values of the error regarding the candidate vector to the comparison means 104. To do.

【0025】比較手段104では、よりマッチング度が
高い、すなわち前記総和13が最小値格納レジスタの値
16よりも小さければ最小値格納レジスタ105に総和
13を出力し、さらに動きベクトル格納レジスタ106
のデータをこの候補ベクトルに書き換え格納する。
In the comparison means 104, if the degree of matching is higher, that is, the sum 13 is smaller than the value 16 of the minimum value storage register, the sum 13 is output to the minimum value storage register 105, and further the motion vector storage register 106.
The data of is rewritten into this candidate vector and stored.

【0026】この処理を全ての候補ベクトルに対して繰
り返し行なうことによって、動きベクトル格納レジスタ
106に最もマッチング度が高い動きベクトルが格納さ
れ、また最小値格納レジスタ105には最もマッチング
度が高い動きベクトルに対する誤差の絶対値の総和の値
が格納される。
By repeating this process for all candidate vectors, the motion vector with the highest matching degree is stored in the motion vector storage register 106, and the motion vector with the highest matching degree is stored in the minimum value storage register 105. The sum of the absolute values of the error for is stored.

【0027】続いて、前記第1の記憶手段に格納された
画素データと前記第2の記憶手段に格納された中の第2
の参照フレームの画素データを用い、さらに候補ベクト
ルを格納するレジスタを動きベクトル格納レジスタ10
6′に変え、同様の手順で参照フレーム2に対する動き
ベクトルを検出する。
Next, the pixel data stored in the first storage means and the second pixel data stored in the second storage means.
Using the pixel data of the reference frame of the motion vector storage register 10
6 ', and the motion vector for the reference frame 2 is detected by the same procedure.

【0028】本発明に係わる第2,第3の動きベクトル
検出装置を実現する一実施例を図1〜図6を用いて説明
する。図2に示すように、被動き検出ブロックを4×4
画素、参照フレームの探索範囲を12×12画素とする
ことにより、候補ベクトルを図3の座標で示される9×
9とした場合について説明する。ここでは、プロセッサ
スライスを1つで行なう場合について説明する。
An embodiment for realizing the second and third motion vector detecting devices according to the present invention will be described with reference to FIGS. As shown in FIG. 2, the motion detection block is 4 × 4.
By setting the search range of pixels and the reference frame to 12 × 12 pixels, the candidate vector is set to 9 × 9 shown by the coordinates in FIG.
The case of 9 will be described. Here, a case where one processor slice is used will be described.

【0029】参照フレームの探索領域のブロックの画素
データを前記第2の選択手段に送る方法を図4を用いて
説明する。 1.左上の画素から下に向かって順に、探索範囲の向か
って左から第1列目、第2列めの2つずつのデータ20
をそれぞれ同時に出力する。ここで、プロセッサスライ
スの数が偶数個の時の実施例では前記第2の記憶手段1
02において1つのデータの上位ビットを第1列の画素
データ、下位ビットを第2列の画素データとして記憶す
ることによって、24画素分のデータを12クロックで
出力し、各データを図4のように上位ビットと下位ビッ
トすなわち、奇数カラム画素データ21と偶数カラム画
素データ22に分けることにより実現することもでき
る。 2.第1列、第2列の画素データを前記第2の選択手段
120にそれぞれ参照画素データ21、参照画素データ
22として送る。図5(a)に示すように、この動作に
おいては、前記第2の選択手段102に送る前段で第2
列のデータに対してのみ画素遅延手段121により9画
素遅延を行なっておく。 3.第K列の画素データが第(K−1)列の9クロック
遅延となる関係を満たすように第1列から第4列までの
データを1,2と同様の方法で前記第2の選択手段の第
(K−1)列の画素データと第K列の画素データを前記
端子21と前記端子22に出力する。 4.3の動作の完了直後に、3の動作をデータを第2列
から第5列の画素データとして同様に行なう。 5.第3列から第6列、第4列から第7列の順で4の動
作を第9列から第12列のデータを送るまで続ける。 以上1から5に従って出力する画素データを4個の前記
第2の選択手段120の全てに共通に入力する。
A method of sending pixel data of a block in the search area of the reference frame to the second selecting means will be described with reference to FIG. 1. Two pieces of data 20 in the first column and the second column from the left in the search range in order from the upper left pixel toward the bottom.
Are output simultaneously. Here, in the embodiment when the number of processor slices is an even number, the second storage means 1 is used.
In 02, the upper bits of one data are stored as the pixel data of the first column and the lower bits are stored as the pixel data of the second column, so that the data for 24 pixels is output in 12 clocks, and each data is as shown in FIG. It can also be realized by dividing the upper bits and the lower bits, that is, the odd column pixel data 21 and the even column pixel data 22. 2. The pixel data of the first and second columns are sent to the second selecting means 120 as reference pixel data 21 and reference pixel data 22, respectively. As shown in FIG. 5 (a), in this operation, the second stage is sent before the second selecting means 102.
The pixel delay means 121 delays the 9 pixels only for the data in the column. 3. The second selection means is used in the same manner as 1 and 2 for the data from the first column to the fourth column so that the pixel data of the Kth column satisfies the relationship of 9 clock delay of the (K-1) th column. The pixel data of the (K-1) th column and the pixel data of the Kth column are output to the terminals 21 and 22. Immediately after the completion of the operation of 4.3, the operation of 3 is similarly performed by using the data as the pixel data of the second to fifth columns. 5. The fourth operation is continued in the order of the third to sixth columns and the fourth to seventh columns until the data in the ninth to twelfth columns is sent. Pixel data output according to the above 1 to 5 is commonly input to all of the four second selecting means 120.

【0030】次に、被動きベクトル検出ブロックのデー
タを格納するレジスタ122へ格納するデータ内容につ
いて説明する。連結されているプロセッサエレメント1
23を先に処理の行なわれる方から順にPE1 ,P
2 ,PE3 ,PE4 とすると、PEi 入力するレジス
タ122には第i行の画素データを格納する。レジスタ
122に格納されたデータは演算手段103の動作時
に、次述する図5(b)に示すタイミングで、読み出す
ことが可能となるように格納されている。
Next, the data contents stored in the register 122 for storing the data of the motion vector detection block will be described. Processor element 1 connected
23, PE 1 and P
If E 2 , PE 3 and PE 4 are set, the pixel data of the i-th row is stored in the register 122 to which PE i is input. The data stored in the register 122 is stored so that it can be read at the timing shown in FIG.

【0031】被動きベクトル検出ブロック内の画素デー
タ26が演算手段103を動作させるために必要とする
データ出力タイミングについて説明する。まず第i行、
第1列目のデータはiが1増える毎に1クロックずつ遅
延させて連続9クロック読み出される。つまり、 第1行第1列目のデータは、1〜9クロック目の期間 第2行第1列目のデータは、2〜10クロック目の期間 第3行第1列目のデータは、3〜11クロック目の期間 第4行第1列目のデータは、4〜12クロック目の期間 読み出されることになる。
The data output timing required for the pixel data 26 in the motion vector detection block to operate the arithmetic means 103 will be described. First line i,
The data in the first column is continuously read for 9 clocks with a delay of 1 clock each time i increases by 1. That is, the data in the first row and the first column is in the period of 1 to 9 clocks, the data in the second row and the first column is in the period of 2 to 10 clocks, and the data in the third row and the first column is 3 During the 11th clock, the data in the 4th row and 1st column is read during the 4th to 12th clocks.

【0032】さらに、各レジスタに関して9クロック後
に第2列目のデータが読み出される。つまり、 第1行第2列目のデータは、10〜18クロック目の期
間 第2行第2列目のデータは、11〜19クロック目の期
間 第3行第2列目のデータは、12〜20クロック目の期
間 第4行第2列目のデータは、13〜21クロック目の期
間 読み出されることになる。
Further, the data of the second column is read after 9 clocks for each register. That is, the data in the first row and the second column is in the period of 10 to 18 clocks, the data in the second row and the second column is the period in the 11th to 19th clocks, and the data in the third row and the second column is 12 ˜20th clock period The data of the 4th row and 2nd column will be read during the 13th to 21st clock periods.

【0033】以降第3列〜第4列の画素データに関して
も、各レジスタに関して9クロックごとにデータを入れ
換え、入れ換えたデータは9クロックの間データの読み
出しが行なわれる。以上4列のデータの読み出しを計9
回繰り返す。ただし第i回目の開始時刻は、図5(b)
にも示す通り、第(i−1)回目の右下端の画素の読み
出しの次クロックのタイミングで行なう。
With respect to the pixel data of the third to fourth columns thereafter, the data is exchanged for each register every 9 clocks, and the exchanged data is read out for 9 clocks. A total of 9 readings of the above 4 columns of data
Repeat times. However, the start time of the i-th time is shown in FIG.
As also shown in, the reading is performed at the timing of the next clock of the (i-1) th reading of the pixel at the lower right corner.

【0034】前述した、被動きベクトル検出ブロック内
画素と、参照フレームの探索領域のブロックの画素デー
タのデータタイミングに沿って、演算手段103は図4
のような構成を持って、候補ベクトルに対する誤差の絶
対値の総和を求める。
The calculating means 103 operates in accordance with the data timing of the pixel in the motion vector detection block and the pixel data of the block in the search area of the reference frame described above.
The sum of the absolute values of the errors with respect to the candidate vector is obtained by using the above-mentioned configuration.

【0035】参照フレームのブロック内画素データ(以
下、第I行、第J列の画素をRijとする)と被動き検出
ブロックの画素データ(以下、第I行、第J列の画素を
ijとする)の入力タイミングは、前記のタイミングを
満たすように入力されているものとする。
Pixel data in the block of the reference frame (hereinafter, pixels in the I-th row and the J-th column are referred to as R ij ) and pixel data of the motion detection block (hereinafter, pixels in the I-th row and the J-th column are C ij ) is input so as to satisfy the above timing.

【0036】また、ここで用いる演算手段103の中で
使用されるプロセッサエレメントPEi は、図6に示す
構成を持ち、端子24からPEi-1 からの出力を、端子
25からRijを端子26からCijを入力とし、差分絶対
値演算器130でRijとCijの差分の絶対値を計算して
誤差データ27を加算器131へ出力し、加算器131
はPEi-1 からの出力24と誤差データ27を加算した
値28をレジスタ132に格納し、次クロックにレジス
タ132のデータを出力することによって誤差の絶対値
の累算値を出力する。但し、PE1 は、演算の初期値ま
たは、PEの後に続くデータ遅延手段124の出力23
を端子24の入力とする。
Further, the processor element PE i used in the arithmetic means 103 used here has the configuration shown in FIG. 6, and outputs from the terminal 24 to PE i-1 and from terminal 25 to R ij . 26 receives C ij as an input, the difference absolute value calculator 130 calculates the absolute value of the difference between R ij and C ij , and outputs the error data 27 to the adder 131.
Stores the value 28 obtained by adding the output 24 from PE i-1 and the error data 27 in the register 132, and outputs the data of the register 132 at the next clock to output the accumulated value of the absolute value of the error. However, PE 1 is the initial value of the operation or the output 23 of the data delay means 124 following the PE.
Is an input of the terminal 24.

【0037】次に、演算手段の動作について説明する。 1.演算開始1クロック目に、PE1 に、端子24から
初期値0と、端子25からR11と、端子26からC11
入力し、R11とC11の差分の絶対値(図3中の候補ベク
トル(−4,−4)のための演算)を求める。このと
き、PE2 からPE4 も演算動作を行なってもよいが、
この場合は意味のない値を用いた演算を行なうことにな
り、結果には考慮されない。 2.2クロック目において、PE1 に、端子24から初
期値0と、端子25からR12と、端子26からC11を入
力し、R13とC11の差分の絶対値(図3中の候補ベクト
ル(−4,−3)のための演算)を求めると同時にPE
2 に、端子24からPE1 の出力と、端子25からR12
と、端子26からC12を入力し、R12とC11の差分の絶
対値(図3中の候補ベクトル(−4,−4)のための演
算)とPE1 の出力の和を求める。このとき、PE3
らPE4 も演算動作を行なってもよいが、この場合は意
味のない値を用いた演算を行なうことになり、結果には
考慮されない。 3.3クロック目において、PE1 に、端子24から初
期値0と、端子25からR13と、端子26からC11を入
力し、R13とC11の差分の絶対値(図3中の候補ベクト
ル(−4,−2)のための演算)を求めると同時に、P
2 に、端子24からPE1 の出力と、端子25からR
13と、端子26からC12を入力し、R13とC11の差分の
絶対値(図3中の候補ベクトル(−4,−3)のための
演算)とPE1 の出力の和を求め、さらにPE3 に、端
子24からPE2 の出力と、端子25からR13と、端子
26からC13を入力し、R13とC13の差分の絶対値(図
3中の候補ベクトル(−4,−2)のための演算)とP
2 の出力の和を求める。このとき、PE4 も演算動作
を行なってもよいが、この場合は意味のない値を用いた
演算を行なうことになり、結果には考慮されない。 4.4クロック目において、PE1 に、端子24から初
期値0と、端子25よりR14と、端子26からC11を入
力し、R14とC11の差分の絶対値(図3中の候補ベクト
ル(−4,−1)のための演算)を求めると同時に、P
2 に、端子24からPE1 の出力と、端子25からR
14と、端子26からC12を入力し、R14とC11の差分の
絶対値(図3中の候補ベクトル(−4,−2)のための
演算)とPE1 の出力の和を求め、さらにPE3 に、端
子24からPE2 の出力と、端子25からR14と、端子
26からC13を入力し、R14とC13の差分の絶対値(図
3中の候補ベクトル(−4,−3)のための演算)とP
2 の出力の和を求め、さらにPE4 に、端子24から
PE3 の出力と、端子25からR14と、端子26からC
14を入力し、R14とC14の差分の絶対値(図3中の候補
ベクトル(−4,−4)のための演算)とPE3 の出力
の和を求める。 5.5から9クロック目に関しては第iクロック目の動
作はPE1 に、端子24から初期値0と、端子25から
1iと、端子26からC11を入力し、R1iとC11の差分
の絶対値(第5から第9クロック目に関しては図3中の
候補ベクトル(−4,0)から(−4,+4)のための
演算)を求めると同時に、PE2 に、端子24からPE
1 の出力と、端子25からR1iと、端子26からC12
入力し、R1iとC11の差分の絶対値(第5から第9クロ
ック目に関しては図3中の候補ベクトル(−4,−1)
から(−4,+3)のための演算)とPE1 の出力の和
を求め、さらにPE3 に、端子24からPE2 の出力
と、端子25からR1iと、端子26からC13を入力し、
1iとC13の差分の絶対値(第5から第9クロックめに
関しては図3中の候補ベクトル(−4,−2)から(−
4,+2)のための演算)とPE2 の出力の和を求め、
さらにPE4 に、端子24からPE3 の出力と、端子2
5からR1iと、端子26からC14を入力し、R1iとC14
の差分の絶対値(第5から第9クロックめに関しては図
3中の候補ベクトル(−4,−3)から(−4,+1)
のための演算)とPE3 の出力の和を求め、さらにPE
4 の出力(第5から第9クロック目に関しては図3中の
候補ベクトル(−4,−4)から(−4,0)のための
データ)を5画素遅延手段124へ送る、という処理を
行なう。 6.10クロック目以降に関する動作においては、PE
1 の端子24の入力を5画素遅延手段124の出力デー
タ23とする。 7.10クロック目から18クロック目の動作におい
て、第iクロック目の動作は5に示した動作の中で10
クロック目はPE1 に、端子25からの入力を前記第2
の選択手段120によりR21を、PE2 に、端子25か
らの入力を前記第2の選択手段120によりR1 10を、
PE3 に、端子25からの入力を前記第2の選択手段1
20によりR1 10を、PE4 に、端子25からの入力を
前記第2の選択手段120によりR1 10を選択する。1
1クロック目はPE1 に、端子25からの入力を前記第
2の選択手段120によりR22を、PE2 に、端子25
からの入力を前記第2の選択手段120によりR22を、
PE3 に、端子25からの入力を前記第2の選択手段1
20によりR1 11を、PE4 に、端子25からの入力を
前記第2の選択手段120によりR1 11を選択する。1
2クロック目はPE1 に、端子25からの入力を前記第
2の選択手段120によりR23を、PE2 に、端子25
からの入力を前記第2の選択手段120によりR23を、
PE3 に、端子25からの入力を前記第2の選択手段1
20によりR23を、PE4 に、端子25からの入力を前
記第2の選択手段120によりR1 12を選択する。13
から18クロック目は全てのPE125の端子25から
順にR24からR29を入力する。各時刻において、各PE
の各端子26からは、前述したタイミングにしたがって
セットされている、レジスタの画素データを入力する。 8.19から27クロック目、28から36クロック目
は6の動作において、図5のように端子25への入力R
ijの列要素2の部分をそれぞれ3, 4に列要素1の部分
をそれぞれ2,3にして処理する。 9.37から45クロック目は7の動作に引きつづいて
49からR4 12を用いて、特に37クロック目から40
クロック目で候補ベクトル(−4,+1)から(−4,
+4)の誤差の絶対値の総和のための演算を行なう。こ
こで、第37クロック目から45クロック目における画
素遅延手段124からの出力データ23は、図5(c)
に示すように、候補ベクトル(−4,−4)から(−
4,+4)までにおけるブロックマッチングの誤差の絶
対値の総和として比較手段104へ出力される。なお、
41クロック以降45クロックまでのPEにおける演算
は、ブロックマッチングにおいて意味を持たない。以上
1から9までの動作によって、候補ベクトルの列要素が
−4における、誤差絶対値の総和を求める演算が完了す
る。 10.1から9の動作をさらに8回、計9回繰り返す。
但し、繰り返す毎に、Rijの列要素を全て+1して行な
う。この8回の繰り返しで、候補ベクトル(−3,−
4)から(−3,+4)まで、(−2,−4)から(−
2,+4)まで…(+4,−4)から(+4,+4)ま
での9×9の候補ベクトルに対する誤差絶対値の総和が
求められる。
Next, the operation of the calculating means will be described. 1. At the first clock of the operation start, the initial value 0 from the terminal 24, R 11 from the terminal 25, and C 11 from the terminal 26 are input to PE 1 , and the absolute value of the difference between R 11 and C 11 (in FIG. Calculation of candidate vector (-4, -4)). At this time, PE 2 to PE 4 may also perform the arithmetic operation,
In this case, a calculation using a meaningless value is performed, and it is not considered in the result. At the 2.2th clock, the initial value 0 from the terminal 24, the R 12 from the terminal 25, and the C 11 from the terminal 26 are input to PE 1 , and the absolute value of the difference between R 13 and C 11 (see FIG. 3). PE at the same time as obtaining the candidate vector (operation for -4, -3)
2 , output of PE 1 from terminal 24 and R 12 from terminal 25
Then, C 12 is input from the terminal 26 and the sum of the absolute value of the difference between R 12 and C 11 (calculation for the candidate vector (−4, −4) in FIG. 3) and the output of PE 1 is obtained. At this time, PE 3 to PE 4 may also perform the arithmetic operation, but in this case, an arithmetic operation using a meaningless value is performed, and it is not considered in the result. At the 3.3th clock, the initial value 0 from the terminal 24, R 13 from the terminal 25, and C 11 from the terminal 26 are input to PE 1 , and the absolute value of the difference between R 13 and C 11 (see FIG. 3). At the same time as obtaining the candidate vector (operation for -4, -2), P
The output of PE 1 from terminal 24 and R from terminal 25 to E 2.
13 and C 12 from the terminal 26 are input, and the sum of the absolute value of the difference between R 13 and C 11 (operation for the candidate vector (−4, −3) in FIG. 3) and the output of PE 1 is obtained. Further, the output of PE 2 from the terminal 24, the input of R 13 from the terminal 25, and the input of C 13 from the terminal 26 are input to PE 3 , and the absolute value of the difference between R 13 and C 13 (candidate vector (- 4, -2) and P for
Find the sum of the outputs of E 2 . At this time, PE 4 may also perform an arithmetic operation, but in this case, an arithmetic operation using a meaningless value is performed, and it is not considered in the result. At the 4.4th clock, the initial value 0 from the terminal 24, R 14 from the terminal 25, and C 11 from the terminal 26 are input to PE 1 , and the absolute value of the difference between R 14 and C 11 (see FIG. 3). At the same time as obtaining the candidate vector (operation for -4, -1), P
The output of PE 1 from terminal 24 and R from terminal 25 to E 2.
14 and C 12 from the terminal 26 are input, and the sum of the absolute value of the difference between R 14 and C 11 (calculation for the candidate vector (−4, −2) in FIG. 3) and the output of PE 1 is obtained. Further, the output of PE 2 from terminal 24, the input of R 14 from terminal 25, and the input of C 13 from terminal 26 are input to PE 3 , and the absolute value of the difference between R 14 and C 13 (candidate vector (- 4, 3) and P for
The sum of the outputs of E 2 is obtained, and the output of PE 3 from terminal 24, the output of terminal 25 to R 14, and the output of terminal 26 to C are obtained from PE 4.
14 is input, and the sum of the absolute value of the difference between R 14 and C 14 (calculation for the candidate vector (−4, −4) in FIG. 3) and the output of PE 3 is obtained. Regarding the 5.5th to 9th clocks, the operation of the i-th clock is input to PE 1 by inputting an initial value 0 from the terminal 24, R 1i from the terminal 25, and C 11 from the terminal 26, and inputting R 1i and C 11 . the absolute value of the difference (from the fifth respect ninth clock cycle candidate vectors in FIG. 3 (-4, 0) (-4, +4) operation for) the finding at the same time, the PE 2, from the terminal 24 PE
The output of 1 and R 1i from the terminal 25 and C 12 from the terminal 26 are input, and the absolute value of the difference between R 1i and C 11 (for the fifth to ninth clocks, the candidate vector (-4 , -1)
From (operation for (−4, +3)) and the output of PE 1 are further input to PE 3 , the output of PE 2 from terminal 24, R 1i from terminal 25, and C 13 from terminal 26. Then
The absolute value of the difference between R 1i and C 13 (from the candidate vector (−4, −2) in FIG.
4, +2)) and the output of PE 2 are summed,
Further, to PE 4 , the output of PE 3 from terminal 24 and terminal 2
Input R 1i from 5 and C 14 from the terminal 26, and input R 1i and C 14
The absolute value of the difference between the candidate vectors (-4, -3) to (-4, +1) in FIG. 3 for the fifth to ninth clocks.
For PE) and the output of PE 3
The process of sending the output of 4 (data for the candidate vectors (-4, -4) to (-4,0) in FIG. 3 for the 5th to 9th clocks) to the 5 pixel delay means 124. To do. 6. For operations related to the 10th clock and later, PE
The input of the terminal 24 of 1 is used as the output data 23 of the 5-pixel delay means 124. 7. From the 10th clock to the 18th clock, the operation of the i-th clock is 10 out of the operations shown in 5.
At the second clock, the input from terminal 25 is input to PE 1
Of R 21 by the selection means 120, the PE 2, the R 1 10 by the second selection means 120 inputs from the terminal 25,
The input from the terminal 25 is input to the PE 3 by the second selection means 1
The R 1 10 by 20, the PE 4, by the second selection means 120 inputs from the terminal 25 selects the R 1 10. 1
At the first clock, PE 1 is input, the input from the terminal 25 is sent to R 22 by the second selecting means 120, PE 2 and the terminal 25.
The input from the R 22 by the second selecting means 120,
The input from the terminal 25 is input to the PE 3 by the second selection means 1
The R 1 11 by 20, the PE 4, by the second selection means 120 inputs from the terminal 25 selects the R 1 11. 1
At the second clock, PE 1 is fed to the terminal 25, and the input from the terminal 25 is fed to R 23 by the second selecting means 120 to PE 2 and the terminal 25.
The input from the above is selected by the second selecting means 120 as R 23 ,
The input from the terminal 25 is input to the PE 3 by the second selection means 1
20 selects R 23 , PE 4 and the input from the terminal 25 select R 1 12 by the second selecting means 120. Thirteen
From the 18th clock, R 24 to R 29 are sequentially input from the terminals 25 of all PEs 125. Each PE at each time
The pixel data of the register, which is set according to the above-described timing, is input from each terminal 26 of the. 8. From the 19th to 27th clocks, 28th to 36th clocks, in the operation of 6, the input R to the terminal 25 as shown in FIG.
The column element 2 portion of ij is set to 3, 4 and the column element 1 portion is set to 2 and 3, respectively. 9. From the 37th clock to the 45th clock, use R 49 to R 4 12 following the 7th operation, especially from the 37th clock to the 40th clock.
At the clock, from candidate vector (-4, +1) to (-4,
+4) The calculation for the total sum of the absolute values of the errors is performed. Here, the output data 23 from the pixel delay means 124 at the 37th clock to the 45th clock is shown in FIG.
, The candidate vector (-4, -4) to (-
The sum of absolute values of block matching errors up to 4, +4) is output to the comparison means 104. In addition,
Operations in the PE from 41 clocks to 45 clocks have no meaning in block matching. Through the operations from 1 to 9 above, the calculation for obtaining the sum of absolute error values when the column element of the candidate vector is -4 is completed. The operations from 10.1 to 9 are repeated 8 more times, for a total of 9 times.
However, every time it is repeated, the column elements of R ij are all incremented by +1. By repeating this eight times, the candidate vector (-3,-
4) to (-3, +4), (-2, -4) to (-
2, +4) ... (+4, -4) to (+4, +4) for the 9 × 9 candidate vector, the sum of absolute error values is obtained.

【0038】ここで述べた例以外は、例えば被動きベク
トル検出ブロックをMにし、候補ベクトルの列要素数を
V、行要素数をUにした場合は、回路構成では、プロセ
ッサスライスに属するPEの数をM個にし、画素遅延手
段におけるデータ遅延数を(V−M)にし、
Other than the example described here, for example, when the motion vector detection block is M, the number of column elements of the candidate vector is V, and the number of row elements is U, in the circuit configuration, PEs belonging to the processor slice are The number is M, and the number of data delays in the pixel delay means is (VM),

【0039】データタイミングとしては、参照フレーム
の画素データのI列めの先頭データと(I+1)列目の
先頭データの間の遅延数をVとし、回路構成を考慮した
前述の演算動作の1から9をU回繰り返す。
As the data timing, the delay number between the head data of the I-th column and the head data of the (I + 1) -th column of the pixel data of the reference frame is set to V, and from the above-mentioned operation 1 considering the circuit configuration. Repeat 9 times U times.

【0040】また、図10のように、プロセッサスライ
スをP個(Pは2の整数乗)と連結して持つ場合は、被
動き検出フレームのブロックのデータを格納するレジス
タにおいてI番目のプロセッサスライスに(I+PQ)
列目(Qは整数)のデータを格納するようにし、回路構
成を考慮した前述の演算動作の1から9の繰り返し数を
1/Nとすることで、明らかに実現できる。
When P processor slices are connected to P (P is an integer power of 2) as shown in FIG. 10, the I-th processor slice in the register for storing the data of the block of the motion detection frame. To (I + PQ)
It is apparently realized by storing the data of the column (Q is an integer) and setting the number of repetitions of 1 to 9 of the above-described arithmetic operation in consideration of the circuit configuration to 1 / N.

【0041】図7(a),(b)は本発明に関わる第4
の動きベクトル検出装置を実現する一実施例のブロック
図である。前記第1の発明の動きベクトル検出装置に動
きベクトル決定手段108を付加し、動きベクトル検出
方式決定手段108は画像種類データ70を入力し、P
画像の場合、2つの動きベクトル格納レジスタ106の
片方を無効にする。B画像の場合、両方を有効にする。
7 (a) and 7 (b) show a fourth embodiment of the present invention.
3 is a block diagram of an embodiment for realizing the motion vector detecting device of FIG. Motion vector determination means 108 is added to the motion vector detection device of the first aspect of the invention, and the motion vector detection method determination means 108 inputs the image type data 70 and P
In the case of an image, one of the two motion vector storage registers 106 is invalidated. For B images, both are enabled.

【0042】あるいは、P画像の場合、2枚の参照フレ
ーム内探索領域を格納することができる第2の記憶手段
102への入力画素として前方向予測のための1枚の参
照フレームの2つの探索領域の画素データを入力する。
このようにすることにより、動きベクトル検出のため
の、誤差の絶対値を求める部分は全く変更することな
く、画像種類による動きベクトルの検出方法の変更を実
現できる。
Alternatively, in the case of a P image, two searches for one reference frame for forward prediction are performed as input pixels to the second storage means 102 capable of storing two intra-reference-frame search areas. Input the pixel data of the area.
By doing so, it is possible to change the method of detecting the motion vector according to the image type without changing the part for obtaining the absolute value of the error for detecting the motion vector.

【0043】図8(a),(b)は本発明に関わる第5
の動きベクトル検出装置を説明するための、(a)はB
画像、(b)はP画像における、被動ベクトル検出ブロ
ックと、参照フレームの探索領域の関係を表すものであ
る。
FIGS. 8 (a) and 8 (b) show the fifth embodiment of the present invention.
(A) for explaining the motion vector detecting device of FIG.
Image (b) shows the relationship between the moving vector detection block and the search area of the reference frame in the P image.

【0044】M×M画像の被動きベクトル検出ブロック
に対して、1枚の参照フレームを図8(a)に示すよう
に、被動きベクトル検出ブロックの左上の画素の座標の
位置(X,Y)としたとき参照フレームの探索領域の左
上の画素の座標を(X−N,Y−N)とするようにした
(M+2N)×(M+2N)の探索領域を設定すると、
動きベクトルの検出可能範囲は水平垂直共に+Nから−
Nとなる。
For the motion vector detection block of the M × M image, as shown in FIG. 8A, one reference frame is located at the coordinate position (X, Y) of the upper left pixel of the motion vector detection block. ), The search area of (M + 2N) × (M + 2N) is set such that the coordinates of the upper left pixel of the search area of the reference frame are set to (X−N, Y−N).
The motion vector detectable range is from + N to − for both horizontal and vertical directions.
N.

【0045】B画像に対しては、2枚の参照フレームに
対して前記の探索領域に設定し、第2の記憶手段に格納
することで、2枚の参照フレームに対する水平、垂直共
に−Nから+Nの動きベクトル検出範囲を得る。
For the B image, two reference frames are set in the search area and stored in the second storage means, so that the horizontal and vertical directions of the two reference frames are changed from -N. Obtain a motion vector detection range of + N.

【0046】一方、P画像に対しては、1枚の参照フレ
ームの探索領域を図8(b)のように、被動きベクトル
検出ブロックの左上の画素の座標の位置(X,Y)とし
たとき参照フレームの探索領域の左上の画素の座標を
(X−2N,Y−N)とする第1の領域と、参照フレー
ムの探索領域の左上の画素の座標を(X,Y−N)とす
る第2の領域の2領域を設定し、前記第2の記憶手段に
は1枚の画像の2領域を格納することにする。
On the other hand, for the P image, the search area of one reference frame is set to the coordinate position (X, Y) of the upper left pixel of the motion vector detection block as shown in FIG. 8B. At this time, the first area in which the coordinates of the upper left pixel of the search area of the reference frame are (X-2N, Y-N) and the coordinates of the upper left pixel of the search area of the reference frame are (X, Y-N). Two areas of the second area are set, and two areas of one image are stored in the second storage means.

【0047】これにより、P画像における、水平方向の
動きベクトルの検出範囲を、−2Nから+2NとB画像
の2倍に拡張できる。
As a result, the detection range of the horizontal motion vector in the P image can be expanded from -2N to + 2N, which is twice that of the B image.

【0048】図9は本発明に関わる第6の動きベクトル
検出装置を実現する一実施例のブロック図である。被動
きベクトル検出ブロック画素データ11は2次元低域通
過フィルタ109を通過して、高周波成分をとり除いた
画素データ91を第1の記憶手段101へ入力する。
FIG. 9 is a block diagram of an embodiment for realizing the sixth motion vector detecting device according to the present invention. The motion vector detection block pixel data 11 passes through the two-dimensional low-pass filter 109, and the pixel data 91 from which high frequency components have been removed is input to the first storage means 101.

【0049】この処理における、2次元低域通過フィル
タ109は、例えば「動画像の動き情報検出方式」特願
3−199614に記述されている方式を用いる。
The two-dimensional low-pass filter 109 in this processing uses, for example, the method described in Japanese Patent Application No. 3-199614 “Motion information detection method of moving image”.

【0050】該フレームが、次以降のフレームJの動き
ベクトル検出を行なう際の参照フレームとなりうる場合
において、第1の記憶手段へ蓄えられた画素データ92
は前記第3の記憶手段110に格納する。
When the frame can be used as a reference frame for detecting the motion vector of the subsequent frame J, the pixel data 92 stored in the first storage means.
Is stored in the third storage means 110.

【0051】フレームJの動きベクトル検出を行なう
時、前記第2の記憶手段102は、前記第4の記憶手段
110から探索領域内の画素データ93を入力し、動き
ベクトル検出を行なう。
When detecting the motion vector of the frame J, the second storage means 102 inputs the pixel data 93 in the search area from the fourth storage means 110 and detects the motion vector.

【0052】動きベクトル検出の具体的な手段に関して
は実施例の本発明の第1,第2,第3の動きベクトル検
出例で説明したので省略する。
The specific means for detecting the motion vector has been described in the first, second, and third motion vector detection examples of the present invention of the embodiment, and therefore will be omitted.

【0053】例えば、2次元低域通過フィルタ110に
おいて被動きベクトル検出フレーム、参照フレームに対
して、垂直方向水平方向共に1/2に帯域制限された後
に、水平垂直方向2画素間引きを行なって、前記第1,
第2の記憶手段に格納した画素データ91,95を用い
て本発明の第2の動きベクトル検出装置で述べた演算手
段103を動作すると、動きベクトル検出における候補
ベクトルは図11に示すように、水平垂直2画素おきに
配置される。
For example, in the two-dimensional low-pass filter 110, the motion vector detection frame and the reference frame are band-limited to 1/2 in both the vertical and horizontal directions, and then thinned out in the horizontal and vertical directions by two pixels. The first,
When the calculation means 103 described in the second motion vector detection device of the present invention is operated using the pixel data 91 and 95 stored in the second storage means, candidate vectors in motion vector detection are as shown in FIG. It is arranged every two horizontal and vertical pixels.

【0054】このため垂直水平2画素精度の動きベクト
ル検出を実現する。間引きによって、動きベクトル検出
のための画素間の差分の絶対値を求める演算回数は大幅
に削減され、さらに低域通過フィルタを作用させるた
め、間引きによる動きベクトルの誤検出も防ぐ。(間引
き、低域通過フィルタの効果に関しては、「動画像の動
き情報検出方式」特願平3−199614に表記されて
いる。)
Therefore, the motion vector detection with vertical and horizontal 2 pixel accuracy is realized. By thinning out, the number of calculations for obtaining the absolute value of the difference between pixels for motion vector detection is significantly reduced, and since a low pass filter is operated, false detection of a motion vector due to thinning out is also prevented. (Regarding the effect of the thinning and the low-pass filter, it is described in Japanese Patent Application No. 3-199614 “Motion information detection method of moving image”.)

【0055】本発明の第7の動きベクトル検出装置を実
現する一実施例を図12を用いて説明する。
An embodiment for realizing the seventh motion vector detecting device of the present invention will be described with reference to FIG.

【0056】第2の記憶手段103にデータを格納する
とき、探索範囲Sが画像領域の外の領域を含む場合に
は、画像からはみ出す領域の画素データとしてダミーデ
ータを入力する。ある候補ベクトルにおけるブロックマ
ッチングを行なう際に、参照領域が図12中の参照領域
Uのように画像領域外の画素データを含む場合、参照領
域Uに対応する候補ベクトルを決して選ばないようにす
るために、図15のように、比較手段の中に演算手段か
らベクトル情報を受ける候補ベクトル選別手段111を
持ち、被動き検出ブロックにおいて、画像領域の左端に
ある場合は、候補ベクトルの水平方向の要素が負値とな
るもの、画像領域の右端にある場合は、候補ベクトルの
水平方向の要素が正値となるもの、画像領域の上端にあ
る場合は、候補ベクトルの垂直方向の要素が負値となる
もの、画像領域の左下端にある場合は、候補ベクトルの
垂直方向の要素が正値となるものに対して、図15中の
比較手段において比較動作を行なわないよう候補ベクト
ル選別手段111は比較手段に制御をかける。
When data is stored in the second storage means 103, if the search range S includes an area outside the image area, dummy data is input as pixel data of an area outside the image. When performing block matching on a certain candidate vector, if the reference region includes pixel data outside the image region like the reference region U in FIG. 12, in order to never select the candidate vector corresponding to the reference region U Further, as shown in FIG. 15, if there is a candidate vector selection means 111 that receives vector information from the calculation means in the comparison means and it is at the left end of the image area in the motion detection block, the horizontal element of the candidate vector. Is a negative value, the horizontal element of the candidate vector is a positive value if it is at the right edge of the image area, and the vertical element of the candidate vector is a negative value if it is at the upper edge of the image area. If the vertical vector element of the candidate vector has a positive value, the comparison operation is performed by the comparison means in FIG. Odd candidate vectors sorting unit 111 applies a control to the comparison means.

【0057】従って、如何なる場合においても比較手段
はレジスタへの書き込みを許可する制御信号17を出力
せず、動きベクトル格納レジスタ106の書換えを行な
わないため、参照領域Uに対応する候補ベクトルが動き
ベクトルとして検出されることを防ぐことができる。
Therefore, in any case, the comparison means does not output the control signal 17 for permitting writing to the register and does not rewrite the motion vector storage register 106, so that the candidate vector corresponding to the reference area U is a motion vector. Can be prevented from being detected as.

【0058】[0058]

【発明の効果】以上に説明したように本発明によれば、
動きベクトルを検出する場合において、2枚の参照フレ
ームに関する動きベクトル検出装置により、マッチング
がとれないブロックの出現を防ぎ、効率良い動画像符号
化を実現可能とする。パイプライン処理により、候補ベ
クトルの評価関数値を求めるための回路構成、データタ
イミングを規定したことと、該フレームの低域通過後の
データを次フレーム以降の低域通過後の参照フレームと
して利用可能とし参照フレームに関する低域通過処理が
不要としたこと、によって高速かつ正確な動きベクトル
検出が実現可能となる。加えて、境界領域の処理におい
て、候補ベクトル選別手段を用いた境界領域の動きベク
トル検出制御手段により、動きベクトル検出の演算手段
を境界領域において特殊な処理をさせることなく、動き
ベクトルの誤検出を防止する。
As described above, according to the present invention,
In the case of detecting a motion vector, the motion vector detection device for two reference frames prevents the appearance of a block that cannot be matched, and enables efficient video coding. By pipeline processing, the circuit configuration for determining the evaluation function value of the candidate vector and the data timing have been specified, and the data after the low-pass of the frame can be used as the reference frame after the low-pass of the next and subsequent frames. Since the low-pass processing for the reference frame is unnecessary, high-speed and accurate motion vector detection can be realized. In addition, in the processing of the boundary area, the motion vector detection control means of the boundary area using the candidate vector selection means can detect the motion vector erroneously without causing the calculation means of the motion vector detection to perform a special process in the boundary area. To prevent.

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

【図1】本発明に係わる第1の動きベクトル検出装置の
一実施例の基本ブロック図
FIG. 1 is a basic block diagram of an embodiment of a first motion vector detection device according to the present invention.

【図2】動きベクトルの検出範囲の説明図FIG. 2 is an explanatory diagram of a motion vector detection range.

【図3】動きベクトル検出における候補ベクトルの説明
FIG. 3 is an explanatory diagram of candidate vectors in motion vector detection.

【図4】本発明に係わる第2,第3の動きベクトル検出
装置の一実施例の回路図
FIG. 4 is a circuit diagram of an embodiment of second and third motion vector detecting devices according to the present invention.

【図5】本発明に係わる第2の動きベクトル検出装置の
演算手段を実現するためのデータタイミング図
FIG. 5 is a data timing chart for realizing the arithmetic means of the second motion vector detection device according to the present invention.

【図6】プロセッサエレメントの回路図FIG. 6 is a circuit diagram of a processor element.

【図7】本発明に係わる第4の動きベクトル検出装置の
一実施例の基本ブロック図
FIG. 7 is a basic block diagram of an embodiment of a fourth motion vector detecting device according to the present invention.

【図8】本発明に係わる第5の動きベクトル検出装置の
一実施例に関する動きベクトル検出範囲の説明図
FIG. 8 is an explanatory diagram of a motion vector detection range regarding an embodiment of a fifth motion vector detection device according to the present invention.

【図9】本発明に係わる第6の動きベクトル検出装置の
一実施例の基本ブロック図
FIG. 9 is a basic block diagram of an embodiment of a sixth motion vector detecting device according to the present invention.

【図10】本発明に係わる第2の動きベクトル検出装置
の演算手段の一実施例の基本回路図
FIG. 10 is a basic circuit diagram of an embodiment of a calculation means of a second motion vector detection device according to the present invention.

【図11】本発明に係わる第6の動きベクトル検出装置
の候補ベクトルの説明図
FIG. 11 is an explanatory diagram of candidate vectors of a sixth motion vector detection device according to the present invention.

【図12】境界領域における動きベクトル検出の動きベ
クトル検出範囲の説明図
FIG. 12 is an explanatory diagram of a motion vector detection range of motion vector detection in a boundary area.

【図13】従来の動きベクトル検出方式の説明図FIG. 13 is an explanatory diagram of a conventional motion vector detection method.

【図14】従来の動きベクトル検出装置のブロック図FIG. 14 is a block diagram of a conventional motion vector detection device.

【図15】本発明に係わる第7の動きベクトル検出装置
の境界領域における動きベクトルの選択を行なう方式を
説明するブロック図
FIG. 15 is a block diagram illustrating a method of selecting a motion vector in a boundary area of a seventh motion vector detection device according to the present invention.

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

101 第1の記憶手段 102 第2の記憶手段 103 ブロックマッチングにおける、フレーム間の
誤差の絶対値の総和を求める演算手段 104 比較手段 105 最小値格納レジスタ 106、106′ 動きベクトル格納レジスタ 107 候補ベクトルインデックス 108 動きベクトル検出方式決定手段 109 2次元低域通過フィルタ 110 第3の記憶手段 111 候補ベクトル選別手段 120 第2の選択手段 121 画素遅延手段 122 レジスタ 123 第1の選択手段 124 データ遅延手段 130 差分絶対値演算器 131 加算器 132 レジスタ 11 被動き検出フレーム画素データ 12,12′ 参照フレーム画素データ 13 ブロックマッチングにおける、フレーム間の誤
差の絶対値の総和 15 動きベクトル 16,18 ブロックマッチングにおける、フレーム
間の誤差の絶対値の総和の最小値 17 制御信号 19,19′ 制御信号 20,21,22 参照フレームの探索範囲の画素デ
ータ 23,24,28,30 誤差の絶対値の累算値 25 参照フレーム探索範囲の画素データ 26 被動きベクトル検出ブロックの画素データ 27 初期値または誤差の絶対値の累算値 70 処理画像種類 91,92,93,94,95 低域通過フィルタ作
用後の被動き検出フレーム画素データ
101 First Storage Means 102 Second Storage Means 103 Computation Means for Obtaining Sum of Absolute Error Values between Frames in Block Matching 104 Comparing Means 105 Minimum Value Storage Registers 106, 106 ′ Motion Vector Storage Registers 107 Candidate Vector Index 108 motion vector detection method determination means 109 two-dimensional low pass filter 110 third storage means 111 candidate vector selection means 120 second selection means 121 pixel delay means 122 register 123 first selection means 124 data delay means 130 differential absolute Value calculator 131 Adder 132 Register 11 Motion detection frame pixel data 12, 12 'Reference frame pixel data 13 Sum of absolute value of error between frames in block matching 15 Motion vector 16, 18 Block Minimum value of sum of absolute values of errors between frames in control matching 17 control signal 19, 19 'control signal 20, 21, 22 pixel data in search range of reference frame 23, 24, 28, 30 absolute value of error Accumulated value 25 Pixel data of reference frame search range 26 Pixel data of motion vector detection block 27 Accumulated value of initial value or absolute value of error 70 Processed image type 91, 92, 93, 94, 95 Low pass filter action Subsequent motion detection frame pixel data

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 連続する複数フレームからなる動画像信
号を、各画像フレームを複数個の画素からなる複数ブロ
ックに分割し、個々のブロック内画像とそのブロックが
属するフレームとは異なる参照フレームとのマッチング
度を計算し、動画像の動きベクトルを推定する画像の動
きベクトル検出装置であって、 入力フレームのブロック内画素データを蓄える第1の記
憶手段と、 2枚の参照フレーム画像に対する動きベクトル検出範囲
を含む画素データを蓄える第2記憶手段と、 前記第1の記憶手段に蓄えられたデータと前記第2の記
憶手段に蓄えられたデータとの間でブロックマッチング
を行ない、ブロック内画素の対応画素の誤差の絶対値の
総和とマッチングの際の候補ベクトルを出力する演算手
段と、 前記演算手段が求める全ての候補ベクトルに対する前記
誤差絶対値の総和を比較し最小値を判定する比較手段
と、 前記誤差絶対値の総和を格納するレジスタと、 2枚の参照フレームの各々に対する前記最小値に対応す
る候補ベクトルを格納する2つのレジスタとからなるこ
とを特徴とする動画像の動きベクトル検出装置。
1. A moving image signal composed of a plurality of consecutive frames is divided into a plurality of blocks each of which is composed of a plurality of pixels, and an image in each block and a reference frame different from the frame to which the block belongs An image motion vector detection device for calculating a matching degree and estimating a motion vector of a moving image, the first storage means storing pixel data in a block of an input frame, and motion vector detection for two reference frame images. Corresponding pixels in the block by performing block matching between the second storage means for storing pixel data including a range and the data stored in the first storage means and the data stored in the second storage means. Computation means for outputting a sum of absolute values of pixel errors and candidate vectors at the time of matching, and all candidates obtained by the computation means Comparing means for comparing the sum of the error absolute values with respect to the cutout and determining the minimum value; a register for storing the sum of the error absolute values; and a candidate vector corresponding to the minimum value for each of the two reference frames. And a motion vector detecting device for a moving image.
【請求項2】 前記ブロック内画素の対応画素の誤差の
絶対値の総和を求める演算手段が、ブロックマッチング
における被動き検出フレーム内画素と参照フレーム内画
素との間の差分の絶対値の累算値と初期入力値のいずれ
かを選択する第1の選択手段と、 前記第2の記憶手段から出力される複数個の画素データ
から1つの画素データを選択する第2の選択手段と入力
を前記累算値と現フレーム内画素と前記第2の選択手段
により選択された参照フレーム内画素として前記差分の
絶対値を求め、前記差分の絶対値と前記累算値を加算す
ることにより新たな累算値を出力するプロセッサエレメ
ントを、被動きベクトル検出フレームの前記ブロックの
1ラインの画素数(M)個直列に配置し、第M番めの前
記プロセッサエレメントの出力値を0または複数クロッ
ク遅延し出力するプロセッサスライスを1または複数個
有し、前記プロセッサスライスを複数個有する場合は、
前記プロセッサスライスの出力を新たな前記プロセッサ
スライスの入力に接続することで複数個直列に配置し、
最後に配置された前記プロセッサスライスの出力を前記
第1の選択手段及びM買いプロセッサスライスを通過す
ることにより作成される前記誤差の絶対値の総和を出力
とする演算手段と、 前記誤差の絶対値の総和を格納する複数個のレジスタと
からなり、 さらに全ての前記プロセッサエレメントに対する前記第
2の選択手段への各入力データを各々共通とすることを
特徴とする請求項1に記載の動画像の動きベクトル検出
装置。
2. An arithmetic means for calculating a sum of absolute values of errors of corresponding pixels of the pixels in the block, the accumulation of absolute values of differences between pixels in a motion detection frame and pixels in a reference frame in block matching. A first selecting means for selecting either a value or an initial input value; a second selecting means for selecting one pixel data from a plurality of pixel data output from the second storage means; The cumulative value, the pixel in the current frame, and the pixel in the reference frame selected by the second selecting means are used to obtain the absolute value of the difference, and the absolute value of the difference and the cumulative value are added to obtain a new cumulative value. A processor element that outputs a calculated value is arranged in series in the number of pixels (M) in one line of the block of the motion vector detection frame, and the output value of the Mth processor element is set to 0. If has 1 or a plurality of processor slices to a plurality of clock delay output, having a plurality of said processor slices,
Arranging a plurality of the processor slices in series by connecting them to the input of the new processor slice,
Calculating means for outputting the sum of the absolute values of the errors created by passing the output of the processor slice arranged at the end through the first selecting means and the M buying processor slice; and the absolute value of the error. 2. The moving image according to claim 1, further comprising a plurality of registers for storing the total sum of the above, and further common to each input data to the second selecting means for all the processor elements. Motion vector detection device.
【請求項3】 前記第2の記憶手段において、データの
ビット幅を2倍に持ち隣合う2画素分の画素データに1
つのアドレスを与え、前記第2の記憶手段からの出力後
に、奇数カラム画素と偶数カラム画素に2分割し、いず
れかの画素に画素遅延手段を施すことを特徴とする請求
項2に記載の動画像の動きベクトル検出装置。
3. In the second storage means, the bit width of the data is doubled and the pixel data of two adjacent pixels is set to 1
3. The moving image as claimed in claim 2, wherein one address is given, and after the output from the second storage means, it is divided into an odd-numbered column pixel and an even-numbered column pixel, and one of the pixels is provided with a pixel delay means. Image motion vector detection device.
【請求項4】 前方向予測画像(以下P画像)において
前方向のみの動きベクトル検出を行なう動作をし、かつ
両方向予測画像(以下B画像)に関しては前方向と逆方
向の動きベクトル検出を行なうために、P画像とB画像
における動作を適応的に切替える動きベクトル検出方式
決定手段を有することを特徴とする請求項1に記載の動
画像の動きベクトル検出装置。
4. An operation for detecting a motion vector only in a forward direction in a forward direction predicted image (hereinafter referred to as P image), and a motion vector detection in a forward direction and a backward direction for a bidirectional predicted image (hereinafter referred to as B image). Therefore, the motion vector motion vector detecting apparatus according to claim 1, further comprising motion vector detection method determining means for adaptively switching between the motions of the P image and the B image.
【請求項5】 前記P画像における動きベクトル検出に
おいて、前記第2の記憶手段に1枚の参照画像について
探索範囲を変えた2つの捜索範囲内の画素データを格納
し、被動きベクトル検出ブロックに対する動きベクトル
検出を2つの探索範囲に関して行なうことにより、動き
ベクトル検出範囲を拡張することを特徴とする請求項1
に記載の動画像の動きベクトル検出装置。
5. In motion vector detection in the P image, pixel data in two search ranges obtained by changing the search range for one reference image is stored in the second storage means, and the pixel data for the motion vector detected block is stored. 2. The motion vector detection range is expanded by performing the motion vector detection on two search ranges.
The motion vector detecting device for a moving image according to [4].
【請求項6】 低域通過フィルタを具備し、現フレーム
内画素データは前記低域通過フィルタを施した後、第3
の記憶手段及び動き検出手段へ出力され、前記動きベク
トルの検出手段は、前記第2の記憶手段へ前記第3の記
憶手段に格納された画素データを入力することにより動
き検出の参照画像として低域通過画像を用いることを特
徴とする請求項1に記載の動画像の動きベクトル検出装
置。
6. A low-pass filter is provided, and the pixel data in the current frame is subjected to the low-pass filter and then a third
Of the pixel data stored in the third memory means to the second memory means, and the motion vector detecting means outputs a low-value image as a reference image for motion detection. The motion vector detecting apparatus for a moving image according to claim 1, wherein a band-pass image is used.
【請求項7】 前記被動きベクトル検出ブロックが、画
面の上下左右の境界に存在する場合の動きベクトル検出
において、 前記ブロックの候補ベクトルを選択する機能を前記誤差
最小値比較手段に有することを特徴とする請求項1に記
載の動画像の動きベクトル検出装置。
7. The error minimum value comparison means has a function of selecting a candidate vector of the block in motion vector detection when the motion vector detection block is present at upper, lower, left, and right boundaries of a screen. The motion vector detection device for a moving image according to claim 1.
JP7554392A 1992-02-25 1992-02-25 Motion vector detector for moving image Pending JPH05236455A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7554392A JPH05236455A (en) 1992-02-25 1992-02-25 Motion vector detector for moving image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7554392A JPH05236455A (en) 1992-02-25 1992-02-25 Motion vector detector for moving image

Publications (1)

Publication Number Publication Date
JPH05236455A true JPH05236455A (en) 1993-09-10

Family

ID=13579224

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7554392A Pending JPH05236455A (en) 1992-02-25 1992-02-25 Motion vector detector for moving image

Country Status (1)

Country Link
JP (1) JPH05236455A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02177105A (en) * 1988-12-28 1990-07-10 Hitachi Maxell Ltd Magnetic head
US5293965A (en) * 1991-08-28 1994-03-15 Shimano Inc. Bicycle brake
JPH0723350A (en) * 1993-05-20 1995-01-24 Korean Broadcasting Syst Method and apparatus for presuming picture data movement in high image quality tv(hdtv)
WO2000036841A1 (en) * 1998-12-15 2000-06-22 Matsushita Electric Industrial Co., Ltd. Method and apparatus for image processing
JP2001224036A (en) * 1995-10-18 2001-08-17 Sharp Corp Moving picture coder
US6370195B1 (en) 1998-04-14 2002-04-09 Hitachi, Ltd. Method and apparatus for detecting motion
JP2010183180A (en) * 2009-02-03 2010-08-19 Sanyo Electric Co Ltd Image processor and imaging device loaded with the same
US7885331B2 (en) 2005-03-02 2011-02-08 Kabushiki Kaisha Toshiba Moving picture processor, method for processing a moving picture, and computer program product for executing an application for a moving picture processor
US8144772B2 (en) 2005-03-07 2012-03-27 Kabushiki Kaisha Toshiba Moving picture processor, method for processing a moving picture, and computer program product for executing an application for a moving picture processor
CN111292354A (en) * 2020-01-22 2020-06-16 维沃移动通信有限公司 False detection suppression method and electronic device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02177105A (en) * 1988-12-28 1990-07-10 Hitachi Maxell Ltd Magnetic head
US5293965A (en) * 1991-08-28 1994-03-15 Shimano Inc. Bicycle brake
JPH0723350A (en) * 1993-05-20 1995-01-24 Korean Broadcasting Syst Method and apparatus for presuming picture data movement in high image quality tv(hdtv)
JP2001224036A (en) * 1995-10-18 2001-08-17 Sharp Corp Moving picture coder
US6370195B1 (en) 1998-04-14 2002-04-09 Hitachi, Ltd. Method and apparatus for detecting motion
US6496539B2 (en) 1998-04-14 2002-12-17 Hitachi, Ltd. Method and apparatus for detecting motion
WO2000036841A1 (en) * 1998-12-15 2000-06-22 Matsushita Electric Industrial Co., Ltd. Method and apparatus for image processing
US6791625B1 (en) 1998-12-15 2004-09-14 Matsushita Electric Industrial Co., Ltd. Video processing apparatus for performing address generation and control, and method therefor
US7885331B2 (en) 2005-03-02 2011-02-08 Kabushiki Kaisha Toshiba Moving picture processor, method for processing a moving picture, and computer program product for executing an application for a moving picture processor
US8144772B2 (en) 2005-03-07 2012-03-27 Kabushiki Kaisha Toshiba Moving picture processor, method for processing a moving picture, and computer program product for executing an application for a moving picture processor
JP2010183180A (en) * 2009-02-03 2010-08-19 Sanyo Electric Co Ltd Image processor and imaging device loaded with the same
CN111292354A (en) * 2020-01-22 2020-06-16 维沃移动通信有限公司 False detection suppression method and electronic device

Similar Documents

Publication Publication Date Title
US7412114B2 (en) Method of generating an interpolation image, an interpolation image generating apparatus, and an image display system using the same
JP2803818B2 (en) Method and apparatus for estimating the motion of a moving image sequence
EP0497586A2 (en) Motion detection circuit
JPH06334980A (en) Motion vector detector for moving picture
US4800425A (en) System for displacement vector searching during digital image analysis
JPH05236455A (en) Motion vector detector for moving image
Nicol A systolic approach for real time connected component labeling
JPH09214899A (en) Image prediction processing method an its device
JPS61201581A (en) Method and apparatus for detecting dynamic vector
JPH0220988A (en) Moving vector detection system for animation encoding device
JPWO2004012460A1 (en) Motion vector detection apparatus and motion vector detection method
JP2006215657A (en) Method, apparatus, program and program storage medium for detecting motion vector
US6968011B2 (en) Motion vector detecting device improved in detection speed of motion vectors and system employing the same devices
KR100282614B1 (en) Motion Predictor for Low Bit Rate Video Codecs
US5548665A (en) Vector correlation detecting circuit
JP2885039B2 (en) Motion vector detection circuit
JP3189655B2 (en) Apparatus and method for detecting motion vector
JPH02139799A (en) Two-dimensional shift register and dynamic vector detecting arithmetic circuit using the register
JP3004685B2 (en) Motion vector detection circuit
JP2574563B2 (en) filter
JP4730170B2 (en) Motion vector detection method, motion vector detection device, and motion vector detection program
JPH0779436A (en) Motion vector detector
JPH11187424A (en) Detector and detection method for motion vector detector and motion vector detection method
JPH02145079A (en) Movement compensated calculation method
JP2934134B2 (en) Block matching method and apparatus in video compression

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19981110