JP2007097028A - Motion vector detecting method and motion vector detecting circuit - Google Patents

Motion vector detecting method and motion vector detecting circuit Download PDF

Info

Publication number
JP2007097028A
JP2007097028A JP2005286202A JP2005286202A JP2007097028A JP 2007097028 A JP2007097028 A JP 2007097028A JP 2005286202 A JP2005286202 A JP 2005286202A JP 2005286202 A JP2005286202 A JP 2005286202A JP 2007097028 A JP2007097028 A JP 2007097028A
Authority
JP
Japan
Prior art keywords
vector
motion vector
detected
field
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.)
Pending
Application number
JP2005286202A
Other languages
Japanese (ja)
Inventor
Hidekazu Fukazawa
英一 深沢
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
Oki Comtec Ltd
Original Assignee
Oki Electric Industry Co Ltd
Oki Comtec 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, Oki Comtec Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2005286202A priority Critical patent/JP2007097028A/en
Publication of JP2007097028A publication Critical patent/JP2007097028A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a high-precision motion vector detecting method and a motion vector detecting circuit by which a correct motion vector is easily detected in a still region. <P>SOLUTION: In the motion vector detecting circuit 10, a motion detecting circuit 22 which receives a reference field (preceding field) signal 16 and a detected field (current field) signal 20, calculates a total sum ΣFD of field difference between a detected block within a detected field at the same position and a reference block within a reference field before detecting a motion vector between these fields. A motion determination circuit 20 determines whether the detected block is moving/still on the basis of the total sum ΣFD of the field difference. If a determination result 32 is "still", an initial bias vector selection circuit 42 selects an initial bias vector, improving a priority order of a zero vector, from among a plurality of vectors. A subsequent gradient method arithmetic circuit 52, 54 detects a motion vector V on the basis of the selected initial bias vector. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、TV(Tele-Vision)信号において、動画像の大きさおよび方向、すなわち動きベクトルを検出する方法および回路に関するものである。   The present invention relates to a method and circuit for detecting the size and direction of a moving image, that is, a motion vector, in a TV (Tele-Vision) signal.

動きベクトルは、TV信号の高能率符号化におけるフレーム間符号化効率を向上させる際や、TV方式変換におけるフィールド数の変換による動きの不連続性を軽減させる際に用いられている。   The motion vector is used when improving the inter-frame coding efficiency in high-efficiency coding of a TV signal, or when reducing motion discontinuity due to the conversion of the number of fields in the TV system conversion.

また、一般的な動きベクトル検出方式は、TV信号をm画素×nライン(m、nは整数)のブロックに細分化した後、ブロック毎に動きベクトルを検出する方法であり、特許文献2、特許文献3のパターンマッチング法や、特許文献4の反復勾配法などがよく知られている。   A general motion vector detection method is a method of detecting a motion vector for each block after subdividing a TV signal into blocks of m pixels × n lines (m and n are integers). The pattern matching method disclosed in Patent Document 3 and the iterative gradient method disclosed in Patent Document 4 are well known.

さらに反復勾配法のなかには、動きベクトルの検出精度を向上させるために初期偏位ベクトル(特許文献5)を用いたものがある。この方法は、既に検出されている複数の動きベクトルのなかから動きベクトルを初期偏位ベクトルとして選択し、この初期偏位ベクトルを起点として、所定の偏位ベクトル検出を行い、真の動きベクトルを検出する方式である。   Furthermore, some iterative gradient methods use an initial deviation vector (Patent Document 5) in order to improve motion vector detection accuracy. In this method, a motion vector is selected from among a plurality of motion vectors that have already been detected as an initial deviation vector, and a predetermined deviation vector is detected using this initial deviation vector as a starting point, and a true motion vector is obtained. This is a detection method.

特許文献1も、初期偏位ベクトルを選択して反復勾配法を利用する技術である。特許文献1では、かかる反復勾配法にて動きベクトルを検出した後の処理に特徴がある。すなわち、動きベクトルが検出された動き領域にも拘らず、その領域中に、前フィールドから静止したままの静領域が検出された場合に、その周辺の動きベクトルをゼロベクトルに置換する技術である。   Patent Document 1 is also a technique that uses an iterative gradient method by selecting an initial deviation vector. Patent Document 1 is characterized by processing after detecting a motion vector by the iterative gradient method. In other words, when a static region that is stationary from the previous field is detected in the motion region where the motion vector is detected, the surrounding motion vector is replaced with a zero vector. .

特許第3121519号公報Japanese Patent No. 3121519 特開昭55−162683号公報Japanese Unexamined Patent Publication No. 55-162683 特開昭55−162684号公報Japanese Patent Laid-Open No. 55-162684 特開昭60−158786号公報JP 60-158786 A 特開昭62−206980号公報Japanese Patent Laid-Open No. 62-206980

例えば特許文献1の場合、初期偏位ベクトルの候補として用意するベクトルは、動きベクトルを検出すべき被検出ブロックの近傍について過去に検出された動きベクトルと、ゼロベクトルである。通常、初期偏位ベクトルの候補としての近傍の動きベクトルの優先順位は、被検出ブロックにて検出されるべき動きベクトルが近傍の動きに追従したものとなるよう、高くなっている。したがって、映像信号中に動いている部分と静止している部分とが混在している場合、本来、動きベクトルとしてゼロベクトルが検出されるべき静止部分が、その近傍の動いている部分に影響され、一定の量のある動きベクトルを誤って検出してしまうおそれがある。これにより、その静止部分の輪郭や形状を乱してしまうという欠点があった。   For example, in Patent Document 1, the vectors prepared as candidates for the initial deviation vector are a motion vector detected in the past in the vicinity of the detected block whose motion vector is to be detected, and a zero vector. Usually, the priority order of neighboring motion vectors as initial deviation vector candidates is high so that the motion vector to be detected in the detected block follows the neighboring motion. Therefore, when a moving part and a stationary part are mixed in the video signal, the stationary part where the zero vector should be detected as a motion vector is influenced by the moving part in the vicinity. There is a risk that a certain amount of motion vectors will be erroneously detected. As a result, there is a drawback that the contour and shape of the stationary part are disturbed.

本発明はこのような課題に鑑み、静止した領域についても、動きベクトルとして正しいものが検出されやすい、精度の高い動きベクトル検出方法および回路を提供することを目的とする。   In view of such a problem, an object of the present invention is to provide a highly accurate motion vector detection method and circuit that can easily detect a correct motion vector even in a stationary region.

本発明は、上述の課題を解決するために、デジタル化された映像信号をフィールド毎に所定の大きさのブロックに細分化し、被検出フィールド内の被検出ブロックについて、被検出フィールドから1フィールド以上離れた基準フィールドを基準とする動きベクトルを検出する、動きベクトル検出方法において、被検出ブロックと、基準フィールド内において被検出ブロックと同一の位置にある基準ブロックとの間で、フィールド間差分の総和を計算する工程と、フィールド間差分の総和に基づいて被検出ブロックの動き/静止を判定する工程と、この判定する工程において静止と判定した場合、動きベクトルを検出する初期値である初期偏位ベクトルの候補である複数のベクトルのうち、ゼロベクトルの優先順位を高めて初期偏位ベクトルを選択する工程と、この工程で選択した初期偏位ベクトルに基づいて動きベクトルを検出する工程とを含み、これによって、動きベクトル検出の精度を向上させることを特徴とする。   In order to solve the above-described problems, the present invention subdivides a digitized video signal into blocks of a predetermined size for each field, and detects one or more fields from the detected field for the detected block in the detected field. In a motion vector detection method for detecting a motion vector based on a distant reference field, a sum of differences between fields between a detected block and a reference block at the same position as the detected block in the reference field , A step of determining the motion / stillness of the detected block based on the sum of the differences between fields, and an initial deviation that is an initial value for detecting a motion vector when it is determined that the motion block is still in this determination step Among the multiple vectors that are candidate vectors, the initial vector is determined by increasing the priority of the zero vector. A step of-option, and a step of detecting a motion vector based on the initial vector selected in this step, thereby characterized in that to improve the accuracy of motion vector detection.

本発明によれば、映像中に動いている部分と静止している部分とが混在している場合に、静止部分がその周辺の動いている部分に影響されて動きベクトルを誤検出してしまい、その静止部分の輪郭や形状を乱してしまうという欠点を除去可能である。   According to the present invention, when a moving part and a stationary part are mixed in the video, the stationary part is affected by the surrounding moving part and erroneously detects a motion vector. The disadvantage of disturbing the contour and shape of the stationary part can be eliminated.

次に添付図面を参照して本発明による動きベクトル検出方法および動きベクトル検出回路の実施例を詳細に説明する。本文において、本発明に直接関係のない要素については、図示および説明を省略する。また、信号はそれが現れる信号線の符号を用いて指示するものとする。   Next, embodiments of a motion vector detection method and a motion vector detection circuit according to the present invention will be described in detail with reference to the accompanying drawings. In the present text, illustration and description of elements not directly related to the present invention are omitted. In addition, the signal is indicated using the sign of the signal line on which the signal appears.

図1は、本発明による動きベクトル検出回路の実施例を示すブロック図である。動きベクトル検出回路10は、デジタル化された映像信号を入力として受信し、動きベクトルを検出する回路である。動きベクトルの検出は、映像信号を構成する連続したフィールドのうち、先行する基準フィールド(前フィールド)を基準とし、これから1フィールド以上離れた後続の被検出フィールド(現フィールド)までの動きに対して行なう。より詳細に言えば、動きベクトルの検出は、被検出ブロックを所定の大きさのブロックに細分化してブロック毎に行なう。   FIG. 1 is a block diagram showing an embodiment of a motion vector detection circuit according to the present invention. The motion vector detection circuit 10 is a circuit that receives a digitized video signal as an input and detects a motion vector. The motion vector is detected based on the preceding reference field (previous field) among the continuous fields constituting the video signal, and the motion to the subsequent detected field (current field) one or more fields away from the reference field. Do. More specifically, motion vector detection is performed for each block by dividing the detected block into blocks of a predetermined size.

図1に示すように、動きベクトル検出回路10はフィールドディレー回路12を含み、この回路12は、動きベクトル検出回路10の入力端子14に接続されている。フィールドディレー回路12は、これに入力される映像信号14を1フィールド分遅延させ、必要に応じて増幅等の処理を行なった基準フィールド信号16を出力する回路である。動きベクトル検出回路10の入力端子14には、増幅器18も接続されている。このように映像信号14は、増幅器18により、時間的には遅延されない単に増幅処理のみを受けた被検出フィールド信号20としても出力される。基準フィールド信号16は先行するフィールドとして動きベクトル検出の基準となる。一方、被検出フィールド信号20は、動きベクトルの検出の対象となる。   As shown in FIG. 1, the motion vector detection circuit 10 includes a field delay circuit 12, and this circuit 12 is connected to an input terminal 14 of the motion vector detection circuit 10. The field delay circuit 12 is a circuit that delays the video signal 14 input thereto by one field and outputs a reference field signal 16 that has been subjected to processing such as amplification as necessary. An amplifier 18 is also connected to the input terminal 14 of the motion vector detection circuit 10. In this way, the video signal 14 is also output as the detected field signal 20 that has been subjected to only amplification processing that is not delayed in time by the amplifier 18. The reference field signal 16 becomes a reference for motion vector detection as a preceding field. On the other hand, the detected field signal 20 is a target of motion vector detection.

図1に示すように、動きベクトル検出回路10は動き検出回路22を含み、これは、基準フィールド信号16と被検出フィールド信号20とを入力信号として受信する。動き検出回路22は、基準フィールドおよび被検出フィールドを所定の大きさのブロックに細分化する回路である。ブロックのサイズは例えば8画素×8ラインの大きさとしてよく、他のいかなる大きさのブロックにしてもよい。動き検出回路22はまた、被検出フィールド内の被検出ブロックと、基準フィールド内において被検出ブロックと同一の位置にある基準ブロックとの間で、フィールド間差分FD(Field Difference)の総和ΣFDを計算し、出力する回路である。   As shown in FIG. 1, the motion vector detection circuit 10 includes a motion detection circuit 22, which receives a reference field signal 16 and a detected field signal 20 as input signals. The motion detection circuit 22 is a circuit that subdivides the reference field and the detected field into blocks of a predetermined size. The block size may be, for example, 8 pixels × 8 lines, or any other block size. The motion detection circuit 22 also calculates the sum ΣFD of the field difference FD between the detected block in the detected field and the reference block at the same position as the detected block in the reference field. And a circuit for outputting.

ここでフィールド間差分について説明する。図2は、図1において動き検出回路22に入力される基準フィールドと被検出フィールドとのブロックの対応を示す図である。図2に示すように、被検出フィールド20には、基準フィールド16を基準として動きベクトルを検出すべき被検出ブロック26が存在する。そして、基準フィールド16には、被検出ブロック26と同一の位置にある基準ブロック28が存在する。フィールド間差分FDは、図2に示す通り、被検出ブロック26と基準ブロック28との間で、対応する位置にある画素毎に信号の差分である。動き検出回路22は、フィールド間差分FDをブロック全体にわたって加算し、フィールド間差分の総和ΣFDを計算する。   Here, the difference between fields will be described. FIG. 2 is a diagram showing a block correspondence between a reference field and a detected field input to the motion detection circuit 22 in FIG. As shown in FIG. 2, the detected field 20 includes a detected block 26 whose motion vector should be detected with reference to the reference field 16. In the reference field 16, there is a reference block 28 at the same position as the detected block 26. The inter-field difference FD is a signal difference for each pixel at a corresponding position between the detected block 26 and the reference block 28 as shown in FIG. The motion detection circuit 22 adds the inter-field difference FD over the entire block, and calculates the sum ΣFD of inter-field differences.

図1に示すように、動きベクトル検出回路10は動き判定回路30を含み、これは、動き検出回路22の出力ΣFDに接続され、フィールド間差分の総和ΣFDを入力信号として受信する。動き判定回路30は、フィールド間差分の総和ΣFDに基づいて被検出ブロックの動き/静止を判定し、その判定結果を信号32として出力する回路である。   As shown in FIG. 1, the motion vector detection circuit 10 includes a motion determination circuit 30 that is connected to the output ΣFD of the motion detection circuit 22 and receives the sum ΣFD of inter-field differences as an input signal. The motion determination circuit 30 is a circuit that determines the motion / stillness of the detected block based on the sum ΣFD of the inter-field differences and outputs the determination result as a signal 32.

動き判定回路30は、フィールド間差分の総和ΣFDが所定の閾値より大きい場合に動きと判定する。すなわち、同位置にある基準ブロック28と被検出ブロック26とは異なる画像であり、したがって、被検出ブロック26は、基準ブロック28とは異なる、基準フィールド16における別のブロックから動いたものであると判定する。一方、動き判定回路30は、フィールド間差分の総和ΣFDが所定の閾値より小さい場合、言いかえれば、ゼロまたは一定の誤差を持ってゼロに近似である場合、静止と判定する。すなわち、同位置にある基準ブロック28と被検出ブロック26とは同じ画像である可能性が高く、したがって、被検出ブロック26は、基準ブロック28がそのまま静止し続けたものであると判定する。   The motion determination circuit 30 determines a motion when the inter-field difference sum ΣFD is larger than a predetermined threshold. That is, the reference block 28 and the detected block 26 at the same position are different images. Therefore, the detected block 26 is different from the reference block 28 and is moved from another block in the reference field 16. judge. On the other hand, when the sum ΣFD of the inter-field differences is smaller than the predetermined threshold, in other words, the motion determination circuit 30 determines to be still when it is zero or approximate to zero with a certain error. That is, there is a high possibility that the reference block 28 and the detected block 26 at the same position are the same image. Therefore, the detected block 26 determines that the reference block 28 is kept still.

図1に示すように、動きベクトル検出回路10はブロックディレー回路34、36を含み、回路34は基準フィールド信号16を入力信号として受信し、回路36は、被検出フィールド信号20を入力信号として受信する。ブロックディレー回路34、36は、それぞれ、入力されたフィールド信号16、20を所定の大きさのブロックに細分化し、遅延させ、ブロック信号38、40として出力する回路である。ブロックのサイズは、動き検出回路22がフィールド信号をブロックに分割したのと同一である。   As shown in FIG. 1, the motion vector detection circuit 10 includes block delay circuits 34 and 36. The circuit 34 receives the reference field signal 16 as an input signal, and the circuit 36 receives the detected field signal 20 as an input signal. To do. The block delay circuits 34 and 36 are circuits that subdivide the input field signals 16 and 20 into blocks of a predetermined size, delay them, and output them as block signals 38 and 40, respectively. The size of the block is the same as that in which the motion detection circuit 22 divides the field signal into blocks.

ブロックディレー34、36から被検出ブロック信号38・基準ブロック信号40が回路42へ入力されるタイミングは、それら被検出ブロック・基準ブロックについて動き判定回路30から回路42へ動き/静止の判定結果32が入力されるタイミングと同期させてよい。いずれにせよ、基準フィールド・被検出フィールド全体にわたって動き/静止の判定結果32が回路42に入力された時点で、各フィールド全体のブロック信号38・40が回路42に入力されていればよい。   The detected block signal 38 and the reference block signal 40 are input to the circuit 42 from the block delays 34 and 36, and the motion / stillness determination result 32 is obtained from the motion determination circuit 30 to the circuit 42 for the detected block / reference block. You may synchronize with the timing inputted. In any case, it is only necessary that the block signals 38 and 40 of the entire fields are input to the circuit 42 when the motion / stillness determination result 32 is input to the circuit 42 over the entire reference field / detected field.

図1に示すように、動きベクトル検出回路10はベクトルメモリ44を含み、ベクトルメモリ44は、複数のベクトルを記憶する記憶装置である。ベクトルメモリ44に記憶された複数のベクトルは、後述の初期偏位ベクトルVの候補である。図3は図1のベクトルメモリ44に記憶される、初期偏位ベクトルの候補の例を示す図である。符号A〜C、F〜N、P〜Xは、すべて、後述する勾配法演算回路52、54によって過去に既に検出された、連続するフィールド48、16、20におけるそれぞれのブロックにおける動きベクトルを示す。 As shown in FIG. 1, the motion vector detection circuit 10 includes a vector memory 44. The vector memory 44 is a storage device that stores a plurality of vectors. The plurality of vectors stored in the vector memory 44 are candidates for an initial displacement vector V 0 described later. FIG. 3 is a diagram showing an example of initial deviation vector candidates stored in the vector memory 44 of FIG. Symbols A to C, F to N, and P to X all indicate motion vectors in the respective blocks in the continuous fields 48, 16, and 20 that have already been detected in the past by gradient method arithmetic circuits 52 and 54 described later. .

図3に示すように、ベクトルメモリ44には、初期偏位ベクトルの候補として、斜線領域で示す被検出ブロック26すなわちこれから動きベクトルを検出すべきブロックの近傍のブロックについて既に検出した動きベクトルA〜Cを含めてよい。これら候補のうち、動きベクトルA、Bは、被検出ブロック26の8近傍に属するブロックにおいて検出された動きベクトルである。また、動きベクトルCのように、被検出ブロック26の8近傍に属さないブロックにおいて過去に検出された動きベクトルであっても、予め定めた範囲の近傍のブロックにおいて検出された動きベクトルであれば、初期偏位ベクトルの候補としてベクトルメモリに含めてよい。   As shown in FIG. 3, in the vector memory 44, motion vector A to already detected for the detected block 26 indicated by the hatched area, that is, the block in the vicinity of the block from which the motion vector is to be detected will be stored as initial deviation vector candidates. C may be included. Among these candidates, motion vectors A and B are motion vectors detected in blocks belonging to the vicinity of 8 of the detected block 26. Further, even if a motion vector is detected in the past in a block that does not belong to the vicinity of the detected block 26, such as the motion vector C, the motion vector is detected in a block in the vicinity of a predetermined range. The initial deviation vector candidate may be included in the vector memory.

また、図3には、被検出フィールド20から1フィールド先行する基準フィールド16と、さらに1フィールド先行する前々フィールド48を示す。図3に示すフィールド以前にも、先行するフィールドが存在することは言うまでもない。こうした、被検出フィールド20から1フィールド以上離れたフィールドにおいて既に検出した動きベクトルF〜N、P〜Xも、初期偏位ベクトルの候補として、ベクトルメモリ44に含めてよい。   FIG. 3 shows a reference field 16 that is one field ahead of the detected field 20, and a field 48 that is one field ahead. Needless to say, there is a preceding field before the field shown in FIG. Such motion vectors F to N and P to X that have already been detected in a field one field or more away from the detected field 20 may also be included in the vector memory 44 as candidates for the initial displacement vector.

図1に示すように、動きベクトル検出回路10は初期偏位ベクトル選択回路42を含み、回路42は動き判定回路30の出力である動き/静止信号32を入力信号として受信する。また、初期偏位ベクトル選択回路42は、ベクトルメモリ44の出力端子46にも接続されている。初期偏位ベクトル選択回路42は、ベクトルメモリ44から受信した複数のベクトルに優先順位を付け、さらに、動き/静止信号32に応じて上記の優先順位を変更し、上位のものから順番に初期偏位ベクトルVにふさわしいものか否かを検討し、ふさわしいものが見付かった場合に、それを初期偏位ベクトルVとして選択する回路である。ここで「初期偏位ベクトル」とは、最終的に検出すべき動きベクトルVを検出するための初期値である。 As shown in FIG. 1, the motion vector detection circuit 10 includes an initial deviation vector selection circuit 42, and the circuit 42 receives a motion / still signal 32, which is an output of the motion determination circuit 30, as an input signal. The initial deviation vector selection circuit 42 is also connected to the output terminal 46 of the vector memory 44. The initial deviation vector selection circuit 42 assigns priorities to a plurality of vectors received from the vector memory 44, further changes the above priorities according to the motion / still signal 32, and performs initial deviation in order from the higher order. This is a circuit that examines whether or not the position vector V 0 is suitable, and if it finds a suitable one, selects it as the initial displacement vector V 0 . Here, the “initial deviation vector” is an initial value for detecting the motion vector V to be finally detected.

初期偏位ベクトル選択回路42がベクトルメモリ44から読み出す初期偏位ベクトルVの候補は、図3に示す動きベクトルA〜Cのように、被検出ブロック26の8近傍やそれ以外の近傍に属するブロックにおいて過去に検出された動きベクトルにすればよい。それでも候補の数が不足する場合は、順番に、基準フィールド16にて過去に検出された動きベクトルF〜Nを追加し、さらに不足であれば前々フィールド48にて過去に検出された動きベクトルP〜Xを追加すればよい。基準フィールド16や前々フィールド48など、被検出フィールド20から1フィールド以上離れた先行するフィールドから初期偏位ベクトルVの候補を選択するときは、まず、基準フィールド16の基準ブロック28のように、被検出ブロック26と同一の位置にあるブロックにおいて過去の検出された動きベクトル、すなわちベクトルJを優先的に候補に加え、その後、その近傍の動きベクトルを候補に加えるとよい。なお、図3に示すベクトル過去に既に検出された動きベクトルを自由に加算平均して、初期偏位ベクトルVの候補としてもよい。 Candidates for the initial displacement vector V 0 that the initial displacement vector selection circuit 42 reads from the vector memory 44 belong to the vicinity of the detected block 26 and other neighborhoods like the motion vectors A to C shown in FIG. A motion vector detected in the past in the block may be used. If the number of candidates is still insufficient, motion vectors F to N detected in the past in the reference field 16 are added in order. If there is still a shortage, motion vectors detected in the past in the field 48 are added. P to X may be added. When selecting a candidate of the initial displacement vector V 0 from a preceding field that is one field or more away from the detected field 20 such as the reference field 16 or the previous field 48, first, as in the reference block 28 of the reference field 16 The motion vector detected in the past in the block at the same position as the detected block 26, that is, the vector J, may be preferentially added to the candidate, and then the neighboring motion vector may be added to the candidate. Note that the motion vectors already detected in the past shown in FIG. 3 may be freely added and averaged to be a candidate for the initial displacement vector V 0 .

初期偏位ベクトル選択回路42がベクトルメモリ44から読み出す、初期偏位ベクトルVの候補の数は、例えば8としてよいが、これ以上または以下のいかなる数にしてもよい。ただし、候補のなかには、必ずゼロベクトルを含めることとする。したがって、候補の数が8の場合、初期偏位ベクトル選択回路42は、ベクトルメモリ44から7個の候補ベクトルを読み出し、残りの1個の候補はゼロベクトルとする。 The number of candidates for the initial displacement vector V 0 that the initial displacement vector selection circuit 42 reads from the vector memory 44 may be eight, for example, but may be any number greater or smaller than this. However, a zero vector is always included in the candidates. Therefore, when the number of candidates is 8, the initial deviation vector selection circuit 42 reads seven candidate vectors from the vector memory 44, and sets the remaining one candidate as a zero vector.

初期偏位ベクトル選択回路42は、初期偏位ベクトルVの候補である複数のベクトルのうち、ゼロベクトルを除いたものの優先順位を、ベクトルの絶対値の降順としてよい。近傍で検出されたなるべく大きな動きベクトルに追従した動きベクトルを検出しやすくするためである。 The initial displacement vector selection circuit 42 may set the priority order of a plurality of vectors that are candidates for the initial displacement vector V 0 excluding the zero vector as the descending order of the absolute value of the vector. This is to make it easier to detect a motion vector that follows a motion vector as large as possible detected in the vicinity.

初期偏位ベクトル選択回路42は、動き/静止信号32が「静止」である場合、初期偏位ベクトルVの候補である複数のベクトルのうち、ゼロベクトルの優先順位を高めて、初期偏位ベクトルVを選択する。ゼロベクトルの優先順位は、従前のものより上位にすれば何位にしてもよく、最上位にしてもよい。 When the motion / still signal 32 is “still”, the initial displacement vector selection circuit 42 increases the priority of the zero vector among the plurality of vectors that are candidates for the initial displacement vector V 0 , and performs the initial displacement. select a vector V 0. The priority of the zero vector may be any number as long as it is higher than the previous one and may be the highest.

一方、初期偏位ベクトル選択回路42は、動き/静止信号32が「動き」である場合、初期偏位ベクトルVの候補である複数のベクトルのうち、ゼロベクトルの優先順位を低めて、初期偏位ベクトルVを選択する。ゼロベクトルの優先順位は、従前のものより下位にすれば何位にしてもよく、最下位にしてもよい。ゼロベクトルの優先順位が当初から最下位の場合は、そのまま維持すればよい。 On the other hand, when the motion / still signal 32 is “motion”, the initial displacement vector selection circuit 42 lowers the priority of the zero vector among a plurality of vectors that are candidates for the initial displacement vector V 0 , The deviation vector V 0 is selected. The priority of the zero vector may be any number as long as it is lower than the priorities, and may be the lowest. If the zero vector has the lowest priority from the beginning, it may be maintained as it is.

本実施例では、動き/静止信号32が「静止」または「動き」の二者択一としているが、既に説明した動き判定回路30は、これら2つ以外の信号を判定結果として出力してよい。例えばフィールド間差分の総和ΣFDの大きさに応じて、3つ以上の種類の信号を判定結果として出力してよい。その場合、初期偏位ベクトル選択回路42は、判定結果に応じて、ゼロベクトルの優先順位を3つ以上のいずれかの順位としてよい。   In this embodiment, the motion / still signal 32 is one of “static” and “motion”. However, the motion determination circuit 30 described above may output signals other than these two as determination results. . For example, three or more types of signals may be output as determination results in accordance with the magnitude of the inter-field difference sum ΣFD. In that case, the initial deviation vector selection circuit 42 may set the priority order of the zero vectors to any one of three or more according to the determination result.

初期偏位ベクトル選択回路42は、初期偏位ベクトルVの候補である複数のベクトルを優先順位の高いものから順番に候補ベクトルとし、初期偏位ベクトルVたりうるものか否かを検討する。この検討は以下のように行なえばよい。すなわち、まず候補ベクトルを初期偏位ベクトルVと仮定する。そして、図2に示す被検出ブロック26と、基準フィールド16内にあって、初期偏位ベクトルVによって被検出ブロックが偏位される前の位置にある対応ブロック50との間でフィールド間差分DFD(Displaced Field Difference)の総和ΣDFDを計算する。 Initial vector selection circuit 42, a plurality of vectors which are candidates for initial vector V 0 and the candidate vector in order of priority, to consider whether or not that may or initial vector V 0 . This examination may be performed as follows. That is, first, the candidate vector is assumed to be the initial displacement vector V 0 . Then, an inter-field difference between the detected block 26 shown in FIG. 2 and the corresponding block 50 located in the reference field 16 and before the detected block is displaced by the initial displacement vector V 0 . Calculate DFD (Displaced Field Difference) sum ΣDFD.

図4は、図1に示す動き検出回路22が計算するフィールド間差分FDの総和ΣFDと、初期偏位ベクトル選択回路42が計算するフィールド間差分DFDの総和ΣDFDとの相違を示す図である。フィールド間差分FDの総和ΣFDは、図4に示すように、被検出ブロック26と、基準フィールド16にあって同一の位置にある基準ブロック28との間で計算されるものである。一方、フィールド間差分DFDの総和ΣDFDは、図4に示すように、被検出ブロック26と、基準フィールド16にあって仮定された初期偏位ベクトルVによって被検出ブロック26が偏位される前の位置にある対応ブロック50との間で計算されるものである。対応ブロック50と被検出ブロック26との関係は図2にも示す。対応ブロック50の座標は(m,n)であり、初期偏位ベクトルV=(α,β)であり、対応ブロック50が初期偏位ベクトルによって偏位された座標(m+α,n+β)に位置するのが、被検出ブロック26である。 FIG. 4 is a diagram showing a difference between the sum ΣFD of inter-field differences FD calculated by the motion detection circuit 22 shown in FIG. 1 and the sum ΣDFD of inter-field differences DFD calculated by the initial deviation vector selection circuit 42. As shown in FIG. 4, the sum ΣFD of the inter-field difference FD is calculated between the detected block 26 and the reference block 28 in the reference field 16 at the same position. On the other hand, the sum ΣDFD of the inter-field difference DFD is obtained before the detected block 26 is displaced by the detected block 26 and the initial displacement vector V 0 assumed in the reference field 16 as shown in FIG. Is calculated between the corresponding block 50 and the corresponding block 50. The relationship between the corresponding block 50 and the detected block 26 is also shown in FIG. The coordinates of the corresponding block 50 are (m 1 , n 1 ), the initial displacement vector V 0 = (α 0 , β 0 ), and the coordinates (m 1 ) where the corresponding block 50 is displaced by the initial displacement vector. + Α 0 , n 1 + β 0 ) is the detected block 26.

そして、フィールド間差分DFDの総和ΣDFDが所定の閾値より小さければ、言いかえればゼロまたは一定の誤差を持ってゼロに近似であれば、候補ベクトルを正式に初期偏位ベクトルVとして選択する。あるいは、総和ΣDFDを最小にする候補ベクトルを正式に初期偏位ベクトルVとして選択する。複数の候補によって、フィールド間差分の総和ΣDFDを同じ最小値となる場合は、あらかじめ定めておいた優先順位の高い候補を初期偏位ベクトルとして選択する。対応ブロック50の映像信号と被検出ブロック26の映像信号との差が小さく、両者は類似していて、被検出ブロック26は、基準フィールド16においては、対応ブロック50の位置にあったものと推測できるからである。 If the sum ΣDFD of the inter-field difference DFD is smaller than a predetermined threshold, in other words, if it is zero or approximates to zero with a certain error, the candidate vector is formally selected as the initial displacement vector V 0 . Alternatively, a candidate vector that minimizes the sum ΣDFD is formally selected as the initial displacement vector V 0 . When the sum ΣDFD of the inter-field differences has the same minimum value due to a plurality of candidates, a candidate having a predetermined high priority is selected as the initial deviation vector. The difference between the video signal of the corresponding block 50 and the video signal of the detected block 26 is small, and both are similar, and it is assumed that the detected block 26 was at the position of the corresponding block 50 in the reference field 16 Because it can.

図1に示すように、動きベクトル検出回路10は勾配法演算回路52、54を含み、これら回路52、54は、初期偏位ベクトルVに対して、反復勾配法を適用する回路である。回路52、54の構成および処理は共通しているため、以下、回路52を代表として説明する。勾配法演算回路52は、初期偏位ベクトル選択回路42の出力である初期偏位ベクトルVに勾配法を適用する。1回目勾配法演算回路52は、被検出ブロック26が偏位される前の位置にあるブロック、すなわち対応ブロック50と、被検出ブロック26とで次式(1)〜(4)に示す演算を行ない、1回目偏位ベクトルVを求める演算回路である。
=Σ{(SGNΔX)・DFD}/Σ|ΔX|・・・・(1)
=Σ{(SGNΔY)・DFD}/Σ|ΔY|・・・・(2)
ΔX=(An+1,m−An−1,m)/2・・・・・・・・(3)
ΔY=(An,m+1−An,m−1)/2・・・・・・・・(4)
ただし、値Vは1回目偏位ベクトルVのX方向成分、値Vは1回目偏位ベクトルVのY方向成分、値An,mはn画素、mラインの座標の信号、値ΔXは画像のX方向の勾配、値ΔYは画像のY方向の勾配、値DFD はフィールド間差分値を示す。また、SGNは、「0」を含むΔX、ΔYの符号を示す。
As shown in FIG. 1, the motion vector detection circuit 10 includes a gradient method calculation circuit 52, these circuits 52 and 54, relative to the initial vector V 0, a circuit for applying the iterative gradient method. Since the configurations and processes of the circuits 52 and 54 are common, the circuit 52 will be described below as a representative. The gradient method computing circuit 52 applies the gradient method to the initial displacement vector V 0 that is the output of the initial displacement vector selection circuit 42. The first gradient method computing circuit 52 performs the calculations shown in the following equations (1) to (4) on the block before the detected block 26 is displaced, that is, the corresponding block 50 and the detected block 26. no rows, an arithmetic circuit for obtaining a first shift vector V 1.
V X = Σ {(SGNΔX) · DFD} / Σ | ΔX | (1)
V Y = Σ {(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 the value V X is the X-direction component of the first displacement vector V 1 , the value V Y is the Y-direction component of the first displacement vector V 1 , the values An, m are n pixels, and the m-line coordinate signal, The value ΔX represents the gradient in the X direction of the image, the value ΔY represents the gradient in the Y direction of the image, and the value DFD represents the inter-field difference value. SGN indicates the signs of ΔX and ΔY including “0”.

1回目偏位ベクトルVは、加算器56にて初期偏位ベクトルVと加算されてベクトルV+Vとなり、次の2回目勾配法演算回路54に入力される。回路54は、1回目勾配法演算回路52と同様に、ベクトルV+Vに対して、2回目の勾配法演算を行ない、2回目偏位ベクトルVを出力する。出力された2回目偏位ベクトルVは、加算器58にてベクトルV+Vと加算されて、最終的に検出すべき動きベクトルV=V+V+Vが検出される。図5はこれらの動きベクトルの関係を説明する図である。検出された動きベクトルVは、過去に既に検出された動きベクトルとして、ベクトルメモリ44に入力され、他のブロックについて動きベクトルを検出する際の、初期偏位ベクトルVの候補として使用される。 The first deviation vector V 1 is added to the initial deviation vector V 0 by the adder 56 to become a vector V 0 + V 1 and input to the next second gradient method computing circuit 54. Similarly to the first gradient method calculation circuit 52, the circuit 54 performs the second gradient method calculation on the vector V 0 + V 1 and outputs the second displacement vector V 2 . The output second displacement vector V 2 is added to the vector V 0 + V 1 by the adder 58, and a motion vector V = V 0 + V 1 + V 2 to be finally detected is detected. FIG. 5 is a diagram for explaining the relationship between these motion vectors. The detected motion vector V is input to the vector memory 44 as a motion vector already detected in the past, and is used as a candidate for the initial displacement vector V 0 when detecting a motion vector for another block.

ここで本発明の利点について述べる。本発明の最終的な目的は、被検出ブロック26について、動きベクトルVを検出することである。しかし、被検出ブロック26が、もともと、基準フィールド16から被検出フィールド20までの間に動いていない領域であれば、最終的に検出すべき動きベクトルはゼロベクトルである。そこで、上述の初期偏位ベクトル選択回路42にて選択した初期偏位ベクトルVを用いて後述の反復勾配法にて動きベクトルを検出する前に、図1に示す動き検出回路22・動き判定回路30を設け、これらによって、被検出ブロック26がもともと静止しているものであるか否かを判定する。そして判定結果が「静止」であれば、初期偏位ベクトルVの候補中、ゼロベクトルの優先順位を高め、これが初期偏位ベクトルたりうるか否かの検討を、優先的に行なう。 The advantages of the present invention will now be described. The ultimate object of the present invention is to detect the motion vector V for the detected block 26. However, if the detected block 26 is originally an area that has not moved between the reference field 16 and the detected field 20, the motion vector to be finally detected is a zero vector. Therefore, before detecting a motion vector by the later-described iterative gradient method using the initial displacement vector V 0 selected by the initial displacement vector selection circuit 42, the motion detection circuit 22 / motion determination shown in FIG. A circuit 30 is provided to determine whether or not the detected block 26 is originally stationary. If the determination result is “still”, the priority of the zero vector is increased among the candidates for the initial displacement vector V 0 , and it is preferentially examined whether this can be the initial displacement vector.

このようにすれば、被検出ブロックはもとより静止しているものと判定されているのであるから、ゼロベクトルが初期偏位ベクトルVとして選択される可能性が高くなる。そして、反復勾配法により最終的に検出される動きベクトルも、ゼロベクトルまたはそれに近いベクトルが検出される可能性が高くなり、動きベクトルの検出の精度が高まるのが本願発明の利点である。 In this way, since it is determined that the detected block is originally stationary, there is a high possibility that the zero vector is selected as the initial deviation vector V 0 . The motion vector finally detected by the iterative gradient method is also likely to be a zero vector or a vector close thereto, and it is an advantage of the present invention that the accuracy of motion vector detection is improved.

図6は従来の初期偏位ベクトルを用いた動きベクトル検出回路の例を示すブロック図である。図1に示す本発明の実施例の構成の特徴は、図6の従来の動きベクトル検出回路100に、動き検出回路22および動き判定回路30を加えた点である。これらの構成上の特徴があるため、図6の回路100に比較すると、本発明の実施例を用いた方が、初期偏位ベクトルVとして適切なものが選択される可能性が高い。 FIG. 6 is a block diagram showing an example of a motion vector detection circuit using a conventional initial deviation vector. A feature of the configuration of the embodiment of the present invention shown in FIG. 1 is that a motion detection circuit 22 and a motion determination circuit 30 are added to the conventional motion vector detection circuit 100 of FIG. Because of these structural features, the use of the embodiment of the present invention is more likely to be selected as an appropriate initial displacement vector V 0 than the circuit 100 of FIG.

以下、これまで説明してきた構成を有する本発明による動きベクトル検出回路の実施例の動作を説明する。図1に示す動きベクトル検出回路10の入力端子14からフィールドディレー回路12に映像信号14が入力されると、回路12は映像信号14を1フィールド分遅延させ、必要に応じて増幅等の処理を行なった基準フィールド信号16とし、動き検出回路22およびブロックディレー回路34に入力する。一方、映像信号14は、増幅器18により、時間的には遅延されない単に増幅処理のみを受けた被検出フィールド信号20とされ、同様に動き検出回路22およびブロックディレー回路34に入力される。このように、基準フィールド信号16は、被検出フィールド信号20より1フィールド分過去の信号である。   The operation of the embodiment of the motion vector detection circuit according to the present invention having the configuration described so far will be described below. When the video signal 14 is input from the input terminal 14 of the motion vector detection circuit 10 shown in FIG. 1 to the field delay circuit 12, the circuit 12 delays the video signal 14 by one field and performs processing such as amplification as necessary. The performed reference field signal 16 is input to the motion detection circuit 22 and the block delay circuit 34. On the other hand, the video signal 14 is converted into a detected field signal 20 that has undergone only amplification processing that is not delayed in time by the amplifier 18, and is similarly input to the motion detection circuit 22 and the block delay circuit 34. Thus, the reference field signal 16 is a signal that is one field past the detected field signal 20.

動き検出回路22は、受信した信号16、20を用いて、基準フィールドおよび被検出フィールドを所定の大きさのブロックに細分化する。動き検出回路22はまた、被検出フィールド内被検出ブロックと、基準フィールド内において被検出ブロックと同一の位置にあるすべての基準ブロックとの間で、フィールド間差分FD(Field Difference)の総和ΣFDを計算する。この総和ΣFDの計算は、基準フィールドおよび被検出フィールドのすべてのブロックにわたって、ブロック毎に行ない、動き判定回路へ入力する。   Using the received signals 16 and 20, the motion detection circuit 22 subdivides the reference field and the detected field into blocks of a predetermined size. The motion detection circuit 22 also calculates a sum ΣFD of inter-field differences FD (Field Difference) between the detected block in the detected field and all the reference blocks at the same position in the reference field as the detected block. calculate. The calculation of the total sum ΣFD is performed for each block over all the blocks of the reference field and the detected field, and is input to the motion determination circuit.

動き判定回路30は、フィールド間差分の総和ΣFDに基づいて被検出フィールド全体にわたり、被検出ブロックの動き/静止を判定し、その判定結果を信号32として初期偏位ベクトル選択回路42へ入力する。   The motion determination circuit 30 determines the motion / stillness of the detected block over the entire detected field based on the total difference ΣFD between the fields, and inputs the determination result as a signal 32 to the initial displacement vector selection circuit 42.

ブロックディレー回路34、36は、それぞれ受信する基準フィールド信号16および被検出フィールド信号20を用いて、それらフィールドを所定の大きさのブロックに細分化し、遅延させて、1ブロックずつのブロック信号38、40として初期偏位ベクトル選択回路42に入力する。これにより、基準フィールド・被検出フィールド全体にわたって動き/静止の判定結果32が回路42に入力された時点で、各フィールド全体のブロック信号38・40の回路42への入力は完了する。   The block delay circuits 34 and 36 use the received reference field signal 16 and the detected field signal 20, respectively, to subdivide the fields into blocks of a predetermined size, delay them, and block signals 38 for each block, The initial deviation vector selection circuit 42 is input as 40. Thus, when the motion / stillness determination result 32 is input to the circuit 42 over the entire reference field / detected field, the input of the block signals 38 and 40 of the entire field to the circuit 42 is completed.

初期偏位ベクトル選択回路42は、ある被検出ブロックの動きベクトルを検出する初期値となる初期偏位ベクトルを選択するにあたり、ベクトルメモリ44から所定の複数、例えば7個のベクトルを読み出し、これらにゼロベクトルを加えて計8個の候補ベクトルをそろえる。そしてそれらの候補ベクトルに優先順位を付ける。優先順位は、例えば、ベクトルの絶対値の降順にすればよい。そしてさらに、上記の被検出ブロックの動き/静止信号32の判定結果が「静止」であれば、初期偏位ベクトルの候補中、ゼロベクトルの優先順位を高める。このときゼロベクトルは最上位にしてもよい。一方、判定結果が「動き」であれば、ゼロベクトルの優先順位を低める。   The initial deviation vector selection circuit 42 reads a predetermined plurality of, for example, seven vectors from the vector memory 44 when selecting an initial deviation vector as an initial value for detecting a motion vector of a detected block. A total of 8 candidate vectors are prepared by adding a zero vector. Priorities are assigned to these candidate vectors. The priority may be set in descending order of the absolute value of the vector, for example. Further, if the determination result of the motion / still signal 32 of the detected block is “still”, the priority of the zero vector among the candidates for the initial deviation vector is increased. At this time, the zero vector may be the highest. On the other hand, if the determination result is “motion”, the priority of the zero vector is lowered.

初期偏位ベクトル選択回路42は、以上のようにして決定した優先順位に従って、それぞれの候補ベクトルを初期偏位ベクトルVと仮定する。そして、図2に示す被検出ブロック26と対応ブロック50との間でフィールド間差分DFD(Displaced Field Difference)の総和ΣDFDを計算する。そして、フィールド間差分DFDの総和ΣDFDが所定の閾値より小さければ、言いかえればゼロまたは一定の誤差を持ってゼロに近似であれば、候補ベクトルを正式に初期偏位ベクトルVとして選択する。あるいは、総和ΣDFDを最小にする候補ベクトルを正式に初期偏位ベクトルVとして選択する。正式に選択した初期偏位ベクトルVは勾配法演算回路52に入力される。 The initial displacement vector selection circuit 42 assumes that each candidate vector is an initial displacement vector V 0 according to the priority order determined as described above. Then, the sum ΣDFD of the inter-field difference DFD (Displaced Field Difference) is calculated between the detected block 26 and the corresponding block 50 shown in FIG. If the sum ΣDFD of the inter-field difference DFD is smaller than a predetermined threshold, in other words, if it is zero or approximates to zero with a certain error, the candidate vector is formally selected as the initial displacement vector V 0 . Alternatively, a candidate vector that minimizes the sum ΣDFD is formally selected as the initial displacement vector V 0 . The officially selected initial deviation vector V 0 is input to the gradient method arithmetic circuit 52.

勾配法演算回路52、54は、初期偏位ベクトルVに対して、反復勾配法を適用し、回路52が1回目偏位ベクトルVを算出し、回路54が2回目偏位ベクトルVを算出する。これらの偏位ベクトルを加算し、最終的に、動きベクトルV=V+V+Vが検出される。なお、このようにして検出された動きベクトルVは、過去に既に検出された動きベクトルとして、ベクトルメモリ44に入力され、他のブロックについて動きベクトルを検出する際の、初期偏位ベクトルVの候補として使用される。 The gradient method arithmetic circuits 52 and 54 apply the iterative gradient method to the initial displacement vector V 0 , the circuit 52 calculates the first displacement vector V 1 , and the circuit 54 performs the second displacement vector V 2. Is calculated. These deviation vectors are added, and finally a motion vector V = V 0 + V 1 + V 2 is detected. Note that the motion vector V detected in this way is input to the vector memory 44 as a motion vector already detected in the past, and the initial displacement vector V 0 when detecting a motion vector for another block is obtained. Used as a candidate.

本発明による動きベクトル検出回路は、入力された映像信号から、動きベクトルを検出するものである。したがって、TV方式変換装置に組み込み可能である。たとえば、TV方式変換装置によって、TV信号をPAL方式からNTSC方式に方式変換する場合、50フィールドから60フィールドのフィールド数変換が必要となる。したがって、5フィールド毎に1つの内挿フィールドを形成してフィールド数の変換を行なう。このような場合、本発明による動きベクトル検出回路によれば、動きベクトルの検出により、内挿フィールドの形成が可能である。本発明はまた、動きベクトル検出する必要のある他の装置、例えばTV信号圧縮・伸張装置(MPEG2-CODEC)等にも適用可能である。   The motion vector detection circuit according to the present invention detects a motion vector from an input video signal. Therefore, it can be incorporated in a TV system conversion device. For example, when a TV signal is converted from a PAL system to an NTSC system by a TV system conversion device, it is necessary to convert the number of fields from 50 fields to 60 fields. Therefore, the number of fields is converted by forming one interpolation field for every five fields. In such a case, the motion vector detection circuit according to the present invention can form an interpolation field by detecting a motion vector. The present invention is also applicable to other devices that require motion vector detection, such as a TV signal compression / decompression device (MPEG2-CODEC).

本発明による動きベクトル検出回路の実施例を示すブロック図である。It is a block diagram which shows the Example of the motion vector detection circuit by this invention. 図1に示す動き検出回路に入力される基準フィールドと被検出フィールドとのブロックの対応を示す図である。It is a figure which shows the correspondence of the block of the reference | standard field input into the motion detection circuit shown in FIG. 1, and a to-be-detected field. 図1に示すベクトルメモリに記憶される、初期偏位ベクトルの候補の例を示す図である。It is a figure which shows the example of the candidate of an initial deviation vector memorize | stored in the vector memory shown in FIG. 図1に示す動き検出回路が計算するフィールド間差分の総和と、初期偏位ベクトル選択回路が計算するフィールド間差分の総和との相違を示す図である。It is a figure which shows the difference between the sum total of the difference between fields which the motion detection circuit shown in FIG. 1 calculates, and the sum total of the difference between fields which an initial deviation vector selection circuit calculates. 最終的に検出すべき動きベクトルと、1回目および2回目の偏位ベクトルとの関係を示す図である。It is a figure which shows the relationship between the motion vector which should be finally detected, and the displacement vector of the 1st time and the 2nd time. 従来の初期偏位ベクトルを用いた動きベクトル検出回路の例を示すブロック図である。It is a block diagram which shows the example of the motion vector detection circuit using the conventional initial deviation vector.

符号の説明Explanation of symbols

10 動きベクトル検出回路
22 動き検出回路
30 動き判定回路
42 初期偏位ベクトル選択回路
44 ベクトルメモリ
10 Motion vector detection circuit
22 Motion detection circuit
30 Motion judgment circuit
42 Initial deviation vector selection circuit
44 vector memory

Claims (20)

デジタル化された映像信号をフィールド毎に所定の大きさのブロックに細分化し、被検出フィールド内の被検出ブロックについて、前記被検出フィールドから1フィールド以上離れた基準フィールドを基準とする動きベクトルを検出する、動きベクトル検出方法において、該方法は、
前記被検出ブロックと、前記基準フィールド内において前記被検出ブロックと同一の位置にある基準ブロックとの間で、フィールド間差分の総和を計算する工程と、
該フィールド間差分の総和に基づいて前記被検出ブロックの動き/静止を判定する工程と、
該判定する工程において静止と判定した場合、前記動きベクトルを検出する初期値である初期偏位ベクトルの候補である複数のベクトルのうち、ゼロベクトルの優先順位を高めて前記初期偏位ベクトルを選択する工程と、
該工程で選択した初期偏位ベクトルに基づいて動きベクトルを検出する工程とを含み、
これによって、動きベクトル検出の精度を向上させることを特徴とする動きベクトル検出方法。
The digitized video signal is subdivided into blocks of a predetermined size for each field, and a motion vector based on a reference field one or more fields away from the detected field is detected for the detected block in the detected field. In the motion vector detection method, the method includes:
Calculating the sum of inter-field differences between the detected block and a reference block at the same position as the detected block in the reference field;
Determining movement / stillness of the detected block based on a sum of differences between the fields;
If it is determined that the motion vector is stationary in the determining step, among the plurality of vectors that are candidates for the initial displacement vector, which is an initial value for detecting the motion vector, the priority of the zero vector is increased and the initial displacement vector is selected. And a process of
Detecting a motion vector based on the initial deviation vector selected in the step,
A motion vector detection method characterized in that the accuracy of motion vector detection is thereby improved.
請求項1に記載の方法において、前記被検出ブロックの動き/静止を判定する工程では、前記フィールド間差分の総和が所定の閾値より大きい場合に動きと判定し、所定の閾値より小さい場合に静止と判定することを特徴とする動きベクトル検出方法。   The method according to claim 1, wherein in the step of determining the motion / stillness of the detected block, the motion is determined when the sum of the inter-field differences is larger than a predetermined threshold, and is stationary when the sum is smaller than the predetermined threshold. A motion vector detection method, characterized by: 請求項1または2に記載の方法において、前記判定する工程において静止と判定した場合、前記初期偏位ベクトルを選択する工程では、ゼロベクトルの優先順位を最上位にすることを特徴とする動きベクトル検出方法。   The method according to claim 1 or 2, wherein, in the step of determining, when it is determined to be stationary, the step of selecting the initial deviation vector sets the priority of the zero vector to the highest order. Detection method. 請求項1ないし3のいずれかに記載の方法において、該方法はさらに、前記判定する工程において動きと判定した場合、前記複数のベクトルのうち、ゼロベクトルの優先順位を低めて前記初期偏位ベクトルを選択する工程を含むことを特徴とする動きベクトル検出方法。   4. The method according to claim 1, wherein the method further includes lowering the priority of a zero vector among the plurality of vectors when the motion is determined in the determining step. A motion vector detection method comprising a step of selecting. 請求項1ないし4のいずれかに記載の方法において、前記複数のベクトルは、前記被検出ブロックの近傍のブロックについて既に検出されている動きベクトルを含むことを特徴とする動きベクトル検出方法。   5. The motion vector detection method according to claim 1, wherein the plurality of vectors include motion vectors that have already been detected for blocks in the vicinity of the detected block. 請求項5に記載の方法において、前記近傍のブロックは、前記被検出ブロックの8近傍に属するブロックを含むことを特徴とする動きベクトル検出方法。   6. The motion vector detection method according to claim 5, wherein the neighboring blocks include blocks belonging to eight neighborhoods of the detected block. 請求項1ないし6のいずれかに記載の方法において、前記複数のベクトルは、前記被検出フィールドから1フィールド以上離れたフィールドのブロックについて既に検出されている動きベクトルを含むことを特徴とする動きベクトル検出方法。   7. The method according to claim 1, wherein the plurality of vectors include motion vectors that have already been detected for a block of a field that is one field or more away from the detected field. Detection method. 請求項1ないし7のいずれかに記載の方法において、前記複数のベクトルのうちゼロベクトルを除いたものの優先順位は、ベクトルの絶対値の降順とすることを特徴とする動きベクトル検出方法。   8. The motion vector detection method according to claim 1, wherein the priority of the plurality of vectors excluding the zero vector is set in descending order of the absolute value of the vector. 請求項1ないし8のいずれかに記載の方法において、前記初期偏位ベクトルを選択する工程では、前記複数のベクトルを優先順位の高いものから順番に候補ベクトルとし、前記被検出ブロックと、前記基準フィールド内にあって候補ベクトルによって前記被検出ブロックが偏位される前の位置にある対応ブロックとの間でフィールド間差分の総和を計算し、該総和を所定の閾値より小さくする候補ベクトルを前記初期偏位ベクトルとして選択し、あるいは、該総和を最小にする候補ベクトルを前記初期偏位ベクトルとして選択することを特徴とする動きベクトル検出方法。   9. The method according to claim 1, wherein in the step of selecting the initial deviation vector, the plurality of vectors are set as candidate vectors in order from the highest priority, the detected block, and the reference The sum of differences between fields is calculated with a corresponding block in the field and before the detected block is displaced by the candidate vector, and a candidate vector that makes the sum smaller than a predetermined threshold is calculated A motion vector detection method comprising selecting an initial deviation vector or selecting a candidate vector that minimizes the sum as the initial deviation vector. 請求項1ないし9のいずれかに記載の方法において、前記動きベクトルを検出する工程では、前記初期偏位ベクトルに反復勾配法を適用して動きベクトルを検出することを特徴とする動きベクトル検出方法。   10. The motion vector detection method according to claim 1, wherein in the step of detecting the motion vector, a motion vector is detected by applying an iterative gradient method to the initial deviation vector. . デジタル化された映像信号をフィールド毎に所定の大きさのブロックに細分化し、被検出フィールド内の被検出ブロックについて、前記被検出フィールドから1フィールド以上離れた基準フィールドを基準とする動きベクトルを検出する、動きベクトル検出回路において、該回路は、
前記被検出ブロックと、前記基準フィールド内において前記被検出ブロックと同一の位置にある基準ブロックとの間で、フィールド間差分の総和を計算する手段と、
該フィールド間差分の総和に基づいて前記被検出ブロックの動き/静止を判定する手段と、
前記動きベクトルを検出する初期値である初期偏位ベクトルの候補である複数のベクトルを記憶する記憶手段と、
前記判定する手段が静止と判定した場合、前記複数のベクトルのうち、ゼロベクトルの優先順位を高めて前記初期偏位ベクトルを選択する手段と、
該手段で選択した初期偏位ベクトルに基づいて動きベクトルを検出する手段とを含み、
これによって、動きベクトル検出の精度を向上させることを特徴とする動きベクトル検出回路。
The digitized video signal is subdivided into blocks of a predetermined size for each field, and a motion vector based on a reference field one or more fields away from the detected field is detected for the detected block in the detected field. In the motion vector detection circuit, the circuit includes:
Means for calculating a sum of differences between fields between the detected block and a reference block at the same position as the detected block in the reference field;
Means for determining movement / stillness of the detected block based on a sum of differences between the fields;
Storage means for storing a plurality of vectors that are candidates for an initial deviation vector that is an initial value for detecting the motion vector;
A means for increasing the priority of a zero vector among the plurality of vectors and selecting the initial displacement vector when the determining means determines that it is stationary;
Means for detecting a motion vector based on the initial deviation vector selected by the means,
Thus, a motion vector detection circuit characterized by improving the accuracy of motion vector detection.
請求項11に記載の回路において、前記被検出ブロックの動き/静止を判定する手段は、前記フィールド間差分の総和が所定の閾値より大きい場合に動きと判定し、所定の閾値より小さい場合に静止と判定することを特徴とする動きベクトル検出回路。   12. The circuit according to claim 11, wherein the means for determining movement / stillness of the detected block is determined to be motion when the sum of the inter-field differences is larger than a predetermined threshold, and is stationary when smaller than a predetermined threshold. A motion vector detection circuit characterized by: 請求項11または12に記載の回路において、前記判定する手段が静止と判定した場合、前記初期偏位ベクトルを選択する手段は、ゼロベクトルの優先順位を最上位にすることを特徴とする動きベクトル検出回路。   13. The motion vector according to claim 11 or 12, wherein, when the determining means determines that it is stationary, the means for selecting the initial displacement vector sets the priority of the zero vector to the highest priority. Detection circuit. 請求項11ないし13のいずれかに記載の回路において、前記初期偏位ベクトルを選択する手段は、前記判定する手段が動きと判定した場合、前記複数のベクトルのうち、ゼロベクトルの優先順位を低めて前記初期偏位ベクトルを選択することを特徴とする動きベクトル検出回路。   The circuit according to any one of claims 11 to 13, wherein the means for selecting the initial deviation vector lowers the priority of the zero vector among the plurality of vectors when the determination unit determines that the movement is performed. A motion vector detecting circuit for selecting the initial deviation vector. 請求項11ないし14のいずれかに記載の回路において、前記複数のベクトルは、前記動きベクトルを検出する手段が前記被検出ブロックの近傍のブロックについて既に検出した動きベクトルを含むことを特徴とする動きベクトル検出回路。   15. The motion according to claim 11, wherein the plurality of vectors include a motion vector that has already been detected by the means for detecting the motion vector for a block in the vicinity of the detected block. Vector detection circuit. 請求項15に記載の回路において、前記初期偏位ベクトルを選択する手段は、前記近傍のブロックに、前記被検出ブロックの8近傍に属するブロックを含めることを特徴とする動きベクトル検出回路。   16. The motion vector detection circuit according to claim 15, wherein the means for selecting the initial displacement vector includes blocks belonging to eight neighborhoods of the detected block in the neighboring blocks. 請求項11ないし16のいずれかに記載の回路において、前記複数のベクトルは、前記動きベクトルを検出する手段が、前記被検出フィールドから1フィールド以上離れたフィールドのブロックについて既に検出した動きベクトルを含むことを特徴とする動きベクトル検出回路。   17. The circuit according to claim 11, wherein the plurality of vectors include a motion vector that is detected by the means for detecting the motion vector for a block in a field that is one field or more away from the detected field. A motion vector detection circuit characterized by the above. 請求項11ないし17のいずれかに記載の回路において、前記初期偏位ベクトルを選択する手段は、前記複数のベクトルのうちゼロベクトルを除いたものの優先順位を、ベクトルの絶対値の降順とすることを特徴とする動きベクトル検出回路。   The circuit according to any one of claims 11 to 17, wherein the means for selecting the initial deviation vector sets the priority of the plurality of vectors excluding the zero vector as descending order of the absolute value of the vector. A motion vector detection circuit. 請求項11ないし18のいずれかに記載の回路において、前記初期偏位ベクトルを選択する手段は、前記複数のベクトルを優先順位の高いものから順番に候補ベクトルとし、前記被検出ブロックと、前記基準フィールド内にあって候補ベクトルによって前記被検出ブロックが偏位される前の位置にある対応ブロックとの間でフィールド間差分の総和を計算し、該総和を所定の閾値より小さくする候補ベクトルを前記初期偏位ベクトルとして選択し、あるいは、該総和を最小にする候補ベクトルを前記初期偏位ベクトルとして選択することを特徴とする動きベクトル検出回路。   The circuit according to any one of claims 11 to 18, wherein the means for selecting the initial deviation vector sets the plurality of vectors as candidate vectors in descending order of priority, the detected block, and the reference The sum of differences between fields is calculated with a corresponding block in the field and before the detected block is displaced by the candidate vector, and a candidate vector that makes the sum smaller than a predetermined threshold is calculated A motion vector detection circuit which selects as an initial deviation vector or selects a candidate vector which minimizes the sum as the initial deviation vector. 請求項11ないし19のいずれかに記載の回路において、前記動きベクトルを検出する手段は、前記初期偏位ベクトルに反復勾配法を適用して動きベクトルを検出することを特徴とする動きベクトル検出回路。   20. The motion vector detection circuit according to claim 11, wherein the motion vector detecting unit detects a motion vector by applying an iterative gradient method to the initial deviation vector. .
JP2005286202A 2005-09-30 2005-09-30 Motion vector detecting method and motion vector detecting circuit Pending JP2007097028A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005286202A JP2007097028A (en) 2005-09-30 2005-09-30 Motion vector detecting method and motion vector detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005286202A JP2007097028A (en) 2005-09-30 2005-09-30 Motion vector detecting method and motion vector detecting circuit

Publications (1)

Publication Number Publication Date
JP2007097028A true JP2007097028A (en) 2007-04-12

Family

ID=37982130

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005286202A Pending JP2007097028A (en) 2005-09-30 2005-09-30 Motion vector detecting method and motion vector detecting circuit

Country Status (1)

Country Link
JP (1) JP2007097028A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014081843A (en) * 2012-10-17 2014-05-08 Nippon Hoso Kyokai <Nhk> Discomfort degree estimation device and discomfort degree estimation program
JP2018152878A (en) * 2011-01-12 2018-09-27 キヤノン株式会社 Decoding method, apparatus, program, and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0262178A (en) * 1988-08-26 1990-03-02 Fujitsu Ltd Motion detection system for picture processor
JPH07135663A (en) * 1993-09-17 1995-05-23 Oki Electric Ind Co Ltd Method and device for detecting movement vector

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0262178A (en) * 1988-08-26 1990-03-02 Fujitsu Ltd Motion detection system for picture processor
JPH07135663A (en) * 1993-09-17 1995-05-23 Oki Electric Ind Co Ltd Method and device for detecting movement vector

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018152878A (en) * 2011-01-12 2018-09-27 キヤノン株式会社 Decoding method, apparatus, program, and storage medium
JP2014081843A (en) * 2012-10-17 2014-05-08 Nippon Hoso Kyokai <Nhk> Discomfort degree estimation device and discomfort degree estimation program

Similar Documents

Publication Publication Date Title
JP2008167103A (en) Video processor and video display device with the same
JP2010288110A (en) Image processing apparatus and method
JP2005287048A (en) Improvement of motion vector estimation at image border
US20120113326A1 (en) System and method for detecting motion vectors in a recursive hierarchical motion estimation system using a non-rasterized scan
JP2006331136A (en) Moving vector detection apparatus
JP2010108205A (en) Super resolution image creating method
US9106926B1 (en) Using double confirmation of motion vectors to determine occluded regions in images
JP2006215655A (en) Method, apparatus, program and program storage medium for detecting motion vector
JP2007097028A (en) Motion vector detecting method and motion vector detecting circuit
US8705626B2 (en) Motion estimation method
JPH09182077A (en) Image encoding method and device
JP4250598B2 (en) Motion compensation IP conversion processing apparatus and motion compensation IP conversion processing method
JP5114290B2 (en) Signal processing device
EP2237559A1 (en) Background motion estimate based halo reduction
JP2009118456A (en) Image interpolation apparatus and method
JP2011223086A (en) Resolution converting device and method, scanning line interpolating device and method, and video display device and method
JP2005229166A (en) Apparatus and method for measuring noise amount in video signal
US20090225227A1 (en) Motion vector detecting device
JP3601506B2 (en) Apparatus and method for detecting motion vector, and apparatus and method for correcting image vibration
JPH08242454A (en) Method for detecting global motion parameter
JPH02131690A (en) Movement compensation circuit
JPS62230179A (en) Movement correcting system
JP2008118340A (en) Motion vector detecting device and video signal processor
JP4274430B2 (en) Motion vector detection device
JP4039273B2 (en) Motion vector detection device

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7426

Effective date: 20070201

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20070201

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080404

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100302

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100413

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100810