JPH09186995A - Data compression method - Google Patents

Data compression method

Info

Publication number
JPH09186995A
JPH09186995A JP28437896A JP28437896A JPH09186995A JP H09186995 A JPH09186995 A JP H09186995A JP 28437896 A JP28437896 A JP 28437896A JP 28437896 A JP28437896 A JP 28437896A JP H09186995 A JPH09186995 A JP H09186995A
Authority
JP
Japan
Prior art keywords
unit
block
macroblock
variable length
data
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.)
Granted
Application number
JP28437896A
Other languages
Japanese (ja)
Other versions
JP3883618B2 (en
Inventor
Jin-Hak Lee
震 鶴 李
Gwang-Hoon Park
光 勳 朴
Joo-Hee Moon
柱 橲 文
Jae-Kyoon Kim
在 均 金
Sung-Moon Chun
勝 文 千
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.)
SK Hynix Inc
Original Assignee
Hyundai Electronics Industries 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 Hyundai Electronics Industries Co Ltd filed Critical Hyundai Electronics Industries Co Ltd
Publication of JPH09186995A publication Critical patent/JPH09186995A/en
Application granted granted Critical
Publication of JP3883618B2 publication Critical patent/JP3883618B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To enhance the reduction rate of transmitted data by using variable length code tables different from each other with high code gain depending on the presence of an object in a unit block being divisions of each macro. SOLUTION: An object is in existence in all unit blocks Y1, Y2, Y3, Y4 of four macro blocks MB1, MB2, MB3, MB4. In the block MB2, the object is in existence in all unit blocks Y1-Y4, and in the block MB3, the object is in existence only in a 2nd unit block Y2, and the object is in existence only in 1st and end blocks Y1, Y2 in the block MB4. Since the object is selectively in existence in each unit block in each macro block, the coding gain is enhanced by applying a different variable length code table to each case and the data reduction efficiency is increased.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はフレーム内の映像デ
ータを可変長コード化データに変換して伝送するデータ
圧縮方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data compression method for converting video data in a frame into variable length coded data for transmission.

【0002】[0002]

【従来の技術】近年、ビデオフォンや映像会議などをI
SDN網(Integrated Service Digital Network:統合
サービスディジタル網)を用いて提供するH.261や
公衆電話交換網(PSTN)を用いたビデオフォンサー
ビスのためのH.263などが画像圧縮技術の世界標準
化のための技術標準として提案されている。
2. Description of the Related Art In recent years, videophones, video conferences, etc.
H.264 provided by using an SDN (Integrated Service Digital Network). H. 261 and H.261 for videophone services using the public switched telephone network (PSTN). 263 has been proposed as a technical standard for the global standardization of image compression technology.

【0003】ビデオフォンのように超低速動映像の圧縮
技術を提供するH.261及びH.263では画像の品
質が低下することが知られており、画像品質の高級化の
ための改良が要求されている。一方、動画像関連圧縮技
術はDSM(Digital Storage Media:ディジタル蓄積媒
体)のためのMPEG1(Motion Picture Expert Grou
p:動画像エクスパートグループ)と、DSM,HDTV
(High Density Television:高品位テレビジョン),A
TV(Advanced Television:次世代テレビジョン)など
のためのMPEG2とが標準化されている。
H.264, which provides a compression technique for ultra-low-speed moving images such as a videophone. 261 and H.E. In H.263, it is known that the quality of the image is deteriorated, and improvement for enhancing the image quality is required. On the other hand, the moving picture-related compression technique is MPEG1 (Motion Picture Expert Group) for DSM (Digital Storage Media).
p: Moving image expert group), DSM, HDTV
(High Density Television), A
MPEG2 for TV (Advanced Television) is standardized.

【0004】これらのH.261,H.263,MPE
G1,MPEG2の圧縮技術にはブロックを基盤とした
符号化方法が採用されているが、これらの符号化方法を
超低速伝送に応用した場合には画質の低下が目立つ。こ
のため、MPEG4として既存の方式とは差別化された
全く新たな方式が提案されており、物体概念の導入され
たブロック基盤符号化へ標準化が進んでいる。
These H. 261, H .; 263, MPE
Block-based coding methods are used in G1 and MPEG2 compression techniques, but when these coding methods are applied to ultra-low-speed transmission, the image quality is noticeably degraded. For this reason, a completely new system, which is different from the existing system, has been proposed as MPEG4, and standardization is progressing to block-based coding in which the object concept is introduced.

【0005】このうち、物体中心符号化方式(Object O
riented Coding)はブロックを基盤とせずに2つの映像
間を動く領域内の物体(Object)を基盤とすることによ
り、全体映像を、背景(Background)、非被覆領域(Un
covered Region)、動き補償の可能な領域(MC−Regi
on)、動き補償の不可能な領域(MF−Region)に区分
して符号化する方式である。ここで、動き補償可能物体
(MC−object)とは3次元空間上の物体を2次元的な
物体に変換して水平移動、回転移動、線形変形など一定
の法則をもって動く物体を言い、動き補償不可能物体
(MF−object)とはこの一定の法則が適用されない物
体をいう。
Of these, the object-centered coding method (Object O
Riented Coding is based on an object in an area that moves between two images, not on a block, so that the entire image is displayed in the background or uncovered area.
covered region), a region where motion compensation is possible (MC-Regi
on) and a region in which motion compensation is not possible (MF-Region). Here, the motion compensable object (MC-object) refers to an object that is converted into a two-dimensional object in a three-dimensional space and moves according to a constant law such as horizontal movement, rotational movement, and linear deformation. An impossible object (MF-object) is an object to which this fixed law is not applied.

【0006】図7は1つのフレームグリッド31におい
て1つの単位マクロブロック33との関係を示す図面で
ある。1つのフレームグリッド31はX軸及びY軸方向
にアレイ状に分割されてあり、分割された各々が単位マ
クロブロック33となる。図7(A)はグリッド開始位
置点がX−0,Y−0であるフレームグリッドを示し、
図7(B)は1つの単位マクロブロックを拡大して示す
もので、1つの単位マクロブロックがX軸に8、Y軸に
8分割された状態を示す。ここで、分割された素子を画
素(ピクセル)34という。単位マクロブロック33は
画素数に応じてN×Mマクロブロックと呼ばれる。従っ
て、図7(B)の単位マクロブロックは8×8マクロブ
ロックになる。
FIG. 7 is a view showing the relationship with one unit macroblock 33 in one frame grid 31. One frame grid 31 is divided into an array in the X-axis and Y-axis directions, and each divided becomes a unit macroblock 33. FIG. 7A shows a frame grid whose grid start position points are X-0 and Y-0.
FIG. 7B is an enlarged view of one unit macroblock, showing a state where one unit macroblock is divided into eight on the X axis and eight on the Y axis. Here, the divided elements are referred to as pixels 34. The unit macroblock 33 is called an N × M macroblock depending on the number of pixels. Therefore, the unit macroblock in FIG. 7B is an 8 × 8 macroblock.

【0007】このように分割した物体を符号化するため
の技法として用いられる従来の模様適応形技法を図8を
参照して考察してみる。ここで、フレームグリッドは8
×8のマクロブロックを有し、このマクロブロック内に
移動補償不可能物体が全て満たされた場合には、2次元
DCT(Discrete Cosine Transform:離散コサイン変
換)と同一の効率となる。ブロック内に移動補償不可能
物体が全ては満たされない場合には該当する移動補償不
可能物体の模様部分だけX軸で1次元DCTをし、さら
にY軸で1次元DCTをする。
A conventional pattern adaptive technique used as a technique for encoding the thus divided object will be considered with reference to FIG. Where the frame grid is 8
When the macroblock of × 8 is included and all the objects that cannot be motion compensated are filled in this macroblock, the efficiency is the same as that of the two-dimensional DCT (Discrete Cosine Transform). If not all the movement-compensated objects are filled in the block, the pattern portion of the corresponding movement-uncompensated object is subjected to the one-dimensional DCT on the X axis and further the one-dimensional DCT on the Y axis.

【0008】以下、このような従来の模様適応形技法を
より詳しく説明する。図8(A)は、8×8のマクロブ
ロック内に移動補償不可能物体(斜線の引かれた部分)
が存在する様子を示している。この移動補償不可能物体
を模様適応形DCTにより符号化するために、まず図8
(B)に示すようにブロックの上方境界に移動補償不可
能物体を満たしておいて垂直方向に、即ちY方向に1次
元DCTにより符号化を行う。
Hereinafter, the conventional pattern adaptive technique will be described in more detail. FIG. 8A shows an object that cannot be motion-compensated in an 8 × 8 macroblock (hatched portion).
Shows the existence of. In order to encode this object that cannot be motion-compensated by the pattern adaptive DCT, first, FIG.
As shown in (B), the upper boundary of the block is filled with an object that cannot be motion-compensated and is encoded in the vertical direction, that is, in the Y direction by the one-dimensional DCT.

【0009】図8(C)の黒い円印は垂直方向1次元D
CTの離散コサイン変換(DC)値を表すものである。
この状態でY方向1次元DCTを行う。このようにY方
向1次元DCTが行われ図8(D)の状態が得られる
と、図8(E)のように再びブロックの左側境界に満た
しておいて水平方向(X方向)に1次元DCT符号化を
行う。X方向1次元DCTを完了させると、結局X方向
及びY方向1次元模様適応形DCTが図8(F)に示す
ように完了する。
The black circle in FIG. 8C is a one-dimensional D in the vertical direction.
It represents the discrete cosine transform (DC) value of CT.
In this state, Y-direction one-dimensional DCT is performed. When the one-dimensional DCT in the Y direction is performed and the state of FIG. 8D is obtained in this manner, the left boundary of the block is filled again and one-dimensional in the horizontal direction (X direction) as shown in FIG. 8E. DCT encoding is performed. When the X-direction one-dimensional DCT is completed, the X-direction and Y-direction one-dimensional pattern adaptive DCT is completed as shown in FIG. 8 (F).

【0010】最終形態の図8(F)をもってジグザグス
キャン(ZIGZAG SCAN)を行い、一番左側の最上のブロッ
クから対角線方向に移動物体をスキャンする。前述した
ブロック中心符号化を用いるMPEG−1,MPEG−
2,JPEG,H.261,H.263など既存の標準
では、図3に示すような形態のマクロブロックMBを使
用する。この場合、1つのマクロブロック内には図3に
示すように4つのブロックY1,Y2,Y3,Y4が存
在する。マクロブロックMB内に存在する4つのブロッ
ク(block)を符号化する際に、各ブロックY1,Y2,
Y3,Y4内にデータが存在する場合と存在しない場合
とが発生する。既存の標準ではこのようにブロック内に
データが存在するか否かを表示するためにコードブロッ
クパターン(Coded Block Pattern)を使用する。
A zigzag scan (ZIGZAG SCAN) is performed with the final form shown in FIG. 8F, and a moving object is scanned diagonally from the leftmost top block. MPEG-1, MPEG-using the block-centric coding described above
2, JPEG, H.M. 261, H .; The existing standard such as H.263 uses a macroblock MB having a form as shown in FIG. In this case, there are four blocks Y1, Y2, Y3, Y4 in one macroblock as shown in FIG. When encoding the four blocks existing in the macro block MB, each block Y1, Y2,
There are cases where data exists in Y3 and Y4 and cases where data does not exist. The existing standard uses a coded block pattern to indicate whether or not data exists in a block.

【0011】図4はH.263標準で使用するコードブ
ロックパターンに対する可変長符号表(variable lengt
h code table)を示したものである。この可変長符号表
は、16の状態をそれぞれ示すインデックス欄、イント
ラ(INTRA)モード時におけるコードブロックパタ
ーン(CBPY)を示すCBPY(イントラモード)
欄、インター(INTER)モード時におけるコードブ
ロックパターン(CBPY)を示すCBPY(インター
モード)欄、可変長コード化データのビット長を示すビ
ット数欄及び可変長コード化データを示す可変長コード
化データ欄から構成されている。
FIG. A variable length code table (variable lengt) for the code block pattern used in the H.263 standard.
h code table). This variable length code table is an index column showing 16 states, respectively, and CBPY (intra mode) showing a code block pattern (CBPY) in the intra (INTRA) mode.
Column, CBPY (inter mode) column showing the code block pattern (CBPY) in the inter mode, bit number column showing the bit length of the variable length coded data, and variable length coded data showing the variable length coded data. It is composed of columns.

【0012】またCBPY欄の(1,2,3,4)はデ
ータの存在する可能性のある4つの単位ブロックY1,
Y2,Y3,Y4に対応しており、1がY1に、2がY
2に、3がY3に、4がY4に対応する。従って、例え
ばインデックス1においてCBPY(イントラモード)
の値が(0,0,0,1)で表わされているのは、ブロ
ックY1,Y2,Y3にはデータが存在せず、ブロック
Y4にはデータが存在することを示す。なおこの場合に
は可変長コード化データは5ビットで、00101と表
わされる。このように可変長符号表を使用することによ
り、各マクロブロックにデータが存在するか否かを効果
的に表示することが出来、しかも変換により得られた可
変長コード化データを用いて伝送するデータの量を減少
させる、即ち、データ圧縮を実現することができる。
Further, (1, 2, 3, 4) in the CBPY column is four unit blocks Y1, in which data may exist.
It corresponds to Y2, Y3, Y4, 1 for Y1 and 2 for Y
2, 3, 3 corresponds to Y3, and 4 corresponds to Y4. Therefore, for example, at index 1, CBPY (intra mode)
The value of (0,0,0,1) indicates that there is no data in blocks Y1, Y2 and Y3, and that there is data in block Y4. In this case, the variable length coded data has 5 bits and is represented by 00101. By using the variable-length code table in this way, it is possible to effectively indicate whether or not data is present in each macroblock, and transmit using the variable-length coded data obtained by conversion. The amount of data can be reduced, that is, data compression can be realized.

【0013】[0013]

【発明が解決しようとする課題】しかし、このような従
来のブロック中心映像信号符号化によるデータ圧縮方法
では、マクロブロックにデータが存在するか否かを表示
するためにコードブロックパターンを使用するが、この
際、コードブロックパターンに対する可変長符号表が1
つに固定されているので伝送されるデータ減縮効率が低
下するという問題点があった。
However, in such a conventional data compression method by block-centered video signal coding, a code block pattern is used to indicate whether or not data is present in a macro block. , At this time, the variable length code table for the code block pattern is 1
However, there is a problem in that the efficiency of reducing the transmitted data is reduced because it is fixed.

【0014】つまり、1つのマクロブロック内には物体
の個数が互いに異なって分布(例えば、マクロブロック
の一部分にのみ小さい物体が存在するか、或いはマクロ
ブロック全体に物体が存在する場合)するにも拘わらず
同一の可変長符号表を適用するため、データ減縮効率が
低下する。本発明はかかる従来の物体中心符号化時に発
生する符号化効率の低下問題を解決するためのもので、
伝送されるデータの減縮効率を高くするデータ圧縮方法
を提供することを目的とする。
That is, even if the number of objects is different from each other in one macroblock (for example, a small object exists only in a part of the macroblock or an object exists in the entire macroblock). Since the same variable length code table is applied regardless of the data reduction efficiency. The present invention is for solving the problem of the decrease in encoding efficiency that occurs when the conventional object-centered encoding is performed.
An object of the present invention is to provide a data compression method that increases the reduction efficiency of transmitted data.

【0015】[0015]

【課題を解決するための手段】本発明のデータ圧縮方法
は、1つの映像フレームを複数の単位ブロックを有する
マクロブロックに分割し、各マクロブロック内の前記単
位ブロックに映像データが存在するか否かを表わすコー
ドブロックパターン(CBPY)を作成し、このコード
ブロックパターン(CBPY)に可変長符号表を適用し
て前記コードブロックパターンに対応する可変長コード
化データを得るデータ圧縮方法において、前記各マクロ
ブロック中で前記映像データが存在する可能性のある単
位ブロックの個数に応じて異なる可変長符号表を適用す
るように構成する。
According to the data compression method of the present invention, one video frame is divided into macroblocks having a plurality of unit blocks, and whether or not video data exists in the unit blocks in each macroblock. In the data compression method, a code block pattern (CBPY) representing that is created, and a variable length code table is applied to the code block pattern (CBPY) to obtain variable length coded data corresponding to the code block pattern. Different variable length code tables are applied according to the number of unit blocks in which the video data may exist in the macro block.

【0016】[0016]

【発明の実施の形態】以下、本発明の実施の形態を添付
図面に基づいて詳細に説明する。本発明が適用されるシ
ステムは図5に示されている一般的な映像符号化システ
ムであり、映像信号が入力され、1つのフレームの映像
を物体別に映像分割するVOP(Video Object Plane:
映像物体面)形成部10と、そのVOP形成部10から
得られる各物体の模様情報を符号化する符号化部20
と、前記符号化部20内のそれぞれの符号化器21,2
2,23,…からそれぞれ得られる符号化された映像信
号を多重化する多重化部30とから構成される。VOP
形成部10で映像信号入力手段から入力される1つのフ
レームの映像情報を物体別に分割し、符号化部20内の
それぞれの符号化器21,22,23,…でそれぞれ物
体別に模様情報を符号化する。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings. A system to which the present invention is applied is a general video encoding system shown in FIG. 5, and a video signal is input, and a VOP (Video Object Plane: VOP) that divides a video of one frame into objects according to objects.
Video object plane) forming unit 10 and encoding unit 20 that encodes pattern information of each object obtained from the VOP forming unit 10
And each of the encoders 21 and 2 in the encoding unit 20.
, 23, ..., And the multiplexing unit 30 that multiplexes the coded video signals. VOP
The forming unit 10 divides the image information of one frame input from the image signal input unit for each object, and the encoders 21, 22, 23, ... In the encoding unit 20 encode the pattern information for each object. Turn into.

【0017】ここで、符号化部20内の1つの符号化器
21は図6に示すように構成される。物体模様情報を選
択するためのスイッチ21aと、スイッチ21aによっ
て選択された模様情報を符号化する模様情報符号化部2
1cと、模様情報符号化部21cで符号化された模様情
報と任意の模様情報とを選択するための選択スイッチ2
1dと、スイッチ21aによって選択された模様情報の
動きを、再現された以前の模様情報または任意模様の情
報によって推定する動き推定部21eと、動き推定部2
1eで推定される動き量に応じて模様情報の動きを補償
する動き補償部21fと、VOP形成部10で得られる
映像から動き補償部21fで補償された映像を減算する
減算器21gと、減算器21gから得られる映像信号を
符号化する映像信号符号化部21hと、映像信号符号化
部21hから得られる映像情報と動き補償部21fで動
き補償された映像信号とを加算する加算器21iと、加
算器21iから得られる映像信号でVOPを再現するV
OP再現部21jと、マクロブロック内の物体の存在す
るブロックの個数に応じた互いに異なるブロックパター
ンのための可変長符号表が貯蔵されたメモリ21bとか
ら構成される。
Here, one encoder 21 in the encoder 20 is constructed as shown in FIG. A switch 21a for selecting the object pattern information, and a pattern information encoding unit 2 for encoding the pattern information selected by the switch 21a.
1c, a selection switch 2 for selecting the pattern information coded by the pattern information coding unit 21c and arbitrary pattern information
1d, a motion estimation unit 21e that estimates the motion of the pattern information selected by the switch 21a based on the reproduced previous pattern information or arbitrary pattern information, and the motion estimation unit 2
1e, a motion compensating unit 21f for compensating the motion of the pattern information according to the motion amount estimated by 1e, a subtractor 21g for subtracting the image compensated by the motion compensating unit 21f from the image obtained by the VOP forming unit 10, A video signal coding unit 21h for coding the video signal obtained from the video signal converter 21g, and an adder 21i for adding the video information obtained from the video signal coding unit 21h and the video signal motion-compensated by the motion compensation unit 21f. , V for reproducing VOP with the video signal obtained from the adder 21i
The OP reproduction unit 21j and a memory 21b that stores variable-length code tables for different block patterns according to the number of blocks in which an object exists in a macroblock are stored.

【0018】このように構成された符号化器21は、ス
イッチ21aによってVOP形成部10から得られる物
体模様情報を選択し、その選択された模様情報は模様情
報符号化部21cで該当物体の模様情報として符号化さ
れる。そして、選択スイッチ21dで前記符号化された
模様情報と任意の模様情報のVOPとを選択的に多重化
部21kへ伝達し、動き推定部21eはVOP形成部1
0で得られる模様情報から動きを推定し、動き補償部2
1fはその推定された物体の動き量に応じて動きを補償
する。
The encoder 21 configured as described above selects the object pattern information obtained from the VOP forming section 10 by the switch 21a, and the selected pattern information is the pattern of the corresponding object by the pattern information coding section 21c. It is encoded as information. Then, the selection switch 21d selectively transmits the coded pattern information and the VOP of arbitrary pattern information to the multiplexing unit 21k, and the motion estimation unit 21e causes the VOP formation unit 1 to operate.
The motion compensation unit 2 estimates the motion from the pattern information obtained by
1f compensates the motion according to the estimated motion amount of the object.

【0019】そして、動きの補償された映像はVOP形
成部10から得られる物体模様情報と減算器21gで減
算された後、映像信号符号化21hで映像信号が符号化
された信号情報として多重化部21kに伝達される。こ
の際、映像信号符号化部21hは、マクロブロック内の
物体の存在するブロック個数に応じてメモリ21bに貯
蔵された互いに異なるブロックパターンのための可変長
符号表を選択的に適用してコードブロックパターンを生
成する。
The motion-compensated image is subtracted by the object pattern information obtained from the VOP forming unit 10 by the subtracter 21g, and then multiplexed by the image signal encoding 21h as encoded signal information of the image signal. It is transmitted to the section 21k. At this time, the video signal encoding unit 21h selectively applies variable length code tables for different block patterns stored in the memory 21b according to the number of blocks in which an object is present in the macro block to apply code blocks. Generate a pattern.

【0020】尚、映像信号符号化部21hで符号化され
た映像信号は、加算器21iで動き補償された映像信号
と加算された後、VOP再現部21jで以前VOPとし
て再現され、その再現されたVOPによって動き推定部
21eはVOP形成部10から得られる物体模様情報の
動きを推定し、その結果によって推定された動き情報を
多重化部21kに伝達する。
The video signal coded by the video signal coding unit 21h is added to the motion-compensated video signal by the adder 21i, and then reproduced by the VOP reproducing unit 21j as a previous VOP and reproduced. The motion estimation unit 21e estimates the motion of the object pattern information obtained from the VOP formation unit 10 by the VOP, and transmits the motion information estimated by the result to the multiplexing unit 21k.

【0021】その後、多重化部21kはそれぞれ入力さ
れる符号化された模様情報,動き情報及び信号情報を多
重化して出力させ、その多重化された信号はバッファ部
21mを介して図示しないデコーダへビットストリーム
として伝送される。ここで、本発明の核心は、マクロブ
ロック内の各単位ブロックの物体存在個数に応じてメモ
リ21bに貯蔵された多数の可変長符号表を選択的に適
用することにある。
Thereafter, the multiplexing unit 21k multiplexes the coded pattern information, the motion information and the signal information which are respectively input and outputs them, and the multiplexed signal is sent to a decoder (not shown) via the buffer unit 21m. It is transmitted as a bit stream. Here, the core of the present invention is to selectively apply a large number of variable-length code tables stored in the memory 21b according to the number of existing objects in each unit block in the macroblock.

【0022】次に、このための本発明の実施の形態を説
明する。即ち、図1に示すように、物体Pは必ずしも正
方形を成していないため、マクロブロックMB単位で分
割すると、その分割されたマクロブロックMB内に物体
Pが含まれるブロックと含まれていないブロックとが出
来る。
Next, an embodiment of the present invention for this purpose will be described. That is, as shown in FIG. 1, since the object P does not necessarily have a square shape, when the object P is divided into macroblocks MB, blocks in which the object P is included and blocks in which the object P is not included in the divided macroblock MB. You can

【0023】図1(A)に示すように、多数のマクロブ
ロックMBに分割された1つのフレーム内の映像情報デ
ータとして表わされる物体Pは分割された各マクロブロ
ックにデータとして存在する部分と、存在しない部分と
がある。図1(B)は図1(A)中で点線で囲まれた領
域Qの部分を拡大して示した図である。図中に斜線で示
した部分が物体Pを示している。図1(B)では4つの
マクロブロックMB1,MB2,MB3,MB4が示さ
れており、各マクロブロックは4つの単位ブロックY
1,Y2,Y3,Y4から構成される。従ってマクロブ
ロックMBにMB4内に物体Pが含まれる単位ブロック
と、物体Pが含まれていない単位ブロックとがあること
がわかる。これを区別して図2に示した。
As shown in FIG. 1 (A), an object P represented as video information data in one frame divided into a large number of macroblocks MB is a portion existing as data in each divided macroblock, There are some parts that do not exist. FIG. 1B is an enlarged view of a portion of a region Q surrounded by a dotted line in FIG. The hatched portion in the figure indicates the object P. In FIG. 1B, four macro blocks MB1, MB2, MB3, MB4 are shown, and each macro block includes four unit blocks Y.
1, Y2, Y3, Y4. Therefore, it can be seen that the macroblock MB includes a unit block in which the object P is included in MB4 and a unit block in which the object P is not included. This is distinguished and shown in FIG.

【0024】つまり、図2の(A)に示したマクロブロ
ック1(MB1)は1番目の単位ブロックY1を除いた
その他の単位ブロックY2,Y3,Y4内には物体が全
て存在し、(B)のマクロブロック2(MB2)は全て
の単位ブロックY1,Y2,Y3,Y4内に物体が全て
存在し、(C)のマクロブロック3(MB3)は2番目
の単位ブロックY2内にのみ物体が存在し、(D)のマ
クロブロック4(MB4)は1番目の単位ブロックY1
と2番目の単位ブロックY2にのみ物体が存在する。
That is, in the macro block 1 (MB1) shown in FIG. 2A, all the objects exist in the other unit blocks Y2, Y3, Y4 except the first unit block Y1, and (B) The macroblock 2 (MB2) in () has all the objects in all the unit blocks Y1, Y2, Y3, Y4, and the macroblock 3 (MB3) in (C) has the objects only in the second unit block Y2. The macro block 4 (MB4) of (D) exists and the first unit block Y1
And the object exists only in the second unit block Y2.

【0025】このようにマクロブロック内の各単位ブロ
ックには物体が選択的に存在するので、それぞれの場合
に対して互いに異なる可変長符号表を適用して符号化利
得を高め、且つデータ減縮効率を高める。
Since an object is selectively present in each unit block in a macroblock as described above, different variable length code tables are applied to each case to increase coding gain and data reduction efficiency. Increase.

【0026】即ち、マクロブロック1(MB1)内には
3つの単位ブロックY2,Y3,Y4にのみ物体が存在
するので、表1のような可変長符号表を適用すると、デ
ータ減縮が可能になって符号化利得を高めることができ
る。
That is, since the object exists only in the three unit blocks Y2, Y3 and Y4 in the macro block 1 (MB1), data reduction can be performed by applying the variable length code table as shown in Table 1. The coding gain can be increased.

【表4】 [Table 4]

【0027】マクロブロック2(MB2)には4つの単
位ブロックY1,Y2,Y3,Y4に全て物体が存在す
るので、この場合には図4に示す既存の可変長符号表を
そのまま適用し、マクロブロック3(MB3)には1つ
の単位ブロックY2にのみ物体が存在するので、表3の
ような可変長符号表を適用し、マクロブロック4(MB
4)には2つの単位ブロックY1,Y2にのみ物体が存
在するので、表2のような可変長符号表を適用する。
Since all the objects exist in the four unit blocks Y1, Y2, Y3 and Y4 in the macro block 2 (MB2), in this case, the existing variable length code table shown in FIG. Since the object exists in only one unit block Y2 in the block 3 (MB3), the variable length code table as shown in Table 3 is applied to the macro block 4 (MB3).
Since the object exists only in the two unit blocks Y1 and Y2 in 4), the variable length code table as shown in Table 2 is applied.

【表5】 [Table 5]

【表6】 [Table 6]

【0028】なお上述した実施の形態では、各マクロブ
ロックを4つの正方形単位ブロックに分割した場合につ
いて互いに異なる可変長符号表を適用する場合について
説明したが、分割数はこれに限定されるものではなく、
他の分割数を採用した場合には、それぞれの単位ブロッ
ク内の物体存在可否に応じて符号化利得の一番高い互い
に異なる可変長符号表を実験により同様に求めることが
出来る。このようにマクロブロック内の各単位ブロック
の物体存在有無に応じて互いに異なる可変長符号表(符
号化利得の一番良い可変長符号表)を適用することによ
り、データ減縮率と符号化利得を高めることができる。
In the above-described embodiment, the case where each macro block is divided into four square unit blocks and different variable length code tables are applied has been described, but the number of divisions is not limited to this. Without
When other division numbers are adopted, different variable-length code tables having the highest coding gains can be similarly obtained by experiments according to the existence of the object in each unit block. In this way, by applying different variable length code tables (variable length code table with the best coding gain) depending on the presence / absence of an object in each unit block in a macroblock, the data reduction rate and the coding gain are Can be increased.

【0029】ここで、表1,2,3に示される互いに異
なる可変長符号表は実験によって求められた新しい可変
長符号表であり、ここで、イントラ(INTRA)とイ
ンター(INTER)の用語は次のように定義される。
時間軸上における物体の特性は、以前のフレームには無
かったが現在のフレームには現れた物体の場合(物体タ
イプI)と、極めて小さい物体の場合(10画素以内の
物体;物体タイプII)と、相対的に極めて大きい物体の
場合(10画素以上の物体;物体タイプIII)とに大別さ
れるが、ここで、以前のフレームには無かったが現在の
フレームに現れた物体の場合と、大きさが10画素未満
の極めて小さい物体の場合には符号化タイプをINTR
Aモード(非予測モード)に決定し、前記特性を持って
いない物体の場合にはINTERモード(予測モード)
に決定する。
Here, the different variable length code tables shown in Tables 1, 2, and 3 are new variable length code tables obtained by experiments, and the terms "INTRA" and "INTER" are used here. It is defined as follows.
The characteristics of the object on the time axis are those that did not exist in the previous frame but appeared in the current frame (object type I) and extremely small objects (objects within 10 pixels; object type II). And a relatively large object (object with 10 pixels or more; object type III). Here, there is an object that was not present in the previous frame but appeared in the current frame. , The encoding type is INTR for very small objects less than 10 pixels in size
A mode (non-prediction mode) is decided, and INTER mode (prediction mode) when the object does not have the above characteristics
To decide.

【0030】[0030]

【発明の効果】以上説明したように、本発明は各マクロ
ブロック内を分割した単位ブロック内の物体存在可否に
応じて符号化利得の一番高い互いに異なる可変長符号表
を適用するようにしたので、伝送されるデータの減縮率
を高めることができ、且つ符号化利得も高めることがで
きるという利点がある。
As described above, according to the present invention, different variable length code tables having the highest coding gains are applied according to the existence of an object in a unit block obtained by dividing each macro block. Therefore, there is an advantage that the reduction rate of transmitted data can be increased and the coding gain can also be increased.

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

【図1】任意の物体をマクロブロック単位で分割した例
示図。
FIG. 1 is an exemplary diagram in which an arbitrary object is divided into macroblock units.

【図2】マクロブロック内に物体が存在する単位ブロッ
クを表示した図。
FIG. 2 is a view showing a unit block in which an object exists in a macroblock.

【図3】MPEG−1,MPEG−2,H.261,
H.263などの既存の標準で使用する4つの単位ブロ
ックY1,Y2,Y3,Y4を含むマクロブロックMB
を示す図。
FIG. 3 shows MPEG-1, MPEG-2, H.264. 261,
H. A macroblock MB including four unit blocks Y1, Y2, Y3, Y4 used in the existing standard such as H.263.
FIG.

【図4】H.263標準で使用するコートブロックパタ
ーンに対する可変長符号化表。
FIG. A variable length coding table for the coat block pattern used in the H.263 standard.

【図5】本発明が適用される物体映像符号化システムの
ブロック構成図。
FIG. 5 is a block configuration diagram of an object video encoding system to which the present invention is applied.

【図6】図5中の1つの符号化器21の詳細構成図。6 is a detailed configuration diagram of one encoder 21 in FIG.

【図7】一般的なフレームグリッドとマクロブロックと
の説明図。
FIG. 7 is an explanatory diagram of a general frame grid and a macro block.

【図8】一般的な模様適応形DCT変換の説明図。FIG. 8 is an explanatory diagram of general pattern adaptive DCT conversion.

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

10 VOP形成部 20 符号化部 30 多重化部 MB1〜MB4 マクロブロック Y1〜Y4 単位ブロック 10 VOP forming unit 20 Encoding unit 30 Multiplexing unit MB1 to MB4 Macroblock Y1 to Y4 Unit block

───────────────────────────────────────────────────── フロントページの続き (72)発明者 金 在 均 大韓民国漢城特別市江南区三成洞47−20 象牙ビラB−202 (72)発明者 千 勝 文 大韓民国漢城特別市城東区鷹峰洞 大林ア パート1−104 ─────────────────────────────────────────────────── ───Continued from the front page (72) Inventor Kim Jong-Ion, Ivory villa B-202, 47-20 Samseong-dong, Gangnam-gu, Hanseong-si, Republic of Korea (72) Inventor Chikatsu Fumi Obayashi, Aobayashi, Sung-dong, Hanseong-gu, Republic of Korea Part 1-104

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 1つの映像フレームを複数の単位ブロッ
クを有するマクロブロックに分割し、各マクロブロック
内の前記単位ブロックに映像データが存在するか否かを
表わすコードブロックパターン(CBPY)を作成し、
このコードブロックパターン(CBPY)に可変長符号
表を適用して前記コードブロックパターンに対応する可
変長コード化データを得るデータ圧縮方法において、 前記各マクロブロック中で前記映像データが存在する可
能性のある単位ブロックの個数に応じて異なる可変長符
号表を適用することを特徴とするデータ圧縮方法。
1. A video frame is divided into macroblocks having a plurality of unit blocks, and a code block pattern (CBPY) representing whether video data is present in the unit blocks in each macroblock is created. ,
In a data compression method for obtaining a variable length coded data corresponding to the code block pattern by applying a variable length code table to the code block pattern (CBPY), it is possible that the video data exists in each macro block. A data compression method, wherein different variable length code tables are applied according to the number of certain unit blocks.
【請求項2】 前記マクロブロックの分割は、前記各マ
クロブロックを4つの正方形単位ブロックに分割するこ
とを特徴とする請求項1に記載のデータ圧縮方法。
2. The data compression method according to claim 1, wherein the division of the macroblock is performed by dividing each macroblock into four square unit blocks.
【請求項3】 1つのマクロブロック内で3つの単位ブ
ロックにのみ前記映像データが存在する可能性のある場
合には表1で定義される可変長符号表を適用することを
特徴とする請求項1又は2記載のデータ圧縮方法。 【表1】
3. The variable length code table defined in Table 1 is applied when the video data may be present only in three unit blocks in one macroblock. The data compression method according to 1 or 2. [Table 1]
【請求項4】 1つのマクロブロック内で2つの単位ブ
ロックにのみ前記映像データが存在する可能性のある場
合には、表2で定義される可変長符号表を適用すること
を特徴とする請求項1又は2記載のデータ圧縮方法。 【表2】
4. The variable length code table defined in Table 2 is applied when the video data may be present only in two unit blocks in one macroblock. The data compression method according to Item 1 or 2. [Table 2]
【請求項5】 1つのマクロブロック内で1つの単位ブ
ロックにのみ前記映像データが存在する可能性のある場
合には表3で定義される可変長符号表を適用することを
特徴とする請求項1又は2記載のデータ圧縮方法。 【表3】
5. The variable length code table defined in Table 3 is applied when the video data may exist in only one unit block in one macroblock. The data compression method according to 1 or 2. [Table 3]
JP28437896A 1995-10-26 1996-10-25 Data compression method Expired - Lifetime JP3883618B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1995P-37918 1995-10-26
KR19950037918 1995-10-26

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2003421635A Division JP4405794B2 (en) 1995-10-26 2003-12-18 Encoding block pattern encoding apparatus and encoding block pattern encoding method

Publications (2)

Publication Number Publication Date
JPH09186995A true JPH09186995A (en) 1997-07-15
JP3883618B2 JP3883618B2 (en) 2007-02-21

Family

ID=19431815

Family Applications (4)

Application Number Title Priority Date Filing Date
JP28437896A Expired - Lifetime JP3883618B2 (en) 1995-10-26 1996-10-25 Data compression method
JP2003421635A Expired - Lifetime JP4405794B2 (en) 1995-10-26 2003-12-18 Encoding block pattern encoding apparatus and encoding block pattern encoding method
JP2007062209A Expired - Lifetime JP4572210B2 (en) 1995-10-26 2007-03-12 Method for decoding luminance information
JP2007062205A Expired - Lifetime JP4572209B2 (en) 1995-10-26 2007-03-12 Luminance information decoding device

Family Applications After (3)

Application Number Title Priority Date Filing Date
JP2003421635A Expired - Lifetime JP4405794B2 (en) 1995-10-26 2003-12-18 Encoding block pattern encoding apparatus and encoding block pattern encoding method
JP2007062209A Expired - Lifetime JP4572210B2 (en) 1995-10-26 2007-03-12 Method for decoding luminance information
JP2007062205A Expired - Lifetime JP4572209B2 (en) 1995-10-26 2007-03-12 Luminance information decoding device

Country Status (2)

Country Link
JP (4) JP3883618B2 (en)
CN (1) CN1102824C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3883618B2 (en) * 1995-10-26 2007-02-21 株式会社ハイニックスセミコンダクター Data compression method
CA2467266A1 (en) * 2001-11-22 2003-05-30 Matsushita Electric Industrial Co., Ltd. Variable length coding method and variable length decoding method
CN101742329B (en) * 2008-11-24 2013-02-13 北京中星微电子有限公司 Image coding method and device
CN107083633B (en) * 2017-03-31 2019-07-23 苏州大学 A kind of continuous photocatalytic is stripped machine

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3883618B2 (en) * 1995-10-26 2007-02-21 株式会社ハイニックスセミコンダクター Data compression method

Also Published As

Publication number Publication date
JP2004112842A (en) 2004-04-08
JP3883618B2 (en) 2007-02-21
JP4405794B2 (en) 2010-01-27
JP4572210B2 (en) 2010-11-04
JP4572209B2 (en) 2010-11-04
CN1102824C (en) 2003-03-05
JP2007202183A (en) 2007-08-09
CN1159714A (en) 1997-09-17
JP2007202184A (en) 2007-08-09

Similar Documents

Publication Publication Date Title
US6005980A (en) Motion estimation and compensation of video object planes for interlaced digital video
KR101057863B1 (en) Picture decoding apparatus and picture decoding method
JP5107649B2 (en) Method and apparatus for fixed or adaptive deinterleaved transform coding for video coding and intra coding of video
AU728469B2 (en) Intra-macroblock DC and AC coefficient prediction for interlaced digital video
JP4325708B2 (en) Data processing device, data processing method and data processing program, encoding device, encoding method and encoding program, and decoding device, decoding method and decoding program
EP0644697B1 (en) Method for half-pixel motion compensation in image decoding
JPH10341443A (en) Moving image encoder and decoder and moving image encoding method and decoding method
JP3855522B2 (en) Video converter
KR100211917B1 (en) Object shape information coding method
EP0856995B1 (en) Video coding and decoding apparatus with motion compensation
KR100905059B1 (en) The method and apparatus for block mode decision using predicted bit generation possibility in video coding
JP4572210B2 (en) Method for decoding luminance information
USRE38564E1 (en) Motion estimation and compensation of video object planes for interlaced digital video
JP4660408B2 (en) Encoding method
JP2000023195A (en) Image encoding device and method, image decoding device and method and encoded data providing medium
KR100568649B1 (en) Moving-picture decording apparatus and moving-picture decording method
KR100359819B1 (en) An Efficient Edge Prediction Methods In Spatial Domain Of Video Coding
JP3671286B2 (en) Image processing method, image processing apparatus, and data storage medium
JP3384739B2 (en) Video decoding method
AU728756B2 (en) Motion estimation and compensation of video object planes for interlaced digital video
KR19990013990A (en) Image compression
JP4213526B2 (en) Image processing method
JPH06245205A (en) Method and device for coding interlace picture
AU1839301A (en) Padding of video object planes for interlaced digital video
Jerbi et al. The Use of MPEG-4 AVC in the Contribution Market

Legal Events

Date Code Title Description
A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20040423

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061002

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061115

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20091124

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20101124

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111124

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111124

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121124

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20121124

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20131124

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term