JPH02226985A - Vector coding and decoding device - Google Patents
Vector coding and decoding deviceInfo
- Publication number
- JPH02226985A JPH02226985A JP1047884A JP4788489A JPH02226985A JP H02226985 A JPH02226985 A JP H02226985A JP 1047884 A JP1047884 A JP 1047884A JP 4788489 A JP4788489 A JP 4788489A JP H02226985 A JPH02226985 A JP H02226985A
- Authority
- JP
- Japan
- Prior art keywords
- vector
- vectors
- code
- motion vector
- encoding
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
- H04N19/51—Motion estimation or motion compensation
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は、ベクトルの符号化、復号化にかかるものであ
り、特に、ディジタル動画像の圧縮伸張の際に用いられ
るフレーム間符号化における動き補償に用いられる動き
ベクトルに好適なベクトル符号化復号化装置に関するも
のである。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to vector encoding and decoding, and in particular to motion encoding and decoding in interframe encoding used in compression and expansion of digital moving images. The present invention relates to a vector encoding/decoding device suitable for motion vectors used for compensation.
[従来の技術1
ディジタル動画像の高能率符号化の手法として、動き補
償フレーム間予測符号化がある。この手法では、画素単
位もしくは複数画素により構成されるブロック単位で、
フレーム間での画像の動き、すなわち動きベクトルの検
出が行なわれる。[Prior Art 1] Motion compensated interframe predictive coding is a method for highly efficient coding of digital video images. In this method, in units of pixels or blocks composed of multiple pixels,
The motion of the image between frames, that is, the motion vector is detected.
そして、この動きベクトルを用いて1フレーム前の復号
画像の画素から新しく画像が合成され、現フレームと合
成画像の差および動きベクトルの符号化が行なわれる。Then, using this motion vector, a new image is synthesized from the pixels of the decoded image one frame before, and the difference between the current frame and the synthesized image and the motion vector are encoded.
また、復号化の操作においては、符号化された差分およ
び動きベクトルの復号が行なわれるとともに、前)Iノ
ームの復号画像を用いて現フレームの復号が行なわれる
。Further, in the decoding operation, the encoded difference and motion vector are decoded, and the current frame is decoded using the decoded image of the previous I norm.
ところで、上述した動きベクトルの符号化復号化は、従
来、動きベクトルに対する差分ベクトルを不等長符号化
復号化するか、規定ベクトルとの差分ベクトルを不等長
符号化1号化することによって行なわれていた。By the way, the above-mentioned encoding and decoding of motion vectors has conventionally been performed by unequal-length encoding and decoding of the difference vector with respect to the motion vector, or by unequal-length encoding and decoding of the difference vector with respect to a specified vector. It was.
例えば、特開昭57−199379号公報には、小さな
ベクトルに対しては短い符号を与え、大きなベクトルに
対しては長い符号を与えるようにしたベクトル符号化装
置が開示されている。For example, Japanese Patent Application Laid-Open No. 57-199379 discloses a vector encoding device that gives short codes to small vectors and long codes to large vectors.
[発明が解決しようとする課題]
しかしながら、差分ベクトルに対して符号の割り当てを
行なうと、特に背景のように一定の動きベクトルが群を
なしている場合でも各ベクトルに対し最低1ビツトの符
号が必要とされるため、圧縮効率を向上させることがで
きないという間趙点が生ずる。[Problems to be Solved by the Invention] However, when assigning codes to differential vectors, it is difficult to assign at least a 1-bit code to each vector, especially when fixed motion vectors form a group, such as in the background. A shortcoming occurs during which the compression efficiency cannot be improved.
また、複数の手段によって得られたベクトルの符号化は
、単に差分の符号化のみでは実現することはできない。Furthermore, the encoding of vectors obtained by a plurality of means cannot be realized simply by encoding the difference.
更に、水平方向もしくは垂直方向に対しての差分な用い
ているため、伝送路における誤りの伝搬の影響が大きい
という不都合もある。Furthermore, since the method is used differentially in the horizontal or vertical direction, there is also the disadvantage that the influence of error propagation on the transmission path is large.
本発明は2かかる点に鑑みてなされたもので、その目的
は、符号化の圧縮効率の向上を図ることである。The present invention has been made in view of the above two points, and its purpose is to improve the compression efficiency of encoding.
他の目的は、複数の手段によって得られたベクトルの符
号化復号化を良好に行なうことである。Another object is to perform well the encoding and decoding of vectors obtained by multiple means.
更に他の目的は、伝送路における誤りの伝搬の程度の低
減を図ることである。Yet another objective is to reduce the degree of error propagation in the transmission path.
[課題を解決するための手段1
本発明の主要な一つは、複数個のベクトルを不等長符号
化するベクトル符号化装置において、前2複数個のベク
トルを所定数のブロックに分割するブロック分割手段と
1分割されたブロックに含まれるベクトルの同一性を判
定するベクトル判定手段と、これによりすべてのベクト
ルが同一であると判定されたときには、その旨を表わす
符号とそのベクトルを表わす符号とを割り当て、同一で
ないと判定されたときには、その旨を表わす符号を割り
当てるとともに前記ブロック分割手段に分割指令を行な
い、前記ブロック分割手段による分割が終了したときに
は、最終ブロック内の異なるベクトル毎に符号を割り当
てる符号化手段とを備えたことを特徴とするものである
。[Means for Solving the Problems 1] One of the main aspects of the present invention is that in a vector encoding device that encodes a plurality of vectors with unequal length, a block that divides a plurality of vectors into a predetermined number of blocks is provided. a dividing means, a vector determining means for determining the identity of vectors included in one divided block, and when it is determined that all the vectors are the same, a code representing that fact and a code representing the vector; If it is determined that they are not the same, a code indicating this is assigned and a division command is issued to the block division means, and when the division by the block division means is completed, a code is assigned to each different vector in the final block. The present invention is characterized by comprising an encoding means for allocating the information.
[作用]
本発明によれば、符号化の対象となる複数個のベクトル
が同一か否かが判定される。その結果、同一と判定され
たときには、その旨とそのベクトルとが符号化される。[Operation] According to the present invention, it is determined whether a plurality of vectors to be encoded are the same. As a result, when it is determined that they are the same, that fact and the vector are encoded.
同一でないと判定されたときは、その旨が符号化される
とともに、複数個のベクトルが適当なブロックに分割さ
れる。If it is determined that they are not the same, that fact is encoded and the plurality of vectors are divided into appropriate blocks.
そして、各ブロック毎に、上述した操作が行なわれ、ベ
クトルが同一でないと判定されたときは、再びブロック
の分割が行なわれる。Then, the above-described operation is performed for each block, and when it is determined that the vectors are not the same, the blocks are divided again.
これらの動作が繰り返されて最終ブロックとなると、そ
のブロック内のベクトル毎に符号化が行なわれる。When these operations are repeated to reach the final block, encoding is performed for each vector within that block.
[実施例]
以下2本発明の一実施例について、添付図面を参照しな
がら説明する。[Example] Two examples of the present invention will be described below with reference to the accompanying drawings.
く符号化の手法〉
本実施例では、第2図に示すように、5フレ一ム単位の
符号化セグメントSG毎に符号化が行なわれる。そして
、この符号化セグメントSGの先頭フレームS旧二つい
てはフレーム内符号化が行なわれ、残り4フレームにつ
いては動き補償71ノ一ム間符号化が行なわれる。Coding Method> In this embodiment, as shown in FIG. 2, coding is performed for each coding segment SG in units of five frames. Intra-frame encoding is performed on the first and second leading frames S of this encoded segment SG, and inter-frame encoding with motion compensation 71 is performed on the remaining four frames.
この場合において、符号化セグメントSG内の先頭フレ
ームSHと、次の符号化セグメントSGの先頭フレーム
SHとの間のセグメント間動きベクトルMV5が求めら
れる。そして、動き補償が行なわれる際には、フレーム
間動きベクトル−Vi (i=0〜3)とセグメント間
動きベクトルMV5とより推定される動きベクトルから
適応的に選択された動きベクトルが用いられる。In this case, an inter-segment motion vector MV5 between the first frame SH in the encoded segment SG and the first frame SH of the next encoded segment SG is determined. When motion compensation is performed, a motion vector adaptively selected from the motion vectors estimated from the interframe motion vector -Vi (i=0 to 3) and the intersegment motion vector MV5 is used.
〈実施例の構成〉
第1図には、このような実施例のブロック構成が示され
ている。同図において、ディジタル化信号が入力される
セレクタ10の出力側には、フレームメモリ12〜22
の入力端が各々接続されている。これらの71ノームメ
モリ12〜22の出力側は、いずれもセレクタ24の入
力側に接続されている。<Configuration of Embodiment> FIG. 1 shows a block configuration of such an embodiment. In the figure, frame memories 12 to 22 are connected to the output side of the selector 10 to which the digitized signal is input.
The input terminals of are connected to each other. The output sides of these 71 norm memories 12 to 22 are all connected to the input side of the selector 24.
次に、セレクタ24の出力側は、セグメント間動きベク
トル検出回路26.フレーム間動きベクトル検出回路2
8.動き補償回路30.フレーム内符号化回路32の入
力側に各々接続されている。セグメント間動きベクトル
検出回路26の出力側は、セグメント間動きベクトル符
号化回路34、動きベクトル選択回路36の入力側に各
々接続されており、フレーム間動きベクトル検出回路2
8の出力側も、動きベクトル検出回路36の入力側に接
続されている。Next, the output side of the selector 24 is connected to an inter-segment motion vector detection circuit 26 . Interframe motion vector detection circuit 2
8. Motion compensation circuit 30. They are each connected to the input side of the intraframe encoding circuit 32. The output side of the inter-segment motion vector detection circuit 26 is connected to the input sides of the inter-segment motion vector encoding circuit 34 and the motion vector selection circuit 36, respectively, and the inter-frame motion vector detection circuit 2
The output side of 8 is also connected to the input side of the motion vector detection circuit 36.
次に、動きベクトル選択回路36の一方の出力側は動き
ベクトル符号化回路38の入力側に接続されており、他
方の出力側は動き補償回路30の入力側に接続されてい
る。また、上述したフレーム内符号化回路32の一方の
出力側は、フレーム内復号化回路40の入力側に接続さ
れており、フレーム内復号化回路40の出力側は、動き
補償回路30の入力側に接続されている。Next, one output side of the motion vector selection circuit 36 is connected to the input side of the motion vector encoding circuit 38, and the other output side is connected to the input side of the motion compensation circuit 30. Further, one output side of the intraframe encoding circuit 32 described above is connected to the input side of the intraframe decoding circuit 40, and the output side of the intraframe decoding circuit 40 is connected to the input side of the motion compensation circuit 30. It is connected to the.
この動き補償回路30の出力側は、差分符号化回路42
の入力側°に接続されており、この差分符号化回路42
の出力側は、一方においてフレーム間復号化回路44の
入力側に各々接続されている。このフレーム間復号化回
路44の出力側は、動き補償回路30の入力側に接続さ
れている。The output side of this motion compensation circuit 30 is connected to a differential encoding circuit 42.
This differential encoding circuit 42 is connected to the input side of
The output sides of are each connected on the one hand to the input side of an interframe decoding circuit 44. The output side of this interframe decoding circuit 44 is connected to the input side of the motion compensation circuit 30.
更に、セグメント間動きベクトル符号化回路34、動き
ベクトル符号化回路38.差分符号化回路42.フレー
ム内符号化回路32の各出力側は、いずれもバッファ4
6の入力端に各々接続されている。Further, an inter-segment motion vector encoding circuit 34, a motion vector encoding circuit 38. Differential encoding circuit 42. Each output side of the intraframe encoding circuit 32 is connected to a buffer 4.
6 input terminals, respectively.
〈実施例の動作〉
次に、以上のように構成された実施例の概略の動作につ
いて説明するゆ最初に、ディジタル化された入力画像Q
は、セレクタ10によって、フレームメモリ12〜22
に順に供給され格納される。<Operation of the Embodiment> Next, we will explain the general operation of the embodiment configured as described above.
are selected by the selector 10 from the frame memories 12 to 22.
are supplied and stored in order.
次に、セレクタ24により、符号化セグメントSGの先
頭フレームSHと次の符号化セグメントSGの先頭フレ
ームSHとがフレームメモリ12〜22から読み出され
、セグメント間動きベクトル検出回路26に入力される
。そして、ここで、セグメント間動きベクトルMVSが
検出され、更に、セグメント間動きベクトル符号化回路
34によってその符号化が行なわれる。Next, the selector 24 reads out the first frame SH of the encoded segment SG and the first frame SH of the next encoded segment SG from the frame memories 12 to 22, and inputs them to the inter-segment motion vector detection circuit 26. Here, the inter-segment motion vector MVS is detected and further encoded by the inter-segment motion vector encoding circuit 34.
他方、先頭フレームSHは、フレーム内符号化回路32
によって符号化が行なわれ、更に、これに基づいてフレ
ーム内復号化回路40により符号化された画像の復号化
が行なわれる。この復号画像は、次のフレームに対する
動き補償フレーム間符号化に用いられるため、動き補償
回路30に出力される。そして、これによる動き補償後
の差分は、差分符号化回路42によって符号化される。On the other hand, the first frame SH is processed by the intraframe encoding circuit 32
Based on this, the intra-frame decoding circuit 40 decodes the encoded image. This decoded image is output to the motion compensation circuit 30 because it is used for motion compensated interframe coding for the next frame. The resulting difference after motion compensation is encoded by the differential encoding circuit 42.
更に、符号化セグメントSGの第2フレーム以降のフレ
ームについては、順次セレクタ24によってフレームメ
モリ14〜22から読み出され、フレーム間動きベクト
ル検出回路28に入力される。そして、ここで、前フレ
ームの復号画像を用いてフレーム間動きベクトル−vl
の検出が行なわれる。検出されたフレーム間動きベクト
ルMViは、セグメント間動きベクトルMV5とともに
動きベクトル選択回路36に入力され、ここで動きベク
トルMVの選択が適応的に行なわれる。Furthermore, the second and subsequent frames of the encoded segment SG are sequentially read out from the frame memories 14 to 22 by the selector 24 and input to the interframe motion vector detection circuit 28. Then, using the decoded image of the previous frame, the interframe motion vector −vl
Detection is performed. The detected inter-frame motion vector MVi is input to the motion vector selection circuit 36 together with the inter-segment motion vector MV5, where the motion vector MV is adaptively selected.
選択された動きベクトルMVは、動きベクトル符号化回
路38に入力され、ここでその符号化が行なわれる。そ
して、この動きベクトル符号化回路38の出力と、差分
符号化回路42の出力とによって、フレーム間復号化回
路44によりフレーム間復号化が行なわれ、復号画像は
動き補償回路30に入力される。The selected motion vector MV is input to the motion vector encoding circuit 38, where it is encoded. The interframe decoding circuit 44 performs interframe decoding using the output of the motion vector encoding circuit 38 and the output of the differential encoding circuit 42, and the decoded image is input to the motion compensation circuit 30.
更に、この動き補償回路30には、動きベクトルMVも
入力されており、この動きベクトル貼と前フレームの復
号画像とを用いて、動き補償が行なわれる。Further, a motion vector MV is also input to the motion compensation circuit 30, and motion compensation is performed using this motion vector paste and the decoded image of the previous frame.
次に、セグメント間動きベクトル符号化回路34、動き
ベクトル符号化回路38.差分符号化回路42.フレー
ム内符号化回路32の各出力符号は、バッファ46に各
々入力されて格納される。そして、ここで速度調整が行
なわれた後、伝送路(図示せず)に各符号の出力が行な
われる。Next, an inter-segment motion vector encoding circuit 34, a motion vector encoding circuit 38. Differential encoding circuit 42. Each output code of the intraframe encoding circuit 32 is input to a buffer 46 and stored therein. After speed adjustment is performed here, each code is output to a transmission path (not shown).
くセグメント間動きベクトルの符号化〉次に、符号化回
路34によるセグメント間動きベクトル−v5の符号化
について、第3図〜第7図を参照しながら説明する0人
力画像Qの各画素ブロック毎に求められたセグメント間
動きベクトルMV5は、第3図に示すように、8X8ベ
クトルを単位とするマクロブロックBi、jに分割され
る。Encoding of inter-segment motion vector> Next, the encoding of the inter-segment motion vector -v5 by the encoding circuit 34 will be explained with reference to FIGS. 3 to 7. As shown in FIG. 3, the inter-segment motion vector MV5 determined in 1 is divided into macroblocks Bi, j each having an 8×8 vector as a unit.
セグメント間動きベクトル貼5の符号は、まず、第5図
fAl に示すようになる。すなわち、マクロブロック
Bi、j内のベクトルがすべて同じであれば、それを示
す1ビツトの先頭の識別ビットと、そのベク]・ルを不
等長符号として得られる符号ビットとによって、符号が
構成される。First, the codes of the inter-segment motion vector pasting 5 are as shown in FIG. 5 fAl. In other words, if all the vectors in macroblocks Bi, j are the same, the code is composed of a 1-bit leading identification bit indicating this, and a code bit obtained from the vector as an unequal length code. be done.
次に、マクロブロックBi、j内のベクトルがすべて同
じでない場合、第5図fA+は識別ビットのみとなり、
マクロブロックBi、jは8×4ベクトルのマクロブロ
ックBi、]k/2) (k=1.2) 2個に分割さ
れる(第4図IA)iB) 1町、そして、各分割マク
ロブロックBL、j(k/2)毎に生成される識別ピッ
1〜および符号ビットは、第5図f8)に示すように、
先に生成された同図fAlの符号の後部に付加結合され
る0分割された各マクロブロックBi、j (k/21
に対する各符号ビットに対し、同様に識別ビットが1ビ
ツトづつ設けられ、残りの符号ビットを各マクロブロッ
クBijfk/21のベクトルに対し符号化割り当てを
行なう。Next, if the vectors in the macroblock Bi,j are not all the same, fA+ in FIG. 5 is only the identification bit,
The macroblock Bi, j is an 8×4 vector macroblock Bi, ]k/2) (k=1.2) divided into two (FIG. 4 IA) iB) 1 town, and each divided macroblock The identification bits 1 to 1 and the code bits generated every BL, j (k/2) are as shown in Fig. 5 f8).
Each 0-divided macroblock Bi,j (k/21
Similarly, one identification bit is provided for each code bit for the macroblock Bijfk/21, and the remaining code bits are assigned for coding to the vector of each macroblock Bijfk/21.
以上の処理が繰り返し行なわれ、マクロブロックBi、
j ik/2)は、第4図fG+ 、 (Dlに示す
ようにマクロブロックBi、j、k(β/2) 1I2
=1.2+、Bi、j、k。The above processing is repeated, and the macroblock Bi,
j ik/2) is the macroblock Bi, j, k(β/2) 1I2 as shown in Fig. 4 fG+, (Dl)
=1.2+, Bi, j, k.
β(m/2) fmlll、21に分割され、他方、各
分割マクロブロック毎に生成される識別ビットおよび符
号ビットは、第5図fc1.103に各々示すように、
先に生成された同図!B+ 、 (C1の符号の後部に
各々付加結合さhる。このようなマクロブロックの分割
符号化によって、8×8ベクトルのブロックの符号化が
行なわれる。β(m/2) fmlll, 21, and on the other hand, the identification bit and code bit generated for each divided macroblock are as shown in Fig. 5 fc1.103, respectively.
The same diagram that was generated earlier! B+ and (h) are each additionally connected to the rear of the code of C1. By such divisional encoding of the macroblock, encoding of an 8×8 vector block is performed.
なお、マクロブロックBijの分割を規定の大きさで止
め、第9図に示す方向に従ってベクトルの差分なとり、
差分ベクトルの不等長符号化を行なうことも可能である
。この場合には、第3図のマクロブロック61.1を分
割して生成されるマクロブロックのうち、画像の左上の
マクロブロックは零ベクトルを初期値とし、画像の左端
のマクロブロックは1ブロツク上のベクトルを初期値と
し、それ以外のマクロブロックは、lブロック左のベク
トルを初期値とする。In addition, the division of the macroblock Bij is stopped at a specified size, and the vector difference is calculated according to the direction shown in FIG.
It is also possible to perform unequal length encoding of the difference vector. In this case, among the macroblocks generated by dividing the macroblock 61.1 in FIG. The vector on the left of l block is used as the initial value for other macroblocks.
次に5第3図〜第5図に示したマクロブロックの分割符
号化の例について、第6図および第7図を参照しながら
説明する。第6図(A)には、8x8ベクトルのブロッ
ク内のすべてのベクトルがVOである場合が示されてい
る。ブロック内のベクトルがすべて同じである場合の識
別ビットをrOJとし、ベクトルViの不等長符号をC
Viとすると、セグメント間動きベクトルMV5の符号
全体は同図fB)に示すようになる。Next, an example of macroblock division coding shown in FIGS. 3 to 5 will be described with reference to FIGS. 6 and 7. FIG. 6A shows a case where all vectors in a block of 8x8 vectors are VO. Let rOJ be the identification bit when all vectors in a block are the same, and let C be the unequal length code of vector Vi.
Assuming Vi, the entire code of the inter-segment motion vector MV5 is as shown in fB) in the same figure.
次に、8×8ベクトルのマクロブロック内のベクトルが
、第7図TAIに示すような分布である場合のセグメン
ト間動きベクトルMV5の符号は、同図(B)に示すよ
うになる。また、マクロブロックの分割の繰り返しによ
り生成される識別ビットの二進本構造は、第8図に示す
ようになる。Next, the sign of the inter-segment motion vector MV5 when the vectors in the 8×8 macroblock have a distribution as shown in TAI in FIG. 7 is as shown in FIG. 7(B). Further, the binary structure of the identification bits generated by repeating the division of the macroblock is as shown in FIG.
く動きベクトルの符号化〉
次に、動きベクトル符号化回路38の動作について説明
する。セグメント間動きベクトル1JV5に基づく推定
ベクトルが動きベクトル選択回路36によって選択され
た場合には、動きベクトル符号化回路38において1個
の符号が割り当てられる。そして、上述したセグメント
間動きベクトルMV5の符号化(第3図〜第7図参照)
と同様に、ブロックの階層的なマクロブロックへの結合
を行なって、動きベクトル−■の符号化が行なわれる。Motion Vector Encoding> Next, the operation of the motion vector encoding circuit 38 will be described. When the motion vector selection circuit 36 selects an estimated vector based on the inter-segment motion vector 1JV5, one code is assigned in the motion vector encoding circuit 38. Then, the above-mentioned inter-segment motion vector MV5 is encoded (see FIGS. 3 to 7).
Similarly, blocks are hierarchically combined into macroblocks, and the motion vector -■ is encoded.
ただし、マクロブロックの分割を規定の大きさのブロッ
クにて止める場合であって、マクロブロック中に推定ベ
クトルが含まれている場合の処理は、以下に示すように
なる。まず、第10図(A)゛に示すように5aクベク
トルMVAf推定ベクトルを含む)と今回の推定ベクト
ル−VBとの差分ベクトル−■ΔABには、推定ベクト
ル−VBの符号が割り当てられる。However, in the case where the division of the macroblock is stopped at blocks of a specified size and the estimated vector is included in the macroblock, the processing is as shown below. First, as shown in FIG. 10(A), the sign of the estimated vector -VB is assigned to the difference vector -■ΔAB between the vector 5a (including the estimated vector MVAf) and the current estimated vector -VB.
また、同図fB)に示すように、前ベクトルと今回のベ
クトル(推定ベクトルは除く)の差分ベクトルについて
は、次のように符号化を行なう、まず、ベクトルbOの
前ベクトルが推定ベクトルである場合は、ベクトルbl
と前ベクトルとの差分ベクトルが符号化される。ベクト
ル5口、blともに推定ベクトルである場合、ベクトル
b2が符号化される。ベクトルbO9b1. b2とも
に推定ベクトルである場合、零ベクトルとの差分が符号
化される。Also, as shown in fB) in the same figure, the difference vector between the previous vector and the current vector (excluding the estimated vector) is encoded as follows. First, the previous vector of vector bO is the estimated vector. If the vector bl
The difference vector between the vector and the previous vector is encoded. If vector 5 and bl are both estimated vectors, vector b2 is encoded. Vector bO9b1. If both b2 are estimated vectors, the difference from the zero vector is encoded.
〈符号系の具体例〉
次に、第11図を参照しながら、上述したベクトルのマ
クロブロックへの階層的な統合を行なう符号系の具体例
について説明する。<Specific Example of Code System> Next, with reference to FIG. 11, a specific example of a code system that performs the hierarchical integration of the above-mentioned vectors into macroblocks will be described.
同図において、ベクトルメモリ50の出力側は、一方に
おいてベクトルレジスタVRa ta=5.4.3゜2
.1.01の出力側とともにアドレス発生回路52の入
力側に接続されており、他方の出力側は比較回路CP5
の入力端に接続されている。In the figure, the output side of the vector memory 50 is on the one hand a vector register VRata=5.4.3°2
.. 1.01 is connected to the input side of the address generation circuit 52, and the other output side is connected to the comparator circuit CP5.
is connected to the input end of the
比較回路CPbfb=5.4.3.2.1.01の出力
側は、ベクトルレジスタVRaおよびフラグレジスタF
Rc (c=5゜4.3.2.1.Olの入力側に各々
接続されており、フラグレジスタFRcの出力側は、い
ずれもアドレス発生回路52の入力端に接続されている
。また、ベクトルレジスタVRaia=5.4,3,2
,1)の他方の出力側は、比較回路CPb(b=4.3
.2.1.01の入力側に接続されている。The output side of the comparison circuit CPbfb=5.4.3.2.1.01 is a vector register VRa and a flag register F.
Rc (c=5°4.3.2.1.Ol), and the output sides of the flag register FRc are both connected to the input end of the address generation circuit 52. Vector register VRaia=5.4,3,2
, 1) is connected to the comparator circuit CPb (b=4.3
.. 2.1.01 is connected to the input side.
アドレス発生回路52の他の入力側には、フラグ判定回
路54の一方の出力側が接続されており、アドレス発生
回路52の出力側は、比較回路CPb(b−5,4,3
,2,1,0)、フラグ判定回路54、および不等長符
号化回路56の入力端に各々接続されている。そして、
フラグ?!+1定回路54.不等長符号化回路56の出
力側は、いずれもバッファ58の入力側に接続されてい
る。One output side of the flag determination circuit 54 is connected to the other input side of the address generation circuit 52, and the output side of the address generation circuit 52 is connected to the comparison circuit CPb (b-5, 4, 3).
, 2, 1, 0), are connected to the input terminals of the flag determination circuit 54 and the unequal length encoding circuit 56, respectively. and,
flag? ! +1 constant circuit 54. The output sides of the unequal length encoding circuit 56 are both connected to the input side of a buffer 58.
次に、以上のような符号系の動作について、上述した第
7図fA)の場合を例として説明する。まず、比較回路
CP5によって、アドレス発生回路52から入力された
アドレスを用いてベクトルメモリ50かも8×8ブロツ
クのベクトル(第13図+A+ 、を照)が読み出され
る。そして、第12図fA)に示す32個のマクロブロ
ック毎に、ベクトルが同一であるか否かが判定される。Next, the operation of the code system as described above will be explained using the case shown in FIG. 7 fA) as an example. First, the comparator circuit CP5 reads an 8.times.8 block vector (see +A+ in FIG. 13) from the vector memory 50 using the address inputted from the address generation circuit 52. Then, it is determined whether the vectors are the same for each of the 32 macroblocks shown in FIG. 12 fA).
その判定の結果、同一であれば論理値の「0」、同一で
なければ論理値のrl」の判定結果が第13図(B)に
示すようにフラグレジスタFR5にセットされる。そし
て更に、同一であると判定された場合、そのベタ1〜ル
がベクトルレジスタVR5の対応する位置に入力され、
同一でないと判定された場合、ベクトルレジスタVR5
の対応する位置にそのベクトルのアドレスが人力される
。As a result of the determination, if they are the same, the logical value is "0", and if they are not the same, the logical value is "rl", which is set in the flag register FR5 as shown in FIG. 13(B). Further, if it is determined that they are the same, the solids 1 to 1 are input to the corresponding position of the vector register VR5,
If it is determined that they are not the same, vector register VR5
The address of that vector is entered manually at the corresponding position.
例えば、同図中の「P6」が該当する。For example, "P6" in the figure corresponds to this.
次に、比較回路CP4では、同様に、アドレス発生回路
52から入力されたアドレスを用いて、第12図(B)
に示すマクロブロックに対応するベクトルが2個づつ読
み出され比較される。そして、比較結果は、同様に、フ
ラグ:ノジスタFR4にセットされ、ベクトルあるいは
アドレスがベクトルレジスタVR4に入力される(第1
3図fG1 M照)。Next, the comparator circuit CP4 similarly uses the address inputted from the address generation circuit 52 to generate the data as shown in FIG.
Two vectors corresponding to the macroblocks shown in are read out and compared. The comparison result is similarly set in the flag register FR4, and the vector or address is input into the vector register VR4 (first
Figure 3 fG1 M).
以上の動作が繰り返されると、ベクトルレジスタVRa
、フラグレジスタFRcの内容は、第13図に示すよ
うになる。そして、この状態、すなわちすべてのレジス
タがセットされた状態で1図中に矢印で示すように逆方
向にサーチを行なうことで、第7図(B)の符号化が行
なわれる。すなわち、フラグレジスタFRifiJ、1
.2.3.41にセットされているフラグがアドレス発
生回路52によって読み出され、フラグ判定回路54で
判定される。When the above operations are repeated, vector register VRa
, the contents of flag register FRc are as shown in FIG. Then, in this state, that is, a state in which all registers are set, the encoding shown in FIG. 7(B) is performed by performing a search in the reverse direction as shown by the arrow in FIG. That is, the flag register FRifiJ,1
.. The flag set to 2.3.41 is read by the address generation circuit 52 and determined by the flag determination circuit 54.
その結果、論理値の「0」の場合、それがバッファ58
に出力される。また、対応するベクトルレジスタVRi
のベクトルが読み出され、不等長符号化回路56でその
不等長符号化が行なわれ、バッファ58に出力される。As a result, if the logical value is "0", it is determined that the buffer 58
is output to. Also, the corresponding vector register VRi
The vectors are read out, subjected to unequal length encoding by the unequal length encoding circuit 56, and output to the buffer 58.
これに対し、論理値がrl4の場合は、それがバッファ
58に出力される。また、対応するアドレスがベクトル
レジスタVRiから読み出され、アドレス発生回路52
によってフラグレジスタFRi+1の読み出しアドレス
に用いられ、ベクトルが読み出される。なお、フラグレ
ジスタFR5では、ベクトルメモリ50の読み出しアド
レスに用いられる。On the other hand, if the logical value is rl4, it is output to the buffer 58. Further, the corresponding address is read from the vector register VRi, and the address generation circuit 52
is used as the read address of flag register FRi+1, and the vector is read out. Note that the flag register FR5 is used as a read address of the vector memory 50.
具体的に第7図fAl 、 FB)の例に即して説明す
ると、フラグレジスタFROの論理値は「1」である、
このため、論理値r14がフラグ判定回路54からバッ
ファ58に送られるとともに、ベタ1〜ルレジスタVR
O中のアドレスPOがアドレス発生回路52に記憶され
る。Specifically, referring to the example shown in FIG. 7 (fAl, FB), the logical value of the flag register FRO is "1".
Therefore, the logical value r14 is sent from the flag determination circuit 54 to the buffer 58, and the registers VR
Address PO in O is stored in address generation circuit 52.
次に2フラグレジスタFRIにおいてアドレスPOが示
すフラグ(第13図中の矢印YA、YB 参照)が順次
読み出される。最初のフラグ(矢印FA)は、論理値の
「0」である、このため、これがバッファ58に送出さ
れるとともに、ベクトルレジスタVR口からベクトルV
Dが読み出されて不等長符号化回路56により符号化さ
れる。符号化されたベクトルvOは、バッファ58に送
出される。次のフラグ(矢印FII)は、「l」である
、このため、「0」がバッファ58に送出されるととも
に、ベクトルレジスタVROからアドレスP1が読み出
され、これがアドレス発生回路52に記憶される。Next, the flags indicated by the address PO (see arrows YA and YB in FIG. 13) are sequentially read out in the two-flag register FRI. The first flag (arrow FA) has a logical value of "0", so it is sent to the buffer 58 and the vector V
D is read out and encoded by the unequal length encoding circuit 56. The encoded vector vO is sent to buffer 58. The next flag (arrow FII) is “l”, so “0” is sent to the buffer 58, and address P1 is read from the vector register VRO and stored in the address generation circuit 52. .
同様に、フラグレジスタFR2において5前記アドレス
PLが示すフラグ(同図中の矢印yc、yo 参照)が
順次読み出される。そして、上述した処理ニヨリ、ハラ
7 y 58 i: ハ、Irl、0、CVI J カ
入力される。Similarly, the flags indicated by the five addresses PL (see arrows yc and yo in the figure) are sequentially read out from the flag register FR2. Then, the above-mentioned processing 7 y 58 i: Irl, 0, CVI J is input.
更に、フラグレジスタFR3に対する処理により、「0
、CV2.1」が入力される。Furthermore, by processing the flag register FR3, “0
, CV2.1" is input.
次に、フラグレジスタFR4では、フラグが両方ともr
l4であるため、バッファ58には「l、l」が入力さ
れ、アドレス発生回路52にはアドレスP4. P5が
各々記憶される。Next, in flag register FR4, both flags are r
14, "l, l" is input to the buffer 58, and the address generation circuit 52 receives the address P4. P5 are respectively stored.
次に、フラグレジスタFR5では、まず、アドレス発生
回路52のアドレスP4に対応するベクトルの処理が同
様に行なわれ、次にアドレスP5に対応するベクトルの
処理が続けて行なわれる。その結果、バッファ58には
、Ir01CV3.0、CV4.0、CV5. I J
が人力される。Next, in flag register FR5, the vector corresponding to address P4 of address generation circuit 52 is processed in the same manner, and then the vector corresponding to address P5 is processed continuously. As a result, the buffer 58 contains Ir01CV3.0, CV4.0, CV5. IJ
is done manually.
最後に、同様にして、ベクトルレジスタVR5中のアド
レスP6に対応するベクトルがベクトルメモリ50から
読み出され処理が行なわれる。その結果 バッフ758
には、rO1CV6.0、CV7 、ll カ入力され
る。なお、ベクトルV6. V7とも終端であるため、
「01は省略可能である。Finally, the vector corresponding to address P6 in vector register VR5 is read out from vector memory 50 and processed in the same manner. As a result, Buff 758
, rO1CV6.0, CV7, and ll are input. Note that vector V6. Since V7 is also the terminal,
"01 can be omitted.
以上の処理により、第7図FB)に示す符号がバッファ
58から出力されることとなる。Through the above processing, the code shown in FIG. 7 (FB) is output from the buffer 58.
く(Mq系の具体例〉
次に1以上のような符号系に対応する復号系の具体例に
ついて、第14図を参照しながら説明する。同図におい
て、バッファ60の出力側は、方において不等長復号回
路62の入力側に接続されており、他方においてフラグ
判定回路64の入力端に接続されている。このフラグ判
定回路64の一方の出力側は、バッファ60の入力側に
接続されており、他方の出力側は、不等長復号回路62
の出力側とともにアドレス発生回路66の入力側に接続
されている。(Specific example of Mq system) Next, a specific example of a decoding system corresponding to one or more code systems will be explained with reference to FIG. 14. In the figure, the output side of the buffer 60 is It is connected to the input side of the unequal length decoding circuit 62, and the other side is connected to the input end of the flag determination circuit 64. One output side of this flag determination circuit 64 is connected to the input side of the buffer 60. The other output side is an unequal length decoding circuit 62.
It is connected to the input side of the address generation circuit 66 as well as the output side of the address generation circuit 66 .
次に、アドレス発生回路66の第1の出力側はペクト、
It、LzジスタVRd(d=0.1.2.3.4.5
)Jヨヒ’(り、トルメモリ68の入力側に各々接続さ
れており。Next, the first output side of the address generation circuit 66 is pect,
It, Lz register VRd (d=0.1.2.3.4.5
) are connected to the input side of the memory 68.
第2の出力側はフラグレジスタFRe (e=o、 l
、 2.3.4゜5)の入力端に各々接続されており、
第3の出力側は制少回路CTLf (f・0.1,2.
3゜4.5)の入力側に各々接続されている0次に、ベ
クトルレジスタVRdフラグレジスタFReの出力側は
、制御回路CTLfの入力側に各々接続されており、制
御回路CTL5の出力側はベクトルメモリ68の入力側
に接続されている。The second output is flag register FRe (e=o, l
, 2.3.4゜5) are connected to the input terminals of
The third output side is a control circuit CTLf (f・0.1, 2.
The output sides of the vector register VRd and the flag register FRe are respectively connected to the input sides of the control circuit CTLf, and the output side of the control circuit CTL5 is connected to the input side of the control circuit CTLf. It is connected to the input side of vector memory 68.
次に、以上のように構成された復号系の動作について説
明する。バッファ60に格納されている符号は、それが
フラグの場合にはフラグ判定回路64に出力され、フラ
グが「0」の場合にそれに続(符号は不等長復号回路6
2に出力される。フラグは、フラグ判定回路64によっ
て判定される。Next, the operation of the decoding system configured as above will be explained. If the code stored in the buffer 60 is a flag, it is output to the flag determination circuit 64, and if the flag is "0", it is output to the flag determination circuit 64 (the code is output to the unequal length decoding circuit 64).
2 is output. The flag is determined by a flag determination circuit 64.
その結果、フラグレジスタFRi(i=1.2.3,4
.51フラグが「0」の場合は、それが対応するフラグ
レジスタFRiにセットされる。続いて、バッファ60
から出力された符号が不等長1号回路62によって復号
化され、!!号化されたベクトルがベクトルレジスタV
Ri(iJ、2,3,4.51]対応す67)’L/ス
にセットされる。As a result, flag register FRi (i=1.2.3,4
.. When the 51 flag is "0", it is set in the corresponding flag register FRi. Next, buffer 60
The code output from ! is decoded by the unequal length 1 circuit 62, and ! ! The encoded vector is stored in vector register V
Ri(iJ, 2, 3, 4.51] corresponds to 67)'L/S.
また、フラグがr14の場合は、それが対応するフラグ
レジスタFRiにセットされる。続いて、フラグレジス
タFRi+1の対応するアドレスがフラグレジスタFR
jの対応するアドレスにセットされる。次に、フラグレ
ジスタFRL−1のフラグが読み出され、これが論理値
の「0」の場合、制御回路CTLiを通してフラグレジ
スタFRiの対応する2個のアドレスに「0」がセット
され、ベクトルレジスタVRi−1に対応するベクトル
がベクトルレジスタVRiの対応する2個のアドレスに
セットされる。Further, if the flag is r14, it is set in the corresponding flag register FRi. Subsequently, the corresponding address of flag register FRi+1 is flag register FR.
It is set to the corresponding address of j. Next, the flag in flag register FRL-1 is read out, and if it is a logical value of "0", "0" is set to the two corresponding addresses of flag register FRi through control circuit CTLi, and vector register VRi A vector corresponding to -1 is set to two corresponding addresses of vector register VRi.
以上の処理が繰り返し行なわれ、ベクトルメモリ68に
復号化されたベクトルがセラi・されて出力されること
となる。The above processing is repeated, and the decoded vector is stored in the vector memory 68 and output.
具体的に第7図FA、l 、 (B)の例に即して説明
すると、最初の符号は論理値の「1」である。このため
、フラグ1ノジスタFROには「1」がセットされ、第
13図に矢印で示したアドレスがアドレス発生回路66
にセットされる。Specifically, referring to the example of FIG. 7 FA,l,(B), the first code is a logical value "1". Therefore, "1" is set in the flag 1 register FRO, and the address indicated by the arrow in FIG.
is set to
次の符号は論理値の「0」である。このため、フラグレ
ジスタFRIのPOに対応するアト1ノスにその論理値
「0」がセットされる。そして、次の符号CvOが不等
長復号回路62によって復号化され、V口がベクトルレ
ジスタVRIの対応するアドレスにセットされる。The next code is a logical "0". Therefore, the logic value "0" is set in the at1nos corresponding to PO of the flag register FRI. Then, the next code CvO is decoded by the unequal length decoding circuit 62, and the V port is set to the corresponding address of the vector register VRI.
次に、符号CvOに続く符号はフラグであり、これは「
1」である、このため、フラグレジスタFROと同様に
フラグレジスタFRIに「1」がセットされ、アドレス
PLがアドレス発生回路66にセットされて、フラグレ
ジスタFROが調べられる。これが「1」であるため、
フラグレジスタFRIでの処理は終了する。Next, the code following the code CvO is a flag, which is “
Therefore, like flag register FRO, flag register FRI is set to "1", address PL is set to address generation circuit 66, and flag register FRO is checked. Since this is "1",
The processing in flag register FRI ends.
次に、フラグレジスタFR2の処理が行なわれる。R初
の符号は、論理値のrlJである。このため、アドレス
発生回路66にセットされているアドレスptが用いら
れて、対応するフラグレジスタFRIにrlJがセット
される。また、次の符号が「0」であり、その次の符号
がrcVIJである。Next, flag register FR2 is processed. The first sign of R is the logical value rlJ. Therefore, the address pt set in the address generation circuit 66 is used, and rlJ is set in the corresponding flag register FRI. Further, the next code is "0" and the next code is rcVIJ.
このため、フラグレジスタF旧における処理と同様に、
フラグレジスタF[t2.ベクトルレジスタVR2の所
定のアドレスに対応する符号がセットされる。Therefore, similar to the processing in the old flag register F,
Flag register F[t2. A code corresponding to a predetermined address of vector register VR2 is set.
更に、フラグレジスタFRIのフラグの(直が調べられ
る。すると、論理値が「0」であるため、この「0」の
アドレスに対応するベクトルレジスタVRIのベクトル
VOが、フラグレジスタFRIのアドレスに対応するフ
ラグレジスタFR2の2個のアドレスのレジスタにセッ
トされる。Furthermore, the flag of the flag register FRI is checked. Since the logical value is "0", the vector VO of the vector register VRI corresponding to the address of this "0" corresponds to the address of the flag register FRI. is set in two address registers of flag register FR2.
以上の処理が繰り返されて、ベクトルメモリ68上に6
4個のベクトルがセラINされ、これが出力される。The above process is repeated, and 6
Four vectors are input and output.
〈実施例の効果〉
以上のように、本実施例によれば、次のような効果があ
る。<Effects of Example> As described above, according to this example, the following effects are achieved.
(1)従来の手法では、差分ベクトルに対して符号の割
り当てが行なわれるため、各ベクトルに対し最低1ビツ
トの符号が必要とされる。このため、圧縮効率を挙げる
ことができないなどの不都合がある。(1) In the conventional method, codes are assigned to difference vectors, so at least one bit of code is required for each vector. For this reason, there are disadvantages such as inability to improve compression efficiency.
これに対し、本実施例では、ブロックの統合による動き
ベクトルの階層的符号化が行なわれる。In contrast, in this embodiment, motion vectors are hierarchically encoded by block integration.
このため、特に背景のような画像における一定の動きベ
クトルのような場合や、形の変化の少ない物体の移動な
どの場合等の従来の手法では圧縮効率を挙げることがで
きない部分において、大幅な圧縮効率の向上を図ること
ができ、また、複数の手段により得られたベクトルの符
号化を行なうことが可能となる。For this reason, it is necessary to significantly compress areas where conventional methods cannot achieve compression efficiency, especially in cases where there is a constant motion vector in an image such as the background, or in cases where an object moves with little change in shape. Efficiency can be improved, and vectors obtained by multiple means can be encoded.
(2)更に、マクロブロック単位の動きベクトルの符号
イヒが行なわれるため、伝送路における誤りの伝搬は、
マクロブロック内にとどめることが可能となる。(2) Furthermore, since the code of the motion vector is determined in units of macroblocks, the propagation of errors in the transmission path is
It is possible to keep it within a macroblock.
〈他の実施例〉
なお、本発明は、何ら上記実施例に限定されるものでは
なく、ツ1^は、第11図に示した符号系を、第15図
に示すように構成してもよい、この構成例は、ベクトル
レジスタ70.フラグレジスタ72をいずれも一つのメ
モリで構成し、また、比較回路74も共通に構成したも
のである。<Other Embodiments> Note that the present invention is not limited to the above embodiments, and the code system shown in FIG. 11 may be configured as shown in FIG. 15. A good example of this configuration is vector register 70. The flag registers 72 are all constructed from one memory, and the comparison circuit 74 is also constructed in common.
また、第14図に示した復号系を、第16図に示すよう
に構成してもよい。この構成例も、ベタ1〜ルレジスタ
80.フラグレジスタ82をいずれも一つのメモリで構
成し、また、制御回路84も共通に構成したものである
。Further, the decoding system shown in FIG. 14 may be configured as shown in FIG. 16. This configuration example also has solid registers 1 to 80. The flag registers 82 are all constructed from one memory, and the control circuit 84 is also constructed in common.
いずれも、動作は上述した通りであるが、回路構成は大
幅に簡略化される。In either case, the operation is as described above, but the circuit configuration is greatly simplified.
また、上記実施例は、テレビジョン信号のディジタル化
において用いられる動きベクトルが対象としているが、
その他のベクトル量を対象としてもよい。Furthermore, although the above embodiments are directed to motion vectors used in the digitization of television signals,
Other vector quantities may be used as targets.
[発明の効果]
以上説明したように、本発明によれば、符号化の圧縮効
率の向上を図ることができるとともに、複数の手段によ
って得られたベクトルの符号化復号化を良好に行なうこ
とができ、更には、伝送路における誤りの伝搬の程度の
低減を図ることができるという効果がある。[Effects of the Invention] As explained above, according to the present invention, it is possible to improve the compression efficiency of encoding, and it is also possible to efficiently encode and decode vectors obtained by a plurality of means. Furthermore, there is an effect that the degree of error propagation in the transmission path can be reduced.
第1図は本発明の一実施例を示す符号系の全体構成図、
第2図〜第8図は前記実施例における符号化の手法を示
す説明図、第9図および第10図は他の符号化の手法を
示す説明図、第11図は符号系の構成例を示すブロック
図、第121Jおよび第13図は第11図の符号系の動
作を示す説明図、第14図は第11図の符号系に対応す
る復号系を示すブロック図、第15図および第16図は
他の実施例を示すブロック図である。
10.24・・・セレクタ、12〜22・・・フレーム
メモリ、26・・・セグメント間動きベクトル検出回路
、28・・・フレーム間動きベクトル検出回路、30・
・・動き補償回路、32・・・フレーム内符号化回路、
34・・・セグメント間動きベクトル符号化回路、36
・・・動きベクトル選択回路、38・・・動きベクトル
符号化回路、40・・・フレーム内復号化回路、42・
・・差分符号化回路、44・・・フレーム内復号化回路
、46・・・バッファ。
特許出願人 日本ビクター株式会社
代表者 垣木邦夫
第
75図
、ダλ
第
図FIG. 1 is an overall configuration diagram of a code system showing an embodiment of the present invention.
FIGS. 2 to 8 are explanatory diagrams showing the encoding method in the above embodiment, FIGS. 9 and 10 are explanatory diagrams showing other encoding methods, and FIG. 11 is an explanatory diagram showing an example of the configuration of the coding system. 121J and 13 are explanatory diagrams showing the operation of the code system shown in FIG. 11, and FIG. 14 is a block diagram showing a decoding system corresponding to the code system shown in FIG. 11, and FIGS. The figure is a block diagram showing another embodiment. 10.24... Selector, 12-22... Frame memory, 26... Inter-segment motion vector detection circuit, 28... Inter-frame motion vector detection circuit, 30.
...Motion compensation circuit, 32...Intraframe encoding circuit,
34... Inter-segment motion vector encoding circuit, 36
. . . motion vector selection circuit, 38 . . . motion vector encoding circuit, 40 . . . intraframe decoding circuit, 42.
. . . Differential encoding circuit, 44 . . . Intraframe decoding circuit, 46 . . . Buffer. Patent applicant: Japan Victor Co., Ltd. Representative: Kunio Kakiki Figure 75, Daλ Figure
Claims (6)
号化装置において、前記複数個のベクトルを所定数のブ
ロックに分割するブロック分割手段と、分割されたブロ
ックに含まれるベクトルの同一性を判定するベクトル判
定手段と、これによりすべてのベクトルが同一であると
判定されたときには、その旨を表わす符号とそのベクト
ルを表わす符号とを割り当て、同一でないと判定された
ときには、その旨を表わす符号を割り当てるとともに前
記ブロック分割手段に分割指令を行ない、前記ブロック
分割手段による分割が終了したときには、最終ブロック
内の異なるベクトル毎に符号を割り当てる符号化手段と
を備えたことを特徴とするベクトル符号化装置。(1) In a vector encoding device that encodes a plurality of vectors with unequal length, a block division means divides the plurality of vectors into a predetermined number of blocks, and a block division means that divides the plurality of vectors into a predetermined number of blocks, and a block division means that determines the identity of vectors included in the divided blocks. A vector determining means for determining, and when all the vectors are determined to be the same, a code representing that fact and a code representing the vector are assigned, and when it is determined that all the vectors are not the same, a code representing that fact is assigned. and a coding means for assigning a code to each different vector in the final block, and issuing a division command to the block division means, and assigning a code to each different vector in the final block when division by the block division means is completed. Device.
定されるフレーム間動きベクトル(MV_i)と、この
フレーム間動きベクトル(MV_i)より適応的に動き
ベクトル(MV)を選択し、動き補償予測符号化を行な
う際の動きベクトル(MV)の符号化においては、Mフ
レーム間の動きベクトル(MV_M)より推定されるフ
レーム間動きベクトルが用いられた場合、1個の特定の
符号を割り当て、フレーム間動きベクトル(MV_i)
が用いられた場合、そのフレーム間動きベクトル(MV
_i)を符号化することを特徴とするベクトル符号化装
置。(2) An inter-frame motion vector (MV_i) estimated from the motion vector (MV_M) between M frames and a motion vector (MV) adaptively selected from this inter-frame motion vector (MV_i), and a motion compensated predictive code When encoding a motion vector (MV) when performing a Motion vector (MV_i)
is used, its interframe motion vector (MV
A vector encoding device characterized by encoding _i).
記動きベクトル(MV)を所定数のブロックに分割する
ブロック分割手段と、前記動きベクトル(MV)全体よ
り分割されたブロックに含まれるベクトルの同一性を判
定するベクトル判定手段と、これによりすべてのベクト
ルが同一であると判定されたときには、その旨を表わす
符号とそのベクトルを表わす符号とを割り当て、同一で
ないと判定されたときには、その旨を表わす符号を割り
当てるとともに前記ブロック分割手段に分割指令を行な
い、前記ブロック分割手段による分割が終了したときに
は、最終ブロック内のベクトル毎に符号を割り当てる符
号化手段とを備えたことを特徴とするベクトル符号化装
置。(3) The vector encoding device according to claim 2, further comprising block dividing means for dividing the motion vector (MV) into a predetermined number of blocks; A vector determining means for determining identity, and when it is determined that all vectors are the same, a code representing that fact and a symbol representing the vector are assigned, and when it is determined that they are not the same, a symbol representing that vector is assigned. a vector that is characterized by comprising: encoding means that assigns a code representing the vector, issues a division command to the block division means, and assigns a code to each vector in the final block when division by the block division means is completed; Encoding device.
ロック内に異なるベクトルが存在する場合、前記フレー
ム間動きベクトル(MV_i)の符号化においては、近
傍ベクトルの内、一定の位置の近傍ベクトルとの差分ベ
クトルを符号化し、そのベクトルがMフレーム間の動き
ベクトル(MV_M)である場合、近傍ベクトルの内、
次の一定の位置の近傍ベクトルとの差分ベクトルを符号
化し、Mフレーム間の動きベクトル(MV_M)より推
定される動きベクトルの符号化においては、その情報に
符号を割り当てることを特徴とするベクトル符号化装置
。(4) In the vector encoding device according to claim 3, when different vectors exist within a block, in encoding the inter-frame motion vector (MV_i), among the neighboring vectors, a neighboring vector at a certain position and If the vector is a motion vector (MV_M) between M frames, among the neighboring vectors,
A vector code characterized in that a difference vector between a neighboring vector at a next fixed position is encoded, and a code is assigned to the information when encoding a motion vector estimated from a motion vector (MV_M) between M frames. conversion device.
ロック内に異なるベクトルが存在する場合、前記フレー
ム間動きベクトル(MV_i)の符号化においては、一
定ベクトルとの差分ベクトルを符号化し、Mフレーム間
の動きベクトル(MV_M)より推定される動きベクト
ルの符号化においては、その情報に符号を割り当てるベ
クトル符号化装置。(5) In the vector encoding device according to claim 3, when different vectors exist within a block, in encoding the inter-frame motion vector (MV_i), a difference vector with a constant vector is encoded, and M frames are encoded. In encoding a motion vector estimated from a motion vector (MV_M) between, a vector encoding device assigns a code to the information.
装置によって符号化された符号を復号化するベクトル復
号化装置。(6) A vector decoding device that decodes a code encoded by the vector encoding device according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1047884A JPH02226985A (en) | 1989-02-28 | 1989-02-28 | Vector coding and decoding device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1047884A JPH02226985A (en) | 1989-02-28 | 1989-02-28 | Vector coding and decoding device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02226985A true JPH02226985A (en) | 1990-09-10 |
Family
ID=12787819
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1047884A Pending JPH02226985A (en) | 1989-02-28 | 1989-02-28 | Vector coding and decoding device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH02226985A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0799660A (en) * | 1993-09-28 | 1995-04-11 | Nec Corp | Motion compensation predicting device |
US6426976B1 (en) | 1997-12-01 | 2002-07-30 | Samsung Electronics Co., Ltd. | Motion vector prediction method |
-
1989
- 1989-02-28 JP JP1047884A patent/JPH02226985A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0799660A (en) * | 1993-09-28 | 1995-04-11 | Nec Corp | Motion compensation predicting device |
US6426976B1 (en) | 1997-12-01 | 2002-07-30 | Samsung Electronics Co., Ltd. | Motion vector prediction method |
USRE40372E1 (en) | 1997-12-01 | 2008-06-10 | Samsung Electronics Co., Ltd. | Motion vector prediction method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5590291A (en) | Digital signal processing system for limiting a result to be predetermined bit count | |
USRE35093E (en) | Systems and methods for coding even fields of interlaced video sequences | |
US5193004A (en) | Systems and methods for coding even fields of interlaced video sequences | |
US5841475A (en) | Image decoding with dedicated bidirectional picture storage and reduced memory requirements | |
US20050129129A1 (en) | Co-located motion vector storage | |
US7627036B2 (en) | Motion vector detection device and moving picture camera | |
GB2154828A (en) | System for re-quantization of coded picture signals | |
JPS60186179A (en) | System and device for predictive coding of picture signal | |
JPH0529172B2 (en) | ||
US6912254B2 (en) | Decoding system available for compressed data streams for concurrently reproducing stable pictures method for decoding compressed data streams and information storage medium for storing programmed instructions representative of the method | |
JP2855861B2 (en) | Inter-frame / inter-field predictive encoding apparatus and method | |
US7012958B2 (en) | Partition coding method and device | |
US20030103567A1 (en) | Motion compensation and/or estimation | |
JPH02226985A (en) | Vector coding and decoding device | |
US20050100097A1 (en) | Apparatus and method for motion vector prediction | |
JPH10224795A (en) | Moving image coding method, decoding method, coder and decoder | |
JP2002016926A (en) | Sprite-encoded data transmission method, sprite encoder, sprite-encoded data decoder and storage medium | |
JP2899478B2 (en) | Image encoding method and image encoding device | |
JPS6393273A (en) | Coding device for image information | |
JP2537246B2 (en) | Image coding method | |
JP2963130B2 (en) | Video signal coding method | |
JPH01265684A (en) | Moving compensation inter-frame prediction coding and decoding device | |
JP2002152756A (en) | Moving picture coder | |
WO1998042136A1 (en) | Image encoding method and device | |
JP2004080148A (en) | Method and apparatus for compressing data |