JP2812203B2 - Image playback device - Google Patents

Image playback device

Info

Publication number
JP2812203B2
JP2812203B2 JP18438394A JP18438394A JP2812203B2 JP 2812203 B2 JP2812203 B2 JP 2812203B2 JP 18438394 A JP18438394 A JP 18438394A JP 18438394 A JP18438394 A JP 18438394A JP 2812203 B2 JP2812203 B2 JP 2812203B2
Authority
JP
Japan
Prior art keywords
image
picture
frame
code
block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP18438394A
Other languages
Japanese (ja)
Other versions
JPH0851624A (en
Inventor
裕明 上田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
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
Priority to JP18438394A priority Critical patent/JP2812203B2/en
Application filed by NEC Corp filed Critical NEC Corp
Priority to DE69524896T priority patent/DE69524896T2/en
Priority to DE69536030T priority patent/DE69536030D1/en
Priority to EP95104491A priority patent/EP0674448B1/en
Priority to DE69536096T priority patent/DE69536096D1/en
Priority to EP01111142A priority patent/EP1139670B1/en
Priority to EP01111143A priority patent/EP1139671B1/en
Priority to EP01111144A priority patent/EP1139672B1/en
Priority to DE69536095T priority patent/DE69536095D1/en
Publication of JPH0851624A publication Critical patent/JPH0851624A/en
Priority to US08/921,472 priority patent/US5847767A/en
Priority to US09/130,461 priority patent/US6094456A/en
Application granted granted Critical
Publication of JP2812203B2 publication Critical patent/JP2812203B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は符号化画像伝送方式及び
画像再生装置に係り、特に直交変換として離散コサイン
変換(DCT)を用いて圧縮符号化された画像符号を伝
送する伝送方式及びその符号化画像を再生する画像再生
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a coded image transmission system and an image reproducing apparatus, and more particularly to a transmission system for transmitting an image code compressed and coded by using a discrete cosine transform (DCT) as an orthogonal transform and its code. The present invention relates to an image reproducing apparatus for reproducing a coded image.

【0002】[0002]

【従来の技術】画像信号をディジタル化してCD−RO
Mやハードディスク、磁気テープなどの記録媒体に記録
する場合、そのデータ量は膨大なものとなるため、通常
は圧縮符号化して記録される。
2. Description of the Related Art A digital image signal is converted to a CD-RO.
When recording on a recording medium such as a hard disk, a hard disk, or a magnetic tape, the data amount is enormous, and therefore, it is usually recorded by compression encoding.

【0003】この圧縮符号化方式は種々提案されている
が、画像の持つ二次元空間内の相関を効率良く利用する
直交変換を用いた変換符号化が良く用いられ、特に直交
変換としてDCTをベースとした符号化方式がカラー静
止画標準のJPEG(Joint Photograp
hic Expert Group)や蓄積メディア用
動画像符号化標準(MPEG:Moving Pict
ures Expert Group)などの国際標準
の符号化方式で採用されている。
[0003] Various compression coding methods have been proposed. Transform coding using an orthogonal transform that efficiently utilizes the correlation in a two-dimensional space of an image is often used. In particular, a DCT based orthogonal transform is used. The encoding method used was the color still image standard JPEG (Joint Photograph).
hic Expert Group) and moving picture coding standards for storage media (MPEG: Moving Pict)
(Us Expert Group).

【0004】従来のDCTをベースとした符号化方式に
よる画像符号の再生について、MPEGを例にとり説明
する。図13は従来の画像再生装置の一例のブロック図
を示す。この従来の画像再生装置は、MPEGに準拠し
た画像符号を読み込んでヘッダ解析手段131により符
号の種別などを解析する。
[0004] Reproduction of an image code by a conventional DCT-based coding method will be described using MPEG as an example. FIG. 13 is a block diagram showing an example of a conventional image reproducing apparatus. This conventional image reproducing apparatus reads an image code conforming to the MPEG and analyzes the type of the code by the header analysis means 131.

【0005】MPEGでは後に詳述するように、動画の
1シーケンスを複数のフレーム(ピクチャ)からなるグ
ループ・オブ・ピクチャ(GOP)に分割して符号化を
行う。GOPはフレーム内符号化画像であるIピクチャ
と、すでに符号化された時間的に前のフレームから予測
するフレーム間符号化画像であるPピクチャと、時間的
に前後の2フレームから予測するフレーム間符号化画像
であるBピクチャの計3種類から構成されている。
In MPEG, one sequence of a moving image is divided into a group of pictures (GOP) consisting of a plurality of frames (pictures) and encoded, as will be described in detail later. The GOP is an I-picture that is an intra-coded image, a P-picture that is an inter-coded image predicted from a temporally previous frame that has already been encoded, and an inter-frame that is predicted from two temporally preceding and succeeding frames. It is composed of a total of three types of B pictures, which are coded images.

【0006】ヘッダ解析手段131により入力画像符号
がIピクチャと解析されたときは、このIピクチャの高
能率圧縮された可変長のハフマン符号が復号化手段13
2により復号された後、逆量子化手段133により逆量
子化され、更にIDCT手段134により逆DCT(I
DCT)処理を施されてブロックの画像の値が算出され
て画像を伸長されて加算器135を介して出力されると
共に、前フレーム部136又は後フレーム部137に入
力されてそれぞれ記憶される。
When the input image code is analyzed as an I-picture by the header analyzing means 131, the variable-length Huffman code obtained by compressing the I-picture with high efficiency is decoded.
2, is inversely quantized by the inverse quantization means 133, and further inversely DCT (I
The value of the image of the block is calculated by performing DCT) processing, the image is decompressed, output via the adder 135, and input to the previous frame unit 136 or the rear frame unit 137 and stored.

【0007】ヘッダ解析手段131により入力画像符号
がPピクチャと解析されたときは、このPピクチャが復
号化手段132により復号され、逆量子化手段133に
より逆量子化され、更にIDCT手段134によるID
CT処理によりブロックの差分値が算出されて加算器1
35に供給され、ここで前予測手段138により前フレ
ーム部136に格納されていた前フレームの画像符号に
動き補償を施したブロックと加算されて元の画像に伸長
されて出力されると共に、前フレーム部136又は後フ
レーム部137に入力されてそれぞれ記憶される。
When the input image code is analyzed as a P picture by the header analyzing means 131, the P picture is decoded by the decoding means 132, inversely quantized by the inverse quantization means 133, and further transmitted by the IDCT means 134.
The difference value of the block is calculated by the CT process and the adder 1 is calculated.
35, where it is added to the image code of the previous frame stored in the previous frame unit 136 by the previous prediction unit 138 and the motion-compensated block, expanded to the original image and output. The data is input to and stored in the frame unit 136 or the rear frame unit 137.

【0008】ヘッダ解析手段131により入力画像符号
がBピクチャと解析されたときは、このBピクチャが復
号化手段132により復号され、逆量子化手段133に
より逆量子化され、更にIDCT手段134によるID
CT処理によりブロックの差分値が算出されて加算器1
35に供給され、ここで両予測手段139により前フレ
ーム部136又は後フレーム部137に格納されていた
前後フレームの画像符号に動き補償を施したブロック
と、後予測手段140により後フレーム部137に格納
されていた後フレームの画像符号に動き補償を施したブ
ロックと加算されて元の画像に伸長されて出力されると
共に、前フレーム部136又は後フレーム部137に入
力されてそれぞれ記憶される。
When the input image code is analyzed as a B picture by the header analyzing means 131, the B picture is decoded by the decoding means 132, inversely quantized by the inverse quantization means 133, and further transmitted by the IDCT means 134.
The difference value of the block is calculated by the CT process and the adder 1 is calculated.
35, where the two prediction means 139 apply motion compensation to the image codes of the preceding and succeeding frames stored in the previous frame part 136 or the subsequent frame part 137, and the rear frame part 137 The stored image code of the subsequent frame is added to the block that has been subjected to the motion compensation, expanded to the original image and output, and input to the previous frame unit 136 or the rear frame unit 137 and stored.

【0009】このように、国際標準であるMPEGに基
づいた再生装置であれば、どのような装置でもMPEG
に準拠した画像符号を再生することができる。しかし、
復号化手段132やIDCT手段134の処理において
は、使用する中央処理装置(CPU)の負担が大きいの
で、高速なCPUを使用しなければ高速再生ができな
い。
As described above, any playback device based on the international standard MPEG can be used as the MPEG playback device.
Can be reproduced. But,
In the processing of the decoding means 132 and the IDCT means 134, the load on the central processing unit (CPU) to be used is large, so that high-speed reproduction cannot be performed unless a high-speed CPU is used.

【0010】例えば、JPEGやMPEGに準拠した画
像符号再生装置で15フレーム/秒の処理を行うには、
1フレームの再生処理を約66msで行う必要がある。
もし、ハフマン符号を復号するのに30msかかり、逆
量子化するのに10msかかり、IDCT手段134に
よるIDCT処理に20msかかり、表示に20msか
かるものとすると、全体の処理時間が約80msかかる
ので、1フレームの画像を再生するのに14ms遅れて
しまう。
For example, in order to perform a processing of 15 frames / second in an image code reproducing apparatus conforming to JPEG or MPEG,
It is necessary to perform the reproduction process of one frame in about 66 ms.
If it takes 30 ms to decode the Huffman code, 10 ms to dequantize, 20 ms to the IDCT processing by the IDCT means 134, and 20 ms to display, the entire processing time is about 80 ms. It takes 14 ms to reproduce the frame image.

【0011】そこで、CPUの負担を軽くするために、
符号化方式の一部を変更してIDCT計算の代わりに近
傍画素との差分計算にしたり、量子化を省いたりするこ
となどにより、低速なCPUを用いても高速再生できる
ようにする方法が従来より種々提案されている。
Therefore, in order to reduce the load on the CPU,
Conventionally, a method that allows a high-speed reproduction even with a low-speed CPU by changing a part of the encoding method to calculate the difference between neighboring pixels instead of the IDCT calculation or by omitting quantization. More various proposals have been made.

【0012】例えば、特開平2−241270号公報記
載の再生装置では、画素ブロック間に符号化しない画素
を設けて、再生時に隣接する画素ブロックを参照してブ
ロック間の画素を補充することにより、CPUに負担を
かけずに再生できるようにしている。
For example, in the reproducing apparatus described in Japanese Patent Application Laid-Open No. 2-241270, a pixel not to be coded is provided between pixel blocks, and pixels between blocks are supplemented by referring to adjacent pixel blocks during reproduction. Reproduction can be performed without burdening the CPU.

【0013】また、特開平4−971号公報記載の再生
装置では、画素ブロックの変換係数を空間周波数に基づ
き複数の領域に帯域分割して領域別に可変長符号化し、
可変長符号化によって得られた符号データを領域別に格
納すると共に領域別に符号データ量を管理し、全符号デ
ータ量があらかじめ定めた符号データ量を越えないよう
に領域数を決定し、この決定した領域数の各領域の符号
データのみを用いて再生時に各領域の変換係数データを
可変長復号化すると共に、決定した領域数以上の高周波
領域の変換係数はゼロとして2次元逆直交変換を行うこ
とにより、処理量を削減している。
In the reproducing apparatus described in Japanese Patent Application Laid-Open No. 4-971, a transform coefficient of a pixel block is divided into a plurality of bands based on a spatial frequency and subjected to variable-length coding for each region.
The code data obtained by the variable length coding is stored for each region, and the amount of code data is managed for each region. The number of regions is determined so that the total code data amount does not exceed a predetermined code data amount. Perform variable-length decoding of the transform coefficient data of each area during reproduction using only the code data of each area of the number of areas, and perform two-dimensional inverse orthogonal transform with the transform coefficients of the high-frequency areas more than the determined number of areas being zero. As a result, the processing amount is reduced.

【0014】また、CPUの負担を少なくするために、
符号化するときに画像の劣化が目立ちにくい部分の情報
を削除する方法も考えられる。例えば、特開平3−25
6452号公報には、ディジタル画像を複数のブロック
に分割して、それぞれについてDCT処理を行って得ら
れる変換係数を量子化マトリクスの各閾値で除算して量
子化を行い、この量子化後の変換係数を、直流成分から
高周波成分に向かって一定の順序で一次元の数列に変換
し、変換して得られる数列中の連続する零の個数を符号
化するデータ圧縮方式において、DCT処理後又は量子
化後の変換係数に対し各ブロック毎に制御変数を設定
し、その制御変数によって示される対角線と平行する成
分及びそれ以上の高周波数成分を零とする一種のローパ
スフィルタ処理を行うことにより、視覚上あまり重要で
ない画像の周辺部については、制御変数の値を小さくし
て高周波成分を減少させ、圧縮後のデータ量を少なくな
るようにした、画像データ処理方式が開示されている。
In order to reduce the load on the CPU,
A method of deleting information of a portion where deterioration of an image is less noticeable when encoding is also conceivable. For example, JP-A-3-25
No. 6452 discloses that a digital image is divided into a plurality of blocks, transform coefficients obtained by performing DCT processing on each of the blocks are divided by respective threshold values of a quantization matrix, and quantization is performed. In a data compression method in which the coefficients are converted into a one-dimensional sequence from the DC component to the high-frequency component in a fixed order and the number of consecutive zeros in the sequence obtained by the conversion is encoded, the DCT process or the quantum By setting a control variable for each block for the transformed conversion coefficient, and performing a kind of low-pass filter processing that makes components parallel to the diagonal line indicated by the control variable and higher high-frequency components to zero, For the peripheral part of the image that is not so important, the value of the control variable is reduced to reduce high frequency components, so that the amount of data after compression is reduced. Over data processing method is disclosed.

【0015】また、特開平4−357788号公報に
は、動画像のフレームを所定の数のブロックに分割し
て、各ブロックを低周波成分と他の成分に分けて階層符
号化を行い、かつ、フレーム間予測又は動き補償を用い
て符号化を行う動画像符号化装置において、送信対象と
しての画像ブロックを、前フレームの階層化された符号
の低周波成分に当たる階層のみから復号した画像と比較
しフレーム間予測又は動き補償を行い、動き補償の結果
動きベクトルがゼロであり、送信ブロックを前フレーム
の階層化された符号を用いて復号した画像の当該ブロッ
クと比較して得られた誤差が予め定めた閾値以下である
ときに、送信ブロックの送信を行わないことにより、符
号の冗長性を排除した、すなわち、符号量を削減した装
置が開示されている。
Japanese Patent Application Laid-Open No. 4-357788 discloses that a frame of a moving image is divided into a predetermined number of blocks, each block is divided into low-frequency components and other components, and hierarchical coding is performed. In a moving image encoding apparatus that performs encoding using inter-frame prediction or motion compensation, an image block to be transmitted is compared with an image decoded from only a layer corresponding to a low-frequency component of a layered code of a previous frame. The inter-frame prediction or the motion compensation is performed, and the motion vector is zero as a result of the motion compensation, and the error obtained by comparing the transmission block with the block of the image decoded using the layered code of the previous frame is obtained. There is disclosed an apparatus in which the transmission block is not transmitted when the threshold is equal to or less than a predetermined threshold, thereby eliminating code redundancy, that is, reducing the code amount.

【0016】更に、特開平4−299688号公報に
は、1フレーム前の再生画像と予測値との差分を符号化
した符号化信号を可変長符号化すると共に、動き検出部
において1フレーム前の再生画像と原画像とのマッチン
グを行って検出した動きベクトルを動き補償符号化テー
ブルを用いて可変長符号化する動画像の高能率符号化方
式において、複数個の動き補償符号化テーブルのうち動
きベクトルの発生頻度の性質に応じて動き補償符号化テ
ーブルを選択することにより、動きベクトルのミスマッ
チを少なくして効率的な符号化を行うようにした符号化
方式が開示されている。
Japanese Patent Application Laid-Open No. 4-299688 discloses that a coded signal obtained by coding a difference between a reproduced image one frame before and a predicted value is variable-length coded, and the motion detection unit performs In a high-efficiency video coding method in which a motion vector detected by performing matching between a reproduced image and an original image is subjected to variable-length coding using a motion compensation coding table, a motion vector among a plurality of motion compensation coding tables is used. An encoding method has been disclosed in which a motion compensation encoding table is selected in accordance with the nature of the frequency of occurrence of a vector, thereby reducing the mismatch of a motion vector and performing efficient encoding.

【0017】[0017]

【発明が解決しようとする課題】しかるに、上記の従来
の画像再生装置・符号化方式のいずれも符号化方式の一
部を変更する画像圧縮を行うようにしているため、国際
標準の符号化方式と互換性がとれなくなるために、専用
の画像再生装置が必要となるという問題がある。
However, since all of the above-mentioned conventional image reproducing apparatuses and encoding systems perform image compression for changing a part of the encoding system, an international standard encoding system is used. However, there is a problem that a dedicated image reproducing device is required because the compatibility with the image cannot be obtained.

【0018】また、画像圧縮符号量を削減する従来の画
像圧縮ではブロック毎に最適な圧縮方法を判断する必要
があるため、圧縮符号を作成するのに時間がかかる。ま
た、画像再生装置の処理能力に応じた符号量ではないた
め、処理速度の遅い再生装置ではリアルタイムの再生が
できない。更に、圧縮符号量が決まっているので高速な
再生装置でも決められた画質の符号しか再生できないと
いう問題がある。
In the conventional image compression for reducing the amount of image compression codes, it is necessary to determine an optimal compression method for each block, so that it takes time to generate compression codes. Further, since the code amount does not correspond to the processing capacity of the image reproducing apparatus, real-time reproduction cannot be performed by a reproducing apparatus having a low processing speed. Furthermore, since the compression code amount is fixed, there is a problem that even a high-speed reproduction device can reproduce only a code having a predetermined image quality.

【0019】そこで、本発明は再生装置の能力に応じて
画質をできるだけ損なわずに、簡単な構成によりDCT
をベースとした符号を高速に再生できるようにした符号
化画像伝送方式及び画像再生装置を提供することを目的
とする。
Therefore, the present invention provides a DCT with a simple configuration without impairing the image quality as much as possible in accordance with the capability of the reproducing apparatus.
It is an object of the present invention to provide a coded image transmission system and an image reproducing apparatus capable of reproducing a code based on the coded image at a high speed.

【0020】[0020]

【課題を解決するための手段】上記の目的を達成するた
め、請求項1記載の本発明の符号化画像伝送方式は、画
像を複数のブロックに分割して各ブロック毎に離散コサ
イン変換を用いて圧縮符号化されたフレーム内符号化画
像と、各ブロック毎に現フレームとそれよりも時間的に
前又は前後の両方のフレームで最も差分が小さくなるよ
うなブロックを検索して動き補償を行い、現フレームの
ブロックと動き補償されたブロックとの差分値に対して
離散コサイン変換を用いて圧縮符号化されたフレーム間
符号化画像とを全符号化画像シーケンスの先頭に設けら
れるシーケンスヘッダと共に多重して伝送する符号化画
像伝送方式において、少なくともフレーム内符号化画像
と共に伝送するフレーム間符号化画像の種別と動き補償
の値の一方のパラメータを固定して、固定パラメータを
識別させる識別子を有する前記シーケンスヘッダと共に
伝送し、再生側ではヘッダ中の識別子を検出することに
より、入力画像符号の固定パラメータを識別して伸長処
理を行う構成としたものである。
In order to achieve the above object, according to the first aspect of the present invention, there is provided an encoded image transmission system which divides an image into a plurality of blocks and uses a discrete cosine transform for each block. Intra-frame coded image compressed and coded, and for each block, search for a block in which the difference is the smallest in the current frame and both before and after the current frame, and perform motion compensation. The inter-frame coded image obtained by compression-coding the difference value between the current frame block and the motion-compensated block by using the discrete cosine transform is provided at the beginning of the entire coded image sequence.
In a coded image transmission method of multiplexing and transmitting together with a sequence header to be transmitted, at least one of a type of an inter-frame coded image and a value of motion compensation to be transmitted together with an intra-frame coded image is fixed to identify a fixed parameter. This is transmitted together with the sequence header having an identifier to be made, and the reproducing side detects the identifier in the header to identify the fixed parameter of the input image code and perform the decompression process.

【0021】 また、請求項2記載の本発明の画像再生
装置では、画像を複数のブロックに分割して各ブロック
毎に離散コサイン変換を用いて圧縮符号化されたフレー
ム内符号化画像と、各ブロック毎に現フレームとそれよ
りも時間的に前のフレームで最も差分が小さくなるよう
なブロックを検索して動き補償を行い、現フレームのブ
ロックと動き補償されたブロックとの差分値に対して離
散コサイン変換を用いて圧縮符号化されたフレーム間符
号化画像とが、固定パラメータ識別子を全符号化画像シ
ーケンスの先頭に設けられるシーケンスヘッダ内のユー
ザデータ領域内に有する前記シーケンスヘッダと共に多
重された画像符号を伸長再生する画像再生装置であっ
て、入力画像符号中のシーケンスヘッダに基づいて、入
力画像符号が前記フレーム内符号化画像とフレーム間符
号化画像のみからなる、フレーム間符号化画像の種別が
固定された符号であるかどうか判定するヘッダ解析手段
と、ヘッダ解析手段により入力画像符号がフレーム間符
号化画像の種別が固定された符号であると判定されたと
きは、入力画像符号がフレーム内符号化画像かどうか検
出し、フレーム内符号化画像と検出されたときはフレー
ム内符号化画像の伸長処理を行い、フレーム内符号化画
像でないと検出されたときはフレーム間符号化画像の伸
長処理を行う伸長処理手段とを有する構成としたもので
ある。
According to the image reproducing apparatus of the present invention, an intra-frame coded image obtained by dividing an image into a plurality of blocks and compression-encoding each block using a discrete cosine transform, A motion compensation is performed by searching for a block having the smallest difference between the current frame and a frame temporally earlier than the current frame for each block, and performing motion compensation on the difference between the current frame block and the motion compensated block. The inter-frame coded image compressed and coded using the discrete cosine transform uses a fixed parameter identifier for all coded image sequences.
User in the sequence header provided at the beginning of the sequence.
An image reproducing apparatus for decompressing and reproducing an image code multiplexed with the sequence header included in the data area, wherein the input image code and the inter-frame code are based on a sequence header in the input image code. And a header analysis unit that determines whether the type of the inter-frame coded image is a code having a fixed type. The input image code is a code in which the type of the inter-frame coded image is fixed by the header analysis unit. When it is determined that there is an input image code, it is detected whether or not the input image code is an intra-frame encoded image. When the input image code is detected as an intra-frame encoded image, expansion processing of the intra-frame encoded image is performed. And a decompression processing means for decompressing the inter-frame coded image when it is detected.

【0022】また、請求項3記載の画像再生装置では、
請求項2記載の入力画像符号は前記フレーム内符号化画
像と次のフレーム内符号化画像との伝送間隔が一定であ
り、その伝送間隔内に前記フレーム間符号化画像が伝送
される構成としたものである。
In the image reproducing apparatus according to the third aspect,
The input image code according to claim 2, wherein a transmission interval between the intra-frame encoded image and the next intra-frame encoded image is constant, and the inter-frame encoded image is transmitted within the transmission interval. Things.

【0023】 また、請求項4記載の画像再生装置で
は、入力画像符号中の全符号化画像シーケンスの先頭に
設けられるシーケンスヘッダに基づいて、入力画像符号
が動き補償が固定されたフレーム間符号化画像を有する
符号であるかどうか判定するヘッダ解析手段と、ヘッダ
解析手段により入力画像符号が動き補償が固定された符
号であると判定されたときは、動き補償処理を省略して
入力画像符号の伸長処理を行う伸長処理手段とを有する
構成としたものである。
Further, in the image reproducing apparatus according to the fourth aspect , at the beginning of the entire coded image sequence in the input image code ,
Based on the provided sequence header , a header analysis unit that determines whether the input image code is a code having an inter-frame coded image with fixed motion compensation, and the input image code is fixed with motion compensation by the header analysis unit. When it is determined that the input image code is a decoded code, the image processing apparatus includes a decompression processing unit that performs an input image code decompression process by omitting the motion compensation process.

【0024】更に、請求項5記載の画像再生装置では、
入力画像符号を伸長再生する伸長処理手段と、伸長処理
手段により伸長されたフレーム間符号化画像の差分値の
フレーム毎の合計の累積値を算出する差分値合計算出手
段と、累積値としきい値とを大小比較し、累積値がしき
い値を越えるまでは伸長処理手段の出力画像データの表
示部での表示の更新を停止する制御手段とを有する構成
としたものである。
Further, in the image reproducing apparatus according to the fifth aspect,
Decompression processing means for decompressing and reproducing an input image code; difference value total calculation means for calculating a cumulative value for each frame of a difference value of the inter-frame coded image decompressed by the decompression processing means; And control means for stopping the updating of the display of the output image data of the decompression processing means on the display unit until the cumulative value exceeds the threshold value.

【0025】[0025]

【作用】本発明の符号化画像伝送方式では、フレーム間
符号化画像の種別と動き補償の値の一方又は両方のパラ
メータを固定して、固定パラメータを識別させる識別子
ユーザデータ領域内に有するシーケンスヘッダと共に
伝送し、再生側では全符号化画像シーケンスの先頭に設
けられる前記シーケンスヘッダ中の識別子を検出するこ
とにより、入力画像符号の固定パラメータを識別して伸
長処理を行うようにしたため、入力画像符号中のフレー
ム間符号化画像の種類を特定できることから、入力され
ない不要なフレーム間符号化画像のための処理や、ある
いは動き補償処理を不要にできる。
According to the coded image transmission method of the present invention, one or both parameters of the type of the inter-frame coded image and the value of the motion compensation are fixed , and a sequence having an identifier for identifying the fixed parameter in the user data area. The header is transmitted together with the header , and set on the playback side at the beginning of the entire encoded image sequence.
Since the decompression process is performed by detecting the fixed parameter of the input image code by detecting the identifier in the sequence header to be input, the type of the inter-frame coded image in the input image code can be specified. Processing for unnecessary inter-coded images that are not performed or motion compensation processing can be eliminated.

【0026】また、請求項2記載の画像再生装置では、
フレーム内符号化画像と共に入力されるフレーム間符号
化画像の種類が前方向のフレーム間符号化画像だけであ
るため、フレーム内符号化画像でなければ前方向のフレ
ーム間符号化画像であり、よってフレーム間符号化画像
の種別の判断処理や前後双方向のフレーム間符号化画像
の伸長処理を不要にできる。
Further, in the image reproducing apparatus according to the second aspect,
Since the type of the inter-frame coded image input together with the intra-frame coded image is only the forward inter-frame coded image, if the type is not the intra-frame coded image, it is a forward inter-frame coded image. The process of determining the type of the inter-frame coded image and the process of decompressing the inter-frame coded image in both the forward and backward directions can be eliminated.

【0027】また、請求項3記載の画像再生装置では、
フレーム内符号化画像の伝送間隔が一定であるため、符
号化画像の種別をヘッダに基づかなくともフレーム間隔
で判別できる。
Further, in the image reproducing apparatus according to the third aspect,
Since the transmission interval of the intra-frame coded image is constant, the type of the coded image can be determined based on the frame interval without using the header.

【0028】また、請求項4記載の画像再生装置では、
入力画像符号が動き補償が固定されたフレーム間符号化
画像を有する符号であるかどうかを判定し、動き補償が
固定されたフレーム間符号化画像を有する符号であると
きには、動き補償処理を省略して入力画像符号の伸長処
理を行うため、動き補償のための処理時間を不要にでき
る。
Further, in the image reproducing apparatus according to the fourth aspect,
It is determined whether or not the input image code is a code having an inter-frame coded image with fixed motion compensation.If the input image code is a code with an inter-frame coded image with fixed motion compensation, the motion compensation process is omitted. Since the input image code is decompressed in this way, processing time for motion compensation can be eliminated.

【0029】更に、請求項5記載の画像再生装置では、
伸長処理手段により伸長されたフレーム間符号化画像の
差分値のフレーム毎の合計の累積値としきい値とを大小
比較し、累積値がしきい値を越えるまでは伸長処理手段
の出力画像データの表示部での表示の更新を停止するよ
うにしたため、累積値がしきい値を越えるまではそのま
ま前フレームの画像を表示することとなり、そのときの
フレーム間符号化画像の表示のための時間を省略するこ
とができる。
Further, in the image reproducing apparatus according to the fifth aspect,
The threshold value is compared with the accumulated value of the sum of the difference values of the inter-frame coded images decompressed by the decompression processing means for each frame, and the output image data of the decompression processing means is output until the accumulated value exceeds the threshold value. Since the updating of the display on the display unit is stopped, the image of the previous frame is displayed as it is until the accumulated value exceeds the threshold, and the time for displaying the inter-frame coded image at that time is reduced. Can be omitted.

【0030】[0030]

【実施例】次に、本発明の実施例について説明する。図
1は本発明になる画像再生装置の一実施例のブロック図
を示す。本実施例の画像再生装置は、入力画像符号を解
析するヘッダ解析手段11と、入力画像符号を復号する
復号化手段12と、復号画像データの逆量子化を行う逆
量子化手段13と、逆量子化された画像データの逆DC
T処理を行うIDCT手段14と、加算器15と、加算
器15の出力に対して1フレーム時間的に前の画像デー
タが格納されている前フレーム部16と、加算器15の
出力に対して1フレーム時間的に後の画像データが格納
されている後フレーム部17と、前フレーム部16の出
力に基づき予測処理を行う前予測手段18と、前フレー
ム部16又は後フレーム部17の両出力に基づき予測処
理を行う両予測手段19と、後フレーム部17の出力に
基づき予測処理を行う後予測手段20と、前予測手段2
1及び加算器22とから構成されている。
Next, an embodiment of the present invention will be described. FIG. 1 is a block diagram showing an embodiment of an image reproducing apparatus according to the present invention. The image reproducing apparatus according to the present embodiment includes a header analysis unit 11 for analyzing an input image code, a decoding unit 12 for decoding the input image code, an inverse quantization unit 13 for performing inverse quantization of the decoded image data, Inverse DC of quantized image data
IDCT means 14 for performing T processing, an adder 15, a previous frame section 16 in which image data one frame time before the output of the adder 15 is stored, and an output of the adder 15 A rear frame unit 17 in which image data one frame later in time is stored, a pre-prediction unit 18 for performing prediction processing based on an output of the previous frame unit 16, and both outputs of the front frame unit 16 or the rear frame unit 17 Prediction means 19 for performing a prediction process based on the data, rear prediction means 20 for performing a prediction process based on the output of the rear frame unit 17, and pre-prediction means 2
1 and an adder 22.

【0031】図1に示す本実施例の再生装置ではMPE
Gに準拠した入力画像の再生を行う。そこで、まずMP
EGの符号フォーマットの階層構造について図2と共に
説明する。MPEGでは一番上の階層が動画のシーケン
ス(ビデオ・シーケンス)であり、図2(A)に示す如
く複数のグループ・オブ・ピクチャ(GOP)から構成
される。一つのGOPは図2(B)に示すように複数の
フレーム(ピクチャ)からなる。GOPはフレーム内符
号化画像であるIピクチャと、すでに符号化された時間
的に前のフレームから予測するフレーム間符号化画像で
あるPピクチャと、時間的に前後の2フレームから予測
するフレーム間符号化画像であるBピクチャの計3種類
から構成されている。
In the reproducing apparatus of this embodiment shown in FIG.
The input image is reproduced according to G. So first, MP
The hierarchical structure of the EG code format will be described with reference to FIG. In MPEG, the top layer is a moving image sequence (video sequence), and is composed of a plurality of group of pictures (GOP) as shown in FIG. One GOP is composed of a plurality of frames (pictures) as shown in FIG. The GOP is an I-picture that is an intra-coded image, a P-picture that is an inter-coded image predicted from a temporally previous frame that has already been encoded, and an inter-frame that is predicted from two temporally preceding and succeeding frames. It is composed of a total of three types of B pictures, which are coded images.

【0032】各ピクチャは、図2(C)に示すように任
意の領域に分割された複数のスライスから構成される。
スライスは図2(D)に示すように左から右へ、又は上
から下への順序で並んだ複数のマクロブロックから構成
される。また、一つのマクロブロックは、図2(E)に
示すように、隣接する4つの輝度成分ブロックY1〜Y
4と、それに位置的に対応する領域の1個の色差成分ブ
ロックCb及び1個の色差成分ブロックCrの計6個の
ブロックから構成される。
Each picture is composed of a plurality of slices divided into arbitrary regions as shown in FIG.
The slice is composed of a plurality of macroblocks arranged in order from left to right or from top to bottom as shown in FIG. As shown in FIG. 2E, one macro block includes four adjacent luminance component blocks Y1 to Y.
4 and one chrominance component block Cb and one chrominance component block Cr in a region corresponding to the position.

【0033】更に、それらの各ブロックは図2(F)に
示すように、8×8画素からなる。このブロックが符号
化の最小単位で、DCTの処理単位である。なお、動き
予測補償の最小単位はマクロブロックである。
Further, each of these blocks is composed of 8 × 8 pixels as shown in FIG. This block is the minimum unit of coding, and is the processing unit of DCT. Note that the minimum unit of motion prediction compensation is a macroblock.

【0034】次に、MPEGに準拠した入力画像符号の
フォーマットについて図3と共に説明する。入力画像は
各階層毎にシーケンスヘッダSeq、GOP毎に付加さ
れるGOPヘッダGop、各ピクチャを識別させるため
のピクチャヘッダPicture、各スライスを識別さ
せるためのスライスヘッダSlice、各マクロブロッ
クを識別させるためのマクロヘッダMacro、ブロッ
クの符号Blockとから構成される。
Next, the format of an input image code conforming to MPEG will be described with reference to FIG. The input image has a sequence header Seq for each layer, a GOP header Gop added for each GOP, a picture header for identifying each picture, a slice header for identifying each slice, and a slice header for identifying each macroblock. , A macro header Macro and a block code Block.

【0035】ここで、入力画像符号の先頭、すなわち、
1フレーム目の先頭のみに配置されるシーケンスヘッダ
Seqは、図3に示すように、シーケンスヘッダのスタ
ートコードSeqStart、横方向の伸長後の画素数
(水平サイズ)を示すHorizon、縦方向の伸長後
の画素数(垂直サイズ)を示すVertical、ユー
ザデータの存在を示すコードUsrStart及びユー
ザデータUserDataとから構成される。
Here, the head of the input image code, that is,
As shown in FIG. 3, the sequence header Seq arranged only at the beginning of the first frame includes a start code SeqStart of the sequence header, a horizontal number indicating the number of pixels (horizontal size) after expansion in the horizontal direction, and a horizon after expansion in the vertical direction. Indicating the number of pixels (vertical size), a code UsrStart indicating the presence of user data, and user data UserData.

【0036】すなわち、MPEGではシーケンスヘッダ
Seq内にユーザが自由に定義できるユーザデータの領
域UserDataがあるため、本実施例ではここに図
3に示す如く、固定パラメータで圧縮した符号であるこ
とを示す例えば6バイトの識別子”Custom”と、
例えば2バイトの固定パラメータフラグ”cflg”と
を配置する点に一つの特徴がある。
That is, in the MPEG, since the user data area UserData that can be freely defined by the user is included in the sequence header Seq, this embodiment shows that the code is a code compressed with fixed parameters as shown in FIG. For example, a 6-byte identifier "Custom"
For example, there is one feature in that a 2-byte fixed parameter flag “cflg” is arranged.

【0037】上記の固定パラメータフラグcflgは、
その2バイトの最下位ビット(B0)が”1”のとき、
画像符号がIピクチャとPピクチャに限定されているこ
とを示し、また、2バイトの最下位から2ビット目(B
1)が”1”であるとき、画像符号が動き補償の値が固
定されているものであることを示す。
The above fixed parameter flag cflg is
When the least significant bit (B0) of the two bytes is "1",
Indicates that the image code is limited to I-pictures and P-pictures, and indicates the second least significant bit (B
When 1) is "1", it indicates that the image code has a fixed motion compensation value.

【0038】再び図1に戻って説明する。本実施例は高
速再生と通常の再生とを行い得る構成である。通常再生
時には、本実施例装置はフレーム内符号化画像であるI
ピクチャと、すでに符号化された時間的に前のフレーム
から予測するフレーム間符号化画像であるPピクチャ
と、時間的に前後の2フレームから予測するフレーム間
符号化画像であるBピクチャの計3種類の符号化画像
(画像符号)を伸長再生する。
Returning to FIG. 1, the description will be continued. The present embodiment has a configuration capable of performing high-speed reproduction and normal reproduction. At the time of normal reproduction, the apparatus according to the present embodiment uses the intra-frame coded image I
A picture, a P picture that is an inter-frame coded image predicted from a temporally previous frame that has already been coded, and a B picture that is an inter-frame coded image predicted from two temporally preceding and succeeding frames. The type of encoded image (image code) is expanded and reproduced.

【0039】なお、ヘッダ解析手段11は入力画像符号
のピクチャ種別を判断すると、図1では図示を省略した
が、加算器15での加算動作を制御する制御信号も出力
し、前予測手段18、両予測手段19、後予測手段20
の出力差分値とIDCT手段14の出力との加算動作を
選択制御するようになされている。なお、この加算器1
5における加算動作の選択制御は、IDCT手段14か
ら制御信号を別途出力することで行うようにしてもよ
い。
When the header analysis means 11 determines the picture type of the input image code, it also outputs a control signal for controlling the addition operation in the adder 15 (not shown in FIG. 1), Both prediction means 19, post prediction means 20
And the output operation of the IDCT means 14 is selectively controlled. This adder 1
The selection control of the addition operation in 5 may be performed by separately outputting a control signal from the IDCT means 14.

【0040】入力画像符号がIピクチャの場合は、この
Iピクチャを復号化手段12により復号し、逆量子化手
段13により逆量子化された後、IDCT手段14によ
り逆DCT(IDCT)処理を施されてブロックの画像
の値が算出されて画像を伸長され、更に加算器15を介
してそのまま出力されると共に、前フレーム部16又は
後フレーム部17に入力されてそれぞれ記憶される。
When the input image code is an I picture, the I picture is decoded by the decoding means 12 and inversely quantized by the inverse quantization means 13, and then subjected to inverse DCT (IDCT) processing by the IDCT means 14. Then, the value of the image of the block is calculated, the image is decompressed, and further output as it is via the adder 15, and is input to the front frame unit 16 or the rear frame unit 17 and stored.

【0041】ヘッダ解析手段11により入力画像符号が
Pピクチャと解析されたときは、このPピクチャが復号
化手段12により復号され、逆量子化手段13により逆
量子化され、IDCT手段14によるIDCT処理によ
りブロックの差分値が算出されて加算器15に供給さ
れ、ここで前予測手段18により前フレーム部16に格
納されていた前フレームの画像符号に動き補償を施した
ブロックと加算されて元の画像に伸長されて出力される
と共に、前フレーム部16又は後フレーム部17に入力
されてそれぞれ記憶される。
When the input image code is analyzed as a P picture by the header analysis means 11, the P picture is decoded by the decoding means 12, dequantized by the dequantization means 13, and subjected to IDCT processing by the IDCT means 14. , The difference value of the block is calculated and supplied to the adder 15, where the difference value is added to the image code of the previous frame stored in the previous frame unit 16 by the previous prediction unit 18 with the motion-compensated block, and the original value is added. The image is output after being decompressed into an image, and input to and stored in the front frame unit 16 or the rear frame unit 17.

【0042】ヘッダ解析手段11により入力画像符号が
Bピクチャと解析されたときは、このBピクチャが復号
化手段12により復号され、逆量子化手段13により逆
量子化され、更にIDCT手段14によるIDCT処理
によりブロックの差分値が算出されて加算器15に供給
され、ここで両予測手段19により前フレーム部16又
は後フレーム部17に格納されていた前後フレームの画
像符号に動き補償を施したブロック又は前予測手段18
により前フレーム部16に格納された前フレームの画像
符号に動き補償を施したブロックと、後予測手段20に
より後フレーム部17に格納されていた後フレームの画
像符号に動き補償を施したブロックと加算されて元の画
像に伸長されて出力されると共に、前フレーム部16又
は後フレーム部17に入力されてそれぞれ記憶される。
When the input image code is analyzed as a B picture by the header analysis means 11, the B picture is decoded by the decoding means 12, dequantized by the dequantization means 13, and further IDCT by the IDCT means 14. The difference value of the block is calculated by the processing and supplied to the adder 15, where the prediction unit 19 applies the motion compensation to the image codes of the previous and next frames stored in the previous frame unit 16 or the rear frame unit 17. Or pre-prediction means 18
A block obtained by performing motion compensation on the image code of the previous frame stored in the previous frame unit 16 and a block obtained by performing motion compensation on the image code of the subsequent frame stored in the rear frame unit 17 by the rear prediction unit 20 The image is added and decompressed to the original image and output, and is also input to the front frame unit 16 or the rear frame unit 17 and stored.

【0043】以上の通常再生の動作は従来と同様である
が、本実施例は次に説明する高速再生の動作に従来と異
なる特徴がある。この高速再生は、入力画像符号を読み
込んでヘッダ解析を行うヘッダ解析手段11が、前記し
たシーケンスヘッダSeq内のユーザデータUserD
ataに識別子Customがあるかどうか検出し、識
別子Customがあるときに高速再生を行う。
The normal reproduction operation described above is the same as the conventional operation, but this embodiment has a different feature from the conventional one in the high-speed reproduction operation described below. In this high-speed reproduction, the header analysis means 11 which reads the input image code and analyzes the header is composed of the user data UserD in the sequence header Seq.
It is detected whether or not “ata” has the identifier “Custom”, and high-speed reproduction is performed when the identifier “Custom” exists.

【0044】高速再生の場合は、IピクチャとPピクチ
ャ、動き補償の値を固定と見なして処理する。Iピクチ
ャの場合は復号化手段12で復号し、逆量子化手段13
で逆量子化し、IDCT手段14でIDCT処理により
ブロックの画素の値を算出して、画像を伸長する。
In the case of high-speed reproduction, processing is performed by assuming that I and P pictures and the value of motion compensation are fixed. In the case of an I picture, the decoding means 12 decodes the picture,
, And the IDCT means 14 calculates the pixel values of the block by IDCT processing to expand the image.

【0045】また、Pピクチャの場合は、復号化手段1
2で復号して、逆量子化手段13で逆量子化し、IDC
T手段14でIDCT処理によりブロックの差分値を算
出し、この差分値と前予測手段18により前フレーム部
16に格納されていた前フレームの画像符号に動き補償
を施したブロックとをそれぞれ加算器15で加算するこ
とにより、画像を伸長再生する。
In the case of a P picture, the decoding means 1
2 and inversely quantized by the inverse quantization means 13,
The T means 14 calculates a difference value of the block by the IDCT process, and adds the difference value and the block which has been subjected to the motion compensation to the image code of the previous frame stored in the previous frame unit 16 by the previous prediction means 18, respectively. By adding at 15, the image is expanded and reproduced.

【0046】次に、上記の高速再生時の動作について更
に詳細に説明する。まず、ピクチャ構成を固定した場合
の処理について説明する。前述したように、MPEGで
規定されているピクチャにはIピクチャ、Pピクチャ及
びBピクチャの3種類がある。入力画像符号の再生に際
しては、Iピクチャはフレーム内符号化画像なので前後
のフレームの画像を参照する必要はない。これに対し、
Pピクチャは前ピクチャの画像を参照して前予測を行う
必要があり、Bピクチャは前フレームの画像や後フレー
ムの画像を参照して後予測や両予測を行う必要がある。
よって、Bピクチャの符号はIピクチャやPピクチャの
符号と比べて処理時間がかかる。
Next, the operation at the time of the high-speed reproduction will be described in more detail. First, a process when the picture configuration is fixed will be described. As described above, there are three types of pictures defined by MPEG: I pictures, P pictures, and B pictures. When reproducing the input image code, it is not necessary to refer to the images of the preceding and succeeding frames because the I picture is an intra-frame coded image. In contrast,
The P picture needs to perform pre-prediction with reference to the picture of the previous picture, and the B picture needs to perform post-prediction or both predictions with reference to the picture of the previous frame or the picture of the subsequent frame.
Therefore, the processing time of the code of the B picture is longer than that of the code of the I picture or the P picture.

【0047】従って、入力画像符号が例えば図4(A)
に示すように1フレーム目から4フレーム目までIピク
チャ、Bピクチャ、Bピクチャ及びPピクチャの順で構
成されている場合、1フレーム目はIピクチャであるた
め、参照フレームはない。2フレーム目と3フレーム目
はそれぞれBピクチャであるため、前フレームである1
フレーム目のIピクチャの画像と後フレームである4フ
レーム目のPピクチャの画像とを41〜44で模式的に
示す如くに参照して後予測や両予測を行う。更に、4フ
レーム目はPピクチャであり、前フレームである1フレ
ーム目のIピクチャの画像を参照して前予測を行う。従
って、この場合はBピクチャの処理に時間がかかるた
め、高速再生には適さない。
Therefore, if the input image code is, for example, as shown in FIG.
As shown in (1), when the first to fourth frames are composed of an I picture, a B picture, a B picture, and a P picture in that order, the first frame is an I picture, and there is no reference frame. Since the second frame and the third frame are B pictures, respectively,
Post-prediction or both predictions are performed by referring to the I-picture image of the frame and the P-picture image of the fourth frame as the succeeding frame as schematically indicated by 41 to 44. Further, the fourth frame is a P picture, and the previous prediction is performed with reference to the image of the I picture of the first frame which is the previous frame. Therefore, in this case, it takes a long time to process the B picture, which is not suitable for high-speed reproduction.

【0048】一方、入力画像符号がIピクチャとPピク
チャのみに固定され、例えば図4(B)に示すように1
フレーム目がIピクチャで2フレーム目から4フレーム
目までがPピクチャで構成されている場合、1フレーム
目はIピクチャであり、参照フレームはない。2フレー
ム目から4フレーム目はそれぞれPピクチャであるた
め、図4(B)に46、47及び48で模式的に示すよ
うに、1フレーム前のIピクチャ又はPピクチャの画像
を参照して前予測のみを行う。従って、この場合はBピ
クチャの処理が不要であるため、高速再生に適してい
る。
On the other hand, the input image code is fixed to only the I picture and the P picture. For example, as shown in FIG.
When the frame is an I picture and the second to fourth frames are P pictures, the first frame is an I picture and has no reference frame. Since the second to fourth frames are P-pictures, respectively, as shown schematically in FIG. Make predictions only. Therefore, in this case, since the processing of the B picture is unnecessary, it is suitable for high-speed reproduction.

【0049】図4(A)、(B)の構成の画像符号が入
力された場合の図1の実施例の再生時の動作について、
図5(A)、(B)のフローチャートと共に説明する。
まず、図4(A)に示すピクチャ構成の画像符号が入力
された場合、図5(A)に示すフローチャートに従って
動作が行われる。
The operation at the time of reproduction of the embodiment of FIG. 1 when an image code having the structure shown in FIGS.
This will be described with reference to the flowcharts of FIGS.
First, when an image code having the picture configuration shown in FIG. 4A is input, the operation is performed according to the flowchart shown in FIG.

【0050】すなわち、図1のヘッダ解析手段11は入
力画像符号中のピクチャヘッダ(図3の”Pictur
e”)からピクチャの種別を読み込み(ステップ5
1)、それがIピクチャかどうか判断し(ステップ5
2)、Iピクチャの場合は図1の符号化手段12、逆量
子化手段13及びIDCT手段14により前述したIピ
クチャの処理を行い伸長再生する(ステップ53)。
That is, the header analysis means 11 shown in FIG. 1 uses the picture header (“Pictur
e "), the picture type is read (step 5).
1), determine whether it is an I picture (step 5)
2) In the case of an I picture, the above-described processing of the I picture is performed by the encoding means 12, inverse quantization means 13 and IDCT means 14 in FIG.

【0051】ヘッダ解析手段11はステップ52でIピ
クチャでないと判断すると、Pピクチャかどうか判断し
(ステップ54)、Pピクチャの場合はPピクチャの処
理を行い(ステップ55)、Pピクチャでもないときは
Bピクチャであると判断してBピクチャの処理を行う
(ステップ56)。上記のPピクチャの処理は図1の符
号化手段12、逆量子化手段13、IDCT手段14、
加算器15、前フレーム部16、後フレーム部17、前
予測手段18により前述したように行われ、Bピクチャ
の処理は更に、両予測手段19や後予測手段20も含め
て行われる。
If the header analyzing means 11 determines in step 52 that the picture is not an I picture, it determines whether or not the picture is a P picture (step 54). If the picture is a P picture, it processes the P picture (step 55). Is determined to be a B picture, and the B picture is processed (step 56). The processing of the P picture is performed by the encoding means 12, the inverse quantization means 13, the IDCT means 14,
The adder 15, the previous frame unit 16, the rear frame unit 17, and the previous prediction unit 18 perform the processing as described above, and the processing of the B picture is further performed including both the prediction unit 19 and the rear prediction unit 20.

【0052】一方、図4(B)に示したようにIピクチ
ャとPピクチャのみに固定された画像符号が入力された
場合は、図5(B)のフローチャートに従った動作が行
われる。同図中、図5(A)と同一処理ステップには同
一符号が付してある。すなわち、まず、図1のヘッダ解
析手段11は入力画像符号中のシーケンスヘッダ(図3
の”Seq”)から固定パラメータの識別子”Cust
om”が存在することを検出すると共に、ピクチャヘッ
ダ(図3の”Picture”)からピクチャの種別を
読み込み(ステップ57)、それがIピクチャかどうか
判断し(ステップ52)、Iピクチャの場合は図1の符
号化手段12、逆量子化手段13及びIDCT手段14
により前述したIピクチャの処理を行い伸長再生する
(ステップ53)。
On the other hand, when an image code fixed to only the I picture and the P picture is input as shown in FIG. 4B, the operation according to the flowchart of FIG. 5B is performed. In the figure, the same reference numerals are given to the same processing steps as those in FIG. That is, first, the header analysis means 11 of FIG.
"Seq") to the fixed parameter identifier "Cust"
om "is detected, the type of picture is read from the picture header (" Picture "in FIG. 3) (step 57), and it is determined whether or not it is an I picture (step 52). Encoding means 12, inverse quantization means 13 and IDCT means 14 of FIG.
To perform the above-described I-picture processing and perform extended reproduction (step 53).

【0053】ヘッダ解析手段11はステップ52でIピ
クチャでないと判断すると、入力画像符号が固定パラメ
ータの画像符号であることからピクチャはPピクチャで
あると判断してステップ55と同様にしてPピクチャの
処理を行う(ステップ58)。
When the header analyzing means 11 determines in step 52 that the picture is not an I picture, the picture is a P picture since the input image code is a fixed parameter picture code, and the P picture is Processing is performed (step 58).

【0054】このように、本実施例によれば、ピクチャ
構成をIピクチャとPピクチャに固定することにより、
Bピクチャであるかどうかを判断する処理を省略できる
と共に、Bピクチャの処理の後予測や両予測も省略でき
るため、高速再生ができる。また、この場合、符号化フ
ォーマット自体はMPEGと同一であるため、MPEG
との互換性がとれる。
As described above, according to the present embodiment, by fixing the picture structure to the I picture and the P picture,
The process of determining whether a picture is a B picture can be omitted, and post-prediction or both predictions of the B picture can be omitted, so that high-speed reproduction can be performed. In this case, since the encoding format itself is the same as MPEG,
Compatible with.

【0055】以上は伝送するピクチャの種別をIピクチ
ャとPピクチャに固定した場合の動作であるが、Iピク
チャの伝送間隔を固定とし、この伝送間隔内でPピクチ
ャを伝送するようにしてもよい。この場合の本実施例の
動作について図6のフローチャートと共に説明する。
The above is the operation when the type of the picture to be transmitted is fixed to the I picture and the P picture. However, the transmission interval of the I picture may be fixed and the P picture may be transmitted within the transmission interval. . The operation of this embodiment in this case will be described with reference to the flowchart of FIG.

【0056】ヘッダ解析手段11はシーケンスヘッダ検
出時に初期値が0の変数iに”1”を加算し(ステップ
61)、続いてその変数iがキーフレームレートよりも
大であるか否か判定する(ステップ62)。このキーフ
レームレートは、Iピクチャの固定伝送間隔を示すフレ
ーム数である。
The header analysis means 11 adds "1" to a variable i having an initial value of 0 when detecting a sequence header (step 61), and subsequently determines whether or not the variable i is larger than a key frame rate. (Step 62). The key frame rate is the number of frames indicating a fixed transmission interval of the I picture.

【0057】ステップ62でiがキーフレームレートよ
りも小さいと判断されたときには前記の復号化手段1
2、逆量子化手段13及びIDCT手段14により得ら
れた差分値に、前予測手段18により前フレーム部16
に格納されていた前フレームの画像符号に動き補償を施
したブロックを加算器15で加算することにより、画像
を伸長再生するPピクチャの処理をする(ステップ6
5)。
If it is determined in step 62 that i is smaller than the key frame rate, the decoding means 1
2. The difference value obtained by the inverse quantization means 13 and the IDCT means 14 is added to the previous frame 16
Is processed by adding a block obtained by performing motion compensation to the image code of the previous frame stored in the P-picture to expand and reproduce the image (step 6).
5).

【0058】ここで、Pピクチャは前のピクチャの画像
を参照する必要があるのに対し、Iピクチャは前のピク
チャの画像を参照する必要がないため、最初の1フレー
ム目は必ずIピクチャであり、またIピクチャの間隔
(キーフレームレート)は固定であるため、フレーム入
力毎に図6のフローチャートが起動されることにより、
ステップ62で比較される変数iの値はIピクチャから
現在のフレームまでのフレーム数を表わす。
Here, since the P picture needs to refer to the picture of the previous picture, the I picture does not need to refer to the picture of the previous picture, the first frame is always the I picture. Since the I-picture interval (key frame rate) is fixed, the flowchart of FIG.
The value of the variable i compared in step 62 represents the number of frames from the I picture to the current frame.

【0059】従って、ステップ62で変数iの値がキー
フレームレートより大となったと判定されると、その時
点の入力画像符号がIピクチャであることがわかり、よ
って復号化手段12、逆量子化手段13及びIDCT手
段14によるIピクチャ処理が行われる(ステップ6
3)。このIピクチャの処理終了後、上記の変数が0に
リセットされ、次の処理に備える(ステップ64)。
Therefore, if it is determined in step 62 that the value of the variable i has become larger than the key frame rate, it is known that the input image code at that time is an I picture, and the decoding means 12 and the inverse quantization The I picture processing is performed by the means 13 and the IDCT means 14 (step 6).
3). After the processing of the I picture is completed, the above variables are reset to 0 to prepare for the next processing (step 64).

【0060】このように、図6の処理の場合も、上記の
図5(B)と同様に、Bピクチャであるかどうかを判断
する処理を省略できると共に、Bピクチャの処理の後予
測や両予測も省略できるため、高速再生ができる。ま
た、この場合、変数iを使用してピクチャ種別を判断し
ているため、ピクチャヘッダを読み込まずにピクチャ種
別を判断できる。
As described above, in the case of the processing of FIG. 6 as well, the processing of determining whether or not the picture is a B picture can be omitted, as in the case of FIG. Since the prediction can be omitted, high-speed reproduction can be performed. In this case, since the picture type is determined using the variable i, the picture type can be determined without reading the picture header.

【0061】次に、動き補償を固定した場合の処理につ
いて説明する。MPEGではPピクチャやBピクチャの
符号に動き補償があり、参照するブロックの位置を移動
することができる。すなわち、MPEGでは画像を小ブ
ロックに分割して、各ブロック毎に現フレームとその1
フレーム前、又は前後の2フレームで最も差分が小さく
なるようなブロックを検索して動き補償を行い、現フレ
ームのブロックと動き補償されたブロックとで差分をと
り、その差分ブロックにDCTを行い、その変換結果を
量子化して、高能率符号化されたフレーム間符号である
PピクチャあるいはBピクチャを得る。
Next, the processing when the motion compensation is fixed will be described. In MPEG, P-pictures and B-pictures have motion compensation, and the position of a block to be referenced can be moved. That is, in MPEG, an image is divided into small blocks, and the current frame and its 1
A motion compensation is performed by searching for a block having the smallest difference between two frames before or before and after the frame, and taking a difference between the block of the current frame and the motion-compensated block, performing DCT on the difference block, The result of the conversion is quantized to obtain a P-picture or a B-picture, which is a highly efficient inter-frame code.

【0062】図7(A)は動き補償を固定していない場
合を示し、図7(B)は動き補償を(0,0)に固定し
た(動き補償無し)場合を示している。
FIG. 7A shows a case where the motion compensation is not fixed, and FIG. 7B shows a case where the motion compensation is fixed at (0, 0) (no motion compensation).

【0063】図7(A)に示す例では、前フレームのブ
ロックPから(dx,dy)の動き補償されたブロック
P′を参照して、差分ブロックDと加算して現フレーム
のブロックQに格納している。一方、図7(B)は前フ
レームのブロックPを参照し、これと差分ブロックDと
を加算して、現フレームのブロックQに格納しているこ
とを示す。
In the example shown in FIG. 7A, the block P of the previous frame is referred to the motion-compensated block P 'of (dx, dy), added to the difference block D, and added to the block Q of the current frame. Stored. On the other hand, FIG. 7B shows that the block P of the previous frame is referenced, the difference block D is added to the block P, and the block P is stored in the block Q of the current frame.

【0064】上記の図7(A)に示す動き補償がある場
合の図1の実施例の動作について図8のフローチャート
と共に説明する。動き補償のあるPピクチャ処理におい
ては、まず変数y及びxをそれぞれ初期値の0に設定し
(ステップ70、71)、続いてブロックの動き補償の
符号を前予測手段18により伸長して(ステップ7
2)、動き補償の値を変数dx,dyに格納する(ステ
ップ73)。
The operation of the embodiment of FIG. 1 in the case where the motion compensation shown in FIG. 7A is performed will be described with reference to the flowchart of FIG. In the P picture processing with motion compensation, first, the variables y and x are respectively set to initial values 0 (steps 70 and 71), and then the sign of the motion compensation of the block is expanded by the pre-prediction means 18 (step 70). 7
2) The motion compensation value is stored in variables dx and dy (step 73).

【0065】次に、前予測手段18によりブロックの差
分値の符号を伸長し(ステップ74)、伸長した動き補
償から参照するブロックの位置を以下に示す式で算出す
る(ステップ75)。
Next, the sign of the difference value of the block is expanded by the pre-prediction means 18 (step 74), and the position of the block referred to from the expanded motion compensation is calculated by the following equation (step 75).

【0066】 x′=x + dx (1) y′=y + dy (2) 次に、前予測手段18は前フレーム部16から上記のス
テップ75で算出した位置のブロックを取り出し(ステ
ップ76)、取り出したそのブロックに差分値を加算し
た後(ステップ77)、現フレームのバッファにブロッ
クを書き込む(ステップ78)。続いて、変数xに”
8”を加算し(ステップ79)、加算後の変数xが前記
シーケンスヘッダSeq中から解析した水平サイズ(図
3のHorizon)より大であるか否か判定する(ス
テップ80)。
X ′ = x + dx (1) y ′ = y + dy (2) Next, the pre-prediction unit 18 extracts the block at the position calculated in step 75 from the previous frame unit 16 (step 76). After adding the difference value to the extracted block (step 77), the block is written to the buffer of the current frame (step 78). Then, the variable x
8 ”is added (step 79), and it is determined whether or not the variable x after the addition is larger than the horizontal size (Horizon in FIG. 3) analyzed from the sequence header Seq (step 80).

【0067】x≦(水平サイズ)のときにはステップ7
2の処理に戻り、x>(水平サイズ)のときにはステッ
プ81に進んで変数yに”8”を加算する。続いて、加
算後の変数yが前記シーケンスヘッダSeq中から解析
した垂直サイズ(図3のVertical)より大であ
るか否か判定する(ステップ82)。y≦(垂直サイ
ズ)のときにはステップ71の処理に戻る。
Step 7 when x ≦ (horizontal size)
Returning to the process of 2, when x> (horizontal size), the routine proceeds to step 81, where "8" is added to the variable y. Subsequently, it is determined whether or not the variable y after the addition is larger than the vertical size (Vertical in FIG. 3) analyzed from the sequence header Seq (step 82). If y ≦ (vertical size), the process returns to step 71.

【0068】y>(垂直サイズ)のときには現フレーム
の画像データを加算器15より図示しない表示部へ出力
して表示した後(ステップ83)、加算器15からの現
フレームの画像データを前フレーム部16に格納する
(ステップ84)。
When y> (vertical size), the image data of the current frame is output from the adder 15 to a display unit (not shown) and displayed (step 83), and the image data of the current frame from the adder 15 is converted to the previous frame. It is stored in the section 16 (step 84).

【0069】次に、図7(B)に示す動き補償が無い場
合の図1の実施例の動作について図9のフローチャート
と共に説明する。同図中、図8と同一処理ステップには
同一符号を付してある。ヘッダ解析手段11がシーケン
スヘッダSeq中の前記フラグcflgの値に基づき動
き補償無しと検出した場合、図9のフローチャートの処
理が実行される。
Next, the operation of the embodiment of FIG. 1 when there is no motion compensation shown in FIG. 7B will be described with reference to the flowchart of FIG. In the figure, the same reference numerals are given to the same processing steps as those in FIG. When the header analysis unit 11 detects that there is no motion compensation based on the value of the flag cflg in the sequence header Seq, the processing of the flowchart in FIG. 9 is executed.

【0070】動き補償の無いPピクチャ処理において
は、まず変数y及びxをそれぞれ初期値の0に設定し
(ステップ70、71)、続いてブロックの動き補償の
符号を読み飛ばし(ステップ91)、ブロックの差分値
の符号を前予測手段21により伸長する(ステップ9
2)。
In the P picture processing without motion compensation, first, the variables y and x are respectively set to initial values of 0 (steps 70 and 71), and the code of the motion compensation of the block is skipped (step 91). The sign of the difference value of the block is expanded by the pre-prediction means 21 (step 9).
2).

【0071】次に、前予測手段21は前フレーム部16
から変数x及びyで表わされる(x,y)の位置のブロ
ックを取り出し(ステップ93)、取り出したブロック
に上記伸長した差分値を加算し(ステップ77)、現フ
レームのバッファにブロックを書き込む(ステップ7
8)。以下、動き補償がある場合の処理と同様に、変数
xに”8”を加算し(ステップ79)、加算後の変数x
が水平サイズより大であるか否か判定する(ステップ8
0)。
Next, the previous prediction means 21
, A block at a position (x, y) represented by variables x and y is extracted (step 93), the expanded difference value is added to the extracted block (step 77), and the block is written to the buffer of the current frame (step 93). Step 7
8). Thereafter, similarly to the processing when there is motion compensation, “8” is added to the variable x (step 79), and the variable x after the addition is added.
Is larger than the horizontal size (step 8).
0).

【0072】x≦(水平サイズ)のときにはステップ9
1の処理に戻り、x>(水平サイズ)のときにはステッ
プ81に進んで変数yに”8”を加算する。続いて、加
算後の変数yが垂直サイズより大であるか否か判定する
(ステップ82)。y≦(垂直サイズ)のときにはステ
ップ71の処理に戻る。
When x ≦ (horizontal size), step 9
Returning to the processing of 1, when x> (horizontal size), the routine proceeds to step 81, where "8" is added to the variable y. Subsequently, it is determined whether or not the variable y after the addition is larger than the vertical size (step 82). If y ≦ (vertical size), the process returns to step 71.

【0073】y>(垂直サイズ)のときには現フレーム
の画像データを加算器15より図示しない表示部へ出力
して表示した後(ステップ83)、加算器15からの現
フレームの画像データを前フレーム部16に格納する
(ステップ84)。
If y> (vertical size), the image data of the current frame is output from the adder 15 to a display unit (not shown) and displayed (step 83), and the image data of the current frame from the adder 15 is converted to the previous frame. It is stored in the section 16 (step 84).

【0074】なお、図7(B)と図9では、動き補償を
(0,0)にしているが、(2,2)や(−1,0)、
(0,5)などの固定の値でも、前フレームの参照ブロ
ックの位置は(x+2,y+2)や(x−1,y)や
(x,y+5)となり、各参照ブロックは隣接するの
で、各ブロック毎に参照する位置を算出する必要はな
い。
In FIG. 7B and FIG. 9, the motion compensation is (0, 0), but (2, 2), (-1, 0),
Even with a fixed value such as (0, 5), the position of the reference block in the previous frame is (x + 2, y + 2), (x-1, y), or (x, y + 5), and each reference block is adjacent. It is not necessary to calculate the reference position for each block.

【0075】このように、動き補償を固定することによ
り、各ブロック毎に動き補償の符号を伸長して参照する
ブロックの位置を算出する処理を省略できるので、高速
再生ができる。
As described above, by fixing the motion compensation, it is possible to omit the process of decompressing the motion compensation code for each block and calculating the position of the block to be referred to, thereby enabling high-speed reproduction.

【0076】次に、表示の更新・非更新の処理について
説明する。MPEGでは、フレーム内符号化画像である
Iピクチャとフレーム間符号化画像であるPピクチャと
で符号を構成することができる。差分値が小さいときに
はPピクチャの画像を表示しなくとも、見た目には大き
く変化しないので、その時のPピクチャの画像の表示時
間を省いて高速化することができる。
Next, the process of updating / not updating the display will be described. In MPEG, a code can be composed of an I picture that is an intra-coded image and a P picture that is an inter-coded image. When the difference value is small, even if the P picture image is not displayed, the appearance does not greatly change, so that the display time of the P picture image at that time can be omitted and the speed can be increased.

【0077】差分値が小さいかどうかの判断は、再生装
置の処理速度によって定めた値(しきい値)と比較する
ことで行う。高速処理可能な再生装置では、しきい値を
小さくして表示の更新回数を増やして、処理速度が低速
な再生装置ではしきい値を大きくして表示の更新回数を
減らすことで、処理速度を調整することができる。
Whether the difference value is small or not is determined by comparing the difference value with a value (threshold value) determined by the processing speed of the reproducing apparatus. A playback device capable of high-speed processing reduces the threshold value to increase the number of display updates, and a playback device with a low processing speed increases the threshold value to reduce the number of display updates, thereby reducing the processing speed. Can be adjusted.

【0078】図10(A)はすべてのPピクチャの表示
を更新する場合の処理説明図、同図(B)は所定条件を
満足するまでPピクチャの表示を非更新とする場合の処
理説明図である。同図(A)及び(B)中、「符号」は
再生装置の入力画像符号であり、I、PはそれぞれIピ
クチャ、Pピクチャであることを示し、数字はフレーム
の順番を示す。また、「表示」は表示部により表示され
るピクチャを示す。また、「表示」の下に示す「差分値
の合計」は、1フレーム毎の差分値の合計を示す。
FIG. 10A is a diagram for explaining the processing when updating the display of all P pictures, and FIG. 10B is a diagram for explaining the processing when the display of P pictures is not updated until a predetermined condition is satisfied. It is. In FIGS. 11A and 11B, “code” is an input image code of the playback device, I and P indicate I and P pictures, respectively, and numbers indicate the order of frames. “Display” indicates a picture displayed by the display unit. The “sum of difference values” below “display” indicates the sum of difference values for each frame.

【0079】図10(A)に示す例では、表示される符
号が入力画像符号と一致しており、すべての入力画像符
号が差分値の合計に無関係に表示される。これに対し、
図10(B)は「表示」の欄に示す破線の矩形は表示の
更新が行われていないことを示している。この表示の非
更新は、1フレーム毎の差分値の合計の累積値が所定の
しきい値(ここでは、”54”とする)を越えるまで前
フレームの表示のままとすることで実現する。
In the example shown in FIG. 10A, the displayed code matches the input image code, and all the input image codes are displayed regardless of the sum of the difference values. In contrast,
In FIG. 10B, the broken-line rectangle shown in the column of “display” indicates that the display has not been updated. This non-update of the display is realized by keeping the display of the previous frame until the cumulative value of the sum of the difference values for each frame exceeds a predetermined threshold value (here, “54”).

【0080】すなわち、図10(B)の例では、2フレ
ーム目はPピクチャでその差分値の合計はしきい値”5
4”より小さな”28”であるので、Pピクチャの表示
は行わず1フレーム前のIピクチャの表示を行う。次の
3フレーム目もPピクチャで、その差分値の合計の累積
値は”49”(=28+21)であるので、Pピクチャ
の表示は行わず、引き続き1フレーム目のIピクチャを
表示する。
That is, in the example of FIG. 10B, the second frame is a P picture, and the sum of the difference values is the threshold “5”.
Since "28" is smaller than 4 ", the P picture is not displayed and the I picture one frame before is displayed. The next third frame is also a P picture, and the accumulated value of the difference values is" 49 ". (= 28 + 21), the P picture is not displayed, and the I picture of the first frame is continuously displayed.

【0081】次の4フレーム目もPピクチャで、その差
分値の合計は”15”であり、差分値の合計の累積値
は”64”(=28+21+15)で、しきい値”5
4”より大であるので、この4フレーム目のPピクチャ
P4の画像表示を行う(表示を更新する)。なお、この
表示の更新により、上記の差分値の合計の累積値は0に
リセットされる。
The next fourth frame is also a P picture, and the sum of the difference values is “15”, the cumulative sum of the difference values is “64” (= 28 + 21 + 15), and the threshold value is “5”.
Since the value is larger than 4 ", the image display of the P picture P4 of the fourth frame is performed (display is updated). By updating this display, the cumulative value of the sum of the difference values is reset to 0. You.

【0082】次の5フレーム目もPピクチャで、その差
分値の合計及びその累積値はしきい値”54”より小さ
な”43”であるので、この5フレーム目のPピクチャ
P5の表示は行わず1フレーム前のPピクチャP4の表
示を行う。次の6フレーム目のPピクチャP6は上記の
説明からわかるように、差分値の合計の累積値がしきい
値”54”を越えるので表示を行う(表示を更新す
る)。
Since the next fifth frame is also a P picture, and the sum of the difference values and the accumulated value are "43" smaller than the threshold value "54", the display of the P picture P5 of the fifth frame is performed. First, the P picture P4 one frame before is displayed. As can be seen from the above description, the P-picture P6 of the next sixth frame is displayed (updated) because the cumulative sum of the difference values exceeds the threshold value "54".

【0083】本実施例では、このように、Pピクチャの
差分値の合計の累積値がしきい値を越えるまで表示の更
新をせず、表示は前フレームの表示のままにしているた
め、2フレーム目と3フレーム目と5フレーム目では表
示の更新は行わず、3フレーム分の表示処理回数を削減
することができ、よって高速な処理ができる。
In this embodiment, as described above, the display is not updated until the cumulative value of the difference values of the P-pictures exceeds the threshold value, and the display remains the display of the previous frame. The display is not updated in the third frame, the third frame, and the fifth frame, and the number of display processes for three frames can be reduced, so that high-speed processing can be performed.

【0084】次に、図10(A)に示したすべてのPピ
クチャの表示を更新する場合の図1の実施例の動作につ
いて、図11のフローチャートと共に説明する。図1の
ヘッダ解析手段11は入力画像符号のピクチャヘッダ
(図3の”Picture”)からピクチャの種別を読
み込み(ステップ111)、それがIピクチャかどうか
判断する(ステップ112)。
Next, the operation of the embodiment of FIG. 1 when updating the display of all the P pictures shown in FIG. 10A will be described with reference to the flowchart of FIG. The header analysis means 11 shown in FIG. 1 reads the picture type from the picture header of the input image code ("Picture" in FIG. 3) (step 111) and determines whether or not it is an I picture (step 112).

【0085】Iピクチャの場合は図1の符号化手段1
2、逆量子化手段13及びIDCT手段14により前述
したIピクチャの処理を行い伸長再生し(ステップ11
3)、それを加算器15を介して図示しない表示部に供
給して表示する(ステップ114)。また、加算器15
から伸長後のIピクチャの画像データを前フレーム部1
6に格納する(ステップ115)。
In the case of an I picture, the encoding means 1 shown in FIG.
2. The above-mentioned I-picture processing is performed by the inverse quantization means 13 and the IDCT means 14 for decompression reproduction (step 11).
3) Then, it is supplied to a display unit (not shown) via the adder 15 and displayed (step 114). The adder 15
The image data of the I picture expanded from
6 (step 115).

【0086】一方、ヘッダ解析手段11はステップ11
2でIピクチャでないと判断すると、Pピクチャと判断
して前記の復号化手段12、逆量子化手段13及びID
CT手段14により差分値を伸長し(ステップ11
6)、前予測手段18により前フレーム部16に格納さ
れていた前フレームの画像符号に動き補償を施したブロ
ックを加算器15で加算する(ステップ117)。
On the other hand, the header analysis means 11
2, if it is determined that the picture is not an I picture, it is determined that the picture is a P picture, and the decoding means 12, the inverse quantization means 13 and the ID
The difference value is expanded by the CT means 14 (step 11).
6) The adder 15 adds the motion-compensated block to the image code of the previous frame stored in the previous frame unit 16 by the previous prediction means 18 (step 117).

【0087】これにより、Pピクチャの画像が伸長再生
され、これを表示部に供給して表示すると共に(ステッ
プ118)、加算器15から取り出された伸長後の画像
データを前フレーム部16に格納する(ステップ11
9)。
As a result, the picture of the P picture is expanded and reproduced, supplied to the display unit for display (step 118), and the expanded image data extracted from the adder 15 is stored in the previous frame unit 16. (Step 11
9).

【0088】次に、図10(B)に示した所定条件を満
足するまでPピクチャの表示更新を行わない場合の図1
の実施例の動作について図12のフローチャートと共に
説明する。図12中、図11の処理ステップと同一構成
部分には同一符号を付し、その説明を省略する。
Next, FIG. 1 shows a case in which the display update of the P picture is not performed until the predetermined condition shown in FIG. 10B is satisfied.
The operation of this embodiment will be described with reference to the flowchart of FIG. 12, the same components as those of the processing steps in FIG. 11 are denoted by the same reference numerals, and description thereof will be omitted.

【0089】図12において、図1のヘッダ解析手段1
1が入力画像符号のピクチャヘッダ(図3の”Pict
ure”)からピクチャの種別を読み込み(ステップ1
11)、それがIピクチャと検出した時の動作は図11
と同一であり(ステップ112〜115)、Iピクチャ
は常に更新表示される。
In FIG. 12, the header analysis means 1 shown in FIG.
1 is a picture header of the input image code ("Pict" in FIG. 3).
ure ”), the type of picture is read (step 1
11), the operation when it is detected as an I picture is shown in FIG.
(Steps 112 to 115), and the I picture is always updated and displayed.

【0090】一方、図12において、ヘッダ解析手段1
1がステップ112でIピクチャでないと判断すると、
Pピクチャと判断して前記の復号化手段12、逆量子化
手段13及びIDCT手段14及び加算器15によりP
ピクチャの画像が伸長再生される(ステップ116、1
17)。
On the other hand, in FIG.
If it is determined at step 112 that the 1 is not an I picture,
Judging that the picture is a P picture, the decoding means 12, inverse quantization means 13, IDCT means 14 and adder 15
The picture image is expanded and reproduced (steps 116, 1
17).

【0091】次に、図1の前予測手段21は初期値が0
である変数mに、IDCT手段14からのこのPピクチ
ャの差分値の合計を内部の加算器で加算し(ステップ1
21)、変数mの値、すなわち差分値の合計の累積値が
所定のしきい値より大きいかどうか判定する(ステップ
122)。
Next, the pre-prediction means 21 in FIG.
Is added to the variable m which is the sum of the difference values of the P pictures from the IDCT means 14 by an internal adder (step 1).
21) It is determined whether or not the value of the variable m, that is, the cumulative value of the sum of the difference values is larger than a predetermined threshold value (step 122).

【0092】変数mがしきい値以下であるときは、加算
器22より出力される伸長後のPピクチャの画像を前フ
レーム部16に入力する(ステップ125)。従って、
この場合は、図1には図示しない表示部内の表示メモリ
が加算器22の出力画像データにより書き換えられない
ため、表示部は表示メモリに格納されている前フレーム
の画像データが引き続き表示されることとなる。
If the variable m is equal to or smaller than the threshold value, the expanded P-picture image output from the adder 22 is input to the previous frame section 16 (step 125). Therefore,
In this case, since the display memory in the display unit not shown in FIG. 1 is not rewritten by the output image data of the adder 22, the display unit continuously displays the image data of the previous frame stored in the display memory. Becomes

【0093】一方、図1の前予測手段21がステップ1
22で変数mがしきい値よりも大であると判定したとき
は、前予測手段21により前フレーム部16に格納され
ていた前フレームの画像符号に動き補償を施したブロッ
クを加算器22へ出力し、ここでIDCT手段14から
の伸長された差分値と加算することによりPピクチャの
伸長画像データを得、これを表示部の表示メモリに供給
して表示メモリの内容を更新して画像表示を更新する
(ステップ123)。
On the other hand, the pre-prediction means 21 in FIG.
When it is determined in step 22 that the variable m is larger than the threshold value, the block obtained by performing motion compensation on the image code of the previous frame stored in the previous frame unit 16 by the previous prediction unit 21 is sent to the adder 22. The P-picture is output and added to the decompressed difference value from the IDCT means 14 to obtain P-picture decompressed image data, which is supplied to the display memory of the display unit to update the contents of the display memory and display the image. Is updated (step 123).

【0094】続いて、前予測手段21は変数mを0にリ
セットする(ステップ124)。次に、加算器22から
取り出されたPピクチャの伸長画像データが前フレーム
部16に格納される(ステップ125)。このように、
本実施例によれば、フレーム間の差分値の合計の累積値
がしきい値を越えるまで表示の更新は行わないようにし
たため、画像を表示する処理回数を減らすことができる
ため、高速な処理ができ、高速再生に適している。
Subsequently, the pre-prediction means 21 resets the variable m to 0 (Step 124). Next, the decompressed image data of the P picture extracted from the adder 22 is stored in the previous frame unit 16 (step 125). in this way,
According to the present embodiment, the display is not updated until the cumulative value of the sum of the difference values between the frames exceeds the threshold value. Therefore, the number of times of displaying an image can be reduced. It is suitable for high-speed playback.

【0095】なお、以上の説明において、Iピクチャと
Pピクチャのみを伝送する、フレーム間符号化画像はP
ピクチャに固定した処理、動き補償固定処理、及び表示
更新・非更新処理は単独で実施してもよく、またそれら
のうちの二つ又はすべてを組合せるようにしてもよい。
In the above description, only the I picture and the P picture are transmitted.
The process fixed to the picture, the motion compensation fixed process, and the display update / non-update process may be performed independently, or two or all of them may be combined.

【0096】また、上記の実施例ではMPEGを例にと
って説明したが、本発明はこれに限定されるものではな
く、JPEGその他のDCTをベースとした符号化方式
で符号化された入力画像符号の再生に適用できるもので
ある。
Although the above embodiment has been described using MPEG as an example, the present invention is not limited to this, and the present invention is not limited to JPEG or other DCT-based coding schemes. It can be applied to reproduction.

【0097】[0097]

【発明の効果】以上説明したように、本発明の符号化画
像伝送方式によれば、入力画像符号の固定パラメータを
識別して伸長処理を行うことにより、入力画像符号中の
フレーム間符号化画像の種類を特定できることから、入
力されない不要なフレーム間符号化画像のための処理
や、あるいは動き補償処理を不要にできるため、伸長処
理を高速化でき、よって高速再生ができる。また、入力
画像符号自体は国際標準である符号化方式のそれと同一
であるため、国際標準の画像再生装置を使用でき、専用
の画像再生装置を不要にできる。
As described above, according to the coded image transmission system of the present invention, the decompression process is performed by identifying the fixed parameters of the input image code, so that the inter-frame coded image in the input image code is processed. Since it is possible to specify the type, the processing for unnecessary inter-frame coded images that are not input or the motion compensation processing can be omitted, so that the decompression processing can be speeded up, and thus high-speed reproduction can be performed. Further, since the input image code itself is the same as that of the encoding system which is an international standard, an international standard image reproducing device can be used, and a dedicated image reproducing device can be eliminated.

【0098】また、請求項2記載の画像再生装置によれ
ば、フレーム間符号化画像の種別の判断処理や前後双方
向のフレーム間符号化画像の伸長処理を不要にできるた
め、伸長処理を高速化でき、高速再生ができる。
Further, according to the image reproducing apparatus of the present invention, the process of determining the type of the inter-frame coded image and the process of decompressing the bidirectional inter-frame coded image in both the forward and backward directions can be omitted. And high-speed playback.

【0099】また、請求項3記載の画像再生装置によれ
ば、フレーム内符号化画像の伝送間隔が一定であり、符
号化画像の種別をヘッダに基づかなくともフレーム間隔
で判別できるため、伸長処理時間を短縮できる。
According to the third aspect of the present invention, the transmission interval of the intra-frame coded image is constant, and the type of the coded image can be determined based on the frame interval without using the header. You can save time.

【0100】また、請求項4記載の画像再生装置によれ
ば、動き補償処理を省略して入力画像符号の伸長処理を
行うことにより、動き補償のための処理時間を不要にで
きるため、伸長処理を高速化でき、高速再生ができる。
According to the image reproducing apparatus of the fourth aspect, the processing time for motion compensation can be made unnecessary by performing the expansion processing of the input image code by omitting the motion compensation processing. Speed and high-speed playback.

【0101】更に、請求項5記載の画像再生装置によれ
ば、累積値がしきい値を越えるまではそのまま前フレー
ムの画像を表示し、そのときのフレーム間符号化画像の
表示のための時間を省略するようにしたため、伸長処理
を高速化でき、高速再生ができる。
Furthermore, according to the image reproducing apparatus of the present invention, the image of the previous frame is displayed as it is until the accumulated value exceeds the threshold value, and the time for displaying the inter-frame coded image at that time is displayed. Is omitted, the decompression process can be performed at high speed, and high-speed reproduction can be performed.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

【図2】MPEGの符号フォーマットの階層構造を説明
する図である。
FIG. 2 is a diagram illustrating a hierarchical structure of an MPEG code format.

【図3】MPEGに準拠した符号フォーマットの構成図
である。
FIG. 3 is a configuration diagram of a code format conforming to MPEG.

【図4】ピクチャ固定処理の説明図である。FIG. 4 is an explanatory diagram of a picture fixing process.

【図5】ピクチャ構成に基づく図1の動作説明用フロー
チャートである。
FIG. 5 is a flowchart for explaining the operation of FIG. 1 based on a picture configuration.

【図6】ピクチャ間隔固定時の図1の動作説明用フロー
チャートである。
FIG. 6 is a flowchart for explaining the operation of FIG. 1 when the picture interval is fixed.

【図7】動き補償固定処理の説明図である。FIG. 7 is an explanatory diagram of a motion compensation fixing process.

【図8】動き補償がある場合の図1の動作説明用フロー
チャートである。
FIG. 8 is a flowchart for explaining the operation of FIG. 1 when there is motion compensation;

【図9】動き補償が無い場合の図1の動作説明用フロー
チャートである。
FIG. 9 is a flowchart illustrating the operation of FIG. 1 when there is no motion compensation.

【図10】表示の更新・非更新の処理説明図である。FIG. 10 is an explanatory diagram of display update / non-update processing.

【図11】本発明の一実施例の表示の更新の動作説明用
フローチャートである。
FIG. 11 is a flowchart illustrating an operation of updating a display according to an embodiment of the present invention.

【図12】本発明の一実施例の表示の更新・非更新時の
動作説明用フローチャートである。
FIG. 12 is a flowchart for explaining an operation at the time of updating / non-updating a display according to an embodiment of the present invention.

【図13】従来装置の一例のブロック図である。FIG. 13 is a block diagram of an example of a conventional device.

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

11 ヘッダ解析手段 12 復号化手段 13 逆量子化手段 14 IDCT手段 15、22 加算器 16 前フレーム部 17 後フレーム部 18、21 前予測手段 19 両予測手段 20 後予測手段 DESCRIPTION OF SYMBOLS 11 Header analysis means 12 Decoding means 13 Dequantization means 14 IDCT means 15, 22 Adder 16 Previous frame part 17 Rear frame part 18, 21 Pre-prediction means 19 Both prediction means 20 Post-prediction means

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】画像を複数のブロックに分割して各ブロッ
ク毎に離散コサイン変換を用いて圧縮符号化されたフレ
ーム内符号化画像と、上記の各ブロック毎に現フレーム
とそれよりも時間的に前又は前後の両方のフレームで最
も差分が小さくなるようなブロックを検索して動き補償
を行い、現フレームのブロックと動き補償されたブロッ
クとの差分値に対して離散コサイン変換を用いて圧縮符
号化されたフレーム間符号化画像とをヘッダと共に多重
された画像符号を伸長再生して表示部に表示する画像再
生装置において、 入力画像符号を伸長再生する伸長処理手段と、 該伸長処理手段により伸長された前記フレーム間符号化
画像の差分値のフレーム毎の合計の累積値を算出する差
分値合計算出手段と、 該累積値としきい値とを大小比較し、該累積値が該しき
い値を越えるまでは前記伸長処理手段の出力画像データ
の前記表示部での表示の更新を停止する制御手段と を有
することを特徴とする画像再生装置。
An image is divided into a plurality of blocks and each block is divided into blocks.
Frames compressed and encoded using the discrete cosine transform
Intra-frame coded image and current frame for each block
And both the previous and next frames in time.
For motion compensation by searching for blocks with small differences
The current frame block and the motion-compensated block
Compression code using the discrete cosine transform
Multiplexes the encoded inter-coded image with the header
Replays the expanded image code and displays it on the display unit.
A decompression processing means for decompressing and reproducing an input image code in the raw device, and the inter-frame encoding decompressed by the decompression processing means.
Difference for calculating the cumulative value of the sum of image difference values for each frame
The sum total calculating means compares the cumulative value with the threshold value , and determines whether the cumulative value is equal to the threshold.
Output image data of the decompression processing means until the
Yes and a control means for stopping the display of the update on the display unit
An image reproducing apparatus, comprising:
JP18438394A 1994-03-25 1994-08-05 Image playback device Expired - Fee Related JP2812203B2 (en)

Priority Applications (11)

Application Number Priority Date Filing Date Title
JP18438394A JP2812203B2 (en) 1994-08-05 1994-08-05 Image playback device
DE69536095T DE69536095D1 (en) 1994-03-25 1995-03-27 The image display apparatus
EP95104491A EP0674448B1 (en) 1994-03-25 1995-03-27 Video image reproduction with high speed
DE69536096T DE69536096D1 (en) 1994-03-25 1995-03-27 The image display apparatus
EP01111142A EP1139670B1 (en) 1994-03-25 1995-03-27 Image reproducing device
EP01111143A EP1139671B1 (en) 1994-03-25 1995-03-27 Image reproducing device
DE69524896T DE69524896T2 (en) 1994-03-25 1995-03-27 Playback of video images at increased speed
DE69536030T DE69536030D1 (en) 1994-03-25 1995-03-27 The image display apparatus
EP01111144A EP1139672B1 (en) 1994-03-25 1995-03-27 Image reproducing device
US08/921,472 US5847767A (en) 1994-03-25 1997-09-02 Compact image transmission system and image reproducing device capable of reproducing a DCT-based code at a high speed without deterioration of picture quality
US09/130,461 US6094456A (en) 1994-03-25 1998-08-07 Compact image transmission system and image reproducing device capable of reproducing a DCT-based code at a high speed without deterioration of picture quality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18438394A JP2812203B2 (en) 1994-08-05 1994-08-05 Image playback device

Publications (2)

Publication Number Publication Date
JPH0851624A JPH0851624A (en) 1996-02-20
JP2812203B2 true JP2812203B2 (en) 1998-10-22

Family

ID=16152232

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18438394A Expired - Fee Related JP2812203B2 (en) 1994-03-25 1994-08-05 Image playback device

Country Status (1)

Country Link
JP (1) JP2812203B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100266371B1 (en) * 1997-12-11 2000-09-15 구자홍 High speed reproduction method and data structure therefor

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
藤原洋監修 「最新MPEG教科書」 アスキー出版局 P.152−165

Also Published As

Publication number Publication date
JPH0851624A (en) 1996-02-20

Similar Documents

Publication Publication Date Title
US5847767A (en) Compact image transmission system and image reproducing device capable of reproducing a DCT-based code at a high speed without deterioration of picture quality
US6301304B1 (en) Architecture and method for inverse quantization of discrete cosine transform coefficients in MPEG decoders
JP2000278692A (en) Compressed data processing method, processor and recording and reproducing system
JP3633159B2 (en) Moving picture signal encoding method and apparatus, and moving picture signal transmission method
JP3331351B2 (en) Image data encoding method and apparatus
JP3651941B2 (en) Image playback device
JP2795223B2 (en) Image signal encoding method
JP3147792B2 (en) Video data decoding method and apparatus for high-speed playback
US8165217B2 (en) Image decoding apparatus and method for decoding prediction encoded image data
JPH0818979A (en) Image processor
JPH0937263A (en) Moving image compressor
US5915043A (en) Image reproducing apparatus
JP3227674B2 (en) Video encoding apparatus and method
JP3200199B2 (en) Video compression encoding method
JP2812203B2 (en) Image playback device
JP2001309384A (en) Picture compressor
JPH0795536A (en) Device and method for reversely reproducing moving image
JP2002064823A (en) Apparatus and method for detecting scene change of compressed dynamic image as well as recording medium recording its program
JP3274563B2 (en) Image playback device
JP3897684B2 (en) Image recording method
JPH06339111A (en) Compressed moving picture reproduction device
JP3356413B2 (en) Image decoding method and apparatus
JP3240737B2 (en) Image signal encoding method and apparatus, decoding method and apparatus
JP3449370B2 (en) Image data decoding method and apparatus
JPH10164594A (en) Compression encoding method for moving image and device therefor

Legal Events

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

Free format text: PAYMENT UNTIL: 20070807

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20080807

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20080807

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090807

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090807

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100807

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20110807

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20110807

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20120807

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20120807

Year of fee payment: 14

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

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

Free format text: PAYMENT UNTIL: 20120807

Year of fee payment: 14

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

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

Free format text: PAYMENT UNTIL: 20120807

Year of fee payment: 14

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20120807

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20120807

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20130807

Year of fee payment: 15

LAPS Cancellation because of no payment of annual fees