Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2537243B2 - Motion compensation motion vector coding method - Google Patents
[go: Go Back, main page]

JP2537243B2 - Motion compensation motion vector coding method - Google Patents

Motion compensation motion vector coding method

Info

Publication number
JP2537243B2
JP2537243B2 JP23183487A JP23183487A JP2537243B2 JP 2537243 B2 JP2537243 B2 JP 2537243B2 JP 23183487 A JP23183487 A JP 23183487A JP 23183487 A JP23183487 A JP 23183487A JP 2537243 B2 JP2537243 B2 JP 2537243B2
Authority
JP
Japan
Prior art keywords
vector
axis direction
prediction error
motion vector
motion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP23183487A
Other languages
Japanese (ja)
Other versions
JPS6473988A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP23183487A priority Critical patent/JP2537243B2/en
Publication of JPS6473988A publication Critical patent/JPS6473988A/en
Application granted granted Critical
Publication of JP2537243B2 publication Critical patent/JP2537243B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Description

【発明の詳細な説明】 〔概要〕 検出された入力画面の入力動ベクトルをエントロピー
コーダで可変長符号化して伝送する動き補償動ベクトル
の符号化方式に関し、 動き補償動ベクトルの伝送する情報量を少なくするこ
とを目的とし、 入力動ベクトルを所定複数個づつ蓄積するメモリと、
予め求めた複数個の予測誤差ベクトルパターンを格納し
ているコードブックと、予測動ベクトルを発生する予測
器と、該入力動ベクトルと予測動ベクトルから予測誤差
ベクトルの組を発生する予測誤差発生器と、該予測誤差
ベクトル組と該予測誤差ベクトルパターンとを比較して
誤差が最小となる予測誤差ベクトルパターンを選択しそ
のインデックスを該エントロピーコーダに送るマッチン
グ判定回路とを備え、該予測器が、該マッチング判定回
路から出力されるインデックスを復号化器で復号化した
予測誤差パターンと前の予測動ベクトルから該予測動ベ
クトルを発生するように構成する。
DETAILED DESCRIPTION OF THE INVENTION [Outline] The present invention relates to a motion compensation motion vector coding method in which an input motion vector of a detected input screen is variable-length coded by an entropy coder and then transmitted. For the purpose of reducing the number, a memory that stores a predetermined number of input motion vectors,
A codebook that stores a plurality of prediction error vector patterns obtained in advance, a predictor that generates a prediction motion vector, and a prediction error generator that generates a set of prediction error vectors from the input motion vector and the prediction motion vector And a matching determination circuit that compares the prediction error vector set with the prediction error vector pattern to select a prediction error vector pattern having the smallest error and sends the index to the entropy coder, the predictor comprising: The index output from the matching determination circuit is configured to generate the prediction motion vector from the prediction error pattern decoded by the decoder and the previous prediction motion vector.

〔産業上の利用分野〕[Industrial applications]

本発明は、画像符号化方式に関し、特に検出された入
力画面の入力動ベクトルをエントロピーコーダで可変長
符号化して伝送する動き補償動ベクトルの符号化方式に
関するものである。
The present invention relates to an image coding system, and more particularly to a motion compensation motion vector coding system in which a detected input motion vector of an input screen is variable-length coded by an entropy coder and then transmitted.

TV会議を始めとして最近の画像伝送は、伝送路の有効
利用及び端末コストの軽減を図るため、その伝送量を極
力圧縮して低ビットレートを実現するという観点から種
々の提案が為されているが、伝送画面の動きを検出し
て、その動き分だけ予測画面を補償して差分信号を得る
ことにより、差分信号を一層小さくして量子化し伝送す
る所謂ブロックマッチング型動き補償方式が脚光を浴び
るようになって来ている。
In recent image transmission such as video conferencing, various proposals have been made from the viewpoint of realizing a low bit rate by compressing the transmission amount as much as possible in order to effectively use the transmission line and reduce the terminal cost. However, the so-called block matching type motion compensation method, which detects the motion of the transmission screen and obtains the difference signal by compensating the prediction screen by the amount of the motion and further quantizing and transmitting the difference signal, is in the limelight. Is coming.

〔従来の技術〕[Conventional technology]

第12図は従来から良く知られている動き補償付き符号
化方式を示すもので、これは例えば昭和59年4月5日に
電子通信学会で発表されたものである。
FIG. 12 shows a well-known coding system with motion compensation, which was announced at the Institute of Electronics and Communication Engineers on April 5, 1984, for example.

図中、11は量子化器、12はフレームメモリ、13は可変
遅延器、14は動き検出器であり、この方式では、第13図
に示すように、入力画面ブロックx(I,J)とフレーム
メモリ12に格納されている参照画面上の同位置及びその
周辺のブロックy(i,j)との間で画素単位の差分の絶
対値|x(I,J)−y(i,j)|を動き検出器14でとり且つ
1ブロック分累積し、その累積値 が最も小さいブロックが、移動する前の画面ブロックに
最も近いものと予測、即ちマッチングしてその予測ブロ
ックを可変遅延器13において移動した分だけ遅延させて
から次の入力画面ブロックとの差分をとり量子化器11で
量子化して伝送路に送出する。これとともに、予測画面
は(図示しない逆量子化器を経て)フレームメモリ12に
格納されて次の予測ブロックの決定に用いられる。そし
て、検出されたブロックの動き量(以下、動ベクトル値
という)は、量子化器11の量子化出力の符号化回路とは
別に(又は一緒に)第14図に示すエントロピーコーダ
(符号化回路)10を介して受信側にも送る。
In the figure, 11 is a quantizer, 12 is a frame memory, 13 is a variable delay device, and 14 is a motion detector. In this method, as shown in FIG. 13, input screen block x (I, J) Absolute value of pixel-by-pixel difference between the same position on the reference screen stored in the frame memory 12 and the surrounding blocks y (i, j) | x (I, J) -y (i, j) | Is taken by the motion detector 14 and accumulated for one block, and the accumulated value Block is predicted to be the closest to the screen block before moving, that is, the predicted block is delayed by the amount moved by the variable delay unit 13 and the difference with the next input screen block is obtained. The quantizer 11 quantizes and sends out to the transmission path. At the same time, the prediction screen is stored in the frame memory 12 (via an inverse quantizer (not shown)) and is used to determine the next prediction block. The amount of motion of the detected block (hereinafter, referred to as a motion vector value) is separated from (or together with) the coding circuit of the quantized output of the quantizer 11 by the entropy coder (coding circuit) shown in FIG. ) Send to receiver via 10.

受信側では、この動き検出情報に従って受信信号から
元の画面を再生する。
The receiving side reproduces the original screen from the received signal according to the motion detection information.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

第14図に示すような上記の従来の動き補償動ベクトル
のエントロピーコーダでは、その入力信号であるX軸
(縦軸)方向の動ベクトルとY軸(横軸)方向の動ベク
トルの組み(VX,VY)を適宣、可変長符号化して個々に
受信側に伝送していたため、個々の動ベクトルは正確に
伝送できるものの、特に動き補償を行う時のブロックの
大きさが小さくなる程、動き補償による情報量が増えて
しまうという問題点があった。
In the above-described conventional motion compensation motion vector entropy coder as shown in FIG. 14, a set of a motion vector in the X-axis (vertical axis) direction and a motion vector in the Y-axis (horizontal axis) direction (V (X , V Y ) is appropriately variable-length coded and transmitted individually to the receiving side, so although individual motion vectors can be transmitted accurately, the smaller the size of the block when performing motion compensation becomes The problem is that the amount of information increases due to motion compensation.

従って、本発明は、検出された入力画面の入力動ベク
トルをエントロピーコーダで可変長符号化して伝送する
動き補償ベクトルの符号化方式において、動き補償ベク
トルの伝送する情報量を少なくすることを目的とする。
Therefore, it is an object of the present invention to reduce the amount of information transmitted by a motion compensation vector in a motion compensation vector encoding method in which an input motion vector of a detected input screen is variable length coded by an entropy coder and then transmitted. To do.

〔問題を解決するための手段〕[Means for solving problems]

第1図は上記の目的を達成するための本発明に係る動
き補償動ベクトルの符号化方式を概念的に示したもの
で、1は入力動ベクトルを所定複数個づつ蓄積するメモ
リ、2は予め求めた複数個の予測誤差ベクトルパターン
を格納しているコードブック、3は予測動ベクトルを発
生する予測器、4は該入力動ベクトルと予測動ベクトル
から予測誤差ベクトルの組を発生する予測誤差発生器、
5は該予測誤差ベクトル組と該予測誤差ベクトルパター
ンとを比較して誤差が最小となる予測誤差ベクトルパタ
ーンを選択しそのインデックスを該エントロピーコーダ
10に送るマッチング判定回路であり、予測器3は、マッ
チング判定回路5から出力されるインデックスを復号化
器6で復号化した予測誤差パターンと前の予測動ベクト
ルから該予測動ベクトルを発生するものである。
FIG. 1 conceptually shows a motion compensation motion vector encoding system according to the present invention for achieving the above object. 1 is a memory for accumulating a predetermined plurality of input motion vectors, and 2 is a preset memory. A codebook that stores a plurality of obtained prediction error vector patterns, 3 is a predictor that generates a prediction motion vector, and 4 is a prediction error that generates a set of prediction error vectors from the input motion vector and the prediction motion vector vessel,
Reference numeral 5 compares the prediction error vector set with the prediction error vector pattern to select a prediction error vector pattern having a minimum error and sets its index to the entropy coder.
A matching determination circuit to be sent to 10, and the predictor 3 generates the prediction motion vector from the prediction error pattern obtained by decoding the index output from the matching determination circuit 5 by the decoder 6 and the previous prediction motion vector. Is.

〔作用〕[Action]

第1図に示した本発明の動き補償動ベクトルの符号化
方式においては、予測画面に対する入力画面の動きが入
力動ベクトルとしてメモリ1に蓄積される。このメモリ
1は入力動ベクトルを所定の複数個づつ蓄積するもので
ある。また、コードブック2には入力動ベクトルのX軸
方向及びY軸方向に関して予め求めた複数個の予測誤差
ベクトルパターンを格納しておく。また、予測器3は、
マッチング判定回路5からのインデックス出力を復号化
器6で復号化した予測誤差パターンと前の予測動ベクト
ルから得られる現在の予測動ベクトルを発生する。
In the motion compensation motion vector encoding method of the present invention shown in FIG. 1, the motion of the input screen with respect to the prediction screen is stored in the memory 1 as the input motion vector. The memory 1 stores a predetermined plurality of input motion vectors. Further, the codebook 2 stores a plurality of prediction error vector patterns obtained in advance in the X-axis direction and the Y-axis direction of the input motion vector. In addition, the predictor 3
A current prediction motion vector obtained from the prediction error pattern obtained by decoding the index output from the matching determination circuit 5 by the decoder 6 and the previous prediction motion vector is generated.

予測誤差発生器4では、メモリ1に蓄積された複数個
の入力動ベクトルと、予測器3に記憶した予測動ベクト
ルとから予測誤差ベクトルの組を発生し、この予測誤差
ベクトル組をマッチング判定回路5に送る。マッチング
判定回路5では、上記の予測誤差ベクトル組と予めコー
ドブック2に格納された予測誤差パターンとを比較し
て、この内、最も誤差即ち歪の小さい予測誤差ベクトル
パターンを選び出し、そのインデックスをエントロピー
コーダ10に送る。エントロピーコーダ10はそのインデッ
クスを可変長符号化して伝送路に送出し、受信側に送
る。
The prediction error generator 4 generates a prediction error vector set from the plurality of input motion vectors stored in the memory 1 and the prediction motion vector stored in the predictor 3, and uses this prediction error vector set as a matching determination circuit. Send to 5. The matching determination circuit 5 compares the above-mentioned prediction error vector set with the prediction error pattern stored in the codebook 2 in advance, selects the prediction error vector pattern with the smallest error, that is, the distortion, and determines its index as entropy. Send to Coder 10. The entropy coder 10 encodes the index into a variable length code, sends it to the transmission path, and sends it to the receiving side.

このように、入力動ベクトルの複数個の組み合わせに
よるX軸方向ベクトル及びY軸方向の予測誤差ベクトル
組に最も近いコードブック中の予測誤差ベクトルパター
ン、即ち入力動ベクトルのまとまりに最も近い予測誤差
ベクトルパターンが情報量の小さいインデックスの形で
伝送される。
As described above, the prediction error vector pattern in the codebook that is closest to the prediction error vector set in the X-axis direction vector and the Y-axis direction by a plurality of combinations of the input motion vectors, that is, the prediction error vector closest to the group of the input motion vectors. The pattern is transmitted in the form of an index having a small amount of information.

〔実 施 例〕〔Example〕

以下、本願発明に係る動き補償動ベクトルの符号化方
式の実施例を説明する。
Embodiments of the motion compensation motion vector encoding method according to the present invention will be described below.

第2図は第1図に示した本発明の動き補償動ベクトル
の符号化方式を動き補償付き符号化方式に組み込んだ時
の一実施例を示しており、この実施例では、動き検出器
14で検出された入力動ベクトルが所定の複数個分づつメ
モリ1に蓄えられる。予測器3には、既に伝送された動
ベクトル、例えばX軸及びY軸方向に1つだけ前の動ベ
クトル値が復号化器6の予測誤差パターンと前の予測値
から得られ記憶されている。従って、予測誤差発生器4
ではメモリ1及び予測器3に記憶されたベクトル値を入
力して、X軸方向及びY軸方向毎に予測誤差ベクトルの
組を発生し、マッチング判定回路5に送る。マッチング
判定回路5はコードブック2に格納してある予測誤差ベ
クトルパターンとX軸方向及びY軸方向の予測誤差ベク
トル組とを比較して誤差の最小な予測誤差ベクトルパタ
ーンを選択してそのインデックスをエントロピーコーダ
10を介して受信側に伝送する。
FIG. 2 shows an embodiment in which the motion compensation motion vector coding system of the present invention shown in FIG. 1 is incorporated into a motion compensation coding system. In this embodiment, a motion detector is used.
The input motion vector detected in 14 is stored in the memory 1 by a predetermined number. In the predictor 3, the motion vector that has already been transmitted, for example, the previous motion vector value in the X-axis and Y-axis directions is obtained and stored from the prediction error pattern of the decoder 6 and the previous prediction value. . Therefore, the prediction error generator 4
Then, the vector values stored in the memory 1 and the predictor 3 are input to generate a set of prediction error vectors for each of the X-axis direction and the Y-axis direction, and the set is sent to the matching determination circuit 5. The matching determination circuit 5 compares the prediction error vector pattern stored in the codebook 2 with the prediction error vector set in the X-axis direction and the Y-axis direction, selects the prediction error vector pattern with the smallest error, and sets its index. Entropy coder
Transmit to the receiver via 10.

選択された予測誤差ベクトルパターンのインデックス
は復号化器6にも入力され、そのインデックスをコード
ブック2に照会することにより予測誤差ベクトルパター
ンが得られ、このパターンのうちの予め決めた番号の予
測誤差ベクトルと予測器3の予測値とを加算したベクト
ルを動ベクトルとして得、可変遅延器13に与える。予測
器3はこの可変遅延器13に与えられる動ベクトルを今回
の予測動ベクトルとして記憶し、次の予測誤差発生に備
える。可変遅延器13はフレームメモリ12中の前画面をシ
フトして予測画面を生成する。
The index of the selected prediction error vector pattern is also input to the decoder 6, and a prediction error vector pattern is obtained by inquiring the index into the codebook 2, and the prediction error of a predetermined number in this pattern is obtained. A vector obtained by adding the vector and the predicted value of the predictor 3 is obtained as a motion vector and given to the variable delay unit 13. The predictor 3 stores the motion vector given to the variable delay unit 13 as the current prediction motion vector, and prepares for the next prediction error occurrence. The variable delay unit 13 shifts the previous screen in the frame memory 12 to generate a predicted screen.

ここで、コードブック2に格納される予測誤差ベクト
ルパターンには種々の実施例が考えられるので、以下の
それらの実施例を入力動ベクトルとともに説明する。
Since various examples can be considered for the prediction error vector pattern stored in the codebook 2, those examples will be described below together with the input motion vector.

第3図(a)及び(b)はコードブック2に、それぞ
れX軸方向及びY軸方向に分けて格納された予測誤差ベ
クトルパターンを示すもので、X軸方向用にはベクトル
をnX個集めてできた予測誤差のベクトルパターンがmX
(1〜mXのそれぞれがベクトルパターンの各々のインデ
ックスとなる)用意され、Y軸方向用にはベクトルをnY
個集めたベクトルパターンがmY(1〜mYのそれぞれがベ
クトルパターンの各々のインデックスとなる)個用意さ
れている。これらのベクトルパターンは予め求めておい
て格納するが、nx=nymx=myであっても、nx≠ny、mx
myでもよい。但し、nx=nyの場合には、X軸方向用とY
軸方向用とにコードブック2を分けておく必要はなく、
その場合は第4図のようなパターン構成と同じになる。
FIGS. 3 (a) and 3 (b) show prediction error vector patterns stored separately in the X-axis direction and the Y-axis direction in the codebook 2, and n X vectors are provided for the X-axis direction. collect vector pattern of prediction errors were Deki by the m X-number (each 1 to m X is each of the index of the vector pattern) is prepared, the vector for the Y-axis direction n Y
Pieces collected vector pattern m Y (each 1 to m Y is each of the index of the vector pattern) are pieces prepared. These vector patterns are obtained in advance and stored, but even if n x = n y m x = m y , n x ≠ n y , m x
It may be m y . However, in the case of n x = n y , for X-axis direction and Y
It is not necessary to separate codebook 2 for the axial direction,
In that case, the pattern configuration is the same as that shown in FIG.

このようにコードブック2の予測誤差ベクトルパター
ンを決めると、これに対応して、メモリ1に蓄積される
入力動ベクトルの個数はX軸方向入力Vxがnx個、Y軸方
向入力Vyがnyに自動的に決まる。
When the prediction error vector pattern of the codebook 2 is determined in this way, correspondingly, the number of input motion vectors stored in the memory 1 is n x in the X-axis direction input V x and in the Y-axis direction input V y. Is automatically determined as n y .

第5図は第4図のコードブックの実施例に実際の数字
を当て嵌めた実施例を示したもので、この実施例では、
nx=ny=3とし、X軸方向のベクトルとY軸方向のベク
トルをメモリ1に3つ溜めてマッチングを行っている。
FIG. 5 shows an embodiment in which actual numbers are applied to the embodiment of the code book of FIG. 4, and in this embodiment,
With n x = n y = 3, three vectors in the X-axis direction and vectors in the Y-axis direction are stored in the memory 1 for matching.

また、第6図は入力動ベクトルと、これをメモリ1で
蓄積する場合の実施例(nx=ny=3)を示している。こ
の実施例では、対象とする3つの入力動ベクトル(斜線
で示す)をメモリ1にX軸方向及びY軸方向に分けて蓄
積する。但し、メモリ1には入力動ベクトルのまま蓄積
し、次の予測誤差発生器4で第6図のように並べ替えて
もよい。
FIG. 6 shows an input motion vector and an embodiment (n x = n y = 3) in which the input motion vector is stored in the memory 1. In this embodiment, three target input motion vectors (shown by diagonal lines) are separately stored in the memory 1 in the X-axis direction and the Y-axis direction. However, the input motion vector may be stored in the memory 1 as it is and rearranged by the next prediction error generator 4 as shown in FIG.

一方、予測器3には、1つ左のX軸方向のベクトル値
とY軸方向のベクトル値(予測値ベクトル値)が記憶さ
れている。これは、即ち既に伝送された動ベクトルの値
を予測動ベクトルとして予測器3記憶することによりメ
モリ1に蓄積した入力動ベクトルを予測し且つその予測
誤差を求めようとするものである。
On the other hand, the predictor 3 stores the vector value in the X-axis direction and the vector value in the Y-axis direction (prediction value vector value) that are one left. That is, the value of the already transmitted motion vector is stored in the predictor 3 as a predictive motion vector to predict the input motion vector stored in the memory 1 and to obtain the prediction error.

従って、予測誤差発生器4では、メモリ1からのベク
トル値から予測器3のベクトル値(−6,2)の予測誤差
を図示のように求めてマッチング判定回路5に送る。
Therefore, the prediction error generator 4 obtains the prediction error of the vector value (−6, 2) of the predictor 3 from the vector value from the memory 1 as shown in the figure and sends it to the matching determination circuit 5.

次に、マッチング判定回路5での判定動作の実施例
を、第7図に示したフローチャートを参照しながら説明
する。
Next, an embodiment of the judgment operation in the matching judgment circuit 5 will be described with reference to the flow chart shown in FIG.

まず、予測誤差発生器4からの予測誤差ベクトルをVI
(n)(nは次元数)、コードブック2の予測誤差ベク
トルパターンのコードをVO(n,m)(mはコードの数で
インデックス数)、判定するための変数をD、R、IDX
(インデックス)とする(第7図のステップS1)。
First, the prediction error vector from the prediction error generator 4 is V I
(N) (n is the number of dimensions), the code of the prediction error vector pattern of the codebook 2 is V O (n, m) (m is the number of codes and the index number), and variables for determination are D, R, and IDX.
(Index) (step S1 in FIG. 7).

初期値としてR=∞(但し、∞は累積値Dが取り得る
最大値を意味する)、J(カウント)=0、D=0、I
=0とする(同ステップS2)。そして、ステップS3でJ
を“1"づつインクリメントする。
As an initial value, R = ∞ (however, ∞ means the maximum value that the cumulative value D can take), J (count) = 0, D = 0, I
= 0 (step S2). Then, in step S3, J
Is incremented by "1".

ステップS4では、Iを“1"だけインクリメントすると
ともに、VI(I)とVO(I,J)との絶対値誤差(ABSで表
す)を求めて、これにDを加えた値を新たなDとして、
Jがnに達するまでステップS4及びS5を繰り返す。これ
により、第4図で言えば、インデックス「1」の予測誤
差ベクトルパターンの1〜nの各予測誤差ベクトル値に
ついて予測誤差ベクトルのX軸方向ベクトル(又はY軸
方向ベクトルでもよい)との誤差を累積する。
In step S4, I is incremented by "1" and the absolute value error (represented by ABS) between V I (I) and V O (I, J) is calculated, and the value obtained by adding D to this is added. As D
Repeat steps S4 and S5 until J reaches n. As a result, in FIG. 4, the error between the prediction error vector values 1 to n of the prediction error vector pattern of the index “1” and the X-axis direction vector (or Y-axis direction vector) of the prediction error vector Is accumulated.

インデックス「1」が終了すると、RとDを比較し
(同ステップS6)、DがRに達していないときには、R
=Dとして今回の累積値Dを前回の累積値Dにし且つID
X=Jとして(同ステップS7)、J=mになるまでステ
ップS3〜S8を繰り返す。これにより、m個分の予測誤差
ベクトルパターンの各々について誤差を累積するととと
もに、ステップS6とS7により、より小さなDを与えるID
Xが得られるために、最終的に最も小さな誤差(歪)を
与える予測誤差ベクトルパターンのインデックスが選択
されてエントロヒーコーダ10に送られることとなる。
When the index "1" ends, R and D are compared (step S6 in the same step), and if D has not reached R, R
= D and set the current cumulative value D to the previous cumulative value D and ID
With X = J (step S7), steps S3 to S8 are repeated until J = m. As a result, the error is accumulated for each of the m prediction error vector patterns, and at the same time, the ID that gives a smaller D in steps S6 and S7.
In order to obtain X, the index of the prediction error vector pattern that gives the smallest error (distortion) is finally selected and sent to the entropy coder 10.

尚、誤差を求めるステップS4においては、絶対値の代
わりに自乗誤差(VI(I)−VO(I,J))を用いても
同様である。
It should be noted that, in step S4 for obtaining the error, the square error (V I (I) −V O (I, J)) 2 may be used instead of the absolute value.

第8図(a)及び(b)は第3図において、nx=3,ny
=7の時のコードブックの一実施例を示したもので、第
9図はこれに対応した予測誤差誤差ベクトルの一実施例
を示している。
8 (a) and 8 (b) are the same as FIG. 3 except that n x = 3, ny
FIG. 9 shows an example of the codebook when = 7, and FIG. 9 shows an example of the corresponding prediction error vector.

このように、X軸方向とY軸方向の予測誤差ベクトル
パターンのベクトル数を変えているのは、TV会議におい
ては、縦方向より横方向の動きの方が通常大きいことに
起因している。尚、この場合には、図示のように入力動
ベクトルのX軸方向ベクトルは3つづつしか処理されず
入力待ちが生ずる場合がある(これを防ぐには、バッフ
ァを設けて7つ溜まるまで待つようにする)が、Y軸方
向ベクトルは7つ一緒に処理されるため、入力待ちは生
じない。
The reason why the number of prediction error vector patterns in the X-axis direction and the Y-axis direction is changed in this way is that the horizontal motion is usually larger than the vertical motion in the video conference. In this case, as shown in the figure, only three X-axis direction vectors of the input motion vector are processed, and waiting for input may occur (in order to prevent this, a buffer should be provided to wait until seven are accumulated). However, since seven Y-axis direction vectors are processed together, no input waiting occurs.

第10図は、上記と異なり、X軸方向とY軸方向とにコ
ードを別々に格納せず、両方向のコードを対にして一緒
に格納した実施例を示しており、この実施例では、予測
誤差ベクトルはZ軸方向ベクトル及びY軸方向ベクトル
共に同時に第7図の演算処理を行うこととなる。第11図
に実際の数値を当てはめた実施例を示す。
Unlike the above, FIG. 10 shows an embodiment in which the codes in the X-axis direction and the Y-axis direction are not separately stored but the codes in both directions are paired and stored together. In this embodiment, the prediction is performed. As for the error vector, both the Z-axis direction vector and the Y-axis direction vector are subjected to the arithmetic processing of FIG. 7 at the same time. FIG. 11 shows an embodiment in which actual numerical values are applied.

受信側では、上記と逆の動作を行って動ベクトルを再
生する。
On the receiving side, the reverse operation is performed to reproduce the motion vector.

即ち、伝送されて来たインデックスにより予測誤差ベ
クトルパターン(これは、送信側と同じコードブックが
受信側にも用意されている)を抽出し、この予測誤差ベ
クトルパターンの次元数(予測誤差ベクトルパターンの
ベクトル個数n)分だけ同じ予測誤差ベクトルを用いて
動き補償付き再生を行えばよいことになる。
That is, the prediction error vector pattern (this is the same codebook as the transmission side is prepared on the reception side) is extracted by the transmitted index, and the number of dimensions of this prediction error vector pattern (prediction error vector pattern It is sufficient to perform motion-compensated reproduction using the same prediction error vector as the number n) of vector.

従って、送信側からはマッチングされた動ベクトルパ
ターンのインデックスのみを受信側に送ればよい。
Therefore, only the index of the matched motion vector pattern needs to be sent from the transmitting side to the receiving side.

〔発明の効果〕〔The invention's effect〕

以上のように、本発明に係る動き補償動ベクトルの符
号化方式によれば、予測誤差のベクトルパターンを複数
個用意し、所定数の入力動ベクトルと予測動ベクトルと
の予測誤差が用意された予測誤差ベクトルパターンに対
して誤差が最小になるものを選択してインデックスのみ
を伝送するように構成したので、所定数の入力動ベクト
ルについては1つのパターンで代表させることができ、
多少の歪は生じるものの情報量が少なく極めて効率の良
い符号化伝送を実現することができる。
As described above, according to the motion compensation motion vector coding method of the present invention, a plurality of prediction error vector patterns are prepared, and a prediction error between a predetermined number of input motion vectors and prediction motion vectors is prepared. Since the one having the smallest error with respect to the prediction error vector pattern is selected and only the index is transmitted, a predetermined number of input motion vectors can be represented by one pattern.
Although there is some distortion, the amount of information is small and extremely efficient coded transmission can be realized.

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

第1図は本発明に係る動き補償動ベクトルの符号化方式
の原理ブロック図、 第2図は本発明に係る動き補償動ベクトルの符号化方式
を組み込んだ動き補償付き符号化方式の一実施例を示す
ブロック図、 第3図及至第5図はそれぞれ本発明に用いるコードブッ
クの実施例を示す図、 第6図は入力動ベクトルの処理の一実施例を示す図、 第7図はマッチング判定回路の演算動作を説明するため
のフローチャート図、 第8図は本発明に用いるコードブックの実施例を示す
図、 第9図は入力動ベクトルの処理の一実施例を示す図、 第10図は本発明に用いるコードブックの実施例を示す
図、 第11図は第10図の実施例のコードブックの場合の処理の
一実施例を示す図、 第12図は従来から知られた動き補償符号化方式の一例を
示すブロック図、 第13図は動き補償の原理を説明するための図、 第14図は従来の動ベクトルを符号化するエントロピーコ
ーダを示す図、である。 第1図において、 1……第1のメモリ、 2……コードブック、 3……第2のメモリ、 4……予測誤差発生器、 5……マッチング判定回路、 6……復号化器、 10……エントロピーコーダ。 尚、図中、同一符号は同一又は相当部分を示す。
FIG. 1 is a block diagram showing the principle of a motion compensation motion vector coding system according to the present invention, and FIG. 2 is an embodiment of a motion compensation coding system incorporating the motion compensation motion vector coding system according to the present invention. FIG. 3 is a block diagram showing an example of a codebook used in the present invention, FIG. 6 is a diagram showing an example of processing of an input motion vector, and FIG. 7 is a matching judgment. FIG. 8 is a flow chart for explaining the arithmetic operation of the circuit, FIG. 8 is a diagram showing an embodiment of a codebook used in the present invention, FIG. 9 is a diagram showing an embodiment of processing of an input motion vector, and FIG. FIG. 11 is a diagram showing an embodiment of a codebook used in the present invention, FIG. 11 is a diagram showing an embodiment of processing in the case of the codebook of the embodiment of FIG. 10, and FIG. 12 is a conventionally known motion compensation code. Fig. 13 is a block diagram showing an example of the conversion method. Diagram for explaining the principle of the feeder compensation, FIG. 14 is a diagram, showing an entropy coder for coding the conventional motion vector. In FIG. 1, 1 ... First memory, 2 ... Codebook, 3 ... Second memory, 4 ... Prediction error generator, 5 ... Matching determination circuit, 6 ... Decoder, 10 …… Entropy coder. In the drawings, the same reference numerals indicate the same or corresponding parts.

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】検出された入力画面の入力動ベクトルをエ
ントロピーコーダ(10)で可変長符号化して伝送する動
き補償動ベクトルの符号化方式において、 該入力動ベクトルを所定複数個づつ蓄積するメモリ
(1)と、 予め求めた複数個の予測誤差ベクトルパターンを格納し
ているコードブック(2)と、 予測動ベクトルを発生する予測器(3)と、 該入力動ベクトルと予測動ベクトルから予測誤差ベクト
ルの組を発生する予測誤差発生器(4)と、 該予測誤差ベクトル組と該予測誤差ベクトルパターンと
を比較して誤差が最小となる予測誤差ベクトルパターン
を選択しそのインデックスを該エントロピーコーダ(1
0)に送るマッチング判定回路(5)と、 を備え、該予測器(3)が、該マッチング判定回路
(5)から出力されるインデックスを複合化器(6)で
複合化した予測誤差パターンと前の予測動ベクトルから
該予測動ベクトルを発生することを特徴とした動き補償
動ベクトルの符号化方式。
1. A motion compensating motion vector coding system for variable-length coding and transmitting a detected input motion vector of an input screen by an entropy coder (10), and a memory for accumulating a predetermined plurality of the input motion vectors. (1), a codebook (2) that stores a plurality of prediction error vector patterns obtained in advance, a predictor (3) that generates a prediction motion vector, and a prediction from the input motion vector and the prediction motion vector A prediction error generator (4) that generates a set of error vectors is compared with the prediction error vector set and the prediction error vector pattern to select a prediction error vector pattern having the smallest error, and its index is set to the entropy coder. (1
And a prediction error pattern in which the predictor (3) composites the index output from the matching judgment circuit (5) by the compositer (6). A motion compensation motion vector coding method characterized in that the motion vector predictor is generated from the previous motion vector predictor.
【請求項2】前記コードブック(2)は、X軸方向とY
軸方向に分けて前記予測誤差ベクトルパターンを格納し
ており、前記マッチング判定回路(5)は、前記入力動
ベクトルのX軸方向における値の組とY軸方向における
値の組とに分けて該予測誤差ベクトルパターンと比較を
行うものである特許請求の範囲第1項に記載の動き補償
動ベクトルの符号化方式。
2. The code book (2) has a Y-axis direction and a Y-axis direction.
The prediction error vector pattern is stored separately in the axial direction, and the matching determination circuit (5) divides the input motion vector into a set of values in the X-axis direction and a set of values in the Y-axis direction. The motion compensation motion vector encoding method according to claim 1, which is used for comparison with a prediction error vector pattern.
【請求項3】前記X軸方向とY軸方向に分けた予測誤差
ベクトルパターンの各値の個数が異なっている特許請求
の範囲第2項に記載の動き補償動ベクトルの符号化方
式。
3. A motion compensation motion vector coding method according to claim 2, wherein the number of respective values of the prediction error vector pattern divided into the X-axis direction and the Y-axis direction is different.
【請求項4】前記コードブック(2)は、X軸方向とY
軸方向に分けた前記予測誤差ベクトルパターンを対で格
納しており、前記マッチング判定回路(5)は、前記入
力動ベクトルのX軸方向における値とY軸方向における
値とを対として該予測誤差ベクトルパターンと比較を行
うものである特許請求の範囲第2項に記載の動き補償動
ベクトルの符号化方式。
4. The code book (2) has a Y-axis direction and a Y-axis direction.
The prediction error vector patterns divided in the axial direction are stored as a pair, and the matching determination circuit (5) forms a pair of a value in the X-axis direction and a value in the Y-axis direction of the input motion vector as a pair. The motion compensation motion vector encoding method according to claim 2, which is used for comparison with a vector pattern.
【請求項5】前記コードブック(2)は、X軸方向とY
軸方向に共通の前記予測誤差ベクトルパターンを格納し
ており、前記マッチング判定回路(5)は、前記入力動
ベクトルのX軸方向における値の組とY軸方向における
値の組とに分けて該予測誤差ベクトルパターンと比較を
行うものである特許請求の範囲第2項に記載の動き補償
動ベクトルの符号化方式。
5. The codebook (2) has a Y-axis direction and a Y-axis direction.
The prediction error vector pattern common to the axial direction is stored, and the matching determination circuit (5) divides the input motion vector into a set of values in the X-axis direction and a set of values in the Y-axis direction. The motion compensation motion vector encoding method according to claim 2, which is used for comparison with a prediction error vector pattern.
JP23183487A 1987-09-16 1987-09-16 Motion compensation motion vector coding method Expired - Fee Related JP2537243B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23183487A JP2537243B2 (en) 1987-09-16 1987-09-16 Motion compensation motion vector coding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23183487A JP2537243B2 (en) 1987-09-16 1987-09-16 Motion compensation motion vector coding method

Publications (2)

Publication Number Publication Date
JPS6473988A JPS6473988A (en) 1989-03-20
JP2537243B2 true JP2537243B2 (en) 1996-09-25

Family

ID=16929743

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23183487A Expired - Fee Related JP2537243B2 (en) 1987-09-16 1987-09-16 Motion compensation motion vector coding method

Country Status (1)

Country Link
JP (1) JP2537243B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07177502A (en) * 1993-12-17 1995-07-14 Sutajio Gen:Kk Method for compressing picture information, compressed picture information recording medium, and compressed picture information reproducing device

Also Published As

Publication number Publication date
JPS6473988A (en) 1989-03-20

Similar Documents

Publication Publication Date Title
CA2128793C (en) Transcoding device with information signal transmission
US4179710A (en) Predictive encoder with a non-linear quantizing characteristic
EP1365595A2 (en) Apparatus and method for motion-compensated predictive coding
JPH05227038A (en) Motion compensation prediction method
WO1989002206A1 (en) Signal coding
EP1158806A1 (en) Motion vector coding
US5729690A (en) Variable length encoding method and apparatus for differential motion vector values using an improved differential motion code table
JP4034935B2 (en) Motion estimation method and apparatus employing subsampling technique
JP2537243B2 (en) Motion compensation motion vector coding method
JP2537242B2 (en) Motion compensation motion vector coding method
JP7121584B2 (en) Image encoding device and its control method and program
AU606816B2 (en) Method for encoding/transmitting images
JP2537244B2 (en) Motion compensation motion vector coding method
JPH0410788A (en) Method for controlling coding variable of image signal
JP2012519988A (en) Method for predicting block of image data, decoding and encoding device for realizing the method
JPS6326951B2 (en)
JPH0771292B2 (en) Image adaptive quantization coding method
JP2861380B2 (en) Image signal encoding apparatus and method, image signal decoding apparatus and method
JP3948442B2 (en) Motion compensation decoding apparatus
JP2777171B2 (en) Video motion compensation method
JPH05227513A (en) Video signal transmitter
JP2712298B2 (en) High-efficiency code decoding device
KR0148226B1 (en) Quantization level encoding method and apparatus
JPH0683444B2 (en) Image coding method
JP2570788B2 (en) Decoding device for high efficiency coding of television signals

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees