JPH10341442A - Picture predictively decoding method, device therefor, picture predictively encoding method, device therefor and data storage medium - Google Patents

Picture predictively decoding method, device therefor, picture predictively encoding method, device therefor and data storage medium

Info

Publication number
JPH10341442A
JPH10341442A JP9473998A JP9473998A JPH10341442A JP H10341442 A JPH10341442 A JP H10341442A JP 9473998 A JP9473998 A JP 9473998A JP 9473998 A JP9473998 A JP 9473998A JP H10341442 A JPH10341442 A JP H10341442A
Authority
JP
Japan
Prior art keywords
image
data
reproduced
predicted
encoding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP9473998A
Other languages
Japanese (ja)
Other versions
JP3387820B2 (en
Inventor
Chun Sen Bun
チュン セン ブン
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 Holdings Corp
Original Assignee
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
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

Abstract

PROBLEM TO BE SOLVED: To efficiently predictively encode a picture whose size can be varied even when a reference picture is zero in size or completely transmits by generating a predictive picture through the use of at least one reproduced picture in which significant data to be referred to exist and which is lately reproduced as the reference picture. SOLUTION: Picture data which is compression encoded is inputted to the input terminal 301 of a picture predictively decoding device 300. A compression block is converted into an expansion block in the inverse quantizer IQ304 and the inverse discrete cosine converter IDCT 305 of a decoder 303. An adder 306 adds a predictive block and a reproduction block is generated. The size of the reference picture is inputted to a predictive picture generator 310 obtaining the predictive block from a data analyzer 302 and the reference picture is decided. When the size of the reference picture which is just inputted is detected and the size is not zero, the predictive picture is generated by using the picture. When it is zero, the predictive picture is generated by using the picture whose size is not zero and which is lately reproduced.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、画像の予測復号
化,符号化処理に関するもので、特に画像サイズが可変
な場合における画像予測復号化方法,画像予測復号化装
置,画像予測符号化方法,画像予測符号化装置,及びデ
ータ記憶媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to predictive decoding and encoding of an image, and more particularly to an image predictive decoding method, an image predictive decoding apparatus, an image predictive encoding method, and the like when the image size is variable. The present invention relates to an image prediction encoding device and a data storage medium.

【0002】[0002]

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

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

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

【0005】また、このフレーム間符号化には、表示順
で前にある画像からのみ予測するモードと、前にある画
像と後ろにある画像の両方から予測するモードがある。
前者を前方予測、後者を双方向予測と呼ぶ。
[0005] The inter-frame coding includes 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 subsequent 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 back the image. Note that this conventional technique is based on the premise that the size of a reference image (an image referred to for generating a predicted image) is the same as the size of a target image.

【0007】最近、圧縮効率を向上させると同時に、画
像を構成する物体単位の再生ができるように、画像を構
成する物体を、任意形状の画像として、別々に圧縮符号
化して伝送するようにしている。このような任意形状の
画像の符号化,復号化では、画像のサイズが変化するこ
とがよくある。その一例としては、ボールがだんだん小
さくなり,消えてしまう例が考えられる。また、場合に
よっては、画像(物体)のサイズがゼロになることもあ
る。
Recently, the objects constituting an image have been separately compressed and encoded as an image of an arbitrary shape so that the compression efficiency can be improved and the objects constituting the image can be reproduced on a unit basis. I have. In encoding and decoding such an image having an arbitrary shape, the size of the image often changes. One example is that the ball becomes smaller and disappears. In some cases, the size of an image (object) may be zero.

【0008】[0008]

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

【0009】本発明は、上記のような問題点に鑑みてな
されたもので、サイズ可変な画像に対し、参照画像のサ
イズがゼロになった場合、あるいは参照画像が完全に透
過する場合でも、効率よく予測符号化を行うことのでき
る,画像予測復号化方法,画像予測復号化装置,画像予
測符号化方法,画像予測符号化装置,及びデータ記憶媒
体を提供することを目的としている。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems, and is intended for a variable-size image even when the size of the reference image becomes zero or when the reference image is completely transmitted. It is an object of the present invention to provide an image predictive decoding method, an image predictive decoding device, an image predictive encoding method, an image predictive encoding device, and a data storage medium that can efficiently perform predictive encoding.

【0010】[0010]

【課題を解決するための手段】本発明の請求項1に係る
画像予測復号化方法は、画像サイズ可変な画像を所定の
方法で圧縮符号化した画像データを入力し、復号化の対
象となる画像より以前に再生された少なくとも一つの再
生画像を参照画像として用いて予測画像を生成し、上記
復号化の対象となる画像を、予測復号化する画像予測復
号化方法において、上記参照画像として、参照されるべ
き有意な画像データが存在する最近に再生された少なく
とも一つの再生画像を用いて、上記予測画像を生成する
ものである。
According to a first aspect of the present invention, there is provided an image predictive decoding method comprising the steps of: inputting image data obtained by compressing and encoding an image having a variable image size by a predetermined method; Generate a predicted image using at least one reproduced image reproduced earlier than the image as a reference image, the image to be decoded, in the image predictive decoding method of predictive decoding, as the reference image, The predicted image is generated using at least one recently reproduced image in which significant image data to be referred to exists.

【0011】請求項2にかかる画像予測復号化方法は、
画像サイズ可変な画像を所定の方法で圧縮符号化した画
像データを入力し、復号化の対象となる画像より以前に
再生された所定の再生画像を参照画像として用いて予測
画像を生成し、上記復号化の対象となる画像を、予測復
号化する画像予測復号化方法において、上記予測画像を
生成する際に参照画像として用いる所定の再生画像に、
参照されるべき有意な画像データが存在しないとき、所
定値をその画像データとした画像を予測画像とするもの
である。
According to a second aspect of the present invention, there is provided an image predictive decoding method comprising:
Inputting image data obtained by compressing and encoding an image having a variable image size by a predetermined method, generating a predicted image using a predetermined reproduced image reproduced before the image to be decoded as a reference image, Image to be decoded, in an image predictive decoding method for predictive decoding, in the predetermined playback image used as a reference image when generating the predicted image,
When there is no significant image data to be referred to, an image having a predetermined value as the image data is used as a predicted image.

【0012】請求項3にかかる画像予測復号化方法は、
請求項1または2に記載の画像予測復号化方法におい
て、上記圧縮符号化した各フレーム毎の画像データは、
復号化処理の対象となる対象フレームの直前のフレーム
に、参照されるべき有意な画像データが存在するか否か
を示すフラグを有するものとしたものである。
According to a third aspect of the present invention, there is provided an image predictive decoding method comprising:
3. The image prediction decoding method according to claim 1, wherein the image data of each of the compression-coded frames is:
It has a flag indicating whether or not significant image data to be referred to exists in the frame immediately before the target frame to be decoded.

【0013】請求項4にかかる画像予測復号化方法は、
画像サイズ可変な画像を所定の方法で圧縮符号化した画
像データを入力し、参照画像を用いて予測画像を生成
し、上記復号化の対象となる画像を、予測復号化する画
像予測復号化方法において、上記参照画像として、最近
に再生された2つの再生画像のうちの、少なくとも参照
されるべき有意な画像データが存在するものを用いて、
上記予測画像を生成するものである。
According to a fourth aspect of the present invention, there is provided an image predictive decoding method comprising:
An image prediction decoding method for inputting image data obtained by compressing and encoding an image with a variable image size by a predetermined method, generating a predicted image using a reference image, and predictively decoding the image to be decoded In the above, by using, as the reference image, an image in which at least significant image data to be referred to exists among two recently reproduced images,
The predicted image is generated.

【0014】請求項5にかかる画像予測復号化方法は、
請求項4に記載の画像予測復号化方法において、上記圧
縮符号化した各フレーム毎の画像データは、復号化処理
の対象となる対象フレームの直前の所定の2つのフレー
ムに、参照されるべき有意な画像データが存在するか否
かを示すフラグを有するものとしたものである。
According to a fifth aspect of the present invention, there is provided an image predictive decoding method comprising:
5. The image predictive decoding method according to claim 4, wherein the compression-encoded image data for each frame is a significant two bits to be referred to two predetermined frames immediately before a target frame to be decoded. The flag has a flag indicating whether or not there is any image data.

【0015】請求項6にかかる画像予測復号化装置は、
入力手段と、データ解析器と、復号化器と、予測画像生
成器と、加算器と、フレームメモリとを具備し、上記入
力手段に、画像サイズ可変な画像を所定の方法で圧縮符
号化した画像データを入力し、上記データ解析器にて、
上記画像データを分析して、画像サイズと画像変換係数
を出力し、上記復号化器にて、上記画像変換係数を、所
定の方法で伸長差分画像に復元し、上記予測画像生成器
にて、上記フレームメモリに格納された再生画像を参照
画像として用いて予測画像を生成し、上記加算器にて、
上記伸長差分画像と、上記予測画像とを加算して、再生
画像を生成し出力すると同時に、該再生画像を、上記フ
レームメモリに格納する画像予測復号化装置であって、
上記予測画像生成器は、上記再生画像に、参照されるべ
き有意な画像データが存在するか否かを調べ、有意な画
像データが存在する最近に再生された少なくとも一つの
再生画像を参照画像とし用いて、上記予測画像を生成す
るものとしたものである。
An image prediction decoding apparatus according to claim 6 is
An input unit, a data analyzer, a decoder, a predicted image generator, an adder, and a frame memory are provided. The input unit compresses and encodes an image having a variable image size by a predetermined method. Input the image data and use the data analyzer
Analyze the image data, output the image size and image conversion coefficient, in the decoder, restore the image conversion coefficient to a decompressed difference image by a predetermined method, in the predicted image generator, Using the reproduced image stored in the frame memory as a reference image to generate a predicted image, the adder,
An image prediction decoding device that adds the decompressed difference image and the predicted image to generate and output a reproduced image, and that stores the reproduced image in the frame memory,
The predicted image generator checks whether or not there is significant image data to be referred to in the reproduced image, and sets at least one recently reproduced image in which significant image data exists as a reference image. To generate the predicted image.

【0016】請求項7にかかる画像予測復号化装置は、
入力手段と、データ解析器と、復号化器と、予測画像生
成器と、加算器と、フレームメモリとを具備し、上記入
力手段に、画像サイズ可変な入力画像を所定の方法で圧
縮符号化した画像データを入力し、上記データ解析器に
て、上記画像データを分析して、画像サイズと画像変換
係数を出力し、上記復号化器にて、上記画像変換係数
を、所定の方法で伸長差分画像に復元し、上記予測画像
生成器にて、上記フレームメモリに格納された、上記入
力画像に対応する所定の再生画像を参照画像として用い
て予測画像を生成し、上記加算器にて、上記伸長差分画
像と、上記予測画像とを加算し、再生画像を生成し出力
すると同時に、該再生画像を、上記フレームメモリに格
納する画像予測復号化装置であって、上記予測画像生成
器は、上記所定の再生画像に、参照されるべき有意な画
像データが存在するか否かを調べ、該所定の再生画像
に、有意な画像データが存在しないとき、所定値をその
画像データとした画像を上記予測画像とするものとした
ものである。
An image prediction decoding apparatus according to claim 7 is
An input means, a data analyzer, a decoder, a predicted image generator, an adder, and a frame memory are provided, and the input means compresses and encodes an input image having a variable image size by a predetermined method. The image data is input, the image data is analyzed by the data analyzer, the image size and the image conversion coefficient are output, and the image conversion coefficient is decompressed by the decoder by a predetermined method. Restored to a difference image, in the predicted image generator, stored in the frame memory, generate a predicted image using a predetermined playback image corresponding to the input image as a reference image, in the adder, An image prediction decoding device that adds the decompressed difference image and the predicted image to generate and output a reproduced image and, at the same time, stores the reproduced image in the frame memory, wherein the predicted image generator includes: The above prescribed re In the image, it is checked whether or not there is significant image data to be referred to. When no significant image data exists in the predetermined reproduced image, an image having a predetermined value as the image data is referred to as the prediction image. It is to be done.

【0017】請求項8にかかる画像予測復号化装置は、
請求項6または7に記載の画像予測復号化装置におい
て、上記圧縮符号化した各フレーム毎の画像データは、
復号化処理の対象となる対象フレームの直前のフレーム
に、参照されるべき有意な画像データが存在するか否か
を示すフラグを有するものとしたものである。
An image prediction decoding apparatus according to claim 8 is
8. The image prediction decoding apparatus according to claim 6, wherein the compression-encoded image data for each frame is:
It has a flag indicating whether or not significant image data to be referred to exists in the frame immediately before the target frame to be decoded.

【0018】請求項9にかかる画像予測復号化装置は、
入力手段と、データ解析器と、復号化器と、予測画像生
成器と、加算器と、フレームメモリとを具備し、上記入
力手段に、画像サイズ可変な画像を所定の方法で圧縮符
号化した画像データを入力し、上記データ解析器にて、
上記画像データを分析して、画像サイズと画像変換係数
を出力し、上記復号化器にて、上記画像変換係数を、所
定の方法で伸長差分画像に復元し、上記予測画像生成器
にて、上記フレームメモリに格納された再生画像を参照
画像として用いて予測画像を生成し、上記加算器にて、
上記伸長差分画像と、上記予測画像とを加算し、再生画
像を生成し出力すると同時に、該再生画像を、上記フレ
ームメモリに格納する画像予測復号化装置であって、上
記予測画像生成器は、上記参照画像として、最近に再生
された2つの再生画像のうちの、少なくとも参照される
べき有意な画像データが存在するものを用いて、上記予
測画像を生成するものとしたものである。
An image prediction decoding apparatus according to claim 9 is
An input unit, a data analyzer, a decoder, a predicted image generator, an adder, and a frame memory are provided. The input unit compresses and encodes an image having a variable image size by a predetermined method. Input the image data and use the data analyzer
Analyze the image data, output the image size and image conversion coefficient, in the decoder, restore the image conversion coefficient to a decompressed difference image by a predetermined method, in the predicted image generator, Using the reproduced image stored in the frame memory as a reference image to generate a predicted image, the adder,
An image prediction decoding device that adds the decompressed difference image and the predicted image to generate and output a reproduced image and, at the same time, stores the reproduced image in the frame memory, wherein the predicted image generator includes: The prediction image is generated using at least significant image data to be referred to among the two reproduced images recently reproduced as the reference image.

【0019】請求項10にかかる画像予測復号化装置
は、請求項9に記載の画像予測復号化装置において、上
記圧縮符号化した各フレーム毎の画像データは、復号化
処理の対象となる対象フレームの直前の所定の2つのフ
レームに、参照されるべき有意な画像データが存在する
か否かを示すフラグを有するものとしたものである。
According to a tenth aspect of the present invention, in the image prediction decoding apparatus according to the ninth aspect, the image data of each compression-coded frame is a target frame to be subjected to a decoding process. Are provided with flags indicating whether or not significant image data to be referred to exists in two predetermined frames immediately before.

【0020】請求項11にかかる画像予測符号化方法
は、画像サイズ可変な画像を入力し、符号化の対象とな
る画像より以前に再生された少なくとも一つの再生画像
を参照画像として用いて予測画像を生成し、上記予測画
像から上記対象画像を引き算し、その差分を、所定の方
法で圧縮符号化する画像予測符号化方法において、上記
予測画像を生成する際には、参照されるべき有意な画像
データが存在する最近に再生された少なくとも一つの再
生画像を参照画像として用いて上記予測画像を生成する
ものである。
An image prediction encoding method according to claim 11, wherein an image having a variable image size is input, and at least one reproduced image reproduced before the image to be encoded is used as a reference image. Is generated, the target image is subtracted from the predicted image, and the difference is compression-coded by a predetermined method in an image predictive coding method. The predicted image is generated by using, as a reference image, at least one recently reproduced image in which image data exists.

【0021】請求項12にかかる画像予測符号化方法
は、画像サイズ可変な画像を入力し、符号化の対象とな
る画像より以前に再生された所定の再生画像を参照画像
として用いて予測画像を生成し、上記予測画像から上記
対象画像を引き算し、その差分を、所定の方法で圧縮符
号化する画像予測符号化方法において、上記予測画像を
生成する際に参照画像として用いる所定の再生画像に、
参照されるべき有意な画像データが存在しないとき、所
定値をその画像データとした画像を上記予測画像とする
ものである。
According to a twelfth aspect of the present invention, there is provided an image predictive encoding method wherein an image having a variable image size is input, and a predicted image reproduced before a target image to be encoded is used as a reference image. Generate and subtract the target image from the predicted image, and in the image predictive encoding method of compressing and encoding the difference by a predetermined method, a predetermined reproduced image used as a reference image when generating the predicted image. ,
When there is no significant image data to be referred to, an image having a predetermined value as the image data is used as the predicted image.

【0022】請求項13にかかる画像予測符号化方法
は、請求項11または12に記載の画像予測符号化方法
において、上記圧縮符号化した各フレーム毎の画像デー
タは、符号化処理の対象となる対象フレームの直前のフ
レームに、参照されるべき有意な画像データが存在する
か否かを示すフラグを有するものとしたものである。
According to a thirteenth aspect of the present invention, in the image predictive encoding method according to the eleventh or twelfth aspect, the image data of each compression-coded frame is subjected to an encoding process. This has a flag indicating whether or not significant image data to be referred to exists in the frame immediately before the target frame.

【0023】請求項14にかかる画像予測符号化方法
は、画像サイズ可変な画像を入力し、参照画像を用いて
予測画像を生成し、上記予測画像から上記符号化の対象
となる対象画像を引き算し、その差分を、所定の方法で
圧縮符号化する画像予測符号化方法において、上記参照
画像として、最近に再生された2つの再生画像のうち
の、少なくとも参照されるべき有意な画像データが存在
するものを用いて上記予測画像を生成するものである。
According to a fourteenth aspect of the present invention, there is provided an image predictive encoding method wherein an image having a variable image size is input, a predicted image is generated using a reference image, and a target image to be encoded is subtracted from the predicted image. In the image predictive encoding method for compressing and encoding the difference by a predetermined method, at least significant image data to be referred to among the two reproduced images recently reproduced is present as the reference image. The prediction image is generated by using the above-mentioned prediction image.

【0024】請求項15にかかる画像予測符号化方法
は、請求項14に記載の画像予測符号化方法において、
上記圧縮符号化した各フレーム毎の画像データは、符号
化処理の対象となる対象フレームの直前の所定の2つの
フレームに、参照されるべき有意な画像データが存在す
るか否かを示すフラグを有するものとしたものである。
According to a fifteenth aspect of the present invention, in the image predictive encoding method according to the fourteenth aspect,
The compressed and coded image data of each frame is a flag indicating whether or not significant image data to be referred to exists in two predetermined frames immediately before the target frame to be coded. It is what you have.

【0025】請求項16にかかる画像予測符号化装置
は、入力手段と、減算器と、圧縮符号化器と、可変長符
号化器と、伸長復号化器と、予測画像生成器と、加算器
と、フレームメモリとを具備し、上記入力手段に、画像
サイズ可変な画像データを符号化処理の単位毎に区分し
て入力し、上記減算器にて、符号化処理の対象となる対
象画像と、この対象画像に対応する予測画像との差分画
像を求め、上記圧縮符号化器にて、上記差分画像を所定
の圧縮符号化処理により圧縮データに変換し、上記可変
長符号化器にて、上記圧縮データを可変長符号化して符
号化データを出力し、上記伸長復号化器にて、上記圧縮
データを所定の伸長復号化処理により伸長差分画像に復
元し、上記予測画像生成器にて、上記フレームメモリに
格納された再生画像を参照画像として用いて予測画像を
生成し、上記加算器にて、上記伸長差分画像と、上記予
測画像とを加算して、再生画像を生成し出力すると同時
に、該再生画像を、上記フレームメモリに格納する画像
予測符号化装置であって、上記予測画像生成器は、上記
再生画像に、参照されるべき有意な画像データが存在す
るか否かを調べ、有意な画像データが存在する最近に再
生された少なくとも一つの再生画像を参照画像として用
いて、上記予測画像を生成するものとしたものである。
[0025] According to a sixteenth aspect of the present invention, there is provided an image predictive encoding apparatus comprising: input means, a subtractor, a compression encoder, a variable length encoder, a decompression decoder, a prediction image generator, and an adder. And a frame memory, wherein the input means inputs image data having a variable image size by dividing the image data into units of the encoding process, and the subtracter outputs a target image to be encoded. The difference image from the prediction image corresponding to the target image is obtained, and the compression encoder converts the difference image into compressed data by a predetermined compression encoding process, and the variable length encoder encodes the difference image. The compressed data is subjected to variable-length encoding to output encoded data, and the decompressor decodes the compressed data into a decompressed difference image by a predetermined decompression decoding process. Playback image stored in the frame memory A predicted image is generated using the image as a reference image, and the adder adds the decompressed difference image and the predicted image to generate and output a reproduced image. At the same time, the reproduced image is stored in the frame memory. An image predictive encoding apparatus for storing, wherein the predicted image generator checks whether or not there is significant image data to be referred to in the reproduced image, and determines whether or not there is significant image data in the recently reproduced image. The predicted image is generated using at least one of the reproduced images obtained as the reference image.

【0026】請求項17にかかる画像予測符号化装置
は、入力手段と、減算器と、圧縮符号化器と、可変長符
号化器と、伸長復号化器と、予測画像生成器と、加算器
と、フレームメモリとを具備し、上記入力手段に、画像
サイズ可変な画像データを符号化処理の単位毎に区分し
て入力し、上記減算器にて、符号化処理の対象となる対
象画像と、この対象画像に対応する予測画像との差分画
像を求め、上記圧縮符号化器にて、上記差分画像を所定
の圧縮符号化処理により圧縮データに変換し、上記可変
長符号化器にて、上記圧縮データを可変長符号化して符
号化データを出力し、上記伸長復号化器にて、上記圧縮
データを所定の伸長復号化処理により伸長差分画像に復
元し、上記予測画像生成器にて、上記フレームメモリに
格納された、上記入力画像に対応する所定の再生画像を
参照画像として用いて予測画像を生成し、上記加算器に
て、上記伸長差分画像と、上記予測画像とを加算して、
再生画像を生成し出力すると同時に、該再生画像を、上
記フレームメモリに格納する画像予測符号化装置であっ
て、上記予測画像生成器は、上記所定の再生画像に、参
照されるべき有意な画像データが存在するか否かを調
べ、有意な画像データが存在しないとき、所定値をその
画像データとした画像を上記予測画像とするものとした
ものである。
According to a seventeenth aspect of the present invention, there is provided an image predictive encoding apparatus comprising: input means, a subtractor, a compression encoder, a variable length encoder, a decompression decoder, a prediction image generator, and an adder. And a frame memory, wherein the input means inputs image data having a variable image size by dividing the image data into units of the encoding process, and the subtracter outputs a target image to be encoded. The difference image from the prediction image corresponding to the target image is obtained, and the compression encoder converts the difference image into compressed data by a predetermined compression encoding process, and the variable length encoder encodes the difference image. The compressed data is subjected to variable-length encoding to output encoded data, and the decompressor decodes the compressed data into a decompressed difference image by a predetermined decompression decoding process. The input data stored in the frame memory To generate a predictive image using a predetermined reproduction image corresponding to the image as a reference image, in the adder adds the above expanded difference image and the prediction image,
An image prediction encoding apparatus that generates and outputs a reproduced image and stores the reproduced image in the frame memory at the same time as the predicted image generator, wherein the predicted image generator includes a significant image to be referred to in the predetermined reproduced image. It is checked whether or not data exists, and when no significant image data exists, an image having a predetermined value as the image data is used as the predicted image.

【0027】請求項18にかかる画像予測符号化装置
は、請求項16または17に記載の画像予測符号化装置
において、各フレーム毎の符号化データは、符号化処理
の対象となる対象フレームの直前のフレームに、参照さ
れるべき有意な画像データが存在するか否かを示すフラ
グを有するものとしたものである。
An image prediction coding apparatus according to claim 18 is the image prediction coding apparatus according to claim 16 or 17, wherein the coded data for each frame is set immediately before the target frame to be coded. Has a flag indicating whether or not there is significant image data to be referred to in the frame.

【0028】請求項19にかかる画像予測符号化装置
は、入力手段と、減算器と、圧縮符号化器と、可変長符
号化器と、伸長復号化器と、予測画像生成器と、加算器
と、フレームメモリとを具備し、上記入力手段に、画像
サイズ可変な画像データを符号化処理の単位毎に区分し
て入力し、上記減算器にて、符号化処理の対象となる対
象画像と、この対象画像に対応する予測画像との差分画
像を求め、上記圧縮符号化器にて、上記差分画像を所定
の圧縮符号化処理により圧縮データに変換し、上記可変
長符号化器にて、上記圧縮データを可変長符号化して符
号化データを出力し、上記伸長復号化器にて、上記圧縮
データを所定の伸長復号化処理により伸長差分画像に復
元し、上記予測画像生成器にて、上記フレームメモリに
格納された再生画像を参照画像として用いて予測画像を
生成し、上記加算器にて、上記伸長差分画像と、上記予
測画像とを加算して、再生画像を生成し出力すると同時
に、該再生画像を、上記フレームメモリに格納する画像
予測復号化装置であって、上記予測画像生成器は、上記
参照画像として、最近に再生された2つの再生画像のう
ちの、少なくとも参照されるべき有意な画像データが存
在するものを用いて上記予測画像を生成するものとした
ものである。
[0028] According to a nineteenth aspect of the present invention, there is provided an image predictive encoding apparatus comprising: input means, a subtractor, a compression encoder, a variable length encoder, a decompression decoder, a prediction image generator, and an adder. And a frame memory, wherein the input means inputs image data having a variable image size by dividing the image data into units of the encoding process, and the subtracter outputs a target image to be encoded. The difference image from the prediction image corresponding to the target image is obtained, and the compression encoder converts the difference image into compressed data by a predetermined compression encoding process, and the variable length encoder encodes the difference image. The compressed data is subjected to variable-length encoding to output encoded data, and the decompressor decodes the compressed data into a decompressed difference image by a predetermined decompression decoding process. Playback image stored in the frame memory A predicted image is generated using the image as a reference image, and the adder adds the decompressed difference image and the predicted image to generate and output a reproduced image. At the same time, the reproduced image is stored in the frame memory. An image prediction decoding apparatus for storing, wherein the predicted image generator determines, as the reference image, one of two recently reproduced images for which at least significant image data to be referred to exists. To generate the predicted image.

【0029】請求項20にかかる画像予測符号化装置
は、請求項19に記載の画像予測符号化装置において、
各フレーム毎の符号化データは、符号化処理の対象とな
る画像データを含む対象フレームの直前の所定の2つの
フレームに、有意な画像データが存在するか否かを示す
フラグを有するものとしたものである。
According to a twentieth aspect of the present invention, in the image predictive encoding apparatus according to the nineteenth aspect,
The encoded data for each frame has a flag indicating whether or not significant image data exists in two predetermined frames immediately before the target frame including the image data to be encoded. Things.

【0030】請求項21にかかる画像予測符号化装置
は、入力手段と、減算器と、圧縮符号化器と、可変長符
号化器と、伸長復号化器と、予測画像生成器と、加算器
と、フレームメモリとを具備し、上記入力手段に、画像
サイズ可変な画像データを符号化処理の単位毎に区分し
て入力し、上記減算器にて、符号化処理の対象となる対
象画像と、この対象画像に対応する予測画像との差分画
像を求め、上記圧縮符号化器にて、上記差分画像を所定
の圧縮符号化処理により圧縮データに変換し、上記可変
長符号化器にて、上記圧縮データを可変長符号化して符
号化データを出力し、上記伸長復号化器にて、上記圧縮
データを所定の伸長復号化処理により伸長差分画像に復
元し、上記予測画像生成器にて、上記フレームメモリに
格納された再生画像を参照画像として用いて予測画像を
生成し、上記加算器にて、上記伸長差分画像と、上記予
測画像とを加算して、再生画像を生成し出力すると同時
に、該再生画像を、上記フレームメモリに格納する画像
予測符号化装置であって、上記画像サイズ可変な画像デ
ータに含まれる、物体の形状を示す形状データに基づい
て、上記再生画像に、参照されるべき有意な画像データ
が存在するか否かを検出する形状検出器を備え、上記予
測画像生成器を、形状検出器の出力に基づいて、上記再
生画像が有意な画像データを有しない場合は、有意な画
像データが存在する最近に再生された少なくとも一つの
再生画像を参照画像として用いて上記予測画像を生成す
る構成としたものである。
According to a twenty-first aspect of the present invention, there is provided an image predictive encoding apparatus, comprising: input means, a subtractor, a compression encoder, a variable length encoder, a decompression decoder, a prediction image generator, and an adder. And a frame memory, wherein the input means inputs image data having a variable image size by dividing the image data into units of the encoding process, and the subtracter outputs a target image to be encoded. The difference image from the prediction image corresponding to the target image is obtained, and the compression encoder converts the difference image into compressed data by a predetermined compression encoding process, and the variable length encoder encodes the difference image. The compressed data is subjected to variable-length encoding to output encoded data, and the decompressor decodes the compressed data into a decompressed difference image by a predetermined decompression decoding process. Playback image stored in the frame memory A predicted image is generated using the image as a reference image, and the adder adds the decompressed difference image and the predicted image to generate and output a reproduced image. At the same time, the reproduced image is stored in the frame memory. An image predictive encoding device for storing, based on shape data indicating a shape of an object, included in the image data having a variable image size, whether there is significant image data to be referred to in the reproduced image. A shape detector for detecting whether or not the reproduced image has no significant image data based on an output of the shape detector. The predicted image is generated using at least one reproduced image as a reference image.

【0031】請求項22にかかるデータ記憶媒体は、コ
ンピュータに画像の予測復号化処理を行わせるためのプ
ログラムを格納したデータ記録媒体であって、上記プロ
グラムを、請求項6,7,9のいずれかに記載の画像予
測復号化装置による画像の予測符号化処理をコンピュー
タが行うよう構成したものである。
A data storage medium according to a twenty-second aspect is a data storage medium storing a program for causing a computer to perform a predictive decoding process on an image, and stores the program in any one of the sixth, seventh, and ninth aspects. And a computer configured to perform a predictive encoding process of an image by the image predictive decoding device described in (1).

【0032】請求項23にかかるデータ記憶媒体は、コ
ンピュータに画像の予測符号化処理を行わせるためのプ
ログラムを格納したデータ記録媒体であって、上記プロ
グラムを、請求項16,17,19,21記載の画像予
測符号化装置による画像の予測符号化処理をコンピュー
タが行うよう構成したものである。
A data storage medium according to a twenty-third aspect is a data storage medium storing a program for causing a computer to perform a predictive encoding process on an image. A computer is configured to perform a predictive encoding process of an image by the image predictive encoding device described above.

【0033】請求項24にかかるデータ記憶媒体は、画
像を圧縮符号化して得られる符号化データを格納したデ
ータ記録媒体であって、上記符号化データを、請求項1
6,17,19,21のいずれかに記載の画像予測符号
化装置における画像の予測符号化処理により得られた符
号化データとしたものである。
A data storage medium according to a twenty-fourth aspect is a data recording medium storing encoded data obtained by compression-encoding an image, wherein the encoded data is stored in the data storage medium.
The encoded data obtained by the image predictive encoding process in the image predictive encoding device according to any one of 6, 17, 19, and 21.

【0034】[0034]

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

【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 images 201 to 210 of moving images arranged in the display order. Image 201 is the first screen,
.. Are displayed in the order of image 202,. This order is indicated by # 1 to # 10. Image # 1 (201)
Is the first image, and performs intra-frame encoding. In the first embodiment, an image (one frame) is divided into a plurality of 8 × 8
The image is divided into blocks each having a size of a pixel, and DCT is applied to each block having a size of 8 × 8 pixels and quantized. The quantized coefficients are subjected to variable length coding. When decoding, the encoded data obtained by the variable-length encoding is variable-length decoded, the quantized coefficients obtained by the decoding are inversely quantized, and the image is subjected to inverse DCT transform, thereby converting the image. Reproduce.
Next, the image # 2 (202) is replaced with the already reproduced image # 2.
1 (201), inter-frame predictive coding is performed.

【0036】本実施の形態1では、ブロックマッチング
の動き検出方法で、画像#1(201)の中から対象ブ
ロックに対し誤差の最も小さい予測ブロックを検出す
る。検出された、対象ブロックから予測ブロックへの動
きに基づいて、再生された画像#1(201)から、対
象ブロックの動き補償により、最適な予測ブロックを取
得する。次に、対象となるブロックと、対応する予測ブ
ロックとの差分を求め、該差分に対しDCTを施し、該
DCT変換係数を量子化し、該量子化出力を、動き情報
とともに、伝送もしくは蓄積する。ここで、再生された
画像#1(201)は、画像#2(202)の参照画像
となる。これを前方予測と呼ぶ。復号化する際には、逆
量子化,及び逆DCTした差分に予測ブロックを加算
し、画像を再生する。
In the first embodiment, a prediction block having the smallest error with respect to the target block is detected from the image # 1 (201) by the motion detection method of block matching. Based on the detected movement from the target block to the prediction block, an optimal prediction block is obtained from the reproduced image # 1 (201) by motion compensation of the target block. Next, a difference between the target block and the corresponding prediction block is obtained, DCT is performed on the difference, the DCT transform coefficient is quantized, and the quantized output is transmitted or stored together with the 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, a prediction block is added to the difference that has been inversely quantized and inversely DCT, and an 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) performs predictive coding from the reference image indicated by the arrow. Also, image # 6 (206) and image # 8 (20
8), as in image # 10 (210), it can be predicted from the image two frames before. Also, image # 5 (205),
Like the image # 7 (207) and the image # 9 (209), in addition to the forward prediction, an image displayed after the image can be referred to. Performing prediction with reference to an image displayed after the image in this way is called backward prediction. When both forward prediction and backward prediction are performed, this is called bidirectional prediction. In bidirectional prediction, there are a forward prediction mode, a backward prediction mode, and an interpolation mode for averaging forward and backward prediction.

【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 image predicted in FIG. 2A, that is, the decoding order. Image # 1 (21
1) is first decoded and played. Refer to it,
The image # 2 (212) is decoded. Image # 5 (216)
It is necessary to decode and reproduce a reference image used for prediction first for a bidirectional predicted image as described above. Therefore, image # 6 (215) is ahead of image # 5 (216). Similarly, image # 8 (217) is replaced with image # 7
Prior to (218), image # 10 (219) is
9 (220) is transmitted, decoded and played back.

【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 size of the image is described at the head of the encoded data of the image, and the horizontal and vertical sizes Hm, V
m is represented by 20 bits each. FIG. 7 shows the first embodiment.
, Where the encoded data (VD) includes, 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, and the like.

【0040】次に、図1の流れ図を用いて、本発明の実
施の形態1による画像予測復号化方法における,予測画
像生成方法について説明する。予測画像を生成する際に
は、まず、ステップ102で、直前の参照画像のサイズ
を入力し、ステップ103で、参照画像のサイズがゼロ
かどうかを調べる。
Next, a prediction image generation method in the image prediction decoding method according to the first embodiment of the present invention will be described with reference to the flowchart of FIG. When generating a 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 before the image to be decoded (in the case of encoding, the image to be encoded) in the decoding order shown in FIG. 2 (a). The reference image is an image reproduced immediately before in the image prediction decoding method according to the first embodiment. For example, FIG.
The reference image of the image # 4 (214) of the
3 (213). However, an image reproduced in bidirectional prediction is not used as a reference image because it is not used for prediction. Therefore, for example, the reference image of image # 8 (217) becomes image # 6 (215).

【0042】上記図1における,ステップ103の判定
において、参照画像のサイズがゼロでなければ、ステッ
プ104に進み、該ステップ104で、該直前の参照画
像を用いて、予測画像を生成する。一方、上記ステップ
103の判定において、参照画像のサイズがゼロであれ
ば、ステップ105に進み、該ステップ105で、画像
サイズがゼロでない最近に再生された画像を、参照画像
として用いて、予測画像を生成する。ここでの,画像サ
イズがゼロでない最近に再生された画像の見つけ方につ
いては、図2(b) を用いて以下に説明する。
If it is determined in step 103 in FIG. 1 that the size of the reference image is not zero, the process proceeds to step 104, where 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. In step 105, a recently reproduced image whose image size is not zero is used as a reference image, and a prediction image Generate The method of finding 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 a predicted image of image # 4 (214) is generated, image # 3 (2) before image # 4 (214) is generated.
13) is zero, and image # 2 (21)
Assume that the size of 2) is not zero. In this case, image #
2 (212), a predicted image of 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 a method of generating a predicted image, in the first embodiment,
Similar to MPEG1, a block-based motion compensation method is used.

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

【0045】すなわち、この画像予測復号化装置300
は、上記圧縮符号化した画像データを解析して、量子化
幅やDCT係数をライン312に、動きベクトルをライ
ン318に、画像サイズをライン321に出力するデー
タ解析器302と、該データ解析器302からの圧縮さ
れたブロックのデータ(圧縮ブロック)を伸長処理によ
り伸長ブロックに変換する復号化器303と、伸長ブロ
ックと予測ブロックとを加算して再生ブロックを生成す
る加算器306とを有している。
That is, the picture prediction decoding apparatus 300
A data analyzer 302 that analyzes the compression-encoded image data and outputs a quantization width and DCT coefficients to a line 312, a motion vector to a line 318, and an image size to a line 321; A decoder 303 for converting the data of the compressed block (compressed block) from 302 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 prediction decoding apparatus 300
Frame memory unit 309 for storing the playback block
And a predicted 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 predicted block. . Here, the predicted 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 to do. The determination of the reference image is performed by the controller 320 that controls the frame memory unit 309 based on the image size from the data analyzer 302, as indicated by the dotted line in FIG.
The frame memory unit 30 is controlled by the controller 320 such that one recently reproduced image having significant image data to be referred to is selected as a reference image.
9 may be controlled.

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

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

【0049】次に、データ解析器302にて、上記圧縮
符号化した画像データを解析し、圧縮されたブロックの
データとして、量子化幅や、DCT係数を、ライン31
2を経由して、復号化器303に出力する。また、上記
データ解析器302で解析した動きベクトルを、ライン
318を経由して、予測画像生成器310に送り、同じ
く上記データ解析器302で解析した画像サイズを、ラ
イン321を経由して、制御器320に出力する。
Next, the data analyzer 302 analyzes the compression-encoded image data, and transmits the quantization width and the DCT coefficient to the line 31 as compressed block data.
2 and output to the decoder 303. The motion vector analyzed by the data analyzer 302 is sent to the predicted image generator 310 via a line 318, and the image size analyzed by the data analyzer 302 is controlled via a line 321. Output to the unit 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 data of the compressed block, that is, the compressed block, is expanded by the inverse discrete cosine transformer (inverse DCT converter) 305 to restore the expanded block. In the first embodiment, an inverse quantizer 304 inversely quantizes the compressed block, and an inverse discrete cosine transform (IDCT) 305 converts the frequency domain signal into a spatial domain signal.
Get 4. The predicted image generator 310 generates an address 321 for accessing the frame memory unit 309 based on the motion vector transmitted via the line 318 and inputs the address 321 to the frame memory unit 309, The prediction block 317 is generated from the image stored in the unit 309 and output. The prediction block 317,
That is, the reproduction block 315 is generated by inputting the 319 and the decompressed block 314 to the adder 306 and adding them. Then, the playback block 315 is
Output from the output terminal 307 and the line 316
, And stored in the frame memory unit 309. In addition,
Here, when performing the intra-frame encoding, all the sample values of the prediction block become 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 with reference to 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 determination of the reference image may be performed by controlling the frame memory unit 309 via the controller 320 based on information indicating whether or not the size of the reference image is zero via the line 322. 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 a prediction image,
These 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
This is for determining which frame memory stores the reproduced image input via the line 408 (corresponding to the line 316 in FIG. 3), and is controlled by the controller 320, that is, the control signal In accordance with H.322, the frame memories 401 to 403 are sequentially switched. 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.
2 is stored. The same applies to the following, but after the third reproduced image is stored in the frame memory 403, the display is switched to the frame memory 401. Switch 404 connects to predicted 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 according to the size of the reference image. For example, according to a predetermined order, even if a connection to the frame memory 402 is to be made and a predicted image is to be generated, if the image size of the frame memory 402 is zero, the controller 320 makes the previous frame memory 401 (this Control the switch 404 so that the image size is not zero. In this way, it is possible to generate a predicted image from a reference image whose image size is not zero. Note that the switch 404 may be simultaneously connected to a plurality of frame memories. In addition, in the device that resets the frame memory every time one image is reproduced, the controller 320 manages the frame memory so that the frame memory is not reset when the size of the reproduced image is zero. Instead, an image reproduced recently can be left in the frame memory. That is, it is possible to prevent the frame memory from being updated.

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

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

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

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

【0058】次に、図8の流れ図を用いて、本発明の実
施の形態2による画像予測復号化方法における,予測画
像生成方法について説明する。予測画像を生成する際に
は、まず、ステップ802で、直前の参照画像を入力
し、ステップ803で、該参照画像のフラグFが“1"
かどうかを調べる。ステップ803の判定において、該
参照画像のフラグFが“1" であれば、これは、画像サ
イズがゼロではなく、言い換えれば、参照画像が完全に
透過するものでなく、符号化データが存在するものであ
るので、ステップ804で、該直前の参照画像を用い
て、予測画像を生成する。
Next, a prediction image generation method in the image prediction decoding method according to the second embodiment of the present invention will be described with reference to the flowchart of FIG. When generating a 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 set to “1”.
Find out if. If it is determined in step 803 that the flag F of the reference image is “1”, this means that the image size is not zero, in other words, the reference image is not completely transparent and coded 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 it is determined in step 803 in FIG. 8 that the flag F of the reference image is not "1", the flow advances to step 805. In step 805, the most recently reproduced image in which the flag F is not "0" is determined. Is used as a reference image to generate a prediction image.

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

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

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

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

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

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

【0066】(実施の形態5)図6は、本発明の実施の
形態5による双方向予測を用いた、画像予測復号化方法
における,予測画像生成方法の流れ図を示す。以下、本
実施の形態5の特徴である双方向予測の場合について、
参照画像サイズがゼロの場合、即ち参照画像が完全に透
過する場合の処理について説明する。
(Embodiment 5) FIG. 6 shows a flowchart of a predicted image generation method in an image prediction 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,
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 FIG. 2 (a)
(205) is a bidirectional prediction 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, steps 603 and 604
Therefore, if both the size of the reference image at the front and the size of the reference image at the back 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 prediction 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, a predicted image is generated in step 606 using only the backward reference image.

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

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

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

【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 predicted image generation method in an image prediction decoding method using bidirectional prediction according to Embodiment 6 of the present invention. Hereinafter, the sixth embodiment has the same relationship as the second and fourth embodiments with respect to the first and third embodiments. That is, in the sixth embodiment, “size is zero?” In steps 603, 604, and 607 in FIG. 6 in the fifth embodiment shown in FIG. 6 is changed to “is flag F of“ 0 ”?”. 11 and steps 1103, 1104, and 1107 in FIG.
It is what it was.

【0073】従って、このような本実施の形態6によれ
ば、画像を構成する物体を、物体単位で、別々に圧縮符
号化して伝送する場合において、両方向参照画像を用い
て予測画像を生成する場合に、画像サイズが変化し、画
像が消えてしまうような画像を、参照画像として用いて
しまうということがなくなり、残差信号(差分信号)を
抑圧できる適正な予測復号化,予測符号化を行うことが
できるとともに、前方,後方の両参照画像のフラグFが
0であることを検出したときに、所定の値を有する予測
画像を生成するようにしたので、画像サイズが変化し、
画像が消えてしまうような画像の検出を容易に行うこと
ができ、さらには、予測画像を容易に生成することがで
きる効果が得られる。以下、さらなる本発明の実施の形
態7,8として画像予測符号化装置について説明する。
Therefore, according to the sixth embodiment, in the case where objects constituting an image are individually compression-encoded and transmitted for each object, a predicted image is generated using a 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 that can suppress a residual signal (difference signal) can be performed. When the flag F of the front and rear reference images is detected to be 0, a predicted 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 to obtain an effect that a predicted image can be easily generated. Hereinafter, an image prediction encoding apparatus according to Embodiments 7 and 8 of the present invention will be described.

【0074】(実施の形態7)図12は本発明の実施の
形態7による画像予測符号化装置のブロック図を示す。
この画像予測符号化装置1000は、輝度信号及び色差
信号からなるテクスチャー信号に対する予測符号化を行
うテクスチャー符号化部1100と、形状信号に対する
予測符号化を行う形状符号化部1200とを有してい
る。
(Embodiment 7) FIG. 12 is a block diagram showing 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 includes:
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 the encoding process, and outputs the divided macroblock; a target block to be encoded; Subtractor 1160 for calculating a difference from a predicted block to be compressed, a compression encoder 1120 for compressing and encoding the difference, and a compression encoder 1120
And a 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. Further, the local decoder 1130 is an inverse quantizer 11 that inversely quantizes the output of the quantizer 1122.
31 and an inverse discrete cosine transformer 1132 that applies an inverse DCT to the output of the inverse quantizer 1131 to convert a frequency domain signal into a spatial domain signal.

【0076】また、上記テクスチャー符号化部1100
は、上記逆離散コサイン変換器1132の出力である伸
長ブロックと上記予測ブロックとを加算して再生ブロッ
クを生成する加算器1170と、該再生ブロックを格納
するフレームメモリ部(FM1)1140と、所定の動
き検出法により検出された動き情報に基づいて、該フレ
ームメモリ部1140に格納された画像から動き補償に
より対象ブロックに対応する予測ブロックを取得する予
測画像生成器1150とを有している。
The texture encoding unit 1100
The adder 1170 adds the decompressed block output from the inverse discrete cosine transformer 1132 and the prediction block to generate a reproduced block, a frame memory unit (FM1) 1140 for storing the reproduced block, And a prediction image generator 1150 that obtains 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 predicted image generator 1150 generates a predicted block (predicted image) from the reproduced image stored in the frame memory block 1140 based on the image size obtained from the output of the blocking unit 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 encoding unit 1200 converts the shape signal of one frame into a 16 × 1
A blocker 1210 that divides and outputs a macroblock having a size of 6 pixels, a subtractor 1260 that calculates a difference between a target block to be coded and a prediction block corresponding thereto, And a shape decoder 1230 for decoding the output of the shape encoder 1220 by a decoding method corresponding to the predetermined coding method. ing. Here, the shape encoder 1120 encodes 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に格納されてい
る再生画像から、予測ブロック(予測画像)を生成する
際に参照する参照画像を決定する動作をも行うようにな
っている。
Further, the shape encoding section 1200 adds an decoded block output from the shape decoder 1230 and the prediction block to generate a reproduced block, and an output from the adder 1270. Memory unit (FM2) 1240 for storing decoded blocks to be decoded
And a prediction image generator 1250 that acquires a prediction block corresponding to the target block by motion compensation from the shape information stored in the frame memory unit 1240 based on motion information detected by a predetermined motion detection method. 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 blocking unit 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に供給され、テ
クスチャー信号及び形状信号の符号化データとともに伝
送されることとなる。
It should be noted that each of the encoding units 1100 and 120
The determination of the reference image at 0 is 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 output by a shape detection 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 manner as the control of the frame memory unit 309 by the controller 320 in the first embodiment. In this case, the shape detection output is supplied to the variable-length encoder 1010 and transmitted together with the texture signal and the encoded data of the shape signal.

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

【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 prediction encoding device 1000, the texture signal and the shape signal are respectively encoded by the corresponding encoding units 1100,
The block units 1110 and 1210 in 1200 divide the image data into macroblocks, which are units of encoding processing, and perform predictive encoding processing for each macroblock.

【0083】テクスチャー信号符号化部1100では、
対象ブロックと予測ブロックとの差分が減算器1160
により求められ、DCT器1121にてこの差分がDC
T係数に変換され、さらにこのDCT係数が量子化器1
122にて量子化係数に変換される。そしてこの量子化
係数は可変長符号化器1010に出力される。
In texture signal encoding section 1100,
The difference between the target block and the prediction block is calculated by a subtractor 1160.
The difference is calculated by the DCT unit 1121 as DC
The DCT coefficient is converted to a T coefficient,
At 122, it is converted into a quantized coefficient. Then, the 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 above-mentioned quantized coefficients are inversely transformed into DCT coefficients by an inverse quantizer 1131.
The DCT unit 1130 converts the data in the frequency domain into the data in the spatial domain, thereby converting the data into an expanded block corresponding to the target block. Further, the expanded block and the prediction block are added by the adder 1170 to generate a reproduced block. Then, the reproduced block is stored in the frame memory unit 1140. At this time, the predicted image generator 1150 generates a predicted 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 detection method. Processing is taking place. Also, in the predicted image generator 1150,
Based on the image size obtained from the output of the blocker 1110, one of the most recently reproduced images having significant image data to be referenced is referenced from the reproduced images stored in the frame memory block 1140. Determined as an image. When the shape detector 1280 is provided, the reference image is determined based on the shape detection output, that is, information on whether the size of the reproduced image to be normally referred to is zero or not. It can also be performed by controlling the frame memory unit 1140.

【0085】また、上記テクスチャー符号化部1100
の処理と並行して、形状符号化部1200では、形状信
号に対する予測符号化処理が、上記テクスチャー信号の
予測符号化処理とほぼ同様に行われる。つまり、対象ブ
ロックと予測ブロックとの差分が減算器1260により
求められ、形状符号化器1220にてこの差分が四分木
やチェイン符号化方法等の方法で符号化されて上記可変
長符号化器1010に出力される。また上記形状符号化
器1220からの形状符号化信号は形状復号化器123
0により復元され、復元ブロックと予測ブロックが加算
器1270により加算されて再生ブロックが生成され
る。
The texture encoding section 1100
In parallel with the above processing, the shape encoding unit 1200 performs the predictive encoding process on the shape signal in substantially the same way as the predictive encoding process on the texture signal. That is, the difference between the target block and the prediction block is obtained by the subtractor 1260, and the difference is coded by the shape coder 1220 by a method such as a quadtree or a chain coding method. Output to 1010. The shape coded signal from the shape coder 1220 is transmitted to the shape decoder 123.
0, the restored block and the predicted block are added by the adder 1270 to generate a reproduced 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. The predicted image generator 1250 generates the predicted image data based on the motion information detected by a predetermined motion detection method.
A prediction block corresponding to the target block is generated from the shape information stored in 40 by motion compensation. Also, in the predicted image generator 1250, based on the image size obtained from the output of the blocking unit 1210, the most recent image in which significant image data to be referred to exists from the reproduced images stored in the frame memory block 1240. Is determined as a reference image.

【0087】なお、この参照画像の決定は、形状検出器
1280が設けられている場合には、その出力である形
状検出出力,つまり通常参照されるべき再生画像のサイ
ズがゼロであるかどうかの情報により、フレームメモリ
部1240を制御することにより行うことも可能であ
る。また、この場合、上記再生ブロックは形状検出器1
280に入力され、ここで形状検出が行われる。例え
ば、形状信号が2値信号である場合には、形状データと
しての白データ及び黒データのうちの黒データしかない
場合には、再生形状はなにもないこととなる。このと
き、このブロックの形状信号に対応するテクスチャー信
号も存在しないこととなる。この場合には、上述したよ
うに、形状検出器1280からは、符号化データなしを
示すフラグあるいは画像サイズゼロのデータが形状検出
出力として、上記各フレームメモリ部1140,124
0及び上記可変長符号化器1010に出力される。各フ
レームメモリ部1140,1240では、上記形状検出
出力により、上記実施の形態1における制御器320に
よるフレームメモリ309の制御と同様の制御が行われ
る。
When the reference image is determined, when the shape detector 1280 is provided, the output of the shape detection, that is, whether the size of the reproduced image to be normally referred to is zero or not is determined. It can also be performed by controlling the frame memory unit 1240 based on the information. In this case, the reproduction block is a shape detector 1
280, where shape detection is performed. 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 of image size zero is output as a shape detection output, and the frame memory units 1140 and 124 are used.
0 and output to the variable length encoder 1010. In each of the frame memory units 1140 and 1240, the same control as 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, in the seventh embodiment, each of encoding sections 1100 and 1200 has a block converter 1110,
Based on the image size obtained from the output of the image 1210, one recently reproduced image having significant image data to be referred to from the reproduced images stored in the frame memory blocks 1140 and 1210 is referred to as a reference image. Therefore, when the objects constituting the image are separately compression-encoded and transmitted for each object, the image whose image size changes and the image can be determined is referred to as the reference image in predictive encoding of the image. Is not used, and an effect that proper prediction encoding can be performed can be obtained. The coded data predictively coded by the picture prediction coding apparatus of the seventh embodiment can be correctly decoded by the picture prediction decoding apparatus of the second embodiment.

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

【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 that in the first embodiment. The case where the selection of a reproduced image as a reference image by the predicted image generators 1150 and 1250 or the control of the frame memory unit 309 by the controller 320 is performed in exactly the same manner is described, but the present invention is not limited to this.

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

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

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

【0094】ここで、上記テクスチャー符号化部110
0aは、上記実施の形態7のテクスチャー符号化部11
00の構成に加えて、ブロック化器1110の前段に、
テクスチャー信号を制御信号によりブロック化器111
0と接地との間で切り替えてその一方に供給する切替ス
イッチ1190を有する構成となっている。
Here, the texture encoding unit 110
0a is the texture encoding unit 11 of the seventh embodiment.
In addition to the configuration of 00, before the blocking unit 1110,
A texture signal is divided into blocks by a control signal.
The configuration has 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の
ものと異なっている。
The shape encoding unit 1200a does not have the shape detector 1280 in the shape encoding unit 1200 of the seventh embodiment, and transmits a shape signal by a control signal before the block generator 1210. Blocker 121
The present embodiment is different from that of the above-described seventh embodiment in having a changeover switch 1290 for switching between 0 and ground and supplying it to one of them.

【0096】また、上記画像予測復号化装置1000a
は、形状信号を受け、その形状検出出力を上記制御信号
として各切替スイッチ1190,1290に出力する形
状検出器1020を有している。ここで、上記各切替ス
イッチは、形状検出器1020での形状検出の結果、入
力される形状信号が形状を有しないものであるときに
は、その形状検出出力により、入力されるテクスチャー
信号及び形状信号が接地側に入力され、一方対入力され
る形状信号が形状を有するものであるときには、テクス
チャー信号及び形状信号が各ブロック化器1110,1
210に入力されるようこれらの信号の切替を行うよう
になっている。なお、上記形状検出出力は、可変長符号
化器1010にて、各符号化部1100a,1200a
からの符号化データとともに可変長符号化処理が施され
るようになっている。
The image prediction decoding apparatus 1000a
Has a shape detector 1020 that receives a 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 output to the respective block converters 1110 and 1.
These signals are switched so as to be input to the signal 210. Note that the shape detection output is output from the variable length encoder 1010 to each of the encoding units 1100a and 1200a.
The variable-length encoding process is performed together with the encoded data from.

【0097】次にこの実施の形態8の画像予測復号化装
置の動作について簡単に説明する。このような構成の実
施の形態8の画像予測復号化装置1000aでは、上記
形状検出器1020による切替スイッチの制御以外は、
上記実施の形態7と同様な予測復号化動作が行われる。
Next, the operation of the picture prediction decoding apparatus according to the eighth embodiment will be briefly described. In the image prediction decoding apparatus 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 the seventh embodiment is performed.

【0098】つまり、この画像予測復号化装置1000
aでは、テクスチャー信号及び形状信号が入力される
と、形状検出器1020にて、入力される形状信号が形
状を有するものであるか否かの検出が行われる。この検
出の結果、形状信号が形状を有しないものであるときに
は、上記形状検出器1020の出力により切替スイッチ
1190及び1290が制御され、入力されるテクスチ
ャー信号及び形状信号が接地側に供給される。つまりこ
のときには、形状信号及びテクスチャー信号に対する予
測符号化処理は行われず、形状検出出力が可変長符号化
器1010に供給される。
That is, the picture prediction decoding apparatus 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 does not have a shape, the 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 encoding process is not performed on the shape signal and the texture signal, 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 detection, when the input shape signal has a shape, the switches 1190 and 129 are output by the output of the shape detector 1020.
0 is controlled, and the texture signal and the shape signal are input to each of the blockers 1110 and 1210, and are subjected to predictive coding processing. Then, each encoding unit 1100a
And the output of 1200a 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. When the shape signal has a shape, The prediction encoding for the texture signal and the shape signal is performed, and when the shape signal does not have a shape, the prediction encoding for the texture signal and the shape signal is not performed. In the case where the image is compressed and encoded separately in units and transmitted, the image whose image size changes and the image can be determined is not used as a reference image in predictive encoding of the image, and the residual signal ( It is possible to perform appropriate predictive coding that can suppress the difference signal).

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

【0102】さらに、上記各実施の形態で示した画像予
測復号化方法あるいは装置,及び画像予測符号化方法あ
るいは装置の構成を実現するためのプログラムを、フロ
ッピーディスク等のデータ記録媒体に記録するようにす
ることにより、上記各実施の形態で示した処理を、独立
したコンピュータシステムにおいて簡単に実施すること
が可能となる。
Further, a program for realizing the configuration of the image prediction decoding method or apparatus and the image prediction encoding method or apparatus described in each of the above embodiments is recorded on a data recording medium such as a floppy disk. By doing so, the processing described in each of the above embodiments can be easily performed 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 encoding process in each of the above embodiments is performed by a computer system using a floppy disk storing programs corresponding to these signal processes. FIG. FIG. 14A shows the external appearance, cross-sectional structure, and main body of a floppy disk which is a recording medium when viewed from the front of the floppy disk FD.
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 disk body D, and each track is divided into 16 sectors Se in the angular direction. Therefore, in the floppy disk body D storing the program, the floppy disk body D
The data as the 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 configuration for recording and reproducing the above program on the floppy disk FD. When recording the program on the floppy disk FD, 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 above-described image transmission method or image decoding apparatus is constructed in the computer system Cs by using 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, a data recording medium storing a program for performing the predictive decoding process or the predictive encoding process in each of the above embodiments has been described. One that stores encoded data of an image according to each embodiment may also be used.

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

【0107】[0107]

【発明の効果】以上のように本発明にかかる画像予測復
号化方法,画像予測復号化装置,画像予測符号化方法,
及び画像予測符号化装置によれば、参照画像のサイズが
ゼロのとき、あるいは参照画像が完全に透過するとき、
あるいは、参照画像のサイズがゼロであることを示す画
像データ中のフラグを検出したときに、画像サイズがゼ
ロでないほかの再生画像を用いて、予測復号化を行うよ
うにしたので、圧縮効率の向上のため、画像を構成する
物体を、物体単位で、別々に圧縮符号化して伝送する場
合に、画像サイズが変化し、画像が消えてしまうような
画像を、画像の復号化,符号化において参照画像として
用いてしまうということがなくなり、適正な復号化,符
号化を行うことができ、したがって符号量を抑圧し、効
率よく、圧縮符号化を行うことができるという顕著な効
果が得られる。
As described above, the image prediction decoding method, the image prediction decoding device, the image prediction encoding method,
And according to the image prediction encoding device, when the size of the reference image is zero, or when the reference image is completely transparent,
Alternatively, when a flag in the image data indicating that the size of the reference image is zero is detected, prediction decoding is performed using another reproduced image whose image size is not zero. For the purpose of improvement, when the objects composing an image are individually compression-encoded and transmitted on an object-by-object basis, when the image size changes and the image disappears, the image decoding and encoding are performed. There is no remarkable effect that it is not used as a reference image, and appropriate decoding and encoding can be performed. Therefore, a code amount can be suppressed and compression encoding can be performed efficiently.

【0108】本発明にかかる画像予測復号化方法,画像
予測復号化装置,画像予測符号化方法,及び画像予測符
号化装置によれば、参照画像のサイズがゼロであるか否
か、即ち参照画像が完全に透過するであるか否かを、符
号化データが存在するか否かを示す画像データ中のフラ
グを検出することにより検出するようにしたので、上記
の効果に加えて、参照画像を決定する演算を、簡易に行
うことができる効果が得られる。
According to the image predictive decoding method, the image predictive decoding device, the image predictive encoding method, and the image predictive encoding device of the present invention, whether the size of the reference image is zero, Is completely transmitted, by detecting a flag in the image data indicating whether or not encoded data exists, in addition to the above-described effects, the reference image The effect of being able to easily perform the calculation to be determined is obtained.

【0109】本発明にかかる画像予測復号化方法,画像
予測復号化装置,画像予測符号化方法,及び画像予測符
号化装置によれば、画像を構成する物体を、物体単位
で、別々に圧縮符号化して伝送する場合において、両方
向参照画像を用いて予測画像を生成する場合に、画像サ
イズが変化し、画像が消えてしまうような画像を、参照
画像として用いてしまうということがなくなり、適正な
復号化,符号化を行うことができるとともに、予測画像
として、所定の値を有する予測画像を生成するようにし
たので、予測画像を容易に生成することができる効果が
得られる。
According to the image predictive decoding method, the image predictive decoding device, the image predictive encoding method, and the image predictive encoding device according to the present invention, objects constituting an image are individually compressed and encoded in object units. When generating a predicted image using a bidirectional reference image, the image in which the image size changes and the image disappears is not used as a reference image, Decoding and encoding can be performed, and a predicted image having a predetermined value is generated as a predicted image. Therefore, an effect that a predicted image can be easily generated is obtained.

【0110】本発明にかかる画像予測符号化装置によれ
ば、入力された形状信号が形状を有するものであるか否
かを判定する形状検出器を備え、形状信号が形状を有す
るものである場合には、テクスチャー信号及び形状信号
に対する予測符号化を行い、形状信号が形状を有するも
のでない場合には、テクスチャー信号及び形状信号に対
する予測符号化を行わないようにしたので、画像を構成
する物体を、物体単位で別々に圧縮符号化して伝送する
場合に、画像サイズが変化し、画像がきえてしまうよう
な画像を、画像の予測符号化において参照画像として用
いてしまうということがなくなり、適正な予測符号化を
行うことができる。
According to the image predictive coding apparatus of the present invention, the apparatus is provided with a shape detector for determining whether or not the input shape signal has a shape, and the shape signal has a shape. Performs predictive encoding on the texture signal and the shape signal, and when the shape signal does not have a shape, does not perform the predictive encoding on the texture signal and the shape signal. In the case of separately compressing and encoding the image data for each object and transmitting the image, the image whose image size changes and the image can be determined is not used as the reference image in the predictive encoding of the image. Predictive coding can be performed.

【0111】本発明にかかるデータ記憶媒体によれば、
コンピュータに、参照画像のサイズがゼロのとき、ある
いは参照画像が完全に透過するとき、あるいは、参照画
像のサイズがゼロであることを示す画像データ中のフラ
グを検出したときに、画像サイズがゼロでないほかの再
生画像を用いて、予測復号化を行う予測復号化処理ある
いは予測符号化処理を行わせるプログラムを格納したの
で、上記のような符号量を抑圧し、効率よく、圧縮符号
化を行うことができる予測復号化処理あるいは予測符号
化処理をソフトウェアにより実現できる。
According to the data storage medium of the present invention,
When the size of the reference image is zero, when the reference image is completely transparent, or when the computer detects a flag in the image data indicating that the size of the reference image is zero, the image size becomes zero. Since a program for performing a predictive decoding process or a predictive encoding process for performing a predictive decoding using another reproduced image is stored, the code amount as described above is suppressed, and the compression encoding is efficiently performed. The predictive decoding process or the predictive encoding process that can be performed can be realized by software.

【0112】本発明にかかるデータ記憶媒体によれば、
コンピュータに、参照画像のサイズがゼロであるか否
か、即ち参照画像が完全に透過するであるか否かを、符
号化データが存在するか否かを示す画像データ中のフラ
グを検出することにより検出する予測復号化処理あるい
は予測符号化処理を行わせるプログラムを格納したの
で、符号量を抑圧し、効率よく、圧縮符号化を行うこと
ができるという効果に加えて、参照画像を決定する演算
を、簡易に行うことができる予測復号化処理あるいは予
測符号化処理をソフトウェアにより実現できる。
According to the data storage medium of the present invention,
The computer detects whether or not the size of the reference image is zero, that is, whether or not the reference image is completely transparent, by detecting a flag in the image data indicating whether or not encoded data is present. , A program for performing a predictive decoding process or a predictive encoding process is detected, so that the amount of code can be suppressed and compression encoding can be performed efficiently, and in addition, the operation of determining a reference image can be performed. Can be realized by software in a predictive decoding process or a predictive encoding process that can be easily performed.

【0113】本発明にかかるデータ記憶媒体によれば、
画像を構成する物体を、物体単位で、別々に圧縮符号化
して伝送する場合において、両方向参照画像を用いて予
測画像を生成する場合に、画像サイズが変化し、画像が
消えてしまうような画像を、参照画像として用いてしま
うということがなくなり、適正な復号化,符号化を行う
ことができるとともに、予測画像として、所定の値を有
する予測画像を生成する予測復号化処理あるいは予測符
号化処理をコンピュータに行わせるプログラムを格納し
たので、予測画像を容易に生成することができる予測復
号化処理あるいは予測符号化処理をソフトウェアにより
実現できる。
According to the data storage medium of the present invention,
When an object constituting an image is separately compressed and transmitted on an object-by-object basis and transmitted, when generating a predicted image using a bidirectional reference image, an image whose size changes and the image disappears Is not used as a reference image, proper decoding and encoding can be performed, and a prediction decoding process or a prediction encoding process for generating a prediction image having a predetermined value as a prediction image Is stored in the computer, so that a predictive decoding process or a predictive encoding process capable of easily generating a predicted image can be realized by software.

【0114】本発明にかかるデータ記憶媒体によれば、
入力された形状信号が形状を有するものであるか否かを
判定し、形状信号が形状を有するものである場合には、
テクスチャー信号及び形状信号に対する予測符号化を行
い、形状信号が形状を有するものでない場合には、テク
スチャー信号及び形状信号に対する予測符号化を行わな
い予測符号化処理をコンピュータに行わせるプログラム
を格納したので、画像を構成する物体を、物体単位で別
々に圧縮符号化して伝送する場合に、画像サイズが変化
し、画像がきえてしまうような画像を、画像の予測符号
化において参照画像として用いてしまうということがな
くなり、適正な予測符号化を行うことができる画像予測
符号化装置をソフトウェアにより実現できる。
According to the data storage medium of the present invention,
Determine whether the input shape signal has a shape, if the shape signal has a shape,
A program is stored for performing predictive encoding on the texture signal and the shape signal, and performing a predictive encoding process that does not perform predictive encoding on the texture signal and the shape signal when the shape signal does not have a shape. In the case where objects constituting an image are separately compression-encoded on an object-by-object basis and transmitted, an image in which the image size changes and an image can be determined is used as a reference image in predictive encoding of the image. Therefore, an image predictive encoding device capable of performing appropriate predictive encoding can be realized by software.

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

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

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

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

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

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

【図6】本発明の実施の形態4による画像予測復号化方
法における予測画像生成方法を示す流れ図。
FIG. 6 is a flowchart showing a predicted image generation method in an image prediction decoding method according to a 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 predicted image generation method in the image prediction 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 predicted image generation method in the image prediction decoding method according to the fifth embodiment of the present invention.

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

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

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

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

【符号の説明】[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 transformer (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, 408 Line 1000, 1000a Image predictive encoding device 1003 Output terminal 1010 Variable length encoding Units 1020,1280 Shape detector 1100,1100a Texture encoder 1200,1200a Shape encoder 1110,1210 Blocker 1120,1220 Encoder 1121 Scattered cosine transformer (DCT) 1122 Quantizer 1160, 1260 Subtractor 1170, 1270 Adder 1190, 1290 Changeover switch # 1 (201) to # 10 (210) Image # 1 (211) to # 9 (220) Image 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 (24)

【特許請求の範囲】[Claims] 【請求項1】 画像サイズ可変な画像を所定の方法で圧
縮符号化した画像データを入力し、復号化の対象となる
画像より以前に再生された少なくとも一つの再生画像を
参照画像として用いて予測画像を生成し、上記復号化の
対象となる画像を、予測復号化する画像予測復号化方法
において、 上記参照画像として、参照されるべき有意な画像データ
が存在する最近に再生された少なくとも一つの再生画像
を用いて、上記予測画像を生成することを特徴とする画
像予測復号化方法。
An image data obtained by compressing and encoding an image having a variable image size by a predetermined method is input, and prediction is performed using at least one reproduced image reproduced before an image to be decoded as a reference image. In the image predictive decoding method of generating an image and performing the predictive decoding of the image to be decoded, the reference image includes at least one recently reproduced image having significant image data to be referred to. An image prediction decoding method, wherein the prediction image is generated using a reproduced image.
【請求項2】 画像サイズ可変な画像を所定の方法で圧
縮符号化した画像データを入力し、復号化の対象となる
画像より以前に再生された所定の再生画像を参照画像と
して用いて予測画像を生成し、上記復号化の対象となる
画像を、予測復号化する画像予測復号化方法において、 上記予測画像を生成する際に参照画像として用いる所定
の再生画像に、参照されるべき有意な画像データが存在
しないとき、所定値をその画像データとした画像を予測
画像とすることを特徴とする画像予測復号化方法。
2. A predictive image using image data obtained by compressing and encoding an image having a variable image size by a predetermined method and using a predetermined reproduced image reproduced before a target image to be decoded as a reference image. In the image prediction decoding method of predictively decoding the image to be decoded, a significant image to be referred to as a predetermined reproduced image used as a reference image when generating the predicted image An image predictive decoding method characterized in that an image having a predetermined value as image data is used as a predicted image when data does not exist.
【請求項3】 請求項1または2に記載の画像予測復号
化方法において、 上記圧縮符号化した各フレーム毎の画像データは、復号
化処理の対象となる対象フレームの直前のフレームに、
参照されるべき有意な画像データが存在するか否かを示
すフラグを有するものであることを特徴とする画像予測
復号化方法。
3. The image predictive decoding method according to claim 1, wherein the compression-encoded image data for each frame includes a frame immediately before a target frame to be decoded.
An image predictive decoding method having a flag indicating whether or not there is significant image data to be referred to.
【請求項4】 画像サイズ可変な画像を所定の方法で圧
縮符号化した画像データを入力し、参照画像を用いて予
測画像を生成し、上記復号化の対象となる画像を、予測
復号化する画像予測復号化方法において、 上記参照画像として、最近に再生された2つの再生画像
のうちの、少なくとも参照されるべき有意な画像データ
が存在するものを用いて、上記予測画像を生成すること
を特徴とする画像予測復号化方法。
4. An image data obtained by compressing and encoding an image having a variable image size by a predetermined method, generating a predicted image using a reference image, and predictively decoding the image to be decoded. In the image prediction decoding method, it is preferable that the predicted image is generated by using, as the reference image, one of two recently reproduced images in which at least significant image data to be referred to exists. An image prediction decoding method which is a feature.
【請求項5】 請求項4に記載の画像予測復号化方法に
おいて、 上記圧縮符号化した各フレーム毎の画像データは、復号
化処理の対象となる対象フレームの直前の所定の2つの
フレームに、参照されるべき有意な画像データが存在す
るか否かを示すフラグを有するものであることを特徴と
する画像予測復号化方法。
5. The image predictive decoding method according to claim 4, wherein the compression-encoded image data for each frame includes two predetermined frames immediately before a target frame to be decoded. An image predictive decoding method having a flag indicating whether or not there is significant image data to be referred to.
【請求項6】 入力手段と、データ解析器と、復号化器
と、予測画像生成器と、加算器と、フレームメモリとを
具備し、 上記入力手段に、画像サイズ可変な画像を所定の方法で
圧縮符号化した画像データを入力し、 上記データ解析器にて、上記画像データを分析して、画
像サイズと画像変換係数を出力し、 上記復号化器にて、上記画像変換係数を、所定の方法で
伸長差分画像に復元し、 上記予測画像生成器にて、上記フレームメモリに格納さ
れた再生画像を参照画像として用いて予測画像を生成
し、 上記加算器にて、上記伸長差分画像と、上記予測画像と
を加算して、再生画像を生成し出力すると同時に、該再
生画像を、上記フレームメモリに格納する画像予測復号
化装置であって、 上記予測画像生成器は、上記再生画像に、参照されるべ
き有意な画像データが存在するか否かを調べ、有意な画
像データが存在する最近に再生された少なくとも一つの
再生画像を参照画像として用いて、上記予測画像を生成
することを特徴とする画像予測復号化装置。
6. An input means, a data analyzer, a decoder, a predictive image generator, an adder, and a frame memory, wherein the input means inputs a variable-size image to a predetermined method. The image data compressed and encoded in the above step is input, the data analyzer analyzes the image data, outputs an image size and an image conversion coefficient, and the decoder converts the image conversion coefficient into a predetermined value. And a predicted image is generated by the predicted image generator using the reproduced image stored in the frame memory as a reference image, and the decompressed image is generated by the adder. An image predictive decoding device that adds the predicted image to the reproduced image to generate and output a reproduced image, and stores the reproduced image in the frame memory at the same time. To be referenced Determining whether or not there is significant image data, and generating the predicted image using at least one recently reproduced image having significant image data as a reference image. Predictive decoding device.
【請求項7】 入力手段と、データ解析器と、復号化器
と、予測画像生成器と、加算器と、フレームメモリとを
具備し、 上記入力手段に、画像サイズ可変な入力画像を所定の方
法で圧縮符号化した画像データを入力し、 上記データ解析器にて、上記画像データを分析して、画
像サイズと画像変換係数を出力し、 上記復号化器にて、上記画像変換係数を、所定の方法で
伸長差分画像に復元し、 上記予測画像生成器にて、上記フレームメモリに格納さ
れた、上記入力画像に対応する所定の再生画像を参照画
像として用いて予測画像を生成し、 上記加算器にて、上記伸長差分画像と、上記予測画像と
を加算し、再生画像を生成し出力すると同時に、該再生
画像を、上記フレームメモリに格納する画像予測復号化
装置であって、 上記予測画像生成器は、上記所定の再生画像に、参照さ
れるべき有意な画像データが存在するか否かを調べ、該
所定の再生画像に、有意な画像データが存在しないと
き、所定値をその画像データとした画像を上記予測画像
とすることを特徴とする画像予測復号化装置。
7. An image processing apparatus comprising: an input unit, a data analyzer, a decoder, a predicted image generator, an adder, and a frame memory, wherein the input unit converts an input image having a variable image size into a predetermined image. The image data compressed and encoded by the method is input, the data analyzer analyzes the image data, outputs an image size and an image conversion coefficient, and the decoder outputs the image conversion coefficient, Reconstructing a decompressed difference image by a predetermined method, the predicted image generator generates a predicted image using a predetermined reproduced image corresponding to the input image stored in the frame memory as a reference image, An image adder for adding the decompressed difference image and the prediction image to generate and output a reproduced image, and, at the same time, storing the reproduced image in the frame memory; Image generator Checks whether or not there is significant image data to be referred to in the predetermined reproduced image, and when no significant image data exists in the predetermined reproduced image, a predetermined value is regarded as the image data. An image prediction decoding device, wherein an image is used as the prediction image.
【請求項8】 請求項6または7に記載の画像予測復号
化装置において、 上記圧縮符号化した各フレーム毎の画像データは、復号
化処理の対象となる対象フレームの直前のフレームに、
参照されるべき有意な画像データが存在するか否かを示
すフラグを有するものであることを特徴とする画像予測
復号化装置。
8. The image predictive decoding apparatus according to claim 6, wherein the compression-encoded image data for each frame is added to a frame immediately before a target frame to be decoded.
An image predictive decoding device having a flag indicating whether or not there is significant image data to be referred to.
【請求項9】 入力手段と、データ解析器と、復号化器
と、予測画像生成器と、加算器と、フレームメモリとを
具備し、 上記入力手段に、画像サイズ可変な画像を所定の方法で
圧縮符号化した画像データを入力し、 上記データ解析器にて、上記画像データを分析して、画
像サイズと画像変換係数を出力し、 上記復号化器にて、上記画像変換係数を、所定の方法で
伸長差分画像に復元し、 上記予測画像生成器にて、上記フレームメモリに格納さ
れた再生画像を参照画像として用いて予測画像を生成
し、 上記加算器にて、上記伸長差分画像と、上記予測画像と
を加算し、再生画像を生成し出力すると同時に、該再生
画像を、上記フレームメモリに格納する画像予測復号化
装置であって、 上記予測画像生成器は、上記参照画像として、最近に再
生された2つの再生画像のうちの、少なくとも参照され
るべき有意な画像データが存在するものを用いて、上記
予測画像を生成することを特徴とする画像予測復号化装
置。
9. An image processing apparatus comprising: input means, a data analyzer, a decoder, a predictive image generator, an adder, and a frame memory, wherein the input means outputs a variable-size image to a predetermined method. The image data compressed and encoded in the above step is input, the data analyzer analyzes the image data, outputs an image size and an image conversion coefficient, and the decoder converts the image conversion coefficient into a predetermined value. The predicted image is generated by using the reproduced image stored in the frame memory as a reference image in the predicted image generator, and the expanded differential image is reconstructed by the adder. , Adding the predicted image, generating and outputting a reproduced image, and, at the same time, storing the reproduced image in the frame memory, wherein the predicted image generator includes, as the reference image, Recently Played An image prediction decoding apparatus, wherein the predicted image is generated using at least significant image data to be referred to among the two reproduced images.
【請求項10】 請求項9に記載の画像予測復号化装置
において、 上記圧縮符号化した各フレーム毎の画像データは、復号
化処理の対象となる対象フレームの直前の所定の2つの
フレームに、参照されるべき有意な画像データが存在す
るか否かを示すフラグを有するものであることを特徴と
する画像予測復号化装置。
10. The image predictive decoding apparatus according to claim 9, wherein the image data of each of the compression-encoded frames is divided into two predetermined frames immediately before a target frame to be decoded. An image predictive decoding device having a flag indicating whether or not there is significant image data to be referred to.
【請求項11】 画像サイズ可変な画像を入力し、符号
化の対象となる画像より以前に再生された少なくとも一
つの再生画像を参照画像として用いて予測画像を生成
し、上記予測画像から上記対象画像を引き算し、その差
分を、所定の方法で圧縮符号化する画像予測符号化方法
において、 上記予測画像を生成する際には、参照されるべき有意な
画像データが存在する最近に再生された少なくとも一つ
の再生画像を参照画像として用いて上記予測画像を生成
することを特徴とする画像予測符号化方法。
11. An image having a variable image size is input, a predicted image is generated using at least one reproduced image reproduced before an image to be encoded as a reference image, and the target image is generated from the predicted image. In an image prediction encoding method of subtracting an image and compressing and encoding the difference by a predetermined method, when the predicted image is generated, a recently reproduced image having significant image data to be referred to exists. An image prediction encoding method, wherein the prediction image is generated using at least one reproduced image as a reference image.
【請求項12】 画像サイズ可変な画像を入力し、符号
化の対象となる画像より以前に再生された所定の再生画
像を参照画像として用いて予測画像を生成し、上記予測
画像から上記対象画像を引き算し、その差分を、所定の
方法で圧縮符号化する画像予測符号化方法において、 上記予測画像を生成する際に参照画像として用いる所定
の再生画像に、参照されるべき有意な画像データが存在
しないとき、所定値をその画像データとした画像を上記
予測画像とすることを特徴とする画像予測符号化方法。
12. An image having a variable image size is input, a predicted image is generated using a predetermined reproduced image reproduced before an image to be encoded as a reference image, and the target image is generated from the predicted image. In the image prediction encoding method of compressing and encoding the difference by a predetermined method, significant image data to be referred to in a predetermined reproduced image used as a reference image when the predicted image is generated. An image predictive encoding method, characterized in that an image having a predetermined value as image data when the image does not exist is used as the predicted image.
【請求項13】 請求項11または12に記載の画像予
測符号化方法において、 上記圧縮符号化した各フレーム毎の画像データは、符号
化処理の対象となる対象フレームの直前のフレームに、
参照されるべき有意な画像データが存在するか否かを示
すフラグを有するものであることを特徴とする画像予測
符号化方法。
13. The image predictive encoding method according to claim 11, wherein the compression-encoded image data for each frame is added to a frame immediately before a target frame to be encoded.
An image predictive encoding method comprising a flag indicating whether or not there is significant image data to be referred to.
【請求項14】 画像サイズ可変な画像を入力し、参照
画像を用いて予測画像を生成し、上記予測画像から上記
符号化の対象となる対象画像を引き算し、その差分を、
所定の方法で圧縮符号化する画像予測符号化方法におい
て、 上記参照画像として、最近に再生された2つの再生画像
のうちの、少なくとも参照されるべき有意な画像データ
が存在するものを用いて上記予測画像を生成することを
特徴とする画像予測符号化方法。
14. An image having a variable image size is input, a predicted image is generated using a reference image, a target image to be encoded is subtracted from the predicted image, and the difference is calculated as
In the image prediction encoding method of performing compression encoding by a predetermined method, the reference image is obtained by using at least significant image data to be referred to among the two reproduced images recently reproduced. An image prediction encoding method, characterized by generating a prediction image.
【請求項15】 請求項14に記載の画像予測符号化方
法において、 上記圧縮符号化した各フレーム毎の画像データは、符号
化処理の対象となる対象フレームの直前の所定の2つの
フレームに、参照されるべき有意な画像データが存在す
るか否かを示すフラグを有するものであることを特徴と
する画像予測符号化方法。
15. The image prediction encoding method according to claim 14, wherein the compression-encoded image data for each frame is divided into two predetermined frames immediately before a target frame to be encoded. An image predictive encoding method comprising a flag indicating whether or not there is significant image data to be referred to.
【請求項16】 入力手段と、減算器と、圧縮符号化器
と、可変長符号化器と、伸長復号化器と、予測画像生成
器と、加算器と、フレームメモリとを具備し、 上記入力手段に、画像サイズ可変な画像データを符号化
処理の単位毎に区分して入力し、 上記減算器にて、符号化処理の対象となる対象画像と、
この対象画像に対応する予測画像との差分画像を求め、 上記圧縮符号化器にて、上記差分画像を所定の圧縮符号
化処理により圧縮データに変換し、 上記可変長符号化器にて、上記圧縮データを可変長符号
化して符号化データを出力し、 上記伸長復号化器にて、上記圧縮データを所定の伸長復
号化処理により伸長差分画像に復元し、 上記予測画像生成器にて、上記フレームメモリに格納さ
れた再生画像を参照画像として用いて予測画像を生成
し、 上記加算器にて、上記伸長差分画像と、上記予測画像と
を加算して、再生画像を生成し出力すると同時に、該再
生画像を、上記フレームメモリに格納する画像予測符号
化装置であって、 上記予測画像生成器は、上記再生画像に、参照されるべ
き有意な画像データが存在するか否かを調べ、有意な画
像データが存在する最近に再生された少なくとも一つの
再生画像を参照画像として用いて、上記予測画像を生成
することを特徴とする画像予測符号化装置。
16. An input means, a subtracter, a compression encoder, a variable length encoder, a decompression decoder, a predicted image generator, an adder, and a frame memory, The input means inputs the image data with variable image size in units of units of the encoding process, and in the subtracter, a target image to be subjected to the encoding process;
A difference image from the prediction image corresponding to the target image is obtained. The compression encoder converts the difference image into compressed data by a predetermined compression encoding process. The compressed data is subjected to variable-length encoding to output encoded data, and the decompressed data is restored to a decompressed difference image by a predetermined decompression decoding process in the decompression decoder. A predicted image is generated using the reproduced image stored in the frame memory as a reference image, and the adder adds the decompressed difference image and the predicted image to generate and output a reproduced image. An image predictive encoding device that stores the reproduced image in the frame memory, wherein the predicted image generator checks whether the reproduced image has significant image data to be referred to, What Using at least one of the reproduced image is reproduced recently the image data exists as a reference picture, image predictive coding apparatus and generates the prediction image.
【請求項17】 入力手段と、減算器と、圧縮符号化器
と、可変長符号化器と、伸長復号化器と、予測画像生成
器と、加算器と、フレームメモリとを具備し、 上記入力手段に、画像サイズ可変な画像データを符号化
処理の単位毎に区分して入力し、 上記減算器にて、符号化処理の対象となる対象画像と、
この対象画像に対応する予測画像との差分画像を求め、 上記圧縮符号化器にて、上記差分画像を所定の圧縮符号
化処理により圧縮データに変換し、 上記可変長符号化器にて、上記圧縮データを可変長符号
化して符号化データを出力し、 上記伸長復号化器にて、上記圧縮データを所定の伸長復
号化処理により伸長差分画像に復元し、 上記予測画像生成器にて、上記フレームメモリに格納さ
れた、上記入力画像に対応する所定の再生画像を参照画
像として用いて予測画像を生成し、 上記加算器にて、上記伸長差分画像と、上記予測画像と
を加算して、再生画像を生成し出力すると同時に、該再
生画像を、上記フレームメモリに格納する画像予測符号
化装置であって、 上記予測画像生成器は、上記所定の再生画像に、参照さ
れるべき有意な画像データが存在するか否かを調べ、有
意な画像データが存在しないとき、所定値をその画像デ
ータとした画像を上記予測画像とすることを特徴とする
画像予測符号化装置。
17. An apparatus comprising: input means, a subtractor, a compression encoder, a variable length encoder, a decompression decoder, a predicted image generator, an adder, and a frame memory. The input means inputs image data of variable image size in units of units of the encoding process, and in the subtracter, a target image to be subjected to the encoding process;
A difference image from the predicted image corresponding to the target image is obtained, and the compression encoder converts the difference image into compressed data by a predetermined compression encoding process. The compressed data is subjected to variable-length encoding to output encoded data, and the decompressed data is restored to a decompressed difference image by a predetermined decompression decoding process in the decompression decoder. A predictive image is generated using a predetermined reproduced image corresponding to the input image stored in the frame memory as a reference image, and the adder adds the decompressed difference image and the predicted image, An image prediction encoding apparatus that generates and outputs a reproduced image and stores the reproduced image in the frame memory at the same time as the predicted image generator, wherein the predicted image generator includes a significant image to be referred to in the predetermined reproduced image. Checks whether over data is present, when significant image data is not present, the image predictive coding apparatus, characterized by an image and the image data of the predetermined value and the predictive image.
【請求項18】 請求項16または17に記載の画像予
測符号化装置において、 各フレーム毎の符号化データは、符号化処理の対象とな
る対象フレームの直前のフレームに、参照されるべき有
意な画像データが存在するか否かを示すフラグを有する
ものであることを特徴とする画像予測符号化装置。
18. The image prediction encoding apparatus according to claim 16, wherein the encoded data for each frame is a significant frame to be referred to in a frame immediately before a target frame to be encoded. An image predictive encoding apparatus having a flag indicating whether image data exists.
【請求項19】 入力手段と、減算器と、圧縮符号化器
と、可変長符号化器と、伸長復号化器と、予測画像生成
器と、加算器と、フレームメモリとを具備し、 上記入力手段に、画像サイズ可変な画像データを符号化
処理の単位毎に区分して入力し、 上記減算器にて、符号化処理の対象となる対象画像と、
この対象画像に対応する予測画像との差分画像を求め、 上記圧縮符号化器にて、上記差分画像を所定の圧縮符号
化処理により圧縮データに変換し、 上記可変長符号化器にて、上記圧縮データを可変長符号
化して符号化データを出力し、 上記伸長復号化器にて、上記圧縮データを所定の伸長復
号化処理により伸長差分画像に復元し、 上記予測画像生成器にて、上記フレームメモリに格納さ
れた再生画像を参照画像として用いて予測画像を生成
し、 上記加算器にて、上記伸長差分画像と、上記予測画像と
を加算して、再生画像を生成し出力すると同時に、該再
生画像を、上記フレームメモリに格納する画像予測復号
化装置であって、 上記予測画像生成器は、上記参照画像として、最近に再
生された2つの再生画像のうちの、少なくとも参照され
るべき有意な画像データが存在するものを用いて上記予
測画像を生成することを特徴とする画像予測符号化装
置。
19. An apparatus comprising: input means, a subtractor, a compression encoder, a variable-length encoder, a decompression decoder, a predicted image generator, an adder, and a frame memory. The input means inputs image data of variable image size in units of units of the encoding process, and in the subtracter, a target image to be subjected to the encoding process;
A difference image from the predicted image corresponding to the target image is obtained, and the compression encoder converts the difference image into compressed data by a predetermined compression encoding process. The compressed data is subjected to variable-length encoding to output encoded data, and the decompressed data is restored to a decompressed difference image by a predetermined decompression decoding process in the decompression decoder. A predicted image is generated using the reproduced image stored in the frame memory as a reference image, and the adder adds the decompressed difference image and the predicted image to generate and output a reproduced image. An image prediction decoding apparatus for storing the reproduced image in the frame memory, wherein the predicted image generator includes at least a reference image of two recently reproduced images as the reference image. Image predictive coding apparatus and generates the prediction image using what Rubeki significant image data is present.
【請求項20】 請求項19に記載の画像予測符号化装
置において、 各フレーム毎の符号化データは、符号化処理の対象とな
る画像データを含む対象フレームの直前の所定の2つの
フレームに、有意な画像データが存在するか否かを示す
フラグを有するものであることを特徴とする画像予測符
号化装置。
20. The image predictive encoding apparatus according to claim 19, wherein the encoded data for each frame includes two predetermined frames immediately before a target frame including image data to be encoded. An image predictive encoding apparatus having a flag indicating whether or not significant image data exists.
【請求項21】 入力手段と、減算器と、圧縮符号化器
と、可変長符号化器と、伸長復号化器と、予測画像生成
器と、加算器と、フレームメモリとを具備し、 上記入力手段に、画像サイズ可変な画像データを符号化
処理の単位毎に区分して入力し、 上記減算器にて、符号化処理の対象となる対象画像と、
この対象画像に対応する予測画像との差分画像を求め、 上記圧縮符号化器にて、上記差分画像を所定の圧縮符号
化処理により圧縮データに変換し、 上記可変長符号化器にて、上記圧縮データを可変長符号
化して符号化データを出力し、 上記伸長復号化器にて、上記圧縮データを所定の伸長復
号化処理により伸長差分画像に復元し、 上記予測画像生成器にて、上記フレームメモリに格納さ
れた再生画像を参照画像として用いて予測画像を生成
し、 上記加算器にて、上記伸長差分画像と、上記予測画像と
を加算して、再生画像を生成し出力すると同時に、該再
生画像を、上記フレームメモリに格納する画像予測符号
化装置であって、 上記画像サイズ可変な画像データに含まれる、物体の形
状を示す形状データに基づいて、上記再生画像に、参照
されるべき有意な画像データが存在するか否かを検出す
る形状検出器を備え、 上記予測画像生成器を、形状検出器の出力に基づいて、
上記再生画像が有意な画像データを有しない場合は、有
意な画像データが存在する最近に再生された少なくとも
一つの再生画像を参照画像として用いて上記予測画像を
生成する構成としたことを特徴とする画像予測符号化装
置。
21. An apparatus comprising: input means, a subtractor, a compression encoder, a variable length encoder, a decompression decoder, a predicted image generator, an adder, and a frame memory. The input means inputs image data of variable image size in units of units of the encoding process, and in the subtracter, a target image to be subjected to the encoding process;
A difference image from the prediction image corresponding to the target image is obtained. The compression encoder converts the difference image into compressed data by a predetermined compression encoding process. The compressed data is subjected to variable-length encoding to output encoded data, and the decompressed data is restored to a decompressed difference image by a predetermined decompression decoding process in the decompression decoder. A predicted image is generated using the reproduced image stored in the frame memory as a reference image, and the adder adds the decompressed difference image and the predicted image to generate and output a reproduced image. An image predictive encoding device that stores the reproduced image in the frame memory, wherein the reproduced image is referred to based on shape data indicating the shape of an object included in the image data with variable image size. Includes a shape detector that significant image data to be to detect whether or not there, the prediction image generator, based on the output of the shape detector,
When the reproduced image does not have significant image data, the prediction image is generated using at least one recently reproduced image having significant image data as a reference image. Image predictive coding device.
【請求項22】 コンピュータに画像の予測復号化処理
を行わせるためのプログラムを格納したデータ記録媒体
であって、 上記プログラムは、請求項6,7,9のいずれかに記載
の画像予測復号化装置による画像の予測復号化処理をコ
ンピュータが行うよう構成されていることを特徴とする
データ記録媒体。
22. A data recording medium storing a program for causing a computer to perform a predictive decoding process on an image, wherein the program stores the program according to claim 6, 7, or 9. A data recording medium, wherein a computer is configured to perform a predictive decoding process of an image by an apparatus.
【請求項23】 コンピュータに画像の予測符号化処理
を行わせるためのプログラムを格納したデータ記録媒体
であって、 上記プログラムは、請求項16,17,19,21のい
ずれかに記載の画像予測符号化装置による画像の予測符
号化処理をコンピュータが行うよう構成されていること
を特徴とするデータ記録媒体。
23. A data recording medium storing a program for causing a computer to perform a predictive encoding process on an image, wherein the program is an image prediction device according to any one of claims 16, 17, 19, and 21. A data recording medium characterized in that a computer performs predictive encoding of an image by an encoding device.
【請求項24】 画像を圧縮符号化して得られる符号化
データを格納したデータ記録媒体であって、 上記符号化データは、請求項16,17,19,21の
いずれかに記載の画像予測符号化装置における画像の予
測符号化処理により得られた符号化データであることを
特徴とするデータ記録媒体。
24. A data recording medium storing encoded data obtained by compression-encoding an image, wherein the encoded data is an image prediction code according to claim 16, 17, 19, or 21. A data recording medium, which is encoded data obtained by predictive encoding of an image in an encoding device.
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
JP9-90659 1997-04-09
JP9065997 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
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
JP2001048728A Division JP3214849B2 (en) 1997-04-09 2001-02-23 Image prediction decoding method and apparatus

Publications (2)

Publication Number Publication Date
JPH10341442A true JPH10341442A (en) 1998-12-22
JP3387820B2 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1320825C (en) * 2000-07-25 2007-06-06 松下电器产业株式会社 Image decoding method, image decoding apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1320825C (en) * 2000-07-25 2007-06-06 松下电器产业株式会社 Image decoding method, image decoding apparatus

Also Published As

Publication number Publication date
JP3387820B2 (en) 2003-03-17

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
JPH06197334A (en) Picture signal coding method, picture signal decoding method, picture signal coder, picture signal decoder and picture signal recording medium
JP2003032682A (en) Method and apparatus for transcoding group of macroblock of partially coded input bitstream
CA2543947A1 (en) Method and apparatus for adaptively selecting context model for entropy coding
KR20020026198A (en) Video compression
US20070025438A1 (en) Elastic storage
KR20050112587A (en) Video encoding and decoding apparatus, and method thereof
JP2001268581A (en) Image predictive decoding method, image predictive decoder, image predictive encoding method, image predictive encoder and data storage medium
JP3128393B2 (en) Compressed video playback device
JP2614212B2 (en) Image signal encoding method and apparatus
JP3214849B2 (en) Image prediction decoding method and apparatus
JPH11346368A (en) Image processing method, image processing unit and data storage medium
JP3387820B2 (en) Image prediction decoding apparatus and image prediction decoding method
KR20040066397A (en) Image Compression System for Digital Video Surveillance and Method for controlling the Same
JP3304870B2 (en) Image encoding method and apparatus, image decoding method and apparatus
KR0130167B1 (en) Mpeg apparatus
JPH11205795A (en) Compression encoding method for video signal and its encoder
JPH09284775A (en) Method and device for coding/decoding moving video image capable of processing in unit of object
JPH08130735A (en) Picture data encoding and decoding device
JP2002058033A (en) Apparatus and method for encoding image
JPH06233271A (en) Moving picture decoding 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
JP2001268571A (en) Moving image re-encoder
JP2000333164A (en) Coder, decoder, image processing unit, image processing system, image processing method and storage medium

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