JP2004112842A - Coding device for coding block pattern and coding method for coding block pattern - Google Patents

Coding device for coding block pattern and coding method for coding block pattern Download PDF

Info

Publication number
JP2004112842A
JP2004112842A JP2003421635A JP2003421635A JP2004112842A JP 2004112842 A JP2004112842 A JP 2004112842A JP 2003421635 A JP2003421635 A JP 2003421635A JP 2003421635 A JP2003421635 A JP 2003421635A JP 2004112842 A JP2004112842 A JP 2004112842A
Authority
JP
Japan
Prior art keywords
length code
variable length
code table
macroblock
block
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
JP2003421635A
Other languages
Japanese (ja)
Other versions
JP4405794B2 (en
Inventor
Jin-Hak Lee
李 震 鶴
Kwang-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
Hynix Semiconductor Inc
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 Hynix Semiconductor Inc filed Critical Hynix Semiconductor Inc
Publication of JP2004112842A publication Critical patent/JP2004112842A/en
Application granted granted Critical
Publication of JP4405794B2 publication Critical patent/JP4405794B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a data compression method which enhances the compression rate of transmitted data. <P>SOLUTION: When an object is selectively present in unit blocks in a macro block, variable length code tables for block patterns mutually different depending on the number of the unit blocks in which the object is in existence is applied. <P>COPYRIGHT: (C)2004,JPO

Description

 本発明は、フレーム内の映像データを可変長コード化データに変換して伝送する符号化装置と符号化方法に関する。 The present invention relates to an encoding device and an encoding method for converting video data in a frame into variable-length coded data and transmitting the data.

 近年、ビデオフォンや映像会議などをISDN網(Integrated Service Digital Network:統合サービスディジタル網)を用いて提供するH.261や公衆電話交換網(PSTN)を用いたビデオフォンサービスのためのH.263などが画像圧縮技術の世界標準化のための技術標準として提案されている。 In recent years, videophones, video conferences, and the like have been provided using an ISDN (Integrated Service Digital Network). H.261 for videophone services using the Public Switched Telephone Network (PSTN). H.263 and the like have been proposed as technical standards for global standardization of image compression technology.

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

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

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

 図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 drawing showing the relationship between one frame grid 31 and one unit macroblock 33. In FIG. One frame grid 31 is divided into an array in the X-axis and Y-axis directions, and each division becomes a unit macroblock 33. FIG. 7A shows a frame grid in which the grid start position points are X-0 and Y-0, and FIG. 7B shows one unit macroblock in an enlarged manner. A state where the image is divided into eight on the X axis and eight on the Y axis is shown. Here, the divided element is referred to as a pixel 34. The unit macro block 33 is called an N × M macro block according to the number of pixels. Therefore, the unit macroblock in FIG. 7B is an 8 × 8 macroblock.

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

 以下、このような従来の形状適応形技法をより詳しく説明する。
 図8(A)は、8×8のマクロブロック内に移動補償不可能物体(斜線の引かれた部分)が存在する様子を示している。
 この移動補償不可能物体を形状適応形DCTにより符号化するために、まず図8(B)に示すようにブロックの上方境界に移動補償不可能物体を満たしておいて垂直方向に、即ちY方向に1次元DCTにより符号化を行う。
Hereinafter, such a conventional shape adaptive technique will be described in more detail.
FIG. 8A shows a state in which an object that cannot be compensated for movement (a shaded portion) exists in an 8 × 8 macro block.
In order to encode this non-motion compensable object by the shape adaptive DCT, first, as shown in FIG. Is encoded by one-dimensional DCT.

 図8(C)の黒い円印は垂直方向1次元DCTの離散コサイン変換(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 circles in FIG. 8C represent the discrete cosine transform (DC) values of the one-dimensional DCT in the vertical direction. In this state, one-dimensional DCT in the Y direction is performed. When the one-dimensional DCT in the Y direction is performed as described above and the state shown in FIG. 8D is obtained, the block is again filled with the left boundary of the block as shown in FIG. Perform DCT coding. When the X-direction one-dimensional DCT is completed, the X-direction and Y-direction one-dimensional shape adaptive DCT is completed as shown in FIG.

 最終形態の図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 according to FIG. 8F of the final form, and a moving object is scanned diagonally from the uppermost block on the leftmost side.
MPEG-1, MPEG-2, JPEG, and H.264 using the block center coding described above. 261, H .; Existing standards, such as H.263, use macroblocks MB of the form shown in FIG. In this case, four blocks Y1, Y2, Y3, and Y4 exist in one macroblock as shown in FIG. When encoding four blocks (blocks) existing in the macro block MB, there are cases where data exists in each of the blocks Y1, Y2, Y3, and Y4 and cases where data does not exist. Existing standards use a Coded Block Pattern to indicate whether data exists in a block.

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

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

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

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

 本発明の符号化ブロックパターンの符号化装置は、符号化された形状情報を利用して、複数の単位ブロックを有するマクロブロック内で物体が存在する単位ブロックの個数に応じて4つの可変長符号テーブルのうちの1つを選択し、符号化されるマクロブロックの符号化ブロックパターンに応じて選択される可変長符号テーブル上の可変長符号コードを選択するための制御手段と、前記マクロブロック内で物体が存在する単位ブロックの個数に相応する前記4つの可変長符号テーブルを格納するための可変長符号テーブル格納手段と、前記マクロブロックにおける符号化されたブロックパターンに応じて前記可変長符号コードを伝送し、物体が存在しない単位ブロックにおけるテクスチャ情報の符号化を省略するビデオ信号符号化手段とを含むことを特徴とする。 The coding block pattern coding apparatus of the present invention uses the coded shape information to generate four variable-length codes according to the number of unit blocks in which an object exists in a macroblock having a plurality of unit blocks. Control means for selecting one of the tables and selecting a variable length code on the variable length code table selected according to the coding block pattern of the macroblock to be coded; A variable-length code table storing means for storing the four variable-length code tables corresponding to the number of unit blocks in which the object exists, and the variable-length code code according to a coded block pattern in the macro block. And a video signal encoding unit that skips encoding of texture information in a unit block where no object exists. And wherein the Mukoto.

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

 以下、本発明の実施の形態を添付図面に基づいて詳細に説明する。
 本発明が適用されるシステムは図5に示されている一般的な映像符号化システムであり、映像信号が入力され、1つのフレームの映像を物体別に映像分割するVOP(Video Object Plane:映像物体面)形成部10と、そのVOP形成部10から得られる各物体の形状情報を符号化する符号化部20と、前記符号化部20内のそれぞれの符号化器21,22,23,…からそれぞれ得られる符号化された映像信号を多重化する多重化部30とから構成される。VOP形成部10で映像信号入力手段から入力される1つのフレームの映像情報を物体別に分割し、符号化部20内のそれぞれの符号化器21,22,23,…でそれぞれ物体別に形状情報を符号化する。
Hereinafter, embodiments of the present invention will be described 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, in which a video signal is input, and a video object plane (VOP) that divides a video of one frame into video by object. Surface) forming unit 10, an encoding unit 20 for encoding shape information of each object obtained from the VOP forming unit 10, and respective encoders 21, 22, 23, ... in the encoding unit 20. And a multiplexing unit 30 for multiplexing the obtained encoded video signals. The VOP forming unit 10 divides the video information of one frame input from the video signal input unit into objects, and the encoders 21, 22, 23,. Encode.

 ここで、符号化部20内の1つの符号化器21は図6に示すように構成される。物体形状情報を選択するためのスイッチ21aと、スイッチ21aによって選択された形状情報を符号化する形状情報符号化部21cと、形状情報符号化部21cで符号化された形状情報と任意の形状情報とを選択するための選択スイッチ21dと、スイッチ21aによって選択された形状情報の動きを、再現された以前の形状情報または任意形状の情報によって推定する動き推定部21eと、動き推定部21eで推定される動き量に応じて形状情報の動きを補償する動き補償部21fと、VOP形成部10で得られる映像から動き補償部21fで補償された映像を減算する減算器21gと、減算器21gから得られる映像信号を符号化する映像信号符号化部21hと、映像信号符号化部21hから得られる映像情報と動き補償部21fで動き補償された映像信号とを加算する加算器21iと、加算器21iから得られる映像信号でVOPを再現するVOP再現部21jと、マクロブロック内の物体の存在するブロックの個数に応じた互いに異なるブロックパターンのための可変長符号表が貯蔵されたメモリ21bとから構成される。 Here, one encoder 21 in the encoding unit 20 is configured as shown in FIG. A switch 21a for selecting object shape information, a shape information encoding unit 21c for encoding the shape information selected by the switch 21a, a shape information encoded by the shape information encoding unit 21c, and arbitrary shape information And a motion estimator 21e for estimating the motion of the shape information selected by the switch 21a using the reproduced previous shape information or information of an arbitrary shape, and a motion estimator 21e. A motion compensator 21f for compensating the motion of the shape information according to the amount of motion to be performed, a subtracter 21g for subtracting the video compensated by the motion compensator 21f from the video obtained by the VOP forming unit 10, and a subtractor 21g. The video signal encoding unit 21h that encodes the obtained video signal, and the video information obtained from the video signal encoding unit 21h and the motion compensated by the motion compensation unit 21f. An adder 21i for adding the compensated video signal, a VOP reproducing unit 21j for reproducing a VOP with the video signal obtained from the adder 21i, and different blocks according to the number of blocks in the macroblock where an object exists. And a memory 21b storing a variable length code table for the pattern.

 このように構成された符号化器21は、スイッチ21aによってVOP形成部10から得られる物体形状情報を選択し、その選択された形状情報は形状情報符号化部21cで該当物体の形状情報として符号化される。そして、選択スイッチ21dで前記符号化された形状情報と任意の形状情報のVOPとを選択的に多重化部21kへ伝達し、動き推定部21eはVOP形成部10で得られる形状情報から動きを推定し、動き補償部21fはその推定された物体の動き量に応じて動きを補償する。 The encoder 21 configured as described above selects the object shape information obtained from the VOP forming unit 10 by the switch 21a, and the selected shape information is encoded by the shape information encoding unit 21c as the shape information of the corresponding object. Be converted to Then, the coded shape information and the VOP of arbitrary shape information are selectively transmitted to the multiplexing unit 21k by the selection switch 21d, and the motion estimating unit 21e calculates the motion from the shape information obtained by the VOP forming unit 10. The motion compensating unit 21f estimates the motion and compensates for the motion according to the estimated motion amount of the object.

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

 尚、映像信号符号化部21hで符号化された映像信号は、加算器21iで動き補償された映像信号と加算された後、VOP再現部21jで以前VOPとして再現され、その再現されたVOPによって動き推定部21eはVOP形成部10から得られる物体形状情報の動きを推定し、その結果によって推定された動き情報を多重化部21kに伝達する。 Note that the video signal encoded by the video signal encoding unit 21h is added to the motion-compensated video signal by the adder 21i, and is then reproduced by the VOP reproduction unit 21j as a VOP before. The motion estimating unit 21e estimates the motion of the object shape information obtained from the VOP forming unit 10, and transmits the motion information estimated based on the result to the multiplexing unit 21k.

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

 次に、このための本発明の実施の形態を説明する。
 即ち、図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 always form a square, when the object P is divided into macroblock MBs, the blocks including the object P and the blocks not including the object P are included in the divided macroblock MB. Can be.

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

 つまり、図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, the macroblock 1 (MB1) shown in FIG. 2A has all objects in the other unit blocks Y2, Y3, and Y4 except for the first unit block Y1, and the macroblock B shown in FIG. In block 2 (MB2), all objects exist in all unit blocks Y1, Y2, Y3, and Y4. In macroblock 3 (MB3) in (C), objects exist only in the second unit block Y2. In the macroblock 4 (MB4) of (D), an object exists only in the first unit block Y1 and the second unit block Y2.

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

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

Figure 2004112842
Figure 2004112842

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

Figure 2004112842
Figure 2004112842

Figure 2004112842
Figure 2004112842

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

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

任意の物体をマクロブロック単位で分割した例示図。FIG. 3 is an exemplary diagram in which an arbitrary object is divided in units of macro blocks. マクロブロック内に物体が存在する単位ブロックを表示した図。The figure which displayed the unit block in which the object exists in a macroblock. MPEG−1,MPEG−2,H.261,H.263などの既存の標準で使用する4つの単位ブロックY1,Y2,Y3,Y4を含むマクロブロックMBを示す図。MPEG-1, MPEG-2, H.264; 261, H .; FIG. 6 is a diagram showing a macroblock MB including four unit blocks Y1, Y2, Y3, and Y4 used in an existing standard such as H.263. H.263標準で使用するコードブロックパターンに対する可変長符号化表。H. 263 is a variable-length coding table for a code block pattern used in the standard. 本発明が適用される物体映像符号化システムのブロック構成図。1 is a block diagram of an object video coding system to which the present invention is applied. 図5中の1つの符号化器21の詳細構成図。FIG. 6 is a detailed configuration diagram of one encoder 21 in FIG. 5. 一般的なフレームグリッドとマクロブロックとの説明図。FIG. 3 is an explanatory diagram of a general frame grid and macro blocks. 一般的な形状適応形DCT変換の説明図。FIG. 3 is an explanatory diagram of a general shape adaptive DCT transform.

符号の説明Explanation of reference numerals

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

Claims (11)

 符号化された形状情報を利用して、複数の単位ブロックを有するマクロブロック内で物体が存在する単位ブロックの個数に応じて4つの可変長符号テーブルのうちの1つを選択し、符号化されるマクロブロックの符号化ブロックパターンに応じて選択される可変長符号テーブル上の可変長符号コードを選択するための制御手段と、
 前記マクロブロック内で物体が存在する単位ブロックの個数に相応する前記4つの可変長符号テーブルを格納するための可変長符号テーブル格納手段と、
 前記マクロブロックにおける符号化されたブロックパターンに応じて前記可変長符号コードを伝送し、物体が存在しない単位ブロックにおけるテクスチャ情報の符号化を省略するビデオ信号符号化手段と
を含むことを特徴とする符号化ブロックパターンの符号化装置。
Utilizing the encoded shape information, one of the four variable length code tables is selected according to the number of unit blocks in which an object is present in a macroblock having a plurality of unit blocks, and is encoded. Control means for selecting a variable length code on the variable length code table selected according to the coding block pattern of the macro block,
Variable length code table storage means for storing the four variable length code tables corresponding to the number of unit blocks in which objects are present in the macroblock;
Video signal encoding means for transmitting the variable length code according to the encoded block pattern in the macroblock and omitting encoding of texture information in a unit block where no object exists. An encoding device for an encoded block pattern.
 前記可変長符号テーブル格納手段は4つの物体が存在する単位ブロックを含むマクロブロックに相当する第1可変長符号テーブルを格納し、
 前記第1可変長符号テーブルは、
Figure 2004112842
であることを特徴とする請求項1に記載の符号化ブロックパターンの符号化装置。
The variable length code table storage means stores a first variable length code table corresponding to a macro block including a unit block in which four objects exist,
The first variable length code table includes:
Figure 2004112842
2. The apparatus according to claim 1, wherein:
 前記可変長符号テーブル格納手段は3つの物体が存在する単位ブロックを含むマクロブロックに相当する第2可変長符号テーブルを格納し、
 前記第2可変長符号テーブルは、
Figure 2004112842
であることを特徴とする請求項1に記載の符号化ブロックパターンの符号化装置。
The variable length code table storage means stores a second variable length code table corresponding to a macroblock including a unit block in which three objects exist;
The second variable length code table includes:
Figure 2004112842
2. The apparatus according to claim 1, wherein:
 前記可変長符号テーブル格納手段は2つの物体の存在する単位ブロックを含むマクロブロックに相応する第3可変長符号テーブルを格納し、
 前記第3可変長符号テーブルは、
Figure 2004112842
であることを特徴とする請求項1に記載の符号化ブロックパターンの符号化装置。
The variable length code table storage means stores a third variable length code table corresponding to a macroblock including a unit block where two objects exist,
The third variable length code table is:
Figure 2004112842
2. The apparatus according to claim 1, wherein:
 前記可変長符号テーブル格納手段は1つの物体の存在する単位ブロックを含むマクロブロックに相応する第4可変長符号テーブルを格納し、
 前記第4可変長符号テーブルは、
Figure 2004112842
であることを特徴とする請求項1に記載の符号化ブロックパターンの符号化装置。
The variable length code table storage means stores a fourth variable length code table corresponding to a macro block including a unit block where one object exists,
The fourth variable length code table is:
Figure 2004112842
2. The apparatus according to claim 1, wherein:
 符号化された形状情報を利用して、複数の単位ブロックを有するマクロブロック内で物体が存在する単位ブロックの個数及び符号化されるマクロブロックの符号化ブロックパターンを決定する第1ステップと、
 物体が存在する単位ブロックの個数に応じて4つの可変長符号テーブルのうちの1つを選択する第2ステップと、
 前記符号化されるマクロブロックの符号化ブロックパターンに応じて選択された可変長符号テーブル上の可変長符号コードを選択する第3ステップと、
 前記可変長符号コードを伝送し、マクロブロックにおける物体が存在しない単位ブロックのためのテクスチャ情報の符号化は省略する第4ステップと
を含むことを特徴とする符号化ブロックパターンの符号化方法。
A first step of determining the number of unit blocks where an object is present in a macroblock having a plurality of unit blocks and an encoded block pattern of the encoded macroblock using the encoded shape information;
A second step of selecting one of the four variable-length code tables according to the number of unit blocks in which the object exists;
A third step of selecting a variable-length code on a variable-length code table selected according to a coding block pattern of the macroblock to be coded;
A fourth step of transmitting the variable length code and omitting the encoding of texture information for a unit block in which no object is present in a macroblock.
 前記第1ステップは、
 前記符号化された形状情報を利用してマクロブロック内に少なくとも1つの物体が存在する単位ブロックを検出するステップと、
 検出された単位ブロックの個数をカウントするステップと、
 カウントされた単位ブロックの個数に基づいて前記符号化ブロックパターンを決定するステップと
を含むことを特徴とする請求項6に記載の符号化ブロックパターンの符号化方法。
The first step is
Detecting a unit block in which at least one object is present in a macroblock using the encoded shape information;
Counting the number of detected unit blocks;
7. The method of claim 6, further comprising: determining the coded block pattern based on the counted number of unit blocks.
 前記マクロブロックが4つの物体が存在する単位ブロックを含む場合には第1可変長符号テーブルが選択され、
 前記第1可変長符号テーブルは、
Figure 2004112842
であることを特徴とする請求項6に記載の符号化ブロックパターンの符号化方法。
If the macroblock includes a unit block in which four objects exist, a first variable length code table is selected,
The first variable length code table includes:
Figure 2004112842
The encoding method of an encoded block pattern according to claim 6, wherein
 前記マクロブロックが3つの物体が存在するブロックを含む場合に第2可変長符号テーブルが選択され、
前記第2可変長符号テーブルは、
Figure 2004112842
であることを特徴とする請求項6に記載の符号化ブロックパターンの符号化方法。
A second variable length code table is selected when the macroblock includes a block in which three objects exist;
The second variable length code table includes:
Figure 2004112842
The encoding method of an encoded block pattern according to claim 6, wherein
 前記マクロブロックが2つの物体が存在するブロックを含む場合に第3可変長符号テーブルが選択され、
 前記第3可変長符号テーブルは、
Figure 2004112842
であることを特徴とする請求項6に記載の符号化ブロックパターンの符号化方法。
A third variable length code table is selected when the macroblock includes a block in which two objects exist;
The third variable length code table is:
Figure 2004112842
The encoding method of an encoded block pattern according to claim 6, wherein
 前記マクロブロックが1つの物体が存在するブロックを含む場合に第4可変長符号テーブルが選択され、
 前記第4可変長符号テーブルは、
Figure 2004112842
であることを特徴とする請求項6に記載の符号化ブロックパターンの符号化方法。
A fourth variable-length code table is selected when the macroblock includes a block in which one object exists;
The fourth variable length code table is:
Figure 2004112842
The encoding method of an encoded block pattern according to claim 6, wherein
JP2003421635A 1995-10-26 2003-12-18 Encoding block pattern encoding apparatus and encoding block pattern encoding method Expired - Lifetime JP4405794B2 (en)

Applications Claiming Priority (1)

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

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP28437896A Division JP3883618B2 (en) 1995-10-26 1996-10-25 Data compression method

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP2007062205A Division JP4572209B2 (en) 1995-10-26 2007-03-12 Luminance information decoding device
JP2007062209A Division JP4572210B2 (en) 1995-10-26 2007-03-12 Method for decoding luminance information

Publications (2)

Publication Number Publication Date
JP2004112842A true JP2004112842A (en) 2004-04-08
JP4405794B2 JP4405794B2 (en) 2010-01-27

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 Before (1)

Application Number Title Priority Date Filing Date
JP28437896A Expired - Lifetime JP3883618B2 (en) 1995-10-26 1996-10-25 Data compression method

Family Applications After (2)

Application Number Title Priority Date Filing Date
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
CN1102824C (en) * 1995-10-26 2003-03-05 现代电子产业株式会社 Method for forming body self-adaptation block diagram
CN1301014C (en) * 2001-11-22 2007-02-14 松下电器产业株式会社 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
CN1102824C (en) * 1995-10-26 2003-03-05 现代电子产业株式会社 Method for forming body self-adaptation block diagram

Also Published As

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

Similar Documents

Publication Publication Date Title
JP4324844B2 (en) Image decoding apparatus and image decoding method
US6005980A (en) Motion estimation and compensation of video object planes for interlaced digital video
KR100340369B1 (en) Encoding method
JP5107649B2 (en) Method and apparatus for fixed or adaptive deinterleaved transform coding for video coding and intra coding of video
JP3856262B2 (en) Motion compensation encoding apparatus, motion compensation encoding method, and motion compensation code recording medium
EP0644697B1 (en) Method for half-pixel motion compensation in image decoding
KR20060109290A (en) Image decoding device, image decoding method, and image decoding program
KR100211917B1 (en) Object shape information coding method
EP0856995B1 (en) Video coding and decoding apparatus with motion compensation
JP4572210B2 (en) Method for decoding luminance information
USRE38564E1 (en) Motion estimation and compensation of video object planes for interlaced digital video
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
JP3086585B2 (en) Stereo image coding device
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
JP4213526B2 (en) Image processing method
JP2630022B2 (en) Motion compensated interframe coding device
EP0892559A1 (en) Padding of object border blocks for motion estimation and transform coding in an object-oriented video coder
JPH06245205A (en) Method and device for coding interlace picture
AU728756B2 (en) Motion estimation and compensation of video object planes for interlaced digital video
JPH11243550A (en) Dynamic image decoding method
AU1839301A (en) Padding of video object planes for interlaced digital video
MXPA00008676A (en) Method and apparatus for padding interlaced macroblock texture information

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060502

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060516

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20060814

A602 Written permission of extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A602

Effective date: 20060825

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061115

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061212

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070312

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070612

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20091105

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

Free format text: PAYMENT UNTIL: 20121113

Year of fee payment: 3

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: 20121113

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131113

Year of fee payment: 4

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