JP3397486B2 - MOTION VECTOR MOTION VECTOR DETECTION METHOD AND MOTION VECTOR DETECTION CIRCUIT - Google Patents

MOTION VECTOR MOTION VECTOR DETECTION METHOD AND MOTION VECTOR DETECTION CIRCUIT

Info

Publication number
JP3397486B2
JP3397486B2 JP00558595A JP558595A JP3397486B2 JP 3397486 B2 JP3397486 B2 JP 3397486B2 JP 00558595 A JP00558595 A JP 00558595A JP 558595 A JP558595 A JP 558595A JP 3397486 B2 JP3397486 B2 JP 3397486B2
Authority
JP
Japan
Prior art keywords
vector
motion vector
average
value
motion
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
JP00558595A
Other languages
Japanese (ja)
Other versions
JPH08195939A (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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP00558595A priority Critical patent/JP3397486B2/en
Publication of JPH08195939A publication Critical patent/JPH08195939A/en
Application granted granted Critical
Publication of JP3397486B2 publication Critical patent/JP3397486B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

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 method and a motion vector detecting circuit for detecting a motion vector of a moving object from a moving image signal, and more particularly to a motion vector detecting circuit.
For example, the present invention relates to a motion vector detection method and a motion vector detection circuit of a moving image signal suitable for use in a television system conversion device for performing signal conversion between different television systems or a high efficiency coding device in image transmission.

【0002】[0002]

【従来の技術】動画像中の動領域を動きベクトルとして
検出し、その動きベクトルを用いて動き補正を行なう技
術は、画像伝送の際の高能率符号化におけるフレーム間
符号化効率を向上させる場合、または、テレビジョン方
式変換の際のフィールド数変換による動きの不連続性を
軽減する場合に有効に用いられている。たとえば、テレ
ビジョン方式変換装置としては、特開平01-309597 号公
報、特開平03-280681 号公報、1991年発行のテレビジョ
ン学会誌(Vol.45,No.12,頁1534〜頁1543) 、または1989
年開催のテレビジョン学会全国大会における予稿集(20-
5)などに記載されたものが知られている。
2. Description of the Related Art A technique for detecting a moving area in a moving image as a motion vector and correcting the motion using the motion vector is a technique for improving interframe coding efficiency in high-efficiency coding during image transmission. Or, it is effectively used for reducing motion discontinuity due to conversion of the number of fields during conversion of the television system. For example, as a television system conversion device, Japanese Patent Laid-Open Nos. 01-309597 and 03-280681, the Journal of the Television Society of 1991 (Vol. 45, No. 12, page 1534 to page 1543), Or 1989
Proceedings (20-
The ones described in 5) are known.

【0003】従来、これらの装置に適用された動きベク
トル検出方法は、ディジタル化したテレビジョン信号の
それぞれのフィールドをたとえば横方向m画素および縦
方向nラインを含む(mxn) 画素の所定の大きさのブロッ
クに細分化して、それぞれのブロック毎に、その画面内
での信号の勾配および対応する画面間との信号差分値の
物理的な対応などに基づいて反復的な勾配演算にて動き
量を推定する、いわゆる反復勾配法(Interactive gradi
ent method) と呼ばれる演算法にて動きベクトルを検出
していた。この場合、動き量を推定する際の初期値とし
て被検出ブロックの前に既に検出されている動きベクト
ルのうち最適なものを初期偏位ベクトルとして選択し
て、被検出ブロックの真の動きベクトルに近い値から演
算を開始することにより勾配演算の回数を少なくして、
たとえば2回の演算にて真の動きベクトルを検出する回
路を実現していた。
Conventionally, a motion vector detecting method applied to these devices is arranged such that each field of a digitized television signal has a predetermined size of (mxn) pixels including m pixels in the horizontal direction and n lines in the vertical direction. Each block is divided into blocks, and the amount of motion is calculated by iterative gradient calculation based on the gradient of the signal in the screen and the physical correspondence of the signal difference value between the corresponding screens. The so-called iterative gradient method
The motion vector was detected by an arithmetic method called ent method). In this case, as the initial value when estimating the motion amount, the optimum one of the motion vectors already detected before the detected block is selected as the initial displacement vector and set as the true motion vector of the detected block. By decreasing the number of gradient calculations by starting the calculation from a close value,
For example, a circuit that detects a true motion vector by performing two calculations has been realized.

【0004】この場合、初期偏位ベクトルの候補として
は、同じフィールドから被検出ブロックに隣接する既検
出ブロックの動きベクトル(隣接ベクトル)、時間的に
前のフィールドにおける被検出ブロックに対応するブロ
ックを含む複数個のブロックの動きベクトルを平均化し
た平均ベクトル、および前々フィールドの平均ベクトル
と前フィールドの平均ベクトルの2倍の値との差にて表
わされる加速度ベクトルなどがその候補として選択され
ていた。これらのうち最適な初期偏位ベクトルを求める
には、それぞれの初期偏位ベクトルの値だけ前フィール
ドの対応ブロックの座標を偏位させ、その偏位させたフ
ィールド信号と現フィールドの信号との差をとって、そ
の絶対値をブロックの画素数分累積した値が最小となる
ものを最適な初期偏位ベクトルとして選択していた。
In this case, as the candidates for the initial displacement vector, the motion vector (adjacent vector) of the detected block adjacent to the detected block from the same field, or the block corresponding to the detected block in the temporally previous field is used. An average vector obtained by averaging the motion vectors of a plurality of blocks including the acceleration vector, an acceleration vector represented by the difference between the average vector of the previous field and twice the average vector of the previous field, and the like are selected as candidates. It was To find the optimum initial displacement vector among these, the coordinates of the corresponding block in the previous field are displaced by the value of each initial displacement vector, and the difference between the displaced field signal and the current field signal is calculated. Then, the one in which the value obtained by accumulating the absolute value for the number of pixels of the block is the minimum is selected as the optimum initial displacement vector.

【0005】しかし、上記装置では初期偏位ベクトルの
候補として多くの候補ベクトル、たとえば6種類の動き
ベクトルを蓄積し、その選択の際に多くの演算結果を蓄
積しなければならないため、多数のメモリが必要となっ
て回路規模が大きくなっていた。そこで、たとえば、特
開平04-78286号公報に記載の動きベクトル検出方法で
は、テレビジョン信号の特性を利用して初期偏位ベクト
ルの候補を少なくして回路規模の小型化を図った初期偏
位ベクトルを用いた動きベクトル検出方法が提案されて
いる。この方法では、テレビジョン信号にて表わされる
動画像が定速度、単一方向に動く部分が多いことに着目
して、平均ベクトルとの差の大きい既検出の動きベクト
ルを少なくとも1種選択し、これと平均ベクトルとを初
期偏位ベクトルの候補として選択し、これらのうち最適
なものを初期偏位ベクトルとして選択していた。この結
果、初期偏位ベクトルの候補を蓄積するメモリおよびそ
の演算結果を蓄積するメモリを2種類程度に少なくする
ことにより、回路規模の小型化を実現していた。
However, in the above apparatus, many candidate vectors, for example, six types of motion vectors must be accumulated as candidates for the initial displacement vector, and many arithmetic results must be accumulated when selecting them, so that a large number of memories are required. Was required, and the circuit scale was increasing. Therefore, for example, in the motion vector detection method described in Japanese Patent Laid-Open No. 04-78286, the initial displacement that reduces the circuit scale by reducing the candidates for the initial displacement vector by utilizing the characteristics of the television signal is proposed. A motion vector detection method using a vector has been proposed. In this method, focusing on the fact that a moving image represented by a television signal has a constant speed and a large number of parts moving in a single direction, at least one already-detected motion vector having a large difference from the average vector is selected, This and the average vector are selected as candidates for the initial displacement vector, and the optimum one is selected as the initial displacement vector. As a result, the size of the circuit has been reduced by reducing the memory for accumulating candidates for the initial displacement vector and the memory for accumulating the calculation result thereof to about two types.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上述し
た従来の技術では、回路の小型化を実現したものの、平
均ベクトルを基準とした初期偏位ベクトルを採用してい
るので、映像面積全体に対して比較的小さい面積の動物
体が存在する画像信号が入力された場合に、動物体の動
きベクトルを精度よく検出することができない場合があ
るという問題点があった。たとえば、動物体が被検出ブ
ロックより小さい場合には、被検出ブロックに隣接する
ブロックの動きベクトルの値が「0」 となり、また、その
平均ベクトルの値も「0」 に近い値となって、これらを初
期偏位ベクトルとして選択した場合に、面積の小さい動
物体を含むブロックに対する初期偏位ベクトルがほとん
ど動き「0」 のベクトルとなって選択されてしまう。した
がって、ベクトル値が「0」 となる初期偏位ベクトルを起
点にして、たとえば、2回の勾配演算では真の動きベク
トルの値まで達せず、ほとんどの領域が動きベクトル
「0」 の静領域の部分に含まれて動物体が検出されない場
合があるという欠点があった。
However, in the above-mentioned conventional technique, although the circuit is downsized, since the initial deviation vector based on the average vector is adopted, the entire image area is reduced. When an image signal including a moving object having a relatively small area is input, there is a problem that the motion vector of the moving object may not be accurately detected. For example, if the moving object is smaller than the detected block, the value of the motion vector of the block adjacent to the detected block will be "0", and the value of the average vector will also be close to "0". When these are selected as the initial displacement vector, the initial displacement vector for a block including a moving object having a small area is almost selected as a motion "0" vector. Therefore, starting from the initial displacement vector where the vector value is “0”, for example, the value of the true motion vector cannot be reached in two gradient calculations, and most of the area is the static area of the motion vector “0”. There is a drawback that the animal body may not be detected because it is included in the part.

【0007】本発明は上記課題を解決して、装置を小型
化した上に、小さい面積の動物体を精度よく検出するこ
とができる動画像信号の動きベクトル検出方法および動
きベクトル検出回路を提供することを目的とする。
The present invention solves the above problems and provides a motion vector detecting method and a motion vector detecting circuit for a moving image signal, which is capable of downsizing the apparatus and accurately detecting a moving object having a small area. The purpose is to

【0008】[0008]

【課題を解決するための手段】本発明による動画像信号
の動きベクトル検出方法は、上記課題を解決するため
に、ディジタル化された画像信号における動物体の動き
ベクトルを検出する際にそれぞれのフィールドを複数の
画素およびラインを含むブロックに細分化して、それぞ
れのブロック毎に動き量を推定するための初期値となる
初期偏位ベクトルを設定し、この初期偏位ベクトルに基
づいてそれぞれの被検出ブロックの動きベクトルを順次
検出する動画像信号の動きベクトル検出方法において、
既検出ブロックの動きベクトルを少なくとも1フィール
ド分蓄積しておく第1の工程と、第1の工程にて蓄積し
た動きベクトルをその周辺のブロックの動きベクトルと
ともに読み出し、これらを平均化したブロック毎の第1
の平均ベクトルを求める第2の工程と、第2の工程にて
求めた第1の平均ベクトルの値がそれぞれ「0」である
か否かを判定する第3の工程と、第2の工程にて求めた
第1の平均ベクトルの値が画像に応じてあらかじめ設定
された所定の値を越えているか否かをそれぞれ判定する
第4の工程と、第4の工程にて判定された所定の値を越
えている第1の平均ベクトルを1フィールドにわたって
累積して、これらをフィールド全体にて平均化した第2
の平均ベクトルを求める第5の工程と、第4の工程にて
第1の平均ベクトルの値が「0」でないと判定された場
合に被検出ブロックの初期偏位ベクトルの候補として第
1の平均ベクトルを選択し、第1の平均ベクトルが
「0」であると判定された場合に、第5の工程にて求め
た第2の平均ベクトルを初期偏位ベクトルの候補として
選択する第6の工程と、第6の工程にて選択された初期
偏位ベクトルの候補および被検出ブロックに隣接する既
検出ブロックの動きベクトルを受けて、これらのうち被
検出ブロックの動きベクトルの値に最も近い値の動きベ
クトルを初期偏位ベクトルとして選択する第7の工程
と、第7の工程にて選択した初期偏位ベクトルおよび現
フィールドの画像信号ならびに前フィールドの画像信号
を受けて、これらに基づいて被検出ブロックの真の動き
ベクトルを検出する第8の工程とを有することを特徴と
する。
In order to solve the above-mentioned problems, a method for detecting a motion vector of a moving image signal according to the present invention is applied to each field when detecting a motion vector of a moving object in a digitized image signal. Is subdivided into blocks containing multiple pixels and lines, and an initial displacement vector that is the initial value for estimating the amount of motion is set for each block, and each detected target is detected based on this initial displacement vector. In the motion vector detection method of the moving image signal for sequentially detecting the motion vector of the block,
The first step of accumulating the motion vector of the detected block for at least one field, and the motion vector accumulated in the first step are read out together with the motion vectors of the surrounding blocks, and these are averaged for each block. First
In the second step of determining the average vector of the above, the third step of determining whether or not the value of the first average vector obtained in the second step is “0”, and the second step A fourth step of determining whether or not the value of the first average vector obtained as described above exceeds a predetermined value preset according to the image, and the predetermined value determined in the fourth step. The first average vector that exceeds 1 is accumulated over one field, and these are averaged over the entire field.
Of the first average vector as a candidate for the initial displacement vector of the detected block when it is determined that the value of the first average vector is not "0" in the fourth step A sixth step of selecting a vector and selecting the second average vector obtained in the fifth step as a candidate for the initial deviation vector when it is determined that the first average vector is “0” And a motion vector of a detected block adjacent to the candidate block of the initial displacement vector selected in the sixth step and a detected block, and a value of the value closest to the value of the motion vector of the detected block. The seventh step of selecting the motion vector as the initial displacement vector, the initial displacement vector selected in the seventh step, the image signal of the current field and the image signal of the previous field are received and based on these. And having an eighth step of detecting a true motion vector of the detected block Te.

【0009】この場合、本発明の第7の工程は、初期偏
位ベクトルの候補のそれぞれの値にて、被検出ブロック
に対応する前フィールドのブロックの画像信号をそれぞ
れの画素毎に座標変換する工程と、座標変換した信号と
被検出ブロックの画像信号との差分値をそれぞれの画素
毎に求める工程と、差分値の絶対値を画素毎に累積した
値を比較して、その累積値が最小となる動きベクトルを
初期偏位ベクトルとして選択する工程とを含むとよい。
In this case, in the seventh step of the present invention, the image signal of the block of the previous field corresponding to the detected block is coordinate-converted for each pixel at each value of the candidates of the initial displacement vector. The step, the step of obtaining the difference value between the coordinate-transformed signal and the image signal of the detected block for each pixel, and the absolute value of the difference value accumulated for each pixel are compared, and the accumulated value is the minimum. And the step of selecting a motion vector that becomes as the initial displacement vector.

【0010】また、この場合、第7の工程は、第6の工
程にて選択された平均ベクトルと被検出ブロックに隣接
する既検出ブロックの動きベクトルとを比較して、平均
ベクトルとの差の大きい既検出ブロックの動きベクトル
を少なくとも1種選択し、この既検出ブロックの動きベ
クトルと第6の工程の平均ベクトルとを初期偏位ベクト
ルの候補として選択する工程を含むとよい。
Further, in this case, the seventh step compares the average vector selected in the sixth step with the motion vector of the detected block adjacent to the detected block, and determines the difference between the average vector and the motion vector. It is preferable to include a step of selecting at least one motion vector of a large already detected block and selecting the motion vector of this already detected block and the average vector of the sixth step as candidates for the initial displacement vector.

【0011】さらに、第8の工程は、前フィールドおよ
び現フィールドの画像信号を受け、前フィールドの画像
信号を第7の工程にて選択した初期偏位ベクトルにて偏
位させた信号を起点にして現フィールドの画像信号に対
する動き偏位量をそれぞれの信号の勾配量および差分量
に基づいた複数回の勾配演算を繰り返して求めることに
より、被検出ブロックの真の動きベクトルを検出すると
よい。
Further, in the eighth step, the image signals of the previous field and the current field are received, and the signal obtained by displacing the image signal of the previous field by the initial displacement vector selected in the seventh step is used as a starting point. The true motion vector of the detected block may be detected by repeatedly calculating the amount of motion deviation with respect to the image signal of the current field based on the gradient amount and the difference amount of each signal.

【0012】一方、本発明による動きベクトル検出回路
は、ディジタル化された画像信号における動物体の動き
ベクトルを検出する際に、それぞれのフィールドを複数
の画素およびラインを含むブロックに細分化して、それ
ぞれのブロック毎に動き量を推定する際の初期値となる
初期偏位ベクトルを設定し、この初期偏位ベクトルに基
づいて動きベクトルを検出する動きベクトル検出回路に
おいて、既検出ブロックの動きベクトルを少なくとも1
フィールド分蓄積する記憶手段と、記憶手段に蓄積した
動きベクトルをその周辺のブロックの動きベクトルとと
もに読み出してこれらを平均化したブロック毎の第1の
平均ベクトルをそれぞれ求める第1の平均ベクトル演算
手段と、第1の平均ベクトル演算手段にて求めた第1の
平均ベクトルの値がそれぞれ「0」であるか否かを判定
する第1の判定手段と、第1の演算手段にて求めた第1
の平均ベクトルの値が画像に応じてあらかじめ設定され
た所定の値を越えているか否かをそれぞれ判定する第2
の判定手段と、第2の判定手段にて判定された所定の値
を越えている第1の平均ベクトルを1フィールドにわた
って累積して、これらをフィールド全体にわたって平均
化した第2の平均ベクトルを求める第2の平均ベクトル
演算手段と、第1の判定手段にて第1の平均ベクトルの
値が「0」でないと判定された場合に被検出ブロックの
初期偏位ベクトルの候補として第1の平均ベクトルを選
択し、第1の平均ベクトルが「0」であると判定された
場合に、第2の平均ベクトル演算手段にて求めた第2の
平均ベクトルを初期偏位ベクトルの候補として選択する
第1の選択手段と、第1の選択手段にて選択された初期
偏位ベクトルの候補および被検出ブロックに隣接する既
検出ブロックの動きベクトルを受けて、これらのうち被
検出ブロックの動きベクトルの値に最も近い値の動きベ
クトルを初期偏位ベクトルとして選択する第2の選択手
段と、第2の選択手段にて選択した初期偏位ベクトルお
よび現フィールドの画像信号ならびに前フィールドの画
像信号を受けて、これらに基づいて被検出ブロックの真
の動きベクトルを検出するベクトル検出手段とを有する
ことを特徴とする。
On the other hand, the motion vector detection circuit according to the present invention, when detecting the motion vector of the moving object in the digitized image signal, subdivides each field into blocks including a plurality of pixels and lines, In the motion vector detection circuit that sets the initial displacement vector that is the initial value when estimating the motion amount for each block of, and detects the motion vector based on this initial displacement vector, at least the motion vector of the already detected block is 1
Storage means for accumulating fields, and first average vector calculation means for obtaining the first average vector for each block by reading out the motion vectors accumulated in the storage means together with the motion vectors of the surrounding blocks and averaging them , A first determination unit that determines whether or not the values of the first average vector calculated by the first average vector calculation unit are “0”, and a first determination unit that is calculated by the first calculation unit.
A second determination of whether or not the value of the average vector of the vector exceeds a predetermined value set in advance according to the image.
And the first average vector exceeding the predetermined value determined by the second determining means are accumulated over one field to obtain a second average vector obtained by averaging them over the entire field. When the second average vector calculation means and the first determination means determine that the value of the first average vector is not “0”, the first average vector as a candidate for the initial displacement vector of the detected block And selecting the first average vector as “0”, the second average vector obtained by the second average vector calculating means is selected as a candidate for the initial deviation vector. Of the initial deviation vector selected by the first selecting means and the motion vector of the detected block adjacent to the detected block, and the motion of the detected block among them is received. Second selection means for selecting a motion vector having a value closest to the value of the vector as the initial displacement vector, the initial displacement vector selected by the second selection means, the image signal of the current field, and the image signal of the previous field. In response to this, there is provided a vector detecting means for detecting the true motion vector of the detected block based on these.

【0013】この場合、本発明の第2の選択手段は、初
期偏位ベクトルの候補のそれぞれの値にて、被検出ブロ
ックに対応する前フィールドのブロックの画像信号をそ
れぞれの画素毎に座標変換する変換手段と、座標変換し
た信号と被検出ブロックの画像信号との差分値をそれぞ
れの画素毎に求める差分化手段と、差分値の絶対値をブ
ロックの画素数分累積する累積手段と、該累積手段の出
力を比較する比較手段と、比較手段の結果を受けて累積
値が最小となった動きベクトルを初期偏位ベクトルとし
て選択する選択手段とを含むとよい。
In this case, the second selecting means of the present invention coordinate-converts the image signal of the block of the previous field corresponding to the detected block for each pixel at each value of the candidates of the initial displacement vector. A conversion means for calculating the difference value between the coordinate-converted signal and the image signal of the detected block for each pixel, accumulating means for accumulating the absolute value of the difference value for the number of pixels of the block, It is preferable to include a comparing unit that compares the outputs of the accumulating unit and a selecting unit that receives the result of the comparing unit and selects the motion vector having the smallest accumulated value as the initial displacement vector.

【0014】この第2の選択手段は、第1の選択手段に
て選択された平均ベクトルと被検出ブロックに隣接する
既検出ブロックの動きベクトルとを比較して、平均ベク
トルとの差の大きい既検出ブロックの動きベクトルを少
なくとも1種選択するベクトル比較手段を有し、このベ
クトル比較手段にて選択された既検出ブロックの動きベ
クトルと第1の選択手段にて選択された平均ベクトルの
うちいずれか最適な方を初期偏位ベクトルとして選択す
るとよい。
The second selecting means compares the average vector selected by the first selecting means with the motion vector of an already detected block adjacent to the detected block, and the second vector has a large difference from the average vector. There is a vector comparison means for selecting at least one motion vector of the detection block, and either one of the motion vector of the already detected block selected by this vector comparison means and the average vector selected by the first selection means. The optimum one should be selected as the initial deviation vector.

【0015】また、ベクトル検出手段は、前フィールド
および現フィールドの画像信号を受けて、前フィールド
の画像信号を第2の選択手段にて選択した初期偏位ベク
トルにて偏位させた信号を起点にして現フィールドの画
像信号に対する動き偏位量をそれぞれの信号の勾配量お
よび差分量に基づいて演算する複数の勾配演算手段を有
するとよい。
Further, the vector detecting means receives the image signals of the previous field and the current field, and starts a signal obtained by displacing the image signal of the previous field by the initial displacement vector selected by the second selecting means. Therefore, it is preferable to have a plurality of gradient calculating means for calculating the movement deviation amount for the image signal of the current field based on the gradient amount and the difference amount of each signal.

【0016】さらに、本発明の動きベクトル検出回路
は、ベクトル検出手段にて検出した動きベクトルが所定
の誤差範囲内にて検出されているか否かを評価するベク
トル評価手段を含み、ベクトル評価手段にて良となった
動きベクトルのみを出力および記憶手段に記憶させるこ
とを特徴とする。
Further, the motion vector detection circuit of the present invention includes a vector evaluation means for evaluating whether or not the motion vector detected by the vector detection means is detected within a predetermined error range. It is characterized in that only the motion vector which becomes good is stored in the output and storage means.

【0017】[0017]

【作用】本発明における動画像信号の動きベクトルの検
出方法および動きベクトル検出回路によれば、現フィー
ルドの被検出ブロックに対応する前フィールドの既検出
ブロックとその周辺のブロックの動きベクトルを平均化
した第1の平均ベクトルを順次求めて、その第1の平均
ベクトルが「0」であるか否かを判定し、第1の平均ベ
クトルが「0」でない場合には、その第1の平均ベクト
ルを初期偏位ベクトルの候補として選択する。一方、第
1の平均ベクトルが画像に応じて設定された所定の値を
越えているか否かを判定して、所定の値を越えていると
判定された第1の平均ベクトルを1フィールドにわたっ
て累積し、累積した第1の平均ベクトルをそのフィール
ドにて平均化して第2の平均ベクトルを算出しておく。
そして、第1の平均ベクトルの値が「0」と判定された
部分にその第2の平均ベクトルを初期偏位ベクトルの候
補として置き換え、これを選択する。これによって、平
均ベクトルが「0」となって選択されていた部分に画像
に応じた有効な値が設定され、さらに、これら選択され
た平均ベクトルと現フィールドの既検出ブロックの中で
動きベクトルのうち最適なものを初期偏位ベクトルとし
て選択する。特に、動物体の面積が小さい場合、これを
含むブロック、または静領域と動領域との境界付近のブ
ロックでは、その部分の画像の動きベクトルに近い第2
の平均ベクトルが選択され、この初期偏位ベクトルに基
づいてたとえば反復勾配法などにて前フィールドの対応
ブロックから被検出ブロックの真の動きベクトルを有効
に検出する。
According to the motion vector detecting method and the motion vector detecting circuit of the present invention, the motion vector of the detected block of the previous field corresponding to the detected block of the current field and the motion vectors of the peripheral blocks are averaged. The determined first average vector is sequentially obtained, and it is determined whether or not the first average vector is "0". If the first average vector is not "0", the first average vector is determined. Is selected as a candidate for the initial displacement vector. On the other hand, it is determined whether or not the first average vector exceeds a predetermined value set according to the image, and the first average vector determined to exceed the predetermined value is accumulated over one field. Then, the accumulated first average vector is averaged in the field to calculate the second average vector.
Then, the portion where the value of the first average vector is determined to be “0” is replaced with the second average vector as a candidate for the initial displacement vector, and this is selected. As a result, an effective value corresponding to the image is set in the selected portion where the average vector becomes “0”, and further, the selected average vector and the motion vector in the already detected block of the current field are set. The optimum one is selected as the initial displacement vector. In particular, when the area of the moving body is small, in a block including the moving body or a block near the boundary between the static region and the moving region, the second motion vector close to the motion vector of the image of that part is used.
Is selected, and the true motion vector of the detected block is effectively detected from the corresponding block in the previous field based on this initial displacement vector, for example, by the iterative gradient method.

【0018】[0018]

【実施例】次に、添付図面を参照して本発明による画像
信号の動きベクトル検出方法および動きベクトル検出回
路の一実施例を詳細に説明する。図3〜図5には本発明
における画像信号の動きベクトル検出方法および動きベ
クトル検出回路に適用される基本回路および原理図が示
されている。まず、本実施例の理解を容易にするため、
これらの図を参照して基本的な動きベクトル検出方法の
原理を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a motion vector detecting method and motion vector detecting circuit for an image signal according to the present invention will be described in detail with reference to the accompanying drawings. 3 to 5 show a basic circuit and a principle diagram applied to the motion vector detecting method of the image signal and the motion vector detecting circuit in the present invention. First, in order to facilitate understanding of the present embodiment,
The principle of the basic motion vector detection method will be described with reference to these drawings.

【0019】動きベクトルを求めようとする現フィール
ド信号1および、これに対応する前フィールド信号2
(図4参照)は、二次元ローパスフィルタ49,49 を介し
て本回路に入力され、初期偏位ベクトル選択回路42およ
び2つの勾配法演算回路44,45にそれぞれ供給される。
これらの回路42,44,45では、フィールド信号1,2 がそれ
ぞれ横方向m画素および縦方向n画素のブロックに細分
化されてそれぞれの処理が行なわれる。
The current field signal 1 for which the motion vector is to be obtained and the corresponding previous field signal 2
(See FIG. 4) is input to this circuit via the two-dimensional low-pass filters 49, 49 and supplied to the initial displacement vector selection circuit 42 and the two gradient method operation circuits 44, 45, respectively.
In these circuits 42, 44 and 45, the field signals 1 and 2 are subdivided into blocks each having m pixels in the horizontal direction and n pixels in the vertical direction, and the respective processes are performed.

【0020】二次元ローパスフィルタ49は、フィールド
信号のノイズを除去し、また高域成分を低減する。初期
偏位ベクトル選択回路42は、前回までに検出されている
動きベクトルを動きベクトルメモリ回路41から読み出し
て、これらの中から現フィールド信号の被検出ブロック
の動きベクトルに最も近い動きベクトルを初期偏位ベク
トルVo(図5参照)として選択して、第1の勾配法演算
回路44に供給する。
The two-dimensional low-pass filter 49 removes noise from the field signal and reduces high frequency components. The initial displacement vector selection circuit 42 reads the motion vector detected up to the previous time from the motion vector memory circuit 41, and selects the motion vector closest to the motion vector of the detected block of the current field signal from the motion vector memory circuit 41 as the initial displacement vector. It is selected as the position vector Vo (see FIG. 5) and supplied to the first gradient method computing circuit 44.

【0021】第1の勾配法演算回路44は、初期偏位ベク
トルVoにて前フィールド信号2を偏位させた座標を起点
にして現フィールドの動き量を推定した1回目の動き偏
位分V1(図5参照)を求める。この出力は加算回路46に
て初期偏位ベクトルVoと加算されて第2の勾配法演算回
路45に供給される。同様に、第2の勾配法演算回路45
は、回路44と同様に2回目の偏位分V2を求め出力する。
この出力が加算回路47にて加算回路46の出力と加算さ
れ、その値が現フィールド1の被検出ブロックの動きベ
クトルV(=Vo+V1+V2)として検出され(図5参照)、出力
48および動きベクトルメモリ41にそれぞれ供給される。
これにより、前フィールドにて座標(m1,n1)にあった物
体が現フィールドの座標(m1+α0, n1+β0)に移動した動
き量がベクトルVとして検出される。
The first gradient method operation circuit 44 estimates the amount of movement of the current field from the coordinates where the previous field signal 2 is displaced by the initial displacement vector Vo as the starting point, and the first movement displacement amount V1 (See FIG. 5). This output is added to the initial displacement vector Vo by the adder circuit 46 and supplied to the second gradient method operation circuit 45. Similarly, the second gradient method operation circuit 45
Calculates and outputs the second deviation V2 as in the circuit 44.
This output is added by the adder circuit 47 to the output of the adder circuit 46, and the value is detected as the motion vector V (= Vo + V1 + V2) of the detected block in the current field 1 (see FIG. 5) and output.
48 and the motion vector memory 41, respectively.
As a result, the amount of movement of the object located at the coordinates (m1, n1) in the previous field to the coordinates (m1 + α0, n1 + β0) in the current field is detected as the vector V.

【0022】この際に、勾配法演算回路44,45 は、たと
えば次の演算式(1) 〜(4) にてそれぞれの偏位分を求め
る。 Vx =ΣSGN ΔX ・DFD/Σ |ΔX | ・・・・(1) Vy =ΣSGN ΔY ・DFD/Σ |ΔY | ・・・・(2) ΔX=(An+1,m-An-1,m)/2 ・・・・(3) ΔY=(An,m+1-An,m-1)/2 ・・・・(4) ただし、Vxは動きベクトルVのx方向成分、Vyは動きベ
クトルVのy方向成分、An,mはn画素、mラインの座標
の信号、ΔX は画像のX方向の勾配、ΔY は画像のY方
向の勾配、DFD はフィールド間差分値を示す。また、SG
N ΔX,SGN ΔY はΔX,ΔY のそれぞれ「0」 を含む符号を
示す。
At this time, the gradient method operation circuits 44 and 45 obtain respective deviations by the following operation expressions (1) to (4), for example. Vx = ΣSGN ΔX ・ DFD / Σ | ΔX | ・ ・ ・ ・ (1) Vy = ΣSGN ΔY ・ DFD / Σ | ΔY | ・ ・ ・ ・ (2) ΔX = (A n + 1, m -A n-1 , m ) / 2 (3) ΔY = (A n, m + 1 -A n, m-1 ) / 2 (4) where Vx is the x-direction component of the motion vector V, Vy is the y-direction component of the motion vector V, A n, m is the n-pixel, m-line coordinate signal, ΔX is the gradient in the X direction of the image, ΔY is the gradient in the Y direction of the image, and DFD is the interfield difference value. Show. Also SG
N ΔX, SGN ΔY indicates a code including “0” in each of ΔX and ΔY.

【0023】つまり、勾配法演算回路44,45 では、初期
偏位ベクトルVoを起点にして現フィールドおよび前フィ
ールドの画像信号のそれぞれX方向およびY方向の勾配
および信号の差分値に基づいて動き偏位量を求め、その
演算を繰り返して真の動き量を上記演算により推定して
いる。この結果の動き量、つまり偏位分V1,V2 がそれぞ
れの回路44,45 から出力される。したがって、初期偏位
ベクトルVoを的確な値として勾配法演算回路44,45 に供
給することにより、正確な動きベクトルVを求めること
ができる。
That is, in the gradient method operation circuits 44 and 45, the movement deviation is generated based on the gradient values in the X direction and the Y direction of the image signals of the current field and the previous field and the difference values of the signals from the initial displacement vector Vo as a starting point. The unit amount is obtained, and the calculation is repeated to estimate the true amount of movement by the above calculation. The resulting motion amount, that is, the deviation amounts V1 and V2 are output from the respective circuits 44 and 45. Therefore, an accurate motion vector V can be obtained by supplying the initial displacement vector Vo to the gradient method operation circuits 44 and 45 as an accurate value.

【0024】図1には、本発明による動画像信号の動き
ベクトル検出方法が適用された動きベクトル検出回路の
一実施例が示されている。本実施例の動きベクトル検出
回路は、上記回路を基本構成として、特に、初期偏位ベ
クトル選択回路42にて初期偏位ベクトルの候補を増加さ
せることなく的確な初期偏位ベクトルを選択して出力す
る点に主な特徴を有している。なお、本実施例におい
て、図3と同様の部分には同一符号が付されている。
FIG. 1 shows an embodiment of a motion vector detection circuit to which the motion vector detection method for moving picture signals according to the present invention is applied. The motion vector detection circuit of the present embodiment is based on the above-mentioned circuit as a basic configuration, and in particular, the initial displacement vector selection circuit 42 selects and outputs an accurate initial displacement vector without increasing candidates for the initial displacement vector. The main feature is that it does. In this embodiment, the same parts as those in FIG. 3 are designated by the same reference numerals.

【0025】本実施例における動きベクトル検出回路
は、上記と同様に、ローパスフィルタ49,49 を介して供
給される現フィールド信号1および前フィールド信号2
が入力端子10,12 を介して入力され、初期偏位ベクトル
選択部42、ベクトル検出部50およびベクトル評価部60に
供給される。ベクトル検出部50は、上記勾配演算回路4
4,45 を含み、初期偏位ベクトル選択回路42からの初期
偏位ベクトルCに基づいて動きベクトルを検出し、その
結果の出力Dをベクトル評価部60に供給する演算回路で
ある。ベクトル評価部60は、ベクトル検出部50にて検出
した動きベクトルの値が所定の誤差範囲内にて検出され
ているか否かを評価し、その評価結果が良となった動き
ベクトルEのみを出力端子14から出力させ、またベクト
ルメモリ回路41に記憶させるベクトル判定回路である。
In the motion vector detecting circuit of this embodiment, the current field signal 1 and the previous field signal 2 supplied via the low pass filters 49, 49 are the same as above.
Is input via the input terminals 10 and 12, and is supplied to the initial displacement vector selection unit 42, the vector detection unit 50, and the vector evaluation unit 60. The vector detection unit 50 includes the gradient calculation circuit 4 described above.
An arithmetic circuit including 4,45, detects a motion vector based on the initial displacement vector C from the initial displacement vector selection circuit 42, and supplies the output D as a result to the vector evaluation unit 60. The vector evaluation unit 60 evaluates whether or not the value of the motion vector detected by the vector detection unit 50 is detected within a predetermined error range, and outputs only the motion vector E whose evaluation result is good. This is a vector determination circuit for outputting from the terminal 14 and storing it in the vector memory circuit 41.

【0026】本実施例のベクトル評価部60は、たとえ
ば、図2に示すように2つのフィールドメモリ151a,151
b と、減算回路152 と、絶対値回路154 と、累算回路15
5 と、比較回路156 と、切替回路157 とを含む。メモリ
151aは、現フィールド信号1を順次フィールド毎に蓄積
するフィールドメモリである。メモリ151aは、前フィー
ルド信号2を蓄積し、それぞれのブロックの信号を動き
ベクトルDにより座標変換した信号を出力するフィール
ドメモリである。減算回路152 は、現フィールドメモリ
151aの画像信号から前フィールドメモリ151bの画像信号
を減算する演算回路である。絶対値回路154 は、それぞ
れのブロックの差分信号を画素毎に絶対値化して出力す
る演算回路である。累算回路155 は、絶対値回路154 か
らの出力をそれぞれのブロックの画素数分累算する加算
回路である。比較回路156 は、累算回路155 からの結果
の出力を閾値「A」 と比較して、動きベクトルの良否を判
定する判定回路である。切替回路157 は、比較回路156
からの比較結果が良となった場合に動きベクトルDを真
の動きベクトルEとして出力する出力回路である。
The vector evaluation unit 60 of the present embodiment, for example, has two field memories 151a and 151a as shown in FIG.
b, the subtraction circuit 152, the absolute value circuit 154, and the accumulation circuit 15
5, a comparison circuit 156, and a switching circuit 157. memory
151a is a field memory for sequentially accumulating the current field signal 1 for each field. The memory 151a is a field memory that stores the previous field signal 2 and outputs a signal obtained by coordinate-converting the signal of each block with the motion vector D. The subtraction circuit 152 is the current field memory.
It is an arithmetic circuit that subtracts the image signal of the previous field memory 151b from the image signal of 151a. The absolute value circuit 154 is an arithmetic circuit that converts the difference signal of each block into an absolute value for each pixel and outputs the absolute value. The accumulation circuit 155 is an addition circuit that accumulates the output from the absolute value circuit 154 by the number of pixels in each block. The comparison circuit 156 is a determination circuit that compares the output of the result from the accumulation circuit 155 with a threshold value “A” to determine whether the motion vector is good or bad. The switching circuit 157 is a comparison circuit 156.
Is an output circuit that outputs the motion vector D as a true motion vector E when the comparison result from 1 is good.

【0027】図1に戻って、ベクトル評価部60からの動
きベクトルEはそれぞれのブロック毎にベクトルメモリ
41に順次蓄積される。このベクトルメモリ41は、少なく
とも1フィールド分の動きベクトルを蓄積する、たとえ
ばFIFOメモリなどの記憶回路にて形成されている。初期
偏位ベクトル選択部42は、ベクトルメモリ41から既検出
ブロックの動きベクトルを読み出して、被検出ブロック
の検出に最適な初期偏位ベクトルを選択する。特に、本
実施例の初期偏位ベクトル選択部42は、この図に示すよ
うに第1の平均ベクトル演算部102 と、第1の平均ベク
トル判定部104と、第2の平均ベクトル判定部106 と、
第2の平均ベクトル演算部108 と、第1の初期偏位ベク
トル選択部110 と、第2の初期偏位ベクトル選択部112
とを有している。
Returning to FIG. 1, the motion vector E from the vector evaluation unit 60 is stored in the vector memory for each block.
Sequentially accumulated in 41. The vector memory 41 is formed of a storage circuit such as a FIFO memory, which stores a motion vector for at least one field. The initial displacement vector selection unit 42 reads the motion vector of the already detected block from the vector memory 41 and selects the optimum initial displacement vector for detecting the detected block. In particular, the initial deviation vector selection unit 42 of the present embodiment, as shown in this figure, includes a first average vector calculation unit 102, a first average vector determination unit 104, and a second average vector determination unit 106. ,
Second average vector calculation unit 108, first initial displacement vector selection unit 110, second initial displacement vector selection unit 112
And have.

【0028】詳細には、第1の平均ベクトル演算部102
は、ベクトルメモリ41から被検出ブロックの位置に対応
する前フィールドの既検出ブロックの動きベクトルおよ
びその周辺の動きベクトルFを読み出して、それらの平
均値をブロック毎に求める演算回路である。たとえば、
本実施例の場合、対応ブロックの動きベクトルの値を「C
1」、その周囲のブロックの動きベクトルの値を「C2」〜「C
9」とすると、これらを加算してそのブロックの数9で割
った平均ベクトルH(以下、第1の平均ベクトルHと記
す)を求める。
Specifically, the first average vector calculation unit 102
Is an arithmetic circuit for reading the motion vector of the detected block of the previous field corresponding to the position of the detected block and the motion vector F of its periphery from the vector memory 41 and obtaining the average value thereof for each block. For example,
In the case of the present embodiment, the value of the motion vector of the corresponding block is set to "C
1 ”, the value of the motion vector of the surrounding blocks is“ C2 ”to“ C
9 ", these are added and divided by the number 9 of the blocks to obtain an average vector H (hereinafter, referred to as a first average vector H).

【0029】第1の平均ベクトル判定部104 は、第1の
平均ベクトルHの値が「0」 であるか否かを判定する判定
回路であり、その判定結果を第1の初期偏位ベクトル選
択部110 に選択信号Kとして出力する。たとえば、この
選択信号Kは第1の平均ベクトルの値が「0」 の場合にオ
ンとなり、第1の平均ベクトルの値が「0」 でない場合に
オフとなる信号である。第2の平均ベクトル判定部106
は、第1の平均ベクトルHの値が所定の値「α」を越え
ているか否かを判定する回路であり、その判定結果を第
2の平均ベクトル演算部108 に選択信号Iとして出力す
る。この選択信号Iは信号Kと同様に第1の平均ベクト
ルの値が「α」を越えている場合にオンとなり、「α」
以下の場合にオフとなる信号である。閾値「α」は、画
像の特性に応じてあらかじめ設定され、たとえば全体的
に平坦な画像であれば、その値が低く設定され、勾配が
多い画像であればその勾配に応じて高く設定される。
The first average vector determination unit 104 is a determination circuit for determining whether or not the value of the first average vector H is "0", and the determination result is the first initial deviation vector selection. The selection signal K is output to the section 110. For example, the selection signal K is a signal which is turned on when the value of the first average vector is "0" and turned off when the value of the first average vector is not "0". Second average vector determination unit 106
Is a circuit for determining whether or not the value of the first average vector H exceeds a predetermined value “α”, and outputs the determination result to the second average vector calculation unit 108 as the selection signal I. Like the signal K, the selection signal I is turned on when the value of the first average vector exceeds "α", and "α"
This signal is turned off in the following cases. The threshold value “α” is set in advance according to the characteristics of the image. For example, if the image is an entirely flat image, the value is set low, and if the image has many gradients, it is set high according to the gradient. .

【0030】第2の平均ベクトル演算部108 は、第2の
平均ベクトル判定部106 からの結果が第1の平均ベクト
ルが所定の値「α」を越えていると判定された場合、つ
まり選択信号Iがオンとなった場合に起動されて、その
際に第1の平均ベクトル演算部102 から供給されている
第1の平均ベクトルHを順次取り込み、これを1フィー
ルド分にわたって蓄積して、その平均値を求める。つま
り、前フィールドにおける全体の平均ベクトルのうち所
定の値を越えたものをさらに平均化した値を第2の平均
ベクトルJとして第1の初期偏位ベクトル選択部110 に
供給する。
The second average vector calculation unit 108 determines that the result from the second average vector determination unit 106 is that the first average vector exceeds the predetermined value "α", that is, the selection signal. It is activated when I is turned on, and at that time, the first average vector H supplied from the first average vector calculation unit 102 is sequentially taken in, and this is accumulated over one field, and the average is obtained. Find the value. That is, a value obtained by further averaging the average values of the entire average vectors in the previous field that exceed the predetermined value is supplied to the first initial displacement vector selection unit 110 as the second average vector J.

【0031】第1の初期偏位ベクトル選択部110 は、選
択信号Kに応動してスイッチングする切替回路などによ
り形成され、選択信号Kがオンの場合、つまり第1の平
均ベクトルの値が「0」 でない場合、初期偏位ベクトルの
候補として第1の平均ベクトルHを選択し、選択信号K
がオフの場合、つまり第1の平均ベクトルの値が「0」の
場合に第2の平均ベクトルJを初期偏位ベクトル候補L
として選択する選択回路である。
The first initial displacement vector selection unit 110 is formed by a switching circuit or the like that switches in response to the selection signal K. When the selection signal K is on, that is, the value of the first average vector is "0". , The first average vector H is selected as a candidate for the initial deviation vector, and the selection signal K
Is off, that is, when the value of the first average vector is “0”, the second average vector J is set to the initial deviation vector candidate L.
Is a selection circuit for selecting as.

【0032】第2の初期偏位ベクトル選択部112 は、ベ
クトルメモリ41から被検出ブロックに隣接する既検出ブ
ロックの動きベクトルGを読み出して、これらと第1の
初期偏位ベクトル選択部110 から受けた平均ベクトルL
のうちいずれか1つを初期偏位ベクトルCとして選択す
る選択回路である。たとえば、本実施例では、それぞれ
の初期偏位ベクトルの値にて前フィールド信号2を座標
変換し、その値と現フィールド信号1との差をとる差分
化回路、この差分値をそれぞれの画素毎に絶対値化する
絶対値回路、その出力をブロックの画素数分蓄積する累
算回路、それぞれの累算値を比較する比較回路などを含
み、累算値が最小となった動きベクトルを初期偏位ベク
トルCとして出力する。
The second initial displacement vector selection unit 112 reads out the motion vector G of the detected block adjacent to the detected block from the vector memory 41 and receives them from the first initial displacement vector selection unit 110. Average vector L
The selection circuit selects any one of them as the initial displacement vector C. For example, in this embodiment, a difference circuit that performs coordinate conversion of the previous field signal 2 with each initial displacement vector value and takes the difference between the value and the current field signal 1, and this difference value is calculated for each pixel. Includes an absolute value circuit for converting the output to an absolute value, an accumulation circuit for accumulating the output for the number of pixels in the block, and a comparison circuit for comparing each accumulated value. Output as the position vector C.

【0033】次に、本実施例における動きベクトル検出
方法を上記構成の動きベクトル検出回路の動作とともに
説明する。動作状態において、ベクトル検出部50にて検
出された動きベクトルDはベクトル評価部60を介してベ
クトルメモリ41に順次フィールド毎に蓄積される。この
際に、第1の平均ベクトル演算部102 は既検出ブロック
の動きベクトルおよびその周囲のブロックの動きベクト
ルFをベクトルメモリ41から順次読み出して、それらを
平均化したブロック単位の第1の平均ベクトルHを求め
る。これら順次演算された結果の第1の平均ベクトルH
は、第1の平均ベクトル判定部104 、第2の平均ベクト
ル判定部106 および第1の初期偏位ベクトル選択部112
に供給される。
Next, the motion vector detecting method in this embodiment will be described together with the operation of the motion vector detecting circuit having the above-mentioned configuration. In the operating state, the motion vector D detected by the vector detection unit 50 is sequentially accumulated in the vector memory 41 via the vector evaluation unit 60 for each field. At this time, the first average vector calculation unit 102 sequentially reads the motion vector of the already detected block and the motion vector F of the blocks around it from the vector memory 41, and averages them to obtain the first average vector in block units. Find H. The first average vector H of these sequentially calculated results
Is a first average vector determination unit 104, a second average vector determination unit 106, and a first initial deviation vector selection unit 112.
Is supplied to.

【0034】第1の平均ベクトルHを受けた第2の平均
ベクトル判定部106 は、第1の平均ベクトルHがあらか
じめ設定された閾値「α」を越えているか否かを判定
し、その判定結果Iを第2の平均ベクトル演算部108 に
供給する。この場合、第1の平均ベクトルHの値が
「α」を越えていると判定されると、判定部106 からの
選択信号Iがオンとなり、第2の平均ベクトル演算部10
8 が起動されて、そのベクトル値Hが順次、第2の平均
ベクトル演算部108 に取り込まれる。この動作を繰り返
して、第2の平均ベクトル演算部108 が第2の判定部10
6 にて「α」の値を越えていると判定された第1の平均
ベクトルHを1フィールドにわたって取り込むと、演算
部108 はその平均値を演算して前フィールド全体に対す
る1つの平均ベクトルを第2の平均ベクトルJとして第
1の初期偏位ベクトル選択部110 に供給する。
The second average vector determination unit 106, which has received the first average vector H, determines whether or not the first average vector H exceeds a preset threshold value "α", and the determination result is obtained. I is supplied to the second average vector calculation unit 108. In this case, when it is determined that the value of the first average vector H exceeds “α”, the selection signal I from the determination unit 106 is turned on, and the second average vector calculation unit 10
8 is activated, and the vector value H thereof is sequentially fetched into the second average vector calculation unit 108. By repeating this operation, the second average vector calculation unit 108 makes the second determination unit 10
When the first average vector H determined to exceed the value of “α” in 6 is fetched over one field, the calculation unit 108 calculates the average value to obtain one average vector for the entire previous field. The average vector J of 2 is supplied to the first initial displacement vector selection unit 110.

【0035】一方、第1の平均ベクトルHを受けた第1
の平均ベクトル判定部104 は、そのベクトル値が「0」 で
あるか否かを判定して、その判定結果Kを第1の初期偏
位ベクトル選択部110 に供給する。次いで、判定結果K
を受けた第1の初期偏位ベクトル選択部110 は、第1の
平均ベクトルの値が「0」 でなければ、その被検出ブロッ
クでの初期偏位ベクトルの候補として第1の平均ベクト
ルHを選択し、これを第2の初期偏位ベクトル選択部11
2 に供給する。第1の平均ベクトルの値が「0」であれ
ば、第2の平均ベクトル演算部108 からの第2の平均ベ
クトルJを選択して第2の初期偏位ベクトル選択部112
に供給する。
On the other hand, the first receiving the first average vector H
The average vector determination unit 104 determines whether the vector value is “0” and supplies the determination result K to the first initial displacement vector selection unit 110. Then, the determination result K
When the value of the first average vector is not “0”, the first initial displacement vector selection unit 110 that has received the first average vector H as the candidate of the initial displacement vector in the detected block The second initial deviation vector selection unit 11 is selected.
Supply to 2. If the value of the first average vector is “0”, the second average vector J from the second average vector calculation unit 108 is selected and the second initial deviation vector selection unit 112 is selected.
Supply to.

【0036】次いで、第1の初期偏位ベクトル選択部11
0 からの初期偏位ベクトル候補としての平均ベクトルL
を受けた第2の初期偏位ベクトル選択部110 は、ベクト
ルメモリ41から被検出ブロックの周辺の既検出ブロック
の動きベクトルGを複数個読み出して、これらと平均ベ
クトルのうち初期偏位ベクトルとして最適な動きベクト
ルを選択する。この場合、第2の初期偏位ベクトル選択
部110 は、前フィールド信号2をそれぞれの候補ベクト
ルにて座標変換した信号を求め、その信号と現フィール
ド信号との差分値を求める。次いで、差分値を画素毎に
絶対値化した値をブロック全体にて累積する。それぞれ
の動きベクトルについて累積が完了すると、それら累積
値を比較して、最も小さい値となった候補ベクトル、つ
まり、前フィールドから現フィールドまでの動き量に最
も近いベクトル値を初期偏位ベクトルCとして選択し、
ベクトル検出部50に供給する。
Next, the first initial deviation vector selection unit 11
Mean vector L as a candidate for initial deviation vector from 0
The second initial displacement vector selection unit 110 that has received the data reads out a plurality of motion vectors G of already detected blocks around the detected block from the vector memory 41, and optimizes them as the initial displacement vector of these and the average vector. A different motion vector. In this case, the second initial displacement vector selection unit 110 obtains a signal obtained by coordinate-transforming the previous field signal 2 with each candidate vector, and obtains a difference value between the signal and the current field signal. Next, a value obtained by converting the difference value into an absolute value for each pixel is accumulated in the entire block. When the accumulation is completed for each motion vector, the accumulated values are compared, and the candidate vector having the smallest value, that is, the vector value closest to the motion amount from the previous field to the current field is set as the initial displacement vector C. Selected,
It is supplied to the vector detection unit 50.

【0037】次いで、初期偏位ベクトルCを受けたベク
トル検出部50は、その初期偏位ベクトルCにて偏位させ
た前フィールド信号を起点にして反復勾配法にて演算を
繰り返し、真の動きベクトルDを検出する。この動きベ
クトルDはベクトル評価部60にてそのベクトル値が評価
され、所定の誤差範囲に含まれていれば、出力端子14か
ら出力され、また、ベクトルメモリ41に格納される。
Next, the vector detection unit 50 that has received the initial displacement vector C repeats the calculation by the iterative gradient method with the previous field signal displaced by the initial displacement vector C as the starting point, and the true motion is calculated. Detect vector D. The vector value of the motion vector D is evaluated by the vector evaluation unit 60, and if it is included in a predetermined error range, it is output from the output terminal 14 and stored in the vector memory 41.

【0038】以上の動作が現フィールド信号1に対して
各ブロック毎に繰り返され、そのフィールドすべてのブ
ロックについて真の動きベクトルが順次検出される。ま
た、以上の動作によりベクトルメモリ41に1フィールド
分の動きベクトルが格納されて、次のフィールドの信号
が入力されると、上記と同様に初期偏位ベクトルCの選
択が実行され、それぞれのフィールド毎に上記と同様に
動きベクトルEが検出されていく。
The above operation is repeated for each block for the current field signal 1, and true motion vectors are sequentially detected for all blocks in the field. Further, when the motion vector for one field is stored in the vector memory 41 by the above operation and the signal of the next field is input, the selection of the initial displacement vector C is executed in the same manner as described above, and each field is selected. The motion vector E is detected every time in the same manner as described above.

【0039】以上のように本実施例によれば、初期偏位
ベクトル選択部42に、第1の平均ベクトル判定部104
と、第2の平均ベクトル判定部106 と、第2の平均ベク
トル演算部108 と、第1の初期偏位ベクトル選択部110
とを新たに設けたので、動きベクトル「0」 として検出さ
れていた部分に既検出ブロックの1フィールド全体にわ
たる平均値を画像に応じて設定した有効な値として第2
の平均ベクトルを置き換えることができる。これによ
り、たとえば、図6に示すような映像の大部分の面積が
静止しており、その中で面積の小さい物体が動いている
ような映像において、平均ベクトル「0」の初期偏位ベ
クトルからベクトル検出する場合よりも有効な値を初期
偏位ベクトルとして与えた方が精度良くベクトル検出が
行なえる結果を得ることができた。つまり、動物体と静
領域の境界付近または面積の小さい動物体を含むブロッ
クなどにて、従来、「0」 ベクトルまたは平均ベクトルと
して選択されていた部分が、これらではなく、その値に
より近い初期偏位ベクトルとして第2の平均ベクトルが
選択されて、これより真の動きベクトルを短時間に有効
に検出することができるようになる。
As described above, according to this embodiment, the initial deviation vector selection unit 42 is provided with the first average vector determination unit 104.
A second average vector determination unit 106, a second average vector calculation unit 108, and a first initial deviation vector selection unit 110.
Since and are newly provided, the average value over the entire one field of the already detected block is set as the effective value in the portion detected as the motion vector “0” as the second effective value.
The mean vector of can be replaced. As a result, for example, in an image in which most of the area of the image as shown in FIG. 6 is stationary and an object having a small area is moving in the image, from the initial displacement vector of the average vector “0”, It was possible to obtain the result that the vector detection can be performed more accurately when an effective value is given as the initial displacement vector than when the vector detection is performed. In other words, the part that was conventionally selected as the "0" vector or average vector in the vicinity of the boundary between the moving body and the static area, or in a block including a moving body with a small area, is not the above, but the initial deviation closer to that value. The second average vector is selected as the position vector, so that the true motion vector can be effectively detected in a short time.

【0040】また、本実施例では初期偏位ベクトル候補
の数を増加させることなく初期偏位ベクトルの選択を行
なえるので、第2の初期偏位ベクトル選択部3の回路規
模を増加させることなく、装置を小型化できるという効
果が得られる。
Further, in this embodiment, since the initial displacement vector can be selected without increasing the number of initial displacement vector candidates, the circuit scale of the second initial displacement vector selection unit 3 does not increase. The effect that the device can be miniaturized is obtained.

【0041】なお、上記実施例ではフィールド信号を用
いたインタレース方式の画像信号を例に挙げて説明した
が、本発明においてはノンインタレース方式の画像信号
に適用してもよい。この場合、本明細書におけるフィー
ルド信号をフレーム信号に読み替えるとよい。また、上
記実施例では、第2の初期偏位ベクトル選択部112 にて
初期偏位ベクトル候補のそれぞれを現フィールド信号お
よび前フィールド信号に基づいて比較して最適な初期偏
位ベクトルを選択する場合を例に上げて説明したが、本
発明においては、第2の初期偏位ベクトル選択部に、選
択した平均ベクトルと既検出ブロックの動きベクトルを
比較して平均ベクトルとの差の大きい少なくとも1種の
既検出ブロックの動きベクトルをあらかじめ選択するベ
クトル比較手段を設け、この比較手段にて選択された既
検出ブロックの動きベクトルと選択された平均ベクトル
の少なくとも2種について上記と同様の比較演算を行な
うようにしてもよい。さらに、本実施例では第1の平均
ベクトルが所定の値を越えたものを累積して、これを平
均化して第2の平均ベクトルを求めるようにしたが、本
発明においてはベクトルメモリから読み出した直接の既
検出ブロックの動きベクトルの値を上記所定の値と同様
な閾値と比較してこれを越えるものを1フィールド内に
て累積して、これを平均化したものを第2の平均ベクト
ルとしてもよい。
In the above embodiment, an interlace type image signal using field signals has been described as an example, but the present invention may be applied to a non-interlace type image signal. In this case, the field signal in this specification may be read as a frame signal. In the above embodiment, when the second initial displacement vector selection unit 112 compares each of the initial displacement vector candidates based on the current field signal and the previous field signal to select the optimum initial displacement vector. However, in the present invention, the second initial displacement vector selection unit compares at least one selected average vector with the motion vector of the detected block and has a large difference from the average vector. Vector comparison means for selecting the motion vector of the already detected block in advance is provided, and the same comparison operation as above is performed for at least two types of the motion vector of the already detected block selected by this comparison means and the selected average vector. You may do it. Further, in the present embodiment, the first average vector exceeding the predetermined value is accumulated, and this is averaged to obtain the second average vector, but in the present invention, it is read from the vector memory. The value of the motion vector of the directly detected block is compared with a threshold value similar to the above predetermined value, those exceeding this value are accumulated in one field, and the averaged value is used as the second average vector. Good.

【0042】[0042]

【発明の効果】以上詳細に説明したように本発明による
動画像信号の動きベクトル検出方法および動きベクトル
検出回路によれば、平均ベクトルの値が「0」のブロッ
クを検出した場合に、画像に応じて設定された値を越え
るブロックの平均ベクトルをさらに1フィールドにわた
って平均化した第2の平均ベクトルにて置き換えて初期
偏位ベクトル候補としたので、このベクトルを初期偏位
ベクトルとして選択した場合に、このベクトルに近い値
の被検出ブロックの動きベクトル、たとえば動物体のエ
ッジ付近および面積が小さい動物体の動きベクトルを有
効に検出することができる効果がある。この場合、初期
偏位ベクトルの候補を増加させることなく検出精度を上
げることができ、同時に装置の小型化を図ることができ
る効果を奏する。
As described in detail above, according to the motion vector detecting method and the motion vector detecting circuit of the moving image signal according to the present invention, when a block whose average vector value is "0" is detected, The average vector of blocks exceeding the value set accordingly is replaced with the second average vector averaged over one field to be the initial deviation vector candidate. Therefore, when this vector is selected as the initial deviation vector, There is an effect that it is possible to effectively detect the motion vector of the detected block having a value close to this vector, for example, the motion vector of the edge of the moving object and the moving vector of the moving object having a small area. In this case, the detection accuracy can be improved without increasing the number of candidates for the initial displacement vector, and at the same time, the size of the device can be reduced.

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

【図1】本発明による動画像信号の動きベクトル検出方
法が適用された動きベクトル検出回路の一実施例を示す
ブロック図である。
FIG. 1 is a block diagram showing an embodiment of a motion vector detection circuit to which a motion vector detection method of a moving image signal according to the present invention is applied.

【図2】図1の実施例によるベクトル評価部の内部構成
例を示すブロック図である。
FIG. 2 is a block diagram showing an internal configuration example of a vector evaluation unit according to the embodiment of FIG.

【図3】本発明による動画像信号の動きベクトル検出方
法および動きベクトル検出回路が適用される基本的な回
路を示すブロック図である。
FIG. 3 is a block diagram showing a basic circuit to which a motion vector detection method and a motion vector detection circuit of a moving image signal according to the present invention are applied.

【図4】現フィールド信号と前フィールド信号のそれぞ
れのブロックの関係を示す図である。
FIG. 4 is a diagram showing a relationship between respective blocks of a current field signal and a previous field signal.

【図5】本実施例における動きベクトルを説明するため
の図である。
FIG. 5 is a diagram for explaining a motion vector in this embodiment.

【図6】図1の実施例にて動きベクトルが検出される画
像の例を示す図である。
FIG. 6 is a diagram showing an example of an image in which a motion vector is detected in the embodiment of FIG.

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

41 ベクトルメモリ 42 初期偏位ベクトル選択部 50 ベクトル検出部 60 ベクトル評価部 102 第1の平均ベクトル演算部 104 第1の平均ベクトル判定部 106 第2の平均ベクトル判定部 108 第2の平均ベクトル演算部 110 第1の初期偏位ベクトル選択部 112 第2の初期偏位ベクトル選択部 41 Vector memory 42 Initial deviation vector selection section 50 Vector detector 60 Vector evaluation section 102 First average vector calculator 104 First average vector determination unit 106 Second average vector determination unit 108 Second average vector calculator 110 First initial deviation vector selection unit 112 Second initial deviation vector selection unit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭61−184071(JP,A) 特開 昭62−206980(JP,A) 特開 平4−14980(JP,A) 特開 平4−40185(JP,A) 特開 平6−153167(JP,A) 特開 平6−217266(JP,A) 特開 平7−7721(JP,A) 特開 平7−135663(JP,A) 特開 平7−336691(JP,A) 特開 平8−149421(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 7/00 - 7/088 H04N 7/24 - 7/68 ─────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP 61-184071 (JP, A) JP 62-206980 (JP, A) JP 4-14980 (JP, A) JP 4- 40185 (JP, A) JP-A-6-153167 (JP, A) JP-A-6-217266 (JP, A) JP-A-7-7721 (JP, A) JP-A-7-135663 (JP, A) JP-A-7-336691 (JP, A) JP-A-8-149421 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) H04N 7/ 00-7/088 H04N 7/24 -7/68

Claims (9)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ディジタル化された動画像信号のそれぞ
れのフィールドを複数の画素およびラインを含むブロッ
クに細分化して、それぞれのブロック毎に動き量を推定
する際の初期値となる初期偏位ベクトルを設定し、該初
期偏位ベクトルに基づいてそれぞれの被検出ブロックの
動き量を表わす動きベクトルを検出する動画像信号の動
きベクトル検出方法において、該方法は、 既検出ブロックの動きベクトルを少なくとも1フィール
ド分蓄積しておく第1の工程と、 該第1の工程にて蓄積された動きベクトルをその周辺の
複数のブロックの動きベクトルとともに読み出し、これ
らを平均化したそれぞれのブロック毎の第1の平均ベク
トルを求める第2の工程と、 該第2の工程にて求めた第1の平均ベクトルの値がそれ
ぞれ「0」であるか否かを判定する第3の工程と、 前記第2の工程にて求めた第1の平均ベクトルの値がそ
れぞれ画像に応じてあらかじめ設定された所定の値を越
えているか否かを判定する第4の工程と、 該第4の工程にて判定された所定の値を越えている第1
の平均ベクトルを1フィールドにわたって累積して、こ
れらをフィールド全体にて平均化した第2の平均ベクト
ルを求める第5の工程と、 前記第4の工程にて第1の平均ベクトルの値が「0」で
ないと判定された場合に、被検出ブロックの初期偏位ベ
クトルの候補として該第1の平均ベクトルを選択し、第
1の平均ベクトルが「0」であると判定された場合に、
前記第5の工程にて求めた第2の平均ベクトルを初期偏
位ベクトルの候補として選択する第6の工程と、 該第6の工程にて選択された初期偏位ベクトルの候補お
よび被検出ブロックに隣接する既検出ブロックの動きベ
クトルを受けて、これらのうち被検出ブロックの動きベ
クトルの値に最も近い値の動きベクトルを初期偏位ベク
トルとして選択する第7の工程と、 該第7の工程にて選択した初期偏位ベクトルおよび現フ
ィールドの画像信号ならびに前フィールドの画像信号を
受けて、これらに基づいて被検出ブロックの真の動きベ
クトルを検出する第8の工程とを有することを特徴とす
る動画像信号の動きベクトル検出方法。
1. An initial displacement vector that becomes an initial value when a motion amount is estimated for each block by subdividing each field of a digitized moving image signal into blocks including a plurality of pixels and lines. And a motion vector detection method for a moving image signal in which a motion vector representing a motion amount of each detected block is detected based on the initial displacement vector, the method includes: The first step of accumulating the fields, and the motion vector accumulated in the first step are read out together with the motion vectors of a plurality of blocks around the field, and the average of these values is calculated for each block. The second step of obtaining the average vector and whether or not the value of the first average vector obtained in the second step is "0". And a fourth step of determining whether or not the value of the first average vector obtained in the second step exceeds a predetermined value set in advance for each image. And a first value that exceeds a predetermined value determined in the fourth step.
In the fifth step of obtaining the second average vector by averaging these average vectors over one field and averaging them over the entire field, and the value of the first average vector in the fourth step is "0". When it is determined that the first average vector is selected as a candidate for the initial displacement vector of the detected block, and it is determined that the first average vector is “0”,
A sixth step of selecting the second average vector obtained in the fifth step as a candidate of the initial deviation vector, and a candidate of the initial deviation vector and the detected block selected in the sixth step Receiving a motion vector of an already detected block adjacent to, and selecting a motion vector having a value closest to the value of the motion vector of the detected block as an initial displacement vector, and the seventh step. The eighth step of receiving the initial displacement vector selected in step 1, the image signal of the current field, and the image signal of the previous field, and detecting the true motion vector of the detected block based on these signals. Motion vector detection method for moving image signals.
【請求項2】 請求項1に記載の動きベクトル検出方法
において、前記第7の工程は、初期偏位ベクトルの候補
のそれぞれの値にて被検出ブロックに対応する前フィー
ルドのブロックの画像信号を座標変換する工程と、座標
変換した信号と被検出ブロックの画像信号との差分値を
それぞれの画素毎に求める工程と、求めた差分値の絶対
値をブロックの画素数分、累積する工程と、累積したそ
れぞれの値を比較して累積値が最小となった動きベクト
ルを初期偏位ベクトルとして選択する工程とを含むこと
を特徴とする動画像信号の動きベクトル検出方法。
2. The motion vector detecting method according to claim 1, wherein in the seventh step, an image signal of a block of a previous field corresponding to a detected block is obtained with each value of candidates of the initial displacement vector. A step of coordinate conversion, a step of obtaining a difference value between the coordinate-converted signal and the image signal of the detected block for each pixel, a step of accumulating the absolute value of the obtained difference value by the number of pixels of the block, A method of detecting a motion vector of a moving image signal, comprising the step of comparing respective accumulated values and selecting a motion vector having a minimum accumulated value as an initial displacement vector.
【請求項3】 請求項2に記載の動きベクトル検出方法
において、前記第7の工程は、前記第6の工程にて選択
されたいずれかの平均ベクトルと被検出ブロックに隣接
する既検出ブロックの動きベクトルとを比較して、平均
ベクトルとの差の大きい既検出ブロックの動きベクトル
を少なくとも1種選択し、該ベクトルと前記平均ベクト
ルとを初期偏位ベクトルの候補として選択する工程を含
むことを特徴とする動きベクトル検出方法。
3. The motion vector detection method according to claim 2, wherein the seventh step is to select one of the average vectors selected in the sixth step and a detected block adjacent to the detected block. Comparing with the motion vector, selecting at least one motion vector of the detected block having a large difference from the average vector, and selecting the vector and the average vector as candidates for the initial displacement vector. Characteristic motion vector detection method.
【請求項4】 請求項1に記載の動きベクトル検出方法
において、前記第8の工程は、前フィールドおよび現フ
ィールドの画像信号を受けて、前フィールドの画像信号
を前記第7の工程にて選択した初期偏位ベクトルにて偏
位させた信号を起点にして現フィールドの画像信号に対
する動き偏位量をそれぞれの信号の勾配量および差分量
に基づく複数回の勾配演算を繰り返して求めることによ
り、被検出ブロックの真の動きベクトルを検出すること
を特徴とする動画像信号の動きベクトル検出方法。
4. The motion vector detecting method according to claim 1, wherein the eighth step receives the image signals of the previous field and the current field, and selects the image signal of the previous field in the seventh step. By using the signal displaced by the initial displacement vector as a starting point, the amount of motion displacement with respect to the image signal of the current field is obtained by repeatedly performing a plurality of gradient calculations based on the gradient amount and the difference amount of each signal, A method for detecting a motion vector of a moving image signal, which comprises detecting a true motion vector of a detected block.
【請求項5】 ディジタル化された画像信号のそれぞれ
のフィールドを複数の画素およびラインを含むブロック
に細分化して、それぞれのブロック毎に動き量を推定す
るための初期値となる初期偏位ベクトルを設定し、該初
期偏位ベクトルに基づいてそれぞれの被検出ブロックの
動き量を表わす動きベクトルを検出する動きベクトル検
出回路において、該回路は、 既検出ブロックの動きベクトルを少なくとも1フィール
ド分蓄積する記憶手段と、 該記憶手段に蓄積した動きベクトルをその周辺の複数の
ブロックの動きベクトルとともに読み出し、これらをそ
れぞれのブロック毎に平均化した第1の平均ベクトルを
求める第1の平均ベクトル演算手段と、 該第1の平均ベクトル演算手段にて求めた第1の平均ベ
クトルの値が「0」であるか否かをそれぞれ判定する第
1の判定手段と、 前記第1の平均ベクトル演算手段にて求めた第1の平均
ベクトルの値が画像に応じてあらかじめ設定された所定
の値を越えているか否かをそれぞれ判定する第2の判定
手段と、 該第2の判定手段にて判定された所定の値を越えている
第1の平均ベクトルを1フィールドにわたって累積し
て、これらをフィールド全体にわたって平均化した第2
の平均ベクトルを求める第2の平均ベクトル演算手段
と、 前記第1の判定手段にて第1の平均ベクトルの値が
「0」でないと判定された場合に、被検出ブロックの初
期偏位ベクトルの候補として第1の平均ベクトルを選択
し、第1の平均ベクトルが「0」であると判定された場
合に、前記第2の平均ベクトル演算手段にて求めた第2
の平均ベクトルを初期偏位ベクトルの候補として選択す
る第1の選択手段と、 該第1の選択手段にて選択された初期偏位ベクトルの候
補および被検出ブロックに隣接する既検出ブロックの動
きベクトルを受けて、これらのうち被検出ブロックの動
きベクトルの値に最も近い値の動きベクトルを初期偏位
ベクトルとして選択する第2の選択手段と、 該第2の選択手段にて選択した初期偏位ベクトルおよび
現フィールドの画像信号ならびに前フィールドの画像信
号を受けて、これらに基づいて被検出ブロックの真の動
きベクトルを検出するベクトル検出手段とを有すること
を特徴とする動きベクトル検出回路。
5. An initial displacement vector which is an initial value for estimating a motion amount for each block by subdividing each field of the digitized image signal into blocks including a plurality of pixels and lines. In a motion vector detection circuit that sets and detects a motion vector representing a motion amount of each detected block based on the initial displacement vector, the circuit stores a motion vector of an already detected block for at least one field. Means, and a first average vector operation means for reading out the motion vector accumulated in the storage means together with the motion vectors of a plurality of blocks around the storage means, and obtaining a first average vector by averaging the motion vectors for each block. Whether or not the value of the first average vector calculated by the first average vector calculation means is "0" And a first determination unit for determining whether or not the value of the first average vector obtained by the first average vector calculation unit exceeds a predetermined value preset according to the image. A second judging means for judging and a first average vector exceeding a predetermined value judged by the second judging means are accumulated over one field, and these are averaged over the entire field.
Of the initial deviation vector of the detected block when the value of the first average vector is not “0” by the second average vector calculation means for obtaining the average vector of When the first average vector is selected as a candidate and it is determined that the first average vector is “0”, the second average vector calculation unit obtains the second average vector.
Selection means for selecting the average vector of the above as a candidate for the initial displacement vector, and the candidate for the initial displacement vector selected by the first selection means and the motion vector of the detected block adjacent to the detected block In response to this, second selection means for selecting a motion vector having a value closest to the value of the motion vector of the detected block as the initial displacement vector, and the initial displacement selected by the second selection means. A motion vector detection circuit comprising: a vector, a current field image signal, and a previous field image signal, and vector detection means for detecting the true motion vector of the detected block based on these signals.
【請求項6】 請求項5に記載の動きベクトル検出回路
において、前記第2の選択手段は、初期偏位ベクトルの
候補のそれぞれの値にて被検出ブロックに対応する前フ
ィールドのブロックの画像信号を座標変換する変換手段
と、該座標変換した信号と被検出ブロックの画像信号と
の差分値をそれぞれの画素毎に求める差分化手段と、該
差分値の絶対値をブロックの画素数分累積する累積手段
と、該累積手段の出力を比較する比較手段と、該比較手
段の結果を受けて、累積値が最小となった動きベクトル
を初期偏位ベクトルとして選択する選択手段とを含むこ
とを特徴とする動きベクトル検出回路。
6. The motion vector detection circuit according to claim 5, wherein the second selection means is an image signal of a block in the previous field corresponding to the detected block with each value of the candidates for the initial displacement vector. Transforming means for coordinate transforming, a difference generating means for obtaining a difference value between the coordinate-transformed signal and the image signal of the detected block for each pixel, and an absolute value of the difference value is accumulated for the number of pixels of the block. Accumulating means, comparing means for comparing outputs of the accumulating means, and selecting means for receiving a result of the comparing means and selecting a motion vector having a minimum accumulated value as an initial displacement vector Motion vector detection circuit.
【請求項7】 請求項6に記載の動きベクトル検出回路
において、前記第2の選択手段は、前記第1の選択手段
にて選択された平均ベクトルと被検出ブロックに隣接す
る既検出ブロックの動きベクトルとを比較して、平均ベ
クトルとの差の大きい既検出ブロックの動きベクトルを
少なくとも1種選択するベクトル比較手段を有し、該ベ
クトル比較手段にて選択された既検出ブロックの動きベ
クトルと前記第1の選択手段にて選択された平均ベクト
ルのうちいずれかを初期偏位ベクトルとして選択するこ
とを特徴とする動きベクトル検出回路。
7. The motion vector detection circuit according to claim 6, wherein the second selection unit moves the average vector selected by the first selection unit and a detected block adjacent to the detected block. And a vector comparison means for comparing at least one motion vector of the detected block having a large difference from the average vector with the motion vector of the detected block selected by the vector comparison means. A motion vector detecting circuit, characterized in that one of the average vectors selected by the first selecting means is selected as an initial displacement vector.
【請求項8】 請求項5に記載の動きベクトル検出回路
において、前記ベクトル検出手段は、前フィールドおよ
び現フィールドの画像信号を受けて、前フィールドの画
像信号を前記第2の選択手段にて選択した初期偏位ベク
トルにて偏位させた信号を起点にして現フィールドの画
像信号に対する動き偏位量をそれぞれの信号の勾配量お
よび差分量に基づいて演算する複数の勾配演算手段を有
することを特徴とする動きベクトル検出回路。
8. The motion vector detecting circuit according to claim 5, wherein the vector detecting means receives the image signals of the previous field and the current field, and selects the image signal of the previous field by the second selecting means. And a plurality of gradient calculating means for calculating the amount of motion deviation with respect to the image signal of the current field based on the gradient amount and the difference amount of each signal with the signal displaced by the initial displacement vector as a starting point. Characteristic motion vector detection circuit.
【請求項9】 請求項5に記載の動きベクトル検出回路
において、該回路は前記ベクトル検出手段にて検出した
動きベクトルの値が所定の誤差範囲内にて検出されてい
るか否かを評価するベクトル評価手段を含み、該ベクト
ル評価手段にて良となった動きベクトルのみを出力し、
かつ前記記憶手段に記憶させることを特徴とする動きベ
クトル検出回路。
9. The motion vector detection circuit according to claim 5, wherein the circuit evaluates whether or not the value of the motion vector detected by the vector detection means is detected within a predetermined error range. Including only the evaluation means, outputting only the motion vector which is good by the vector evaluation means,
And a motion vector detection circuit which is stored in the storage means.
JP00558595A 1995-01-18 1995-01-18 MOTION VECTOR MOTION VECTOR DETECTION METHOD AND MOTION VECTOR DETECTION CIRCUIT Expired - Fee Related JP3397486B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP00558595A JP3397486B2 (en) 1995-01-18 1995-01-18 MOTION VECTOR MOTION VECTOR DETECTION METHOD AND MOTION VECTOR DETECTION CIRCUIT

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP00558595A JP3397486B2 (en) 1995-01-18 1995-01-18 MOTION VECTOR MOTION VECTOR DETECTION METHOD AND MOTION VECTOR DETECTION CIRCUIT

Publications (2)

Publication Number Publication Date
JPH08195939A JPH08195939A (en) 1996-07-30
JP3397486B2 true JP3397486B2 (en) 2003-04-14

Family

ID=11615325

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00558595A Expired - Fee Related JP3397486B2 (en) 1995-01-18 1995-01-18 MOTION VECTOR MOTION VECTOR DETECTION METHOD AND MOTION VECTOR DETECTION CIRCUIT

Country Status (1)

Country Link
JP (1) JP3397486B2 (en)

Also Published As

Publication number Publication date
JPH08195939A (en) 1996-07-30

Similar Documents

Publication Publication Date Title
KR930002613B1 (en) Image motion vector detector
US5748231A (en) Adaptive motion vector decision method and device for digital image stabilizer system
EP0896300A2 (en) Device and method for motion vector detection
EP0579844A1 (en) Method and apparatus for motion estimation
JP2002523985A (en) Problem area localization in image signals
KR0163922B1 (en) Method & apparatus for detecting movement vector of camera image
US20060045365A1 (en) Image processing unit with fall-back
US20050180506A1 (en) Unit for and method of estimating a current motion vector
JP2003078807A (en) Device and method for detecting motion vector, device and method for correcting camera shake and imaging apparatus
EP0643538B1 (en) Motion vector detecting apparatus and method
EP0538042A2 (en) Apparatus for judging a hand movement of an image
KR100200761B1 (en) Motion compensating method and apparatus for camcorder
US8350966B2 (en) Method and system for motion compensated noise level detection and measurement
JP3397486B2 (en) MOTION VECTOR MOTION VECTOR DETECTION METHOD AND MOTION VECTOR DETECTION CIRCUIT
JPH08149421A (en) Motion interpolation method and circuit using motion vector
JP2006215657A (en) Method, apparatus, program and program storage medium for detecting motion vector
KR100772380B1 (en) An extended method of noise-adaptive motion detection
KR970004927B1 (en) Adaptive motion decision system for digital image stabilizer based on edge pattern matching
JP3121519B2 (en) Motion interpolation method and motion interpolation circuit using motion vector, and motion vector detection method and motion vector detection circuit
EP1128678A1 (en) Motion estimation apparatus and method
JP3611958B2 (en) Motion vector detection method and motion vector detection circuit for moving picture signal
JPH08242454A (en) Method for detecting global motion parameter
JPH0787499A (en) Method and device for detecting motion vector
JP2007503656A (en) Edge direction estimation
JPH07284016A (en) Method and apparatus for determining movement vector in digital image stabilizing system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030107

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

Free format text: PAYMENT UNTIL: 20090214

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090214

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100214

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110214

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110214

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120214

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130214

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20140214

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees