JPH0670308A - Coder for motion compensation inter-frame prediction - Google Patents

Coder for motion compensation inter-frame prediction

Info

Publication number
JPH0670308A
JPH0670308A JP21989792A JP21989792A JPH0670308A JP H0670308 A JPH0670308 A JP H0670308A JP 21989792 A JP21989792 A JP 21989792A JP 21989792 A JP21989792 A JP 21989792A JP H0670308 A JPH0670308 A JP H0670308A
Authority
JP
Japan
Prior art keywords
motion vector
motion
prediction error
image
signal
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
JP21989792A
Other languages
Japanese (ja)
Inventor
Shuji Inoue
修二 井上
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 Holdings Corp
Original Assignee
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP21989792A priority Critical patent/JPH0670308A/en
Publication of JPH0670308A publication Critical patent/JPH0670308A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE:To provide the motion compensation inter-frame prediction coder in which the detection precision is improved, the quantity of arithmetic operation is reduced and the propriety of a detected motion vector is discriminated in the detection of a motion vector between picture frames. CONSTITUTION:A sub block division section 116 divides an input picture and a picture of a preceding frame into plural sub blocks, motion vector detection sections 114,115 detect a motion vector of each sub block, a motion vector calculation section 112 obtains an arithmetic mean of the motion vectors and outputs the result to a frame memory and a multiplexer section. In this case, a motion vector discrimination circuit section 111 discriminates the validity of each motion vector and turns on a switch 113 when it is discriminated that a motion vector is 'valid'.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、テレビ会議、テレビ電
話、ケーブルテレビなどに使用する動き補償フレーム間
予測符号化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a motion-compensated interframe predictive coding apparatus used for video conferences, video telephones, cable televisions and the like.

【0002】[0002]

【従来の技術】図7は従来の動き補償フレーム間符号化
装置の構成を示している。図7に於いてデジタル化され
た入力画像は入力端子701より加算器702に入力さ
れる。また加算器702へはフレームメモリ710より
出力された予測値も入力され両者の差として予測誤差を
出力する。この予測誤差は直交変換部703に入力され
直交変換される。変換係数は量子化部704に入力さ
れ、量子化される。量子化された変換係数は逆量子化部
712及び、多重化部705に入力される。多重化部7
05は量子化部704で量子化された変換係数と動ベク
トル検出部711で検出された動ベクトルを多重化して
端子706を通して出力する。一方逆量子化部712は
量子化された変換係数を逆量子化して変換係数に戻し、
逆直交変換部708にて逆直交変換し、予測誤差を出力
する。逆直交変換によって得られた予測誤差は加算器7
09に与えられる。加算器709はフレームメモリ71
0からの予測値と逆直交変換部708からの予測誤差を
加算し、再生画素値をフレームメモリ710に出力す
る。フレームメモリ710は加算器709からの再生画
素値から再生画像をつくりそれを次フレームの予測値と
して出力する。また動ベクトル検出部711は端子70
1より入力された入力画像とフレームメモリ710から
の再生画像から動ベクトルを求め出力する。
2. Description of the Related Art FIG. 7 shows the configuration of a conventional motion compensation interframe coding apparatus. The digitized input image in FIG. 7 is input to the adder 702 from the input terminal 701. The prediction value output from the frame memory 710 is also input to the adder 702, and a prediction error is output as the difference between the two. This prediction error is input to the orthogonal transformation unit 703 and subjected to orthogonal transformation. The transform coefficient is input to the quantization unit 704 and quantized. The quantized transform coefficient is input to the dequantization unit 712 and the multiplexing unit 705. Multiplexing unit 7
Reference numeral 05 multiplexes the transform coefficient quantized by the quantizer 704 and the motion vector detected by the motion vector detector 711, and outputs the multiplexed result through the terminal 706. On the other hand, the inverse quantization unit 712 inversely quantizes the quantized transform coefficient to restore the transform coefficient,
The inverse orthogonal transform unit 708 performs inverse orthogonal transform and outputs a prediction error. The prediction error obtained by the inverse orthogonal transform is the adder 7
09. The adder 709 is the frame memory 71
The prediction value from 0 and the prediction error from the inverse orthogonal transform unit 708 are added, and the reproduced pixel value is output to the frame memory 710. The frame memory 710 creates a reproduced image from the reproduced pixel value from the adder 709 and outputs it as a predicted value for the next frame. Further, the motion vector detection unit 711 is connected to the terminal 70.
A motion vector is obtained from the input image input from the first frame and the reproduced image from the frame memory 710 and output.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来の動き補償フレーム間予測符号化装置では、ブロック
全体のパターンマッチングによって動きベクトルを検出
するため、以下の3つの問題がある。(1)動きベクト
ルの検出精度を1画素以下にするためには参照画像の補
間を行わなければならず処理が複雑化する。(2)マッ
チングの為の演算量が指数関数的に増加する。(3)検
出された動きベクトルが実際の動きと合致しているかど
うか判定できない。
However, the conventional motion compensation interframe predictive coding apparatus described above has the following three problems because it detects a motion vector by pattern matching of the entire block. (1) In order to reduce the motion vector detection accuracy to 1 pixel or less, the reference image must be interpolated, which complicates the process. (2) The calculation amount for matching increases exponentially. (3) It cannot be determined whether or not the detected motion vector matches the actual motion.

【0004】本発明はこのような従来の問題を解決する
ものであり、少ない演算量で精度の高い動きベクトルを
検出し、検出された動きベクトルが実際の動きと合致し
ているかを判定することができる優れた動き補償フレー
ム間予測符号化装置を提供する事を目的とするものであ
る。
The present invention solves such a conventional problem by detecting a highly accurate motion vector with a small amount of calculation and determining whether or not the detected motion vector matches an actual motion. It is an object of the present invention to provide an excellent motion-compensated interframe predictive coding device capable of performing the following.

【0005】[0005]

【課題を解決するための手段】本発明は、動き補償フレ
ーム間予測符号化装置において、第1の手段は符号化を
行うブロックをサブブロックに分割するブロック分割部
と分割されたサブブロック毎に動きベクトルを検出する
動きベクトル検出部とこれらサブブロック毎に検出され
た動きベクトルから該ブロックの動きベクトルを計算す
る動きベクトル算出部を備えたことを特徴とする。
According to the present invention, in a motion-compensated interframe predictive coding apparatus, a first means is a block division unit for dividing a block to be encoded into subblocks, and each divided subblock. It is characterized by comprising a motion vector detecting section for detecting a motion vector and a motion vector calculating section for calculating a motion vector of the block from the motion vector detected for each sub-block.

【0006】また、本発明の第2の手段は上記該ブロッ
クの動きベクトルが実際の動きと合致しているか否か
(有効/無効)を判定するための評価量αを、サブブロ
ック毎の動きベクトル検出時に算出された評価量の最小
のものとし、この評価量αの値により、動きベクトルの
有効/無効を判定する動きベクトル判定部を備えたこと
を特徴とする。
The second means of the present invention uses the evaluation amount α for determining whether the motion vector of the block matches the actual motion (valid / invalid) as the motion amount for each sub-block. It is characterized in that it has a minimum evaluation amount calculated at the time of vector detection, and is provided with a motion vector determination unit that determines whether the motion vector is valid or invalid based on the value of the evaluation amount α.

【0007】また、本発明の第3の手段は上記該ブロッ
クの動きベクトルが実際の動きと合致しているか否か
(有効/無効)を判定するための評価量βを、サブブロ
ック毎に検出された動きベクトル値より算出し、この評
価量βの値により、動きベクトルの有効/無効を判定す
る動きベクトル判定部を備えたことを特徴とする。
The third means of the present invention detects, for each sub-block, an evaluation amount β for determining whether the motion vector of the block matches the actual motion (valid / invalid). It is characterized in that a motion vector determination unit for determining whether the motion vector is valid or invalid is provided based on the value of the evaluation amount β calculated from the calculated motion vector value.

【0008】また、本発明の第4の手段は第2、第3の
手段記載の評価量α、評価量βの2つを用いて動きベク
トルの有効/無効を判定する動きベクトル判定部を備え
たことを特徴とする。
Further, the fourth means of the present invention comprises a motion vector judging section for judging the validity / invalidity of the motion vector using the two evaluation amounts α and β described in the second and third means. It is characterized by that.

【0009】[0009]

【作用】したがって、本発明によれば、画素数の減った
複数のサブブロックより検出された動きベクトルから該
ブロックの動きベクトルを検出、判定するため、著しい
演算量の増加を伴わず精度の高い動きベクトルの検出判
定が行えるという効果を有する。
Therefore, according to the present invention, since the motion vector of the block is detected and determined from the motion vector detected from the plurality of sub-blocks having the reduced number of pixels, the accuracy is high without a significant increase in the amount of calculation. This has an effect that the motion vector can be detected and determined.

【0010】[0010]

【実施例】(実施例1)図1は本発明の一実施例の構成
を示すブロック図である。図1において、101は入力
端子、102は入力画像と予測画像の差分をとり予測誤
差信号を出力する加算器、103は102から出力した
予測誤差信号に対し直交変換を行い変換係数を出力する
直交変換部、104は103から出力した変換係数を量
子化する量子化部、105は104で量子化された変換
係数と112で求めた動きベクトルを多重化して符号化
する多重化部、106は出力端子、107は104で量
子化された変換係数を逆量子化する逆量子化部、108
は107で逆量子化された信号を逆変換する逆直交変換
部、109は108から出力される予測誤差信号とフレ
ームメモリ110の画像とを加算する加算器、110は
加算器109からの1フレームの画像を記憶すると共
に、動きベクトル算出部112の動きベクトルを用いて
動き補償を行い予測画像として加算器102へ出力し、
またサブブロック分割部116へ前フレームの画像とし
て出力するフレームメモリである。
(Embodiment 1) FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In FIG. 1, 101 is an input terminal, 102 is an adder that takes the difference between the input image and the predicted image, and outputs a prediction error signal, and 103 is an orthogonal that performs orthogonal transform on the prediction error signal output from 102 and outputs transform coefficients. A transform unit, 104 is a quantizer that quantizes the transform coefficient output from 103, 105 is a multiplexer that multiplexes and encodes the transform coefficient quantized in 104 and the motion vector obtained in 112, and 106 is an output A terminal, 107 is an inverse quantizer that inversely quantizes the transform coefficient quantized in 104, 108
Is an inverse orthogonal transform unit that inversely transforms the signal dequantized by 107, 109 is an adder that adds the prediction error signal output from 108 and the image of the frame memory 110, and 110 is one frame from the adder 109 Image is stored, the motion vector of the motion vector calculation unit 112 is used to perform motion compensation, and the predicted image is output to the adder 102.
It is also a frame memory that outputs the image of the previous frame to the sub-block dividing unit 116.

【0011】111は114、115で得られた複数の
動きベクトルの評価値に基づいて動きベクトルの有効/
無効性を判定しスイッチ113のオン/オフ制御信号を
発生する動きベクトル判定部、112は動きベクトル検
出部で求められた評価値を基に動きベクトルの加重平均
を求める動きベクトル算出部、113は動きベクトル判
定部111から「有効」の信号がきたとき「オン」とな
り、動きベクトル算出部112の動きベクトルをフレー
ムメモリ110および多重化部105に出力するスイッ
チ、114、115は各サブブロックの動きベクトルと
その評価値をそれぞれ検出する動きベクトル検出部、1
16は入力画像および前フレームの画像をそれぞれ複数
のサブブロックに分割するサブブロック分割部である。
Reference numeral 111 indicates whether the motion vector is valid or invalid based on the evaluation values of the plurality of motion vectors obtained at 114 and 115.
A motion vector determination unit that determines invalidity and generates an ON / OFF control signal for the switch 113, 112 is a motion vector calculation unit that calculates a weighted average of motion vectors based on the evaluation value obtained by the motion vector detection unit, and 113 is A switch that turns “ON” when a “valid” signal is received from the motion vector determination unit 111 and outputs the motion vector of the motion vector calculation unit 112 to the frame memory 110 and the multiplexing unit 105, and 114 and 115 are motions of each sub-block. A motion vector detection unit that detects a vector and its evaluation value, 1
Reference numeral 16 is a sub-block division unit that divides the input image and the image of the previous frame into a plurality of sub-blocks.

【0012】次に図1、図2、図3および図5を用いて
本発明の実施例1の動作を説明する。
Next, the operation of the first embodiment of the present invention will be described with reference to FIGS. 1, 2, 3 and 5.

【0013】図1において端子101より入力されたデ
ジタル画像信号はサブブロック分割部116及び加算器
102に入力される。加算器102はフレームメモリ1
10から出力された予測画像との差分画像を直交変換部
103に出力する。直交変換部103は入力された差分
画像をたとえば離散コサイン変換(DCT:discreteco
sine transform)の様な直交変換を行い変換係数を量子
化部104に出力する。量子化部104は変換係数を量
子化し逆量子化器107、多重化部105に出力する。
多重化部105は動きベクトル算出部112で検出され
た動きベクトルを動きベクトル判定部111の結果に従
って量子化された変換係数とを多重化し、符号化して端
子106を通して出力する。また、逆量子化部107は
量子化された変換係数を逆量子化し逆直交変換部108
に出力する。逆直交変換部108はこれをもとの予測誤
差に変換し加算器109に出力する。加算器109はフ
レームメモリ110から出力された予測画像と逆直交変
換された予測誤差画像をフレームメモリ110に再生画
像として出力する。サブブロック分割部116はフレー
ムメモリ110から出力される前フレームの画像と端子
101から入力された現フレームの画像をそれぞれ2つ
のサブブロックに分割する。動きベクトル検出部(1)
114と動きベクトル検出部(2)115はそれぞれに
分割されたサブブロック毎の動きベクトルを検出する。
サブブロックへの分割の例を図2の示す。それぞれのサ
ブブロック毎に検出された動きベクトルはベクトル算出
部112及び動きベクトル判定部111に入力される。
In FIG. 1, the digital image signal input from the terminal 101 is input to the sub-block dividing unit 116 and the adder 102. The adder 102 is the frame memory 1
The difference image from the predicted image output from 10 is output to the orthogonal transformation unit 103. The orthogonal transform unit 103 converts the input difference image into, for example, a discrete cosine transform (DCT).
sine transform) and outputs the transform coefficient to the quantization unit 104. The quantization unit 104 quantizes the transform coefficient and outputs it to the inverse quantizer 107 and the multiplexing unit 105.
The multiplexing unit 105 multiplexes the motion vector detected by the motion vector calculation unit 112 with the transform coefficient quantized according to the result of the motion vector determination unit 111, encodes the result, and outputs the result through the terminal 106. Further, the inverse quantization unit 107 inversely quantizes the quantized transform coefficient, and the inverse orthogonal transform unit 108.
Output to. The inverse orthogonal transform unit 108 transforms this into the original prediction error and outputs it to the adder 109. The adder 109 outputs the prediction image output from the frame memory 110 and the prediction error image subjected to the inverse orthogonal transform to the frame memory 110 as a reproduced image. The sub-block dividing unit 116 divides the image of the previous frame output from the frame memory 110 and the image of the current frame input from the terminal 101 into two sub-blocks. Motion vector detector (1)
114 and the motion vector detection unit (2) 115 detect the motion vector for each sub-block.
An example of division into sub-blocks is shown in FIG. The motion vector detected for each sub-block is input to the vector calculation unit 112 and the motion vector determination unit 111.

【0014】動きベクトル算出部112は入力された2
つの動きベクトル及び検出時に算出された評価値によっ
て加重平均処理を行い1つの動きベクトルを出力する。
加重平均の動作を図3に示す。2つの評価値の比がε1
以下の場合、加重係数Aを1とし、ε2以上の場合には
0にする。その間の値の場合には図3に示されるように
0から1までの値をとる。動きベクトル判定部111は
入力された2つの動きベクトルから評価量αを算出し、
このαが予め与えられた閾値εより小さい場合には動き
ベクトルを有効と判定し、スイッチ113をオンにす
る。また逆にαがεより大きい場合には動きベクトルを
無効と判定し、スイッチ113をオフにする。このとき
の評価値αには、2つの動きベクトルのなす角度や、内
積を用いることができる。図5に2つの動きベクトルの
なす角度を評価量α(α=θ)とした場合の動きベクト
ル判定部のブロック図を示す。
The motion vector calculator 112 receives the input 2
Weighted average processing is performed by using one motion vector and the evaluation value calculated at the time of detection, and one motion vector is output.
The weighted average operation is shown in FIG. The ratio of the two evaluation values is ε1
In the following cases, the weighting coefficient A is set to 1, and when it is ε2 or more, it is set to 0. In the case of values in between, values from 0 to 1 are taken as shown in FIG. The motion vector determination unit 111 calculates the evaluation amount α from the two input motion vectors,
When this α is smaller than a threshold value ε given in advance, it is determined that the motion vector is valid, and the switch 113 is turned on. On the other hand, when α is larger than ε, it is determined that the motion vector is invalid and the switch 113 is turned off. An angle formed by two motion vectors or an inner product can be used as the evaluation value α at this time. FIG. 5 shows a block diagram of the motion vector determination unit when the angle formed by the two motion vectors is the evaluation amount α (α = θ).

【0015】動きベクトルの検出は2つの画像のパター
ンマッチングによって行われる為、ノイズの重畳された
画像や変化の少ない画像などでは誤検出が多く、実際の
画像の動きと動きベクトルが一致しない場合がある。こ
のような間違った動きベクトルはランダムになる為、2
種類の動きベクトルが異なる。また、実際の動きと一致
した動きベクトルの場合では2種類の動きベクトルの方
向、大きさは殆ど等しくなる。したがって2つの動きベ
クトルの差を表す、内積や角度差を動きベクトルの評価
量にすることにより、精度の高い動きベクトル判定をお
こなうという効果を有する。
Since the motion vector is detected by pattern matching between two images, there are many false detections in an image in which noise is superimposed or an image with little change, and the actual motion of the image may not match the motion vector. is there. Since such wrong motion vector becomes random, 2
The type of motion vector is different. Also, in the case of a motion vector that matches an actual motion, the directions and sizes of the two types of motion vectors are almost the same. Therefore, by using the inner product or the angular difference, which represents the difference between two motion vectors, as the evaluation amount of the motion vector, it is possible to perform the motion vector determination with high accuracy.

【0016】(実施例2)上記実施例1の符号化器にお
いて動きベクトル検出部(1)114及び動きベクトル
検出部(2)115より検出された動きベクトルと共に
動き検出時に算出された評価量βを動きベクトル判定部
111に出力する。このとき評価量βにはパターンマッ
チングを行ったときのマッチング誤差を用いる。動きベ
クトル判定部111はこの評価量βによって動きベクト
ルの有効/無効の判定を行う。図4に本動きベクトル判
定部のブロックを示す。入力された2つの評価量βの比
較を比較器404で行い、小さい方をスイッチ401で
選択する。この値を予め与えられた閾値εと比較器40
2で比較しε以下の場合には動きベクトルを有効と判定
し、スイッチ113をオンにするための信号を出力す
る。また、閾値εより大きい場合には無効と判定し、ス
イッチ113をオフにする為の信号を出力する。これに
より、ノイズなどにより一方の動きベクトルが誤検出さ
れた場合にももう一方の動きベクトルから実際の動きに
近い動きベクトルを得ることができるという効果を有す
る。
(Embodiment 2) In the encoder of Embodiment 1, the motion vector detected by the motion vector detecting unit (1) 114 and the motion vector detecting unit (2) 115 together with the evaluation amount β calculated at the time of motion detection Is output to the motion vector determination unit 111. At this time, a matching error when pattern matching is performed is used as the evaluation amount β. The motion vector determination unit 111 determines whether the motion vector is valid or invalid based on this evaluation amount β. FIG. 4 shows a block of this motion vector determination unit. The comparator 404 compares the two input evaluation amounts β, and the switch 401 selects the smaller one. This value is compared with the threshold value ε given in advance and the comparator 40.
In the case of comparison in 2, the motion vector is determined to be valid if ε or less, and a signal for turning on the switch 113 is output. If it is larger than the threshold value ε, it is determined to be invalid, and a signal for turning off the switch 113 is output. Thus, even if one motion vector is erroneously detected due to noise or the like, it is possible to obtain a motion vector close to the actual motion from the other motion vector.

【0017】(実施例3)上記実施例1と実施例2の動
きベクトル判定部を組み合わせ、評価量αと評価量βの
2つの評価量を用いそれぞれの条件が満足された場合の
みスイッチ113をオンにする信号を出力する。この時
のブロックを図6に示す。前述の2つの評価量を用いて
動きベクトルの判定を行うため、より精度の高い有効/
無効の判定を行うことができる。
(Embodiment 3) The motion vector determination units of the above Embodiments 1 and 2 are combined and two evaluation quantities of evaluation quantity α and evaluation quantity β are used, and the switch 113 is turned on only when the respective conditions are satisfied. Output the signal to turn on. The block at this time is shown in FIG. Since the motion vector is determined using the above-mentioned two evaluation amounts, it is possible to determine the effective / higher accuracy.
It is possible to determine invalidity.

【0018】[0018]

【発明の効果】本発明は上記実施例より明らかなよう
に、以下に示す効果を有する。サブサンプリングされた
サブブロック毎に動きベクトルを検出し、これを元に当
該ブロックの動きベクトルを算出、判定するため動ベク
トル検出の為の演算量を著しい増加無しに精度のよい動
きベクトルの検出、判定を行うことができる。また、2
つの動きベクトルの平均や加重平均により動きベクトル
を算出する為、各サブブロックで検出された動きベクト
ルの精度以上の動きベクトルを算出できる。
The present invention has the following effects, as is apparent from the above-mentioned embodiments. Detecting a motion vector for each sub-sampled sub block, calculating and calculating the motion vector of the block based on this, accurate motion vector detection without significantly increasing the calculation amount for motion vector detection, A decision can be made. Also, 2
Since the motion vector is calculated by averaging two motion vectors or a weighted average, it is possible to calculate a motion vector having a precision higher than that of the motion vector detected in each sub block.

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

【図1】本発明の動き補償フレーム間予測符号化装置の
一実施例を示す概略ブロック図
FIG. 1 is a schematic block diagram showing an embodiment of a motion compensation interframe predictive coding apparatus according to the present invention.

【図2】図1サブブロック分割部の動作を示す図FIG. 2 is a diagram showing an operation of a sub-block division unit shown in FIG.

【図3】図1の動きベクトル算出部の動作を示す図FIG. 3 is a diagram showing an operation of a motion vector calculation unit in FIG.

【図4】本発明の動きベクトルの評価量をパタンマッチ
ング誤差としたときの動きベクトル判定部の動作を説明
する図
FIG. 4 is a diagram for explaining the operation of a motion vector determination unit when the motion vector evaluation amount of the present invention is used as a pattern matching error.

【図5】本発明の動きベクトルの評価量をベクトル間の
角度としたときの動きベクトル判定部の動作を説明する
FIG. 5 is a diagram illustrating the operation of the motion vector determination unit when the motion vector evaluation amount of the present invention is an angle between vectors.

【図6】図4および図5を組み合わせた場合の動きベク
トル判定部の動作を説明する図
FIG. 6 is a diagram for explaining the operation of the motion vector determination unit when combining FIGS. 4 and 5;

【図7】従来の動き補償フレーム間予測符号化装置の一
構成法を示す概略ブロック図
FIG. 7 is a schematic block diagram showing a configuration method of a conventional motion compensation interframe predictive coding device.

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

101 入力端子 102 加算器 103 直交変換部 104 量子化部 105 多重化部 106 出力端子 107 逆量子化部 108 逆直交変化部 109 加算器 110 フレームメモリ 111 動きベクトル判定部 112 動きベクトル算出部 113 スイッチ 114 動きベクトル検出部(1) 115 動きベクトル検出部(2) 116 サブブロック分割部 401 スイッチ 402 比較器 403 閾値 404 比較器 501 角度算出部 502 比較器 503 閾値 601 AND回路 101 Input Terminal 102 Adder 103 Orthogonal Transform Section 104 Quantization Section 105 Multiplexing Section 106 Output Terminal 107 Inverse Quantization Section 108 Inverse Orthogonal Change Section 109 Adder 110 Frame Memory 111 Motion Vector Determining Section 112 Motion Vector Calculating Section 113 Switch 114 Motion vector detection unit (1) 115 Motion vector detection unit (2) 116 Sub-block division unit 401 Switch 402 Comparator 403 Threshold value 404 Comparator 501 Angle calculation unit 502 Comparator 503 Threshold value 601 AND circuit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 入力画像と予測画像との差分をとり予測
誤差を求める手段と、前記予測誤差信号を直交変換する
手段と、この直交変換された予測誤差信号を量子化する
手段と、前記量子化された信号を逆量子化したのち逆直
交変換する手段と、前記逆直交変換された信号と前記予
測画像とを加算しフレームメモリに入力する手段と、入
力画像および前記フレームメモリから出力された前フレ
ームの画像をそれぞれ複数のサブブロックに分割する手
段と、前記サブブロックからそれぞれの動きベクトルを
検出する手段と、前記複数の動きベクトルに基づき当該
ブロックの動きベクトルを算出する手段と、前記量子化
された予測誤差信号と前記動きベクトルを多重化したの
ち符号化して送出する多重化部とを備えた動き補償フレ
ーム間予測符号化装置。
1. A means for obtaining a prediction error by taking a difference between an input image and a predicted image, means for orthogonally transforming the prediction error signal, means for quantizing the orthogonally transformed prediction error signal, and the quantum. Means for dequantizing the converted signal and then inverse orthogonal transforming means, means for adding the inversely orthogonally transformed signal and the predicted image and inputting the result into a frame memory, and an output from the input image and the frame memory Means for dividing the image of the previous frame into a plurality of sub-blocks, means for detecting each motion vector from the sub-blocks, means for calculating a motion vector of the block based on the plurality of motion vectors, and the quantum Motion-compensated interframe predictive coding apparatus including a multiplexed prediction error signal and a multiplexing unit that multiplexes the motion vector and then codes and sends the coded signal. Place
【請求項2】 入力画像と予測画像との差分をとり予測
誤差を求める手段と、前記予測誤差信号を直交変換する
手段と、この直交変換された予測誤差信号を量子化する
手段と、前記量子化された信号を逆量子化したのち逆直
交変換する手段と、前記逆直交変換された信号と前記予
測画像とを加算しフレームメモリに入力する手段と、入
力画像および前記フレームメモリから出力された前フレ
ームの画像をそれぞれ複数のサブブロックに分割する手
段と、前記サブブロックからそれぞれの動きベクトルを
検出しその評価量を求める動きベクトル検出手段と、前
記複数の動きベクトルに基づき当該ブロックの動きベク
トルを算出する手段と、前記複数の動きベクトルに基づ
き当該ブロックの動きベクトルの有効性を判定する動き
ベクトル判定手段と、前記判定手段で有効と判定された
動きベクトルを前記フレームメモリに出力する手段と、
前記量子化された予測誤差信号と前記動きベクトルを多
重化したのち符号化して送出する多重化部とを備えた動
き補償フレーム間予測符号化装置。
2. A means for obtaining a prediction error by taking a difference between an input image and a predicted image, a means for orthogonally transforming the prediction error signal, a means for quantizing the orthogonally transformed prediction error signal, and the quantum. Means for dequantizing the converted signal and then inverse orthogonal transforming means, means for adding the inversely orthogonally transformed signal and the predicted image and inputting the result into a frame memory, and an output from the input image and the frame memory A means for dividing the image of the previous frame into a plurality of sub-blocks, a motion vector detecting means for detecting each motion vector from the sub-block and obtaining an evaluation amount thereof, and a motion vector for the block based on the plurality of motion vectors And a motion vector determination means for determining the validity of the motion vector of the block based on the plurality of motion vectors. A means for outputting to the frame memory a motion vector determined to be valid by the determination means,
A motion-compensated interframe predictive coding apparatus comprising: a multiplexing unit that multiplexes the quantized prediction error signal and the motion vector, and then encodes and sends the coded signal.
【請求項3】 前記動きベクトル判定手段は、各動きベ
クトルの評価量として動きベクトル相互間の角度を用
い、その角度の最小値が閾値以下の時「有効」と判定
し、上記以外の時「無効」と判定することを特徴とする
請求項(2)記載の動き補償フレーム間予測符号化装
置。
3. The motion vector determination means uses an angle between motion vectors as an evaluation amount of each motion vector, determines “effective” when the minimum value of the angles is equal to or less than a threshold value, and “other than” in the other cases. The motion-compensated interframe predictive coding apparatus according to claim 2, wherein the motion-compensated interframe predictive coding apparatus is determined to be “invalid”.
【請求項4】 前記動きベクトル判定手段は、各動きベ
クトルの評価量として動きベクトル算出時のマッチング
誤差を用い、その最小値が閾値以下のとき「有効」と判
定し、上記以外のとき「無効」と判定することを特徴と
する請求項(2)記載の動き補償フレーム間予測符号化
装置。
4. The motion vector determination means uses a matching error at the time of motion vector calculation as an evaluation amount of each motion vector, determines “valid” when the minimum value is equal to or less than a threshold value, and “invalid” otherwise. The motion-compensated interframe predictive coding apparatus according to claim 2, characterized in that
【請求項5】 前記動きベクトル判定手段は、各動きベ
クトルの評価量として動きベクトル相互間の角度ならび
に動きベクトル算出時のマッチング誤差を用い、その角
度の最小値が閾値より小さく且つマッチング誤差の最小
値が閾値より小さい時「有効」と判定し、上記以外のと
き「無効」と判定することを特徴とする請求項(2)記
載の動き補償フレーム間予測符号化装置。
5. The motion vector determination means uses an angle between motion vectors and a matching error at the time of motion vector calculation as an evaluation amount of each motion vector, and the minimum value of the angle is smaller than a threshold and the matching error is minimum. The motion-compensated interframe predictive coding apparatus according to claim (2), wherein when the value is smaller than the threshold value, it is determined as “valid”, and when it is other than the above, it is determined as “invalid”.
JP21989792A 1992-08-19 1992-08-19 Coder for motion compensation inter-frame prediction Pending JPH0670308A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21989792A JPH0670308A (en) 1992-08-19 1992-08-19 Coder for motion compensation inter-frame prediction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21989792A JPH0670308A (en) 1992-08-19 1992-08-19 Coder for motion compensation inter-frame prediction

Publications (1)

Publication Number Publication Date
JPH0670308A true JPH0670308A (en) 1994-03-11

Family

ID=16742753

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21989792A Pending JPH0670308A (en) 1992-08-19 1992-08-19 Coder for motion compensation inter-frame prediction

Country Status (1)

Country Link
JP (1) JPH0670308A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6370195B1 (en) 1998-04-14 2002-04-09 Hitachi, Ltd. Method and apparatus for detecting motion
KR100323660B1 (en) * 1994-07-26 2002-05-13 구자홍 Scene adaptive motion estimator of hdtv
JP2009017113A (en) * 2007-07-03 2009-01-22 Casio Comput Co Ltd Validity determining device, image processor, and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100323660B1 (en) * 1994-07-26 2002-05-13 구자홍 Scene adaptive motion estimator of hdtv
US6370195B1 (en) 1998-04-14 2002-04-09 Hitachi, Ltd. Method and apparatus for detecting motion
US6496539B2 (en) 1998-04-14 2002-12-17 Hitachi, Ltd. Method and apparatus for detecting motion
JP2009017113A (en) * 2007-07-03 2009-01-22 Casio Comput Co Ltd Validity determining device, image processor, and program

Similar Documents

Publication Publication Date Title
EP0874526B1 (en) Motion compensation encoding apparatus and motion compensation encoding method for high-efficiency encoding of video information through selective use of previously derived motion vectors in place of motion vectors derived from motion estimation
US6393059B1 (en) Conversion of video data bit stream
US6625215B1 (en) Methods and apparatus for context-based inter/intra coding mode selection
US5944851A (en) Error concealment method and apparatus
US20050002458A1 (en) Spatial scalable compression
KR100415494B1 (en) Image encoding method and apparatus, recording apparatus, video signal encoding apparatus, processing apparatus and method, video data processing apparatus and method
JP2005287047A (en) Motion vector estimation employing line vector and column vector
US20070025438A1 (en) Elastic storage
JPH0670308A (en) Coder for motion compensation inter-frame prediction
JP2009284058A (en) Moving image encoding device
JP3738511B2 (en) Video coding system
EP1162848A2 (en) Image encoding device
JP2906865B2 (en) Motion compensation coding device
JP2574572B2 (en) Image encoding method and image encoding device
JPH10210480A (en) Dynamic image coding system
JPH07274182A (en) Video signal encoding system
JPH0530498A (en) Moving picture data compressing device
JPH06233279A (en) Motion compensating encoder
KR0145426B1 (en) Method for deciding motion compensation of image signal
JPH06165157A (en) Motion detecting circuit
JPH07131792A (en) Motion picture coder
JPH06197330A (en) Motion vector detection system
JPH04268891A (en) Encoding device between movement compensation predicting frames
JP3175905B2 (en) Motion vector detection method and apparatus
JPH0364186A (en) Inter-frame encoder for compensating movement