JP3387820B2 - Image prediction decoding apparatus and image prediction decoding method - Google Patents

Image prediction decoding apparatus and image prediction decoding method

Info

Publication number
JP3387820B2
JP3387820B2 JP09473998A JP9473998A JP3387820B2 JP 3387820 B2 JP3387820 B2 JP 3387820B2 JP 09473998 A JP09473998 A JP 09473998A JP 9473998 A JP9473998 A JP 9473998A JP 3387820 B2 JP3387820 B2 JP 3387820B2
Authority
JP
Japan
Prior art keywords
image
data
decoding
predictive
prediction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP09473998A
Other languages
Japanese (ja)
Other versions
JPH10341442A (en
Inventor
チュン セン ブン
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP09473998A priority Critical patent/JP3387820B2/en
Publication of JPH10341442A publication Critical patent/JPH10341442A/en
Application granted granted Critical
Publication of JP3387820B2 publication Critical patent/JP3387820B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

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

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像予測復号化装
置及び画像予測復号化方法に関し、特に画像サイズが可
変な場合における画像予測復号化処理に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image predictive decoding device.
Image and image predictive decoding methods
The present invention relates to an image predictive decoding process in a strange case .

【0002】[0002]

【従来の技術】デジタル画像を効率よく蓄積もしくは伝
送するには、圧縮符号化する必要がある。デジタル画像
を圧縮符号化するための方法として、JPEGやMPE
Gに代表される離散コサイン変換(DCT)のほかに、
サブバンドやウェアブレット、フラクタルなどの波形符
号化方法がある。また、画像間の冗長な信号を取り除く
には、動き補償を用いた画像間予測を行い、差分信号を
波形符号化する。
2. Description of the Related Art In order to efficiently store or transmit digital images, compression coding is required. As a method for compression-encoding a digital image, JPEG or MPE
In addition to the discrete cosine transform (DCT) represented by G,
There are waveform coding methods such as subband, wear bullet, and fractal. Further, in order to remove redundant signals between images, inter-image prediction using motion compensation is performed, and the difference signal is waveform-coded.

【0003】ここでは、動き補償DCTに基づくMPE
G方式について説明する。まず、符号化しようとする1
フレームの入力画像を、複数の16×16画素の大きさ
のマクロブロックに分割して処理する。一つのマクロブ
ロックを、さらに8×8画素の大きさの4つのブロック
に分割し、8×8画素の大きさのブロックに対するDC
Tを施してから、量子化する。これはフレーム内符号化
と呼ばれる。
Here, MPE based on motion compensation DCT
The G method will be described. First, try to encode 1
The input image of the frame is divided into a plurality of 16 × 16 pixel macroblocks and processed. One macroblock is further divided into four blocks each having a size of 8 × 8 pixels, and the DC for the block having a size of 8 × 8 pixels is divided.
Quantize after applying T. This is called intraframe coding.

【0004】一方、ブロックマッチングをはじめとする
動き検出方法で、量子化しようとする対象マクロブロッ
クを含む当該フレームに対して時間的に隣接する別のフ
レームの中から、対象マクロブロックに対する誤差の最
も小さい予測マクロブロックを検出し、該検出された動
きに基づいて、過去の画像からの動き補償を行い、最適
な予測ブロックを取得する。誤差の最も小さい予測マク
ロブロックへの動きを示す信号が動きベクトルである。
予測マクロブロックを生成するために参照する画像を、
以後、参照画像と呼ぶ。次に対象となるブロックと対応
する予測ブロックとの差分を求め、該差分に対してDC
Tを施し、該DCT変換係数を量子化し、該量子化出力
を動き情報とともに伝送もしくは蓄積する。これをフレ
ーム間符号化と呼ぶ。
On the other hand, in a motion detection method such as block matching, the most error of the target macroblock is detected from another frame temporally adjacent to the current frame containing the target macroblock to be quantized. A small prediction macroblock is detected, motion compensation from a past image is performed based on the detected motion, and an optimum prediction block is acquired. The signal indicating the motion to the prediction macroblock with the smallest error is the motion vector.
The image that is referenced to generate the prediction macroblock,
Hereinafter, it is referred to as a reference image. Next, the difference between the target block and the corresponding prediction block is calculated, and DC is calculated for the difference.
T is performed, the DCT transform coefficient is quantized, and the quantized output is transmitted or stored together with motion information. This is called interframe coding.

【0005】また、このフレーム間符号化には、表示順
で前にある画像からのみ予測するモードと、前にある画
像と後ろにある画像の両方から予測するモードがある。
前者を前方予測、後者を双方向予測と呼ぶ。
The inter-frame coding has a mode in which prediction is performed only from a preceding image in the display order and a mode in which prediction is performed from both a preceding image and a succeeding image.
The former is called forward prediction and the latter is called bidirectional prediction.

【0006】受信側では、量子化された変換係数をもと
の差分信号に復元した後に、該差分信号をもとに動きベ
クトルに基づいて予測ブロックを取得し、該予測ブロッ
クと差分信号とを加算し、画像を再生する。なお、この
従来の技術では、参照画像(予測画像を生成するために
参照する画像)と、対象画像のサイズとが同じであるこ
とを前提にしている。
On the receiving side, after the quantized transform coefficient is restored to the original difference signal, a prediction block is obtained based on the motion vector based on the difference signal, and the prediction block and the difference signal are obtained. Add and play the image. In this conventional technique, it is premised that the reference image (the image referred to for generating the predicted image) and the target image have the same size.

【0007】最近、圧縮効率を向上させると同時に、画
像を構成する物体単位の再生ができるように、画像を構
成する物体を、任意形状の画像として、別々に圧縮符号
化して伝送するようにしている。このような任意形状の
画像の符号化,復号化では、画像のサイズが変化するこ
とがよくある。その一例としては、ボールがだんだん小
さくなり,消えてしまう例が考えられる。また、場合に
よっては、画像(物体)のサイズがゼロになることもあ
る。
Recently, in order to improve the compression efficiency and at the same time, it is possible to reproduce the object unit forming an image, and the object forming the image is separately compression-encoded and transmitted as an image of an arbitrary shape. There is. When encoding and decoding an image of such an arbitrary shape, the size of the image often changes. As an example, the ball may become smaller and disappear. In some cases, the size of the image (object) may be zero.

【0008】[0008]

【発明が解決しようとする課題】通常の場合には、参照
画像は対象画像の直前にある再生画像である。参照画像
のサイズがゼロの場合、参照画像には何も定義されない
ために、即ち予測符号化に用いる有意な画像データがな
いために、予測符号化することができなくなる。この場
合にも、従来の技術を適用しようとすると、フレーム内
符号化を行うしか方法はない。しかるに、フレーム内符
号化を行うと、一般的に符号量が増え、圧縮率が低下し
てしまう。動画像のシーケンスの中で、画像が頻繁に消
えたり(この場合、画像サイズはゼロになる)、現れた
りする場合は、符号化効率が非常に悪くなる。たとえ
ば、スポットライトがフラッシングする画像では、ライ
トが画像単位で消えたり,現れたりすると、すべてのラ
イトの画像を、フレーム内符号化することになる。
In the usual case, the reference image is the reproduced image immediately before the target image. When the size of the reference image is zero, the reference image cannot be predictively encoded because nothing is defined in the reference image, that is, there is no significant image data used for the predictive encoding. Also in this case, if the conventional technique is applied, the only method is intraframe coding. However, when the intra-frame coding is performed, the code amount generally increases and the compression rate decreases. If the image frequently disappears (in this case, the image size becomes zero) or appears in the moving image sequence, the coding efficiency becomes very poor. For example, in an image in which a spotlight is flushed, if the light disappears or appears on an image-by-image basis, the images of all lights are intra-frame encoded.

【0009】本発明は、上記のような問題点に鑑みてな
されたもので、圧縮効率の向上のため、画像を構成する
物体を、物体単位で、別々に圧縮符号化して伝送する場
合に、画像サイズが変化して物体が消えてしまうような
画像が、画像の予測復号化の際に参照画像として用いら
れるのを回避することができる、残差信号(差分信号)
の抑圧に適した画像予測復号化装置及び画像予測復号化
方法を得ることを目的とする。
The present invention has been made in view of the above problems , and forms an image in order to improve the compression efficiency.
When the objects are individually compression-coded and transmitted for each object
If the image size changes and the object disappears
The image is used as a reference image during predictive decoding of the image.
Residual signal (difference signal) that can be avoided
IMAGE PREDICTION DECODING DEVICE AND IMAGE PREDICTION DECODING FOR SUPPRESSION
Aim to get a way.

【0010】この発明(請求項1)に係る画像予測復号
化装置は、符号化データを復号化し、予測画像を用いて
画像を再生する画像予測復号化装置であって、前記符号
化データを復号化する復号化手段と、前記符号化データ
の直前に前記復号化手段に入力された符号化データが
意な対象画像符号化データを含んでいる場合、前記有意
な対象画像符号化データを復号化して得られた再生画像
を参照画像として予測画像を生成し、前記符号化データ
の直前に前記復号化手段に入力された符号化データが
意な対象画像符号化データを含まない場合、前記直前
符号化データよりも前に前記復号化手段に入力された、
有意な対象画像符号化データを含む符号化データを復号
化して得られた再生画像を参照画像として予測画像を生
成する予測画像生成手段と、前記予測画像生成手段によ
って生成された予測画像と、前記復号化手段が復号化し
た画像とを加えて再生画像を生成する加算手段と、を備
えたものである。
An image predictive decoding apparatus according to the present invention (Claim 1) is an image predictive decoding apparatus which decodes coded data and reproduces an image using a predicted image, wherein the coded data is decoded. decoding means for reduction, sign-coded data input to the decoding means immediately before the front Kifu No. data is chromatic
When the target image coded data is included, the significant
A target image encoded data to generate a predicted image as a reference image reproduced image obtained by decoding, sign-coded data input to the decoding means immediately before the front Kifu-coding data Yes
If it does not include any target image coded data, it is input to the decoding means before the immediately preceding coded data,
A predicted image generating unit that generates a predicted image using a reproduced image obtained by decoding encoded data including significant target image encoded data as a reference image; a predicted image generated by the predicted image generating unit; And an addition unit for generating a reproduced image by adding the image decoded by the decoding unit.

【0011】この発明(請求項2)は、請求項1に記載
の画像予測復号化装置において、前記予測画像生成手段
、前記復号化手段に入力された直前の符号化データが
有意な対象画像符号化データを含むかどうかの判断を
記復号化手段に入力された直前の符号化データに含ま
れるフラグに基づいて実行するものとしたものである。
[0011] The present invention (Claim 2), in the image predictive decoding apparatus according to claim 1, the predictive image generation means, the previous SL immediately before input to the decoding means coded data
Judgment whether or not to include significant target image coded data ,
Is obtained is assumed to be executed based on the flag included in the immediately preceding coded data input before Symbol decoding means.

【0012】この発明(請求項3)に係る画像予測復号
化方法は、符号化データを復号化し、予測画像を用いて
画像を再生する画像予測復号化方法であって、前記符号
化データを復号化し、前記符号化データの直前に復号化
された符号化データが有意な対象画像符号化データを含
んでいる場合、前記有意な対象画像符号化データを復号
化して得られた再生画像を参照画像として予測画像を生
成し、前記符号化データの直前に復号化された符号化デ
ータが有意な対象画像符号化データを含まない場合、前
直前の符号化データよりも前に復号化された、有意な
対象画像符号化データを含む符号化データを復号化して
得られた再生画像を参照画像として予測画像を生成し、
生成した予測画像を、復号化した画像に加えて再生画像
を生成するものである。
An image predictive decoding method according to the present invention (claim 3) is an image predictive decoding method of decoding coded data and reproducing an image using a predicted image, wherein the coded data is decoded. However, before if the decoded sign-encoded data immediately before the Kifu-coding data includes significant object image coded data, the reproduced image obtained by decoding the significant object image coded data the generated predicted image as a reference image, before if the decoded sign-encoded data immediately before the Kifu No. data does not include significant object image coded data, prior to the immediately preceding coded data Decrypted, significant
A predicted image is generated with the reproduced image obtained by decoding the encoded data including the target image encoded data as the reference image,
The reproduced image is generated by adding the generated predicted image to the decoded image.

【0013】この発明(請求項4)は、請求項3記載の
画像予測復号化方法において、前記直前に復号化した符
号化データが有意な対象画像符号化データを含むかどう
かの判断を、前記直前に復号化した符号化データに含ま
れるフラグに基づいて実行するものである。
[0013] The present invention (Claim 4), in the image predictive decoding method according to claim 3, wherein, the previous determination of whether decoding encoded data before Kijika includes significant object image coded data , and executes, based on the flag included previously decoded coded data prior Kijika.

【0014】[0014]

【0015】[0015]

【0016】[0016]

【0017】[0017]

【0018】[0018]

【0019】[0019]

【0020】[0020]

【0021】[0021]

【0022】[0022]

【0023】[0023]

【0024】[0024]

【0025】[0025]

【0026】[0026]

【0027】[0027]

【0028】[0028]

【0029】[0029]

【0030】[0030]

【0031】[0031]

【0032】[0032]

【0033】[0033]

【0034】[0034]

【発明の実態の形態】以下、本発明の実施の形態につい
て、図1ないし図7を用いて説明する。 (実施の形態1)図1は本発明の実施の形態1による画
像予測復号化方法における,予測画像生成方法の流れ図
を示す。図1を説明する前に、図2を用いて、本発明に
よる画像予測復号化における画像予測の方法について説
明する。本実施の形態1の画像予測復号化方法において
用いる入力画像の画像サイズは、可変であり、場合によ
っては、サイズがゼロになることもある。
DETAILED DESCRIPTION OF THE INVENTION Embodiments of the present invention will be described below with reference to FIGS. (Embodiment 1) FIG. 1 is a flow chart of a predictive image generation method in an image predictive decoding method according to Embodiment 1 of the present invention. Before describing FIG. 1, an image prediction method in image predictive decoding according to the present invention will be described with reference to FIG. The image size of the input image used in the image predictive decoding method according to the first embodiment is variable, and the size may be zero in some cases.

【0035】図2(a) は、表示順に並んだ動画像の各画
像201〜210を示す。画像201が最初の画面で、
その次が、画像202, ……と、順に表示される。この
順序を#1〜#10で示している。画像#1(201)
は、最初の画像であり、フレーム内符号化を行う。本実
施の形態1では、画像(1フレーム)を、複数の8×8
画素の大きさのブロックに分割し、各8×8画素の大き
さのブロックのDCTを施し、量子化する。量子化した
係数を、可変長符号化する。復号化する場合は、該可変
長符号化により得られた符号化データを可変長復号化
し、該復号化により得られた量子化係数を逆量子化して
から、逆DCT変換することにより、画像を再生する。
次に、画像#2(202)を、すでに再生された画像#
1(201)を参照して、フレーム間予測符号化する。
FIG. 2A shows each of images 201 to 210 of moving images arranged in the display order. Image 201 is the first screen,
Next, images 202, ... Are sequentially displayed. This order is shown by # 1 to # 10. Image # 1 (201)
Is the first image and is intra-frame coded. In the first embodiment, an image (1 frame) is converted into a plurality of 8 × 8 images.
It is divided into blocks each having a pixel size, DCT is performed on each block having a size of 8 × 8 pixels, and quantization is performed. Variable-length coding is performed on the quantized coefficient. In the case of decoding, the coded data obtained by the variable length coding is subjected to variable length decoding, the quantized coefficient obtained by the decoding is inversely quantized, and then the inverse DCT transform is performed to obtain an image. Reproduce.
Next, the image # 2 (202) is replaced with the image # which has already been reproduced.
1 (201), interframe predictive coding is performed.

【0036】本実施の形態1では、ブロックマッチング
の動き検出方法で、画像#1(201)の中から対象ブ
ロックに対し誤差の最も小さい予測ブロックを検出す
る。検出された、対象ブロックから予測ブロックへの動
きに基づいて、再生された画像#1(201)から、対
象ブロックの動き補償により、最適な予測ブロックを取
得する。次に、対象となるブロックと、対応する予測ブ
ロックとの差分を求め、該差分に対しDCTを施し、該
DCT変換係数を量子化し、該量子化出力を、動き情報
とともに、伝送もしくは蓄積する。ここで、再生された
画像#1(201)は、画像#2(202)の参照画像
となる。これを前方予測と呼ぶ。復号化する際には、逆
量子化,及び逆DCTした差分に予測ブロックを加算
し、画像を再生する。
In the first embodiment, the motion detection method of block matching detects the prediction block having the smallest error with respect to the target block from the image # 1 (201). Based on the detected motion from the target block to the prediction block, the optimum prediction block is acquired from the reproduced image # 1 (201) by motion compensation of the target block. Next, the difference between the target block and the corresponding prediction block is obtained, the difference is subjected to DCT, the DCT transform coefficient is quantized, and the quantized output is transmitted or accumulated together with motion information. Here, the reproduced image # 1 (201) becomes a reference image of the image # 2 (202). This is called forward prediction. At the time of decoding, the prediction block is added to the difference obtained by the inverse quantization and the inverse DCT, and the image is reproduced.

【0037】同様に、画像#3(203)と、画像#4
(204)とは、矢印が示す参照画像から予測符号化を
行う。また、画像#6(206),画像#8(20
8),画像#10(210)のように、2枚前の画像か
ら予測することができる。また、画像#5(205),
画像#7(207),画像#9(209)のように、前
方予測のほかに、当該画像より後に表示される画像を
も、参照することができる。このように当該画像より後
に表示される画像を参照して予測を行うのを後方予測と
呼ぶ。前方予測と後方予測をともにする場合は、これを
双方向予測と呼ぶ。双方向予測では、前方予測モード
と,後方予測モードと,前方後方予測を平均化する補間
モードとがある。
Similarly, image # 3 (203) and image # 4
(204) is predictive coding from the reference image indicated by the arrow. Also, image # 6 (206) and image # 8 (20
8), like image # 10 (210), it is possible to make predictions from the image two images before. Also, image # 5 (205),
As with image # 7 (207) and image # 9 (209), in addition to forward prediction, images displayed after the image can also be referred to. Such prediction is referred to as backward prediction by referring to the image displayed after the image. When performing both forward prediction and backward prediction, this is called bidirectional prediction. The bidirectional prediction includes a forward prediction mode, a backward prediction mode, and an interpolation mode for averaging the forward and backward predictions.

【0038】図2(b) は、図2(a) で予測した画像の伝
送順序、すなわち復号化順序を示す。画像#1(21
1)が、最初に復号化し、再生される。それを参照し、
画像#2(212)を復号化する。画像#5(216)
のような,双方向予測画像に対しては、予測に用いる参
照画像を、先に復号化し、再生する必要がある。そのた
めに、画像#6(215)は、画像#5(216)より
先にある。同様に、画像#8(217)は、画像#7
(218)より先に、画像#10(219)は、画像#
9(220)より先に、伝送され、復号化され、再生さ
れる。
FIG. 2B shows the transmission order of the images predicted in FIG. 2A, that is, the decoding order. Image # 1 (21
1) is first decoded and reproduced. Refer to it,
Image # 2 (212) is decoded. Image # 5 (216)
For such a bidirectional predicted image, it is necessary to first decode and reproduce the reference image used for prediction. Therefore, the image # 6 (215) is ahead of the image # 5 (216). Similarly, the image # 8 (217) becomes the image # 7.
Before (218), the image # 10 (219) is the image #
9 (220), transmitted, decoded, and reproduced.

【0039】画像サイズ可変の画像を伝送する場合に
は、各画像に対して、サイズを伝送しなければならな
い。本実施の形態1では、画像のサイズを、画像の符号
化データの先頭に記述し、水平,垂直のサイズHm,V
mを、夫々20ビットで表す。図7は、本実施の形態1
における画像の符号化データを示し、ここで、この符号
化データ(VD)内には、上記画像サイズのデータを示
す水平,垂直のサイズHm,Vmの他に、動きベクト
ル、量子化幅、及び、DCT係数等が含まれる。
When transmitting images of variable image size, the size must be transmitted for each image. In the first embodiment, the image size is described at the beginning of the encoded data of the image, and the horizontal and vertical sizes Hm, V are set.
Each m is represented by 20 bits. FIG. 7 shows the first embodiment.
In this coded data (VD), in addition to the horizontal and vertical sizes Hm and Vm indicating the image size data, a motion vector, a quantization width, and , DCT coefficients, etc. are included.

【0040】次に、図1の流れ図を用いて、本発明の実
施の形態1による画像予測復号化方法における,予測画
像生成方法について説明する。予測画像を生成する際に
は、まず、ステップ102で、直前の参照画像のサイズ
を入力し、ステップ103で、参照画像のサイズがゼロ
かどうかを調べる。
Next, the predictive image generation method in the predictive image decoding method according to the first embodiment of the present invention will be described with reference to the flowchart of FIG. When generating the predicted image, first, in step 102, the size of the immediately preceding reference image is input, and in step 103, it is checked whether the size of the reference image is zero.

【0041】ここで、参照画像は、図2(a) に示す復号
化順序において、常に、復号化の対象(符号化する場合
は、符号化の対象)となる画像の前にある。該参照画像
は、本実施の形態1による画像予測復号化方法において
は、直前に再生される画像である。たとえば、図2(b)
の画像#4(214)の参照画像は、その直前の画像#
3(213)になる。但し、双方向予測で再生する画像
は、予測に用いられないために、参照画像としては使わ
ない。したがって、例えば、画像#8(217)の参照
画像は、画像#6(215)になる。
Here, the reference image is always in front of the image which is the object of decoding (in the case of encoding, the object of encoding) in the decoding order shown in FIG. 2 (a). The reference image is an image reproduced immediately before in the image predictive decoding method according to the first embodiment. For example, Figure 2 (b)
Image # 4 (214) is a reference image
It becomes 3 (213). However, the image reproduced by bidirectional prediction is not used as a reference image because it is not used for prediction. Therefore, for example, the reference image of the image # 8 (217) is the image # 6 (215).

【0042】上記図1における,ステップ103の判定
において、参照画像のサイズがゼロでなければ、ステッ
プ104に進み、該ステップ104で、該直前の参照画
像を用いて、予測画像を生成する。一方、上記ステップ
103の判定において、参照画像のサイズがゼロであれ
ば、ステップ105に進み、該ステップ105で、画像
サイズがゼロでない最近に再生された画像を、参照画像
として用いて、予測画像を生成する。ここでの,画像サ
イズがゼロでない最近に再生された画像の見つけ方につ
いては、図2(b) を用いて以下に説明する。
If the size of the reference image is not zero in the determination of step 103 in FIG. 1, the process proceeds to step 104, and in step 104, a predicted image is generated using the immediately preceding reference image. On the other hand, if it is determined in step 103 that the size of the reference image is zero, the process proceeds to step 105, and in step 105, the most recently played image whose image size is not zero is used as the reference image to calculate the predicted image. To generate. How to find a recently reproduced image whose image size is not zero will be described below with reference to FIG.

【0043】画像#4(214)の予測画像を生成する
場合において、画像#4(214)の前の画像#3(2
13)のサイズが、ゼロであるとし、画像#2(21
2)のサイズが、ゼロでないとする。この場合、画像#
2(212)を参照して、画像#4(214)の予測画
像を生成する。同様に、画像#6(215)の予測画像
を生成する場合において、画像#3(213)と、画像
#4(214)のサイズがゼロであるとすると、画像#
2(212)を参照して、予測画像を生成する。ここ
で、予測画像の生成方法として、本実施の形態1では、
MPEG1と同様に、ブロック単位の動き補償方法を用
いる。
When the predicted image of the image # 4 (214) is generated, the image # 3 (2) before the image # 4 (214) is generated.
13) and the size of image # 2 (21
It is assumed that the size of 2) is not zero. In this case, the image #
2 (212), the predicted image of the image # 4 (214) is generated. Similarly, when the predicted image of the image # 6 (215) is generated, if the sizes of the image # 3 (213) and the image # 4 (214) are zero, the image #
2 (212), a predicted image is generated. Here, as the method of generating the predicted image, in the first embodiment,
Similar to MPEG1, a block-based motion compensation method is used.

【0044】図3は、本発明の実施の形態1による画像
予測復号化装置のブロック図を示す。本実施の形態1の
画像予測復号化装置300は、画像サイズ可変な画像を
所定の方法で圧縮符号化した画像データを受け、該画像
データに対する予測復号化処理を施す構成となってい
る。
FIG. 3 shows a block diagram of an image predictive decoding apparatus according to Embodiment 1 of the present invention. The image predictive decoding apparatus 300 according to the first embodiment is configured to receive image data obtained by compression-encoding an image having a variable image size by a predetermined method, and perform a predictive decoding process on the image data.

【0045】すなわち、この画像予測復号化装置300
は、上記圧縮符号化した画像データを解析して、量子化
幅やDCT係数をライン312に、動きベクトルをライ
ン318に、画像サイズをライン321に出力するデー
タ解析器302と、該データ解析器302からの圧縮さ
れたブロックのデータ(圧縮ブロック)を伸長処理によ
り伸長ブロックに変換する復号化器303と、伸長ブロ
ックと予測ブロックとを加算して再生ブロックを生成す
る加算器306とを有している。
That is, this image predictive decoding device 300
Is a data analyzer 302 that analyzes the compression-coded image data and outputs the quantization width and DCT coefficient to line 312, the motion vector to line 318, and the image size to line 321; It has a decoder 303 for converting the data of the compressed block from 302 (compressed block) into a decompressed block by decompression processing, and an adder 306 for adding the decompressed block and the prediction block to generate a reproduced block. ing.

【0046】また、上記画像予測復号化装置300は、
上記再生ブロックを格納するフレームメモリ部309
と、上記動きベクトルに基づいてフレームメモリへのア
クセスのためのアドレスを発生し、フレームメモリ内の
画像から該アドレスに対応したブロックを上記予測ブロ
ックとして求める予測画像生成器310とを有してい
る。ここでは、この予測画像生成器310は、データ解
析器302からの画像サイズに基づいて、参照されるべ
き有意な画像データが存在する最近に再生された1つの
再生画像を参照画像として決定する動作も行うようにな
っている。なお、この参照画像の決定は、図3に点線で
示すように、データ解析器302からの画像サイズに基
づいてフレームメモリ部309を制御する制御器320
を設け、該制御器320により、参照されるべき有意な
画像データが存在する最近に再生された1つの再生画像
が参照画像として選択されるようフレームメモリ部30
9を制御する構成としてもよい。
Further, the image predictive decoding device 300 is
Frame memory unit 309 for storing the reproduction block
And a prediction image generator 310 that generates an address for accessing the frame memory based on the motion vector and obtains a block corresponding to the address from the image in the frame memory as the prediction block. . Here, the predictive image generator 310 determines, based on the image size from the data analyzer 302, one recently reproduced image having significant image data to be referred to as a reference image. Is also supposed to be done. The reference image is determined by the controller 320 that controls the frame memory unit 309 based on the image size from the data analyzer 302, as shown by the dotted line in FIG.
And the controller 320 selects the most recently reproduced image in which the significant image data to be referenced is present as the reference image.
9 may be controlled.

【0047】また、ここでは、上記復号化器303は、
上記データ解析器302からの圧縮ブロックに逆量子化
処理を施す逆量子化器304と、ライン313からの該
逆量子化器304の出力に対して、周波数領域信号を空
間領域信号に変換する処理を施す逆離散コサイン変換器
(IDCT)305とから構成されている。また、図中
301及び307はそれぞれ、本画像予測復号化装置3
00の入力端子及び出力端子である。
Further, here, the decoder 303 is
Inverse quantizer 304 that performs inverse quantization processing on the compressed block from the data analyzer 302, and processing that converts the frequency domain signal into a spatial domain signal with respect to the output of the inverse quantizer 304 from line 313. And an inverse discrete cosine converter (IDCT) 305 for performing Also, reference numerals 301 and 307 in the figure respectively denote the main image predictive decoding device 3
00 is an input terminal and an output terminal.

【0048】以上のように構成された本実施の形態1に
よる画像予測復号化装置について、以下、その動作を述
べる。画像サイズ可変な画像を、所定の方法で圧縮符号
化した画像データ(符号化データ)を、入力端子301
に入力する。本実施の形態1では、MPEG1と同じ動
き補償DCT方法で圧縮符号化を行っており、上記符号
化データには、上述したように、動きベクトル、量子化
幅、DCT係数、及び、画像サイズのデータ,が含まれ
る。
The operation of the image predictive decoding apparatus according to the first embodiment configured as described above will be described below. Image data (encoded data) obtained by compression-encoding an image having a variable image size by a predetermined method is input to the input terminal 301.
To enter. In the first embodiment, compression encoding is performed by the same motion compensation DCT method as in MPEG1, and the encoded data includes the motion vector, the quantization width, the DCT coefficient, and the image size as described above. Data, is included.

【0049】次に、データ解析器302にて、上記圧縮
符号化した画像データを解析し、圧縮されたブロックの
データとして、量子化幅や、DCT係数を、ライン31
2を経由して、復号化器303に出力する。また、上記
データ解析器302で解析した動きベクトルを、ライン
318を経由して、予測画像生成器310に送り、同じ
く上記データ解析器302で解析した画像サイズを、ラ
イン321を経由して、制御器320に出力する。
Next, the data analyzer 302 analyzes the compression-encoded image data, and as the data of the compressed block, the quantization width and the DCT coefficient are calculated by the line 31.
It is output to the decoder 303 via 2 Further, the motion vector analyzed by the data analyzer 302 is sent to the predicted image generator 310 via the line 318, and the image size similarly analyzed by the data analyzer 302 is controlled via the line 321. Output to the device 320.

【0050】復号化器303では、逆量子化器304
と、逆離散コサイン変換器(逆DCT変換器)305に
より、上記圧縮されたブロックのデータ、即ち圧縮ブロ
ックを伸長し、伸長ブロックに復元する。本実施の形態
1では、逆量子化器304で、上記圧縮ブロックを逆量
子化し、逆離散コサイン変換(IDCT)305で周波
数領域信号を空間領域信号に変換し、伸長ブロック31
4を得る。予測画像生成器310では、ライン318を
経由して送られた動きベクトルをもとに、フレームメモ
リ部309をアクセスするためのアドレス321を生成
してこれをフレームメモリ部309に入力し、フレーム
メモリ部309に格納された画像の中から予測ブロック
317を生成し、出力させる。該予測ブロック317,
即ち319と、上記伸長したブロック314とを、加算
器306に入力し、加算することにより、再生ブロック
315を生成する。そして、該再生ブロック315を、
出力端子307から出力させると同時に、ライン316
を介して、フレームメモリ部309に格納する。なお、
ここで、フレーム内符号化を行う場合には、予測ブロッ
クのサンプル値は、すべてゼロになるものである。
In the decoder 303, the inverse quantizer 304
Then, the inverse discrete cosine transformer (inverse DCT transformer) 305 decompresses the data of the compressed block, that is, the compressed block, and restores the expanded block. In the first embodiment, the inverse quantizer 304 inversely quantizes the compressed block, the inverse discrete cosine transform (IDCT) 305 transforms the frequency domain signal into the spatial domain signal, and the decompression block 31.
Get 4. The predictive image generator 310 generates an address 321 for accessing the frame memory unit 309 based on the motion vector sent via the line 318 and inputs this to the frame memory unit 309, A prediction block 317 is generated from the image stored in the unit 309 and is output. The prediction block 317,
That is, the reproduction block 315 is generated by inputting 319 and the expanded block 314 to the adder 306 and adding them. Then, the reproduction block 315 is
At the same time as outputting from the output terminal 307, the line 316
Through the frame memory unit 309. In addition,
Here, when the intra-frame coding is performed, the sample values of the prediction block are all zero.

【0051】上記予測画像生成器310の動作は、図1
の流れ図を用いて説明したものと同じである。即ち、ま
ず、参照画像のサイズが予測画像生成器310に入力さ
れ、該予測画像生成器310において、参照画像が決定
される。なお、この参照画像の決定は、制御器320を
介して、ライン322を経由しての,参照画像のサイズ
がゼロであるかどうかの情報により、フレームメモリ部
309を制御することにより行うことも可能である。
The operation of the predictive image generator 310 is shown in FIG.
Is the same as that described using the flowchart of FIG. That is, first, the size of the reference image is input to the predicted image generator 310, and the predicted image generator 310 determines the reference image. The reference image may be determined by controlling the frame memory unit 309 via the controller 320 via the line 322 based on the information as to whether the size of the reference image is zero. It is possible.

【0052】図4は、本発明の実施の形態1による画像
予測復号化装置におけるフレームメモリ部の一例であ
る,フレームメモリバンク406のブロック図を示す。
フレームメモリバンク406内には、3つのフレームメ
モリ401〜403が設けられている。再生された画像
は、これらのフレームメモリ401〜403のうちのい
ずれかに格納される。また、予測画像を生成する時に、
これらのフレームメモリ401〜403をアクセスす
る。
FIG. 4 is a block diagram of a frame memory bank 406 which is an example of a frame memory unit in the image predictive decoding apparatus according to the first embodiment of the present invention.
In the frame memory bank 406, three frame memories 401 to 403 are provided. The reproduced image is stored in any of these frame memories 401 to 403. Also, when generating the predicted image,
The frame memories 401 to 403 are accessed.

【0053】本実施の形態1では、切り替えスイッチ4
04と、405とを具備している。スイッチ405は、
ライン408(図3のライン316に相当)を介して入
力される,再生された画像を、いずれのフレームメモリ
に格納するかを決めるためのもので、制御器320によ
って制御されて、即ち制御信号322に応じて、フレー
ムメモリ401〜403を、順番に切り替える。すなわ
ち、1番目の再生画像がフレームメモリ401に格納さ
れたあとには、2番目の再生画像をフレームメモリ40
2に格納する。以下同様であるが、3番目の再生画像が
フレームメモリ403に格納されたあとには、フレーム
メモリ401に切り替える。スイッチ404は、ライン
407(図3のライン317に相当)を介して、予測画
像生成器310に接続する。このスイッチ404も、制
御器320によって、即ち制御信号322に応じて、所
定の順番で切り替えられる。但し、その切り替え順序
は、参照画像のサイズによって、変更される。たとえ
ば、所定の順番に従えば、フレームメモリ402に接続
し、予測画像を生成するところであっても、フレームメ
モリ402の画像サイズがゼロの場合、制御器320は
一つ前のフレームメモリ401(これは、その画像サイ
ズがゼロでないものとする)に接続するように、スイッ
チ404を制御する。このようにして、画像サイズがゼ
ロでない参照画像から、予測画像を生成するようにする
ことができる。なお、スイッチ404は、同時に、複数
のフレームメモリに接続してもよい。また、1枚の画像
を再生するたびに、フレームメモリをリセットする装置
では、再生される画像のサイズがゼロのときにはフレー
ムメモリをリセットしないように、制御器320が管理
することにより、サイズがゼロでない,最近に再生され
た画像を、フレームメモリに残すことができる。すなわ
ち、フレームメモリを更新しないようにすることができ
る。
In the first embodiment, the changeover switch 4
04 and 405. The switch 405 is
It is used to determine in which frame memory the reproduced image input via the line 408 (corresponding to the line 316 in FIG. 3) is stored, and is controlled by the controller 320, that is, the control signal. The frame memories 401 to 403 are sequentially switched according to 322. That is, after the first reproduced image is stored in the frame memory 401, the second reproduced image is stored in the frame memory 40.
Store in 2. The same applies hereinafter, but after the third reproduced image is stored in the frame memory 403, the frame memory 401 is switched to. The switch 404 connects to the predictive image generator 310 via line 407 (corresponding to line 317 in FIG. 3). The switch 404 is also switched in a predetermined order by the controller 320, that is, according to the control signal 322. However, the switching order is changed depending on the size of the reference image. For example, according to a predetermined order, even when connecting to the frame memory 402 and generating a predicted image, if the image size of the frame memory 402 is zero, the controller 320 causes the previous frame memory 401 (this Controls the switch 404 to connect to a non-zero image size). In this way, the predicted image can be generated from the reference image whose image size is not zero. The switch 404 may be simultaneously connected to a plurality of frame memories. In a device that resets the frame memory each time one image is played back, the controller 320 manages the frame memory so that the frame memory is not reset when the size of the image played back is zero. No, recently played images can be left in the frame memory. That is, it is possible not to update the frame memory.

【0054】なお、上記実施の形態1においては、ブロ
ック動き補償離散コサイン変換方式を用いた場合につい
て説明したが、本発明は、それ以外の予測方法(グロー
バル動き補償、任意格子状ブロック動き補償などを用い
た予測方法)においても、適用可能である。また、参照
画像として用いられる再生画像が1枚の場合について説
明したが、複数枚の参照画像から、予測画像を生成する
場合にも、同様に適用することができる。
Although the case where the block motion compensation discrete cosine transform method is used has been described in the first embodiment, the present invention is not limited to the prediction method (global motion compensation, arbitrary lattice block motion compensation, etc.). Can also be applied to the prediction method using. Further, although the case where one reproduction image is used as the reference image has been described, the same can be applied to a case where a predicted image is generated from a plurality of reference images.

【0055】以上のような、本実施の形態1によれば、
入力された直前の参照画像のサイズを検出し、該直前の
参照画像のサイズが0でないときは、該直前の参照画像
を用いて予測画像を生成し、該直前の参照画像のサイズ
が0のときは、サイズが0でない最近に再生された画像
を用いて、予測画像を生成するようにしたので、圧縮効
率の向上のため、画像を構成する物体を、物体単位で、
別々に圧縮符号化して伝送する場合に、画像サイズが変
化し、画像が消えてしまうような画像を、画像の予測復
号化,予測符号化において参照画像として用いてしまう
ということがなくなり、残差信号(差分信号)を抑圧で
きる適正な予測復号化,予測符号化を行うことができ
る、という効果が得られる。
According to the first embodiment as described above,
The size of the immediately preceding input reference image is detected, and when the size of the immediately preceding reference image is not 0, a predicted image is generated using the immediately previous reference image, and the size of the immediately previous reference image is 0. In this case, since the predicted image is generated using the image that has been recently reproduced and whose size is not 0, the objects that form the image are divided into object units in order to improve the compression efficiency.
An image whose image size changes and disappears when compression-encoded and transmitted separately is not used as a reference image in predictive decoding and prediction encoding of an image, and the residual error is eliminated. The effect that proper prediction decoding and prediction encoding which can suppress a signal (difference signal) can be performed is acquired.

【0056】(実施の形態2)なお、上記実施の形態1
では、参照画像のサイズが、ゼロかどうかを検出し、こ
の検出した情報を用いて、参照画像を決定するようにし
た場合について述べたが、画像サイズがゼロであること
が、別の指標(例えば、1ビットのフラグF,等)で示
される場合には、その指標を用いて、制御を行うように
することもでき、本実施の形態2は、このようにしたも
のである。
(Embodiment 2) In addition, Embodiment 1 described above
In the above, the case where the size of the reference image is detected as zero and the reference image is determined by using the detected information is described. However, the fact that the image size is zero is another index ( For example, in the case of being indicated by a 1-bit flag F, etc.), the index can be used to perform the control, and the second embodiment is configured in this way.

【0057】即ち、本実施の形態2においては、対象画
像の符号化データは、図9に示すように、画像サイズが
ゼロであること、即ち対応する参照画像が完全に透過す
るもので符号化データが存在しないこと,を示す1ビッ
トのフラグFを、画像データの前の方,すなわち、画像
サイズのデータを示す水平,垂直のサイズHm,Vmよ
りも前の方に設けたもので(ここで、画像サイズがゼロ
であれば、フラグFは“0" とする)、このような場合
に、予測画像の生成方法を、図8に示すように、このフ
ラグFを用いて、その制御を行うようにしたものであ
る。
That is, in the second embodiment, the encoded data of the target image is encoded as shown in FIG. 9 when the image size is zero, that is, the corresponding reference image is completely transparent. A 1-bit flag F indicating that there is no data is provided before the image data, that is, before the horizontal and vertical sizes Hm and Vm indicating the image size data (here Then, if the image size is zero, the flag F is set to "0".) In such a case, the method of generating the predicted image is controlled by using the flag F as shown in FIG. It's something that you do.

【0058】次に、図8の流れ図を用いて、本発明の実
施の形態2による画像予測復号化方法における,予測画
像生成方法について説明する。予測画像を生成する際に
は、まず、ステップ802で、直前の参照画像を入力
し、ステップ803で、該参照画像のフラグFが“1"
かどうかを調べる。ステップ803の判定において、該
参照画像のフラグFが“1" であれば、これは、画像サ
イズがゼロではなく、言い換えれば、参照画像が完全に
透過するものでなく、符号化データが存在するものであ
るので、ステップ804で、該直前の参照画像を用い
て、予測画像を生成する。
Next, a predictive image generation method in the predictive image decoding method according to the second embodiment of the present invention will be described with reference to the flowchart of FIG. When generating the predicted image, first, in step 802, the immediately preceding reference image is input, and in step 803, the flag F of the reference image is “1”.
Find out if If the flag F of the reference image is "1" in the determination of step 803, this means that the image size is not zero, in other words, the reference image is not completely transparent, and encoded data exists. Therefore, in step 804, a predicted image is generated using the immediately preceding reference image.

【0059】図8における,ステップ803の判定にお
いて、該参照画像のフラグFが“1" でなければ、ステ
ップ805に進み、該ステップ805で、フラグFが
“0"でない最近に再生された画像を、参照画像として
用いて、予測画像を生成する。
If the flag F of the reference image is not "1" in the determination at step 803 in FIG. 8, the process proceeds to step 805, and at step 805, the flag F that is not "0" is the most recently reproduced image. Is used as a reference image to generate a predicted image.

【0060】このような本実施の形態2によれば、上記
実施の形態1におけると同様に、画像を構成する物体
を、物体単位で、別々に圧縮符号化して伝送する場合
に、画像サイズが変化し、画像が消えてしまうような画
像を、参照画像として用いてしまうということがなくな
り、残差信号(差分信号)を抑圧できる適正な予測復号
化,予測符号化を行うことができるとともに、対象画像
の符号化データが、その先頭に、直前の再生画像に、参
照されるべき有意な符号化データが存在するか否かを示
すフラグをもつものとし、このフラグを検出して参照画
像を決定するようにしたので、参照画像を決定する演算
を、簡易に行うことができる効果が得られる。
According to the second embodiment, as in the first embodiment, when the objects forming the image are separately compression-coded for each object and transmitted, the image size becomes smaller. An image that changes and disappears is not used as a reference image, and proper prediction decoding and prediction encoding that can suppress a residual signal (difference signal) can be performed. It is assumed that the coded data of the target image has a flag at the head thereof indicating whether or not significant coded data to be referenced exists in the immediately preceding reproduced image, and the reference image is detected by detecting this flag. Since the determination is made, it is possible to easily perform the calculation for determining the reference image.

【0061】(実施の形態3)図5は本発明の実施の形
態3による画像予測復号化装置における,予測画像生成
方法の流れ図を示す。本実施の形態3における予測画像
生成方法は、図1に示す実施の形態1におけるとほとん
ど同じであり、異なる処理は、図1のステップ105に
代わる、図5のステップ505である。ステップ505
では、参照画像がゼロのとき、あるいは参照画像が完全
に透過するときに、(あるいは画像のフラグFが“0"
であるときに)、予測画像として、所定の値を代入して
なるもの,即ち所定の値を有する予測画像を生成する。
(Embodiment 3) FIG. 5 is a flow chart of a predictive image generation method in an image predictive decoding apparatus according to Embodiment 3 of the present invention. The predictive image generation method in the third embodiment is almost the same as that in the first embodiment shown in FIG. 1, and the different processing is step 505 in FIG. 5, which replaces step 105 in FIG. Step 505
Then, when the reference image is zero or when the reference image is completely transparent (or the image flag F is "0").
Then, a prediction image having a predetermined value, that is, a prediction image having a predetermined value is generated as the prediction image.

【0062】本実施の形態3では、これを灰色,即ち輝
度信号と色差信号の値がともに128,とする。その結
果、本実施の形態3では、符号化する時には、符号化の
対象となるブロックから、灰色のブロックを引き算し、
復号化する時には、復号化の対象となるブロックに、灰
色のブロックを加算する。なお、上記所定の値は、可変
の値とし、これを符号化部から復号化部に伝送し、これ
を用いて、予測画像を生成するようにしてもよい。
In the third embodiment, this is gray, that is, the values of the luminance signal and the color difference signal are both 128. As a result, in the third embodiment, when encoding, the gray block is subtracted from the block to be encoded,
When decoding, the gray block is added to the block to be decoded. The predetermined value may be a variable value, which may be transmitted from the encoding unit to the decoding unit and used to generate the predicted image.

【0063】このような本実施の形態3によれば、画像
を構成する物体を、物体単位で、別々に圧縮符号化して
伝送する場合に、画像サイズが変化し、画像が消えてし
まうような画像を、参照画像として用いてしまうという
ことがなくなり、残差信号(差分信号)を抑圧できる適
正な予測復号化,予測符号化を行うことができるととも
に、参照画像のサイズが0であることを検出したとき、
即ち参照画像が完全に透過するときに、予測画像とし
て、所定の値を有する予測画像を生成するようにしたの
で、上記実施の形態1におけると同様の効果を得ること
ができ、さらに、予測画像を容易に生成することができ
る効果が得られる。
According to the third embodiment as described above, when the objects forming an image are separately compression-encoded for each object and transmitted, the image size changes and the image disappears. The image is not used as a reference image, proper prediction decoding and prediction encoding capable of suppressing a residual signal (difference signal) can be performed, and the size of the reference image is 0. When detected,
That is, when the reference image is completely transparent, the predicted image having the predetermined value is generated as the predicted image, so that the same effect as in the first embodiment can be obtained. The effect that can easily generate is obtained.

【0064】(実施の形態4)図10は本発明の実施の
形態4による画像予測復号化装置における,予測画像生
成方法の流れ図を示す。本実施の形態4における予測画
像生成方法は、図8に示す実施の形態2におけるとほと
んど同じであり、異なる処理は、図8のステップ805
に代わる、図10のステップ1005である。ステップ
1005では、参照画像の画像のフラグFが“0" であ
るときに、予測画像として、所定の値を代入してなるも
の,即ち所定の値を有する予測画像を生成する。
(Embodiment 4) FIG. 10 shows a flowchart of a predictive image generation method in an image predictive decoding apparatus according to Embodiment 4 of the present invention. The predictive image generation method in the fourth embodiment is almost the same as that in the second embodiment shown in FIG. 8, and the different processing is step 805 in FIG.
Is a step 1005 in FIG. In step 1005, when the flag F of the image of the reference image is "0", a prediction image having a predetermined value substituted, that is, a prediction image having a predetermined value is generated as the prediction image.

【0065】このような本実施の形態4によれば、画像
を構成する物体を、物体単位で、別々に圧縮符号化して
伝送する場合に、画像サイズが変化し、画像が消えてし
まうような画像を、参照画像として用いてしまうという
ことがなくなり、残差信号(差分信号)を抑圧できる適
正な予測復号化,予測符号化を行うことができるととも
に、対象画像の符号化データが、その先頭に、直前の再
生画像に参照されるべき有意な符号化データが存在する
か否かを示すフラグをもつものとし、このフラグが
“0" であることを検出したときに、予測画像として、
所定の値を有する予測画像を生成するようにしたので、
上記実施の形態2におけると同様の効果を得ることがで
き、さらに、予測画像を容易に生成することができる効
果が得られる。
According to the fourth embodiment as described above, when the objects forming the image are separately compression-coded for each object and transmitted, the image size changes and the image disappears. The image is no longer used as a reference image, and proper predictive decoding and predictive coding capable of suppressing the residual signal (difference signal) can be performed, and the coded data of the target image is In addition, a flag indicating whether or not significant coded data to be referred to in the immediately preceding reproduced image is present is provided, and when it is detected that this flag is “0”, as a predicted image,
Since it is designed to generate a prediction image with a predetermined value,
It is possible to obtain the same effect as that in the above-described second embodiment, and further it is possible to obtain the effect that the predicted image can be easily generated.

【0066】(実施の形態5)図6は、本発明の実施の
形態5による双方向予測を用いた、画像予測復号化方法
における,予測画像生成方法の流れ図を示す。以下、本
実施の形態5の特徴である双方向予測の場合について、
参照画像サイズがゼロの場合、即ち参照画像が完全に透
過する場合の処理について説明する。
(Embodiment 5) FIG. 6 is a flow chart of a predictive image generation method in an image predictive decoding method using bidirectional prediction according to Embodiment 5 of the present invention. Hereinafter, in the case of bidirectional prediction, which is a feature of the fifth embodiment,
The processing when the reference image size is zero, that is, when the reference image is completely transparent will be described.

【0067】即ち、図6に示されるように、まず、ステ
ップ602において、前方,後方の参照画像(両方向の
参照画像)のサイズを入力する。図2(a) の画像#5
(205)は、双方向予測画像で、前方参照画像は、画
像#4(204)であり、後方参照画像は、画像#6
(206)である。
That is, as shown in FIG. 6, first, in step 602, the sizes of the front and rear reference images (reference images in both directions) are input. Image # 5 in Figure 2 (a)
(205) is a bidirectional predicted image, the forward reference image is image # 4 (204), and the backward reference image is image # 6.
(206).

【0068】そして、ステップ603とステップ604
によって、前方,及び後方の参照画像のサイズがともに
ゼロの場合、ステップ605において、所定の値を代入
してなる画像,即ち所定の値を有する画像を、予測画像
とする。ステップ603とステップ604によって、前
方参照画像のサイズがゼロで、後方参照画像のサイズが
ゼロでない場合、ステップ606において、後方参照画
像のみを用いて、予測画像を生成する。
Then, step 603 and step 604
Thus, if both the sizes of the front and rear reference images are zero, in step 605, an image obtained by substituting a predetermined value, that is, an image having a predetermined value is set as a predicted image. If the size of the forward reference image is zero and the size of the backward reference image is not zero according to steps 603 and 604, the predicted image is generated using only the backward reference image in step 606.

【0069】次に、ステップ603とステップ607に
よって、前方参照画像のサイズがゼロでなくて、後方参
照画像のサイズがゼロである場合、ステップ608にお
いて、前方参照画像のみを用いて、予測画像を生成す
る。ステップ603とステップ607によって、前方後
方参照画像のサイズがともにゼロでない場合、ステップ
609において、両方向の参照画像を用いて、予測画像
を生成する。
Next, at step 603 and step 607, if the size of the forward reference image is not zero and the size of the backward reference image is zero, at step 608, the predicted image is obtained using only the forward reference image. To generate. When both the sizes of the front and rear reference images are not zero in step 603 and step 607, in step 609, the predictive image is generated using the reference images in both directions.

【0070】そして、ステップ610で、生成した予測
画像を出力し、符号化部では、該予測画像を、対象画像
から引き算し、復号化部では、該予測画像を、対象画像
の差分に、加算する。このようにして、残差信号(差分
信号)を抑圧することができる。
Then, in step 610, the generated predicted image is output, the coding unit subtracts the predicted image from the target image, and the decoding unit adds the predicted image to the difference between the target images. To do. In this way, the residual signal (difference signal) can be suppressed.

【0071】このような本実施の形態5によれば、画像
を構成する物体を、物体単位で、別々に圧縮符号化して
伝送する場合において、両方向参照画像を用いて予測画
像を生成する場合に、画像サイズが変化し、画像が消え
てしまうような画像を、参照画像として用いてしまうと
いうことがなくなり、残差信号(差分信号)を抑圧でき
る適正な予測復号化,予測符号化を行うことができると
ともに、予測画像として、所定の値を有する予測画像を
生成するようにしたので、予測画像を容易に生成するこ
とができる効果が得られる。
According to the fifth embodiment as described above, when the objects forming the image are separately compression-coded for each object and transmitted, the prediction image is generated using the bidirectional reference image. , Proper predictive decoding and predictive coding capable of suppressing a residual signal (difference signal) without using an image whose image size changes and disappearing as a reference image. In addition, since the predicted image having the predetermined value is generated as the predicted image, it is possible to obtain the effect that the predicted image can be easily generated.

【0072】(実施の形態6)図11は本発明の実施の
形態6による両方向予測を用いた、画像予測復号化方法
における,予測画像生成方法の流れ図を示す。以下、本
実施の形態6は、上記実施の形態2,4の、上記実施の
形態1,3に対する関係と同じである。即ち、本実施の
形態6は、図6に示す実施の形態5における、図6のス
テップ603,604,607における「サイズがゼロ
か?」を、「のフラグFが“0" か?」に変更して、そ
れぞれ図11のステップ1103,1104,1107
としたものである。
(Embodiment 6) FIG. 11 is a flowchart of a predictive image generation method in an image predictive decoding method using bidirectional prediction according to Embodiment 6 of the present invention. Hereinafter, the sixth embodiment has the same relationship as the first and third embodiments with the second and fourth embodiments. That is, in the sixth embodiment, “is the size zero?” In steps 603, 604, and 607 of FIG. 6 in the fifth embodiment shown in FIG. 6 is changed to “is the flag F of“ 0 ”?”. Change to steps 1103, 1104 and 1107 of FIG. 11, respectively.
It is what

【0073】従って、このような本実施の形態6によれ
ば、画像を構成する物体を、物体単位で、別々に圧縮符
号化して伝送する場合において、両方向参照画像を用い
て予測画像を生成する場合に、画像サイズが変化し、画
像が消えてしまうような画像を、参照画像として用いて
しまうということがなくなり、残差信号(差分信号)を
抑圧できる適正な予測復号化,予測符号化を行うことが
できるとともに、前方,後方の両参照画像のフラグFが
0であることを検出したときに、所定の値を有する予測
画像を生成するようにしたので、画像サイズが変化し、
画像が消えてしまうような画像の検出を容易に行うこと
ができ、さらには、予測画像を容易に生成することがで
きる効果が得られる。以下、さらなる本発明の実施の形
態7,8として画像予測符号化装置について説明する。
Therefore, according to the sixth embodiment, when the objects forming the image are separately compression-coded for each object and transmitted, the prediction image is generated using the bidirectional reference image. In this case, an image in which the image size changes and the image disappears is not used as a reference image, and proper prediction decoding and prediction encoding capable of suppressing the residual signal (difference signal) can be performed. In addition to being able to be performed, when it is detected that the flags F of both the front and rear reference images are 0, a prediction image having a predetermined value is generated, so that the image size changes,
It is possible to easily detect an image in which the image disappears, and further it is possible to obtain an effect that a predicted image can be easily generated. An image predictive coding apparatus will be described below as Embodiments 7 and 8 of the present invention.

【0074】(実施の形態7)図12は本発明の実施の
形態7による画像予測符号化装置のブロック図を示す。
この画像予測符号化装置1000は、輝度信号及び色差
信号からなるテクスチャー信号に対する予測符号化を行
うテクスチャー符号化部1100と、形状信号に対する
予測符号化を行う形状符号化部1200とを有してい
る。
(Embodiment 7) FIG. 12 is a block diagram of an image predictive coding apparatus according to Embodiment 7 of the present invention.
The image predictive coding apparatus 1000 includes a texture coding unit 1100 that performs predictive coding on a texture signal including a luminance signal and a color difference signal, and a shape coding unit 1200 that performs predictive coding on a shape signal. .

【0075】上記テクスチャー符号化部1100は、1
フレームのテクスチャー信号を、符号化処理の単位であ
る16×16画素の大きさのマクロブロック毎に分割し
て出力するブロック化器1110と、符号化処理の対象
となる対象ブロックと、これに対応する予測ブロックと
の差分を求める減算器1160と、該差分を圧縮符号化
する圧縮符号化器1120と、該圧縮符号化器1120
の出力を伸長復号する局所復号化器1130とを有して
いる。ここで、上記圧縮符号化器1120は、上記差分
に対してDCTを施す離散コサイン変換器1121と、
DCT変換係数を量子化する量子化器1122とから構
成されている。また上記局所復号化器1130は、上記
量子化器1122の出力を逆量子化する逆量子化器11
31と、該逆量子化器1131の出力に対して、周波数
領域信号を空間領域信号に変換する逆DCTを施す逆離
散コサイン変換器1132とから構成されている。
The texture encoding unit 1100 is
A blocker 1110 that divides a texture signal of a frame into macroblocks each having a size of 16 × 16 pixels, which is a unit of encoding processing, and outputs the target block that is an encoding processing target Subtractor 1160 for obtaining a difference from the prediction block, a compression encoder 1120 for compressing and encoding the difference, and a compression encoder 1120.
Local decoder 1130 for decompressing and decoding the output of Here, the compression encoder 1120 includes a discrete cosine transformer 1121 that performs DCT on the difference,
And a quantizer 1122 for quantizing the DCT transform coefficient. The local decoder 1130 also inversely quantizes the output of the quantizer 1122.
31 and an inverse discrete cosine transformer 1132 which performs an inverse DCT on the output of the inverse quantizer 1131 to transform a frequency domain signal into a spatial domain signal.

【0076】また、上記テクスチャー符号化部1100
は、上記逆離散コサイン変換器1132の出力である伸
長ブロックと上記予測ブロックとを加算して再生ブロッ
クを生成する加算器1170と、該再生ブロックを格納
するフレームメモリ部(FM1)1140と、所定の動
き検出法により検出された動き情報に基づいて、該フレ
ームメモリ部1140に格納された画像から動き補償に
より対象ブロックに対応する予測ブロックを取得する予
測画像生成器1150とを有している。
Further, the texture coding unit 1100.
Is an adder 1170 that adds a decompressed block that is the output of the inverse discrete cosine transformer 1132 and the prediction block to generate a reproduced block, a frame memory unit (FM1) 1140 that stores the reproduced block, A prediction image generator 1150 that acquires a prediction block corresponding to the target block by motion compensation from the image stored in the frame memory unit 1140 based on the motion information detected by the motion detection method.

【0077】この予測画像生成器1150は、ブロック
化器1110の出力から得られる画像サイズに基づい
て、フレームメモリブロック1140に格納されている
再生画像から、予測ブロック(予測画像)を生成する際
に参照する参照画像を設定する動作をも行うようになっ
ている。
The predictive image generator 1150 generates a predictive block (predictive image) from the reproduced image stored in the frame memory block 1140 based on the image size obtained from the output of the blocker 1110. An operation of setting a reference image to be referred to is also performed.

【0078】一方、上記形状符号化部1200は、1フ
レームの形状信号を、符号化処理の単位である16×1
6画素の大きさのマクロブロック毎に分割して出力する
ブロック化器1210と、符号化処理の対象となる対象
ブロックと、これに対応する予測ブロックとの差分を求
める減算器1260と、該差分を所定の符号化方法によ
り符号化する形状符号化器1220と、該形状符号化器
1220の出力を上記所定の符号化方法に対応する復号
化方法により復号する形状復号化器1230とを有して
いる。ここで、上記形状符号化器1120は、、四分木
やチェイン符号化方法等により上記減算器1260の出
力を符号化する構成となっている。
On the other hand, the shape coding unit 1200 processes the shape signal of one frame into 16 × 1 which is the unit of coding processing.
A blocker 1210 that divides and outputs each macroblock having a size of 6 pixels, a subtracter 1260 that obtains a difference between a target block that is a target of encoding processing, and a prediction block corresponding to the target block, and the difference And a shape decoder 1230 for decoding the output of the shape encoder 1220 by a decoding method corresponding to the above-mentioned predetermined encoding method. ing. Here, the shape encoder 1120 is configured to encode the output of the subtractor 1260 using a quadtree, a chain encoding method, or the like.

【0079】また、上記形状符号化部1200は、上記
形状復号化器1230の出力である復号ブロックと上記
予測ブロックとを加算して再生ブロックを生成する加算
器1270と、該加算器1270から出力される復号ブ
ロックを格納するフレームメモリ部(FM2)1240
と、所定の動き検出法により検出された動き情報に基づ
いて、該フレームメモリ部1240に格納された形状情
報から動き補償により対象ブロックに対応する予測ブロ
ックを取得する予測画像生成器1250とを有してい
る。ここでは、該予測画像生成器1250は、上記ブロ
ック化器1210の出力から得られる画像サイズに基づ
いて、フレームメモリブロック1240に格納されてい
る再生画像から、予測ブロック(予測画像)を生成する
際に参照する参照画像を決定する動作をも行うようにな
っている。
The shape coding unit 1200 adds the decoded block output from the shape decoder 1230 and the prediction block to generate a reproduced block, and outputs from the adder 1270. Frame memory unit (FM2) 1240 for storing decoded blocks
And a predictive image generator 1250 for acquiring a predictive block corresponding to the target block by motion compensation from the shape information stored in the frame memory unit 1240 based on the motion information detected by a predetermined motion detecting method. is doing. Here, the predicted image generator 1250 generates a predicted block (predicted image) from the reproduced image stored in the frame memory block 1240 based on the image size obtained from the output of the blocker 1210. An operation of determining a reference image to be referred to is also performed.

【0080】なお、上記各符号化部1100及び120
0での参照画像の決定は、図12に点線で示すように、
上記再生ブロックに基づいて形状検出を行う形状検出器
1280を設け、この形状検出器1280から出力され
る形状検出出力により上記各フレームメモリ部(FM
1,FM2)1140,1240を制御することにより
行うようにしてもよい。この場合における形状検出出力
によるフレームメモリ部の制御は、上記実施の形態1に
おける制御器320によるフレームメモリ部309の制
御と全く同様に行われる。また、この場合には、上記形
状検出出力は、可変長符号化器1010に供給され、テ
クスチャー信号及び形状信号の符号化データとともに伝
送されることとなる。
The above coding units 1100 and 120
The determination of the reference image at 0 is performed as shown by the dotted line in FIG.
A shape detector 1280 for performing shape detection based on the reproduction block is provided, and each frame memory unit (FM) is detected by the shape detection output output from the shape detector 1280.
1, FM2) 1140 and 1240 may be controlled. In this case, the control of the frame memory unit by the shape detection output is performed in exactly the same way as the control of the frame memory unit 309 by the controller 320 in the first embodiment. Further, in this case, the shape detection output is supplied to the variable length encoder 1010 and is transmitted together with the encoded data of the texture signal and the shape signal.

【0081】また、上記画像予測符号化装置1000
は、上記テクスチャー符号化部1100の出力である符
号化テクスチャー信号、上記形状符号化部1200の出
力である符号化形状信号及び形状検出出力を可変長符号
化し、多重化して出力する可変長符号化器1010を有
している。なお、図中、1001はテクスチャー信号の
入力端子、1002は形状信号の入力端子、1003は
符号化データの出力端子である。
Further, the image predictive coding apparatus 1000 described above.
Is a variable-length coding that performs variable-length coding on the coded texture signal output from the texture coding unit 1100, the coded shape signal output from the shape coding unit 1200, and the shape detection output, and multiplexes and outputs. It has a container 1010. In the figure, 1001 is a texture signal input terminal, 1002 is a shape signal input terminal, and 1003 is an encoded data output terminal.

【0082】次に動作について説明する。この画像予測
符号化装置1000にテクスチャー信号(輝度・色差信
号)及び形状信号が入力されると、上記テクスチャー信
号及び形状信号はそれぞれ対応する符号化部1100,
1200おけるブロック器1110,1210にて符号
化処理の単位となるマクロブロックに分割され、各マク
ロブロック毎に予測符号化処理が行われる。
Next, the operation will be described. When a texture signal (luminance / color difference signal) and a shape signal are input to the image predictive coding apparatus 1000, the texture signal and the shape signal respectively correspond to the coding units 1100,
Blocks 1110 and 1210 in 1200 are divided into macroblocks that are units of coding processing, and predictive coding processing is performed for each macroblock.

【0083】テクスチャー信号符号化部1100では、
対象ブロックと予測ブロックとの差分が減算器1160
により求められ、DCT器1121にてこの差分がDC
T係数に変換され、さらにこのDCT係数が量子化器1
122にて量子化係数に変換される。そしてこの量子化
係数は可変長符号化器1010に出力される。
In the texture signal coding unit 1100,
The difference between the target block and the prediction block is the subtractor 1160.
And the difference is calculated by the DCT unit 1121.
The DCT coefficient is converted into a T coefficient, and this DCT coefficient is further converted into a quantizer 1.
At 122, it is converted into a quantized coefficient. Then, this quantized coefficient is output to the variable length encoder 1010.

【0084】上記量子化係数は逆量子化器1131にて
DCT係数に逆変換され、さらにこのDCT係数は、I
DCT器1130での周波数領域のデータを空間領域の
データに変換する処理により、上記対象ブロックに対応
する伸長ブロックに変換される。さらにこの伸長ブロッ
クと上記予測ブロックとが加算器1170により加算さ
れて再生ブロックが生成される。そしてこの再生ブロッ
クは、フレームメモリ部1140に格納される。このと
き、上記予測画像生成器1150では、所定の動き検出
法により検出された動き情報に基づいて、該フレームメ
モリ部1140に格納された画像から動き補償により対
象ブロックに対応する予測ブロックが生成する処理が行
われている。また、この予測画像生成器1150では、
ブロック化器1110の出力から得られる画像サイズに
基づいて、フレームメモリブロック1140に格納され
ている再生画像から、参照されるべき有意な画像データ
が存在する最近に再生された1つの再生画像を参照画像
として決定する。なお、この参照画像の決定は、形状検
出器1280が設けられている場合には、その出力であ
る形状検出出力,つまり通常参照されるべき再生画像の
サイズがゼロであるかどうかの情報により、フレームメ
モリ部1140を制御することにより行うことも可能で
ある。
The quantized coefficient is inversely transformed into a DCT coefficient by the inverse quantizer 1131, and this DCT coefficient is I
By the process of converting the frequency domain data into the spatial domain data in the DCT unit 1130, it is converted into the decompressed block corresponding to the target block. Further, the decompressed block and the prediction block are added by the adder 1170 to generate a reproduced block. Then, this reproduction block is stored in the frame memory unit 1140. At this time, the predictive image generator 1150 generates a predictive block corresponding to the target block by motion compensation from the image stored in the frame memory unit 1140 based on the motion information detected by a predetermined motion detecting method. Processing is taking place. Further, in this predicted image generator 1150,
Based on the image size obtained from the output of the blocker 1110, refer to one recently reproduced image in which there is significant image data to be referenced from the reproduced images stored in the frame memory block 1140. Determine as an image. Note that, when the shape detector 1280 is provided, this reference image is determined by the shape detection output which is the output thereof, that is, information on whether or not the size of the reproduced image to be normally referred to is zero. It is also possible to control the frame memory unit 1140.

【0085】また、上記テクスチャー符号化部1100
の処理と並行して、形状符号化部1200では、形状信
号に対する予測符号化処理が、上記テクスチャー信号の
予測符号化処理とほぼ同様に行われる。つまり、対象ブ
ロックと予測ブロックとの差分が減算器1260により
求められ、形状符号化器1220にてこの差分が四分木
やチェイン符号化方法等の方法で符号化されて上記可変
長符号化器1010に出力される。また上記形状符号化
器1220からの形状符号化信号は形状復号化器123
0により復元され、復元ブロックと予測ブロックが加算
器1270により加算されて再生ブロックが生成され
る。
Also, the texture coding unit 1100.
In parallel with the above process, the shape coding unit 1200 performs the predictive coding process on the shape signal in substantially the same manner as the predictive coding process on the texture signal. That is, the difference between the target block and the prediction block is obtained by the subtracter 1260, and the difference is encoded by the shape encoder 1220 by a method such as a quadtree or a chain encoding method, and the variable length encoder is used. Is output to 1010. The shape coded signal from the shape encoder 1220 is the shape decoder 123.
0 is restored, and the restored block and the prediction block are added by the adder 1270 to generate a regenerated block.

【0086】この加算器1270から出力される再生ブ
ロックはフレームメモリ部1240に格納され、上記予
測画像生成器1250では、所定の動き検出法により検
出された動き情報に基づいて、該フレームメモリ部12
40に格納された形状情報から動き補償により対象ブロ
ックに対応する予測ブロックが生成される。また、この
予測画像生成器1250では、ブロック化器1210の
出力から得られる画像サイズに基づいて、フレームメモ
リブロック1240に格納されている再生画像から、参
照されるべき有意な画像データが存在する最近に再生さ
れた1つの再生画像を参照画像として決定する。
The reproduced block output from the adder 1270 is stored in the frame memory unit 1240, and the predictive image generator 1250 uses the frame memory unit 12 based on the motion information detected by a predetermined motion detection method.
From the shape information stored in 40, a prediction block corresponding to the target block is generated by motion compensation. Further, in this predictive image generator 1250, based on the image size obtained from the output of the blocker 1210, there is significant image data to be referenced from the reproduced image stored in the frame memory block 1240. One reproduced image reproduced in step S1 is determined as a reference image.

【0087】なお、この参照画像の決定は、形状検出器
1280が設けられている場合には、その出力である形
状検出出力,つまり通常参照されるべき再生画像のサイ
ズがゼロであるかどうかの情報により、フレームメモリ
部1240を制御することにより行うことも可能であ
る。また、この場合、上記再生ブロックは形状検出器1
280に入力され、ここで形状検出が行われる。例え
ば、形状信号が2値信号である場合には、形状データと
しての白データ及び黒データのうちの黒データしかない
場合には、再生形状はなにもないこととなる。このと
き、このブロックの形状信号に対応するテクスチャー信
号も存在しないこととなる。この場合には、上述したよ
うに、形状検出器1280からは、符号化データなしを
示すフラグあるいは画像サイズゼロのデータが形状検出
出力として、上記各フレームメモリ部1140,124
0及び上記可変長符号化器1010に出力される。各フ
レームメモリ部1140,1240では、上記形状検出
出力により、上記実施の形態1における制御器320に
よるフレームメモリ309の制御と同様の制御が行われ
る。
When the shape detector 1280 is provided, the reference image is determined by determining whether the output of the shape detector, that is, the size of the reproduced image to be normally referred to is zero. It is also possible to control the frame memory unit 1240 according to the information. Further, in this case, the reproduction block is the shape detector 1.
It is input to 280, and shape detection is performed here. For example, when the shape signal is a binary signal, if there is only black data among white data and black data as shape data, there is no reproduction shape. At this time, there is no texture signal corresponding to the shape signal of this block. In this case, as described above, from the shape detector 1280, a flag indicating that there is no encoded data or data having an image size of zero is output as the shape detection output from each of the frame memory units 1140 and 124.
0 and the variable length encoder 1010. In each of the frame memory units 1140 and 1240, control similar to the control of the frame memory 309 by the controller 320 in the first embodiment is performed by the shape detection output.

【0088】このように本実施の形態7では、各符号化
部1100及び1200にて、ブロック化器1110,
1210の出力から得られる画像サイズに基づいて、フ
レームメモリブロック1140,1210に格納されて
いる再生画像から、参照されるべき有意な画像データが
存在する最近に再生された1つの再生画像を参照画像と
して決定するので、画像を構成する物体を、物体単位で
別々に圧縮符号化して伝送する場合に、画像サイズが変
化し、画像がきえてしまうような画像を、画像の予測符
号化において参照画像として用いてしまうということが
なくなり、適正な予測符号化を行うことができるという
効果が得られる。また、この実施の形態7の画像予測符
号化装置により予測符号化された符号化データは、実施
の形態2の画像予測復号化装置により正しく復号化する
ことができる。
As described above, according to the seventh embodiment, each of the coding units 1100 and 1200 has a blocker 1110,
Based on the image size obtained from the output of 1210, from the reproduced images stored in the frame memory blocks 1140 and 1210, a recently reproduced one reproduced image having significant image data to be referred to is referred to as a reference image. Therefore, when compressing and encoding the objects that make up the image separately for each object and transmitting the image, the image that changes in image size and becomes too large is referred to as the reference image in the predictive encoding of the image. Therefore, it is possible to obtain an effect that proper predictive coding can be performed. In addition, the coded data that is predictively coded by the image predictive coding apparatus according to the seventh embodiment can be correctly decoded by the image predictive decoding apparatus according to the second embodiment.

【0089】また、形状検出器1280を有する場合に
は、形状符号化部1200にて、入力された対象ブロッ
クに対応する参照画像が存在するか否かの判定を、形状
信号の再生ブロックの形状を検出することにより行い、
再生ブロックの形状がないときには、テクスチャー符号
化部及び形状符号化部では、対象ブロックに対応する再
生ブロックに代えて、最近に再生された形状を有する再
生ブロックを用いて予測ブロックを生成するので、画像
を構成する物体を、物体単位で別々に圧縮符号化して伝
送する場合に、画像サイズが変化し、画像がきえてしま
うような画像を、画像の予測符号化において参照画像と
して用いてしまうということがなくなり、残差信号(差
分信号)を抑圧できる適正な予測符号化を行うことがで
きるという効果が得られる。この場合には、実施の形態
7の画像予測符号化装置により予測符号化された符号化
データは、実施の形態2の画像予測復号化装置により正
しく復号化することができる。つまり、該画像予測復号
化装置では、データ解析器302が上記形状検出出力に
基づいてフレームメモリブロック309を制御すること
となり、これにより、物体単位で予測符号化された符号
化データを復号する際、画像サイズが変化し、画像がき
えてしまうような画像を、画像の予測復号化において参
照画像として用いてしまうということがなくなり、適正
な予測復号化を行うことができる。
When the shape detector 1280 is provided, the shape encoding unit 1200 determines whether or not a reference image corresponding to the input target block exists, and the shape of the reproduced block of the shape signal is determined. By detecting
When there is no shape of the reproduction block, the texture encoding unit and the shape encoding unit generate the prediction block using the reproduction block having the recently reproduced shape instead of the reproduction block corresponding to the target block. When the objects that make up an image are compressed and encoded separately for each object and transmitted, an image that changes in image size and causes the image to be cut is used as a reference image in image predictive encoding. It is possible to obtain the effect that proper prediction encoding capable of suppressing the residual signal (difference signal) can be performed. In this case, the coded data that is predictively coded by the image predictive coding apparatus according to the seventh embodiment can be correctly decoded by the image predictive decoding apparatus according to the second embodiment. In other words, in the image predictive decoding device, the data analyzer 302 controls the frame memory block 309 based on the shape detection output, and thereby, when decoding the coded data that is predictively coded in object units. Therefore, it is possible to perform an appropriate predictive decoding without using an image whose image size is changed and the image is cut off as a reference image in the predictive decoding of the image.

【0090】なお、上記実施の形態7では、予測画像生
成器1150,1250による参照画像としての再生画
像の選択、あるいは形状検出出力によるフレームメモリ
部1140及び1240の制御は、上記実施の形態1に
おける予測画像生成器1150,1250による参照画
像としての再生画像の選択、あるいは制御器320によ
るフレームメモリ部309の制御と全く同様に行われる
場合について示したが、これに限るものではない。
In the seventh embodiment, the selection of the reproduced image as the reference image by the predicted image generators 1150 and 1250 or the control of the frame memory units 1140 and 1240 by the shape detection output is the same as in the first embodiment. The case where the predicted image generators 1150 and 1250 select the reproduced image as the reference image or the controller 320 controls the frame memory unit 309 in exactly the same manner has been described, but the present invention is not limited to this.

【0091】例えば、対象フレームの直前のフレームに
参照されるべき画像データが存在しない場合には、実施
の形態3のように、予測画像として、所定の値を有する
予測画像を生成するものでもよく、この場合は、画像予
測符号化装置に対応する画像予測復号化装置として、上
記実施の形態3の画像予測復号化処理を行う装置を用い
ることができる。
For example, when there is no image data to be referenced in the frame immediately before the target frame, a predicted image having a predetermined value may be generated as the predicted image as in the third embodiment. In this case, as the image predictive decoding device corresponding to the image predictive encoding device, the device that performs the image predictive decoding process according to the third embodiment can be used.

【0092】また、上記実施の形態7における予測処理
は、実施の形態5のように、双方向予測処理でもよく、
この場合は、画像予測符号化装置に対応する画像予測復
号化装置として、上記実施の形態5の画像予測復号化処
理を行う装置を用いることができる。
Further, the prediction processing in the seventh embodiment may be a bidirectional prediction processing as in the fifth embodiment.
In this case, as the image predictive decoding device corresponding to the image predictive encoding device, the device that performs the image predictive decoding process according to the fifth embodiment can be used.

【0093】(実施の形態8)図13は本発明の実施の
形態8による画像予測符号化装置のブロック図を示す。
この画像予測復号化装置1000aは、輝度信号及び色
差信号からなるテクスチャー信号に対する予測符号化を
行うテクスチャー符号化部1100aと、形状信号に対
する予測符号化を行う形状符号化部1200aとを有し
ている。
(Embodiment 8) FIG. 13 is a block diagram of an image predictive coding apparatus according to Embodiment 8 of the present invention.
The image predictive decoding apparatus 1000a includes a texture encoding unit 1100a that performs predictive encoding on a texture signal composed of a luminance signal and a color difference signal, and a shape encoding unit 1200a that performs predictive encoding on a shape signal. .

【0094】ここで、上記テクスチャー符号化部110
0aは、上記実施の形態7のテクスチャー符号化部11
00の構成に加えて、ブロック化器1110の前段に、
テクスチャー信号を制御信号によりブロック化器111
0と接地との間で切り替えてその一方に供給する切替ス
イッチ1190を有する構成となっている。
Here, the texture coding unit 110 is used.
0a is the texture encoding unit 11 according to the seventh embodiment.
In addition to the configuration of 00, before the blocker 1110,
The texture signal is blocked by the control signal by the blocker 111.
It is configured to have a changeover switch 1190 that switches between 0 and ground and supplies it to one of them.

【0095】また、上記形状符号化部1200aは、上
記実施の形態7の形状符号化部1200における形状検
出器1280は有しておらず、ブロック化器1210の
前段に、形状信号を制御信号によりブロック化器121
0と接地との間で切り替えてその一方に供給する切替ス
イッチ1290を有している点で、上記実施の形態7の
ものと異なっている。
Further, the shape coding unit 1200a does not have the shape detector 1280 in the shape coding unit 1200 of the seventh embodiment, and a shape signal is transmitted to the block former 1210 by a control signal. Blocker 121
It differs from the seventh embodiment in that it has a changeover switch 1290 that switches between 0 and ground and supplies it to one of them.

【0096】また、上記画像予測復号化装置1000a
は、形状信号を受け、その形状検出出力を上記制御信号
として各切替スイッチ1190,1290に出力する形
状検出器1020を有している。ここで、上記各切替ス
イッチは、形状検出器1020での形状検出の結果、入
力される形状信号が形状を有しないものであるときに
は、その形状検出出力により、入力されるテクスチャー
信号及び形状信号が接地側に入力され、一方対入力され
る形状信号が形状を有するものであるときには、テクス
チャー信号及び形状信号が各ブロック化器1110,1
210に入力されるようこれらの信号の切替を行うよう
になっている。なお、上記形状検出出力は、可変長符号
化器1010にて、各符号化部1100a,1200a
からの符号化データとともに可変長符号化処理が施され
るようになっている。
Further, the image predictive decoding device 1000a.
Has a shape detector 1020 which receives the shape signal and outputs the shape detection output to the changeover switches 1190 and 1290 as the control signal. Here, as a result of the shape detection by the shape detector 1020, when the input shape signal does not have a shape, each of the changeover switches outputs the input texture signal and shape signal by the shape detection output. When the shape signal that is input to the ground side and that is input to the other side has a shape, the texture signal and the shape signal are input to the blockers 1110, 1 respectively.
These signals are switched so as to be input to 210. The shape detection output is output from the variable length encoder 1010 to the encoders 1100a and 1200a.
The variable length coding process is performed together with the coded data from.

【0097】次にこの実施の形態8の画像予測復号化装
置の動作について簡単に説明する。このような構成の実
施の形態8の画像予測復号化装置1000aでは、上記
形状検出器1020による切替スイッチの制御以外は、
上記実施の形態7と同様な予測復号化動作が行われる。
Next, the operation of the image predictive decoding apparatus according to the eighth embodiment will be briefly described. In the image predictive decoding device 1000a according to the eighth embodiment having such a configuration, except for the control of the changeover switch by the shape detector 1020,
The same predictive decoding operation as in Embodiment 7 is performed.

【0098】つまり、この画像予測復号化装置1000
aでは、テクスチャー信号及び形状信号が入力される
と、形状検出器1020にて、入力される形状信号が形
状を有するものであるか否かの検出が行われる。この検
出の結果、形状信号が形状を有しないものであるときに
は、上記形状検出器1020の出力により切替スイッチ
1190及び1290が制御され、入力されるテクスチ
ャー信号及び形状信号が接地側に供給される。つまりこ
のときには、形状信号及びテクスチャー信号に対する予
測符号化処理は行われず、形状検出出力が可変長符号化
器1010に供給される。
That is, this image predictive decoding device 1000
In a, when the texture signal and the shape signal are input, the shape detector 1020 detects whether or not the input shape signal has a shape. As a result of this detection, when the shape signal has no shape, the changeover switches 1190 and 1290 are controlled by the output of the shape detector 1020, and the input texture signal and shape signal are supplied to the ground side. That is, at this time, the predictive coding process for the shape signal and the texture signal is not performed, and the shape detection output is supplied to the variable length encoder 1010.

【0099】一方、上記検出の結果、入力される形状信
号が形状を有するものであるときには、上記形状検出器
1020の出力により切替スイッチ1190及び129
0が制御され、テクスチャー信号及び形状信号が各ブロ
ック化器1110,1210に入力され、それぞれ予測
符号化処理が施される。そして、各符号化部1100a
及び1200aの出力とともに上記形状検出出力が可変
長符号化器1010に出力される。
On the other hand, as a result of the above detection, when the input shape signal has a shape, the changeover switches 1190 and 129 are output by the output of the shape detector 1020.
0 is controlled, the texture signal and the shape signal are input to the blockers 1110 and 1210, and the predictive coding process is performed on each of them. Then, each encoding unit 1100a
And 1200a, the shape detection output is output to the variable length encoder 1010.

【0100】このように本実施の形態8では、入力され
た形状信号が形状を有するものであるか否かを判定する
形状検出器1020を備え、形状信号が形状を有するも
のである場合には、テクスチャー信号及び形状信号に対
する予測符号化を行い、形状信号が形状を有するもので
ない場合には、テクスチャー信号及び形状信号に対する
予測符号化を行わないようにしたので、画像を構成する
物体を、物体単位で別々に圧縮符号化して伝送する場合
に、画像サイズが変化し、画像がきえてしまうような画
像を、画像の予測符号化において参照画像として用いて
しまうということがなくなり、残差信号(差分信号)を
抑圧できる適正な予測符号化を行うことができる。
As described above, in the eighth embodiment, the shape detector 1020 for determining whether or not the input shape signal has a shape is provided, and when the shape signal has a shape, , The texture signal and the shape signal are subjected to predictive coding, and when the shape signal does not have a shape, the texture signal and the shape signal are not subjected to predictive coding. When the compression encoding is separately performed for each unit and the image is transmitted, the image that the image size changes and the image becomes large is not used as a reference image in the predictive encoding of the image, and the residual signal ( It is possible to perform proper predictive coding capable of suppressing the differential signal).

【0101】また、上記形状検出器での検出出力を符号
化して伝送するようにしたので、画像予測復号化装置で
は、この検出出力を同期信号して用いて、つまり、画像
サイズが小さくなって画像が消えている間は、この画像
に対応する符号化データの再生を停止するようにして、
画像サイズが変化し、画像がきえてしまうような画像に
対する予測復号化処理を適正に行うことができる。
Further, since the detection output from the shape detector is encoded and transmitted, the image predictive decoding apparatus uses this detection output as a synchronization signal, that is, the image size becomes small. While the image disappears, stop playing the encoded data corresponding to this image,
It is possible to properly perform the predictive decoding process for an image in which the image size changes and the image becomes large.

【0102】さらに、上記各実施の形態で示した画像予
測復号化方法あるいは装置,及び画像予測符号化方法あ
るいは装置の構成を実現するためのプログラムを、フロ
ッピーディスク等のデータ記録媒体に記録するようにす
ることにより、上記各実施の形態で示した処理を、独立
したコンピュータシステムにおいて簡単に実施すること
が可能となる。
Further, a program for realizing the image predictive decoding method or apparatus and the image predictive coding method or apparatus configuration shown in each of the above embodiments is recorded on a data recording medium such as a floppy disk. By doing so, it becomes possible to easily carry out the processing shown in each of the above embodiments in an independent computer system.

【0103】図14は、上記各実施の形態における予測
復号化処理あるいは予測符号化処理を、これらの信号処
理に対応したプログラムを格納したフロッピーディスク
を用いて、コンピュータシステムにより実施する場合を
説明するための図である。図14(a) は、フロッピーデ
ィスクFDの正面からみた外観、断面構造、及び記録媒
体であるフロッピーディスク本体を示し、図14(b)
は、フロッピーディスク本体Dの物理フォーマットの例
を示している。フロッピーディスク本体DはケースFC
内に内蔵され、該ディスク本体Dの表面には、同心円状
に外周から内周に向かって複数のトラックTrが形成さ
れ、各トラックは角度方向に16のセクタSeに分割さ
れている。従って、上記プログラムを格納したフロッピ
ーディスク本体Dでは、上記フロッピーディスク本体D
上に割り当てられた領域に、上記プログラムとしてのデ
ータが記録されている。
FIG. 14 illustrates a case where the predictive decoding process or the predictive coding process in each of the above-described embodiments is carried out by a computer system using a floppy disk storing a program corresponding to these signal processes. FIG. FIG. 14 (a) shows the external appearance of the floppy disk FD as viewed from the front, the cross-sectional structure, and the floppy disk body which is the recording medium.
Shows an example of the physical format of the floppy disk body D. Floppy disk body D is case FC
A plurality of tracks Tr are formed concentrically from the outer circumference to the inner circumference on the surface of the disc body D, and each track is angularly divided into 16 sectors Se. Therefore, in the floppy disk body D storing the above program, the floppy disk body D
Data as the above-mentioned program is recorded in the area allocated above.

【0104】また、図14(c) は、フロッピーディスク
FDに対する上記プログラムの記録再生を行うための構
成を示す。上記プログラムをフロッピーディスクFDに
記録する場合は、コンピュータシステムCsから上記プ
ログラムとしてのデータをフロッピーディスクドライブ
FDDを介してフロッピディスクFDに書き込む。また、
フロッピーディスクFD内のプログラムにより、上記画
像伝送方法あるいは画像復号化装置をコンピュータシス
テムCs中に構築する場合は、フロッピーディスクドラ
イブFDDによりプログラムをフロッピーディスクFDか
ら読み出し、コンピュータシステムCsに転送する。
FIG. 14 (c) shows a structure for recording / reproducing the above program on / from the floppy disk FD. When recording the program on the floppy disk FD, the data as the program is written from the computer system Cs to the floppy disk FD via the floppy disk drive FDD. Also,
When the image transmission method or the image decoding apparatus is constructed in the computer system Cs by the program in the floppy disk FD, the program is read from the floppy disk FD by the floppy disk drive FDD and transferred to the computer system Cs.

【0105】なお、上記説明では、データ記録媒体とし
て、上記各実施の形態における予測復号化処理あるいは
予測符号化処理を行うためのプログラムを格納したもの
を挙げたが、データ記録媒体としては、上記各実施の形
態における画像の符号化データを格納したものも挙げら
れる。
In the above description, the data recording medium has stored therein the program for performing the predictive decoding process or the predictive coding process in each of the above-mentioned embodiments, but the data recording medium is the above. There is also one in which encoded data of an image in each embodiment is stored.

【0106】また、上記説明では、データ記録媒体とし
てフロッピーディスクを用いたコンピュータシステムに
よる画像処理の説明を行ったが、この画像処理は、光デ
ィスクを用いても同様に行うことができる。また、記録
媒体はこれに限らず、ICカード、ROMカセット等、
プログラムを記録できるものであれば同様に上記画像処
理を実施することができる。
Further, in the above description, the image processing by the computer system using the floppy disk as the data recording medium has been described, but this image processing can be similarly performed by using the optical disk. The recording medium is not limited to this, but may be an IC card, a ROM cassette, or the like.
If the program can be recorded, the above image processing can be similarly performed.

【0107】[0107]

【発明の効果】以上のように本発明(請求項1,3)に
係る画像予測復号化装置及び画像予測復号化方法によれ
、符号化データを復号化する際、前記符号化データの
直前に復号化された符号化データが有意な対象画像符号
化データを含んでいる場合、前記有意な対象画像符号化
データを復号化して得られた再生画像を参照画像として
予測画像を生成し、前記符号化データの直前に復号化さ
た符号化データが有意な対象画像符号化データを含ま
ない場合、前記直前の符号化データよりも前に復号化さ
れた、有意な対象画像符号化データを含む符号化データ
を復号化して得られた再生画像を参照画像として予測画
像を生成し、生成した予測画像と、復号化した画像とを
加えて再生画像を生成するので、圧縮効率の向上のた
め、画像を構成する物体の画像データを、物体単位で、
別々に圧縮符号化して伝送する場合に、画像サイズが変
化して物体が消えてしまうような画像を、画像データの
復号化の際に参照画像として用いてしまうということが
なくなる。これにより、適正な復号化処理を行うことが
でき、つまり符号量を抑圧した効率のよい圧縮符号化処
理に対応した復号化処理を行うことができるという顕著
な効果が得られる。
According to the present invention the image predictive decoding apparatus and the image predictive decoding method according to (Claim 1, 3) As described above, according to the present invention, when decoding the sign-data, before Kifu Goka If the decoded sign-encoded data immediately before the data includes significant object image coded data, a prediction image reproduced image obtained by decoding the significant object image encoded data as a reference picture produced, before if the decoded sign-encoded data immediately before the Kifu No. data does not include significant object image coded data than said immediately preceding encoded data is decoded before a significant Since the predicted image is generated using the reproduced image obtained by decoding the encoded data including the target image encoded data as the reference image, and the generated predicted image and the decoded image are added to generate the reproduced image, Compose images to improve compression efficiency The image data of the body, the object units,
It is possible to avoid using an image in which the image size changes and the object disappears when the image is separately compression-encoded and transmitted as a reference image when decoding the image data. As a result, it is possible to obtain a remarkable effect that an appropriate decoding process can be performed, that is, a decoding process corresponding to an efficient compression encoding process in which the code amount is suppressed can be performed.

【0108】本発明(請求項2,4)によれば、請求項
1,3記載の画像予測復号化装置,画像予測復号化方法
において、前記直前に復号化した符号化データが有意な
対象画像符号化データを含むかどうかの判断を、前記直
前に復号化した符号化データに含まれるフラグに基づい
て実行するので、上記の効果に加えて、参照画像を決定
する演算を、簡易に行うことができる効果が得られる。
In accordance with the invention (claim 2,4), image predictive decoding apparatus according to claim 1 and 3, wherein, in the image predictive decoding method, significant decoding encoded data before before Kijika
The determination of whether including the target image coded data, since executed based on a flag included in the decoded encoded data before Kijika <br/> before, in addition to the above effects, determining a reference picture It is possible to obtain the effect of easily performing the calculation.

【0109】[0109]

【0110】[0110]

【0111】[0111]

【0112】[0112]

【0113】[0113]

【0114】[0114]

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

【図1】本発明の実施の形態1による画像予測復号化方
法における予測画像生成方法を示す流れ図。
FIG. 1 is a flowchart showing a predictive image generation method in an image predictive decoding method according to Embodiment 1 of the present invention.

【図2】本発明による,画像予測復号化における画像予
測の構造を示す模式図。
FIG. 2 is a schematic diagram showing a structure of image prediction in image predictive decoding according to the present invention.

【図3】本発明の実施の形態1における画像予測復号化
装置を示すブロック図。
FIG. 3 is a block diagram showing an image predictive decoding device according to the first embodiment of the present invention.

【図4】本発明の実施の形態1における画像予測復号化
装置に用いるフレームメモリを示すブロック図。
FIG. 4 is a block diagram showing a frame memory used in the image predictive decoding device according to the first embodiment of the present invention.

【図5】本発明の実施の形態3による画像予測復号化方
法における予測画像生成方法を示す流れ図。
FIG. 5 is a flowchart showing a predictive image generation method in the image predictive decoding method according to the third embodiment of the present invention.

【図6】本発明の実施の形態4による画像予測復号化方
法における予測画像生成方法を示す流れ図。
FIG. 6 is a flowchart showing a predictive image generation method in the image predictive decoding method according to the fourth embodiment of the present invention.

【図7】本発明の実施の形態1における画像データを示
す図。
FIG. 7 is a diagram showing image data according to the first embodiment of the present invention.

【図8】本発明の実施の形態2による画像予測復号化方
法における予測画像生成方法を示す流れ図。
FIG. 8 is a flowchart showing a predictive image generation method in the image predictive decoding method according to the second embodiment of the present invention.

【図9】本発明の実施の形態2における画像データを示
す図。
FIG. 9 is a diagram showing image data according to the second embodiment of the present invention.

【図10】本発明の実施の形態5による画像予測復号化
方法における予測画像生成方法を示す流れ図。
FIG. 10 is a flowchart showing a predictive image generation method in the image predictive decoding method according to the fifth embodiment of the present invention.

【図11】本発明の実施の形態6における画像予測復号
化方法における予測画像生成方法を示す流れ図。
FIG. 11 is a flowchart showing a predictive image generation method in the image predictive decoding method according to the sixth embodiment of the present invention.

【図12】本発明の実施の形態7による画像予測符号化
装置を示すブロック図。
FIG. 12 is a block diagram showing an image predictive coding device according to a seventh embodiment of the present invention.

【図13】本発明の実施の形態8による画像予測符号化
装置を示すブロック図。
FIG. 13 is a block diagram showing an image predictive coding apparatus according to Embodiment 8 of the present invention.

【図14】図14(a) 〜図14(c) は、本発明の各実施
の形態における符号化データを格納した、あるいは画像
予測復号化方法,画像予測復号化装置,画像予測符号化
方法,または画像予測符号化装置による画像処理をコン
ピュータにより実現するためのプログラムを格納するた
めのデータ記録媒体を説明するための図。
FIGS. 14 (a) to 14 (c) are diagrams in which the coded data according to each embodiment of the present invention is stored, or the image predictive decoding method, the image predictive decoding apparatus, and the image predictive coding method are used. , Or a diagram for explaining a data recording medium for storing a program for realizing image processing by the image predictive coding apparatus by a computer.

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

301,1001,1002 入力端子 302 データ解析器 303,1130,1230 復号化器 304,1131 逆量子化器 305,1132 逆離散コサイン変換器(IDCT) 306,1170,1270 加算器 307 出力端子 309,1140,1240 フレームメモリ部 310,1150,1250 予測画像生成器 320 制御器 406 フレームメモリバンク 401〜403 フレームメモリ 404,405 スイッチ 407,408 ライン 1000,1000a 画像予測符号化装置 1003 出力端子 1010 可変長符号化器 1020,1280 形状検出器 1100,1100a テクスチャー符号化部 1200,1200a 形状符号化部 1110,1210 ブロック化器 1120,1220 符号化器 1121 離散コサイン変換器(DCT) 1122 量子化器 1160,1260 減算器 1170,1270 加算器 1190,1290 切替スイッチ #1(201)〜#10(210) 画像 #1(211)〜#9(220) 画像 Cs コンピュータシステム D フロッピーディスク本体 F フラグ FC フロッピーディスクケース FD フロッピーディスク FDD フロッピーディスクドライブ Hm,Vm 垂直,水平データサイズ 301,1001,1002 Input terminal 302 data analyzer 303, 1130, 1230 Decoder 304, 1131 inverse quantizer 305, 1132 Inverse Discrete Cosine Transform (IDCT) 306, 1170, 1270 adder 307 output terminal 309, 1140, 1240 Frame memory unit 310, 1150, 1250 Predictive image generator 320 controller 406 frame memory bank 401-403 frame memory 404,405 switch 407 and 408 lines 1000,1000a image predictive coding apparatus 1003 output terminal 1010 variable length encoder 1020,1280 Shape detector 1100, 1100a Texture coding unit 1200,1200a shape coding unit 1110,1210 blocker 1120, 1220 encoder 1121 Discrete Cosine Transform (DCT) 1122 quantizer 1160, 1260 Subtractor 1170, 1270 adder 1190, 1290 changeover switch # 1 (201) to # 10 (210) images # 1 (211) to # 9 (220) images Cs computer system D floppy disk body F flag FC floppy disk case FD floppy disk FDD floppy disk drive Hm, Vm vertical, horizontal data size

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 符号化データを復号化し、予測画像を用
いて画像を再生する画像予測復号化装置であって、前記 符号化データを復号化する復号化手段と、 前記符号化データの直前に前記復号化手段に入力され
号化データが有意な対象画像符号化データを含んでい
る場合、前記有意な対象画像符号化データを復号化して
得られた再生画像を参照画像として予測画像を生成し、 前記符号化データの直前に前記復号化手段に入力され
号化データが有意な対象画像符号化データを含まない
場合、前記直前の符号化データよりも前に前記復号化手
段に入力された、有意な対象画像符号化データを含む符
号化データを復号化して得られた再生画像を参照画像と
して予測画像を生成する予測画像生成手段と、 前記予測画像生成手段によって生成された予測画像と、
前記復号化手段が復号化した画像とを加えて再生画像を
生成する加算手段と、を備えたことを特徴とする画像予
測復号化装置。
1. A decodes the coded data, an image predictive decoding apparatus for reproducing an image by using a prediction image, and decoding means for decoding the coded data, prior to Kifu-coding data is input to the decoding means immediately before
If sign-encoded data contains a significant target image encoded data to generate a prediction image reproduced image obtained by decoding the significant object image encoded data as a reference picture, before Kifu Goka is input to the decoding means immediately before the data
If sign-encoded data does not include significant object image coded data, decodes the encoded data including said than the immediately preceding coded data input to said decoding means before, a significant object image coded data A predicted image generating unit that generates a predicted image using the reproduced image obtained as a reference image, and a predicted image generated by the predicted image generating unit,
An image predictive decoding device comprising: an addition unit configured to add the image decoded by the decoding unit to generate a reproduced image.
【請求項2】 請求項1に記載の画像予測復号化装置に
おいて、 前記予測画像生成手段は、前記復号化手段に入力された
直前の符号化データが有意な対象画像符号化データを含
むかどうかの判断を、前記復号化手段に入力された直前
符号化データに含まれるフラグに基づいて実行する、
ことを特徴とする画像予測復号化装置。
2. An image predictive decoding apparatus according to claim 1, wherein the predicted image generating means, previously entered Symbol decoding means
Immediately before the immediately preceding coded data to determination of whether including significant object image coded data, which is input before Symbol decoding means
Executed based on the flag included in the encoded data of
An image predictive decoding device characterized by the above.
【請求項3】 符号化データを復号化し、予測画像を用
いて画像を再生する画像予測復号化方法であって、前記 符号化データを復号化し、 前記符号化データの直前に復号化された符号化データが
有意な対象画像符号化データを含んでいる場合、前記
意な対象画像符号化データを復号化して得られた再生画
像を参照画像として予測画像を生成し、 前記符号化データの直前に復号化された符号化データが
有意な対象画像符号化データを含まない場合、前記直前
の符号化データよりも前に復号化された、有意な対象
像符号化データを含む符号化データを復号化して得られ
た再生画像を参照画像として予測画像を生成し、 生成した予測画像と、復号化した画像とを加えて再生画
像を生成することを特徴とする画像予測復号化方法。
Wherein the encoded data to decode, an image predictive decoding method for reproducing an image using the prediction image, decoding the encoded data, is decoded immediately before the front Kifu-coding data the mark-coding data
If it contains a significant object image coded data, said chromatic
Generating a predicted image as a reference image reproduced image obtained by decoding the meaning of the target image coded data, decoded sign-encoded data immediately before the front Kifu-coding data
If they do not contain significant object image coded data, decodes the encoded data including said is immediately before <br/> decoded before the encoding data, a significant object image <br/> image encoded data An image predictive decoding method characterized by generating a predicted image by using a reproduced image obtained as a reference image as a reference image, and adding the generated predicted image and a decoded image to generate a reproduced image.
【請求項4】 請求項3に記載の画像予測復号化方法に
おいて、 前記直前に復号化した符号化データが有意な対象画像符
号化データを含むかどうかの判断を、前記直前に復号化
した符号化データに含まれるフラグに基づいて実行す
る、ことを特徴とする画像予測復号化方法。
4. The image predictive decoding method according to claim 3, the pre Kijika before whether decoding coded data includes significant object image coded data decision, before before Kijika An image predictive decoding method, which is executed based on a flag included in decoded encoded data.
JP09473998A 1997-04-09 1998-04-07 Image prediction decoding apparatus and image prediction decoding method Expired - Lifetime JP3387820B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP09473998A JP3387820B2 (en) 1997-04-09 1998-04-07 Image prediction decoding apparatus and image prediction decoding method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP9065997 1997-04-09
JP9-90659 1997-04-09
JP09473998A JP3387820B2 (en) 1997-04-09 1998-04-07 Image prediction decoding apparatus and image prediction decoding method

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP2001048728A Division JP3214849B2 (en) 1997-04-09 2001-02-23 Image prediction decoding method and apparatus
JP2001048729A Division JP3776735B2 (en) 1997-04-09 2001-02-23 Image predictive decoding method, image predictive decoding device, image predictive encoding method, image predictive encoding device, and data storage medium

Publications (2)

Publication Number Publication Date
JPH10341442A JPH10341442A (en) 1998-12-22
JP3387820B2 true JP3387820B2 (en) 2003-03-17

Family

ID=26432114

Family Applications (1)

Application Number Title Priority Date Filing Date
JP09473998A Expired - Lifetime JP3387820B2 (en) 1997-04-09 1998-04-07 Image prediction decoding apparatus and image prediction decoding method

Country Status (1)

Country Link
JP (1) JP3387820B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6819715B2 (en) * 2000-07-25 2004-11-16 Matsushita Electric Industrial Co., Ltd. Image decoding method, image decoding apparatus, and data storage medium

Also Published As

Publication number Publication date
JPH10341442A (en) 1998-12-22

Similar Documents

Publication Publication Date Title
KR100451326B1 (en) Image predictive decoding method, image predictive decoding apparatus, image predictive coding method, image predictive coding apparatus, and data storage media
JP4625411B2 (en) Image data encoding method and computer readable medium having recorded program therefor
US5946043A (en) Video coding using adaptive coding of block parameters for coded/uncoded blocks
KR100643819B1 (en) Parameterization for fading compensation
KR100424246B1 (en) Image decoding method, image decoding apparatus, and data recording medium
JP2003179921A (en) Coded image decoding apparatus
US20070025438A1 (en) Elastic storage
JP3776735B2 (en) Image predictive decoding method, image predictive decoding device, image predictive encoding method, image predictive encoding device, and data storage medium
JP3387820B2 (en) Image prediction decoding apparatus and image prediction decoding method
JP2614212B2 (en) Image signal encoding method and apparatus
JP3214849B2 (en) Image prediction decoding method and apparatus
KR0172902B1 (en) Mpeg encoder
JP4415186B2 (en) Moving picture coding apparatus, moving picture decoding apparatus, codec apparatus, and program
JP2891251B2 (en) Image encoding device and image decoding device
JPH08172631A (en) Image prediction coding method
JP3624435B2 (en) Information reproducing apparatus and method
MXPA98002826A (en) Method of predictive decoding of images, device for predictive decoding of images, method of predictive decoding of images, apparatus for the predictive coding of images and means to store da
JPH10327411A (en) Image encoding method and device therefor, image decoding method and device therefor and recording medium
JP2001268571A (en) Moving image re-encoder
JPH0818982A (en) Encoder and decoder for dynamic image
JPH08181997A (en) Image coder and image decoder
KR20080080819A (en) Video encoding and reproducing method and apparatus thereof

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080110

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090110

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090110

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100110

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110110

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110110

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120110

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130110

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130110

Year of fee payment: 10

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

SZ02 Written request for trust registration

Free format text: JAPANESE INTERMEDIATE CODE: R313Z02

S131 Request for trust registration of transfer of right

Free format text: JAPANESE INTERMEDIATE CODE: R313133

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term