JPH08163575A - Method and device for decoding picture - Google Patents

Method and device for decoding picture

Info

Publication number
JPH08163575A
JPH08163575A JP30749294A JP30749294A JPH08163575A JP H08163575 A JPH08163575 A JP H08163575A JP 30749294 A JP30749294 A JP 30749294A JP 30749294 A JP30749294 A JP 30749294A JP H08163575 A JPH08163575 A JP H08163575A
Authority
JP
Japan
Prior art keywords
frame
image
decoding
frames
picture
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
JP30749294A
Other languages
Japanese (ja)
Other versions
JP2820631B2 (en
Inventor
Norihiko Nagai
律彦 永井
Yutaka Okada
豊 岡田
Yoshika Kawamura
嘉郁 川村
Tomoyuki Shindo
朋行 進藤
Shigeru Komatsu
茂 小松
Takayuki Kobayashi
孝之 小林
Ryuji Saito
隆二 西塔
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.)
GRAPHICS COMMUN LAB KK
Original Assignee
GRAPHICS COMMUN LAB KK
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 GRAPHICS COMMUN LAB KK filed Critical GRAPHICS COMMUN LAB KK
Priority to JP30749294A priority Critical patent/JP2820631B2/en
Publication of JPH08163575A publication Critical patent/JPH08163575A/en
Application granted granted Critical
Publication of JP2820631B2 publication Critical patent/JP2820631B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/004Predictors, e.g. intraframe, interframe coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE: To provide a method and a device for decoding pictures capable of obtaining picture output with less noise even when an I frame is not provided inside a sequence. CONSTITUTION: At the time of predicting picture frames from plural prediction frames and decoding encoded picture data, the first P1 frame and the next B2 frame of ant input bit stream 100 are the frames predicted from the two frames that are a P0 frame before being inputted and the P1 frame inputted at first originally in a movement compensation picture reproducing part 60. Thus, for the next B2 frame of the first P1 frame, the first P1 frame is read from a frame memory, another reference picture is defined as entirely gray instead of the uninputted P0 frame and reproduction is performed in the movement compensation picture reproducing part 60. For the second P4 and succeeding frames, a processing similar to the normal processing is performed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、符号化された画像デー
タを復号する画像復号方法および装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image decoding method and device for decoding encoded image data.

【0002】[0002]

【従来の技術】ディジタル表現された画像データを伝送
または蓄積する場合、データ量を削減するために符号化
が行われる。符号化の方法としては、画像情報(画像デ
ータ)の時間的または空間的相関性を利用して冗長度を
少なくする方法がある。
2. Description of the Related Art When transmitting or storing digitally represented image data, encoding is performed to reduce the amount of data. As an encoding method, there is a method of reducing redundancy by utilizing temporal or spatial correlation of image information (image data).

【0003】時間的相関性を利用する方法として、連続
する2画素(フレーム)の差分を符号化したり、画像の
動きを検出して動き補償を行ったりするものがある。ま
た、空間的相関性を利用する方法として、画像を所定の
大きさのブロック(例えば縦方向,横方法とも8画素ず
つ)に分けて、ブロック内のデータを直交変換し、変換
係数をスキャン変換し(例えば低周波成分から高周波成
分の順に並び替える)、可変長符号化を行うものがあ
る。MPEG(Moving Picture Experts Group)が標準
化を進めている画素符号化方式(以下、MPEG2と略
す)は、上記2つの方法を併用するものとなっている。
MPEG2の暫定勧告は”Generic Codingof Moving Pi
ctures and Associated Audio" と題するISO/IEC 13818
-2 に記載されている。
As a method of utilizing temporal correlation, there is a method of encoding a difference between two consecutive pixels (frames) or detecting motion of an image to perform motion compensation. As a method of utilizing the spatial correlation, the image is divided into blocks of a predetermined size (for example, 8 pixels in each of the vertical direction and the horizontal method), the data in each block is orthogonally converted, and the conversion coefficient is scan-converted. However, there is one that performs variable length coding (for example, rearranges in order from low frequency components to high frequency components). A pixel coding method (hereinafter abbreviated as MPEG2), which is being standardized by the Moving Picture Experts Group (MPEG), uses both of the above two methods in combination.
The provisional recommendation for MPEG2 is "Generic Coding of Moving Pi
ISO / IEC 13818 entitled "Ctures and Associated Audio"
-2.

【0004】本発明は、MPEG2のあらゆる画像を復
号する処理に適応可能であるので、復号処理について説
明する。
Since the present invention can be applied to the process of decoding all MPEG2 images, the decoding process will be described.

【0005】図5は、このような方法により符号化され
たデータを復号する画像復号装置の従来の構成例を示す
ブロック図である。図5において、バッファ制御部1,
可変長復号器2,スキャン変換器3,逆量子化器4,逆
DCT部5,動き補償画像再生部6により復号処理が実
行される。50はメモリであり、バッファメモリ51お
よびフレームメモリ(後述する3つのI,P,Bフレー
ムのメモリ)52,53,54からなる。また、100
は符号化された画像を表現する入力ビットストリーム、
200は再生画像を示す。
FIG. 5 is a block diagram showing an example of a conventional structure of an image decoding apparatus for decoding data encoded by such a method. In FIG. 5, the buffer control unit 1,
Decoding processing is executed by the variable length decoder 2, the scan converter 3, the inverse quantizer 4, the inverse DCT unit 5, and the motion compensation image reproducing unit 6. Reference numeral 50 denotes a memory, which includes a buffer memory 51 and a frame memory (three I, P, and B frame memories described later) 52, 53, and 54. Also, 100
Is the input bitstream representing the encoded image,
Reference numeral 200 indicates a reproduced image.

【0006】次に、動作について説明する。入力ビット
ストリーム100は、バッファ制御部1の制御により、
データ40としてバッファメモリ51に蓄積される。バ
ッファメモリ51から読み出されたデータ41は、可変
長復号器2によって、可変長復号される。
Next, the operation will be described. The input bit stream 100 is controlled by the buffer control unit 1.
The data 40 is stored in the buffer memory 51. The data 41 read from the buffer memory 51 is variable length decoded by the variable length decoder 2.

【0007】全データが可変長符号化されている訳では
ないが、固定長符号もこの可変長復号器2で復号される
ものとする。次に、スキャン変換器3によりデータの順
序を並び変えた後、逆量子化器4により逆量子化され
る。次に、逆DCT部5により逆離散コサイン変換され
る。動き補償画像再生部6では、画像の動きを考慮した
再生を行う。MPEG2では、時間的に前のフレーム
(ここではIフレーム)と時間的に後のフレーム(ここ
ではPフレーム)の両方から時間的に中間のフレーム
(ここではBフレーム)の予測を行う。そのため、Bフ
レームの再生には、予め復号されているIフレームとP
フレームの予測フレームデータ42,43をフレームメ
モリ52,53から読み出す必要がある(MPEG2で
は、時間的に後のPフレームはBフレームに先立って復
号される)。予測フレームデータ42,43と逆DCT
部5の出力である予測誤差によりBフレームを動き補償
画像再生部6で再生し、再生画素データ44としてフレ
ームメモリ54に書き込まれる。フレームメモリ52,
53,54中にあるI,P,Bのフレームは所定の順に
各メモリから読み出され(図5ではBフレームのデータ
45を読み出している)、再生画像200が出力され
る。
Although not all data is variable length coded, it is assumed that fixed length code is also decoded by this variable length decoder 2. Next, the order of the data is rearranged by the scan converter 3 and then dequantized by the dequantizer 4. Next, the inverse DCT unit 5 performs inverse discrete cosine transform. The motion-compensated image reproduction unit 6 performs reproduction in consideration of the movement of the image. In MPEG2, a temporally intermediate frame (here, B frame) is predicted from both a temporally previous frame (here, I frame) and a temporally later frame (here, P frame). Therefore, to reproduce the B frame, the I frame and P that have been decoded in advance are used.
It is necessary to read the predicted frame data 42 and 43 of a frame from the frame memories 52 and 53 (in MPEG2, a P frame that is temporally later is decoded before a B frame). Predicted frame data 42, 43 and inverse DCT
The B frame is reproduced by the motion compensation image reproducing unit 6 according to the prediction error output from the unit 5, and is written in the frame memory 54 as reproduced pixel data 44. Frame memory 52,
The I, P, and B frames in 53 and 54 are read from each memory in a predetermined order (the data 45 of the B frame is read in FIG. 5), and the reproduced image 200 is output.

【0008】本発明は、MPEG2のあらゆる画像を処
理する装置に適用可能であるが、例として、NTSC画
像を再生する場合を考えてみる。NTSC画像の1フレ
ームは、図6のように横720画素、縦480ラインか
らなる。これを横,縦とも16画素ずつに分割する。1
分割の単位をマクロブロックと呼ぶ(以下、MBと略
す)。NTSC画像は、横45MB,縦30MB、全部
で1350MBに分割される。また、MPEG2では横
1行内に閉じたMBの集合体をスライスと呼び、NTS
C画像は最低でも30スライスに分割される。
The present invention can be applied to an apparatus for processing all MPEG2 images, but as an example, consider the case of reproducing an NTSC image. One frame of an NTSC image consists of 720 horizontal pixels and 480 vertical lines, as shown in FIG. This is divided horizontally and vertically into 16 pixels each. 1
A unit of division is called a macroblock (hereinafter abbreviated as MB). The NTSC image is divided into 45 MB horizontally, 30 MB vertically, and 1350 MB in total. In MPEG2, an aggregate of MBs enclosed in one horizontal row is called a slice, and is called an NTS.
The C image is divided into at least 30 slices.

【0009】MPEG2では、MBの種類は、大きく分
割して、イントラMBとインターMBの2つがあり、イ
ントラMBは、そのMB内の画像データのみで符号化し
たMBであり、一方、インターMBは、表示順で以前ま
たは未来、またはその両方のフレームの再生画像との差
分を符号化したMBである。また、インターMBには、
差分信号に加えて、表示順で以前または未来の再生画像
からの画像の移動分を表す動きベクトルも付加される。
In MPEG2, the types of MB are roughly divided into two types, an intra MB and an inter MB. The intra MB is an MB coded only with the image data in the MB, while the inter MB is , The MB in which the differences from the reproduced images of the previous and / or future frames in display order are encoded. In addition, inter MB,
In addition to the difference signal, a motion vector representing the amount of movement of the image from the previous or future reproduced image in display order is also added.

【0010】MPEG2の入力ビットストリーム100
は階層構造を持ち、上位の階層から、シーケンス層,グ
ループオブピクチャ層,ピクチャ層,スライス層,MB
層,ブロック層と呼ばれる。ピクチャ層は1枚の画像を
構成する層で、グループオブピクチャ層は、Iフレーム
で始まる複数のピクチャ層で構成される。シーケンス層
は、一連のピクチャのつながりであり、通常シーケンス
層は、複数のグループオブピクチャ層で構成されるが、
グループオブピクチャ層がなく、複数のピクチャ層で構
成される場合もある。復号を開始する場合、シーケンス
層にグループオブピクチャ層が含まれている場合は、シ
ーケンス層の最初のピクチャは必ずIフレームであるた
め、参照画像を必要とせずに、即座に復号を開始でき
る。しかし、シーケンス層にグループオブピクチャ層が
含まれていない場合、シーケンス層の最初のピクチャ
は、IフレームとPフレームのどちらでもよく、Pフレ
ームで始まっている場合は、参照画像なしで復号を開始
するか、参照画像のIフレームが入力されるまで、復号
を開始しないかのどちらかである。
MPEG2 input bitstream 100
Has a hierarchical structure, and from the upper layer, the sequence layer, the group of picture layer, the picture layer, the slice layer, and the MB
Layers and block layers are called. The picture layer is a layer forming one image, and the group of picture layer is composed of a plurality of picture layers starting with an I frame. The sequence layer is a series of pictures, and usually the sequence layer is composed of a plurality of group of picture layers.
In some cases, there is no group of picture layer and the picture layer is composed of multiple picture layers. When starting decoding, if the sequence layer includes a group of picture layers, the first picture in the sequence layer is always an I frame, so decoding can be started immediately without the need for a reference image. However, if the sequence layer does not include a group of picture layer, the first picture in the sequence layer may be either an I frame or a P frame, and if it starts with a P frame, decoding is started without a reference image. Either, or the decoding is not started until the I frame of the reference image is input.

【0011】Iフレームのデータ量は、Pフレーム,B
フレームに比較して大幅に多くなり、これをバッファメ
モリ51に蓄積するのに多くの時間が必要となる。その
ため、アプリケーションによっては、Iフレームを含ま
ないシーケンスを採用する可能性がある。例えば、放送
のアプリケーションを想定すると、送信するフレームの
データ量のばらつきを少なくするため、Iフレームのな
い、PフレームとBフレームのみで構成されたシーケン
スを使用する例が考えられる。また、画像通信のアプリ
ケーションを想定すると、送信したストリームを少ない
遅延時間で復号することが要求されるため、Iフレーム
の他、リオーダ遅延の発生するBフレームを含まないP
フレームのみで構成されたシーケンスを使用する例が考
えられる。
The data amount of I frame is P frame, B frame
The number of frames is significantly larger than that of frames, and it takes a lot of time to store them in the buffer memory 51. Therefore, depending on the application, a sequence that does not include an I frame may be adopted. For example, assuming a broadcast application, an example of using a sequence composed of only P frames and B frames without I frames can be considered in order to reduce variations in the data amount of frames to be transmitted. In addition, assuming an image communication application, it is required to decode the transmitted stream with a short delay time, so that in addition to I frames, P frames that do not include B frames with reorder delays are included.
An example of using a sequence composed of only frames can be considered.

【0012】図7は、Iフレームを含まないPフレーム
とBフレームのみで構成されたシーケンスを復号する画
像復号装置の例である。図7において、フレームメモリ
152,53はBフレームを再生するために予め復号さ
れているPフレームの画像データ142,予測フレーム
データ43を格納しておくフレームメモリである。復号
処理は、前述のIフレームを含む復号手順と参照画像の
選択以外の処理は同じで、Pフレームは時間的に前のP
フレームを参照画像にして復号を行い、Bフレームは時
間的に前のPフレームと時間的に後のPフレームを参照
画像にして復号する。なお、図7において図5と同符号
は同一部分を示す。
FIG. 7 shows an example of an image decoding apparatus for decoding a sequence composed of only P and B frames which does not include I frame. In FIG. 7, frame memories 152 and 53 are frame memories that store P frame image data 142 and predicted frame data 43 that have been decoded in advance to reproduce a B frame. The decoding process is the same as the above-described decoding procedure including the I frame and the process other than the selection of the reference image.
Decoding is performed by using a frame as a reference image, and a B frame is decoded by using a temporally preceding P frame and a temporally subsequent P frame as reference images. In FIG. 7, the same symbols as those in FIG. 5 indicate the same parts.

【0013】図8は、IフレームもBフレームも含まな
いPフレームのみで構成されたシーケンスを復号する画
像復号装置の例である。図8において、フレームメモリ
252は、次のPフレームを再生するために予め復号さ
れている時間的に前のPフレームの画像データ242を
格納しておくフレームメモリである。復号処理は、前述
のIフレームを含まない復号手順でBフレームの処理を
除いたものと同じで、Pフレームは時間的に前のPフレ
ームから予測を行う。なお、図8において図5と同一符
号は同一部分を示す。
FIG. 8 is an example of an image decoding apparatus for decoding a sequence composed of only P frames which does not include I frames or B frames. In FIG. 8, a frame memory 252 is a frame memory that stores image data 242 of a temporally previous P frame that has been decoded in advance to reproduce the next P frame. The decoding process is the same as the above-described decoding procedure that does not include the I frame and the process of the B frame is removed, and the P frame is predicted from the P frame that is temporally preceding. In FIG. 8, the same symbols as those in FIG. 5 indicate the same parts.

【0014】MPEG2のようにフレーム間予測を用い
た符号化では、前に復号した画像を参照画像に使用する
ため、誤差成分等が蓄積され、画像が正しく復元できな
くなる。そのため、MPEG2では、通常、フレーム内
符号化されたフレーム、すなわちIフレームで画像をリ
フレッシュする。しかし、前述のようにIフレームを含
まないシーケンスでは、当然Iフレームによるリフレッ
シュができないため、ビットストリーム内にイントラM
Bのみで構成されたスライス、すなわち、イントラスラ
イスが使われることがある。Iフレームでは、画面全体
をリフレッシュするのに対し、イントラスライスは画面
の一部すなわちイントラスライスのスライス部分をリフ
レッシュする。例えば、Pフレームのみで構成されたシ
ーケンスでは、図9のようにフレーム(画面)毎にイン
トラスライスの位置を変えることにより、数フレームで
画面全体のリフレッシュを行える。
In the coding using inter-frame prediction as in MPEG2, since the previously decoded image is used as the reference image, error components are accumulated and the image cannot be restored correctly. Therefore, in MPEG2, an image is normally refreshed in an intra-coded frame, that is, an I frame. However, as described above, a sequence that does not include an I frame cannot be refreshed by an I frame, so the intra M
A slice configured only with B, that is, an intra slice may be used. In the I frame, the entire screen is refreshed, while the intra slice refreshes a part of the screen, that is, a slice portion of the intra slice. For example, in a sequence including only P frames, the entire screen can be refreshed in several frames by changing the position of the intra slice for each frame (screen) as shown in FIG.

【0015】また、複数のビデオビットストリームから
1つのビットストリームを選択して復号する場合、ビデ
オシーケンスを切り換えると、通常は、切り換えたビッ
トストリーム中にシーケンスヘッダまたはグループオブ
ピクチャヘッダが表れるまで復号を開始しない。これ
は、シーケンスヘッダ内にシーケンスを復号するのに必
要なデータが含まれているためであるが、もし、これら
のデータが何らかの方法で予め解っているとすると、シ
ーケンスヘッダやグループオブピクチャヘッダの出現を
待つ必要はない。このような場合、PフレームやBフレ
ームから復号を開始すると、参照画像がないため、Iフ
レームの出現まで待ち、復号を開始する方法が考えられ
るが、この方法ではビットストリームが画像復号装置に
入力されてから画像を出力するまでの遅延が大きくな
る。
Further, when one bitstream is selected from a plurality of video bitstreams for decoding, when the video sequence is switched, decoding is usually performed until a sequence header or a group of picture header appears in the switched bitstream. Do not start. This is because the sequence header contains the data necessary to decode the sequence, but if these data are known in advance by some method, the sequence header and group of picture header You don't have to wait for it to appear. In such a case, when decoding is started from a P frame or a B frame, there is no reference image, so a method of waiting until the appearance of an I frame and then starting decoding can be considered. In this method, the bit stream is input to the image decoding device. The delay from when the image is output to when the image is output increases.

【0016】[0016]

【発明が解決しようとする課題】上述したように、従来
技術では、シーケンス内にIフレームを含まない場合、
参照画像なしで復号を開始せざるをえないため、イント
ラスライスとイントラMB以外の部分は、正しい画像が
復元できない。前述のように、MPEG2ではフレーム
間予測を用いた符号化では、復元した画像を参照し以降
の画像を復元するために、正しく復元できなかった場合
は、以降のフレームのイントラスライスがイントラMB
でリフレッシュされるまで、ノイズの大きな画像を出力
していた。
As described above, according to the prior art, when an I frame is not included in the sequence,
Since decoding must be started without a reference image, a correct image cannot be restored in parts other than the intra slice and the intra MB. As described above, in MPEG2, in encoding using inter-frame prediction, the restored image is referenced and the subsequent images are restored. Therefore, if the succeeding images cannot be restored correctly, the intra slice of the subsequent frame is an intra MB.
It was outputting a noisy image until it was refreshed.

【0017】また、前述したビデオシーケンスの切り替
えによる、ビットストリームの再生の開始時において
は、参照画像のIフレームが入力されるまで待ち、復号
を開始すると、復号を開始した画像から正しい画像を得
ることができる。しかし、Iフレームを待っている間
は、画像が出力されない。
When the reproduction of the bit stream is started by switching the video sequence as described above, the I-frame of the reference image is input, and when decoding is started, a correct image is obtained from the image that has started decoding. be able to. However, no image is output while waiting for the I frame.

【0018】本発明は、以上のような従来装置の欠点を
解消した画像復号方法および装置を提供することを目的
とする。
It is an object of the present invention to provide an image decoding method and apparatus which solves the above-mentioned drawbacks of the conventional apparatus.

【0019】[0019]

【課題を解決するための手段】本発明にかかる画像復号
方法は、複数の予測フレームから画像フレームを予測し
て符号化された画像データを復号する画像復号方法にお
いて、復号を開始するフレームがフレーム間予測を用い
て符号化されたフレームである場合に、フレーム間予測
されたフレーム内のフレーム間予測されて符号化された
画像データを予め設定された所定の画像データに置き換
えて復号するようにしたものである。
An image decoding method according to the present invention is an image decoding method for predicting an image frame from a plurality of prediction frames and decoding encoded image data, in which a frame where decoding is started is a frame. When the frame is coded using inter prediction, the inter-frame predicted and coded image data in the inter-frame predicted frame is replaced with the predetermined image data set in advance to be decoded. It was done.

【0020】そして、予め設定された所定の画像データ
として、グレー色の画像を用いたものである。
Then, a gray image is used as the predetermined image data set in advance.

【0021】本発明にかかる画像復号装置では、復号を
開始した最初のフレームがIフレームでなかった場合、
最初のPフレームの復号を終了するまで、復号した画像
をフレームメモリに書き込む際に、イントラMB以外の
MB部分については、グレー色のような予め設定された
所定の画像データを書き込み、イントラMB部分のみ復
号画像を書き込む制御手段を有する。
In the image decoding apparatus according to the present invention, when the first frame which starts decoding is not the I frame,
Until the decoding of the first P frame is completed, when writing the decoded image to the frame memory, the preset image data such as gray color is written to the MB portion other than the intra MB, and the intra MB portion is written. Only has a control means for writing the decoded image.

【0022】また、前述のように復号されたフレームの
次のフレーム以降については、制御手段がそれまでに復
号されたフレームを参照画像にして、画像を復元する。
As for the frame subsequent to the frame decoded as described above, the control means restores the image by using the frame decoded up to that time as the reference image.

【0023】[0023]

【作用】本発明によれば、復号を開始した最初のフレー
ムがIフレームでなかった場合、最初のPフレームの復
号を終了するまで、イントラMB以外の部分について予
め設定された画像データをフレームメモリに書き込み、
これを以降のフレームの参照画像として使用すると、従
来のように大きなノイズではなく、比較的小さなノイズ
で表示する画像を出力でき、Iフレームが入力されるま
で待って復号を開始する画像復号方法および装置に比較
して、画像を早く出力できる。
According to the present invention, when the first frame in which decoding is started is not an I frame, image data set in advance for a portion other than the intra MB is stored in the frame memory until the decoding of the first P frame is completed. Write to
When this is used as a reference image for the subsequent frames, an image to be displayed can be output with a relatively small noise instead of a large noise as in the past, and an image decoding method that waits until an I frame is input and starts decoding Images can be output faster than devices.

【0024】また、予め設定された画像データとしてグ
レー色の画像を用いたので、画素を輝度信号と色信号に
分離して扱うMPEGのような復号手段では、グレー色
は中間色であり、実際に存在しない参照画像を復元する
場合にはグレー色にすることでノイズが低減される。
Further, since a gray color image is used as the preset image data, the gray color is an intermediate color in a decoding means such as MPEG which handles pixels by separating them into a luminance signal and a color signal. When restoring a reference image that does not exist, noise is reduced by using a gray color.

【0025】[0025]

【実施例】【Example】

〔実施例1〕図1は、入力ビットストリーム100がI
フレームのないPフレームとBフレームのみで構成され
ている場合の構成例で、20は可変長復号器で、基本的
には図7の可変長復号器2と同じであるが、後述するよ
うに本発明特有の制御も行う。60は動き補償画像再生
部で、基本的には図7の動き補償画像再生部6と同じで
あるが、後述するように本発明の制御も行う。70は後
述するように本発明の特徴的な制御を行うための制御信
号で、可変長復号器20から動き補償画像再生部60へ
入力される。そして、可変長復号器20において、復号
を開始した最初のフレームがIフレームであるか否かの
判別機能と、その判別したフレームがIフレームでない
場合に、Pフレームの復号が終了するまで、イントラM
Bのみを復号する機能と、本発明の実行要求の制御信号
70、および動き補償画像再生部60において、本発明
の実行要求が可変長復号器20から要求されている場合
に、イントラMB以外のMB(インターMB)を予め指
定された画像に置き換える制御手段が構成されている。
なお、図7と同一符号は同一部分を示す。
[Embodiment 1] In FIG. 1, the input bit stream 100 is I
In the configuration example in the case of being composed of only P-frames and B-frames without frames, 20 is a variable length decoder, which is basically the same as the variable length decoder 2 of FIG. 7, but as will be described later. The control peculiar to the present invention is also performed. Reference numeral 60 denotes a motion-compensated image reproducing unit, which is basically the same as the motion-compensated image reproducing unit 6 in FIG. 7, but also controls the present invention as described later. Reference numeral 70 is a control signal for performing the characteristic control of the present invention, which will be described later, and is input from the variable length decoder 20 to the motion compensation image reproducing unit 60. Then, the variable length decoder 20 has a function of discriminating whether or not the first frame in which decoding is started is an I frame, and if the discriminated frame is not an I frame, the intra frame is decoded until the P frame is completely decoded. M
In the function of decoding only B, the control signal 70 of the execution request of the present invention, and the motion-compensated image reproducing unit 60, when the execution request of the present invention is requested from the variable length decoder 20, other than the intra MB. A control means for replacing the MB (inter MB) with a previously designated image is configured.
The same reference numerals as those in FIG. 7 indicate the same parts.

【0026】次に、動作について説明する。可変長復号
器20は、復号を開始した最初のフレームがIフレーム
であるか否かを判別し、そのフレームがIフレームでな
い場合は、本発明の処理の実行要求を制御信号70を通
じて動き補償画像再生部60に通知する。また、可変長
復号器20は、最初のフレームがPフレームまたはBフ
レームであった場合、最初のPフレームの復号が終了す
るまで、イントラMBのデータのみをスキャン変換器3
に出力し、インターMBのデータは廃棄する。動き補償
画像再生部60では、前述の制御信号70からの実行要
求が可変長復号器20から通知された場合、最初のフレ
ームがPフレームである場合は、フレームメモリ152
に書き込む際に、逆DCT部5から送られてこないMB
については、グレー色を書き込む。最初のフレームがB
フレームである場合はフレームメモリ54に書き込む際
に、逆DCT部5から送られてこないMBについては、
グレー色の画像データに書きかえ、Pフレームが送られ
てくるまで同様の処理を繰り返し、Pフレームもフレー
ムメモリ152に書き込む際に、逆DCT部5から送ら
れてこないMBについては、グレー色を書き込む。
Next, the operation will be described. The variable length decoder 20 determines whether or not the first frame in which decoding has started is an I frame, and if the frame is not an I frame, a request to execute the processing of the present invention is issued via the control signal 70 to the motion compensation image. Notify the reproduction unit 60. Further, when the first frame is the P frame or the B frame, the variable length decoder 20 scans only the data of the intra MB until the decoding of the first P frame is completed.
The data of the inter MB is discarded. In the motion compensation image reproducing unit 60, when the execution request from the control signal 70 is notified from the variable length decoder 20, if the first frame is a P frame, the frame memory 152
MB not sent from the inverse DCT unit 5 when writing to the
For, write gray color. The first frame is B
In the case of a frame, when writing to the frame memory 54, for the MB that is not sent from the inverse DCT unit 5,
The same process is repeated until the P frame is sent by rewriting the gray color image data, and when writing the P frame to the frame memory 152, the gray color is changed for the MB that is not sent from the inverse DCT unit 5. Write.

【0027】最初のP1フレームの次のB2フレーム
は、図2に示すように本来は入力される前のP0フレー
ムと、最初に入力されたP1フレームの2フレームから
予測されたフレームである。そのため、最初のP1フレ
ームの次のB2フレームは、フレームメモリ152から
最初のP1フレームを読み出し、入力されていないP0
フレームの代わりにもう一つの参照画像は全面グレーで
あるものとして、動き補償画像再生部60でB2フレー
ムを再生し、所定のフレームメモリ54に書き込む。B
3フレームも同様である。
The B2 frame next to the first P1 frame is a frame predicted from the P0 frame originally input before and the first input P1 frame as shown in FIG. Therefore, for the B2 frame next to the first P1 frame, the first P1 frame is read from the frame memory 152, and the P0 that has not been input is read.
Assuming that the other reference image is gray, instead of the frame, the motion-compensated image reproduction unit 60 reproduces the B2 frame and writes it into the predetermined frame memory 54. B
The same applies to three frames.

【0028】2番目のP4フレーム以降は、通常の処理
と同様に行う。 〔実施例2〕本実施例も入力ビットストリーム100が
PフレームとBフレームのみで構成されている場合の構
成例で、最初のPフレームまでの処理は実施例1と同じ
である。
After the second P4 frame, the normal processing is performed. [Embodiment 2] This embodiment is also a configuration example in which the input bit stream 100 is composed of only P frames and B frames, and the processing up to the first P frame is the same as that of the first embodiment.

【0029】図3のように、ビットストリーム100の
入力順序で最初のP1フレームから2番目のP4フレー
ムの間のB2,B3フレームのデータを廃棄し、2番目
のP4フレームはフレームメモリ152から予測フレー
ムデータを読み出し、復号の結果をフレームメモリ53
に書き込む。以降のB5フレームについては、通常の処
理と同様に、フレームメモリ152,53から読み出し
動き補償画像再生部60でBフレームを再生し、フレー
ムメモリ54に書き込む。
As shown in FIG. 3, the data of B2 and B3 frames between the first P1 frame and the second P4 frame in the input order of the bit stream 100 are discarded, and the second P4 frame is predicted from the frame memory 152. The frame data is read out and the decoding result is displayed in the frame memory 53
Write in. As for the subsequent B5 frame, the B frame is reproduced from the frame memories 152 and 53 by the motion compensation image reproducing unit 60 and written in the frame memory 54, as in the normal processing.

【0030】2番目のP4フレーム以降は、通常の処理
と同様に行う。 〔実施例3〕図4は、入力ビットストリーム100がP
フレームのみで構成されている場合の実施例で、最初の
Pフレームまでの処理は実施例1と同じである。
After the second P4 frame, the normal processing is performed. [Embodiment 3] In FIG. 4, the input bit stream 100 is P
In the embodiment in the case of being composed of only frames, the processing up to the first P frame is the same as in the first embodiment.

【0031】最初のPフレームは、実施例1と同様に逆
DCT部5から送られてこないMBについては、フレー
ムメモリ252に書き込む際にグレー色を書き込む。な
お、図1と同符号は同一部分を示す。
As for the first P frame, the gray color is written when writing to the frame memory 252 for the MB which is not sent from the inverse DCT unit 5 as in the first embodiment. The same reference numerals as in FIG. 1 indicate the same parts.

【0032】以降のPフレームについては、通常の処理
と同様に行う。 〔実施例4〕本実施例は、復号の最初のフレームがIフ
レームでない場合の実施例である。可変長復号器20で
復号を開始した最初のフレームがIフレームであるか否
かを判別し、そのフレームがIフレームでない場合は、
本発明の制御信号70からの処理の実行要求を動き補償
画像再生部60に通知し、MBがイントラMBであるか
否かに関わらず、MBについての処理は通常の処理と同
様に行う。
The subsequent P frames are processed in the same manner as normal processing. [Embodiment 4] In this embodiment, the first frame for decoding is not an I frame. The variable length decoder 20 determines whether or not the first frame started to be decoded is an I frame, and if the frame is not an I frame,
The process execution request from the control signal 70 of the present invention is notified to the motion compensation image reproducing unit 60, and the process for the MB is performed in the same manner as the normal process regardless of whether the MB is an intra MB.

【0033】フレームメモリに書き込む際にMBの種類
がイントラMBである場合は、そのままフレームメモリ
に書き込み、インターMBの場合は、逆DCT部5から
送られてきたデータを廃棄し、グレー色を書き込む。
When writing to the frame memory, if the MB type is an intra MB, write to the frame memory as it is, and if it is an inter MB, discard the data sent from the inverse DCT unit 5 and write a gray color. .

【0034】以上の処理以外は実施例1と同じである。Except for the above processing, it is the same as the first embodiment.

【0035】[0035]

【発明の効果】以上説明したように、本発明にかかる画
像復号方法は、複数の予測フレームから画像フレームを
予測して符号化された画像データを復号する画像復号方
法において、復号を開始するフレームがフレーム間予測
を用いて符号化されたフレームである場合に、フレーム
間予測されたフレーム内のフレーム間予測されて符号化
された画像データを予め設定された所定の画像データに
置き換えて復号するようにしたので、Iフレームで始ま
らないビットストリームに対しても少ないノイズで復号
を開始でき、かつ、復号を即座に開始できる。
As described above, the image decoding method according to the present invention is an image decoding method for predicting an image frame from a plurality of prediction frames and decoding encoded image data. Is a frame encoded using inter-frame prediction, the inter-frame predicted and encoded image data in the inter-frame predicted frame is replaced with the predetermined image data set in advance to be decoded. Since this is done, decoding can be started with less noise even for a bitstream that does not start with an I frame, and decoding can be started immediately.

【0036】そして、予め設定された所定の画像データ
として、グレー色の画像を用いたので、グレー色が中間
色となりノイズが低減される。
Since a gray image is used as the predetermined image data set in advance, the gray color becomes an intermediate color and noise is reduced.

【0037】さらに、本発明にかかる画像復号装置は、
複数の予測フレームから画像フレームを予測して符号化
された画像データを復号する装置において、復号を開始
するフレームがフレーム間予測を用いて符号化されたフ
レームである場合に、フレーム間予測されたフレーム内
のフレーム間予測されて符号化された画像データを予め
設定された所定の画像データに置き換えて復号する制御
手段を有する構成としたので、Iフレームで始まらない
ビットストリームに対しても少ないノイズで復号を開始
でき、かつ、復号を即座に開始できる。
Furthermore, the image decoding apparatus according to the present invention is
In a device that predicts an image frame from a plurality of prediction frames and decodes encoded image data, inter-frame prediction is performed when a frame to start decoding is a frame encoded using inter-frame prediction. Since there is provided a control means for replacing the image data predicted and encoded between the frames in the frame by the predetermined image data set in advance, the control means is provided, so that there is little noise even in the bit stream not starting with the I frame. The decoding can be started with, and the decoding can be started immediately.

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

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】図1の実施例の動作を説明するための図であ
る。
FIG. 2 is a diagram for explaining the operation of the embodiment of FIG.

【図3】本発明の他の実施例の動作を説明するための図
である。
FIG. 3 is a diagram for explaining the operation of another embodiment of the present invention.

【図4】本発明のさらに他の実施例の構成を示すブロッ
ク図である。
FIG. 4 is a block diagram showing the configuration of still another embodiment of the present invention.

【図5】従来の画像復号装置の構成を示すブロック図で
ある。
FIG. 5 is a block diagram showing a configuration of a conventional image decoding device.

【図6】NTSC画像の1フレームのMBの構成を説明
する図である。
[Fig. 6] Fig. 6 is a diagram illustrating the configuration of an MB of one frame of an NTSC image.

【図7】Iフレームを含まないPフレームとBフレーム
のみで構成されたシーケンスを復号する従来の画像復号
装置の構成を示すブロック図である。
FIG. 7 is a block diagram showing a configuration of a conventional image decoding apparatus that decodes a sequence that is configured by only P frames and B frames that does not include I frames.

【図8】IフレームもBフレームも含まないPフレーム
のみで構成されたシーケンスを復号する従来の画像復号
装置の構成を示すブロック図である。
FIG. 8 is a block diagram showing a configuration of a conventional image decoding apparatus that decodes a sequence configured by only P frames that include neither I frames nor B frames.

【図9】画面全体のリフレッシュを行う方法の一例を示
す図である。
FIG. 9 is a diagram showing an example of a method of refreshing the entire screen.

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

1 バッファ制御部 2 可変長復号器 3 スキャン変換器 4 逆量子化器 5 逆DCT部 6 動き補償画像再生部 20 可変長復号器 40 データ 41 データ 42 予測フレームデータ 43 予測フレームデータ 44 再生画素データ 50 メモリ 51 バッファメモリ 52 フレームメモリ 53 フレームメモリ 54 フレームメモリ 60 動き補償画像再生部 70 制御信号 100 入力ビットストリーム 142 画像データ 152 フレームメモリ 200 再生画像 1 Buffer Control Unit 2 Variable Length Decoder 3 Scan Converter 4 Inverse Quantizer 5 Inverse DCT Unit 6 Motion Compensated Image Reproducing Unit 20 Variable Length Decoder 40 Data 41 Data 42 Prediction Frame Data 43 Prediction Frame Data 44 Reproduction Pixel Data 50 Memory 51 Buffer memory 52 Frame memory 53 Frame memory 54 Frame memory 60 Motion compensation image reproduction unit 70 Control signal 100 Input bit stream 142 Image data 152 Frame memory 200 Reproduced image

───────────────────────────────────────────────────── フロントページの続き (72)発明者 川村 嘉郁 東京都渋谷区代々木4丁目36番19号 株式 会社グラフィックス・コミュニケーショ ン・ラボラトリーズ内 (72)発明者 進藤 朋行 東京都渋谷区代々木4丁目36番19号 株式 会社グラフィックス・コミュニケーショ ン・ラボラトリーズ内 (72)発明者 小松 茂 東京都渋谷区代々木4丁目36番19号 株式 会社グラフィックス・コミュニケーショ ン・ラボラトリーズ内 (72)発明者 小林 孝之 東京都渋谷区代々木4丁目36番19号 株式 会社グラフィックス・コミュニケーショ ン・ラボラトリーズ内 (72)発明者 西塔 隆二 東京都渋谷区代々木4丁目36番19号 株式 会社グラフィックス・コミュニケーショ ン・ラボラトリーズ内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Kaoru Kawamura 4-36-19 Yoyogi, Shibuya-ku, Tokyo Within Graphics Communications Laboratories, Inc. (72) Inventor Tomoyuki Shindo 4-yoyogi, Shibuya-ku, Tokyo 36-19 No. 19 in Graphics Communications Laboratories Co., Ltd. (72) Inventor Shigeru Komatsu 4-36-yoyogi, Shibuya-ku, Tokyo No. 36-19 In Graphics Communications Laboratories Co., Ltd. (72) Inventor Takayuki Kobayashi Tokyo 4-36-19 Yoyogi, Shibuya-ku, Tokyo Within Graphics Communications Laboratories Inc. (72) Inventor Ryuji Nishito 4-36-19 Yoyogi, Shibuya-ku, Tokyo Graphics Communications Inc. Laboratories in the

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数の予測フレームから画像フレームを
予測して符号化された画像データを復号する画像復号方
法において、復号を開始するフレームがフレーム間予測
を用いて符号化されたフレームである場合に、フレーム
間予測されたフレーム内のフレーム間予測されて符号化
された画像データを予め設定された所定の画像データに
置き換えて復号することを特徴とする画像復号方法。
1. An image decoding method for predicting an image frame from a plurality of prediction frames and decoding encoded image data, wherein a frame for starting decoding is a frame encoded using inter-frame prediction. In the image decoding method, the inter-frame predicted and encoded image data in the inter-frame predicted frame is replaced with predetermined image data set in advance to perform decoding.
【請求項2】 予め設定された所定の画像データとし
て、グレー色の画像を用いることを特徴とする請求項1
記載の画像復号方法。
2. A gray-color image is used as the predetermined image data set in advance.
The described image decoding method.
【請求項3】 複数の予測フレームから画像フレームを
予測して符号化された画像データを復号する装置におい
て、復号を開始するフレームがフレーム間予測を用いて
符号化されたフレームである場合に、フレーム間予測さ
れたフレーム内のフレーム間予測されて符号化された画
像データを予め設定された所定の画像データに置き換え
て復号する制御手段を有することを特徴とする画像復号
装置。
3. An apparatus for predicting an image frame from a plurality of prediction frames and decoding encoded image data, when a frame for starting decoding is a frame encoded using inter-frame prediction, An image decoding apparatus comprising: a control unit that replaces the inter-frame predicted and encoded image data in the inter-frame predicted frame with predetermined image data set in advance and decodes the image data.
JP30749294A 1994-12-12 1994-12-12 Image decoding method and apparatus Expired - Lifetime JP2820631B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30749294A JP2820631B2 (en) 1994-12-12 1994-12-12 Image decoding method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30749294A JP2820631B2 (en) 1994-12-12 1994-12-12 Image decoding method and apparatus

Publications (2)

Publication Number Publication Date
JPH08163575A true JPH08163575A (en) 1996-06-21
JP2820631B2 JP2820631B2 (en) 1998-11-05

Family

ID=17969748

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30749294A Expired - Lifetime JP2820631B2 (en) 1994-12-12 1994-12-12 Image decoding method and apparatus

Country Status (1)

Country Link
JP (1) JP2820631B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002112275A (en) * 2000-07-25 2002-04-12 Matsushita Electric Ind Co Ltd Image decoding method, image decoding device, and data storage medium
KR100748495B1 (en) * 2001-04-20 2007-08-13 엘지전자 주식회사 Direct Prediction Method for BFrame Coding Using Multiple Reference Frames
US7403563B2 (en) 2002-06-07 2008-07-22 Sanyo Electric Co., Ltd. Image decoding method and apparatus, and television receiver utilizing the same
US8223842B2 (en) 2006-05-24 2012-07-17 Panasonic Corporation Dynamic image decoding device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002112275A (en) * 2000-07-25 2002-04-12 Matsushita Electric Ind Co Ltd Image decoding method, image decoding device, and data storage medium
KR100748495B1 (en) * 2001-04-20 2007-08-13 엘지전자 주식회사 Direct Prediction Method for BFrame Coding Using Multiple Reference Frames
US7403563B2 (en) 2002-06-07 2008-07-22 Sanyo Electric Co., Ltd. Image decoding method and apparatus, and television receiver utilizing the same
US8223842B2 (en) 2006-05-24 2012-07-17 Panasonic Corporation Dynamic image decoding device

Also Published As

Publication number Publication date
JP2820631B2 (en) 1998-11-05

Similar Documents

Publication Publication Date Title
US6198773B1 (en) Video memory management for MPEG video decode and display system
US6480542B1 (en) Method for decoding compressed video data with a reduced memory requirement
EP1280356A2 (en) Apparatus and method for compressing multiplexed video signals
JPH11313332A (en) Video signal compression/release device for even number and odd number field data compressed independently
KR100215824B1 (en) MPEG decoder frame memory and video data decoding method
JPH09200695A (en) Method and apparatus for decoding video data for high speed reproduction
JP3078991B2 (en) Low delay mode image decoding method and apparatus
JP3034173B2 (en) Image signal processing device
JP2898413B2 (en) Method for decoding and encoding compressed video data streams with reduced memory requirements
JP2820631B2 (en) Image decoding method and apparatus
JP2863096B2 (en) Image decoding device by parallel processing
JP3308129B2 (en) Image signal decoding method and image signal decoding device
JP2823809B2 (en) Image decoding method and image decoding device
JP2824024B2 (en) Image decoding method and apparatus
JP3078990B2 (en) Low delay mode image decoding method
JPH11177992A (en) Image decoding device
JPH10136358A (en) Image decoding device
JPH0636521A (en) Disk and moving image decoding method and device
JPH08149464A (en) Image decoder provided with frame rate conversion function
JPH09261641A (en) Method and device for processing compressed picture data
JP3480980B2 (en) Image signal transmission method and apparatus, and image signal decoding method and apparatus
JP3481207B2 (en) Image signal transmission method and apparatus, and image signal decoding method and apparatus
JP3196753B2 (en) Image display method and image display device
JP2000078521A (en) Image decoding display device
JP3078992B2 (en) Image decoding device