JP4895853B2 - Motion vector detection apparatus and motion vector detection system - Google Patents

Motion vector detection apparatus and motion vector detection system Download PDF

Info

Publication number
JP4895853B2
JP4895853B2 JP2007034690A JP2007034690A JP4895853B2 JP 4895853 B2 JP4895853 B2 JP 4895853B2 JP 2007034690 A JP2007034690 A JP 2007034690A JP 2007034690 A JP2007034690 A JP 2007034690A JP 4895853 B2 JP4895853 B2 JP 4895853B2
Authority
JP
Japan
Prior art keywords
motion vector
signal
predetermined range
representative
blocks
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
JP2007034690A
Other languages
Japanese (ja)
Other versions
JP2008199457A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2007034690A priority Critical patent/JP4895853B2/en
Publication of JP2008199457A publication Critical patent/JP2008199457A/en
Application granted granted Critical
Publication of JP4895853B2 publication Critical patent/JP4895853B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、画像信号から動きベクトルを検出する装置の技術に関し、特に、動きベクトルの検出精度を向上させる動きベクトル検出装置に関する。   The present invention relates to a technology of an apparatus for detecting a motion vector from an image signal, and more particularly to a motion vector detection apparatus that improves the detection accuracy of a motion vector.

従来の画像信号の動きベクトル検出装置としては、ブロックマッチング法に基づいた構成がある。すなわち、対象画像を複数のブロックに分割し、動きを検出しようとする注目ブロックと、対象画像の前または後フレームにおける、所定の探索範囲内の複数の候補領域(以下、候補ブロックと呼ぶ)との相関度をそれぞれ評価する。探索範囲の中で最も相関度の高い候補ブロックを決定し、その候補ブロックと注目ブロックとの変位を動きベクトルとする。また、上述の複数の候補ブロックの一つとして、その注目ブロックを含むライン方向のブロックにおいて、検出された動きベクトルの平均結果を使用することにより、検出性能を向上する構成もある。
特開2005−287047号公報
As a conventional motion vector detection device for an image signal, there is a configuration based on a block matching method. That is, a target block in which the target image is divided into a plurality of blocks and motion is detected, and a plurality of candidate regions (hereinafter referred to as candidate blocks) within a predetermined search range in a frame before or after the target image. The degree of correlation is evaluated. A candidate block having the highest correlation in the search range is determined, and a displacement between the candidate block and the target block is set as a motion vector. Further, as one of the plurality of candidate blocks described above, there is a configuration in which detection performance is improved by using an average result of detected motion vectors in a block in a line direction including the target block.
Japanese Patent Laying-Open No. 2005-287047

画像信号の動きベクトル検出装置において、注目ブロック内で、例えば、物体と背景が違う方向に動くような、動きの異なるものが複数混在する場合においては、その複数存在する動きによって、本来検出されるべき正しい動きベクトルが効果的に検出できないという問題があった。   In a motion vector detection device for image signals, when there are a plurality of different motions such as an object and background moving in different directions in the block of interest, the motion vector detection device is originally detected by the motions that exist. There was a problem that a correct motion vector should not be detected effectively.

本発明は、上述した従来の課題を解決するもので、動きの異なるものが複数混在する場合においても、正しい動きベクトルを効果的に検出することを目的とする。   The present invention solves the above-described conventional problems, and an object thereof is to effectively detect a correct motion vector even when a plurality of different motions are mixed.

上述した目的を達成するために、本発明の動きベクトル検出装置は、複数のブロックに分割された画像信号において、所定範囲における基準ブロックを含むN個(Nは2以上の整数)のブロックの動きベクトル信号に基づいて、基準ブロックの動きベクトル候補信号を生成し、動きベクトル候補信号を基準ブロックの動きベクトル信号の検出に用いる動きベクトル検出装置であって、N個の動きベクトル信号を量子化し、それぞれN個の量子化信号を生成する量子化手段と、N個の量子化信号に基づいて、量子化レベル毎に量子化信号の個数を計数し、計数量子化信号を生成する量子化信号計数手段と、N個の量子化信号に基づいて、量子化レベル毎に動きベクトル信号をベクトル的に積算し、積算ベクトル信号を生成するベクトル信号積算手段と、計数量子化信号に基づいて、個数が最大となる量子化レベルを表す代表量子化レベルと、代表量子化レベルにおける個数を表す代表計数量子化信号とを生成する代表量子化レベル生成手段と、代表量子化レベルにおける積算ベクトル信号を表す代表積算ベクトル信号を生成する代表積算ベクトル信号生成手段と、代表積算ベクトル信号を代表計数量子化信号で除算し、動きベクトル候補信号を生成する動きベクトル候補信号生成手段と、を有することを特徴としている。   In order to achieve the above-described object, the motion vector detection device of the present invention is a motion vector detection apparatus including N reference blocks in a predetermined range (N is an integer of 2 or more) in an image signal divided into a plurality of blocks. A motion vector detection device that generates a motion vector candidate signal of a reference block based on a vector signal, and uses the motion vector candidate signal for detection of a motion vector signal of a reference block, and quantizes N motion vector signals, Quantization means that generates N quantized signals, and a quantized signal counter that counts the number of quantized signals for each quantization level based on the N quantized signals and generates a quantized signal Vector signal integration for generating a vector signal by vector-integrating motion vector signals for each quantization level based on means and N quantized signals And a representative quantization level generating means for generating a representative quantization level representing the quantization level having the maximum number and a representative count quantized signal representing the number at the representative quantization level based on the stage and the count quantization signal A representative integrated vector signal generating means for generating a representative integrated vector signal representing the integrated vector signal at the representative quantization level, and a motion vector for generating a motion vector candidate signal by dividing the representative integrated vector signal by the representative count quantized signal Candidate signal generating means.

また、本発明の動きベクトル検出システムは、複数のブロックに分割された画像信号において、所定範囲を、基準ブロックを含むN個(Nは2以上の整数)のブロックが含まれるように設定する所定範囲設定手段と、所定範囲におけるN個のブロックの動きベクトル信号を生成する所定範囲動きベクトル検出手段と、上記に記載の動きベクトル検出装置と、を有することを特徴としている。   In the motion vector detection system of the present invention, in the image signal divided into a plurality of blocks, a predetermined range is set to include N blocks (N is an integer of 2 or more) including a reference block. It has a range setting means, a predetermined range motion vector detection means for generating motion vector signals of N blocks in the predetermined range, and the motion vector detection device described above.

本発明によれば、注目ブロック(基準ブロック)を含む垂直方向、水平方向、または隣接する複数のブロックにおいて、最も代表的となる動きベクトルを候補ベクトルとして抽出することができるため、注目ブロックにおける効果的な相関度の評価を可能とし、注目ブロックにおける動きベクトルを、より効果的に正しく検出できるものである。   According to the present invention, the most representative motion vector can be extracted as a candidate vector in a plurality of blocks in the vertical direction, the horizontal direction, or the adjacent block including the target block (reference block). The correlation degree can be evaluated and the motion vector in the target block can be detected more effectively and correctly.

以下、本発明の実施の形態に関する例について、図面を参照しながら説明する。なお、以下において記述される数字は、すべて本発明を具体的に説明するために例示するものであり、本発明は例示された数字に制限されない。また、以下の実施の形態は、ハードウェアおよび/またはソフトウェアを用いて構成されるが、ハードウェアを用いる構成は、ソフトウェアを用いても構成可能であり、ソフトウェアを用いる構成は、ハードウェアを用いても構成可能である。   Hereinafter, examples relating to embodiments of the present invention will be described with reference to the drawings. In addition, all the numbers described in the following are illustrated in order to specifically explain the present invention, and the present invention is not limited to the illustrated numbers. The following embodiments are configured using hardware and / or software, but the configuration using hardware can be configured using software, and the configuration using software uses hardware. Can be configured.

本発明の動きベクトル検出装置は、複数のブロックに分割された画像信号において、所定範囲における基準ブロックを含むN個(Nは2以上の整数)のブロックの動きベクトル信号に基づいて、基準ブロックの動きベクトル候補信号を生成し、動きベクトル候補信号を基準ブロックの動きベクトル信号の検出に用いる動きベクトル検出装置であって、N個の動きベクトル信号を量子化し、それぞれN個の量子化信号を生成する量子化手段と、N個の量子化信号に基づいて、量子化レベル毎に量子化信号の個数を計数し、計数量子化信号を生成する量子化信号計数手段と、N個の量子化信号に基づいて、量子化レベル毎に動きベクトル信号をベクトル的に積算し、積算ベクトル信号を生成するベクトル信号積算手段と、計数量子化信号に基づいて、個数が最大となる量子化レベルを表す代表量子化レベルと、代表量子化レベルにおける個数を表す代表計数量子化信号とを生成する代表量子化レベル生成手段と、代表量子化レベルにおける積算ベクトル信号を表す代表積算ベクトル信号を生成する代表積算ベクトル信号生成手段と、代表積算ベクトル信号を代表計数量子化信号で除算し、動きベクトル候補信号を生成する動きベクトル候補信号生成手段と、を有することを特徴としている。   The motion vector detection apparatus according to the present invention is based on motion vector signals of N blocks (N is an integer of 2 or more) including reference blocks in a predetermined range in an image signal divided into a plurality of blocks. A motion vector detection device that generates a motion vector candidate signal and uses the motion vector candidate signal for detection of a motion vector signal of a reference block, and quantizes N motion vector signals and generates N quantized signals respectively. A quantizing means for counting, the number of quantized signals for each quantization level based on N quantized signals, and a quantized signal counting means for generating a quantized quantized signal; and N quantized signals Based on the above, vector signal integration means for vectorizing motion vector signals for each quantization level and generating an integrated vector signal, and based on the count quantized signal Representative quantization level generating means for generating a representative quantization level representing the maximum quantization level and a representative count quantized signal representing the number at the representative quantization level, and an integrated vector signal at the representative quantization level. Representative integrated vector signal generating means for generating a representative integrated vector signal, and a motion vector candidate signal generating means for generating a motion vector candidate signal by dividing the representative integrated vector signal by the representative count quantized signal. It is a feature.

また、本発明の動きベクトル検出システムは、複数のブロックに分割された画像信号において、所定範囲を、基準ブロックを含むN個(Nは2以上の整数)のブロックが含まれるように設定する所定範囲設定手段と、所定範囲におけるN個のブロックの動きベクトル信号を生成する所定範囲動きベクトル検出手段と、上記に記載の動きベクトル検出装置と、を有することを特徴としている。   In the motion vector detection system of the present invention, in the image signal divided into a plurality of blocks, a predetermined range is set to include N blocks (N is an integer of 2 or more) including a reference block. It has a range setting means, a predetermined range motion vector detection means for generating motion vector signals of N blocks in the predetermined range, and the motion vector detection device described above.

(実施の形態1)
図1は、実施の形態1の動きベクトル検出装置の構成を示すブロック図である。実施の形態1の動きベクトル検出装置は、所定範囲設定部9、所定範囲動きベクトル検出部10、領域判定部11、領域別個数カウンタ部12、領域別ベクトル値積算部13、最大個数領域判定部14、積算値選択部15、除算部16、および注目ブロック動きベクトル検出部17を含む。領域判定部11、領域別個数カウンタ部12、領域別ベクトル値積算部13、最大個数領域判定部14、積算値選択部15、および除算部16を含む装置を、動きベクトル検出装置とも呼び、所定範囲設定部9、所定範囲動きベクトル検出部10、およびこの動きベクトル検出装置を含む装置を、動きベクトル検出システムとも呼ぶ。
(Embodiment 1)
FIG. 1 is a block diagram illustrating a configuration of the motion vector detection device according to the first embodiment. The motion vector detection apparatus according to the first embodiment includes a predetermined range setting unit 9, a predetermined range motion vector detection unit 10, a region determination unit 11, a region distinct number counter unit 12, a region-specific vector value integration unit 13, and a maximum number region determination unit. 14, an integrated value selection unit 15, a division unit 16, and a target block motion vector detection unit 17. A device including the region determination unit 11, the region distinct number counter unit 12, the region-specific vector value integration unit 13, the maximum number region determination unit 14, the integration value selection unit 15, and the division unit 16 is also referred to as a motion vector detection device. The range setting unit 9, the predetermined range motion vector detection unit 10, and a device including the motion vector detection device are also referred to as a motion vector detection system.

まず、所定範囲動きベクトル検出部10および注目ブロック動きベクトル検出部17に含まれる、画像信号に対する動きベクトルの検出構成について説明する。動きベクトル検出構成は、画像信号を複数の動きベクトル検出ブロック(以下、単にブロックと呼ぶ)に分割し、動きを検出しようとする任意の1個の注目ブロックと、所定の探索範囲内の複数の候補領域(以下、候補ブロックと呼ぶ)との間で相関度を求める。注目ブロックは、基準ブロックとも呼ばれる。探索範囲は、注目ブロックが含まれるフレームに対して、前フレームおよび/または後フレームの1つ以上のフレームにわたる所望の範囲に設定される。   First, a motion vector detection configuration for an image signal included in the predetermined range motion vector detection unit 10 and the target block motion vector detection unit 17 will be described. In the motion vector detection configuration, an image signal is divided into a plurality of motion vector detection blocks (hereinafter simply referred to as blocks), and an arbitrary one block of interest for detecting motion and a plurality of blocks within a predetermined search range. The degree of correlation is obtained between candidate areas (hereinafter referred to as candidate blocks). The block of interest is also called a reference block. The search range is set to a desired range over one or more frames of the previous frame and / or the subsequent frame with respect to the frame including the block of interest.

動きベクトル検出構成は、この相関度が最も高くなる候補ブロックに対する、注目ブロックの変位ベクトルを生成する。注目ブロックの動きベクトルは、動きベクトル検出構成において、この変位ベクトルの注目ブロックを含むフレームへの投影ベクトルとして、検出される。   The motion vector detection configuration generates a displacement vector of the target block for the candidate block having the highest degree of correlation. The motion vector of the target block is detected as a projection vector of the displacement vector onto the frame including the target block in the motion vector detection configuration.

図1において、所定範囲設定部9は、注目ブロックが含まれるフレームにおいて、注目ブロックを含む複数ブロックの範囲を示す所定範囲S9を設定する。所定範囲動きベクトル検出部10は、所定範囲S9内の注目ブロックを含む複数ブロックにおいて、ブロック毎の動きベクトル信号を、上述した動きベクトル検出構成により生成し、動きベクトル信号S10として出力する。   In FIG. 1, a predetermined range setting unit 9 sets a predetermined range S9 indicating a range of a plurality of blocks including a target block in a frame including the target block. The predetermined range motion vector detection unit 10 generates a motion vector signal for each block in a plurality of blocks including the target block in the predetermined range S9 by the above-described motion vector detection configuration, and outputs it as a motion vector signal S10.

領域判定部11、領域別個数カウンタ部12、領域別ベクトル値積算部13、最大個数領域判定部14、積算値選択部15、および除算部16は、所定範囲S9内の複数ブロックにおいて求められた各動きベクトル信号S10を、以下で説明する構成により精度を高め、1個の動きベクトル候補信号S16を生成する。注目ブロック動きベクトル検出部17は、この動きベクトル候補信号S16に基づいて、注目ブロックの動きベクトルを、再度、検出する。注目ブロック動きベクトル検出部17における検出結果は、場合によっては、所定範囲動きベクトル検出部10において、所定範囲S9内の注目ブロック以外のブロックにおける同様構成の検出結果とともに、動きベクトル信号S10となり、さらに動きベクトルの精度が高められる。   The region determination unit 11, the region distinct number counter unit 12, the region-specific vector value integration unit 13, the maximum number region determination unit 14, the integration value selection unit 15, and the division unit 16 are obtained in a plurality of blocks within the predetermined range S9. The accuracy of each motion vector signal S10 is increased by the configuration described below, and one motion vector candidate signal S16 is generated. The target block motion vector detection unit 17 detects again the motion vector of the target block based on the motion vector candidate signal S16. In some cases, the detection result in the target block motion vector detection unit 17 is the motion vector signal S10 in the predetermined range motion vector detection unit 10 together with the detection result of the similar configuration in the blocks other than the target block in the predetermined range S9. The accuracy of the motion vector is increased.

動きベクトル信号S10は、画像信号の水平方向および垂直方向の成分を有する。それぞれの方向について、動きベクトル値は有限な値であり、有効範囲が存在する。したがって、その有効範囲は複数の動きベクトル領域(以下、単に領域と呼ぶ)に分割することが可能である。以下では、動きベクトルを水平方向または垂直方向のいずれか一方の成分に限定して説明するが、他方の成分についても同様に説明できる。   The motion vector signal S10 has horizontal and vertical components of the image signal. For each direction, the motion vector value is a finite value and there is an effective range. Therefore, the effective range can be divided into a plurality of motion vector regions (hereinafter simply referred to as regions). In the following description, the motion vector is limited to one of the horizontal and vertical components, but the other component can be similarly described.

例えば、動きベクトル値の有効範囲が−128から+127までの場合において、領域1、領域2、領域3、領域4の4つの領域に分割する場合の例としては、それぞれの領域に該当するベクトル値の範囲を、
領域1は−128から −65まで、
領域2は −64から −1まで、
領域3は 0から +63まで、
領域4は +64から+127まで、
のように、各領域の範囲を均等にする設定が可能である。ここで、−128、−65などの値は境界値と呼ばれる。各領域は境界値で挟まれる範囲を表す。
For example, when the effective range of the motion vector value is from −128 to +127, as an example of dividing into four regions of region 1, region 2, region 3, and region 4, vector values corresponding to each region The range of
Region 1 is from -128 to -65,
Region 2 is from -64 to -1,
Region 3 is from 0 to +63
Region 4 is from +64 to +127,
As described above, it is possible to make the range of each region uniform. Here, values such as −128 and −65 are called boundary values. Each region represents a range between boundary values.

また、
領域1は−128から −60まで、
領域2は −59から −5まで、
領域3は +4から +58まで、
領域4は +59から+127まで、
のように、各領域の範囲の大きさを不均等にする設定も可能である。
Also,
Region 1 is from -128 to -60,
Region 2 is from -59 to -5,
Region 3 is from +4 to +58,
Region 4 is from +59 to +127,
As described above, it is possible to set the size of each area to be unequal.

さらに、
領域1は−128から −65まで、
領域2は −64から −5まで、
領域3は +4から +63まで、
領域4は +64から+127まで、
のように、有効範囲の中でどの領域にも属さない範囲を設定することも可能である。
further,
Region 1 is from -128 to -65,
Region 2 is from -64 to -5,
Region 3 is from +4 to +63
Region 4 is from +64 to +127,
As described above, it is possible to set a range that does not belong to any region in the effective range.

以上は、有効範囲を4つの領域に分割する場合での各領域の範囲設定の例であるが、上述した例以外にも様々な範囲設定が可能である。また、有効範囲を4つ以外の複数の領域に分割する場合についても、同様に、様々な具現化が可能である。上述の説明では、動きベクトル信号S10は境界値で挟まれる各領域に分割されるとした。別の説明では、動きベクトル信号S10は量子化されるとしてもよい。この場合、上述の領域は、量子化レベルに対応する。上述の例では、領域は4つあるので、動きベクトル信号S10は4つの量子化レベルに量子化されている。   The above is an example of setting the range of each area when the effective range is divided into four areas, but various range settings can be made in addition to the above-described example. Similarly, when the effective range is divided into a plurality of regions other than four, various implementations are possible. In the above description, it is assumed that the motion vector signal S10 is divided into each region sandwiched between boundary values. In another description, the motion vector signal S10 may be quantized. In this case, the above-described region corresponds to the quantization level. In the above example, since there are four regions, the motion vector signal S10 is quantized to four quantization levels.

図1において、領域判定部11は、動きベクトル値の有効範囲を予め複数に分割した領域のうち、動きベクトル信号S10がいずれの領域に該当するかを判定する。入力された動きベクトル信号S10がいずれの領域に該当するかは、各領域間の境界値との大小比較等により判定することができる。領域判定部11は量子化部とも呼ばれ、領域判定部11の判定結果S11は量子化信号とも呼ばれる。   In FIG. 1, the region determination unit 11 determines which region the motion vector signal S <b> 10 corresponds to among regions obtained by dividing the effective range of motion vector values in advance. Which region the input motion vector signal S10 corresponds to can be determined by size comparison with boundary values between the regions. The region determination unit 11 is also called a quantization unit, and the determination result S11 of the region determination unit 11 is also called a quantized signal.

領域別個数カウンタ部12は、分割された領域毎に設けられ、該当する領域において、判定結果S11を順次計数する。領域別個数カウンタ部12は量子化信号計数部とも呼ばれ、領域別個数カウンタ部12の計数結果S12は計数量子化信号とも呼ばれる。また、領域別ベクトル値積算部13は、分割された領域毎に設けられ、該当する領域において、判定結果S11が該当する領域の場合、動きベクトル信号S10をベクトル的に順次積算する。すなわち例えば、水平方向成分および垂直方向成分のそれぞれについて、順次積算する。領域別ベクトル値積算部13はベクトル信号積算部とも呼ばれ、領域別ベクトル値積算部13の積算結果S13は積算ベクトル信号とも呼ばれる。   The area distinction number counter unit 12 is provided for each divided area, and sequentially counts the determination result S11 in the corresponding area. The area distinction number counter unit 12 is also called a quantized signal counting part, and the count result S12 of the area distinction number counter part 12 is also called a count quantization signal. Moreover, the vector value accumulation | aggregation part 13 for every area | region is provided for every divided | segmented area | region, and when the determination result S11 is an area | region applicable in an applicable area | region, the motion vector signal S10 is vector-integrated sequentially. That is, for example, the horizontal direction component and the vertical direction component are sequentially integrated. The region-specific vector value integration unit 13 is also called a vector signal integration unit, and the integration result S13 of the region-specific vector value integration unit 13 is also called an integration vector signal.

上述のような、領域判定部11、領域別個数カウンタ部12、および領域別ベクトル値積算部13による一連の動作は、動きベクトル信号S10に対して行われるものであり、その結果は、入力される動きベクトル値の検出状態を示すものである。したがって、動きベクトル信号S10を、所定範囲S9内の複数のブロックに限定することで、その限定された複数のブロックにおける、動きベクトルの検出状態が得られることになる。   A series of operations by the region determination unit 11, the region distinction number counter unit 12, and the region-specific vector value integration unit 13 as described above are performed on the motion vector signal S10, and the result is input. This shows the detection state of the motion vector value. Therefore, by limiting the motion vector signal S10 to a plurality of blocks within the predetermined range S9, a motion vector detection state in the limited plurality of blocks can be obtained.

例えば、所定範囲S9を、注目ブロックを含んだ、画像信号の垂直方向の複数のブロックで構成すると、領域別個数カウンタ部12の計数結果S12および領域別ベクトル値積算部13の積算結果S13は、注目ブロックを含んだ、画像信号の垂直方向の複数のブロックにおける動きベクトルの検出状態を示すものとなる。   For example, when the predetermined range S9 includes a plurality of blocks in the vertical direction of the image signal including the block of interest, the count result S12 of the region-specific number counter unit 12 and the integration result S13 of the region-specific vector value integration unit 13 are: This indicates a detection state of motion vectors in a plurality of blocks in the vertical direction of the image signal including the target block.

また、所定範囲S9を、注目ブロックを含んだ、画像信号の水平方向の複数のブロックで構成すると、領域別個数カウンタ部12の計数結果S12および領域別ベクトル値積算部13の積算結果S13は、注目ブロックを含んだ、画像信号の水平方向の複数のブロックにおける動きベクトルの検出状態を示すものとなる。   Further, when the predetermined range S9 includes a plurality of blocks in the horizontal direction of the image signal including the block of interest, the count result S12 of the area distinction number counter unit 12 and the integration result S13 of the area-specific vector value integration unit 13 are: This indicates the detection state of motion vectors in a plurality of blocks in the horizontal direction of the image signal including the block of interest.

また、所定範囲S9を、注目ブロックに隣接する複数のブロックで構成すると、領域別個数カウンタ部12の計数結果S12および領域別ベクトル値積算部13の積算結果S13は、注目ブロックを含んだ、画像信号の注目ブロックに隣接する複数のブロックにおける動きベクトルの検出状態を示すものとなる。   Further, when the predetermined range S9 is composed of a plurality of blocks adjacent to the target block, the count result S12 of the region-specific number counter unit 12 and the integration result S13 of the region-specific vector value integration unit 13 include the target block. This indicates a detection state of motion vectors in a plurality of blocks adjacent to the target block of the signal.

また、所定範囲S9を、1フレーム全てのブロックで構成すると、領域別個数カウンタ部12の計数結果S12および領域別ベクトル値積算部13の積算結果S13は、注目ブロックを含んだ、1フレーム全てのブロックにおける動きベクトルの検出状態を示すものとなる。   Further, when the predetermined range S9 is composed of all the blocks of one frame, the counting result S12 of the area distinction number counter unit 12 and the integration result S13 of the area-specific vector value integration unit 13 include all of the one frame including the target block. It shows the detection state of the motion vector in the block.

上述したような、動きベクトルの検出状態を示す、領域別個数カウンタ部12のそれぞれの領域の計数結果S12は、所定範囲S9内における複数のブロックの動きベクトル値に対して、代表的なベクトル値が存在する領域であるかどうかの度合いを示すものである。一例としては、計数結果S12が最大となる領域が、所定範囲S9内における複数のブロックの動きベクトル値に対する、最も代表的なベクトル値が存在する領域である。この領域は、代表領域と呼ばれる。   As described above, the count result S12 of each area of the area distinction number counter unit 12 indicating the motion vector detection state is a representative vector value with respect to the motion vector values of a plurality of blocks in the predetermined range S9. This indicates the degree of whether or not this is an existing area. As an example, the region where the counting result S12 is maximum is a region where the most representative vector value exists for the motion vector values of a plurality of blocks in the predetermined range S9. This area is called a representative area.

最大個数領域判定部14は、計数結果S12が最大となる領域を表す代表領域信号S14Aと、その代表領域における計数結果S12を表す代表個数信号S14Bを生成し、それぞれ最も代表的なベクトル値が存在する代表領域と、その代表領域に該当したブロック数を得る。最大個数領域判定部14は、代表量子化レベル生成部とも呼ばれる。   The maximum number area determination unit 14 generates a representative area signal S14A indicating an area where the counting result S12 is maximum and a representative number signal S14B indicating the counting result S12 in the representative area, and each has the most representative vector value. To obtain the representative area and the number of blocks corresponding to the representative area. The maximum number area determination unit 14 is also called a representative quantization level generation unit.

また、積算値選択部15は、領域別ベクトル値積算部13の積算結果S13のうち、代表領域信号S14Aが表す代表領域での積算結果を選択し、最も代表的なベクトル値が存在する代表領域に該当したベクトル値の積算結果を表す代表積算値信号S15を生成する。積算値選択部15は、代表積算ベクトル信号生成部とも呼ばれる。   Further, the integrated value selection unit 15 selects the integration result in the representative region represented by the representative region signal S14A from the integration results S13 of the vector value integration unit 13 for each region, and the representative region where the most representative vector value exists. The representative integrated value signal S15 representing the integrated result of the vector values corresponding to is generated. The integrated value selection unit 15 is also called a representative integrated vector signal generation unit.

除算部16は、以上のようにして得られた、代表個数信号S14Bおよび代表積算値信号S15を入力し、代表積算値信号S15を代表個数信号S14Bで除算することで、最も代表的な動きベクトル値が存在する代表領域での動きベクトルの平均値を表す動きベクトル候補信号S16を生成する。代表領域での動きベクトルの平均を、代表ベクトルと呼ぶ。除算部16は、動きベクトル候補信号生成部とも呼ばれる。   The division unit 16 receives the representative number signal S14B and the representative integrated value signal S15 obtained as described above, and divides the representative integrated value signal S15 by the representative number signal S14B, thereby obtaining the most representative motion vector. A motion vector candidate signal S16 representing an average value of motion vectors in a representative area where the value exists is generated. The average of the motion vectors in the representative area is called a representative vector. The division unit 16 is also called a motion vector candidate signal generation unit.

動きベクトル候補信号S16が表す代表ベクトルは、所定範囲S9における各ブロックで検出された動きベクトル値に対して、その検出状態を代表する動きベクトルであり、存在確率が高いと想定できる。注目ブロック動きベクトル検出部17は、画像信号を複数のブロックに分割して、注目ブロックについての動きベクトルの検出を行う場合において、存在確率が高いと想定できるベクトル値である動きベクトル候補信号S16に基づいて、動きベクトルを検出する。   The representative vector represented by the motion vector candidate signal S16 is a motion vector representing the detection state with respect to the motion vector value detected in each block in the predetermined range S9, and it can be assumed that the existence probability is high. The target block motion vector detection unit 17 divides the image signal into a plurality of blocks and detects a motion vector for the target block, and then generates a motion vector candidate signal S16 that is a vector value that can be assumed to have a high existence probability. Based on this, a motion vector is detected.

このように、実施の形態1において、注目ブロックの動きベクトルを検出する場合、注目ブロックを含む所定範囲の各ブロックにおいて、すでに求められた動きベクトルに基づいて、最も代表的となる動きベクトルを求め、この代表ベクトルを動きベクトル候補として、再度、注目ブロックの動きベクトルの検出に用いる。これにより、動きの異なるものが複数混在する場合においても、精度の高い動きベクトルを効果的に検出することが可能となる。その結果、動きベクトルを使用して動き補償処理される、画像信号の圧縮符号化、および補間画像の生成等において、高品質で高効率の処理を提供可能である。   As described above, in the first embodiment, when the motion vector of the target block is detected, the most representative motion vector is obtained based on the motion vector already obtained in each block in the predetermined range including the target block. The representative vector is used as a motion vector candidate again to detect the motion vector of the block of interest. Thereby, even when a plurality of different motions coexist, it is possible to effectively detect a motion vector with high accuracy. As a result, it is possible to provide high-quality and high-efficiency processing, such as compression encoding of image signals and generation of interpolated images, which are motion-compensated using motion vectors.

なお、実施の形態1では、画像信号をフレーム単位で構成し、探索範囲は注目ブロックを含む1フレームの前フレームおよび/または後フレームに設定していた。別の実施の形態として、画像信号をフィールド単位で構成し、探索範囲は注目ブロックを含む1フィールドの前フィールドおよび/または後フィールドに設定してもよい。   In the first embodiment, the image signal is configured in units of frames, and the search range is set to the previous frame and / or the subsequent frame of one frame including the block of interest. As another embodiment, the image signal may be configured in units of fields, and the search range may be set in one field before and / or after the field including the block of interest.

以上、実施の形態におけるこれまでの説明は、すべて本発明を具体化した一例であって、本発明はこれらの例に限定されず、本発明の技術を用いて当業者が容易に構成可能な種々の例に展開可能である。   The above description of the embodiments is merely an example embodying the present invention. The present invention is not limited to these examples, and can be easily configured by those skilled in the art using the technology of the present invention. It can be expanded to various examples.

本発明は、動きベクトル検出装置および動きベクトル検出システムに利用できる。   The present invention can be used for a motion vector detection device and a motion vector detection system.

実施の形態1の動きベクトル検出装置の構成を示すブロック図FIG. 2 is a block diagram showing a configuration of a motion vector detection device according to the first embodiment

符号の説明Explanation of symbols

9 所定範囲設定部
10 所定範囲動きベクトル検出部
11 領域判定部
12 領域別個数カウンタ部
13 領域別ベクトル値積算部
14 最大個数領域判定部
15 積算値選択部
16 除算部
17 注目ブロック動きベクトル検出部
DESCRIPTION OF SYMBOLS 9 Predetermined range setting part 10 Predetermined range motion vector detection part 11 Area | region determination part 12 Area | region distinct number counter part 13 Area | region vector value integration part 14 Maximum number area | region determination part 15 Integration value selection part 16 Division part 17 Attention block motion vector detection part

Claims (6)

複数のブロックに分割された画像信号において、所定範囲における基準ブロックを含むN個(Nは2以上の整数)のブロックの動きベクトル信号に基づいて、基準ブロックの動きベクトル候補信号を生成し、動きベクトル候補信号を基準ブロックの動きベクトル信号の検出に用いる動きベクトル検出装置であって、
N個の動きベクトル信号を量子化し、それぞれN個の量子化信号を生成する量子化手段と、
N個の量子化信号に基づいて、量子化レベル毎に量子化信号の個数を計数し、計数量子化信号を生成する量子化信号計数手段と、
N個の量子化信号に基づいて、量子化レベル毎に動きベクトル信号をベクトル的に積算し、積算ベクトル信号を生成するベクトル信号積算手段と、
計数量子化信号に基づいて、個数が最大となる量子化レベルを表す代表量子化レベルと、代表量子化レベルにおける個数を表す代表計数量子化信号とを生成する代表量子化レベル生成手段と、
代表量子化レベルにおける積算ベクトル信号を表す代表積算ベクトル信号を生成する代表積算ベクトル信号生成手段と、
代表積算ベクトル信号を代表計数量子化信号で除算し、動きベクトル候補信号を生成する動きベクトル候補信号生成手段と、を有することを特徴とする、動きベクトル検出装置。
In the image signal divided into a plurality of blocks, a motion vector candidate signal of a reference block is generated based on motion vector signals of N blocks (N is an integer of 2 or more) including the reference block in a predetermined range, and motion A motion vector detection apparatus that uses a vector candidate signal to detect a motion vector signal of a reference block,
Quantizing means for quantizing N motion vector signals and generating N quantized signals respectively;
Quantized signal counting means for counting the number of quantized signals for each quantization level based on the N quantized signals and generating a counted quantized signal;
Vector signal integrating means for vectorizing the motion vector signals for each quantization level based on the N quantized signals and generating an integrated vector signal;
Representative quantization level generating means for generating a representative quantization level representing a quantization level with the largest number based on the count quantization signal, and a representative count quantization signal representing the number at the representative quantization level;
Representative integrated vector signal generating means for generating a representative integrated vector signal representing the integrated vector signal at the representative quantization level;
A motion vector detection apparatus comprising: motion vector candidate signal generation means for generating a motion vector candidate signal by dividing a representative integrated vector signal by a representative count quantized signal.
複数のブロックに分割された画像信号において、所定範囲を、基準ブロックを含むN個(Nは2以上の整数)のブロックが含まれるように設定する所定範囲設定手段と、
所定範囲におけるN個のブロックの動きベクトル信号を生成する所定範囲動きベクトル検出手段と、
請求項1に記載の動きベクトル検出装置と、を有することを特徴とする、動きベクトル検出システム。
A predetermined range setting means for setting a predetermined range to include N blocks (N is an integer of 2 or more) including a reference block in an image signal divided into a plurality of blocks;
Predetermined range motion vector detection means for generating motion vector signals of N blocks in the predetermined range;
A motion vector detection system comprising: the motion vector detection device according to claim 1.
前記所定範囲設定手段は、所定範囲を、画像信号の垂直方向に設定することを特徴とする、請求項2に記載の動きベクトル検出システム。   The motion vector detection system according to claim 2, wherein the predetermined range setting unit sets the predetermined range in a vertical direction of the image signal. 前記所定範囲設定手段は、所定範囲を、画像信号の水平方向に設定することを特徴とする、請求項2に記載の動きベクトル検出システム。   The motion vector detection system according to claim 2, wherein the predetermined range setting unit sets the predetermined range in a horizontal direction of the image signal. 前記所定範囲設定手段は、所定範囲を、基準ブロックに隣接する2個以上のブロックが含まれるように設定することを特徴とする、請求項2に記載の動きベクトル検出システム。   The motion vector detection system according to claim 2, wherein the predetermined range setting unit sets the predetermined range so as to include two or more blocks adjacent to the reference block. 前記所定範囲設定手段は、所定範囲を、1フレーム内のすべてのブロックが含まれるように設定することを特徴とする、請求項2に記載の動きベクトル検出システム。   The motion vector detection system according to claim 2, wherein the predetermined range setting means sets the predetermined range so that all blocks in one frame are included.
JP2007034690A 2007-02-15 2007-02-15 Motion vector detection apparatus and motion vector detection system Expired - Fee Related JP4895853B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007034690A JP4895853B2 (en) 2007-02-15 2007-02-15 Motion vector detection apparatus and motion vector detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007034690A JP4895853B2 (en) 2007-02-15 2007-02-15 Motion vector detection apparatus and motion vector detection system

Publications (2)

Publication Number Publication Date
JP2008199457A JP2008199457A (en) 2008-08-28
JP4895853B2 true JP4895853B2 (en) 2012-03-14

Family

ID=39757991

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007034690A Expired - Fee Related JP4895853B2 (en) 2007-02-15 2007-02-15 Motion vector detection apparatus and motion vector detection system

Country Status (1)

Country Link
JP (1) JP4895853B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3226020B2 (en) * 1997-05-28 2001-11-05 日本電気株式会社 Motion vector detection device
JP2000059786A (en) * 1998-08-06 2000-02-25 Sony Corp Device and method for detecting motion
JP3941921B2 (en) * 2002-01-25 2007-07-11 三菱電機株式会社 Video encoding device

Also Published As

Publication number Publication date
JP2008199457A (en) 2008-08-28

Similar Documents

Publication Publication Date Title
EP3050290B1 (en) Method and apparatus for video anti-shaking
US9262839B2 (en) Image processing device and image processing method
US8199252B2 (en) Image-processing method and device
US9813708B2 (en) Method and system of coding prediction for screen video
US20110115790A1 (en) Apparatus and method for converting 2d image signals into 3d image signals
KR101306242B1 (en) Method and device for reducing temporal noise for image
US8401318B2 (en) Motion vector detecting apparatus, motion vector detecting method, and program
JP2010079655A (en) Image processing apparatus, image processing method, image pickup device, and program
KR20130127869A (en) Method, device and system for digital image stabilization
US20120287339A1 (en) Image Processing Method and System with Repetitive Pattern Detection
US8594199B2 (en) Apparatus and method for motion vector filtering based on local image segmentation and lattice maps
JPWO2003088648A1 (en) Motion detection device, image processing system, motion detection method, program, and recording medium
JP2014099087A (en) Feature point detecting device and program
JP2015226326A (en) Video analysis method and video analysis device
CN102509311A (en) Motion detection method and device
US9167175B2 (en) Flicker detection method and flicker detection apparatus
US9142031B2 (en) Image processing apparatus with detection of motion vector between images, control method therefor, and storage medium storing control program therefor
US7852939B2 (en) Motion vector detection method and device of the same
JP4895853B2 (en) Motion vector detection apparatus and motion vector detection system
CN101453559B (en) Noise detection method and apparatus for video signal
JP2016201037A (en) Image processing device, image processing method, and program
JP4608136B2 (en) Motion vector and parallax vector detection device
JP2019021990A (en) Image processing apparatus, image processing method, and program
US10063880B2 (en) Motion detecting apparatus, motion detecting method and program
US20180048893A1 (en) Image processing apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100210

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110215

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111122

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111220

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150106

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees