JPH06319124A - Picture data converter and its inverter - Google Patents

Picture data converter and its inverter

Info

Publication number
JPH06319124A
JPH06319124A JP18868091A JP18868091A JPH06319124A JP H06319124 A JPH06319124 A JP H06319124A JP 18868091 A JP18868091 A JP 18868091A JP 18868091 A JP18868091 A JP 18868091A JP H06319124 A JPH06319124 A JP H06319124A
Authority
JP
Japan
Prior art keywords
data
frame
image data
block
intra
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.)
Pending
Application number
JP18868091A
Other languages
Japanese (ja)
Inventor
Hideto Kunihiro
秀人 國弘
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 Home Electronics Ltd
NEC Corp
Original Assignee
NEC Home Electronics Ltd
Nippon Electric 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 NEC Home Electronics Ltd, Nippon Electric Co Ltd filed Critical NEC Home Electronics Ltd
Priority to JP18868091A priority Critical patent/JPH06319124A/en
Publication of JPH06319124A publication Critical patent/JPH06319124A/en
Pending 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

PURPOSE:To provide advantages of both the inter-frame prediction coding system and the in-frame coding system by giving block uncoded data as to a block whose content is the same as that of a preceding frame and giving data subject to in-frame coding as to a block whose content differs from that of the preceding frame to a picture data inverter. CONSTITUTION:Picture data subject to A/D-conversion are given to a subtractor 41 of a picture data converter 40 in the unit of blocks. The subtractor 41 obtains difference data between received picture data and picture data of a same picture element of one preceding frame and provides the difference data to a discrimination circuit 43. Block uncoding data representing a block whose content is the same as that of a preceding frame are given to a multiplexer 44 based on the discrimination and data subject to in-frame coding as to a block whose content differs from that of the preceding frame are given to the multiplexer 44. Thus, when the data are outputted to a transmission line, the quantity of data given to the picture data inverter is less and the efficiency is improved.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、入力された画像データ
を記録媒体に記録したり伝送路に出力したりするために
変換する画像データ変換装置、及び、その逆変換装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data conversion device for converting input image data to record it on a recording medium or output it on a transmission line, and its inverse conversion device.

【0002】[0002]

【従来の技術】例えば、コンピュータを利用したゲーム
システムにおいては、周知のように、ゲームソフトウェ
アを記録媒体(例えばCD−ROM)に記録してユーザ
に提供する。このような記録媒体には、画像データ、オ
ーディオデータ、テキストデータ等の各種のデータが記
録されるが、自然画(動画)データを記録する場合に
は、圧縮符号化して記録していた。
2. Description of the Related Art For example, in a game system using a computer, as is well known, game software is recorded on a recording medium (for example, a CD-ROM) and provided to a user. Various types of data such as image data, audio data, and text data are recorded on such a recording medium. However, when recording natural image (moving image) data, they are compressed and encoded for recording.

【0003】従来、このような自然画データを符号化す
る方式として、図4に示すフレーム間予測符号化方式
や、図6に示すフレーム内符号化方式が適用されてい
た。
Conventionally, the interframe predictive coding method shown in FIG. 4 and the intraframe coding method shown in FIG. 6 have been applied as a method of coding such natural image data.

【0004】まず、フレーム間予測符号化方式に従う符
号化器(エンコーダ)について説明する。アナログ/デ
ジタル変換された画像データは、1画像を縦横に区分し
たブロック単位に、当該フレーム間予測符号化器10に
入力される。入力された画像データは、1フレーム前の
同一画素の画像データとの差分(予測誤差)が減算器1
1によって取られる。この差分データが離散コサイン変
換器12によって直交変換方式の1種である離散コサイ
ン変換されて量子化器13に与えられて量子化された
後、さらに、可変長符号化器14によって可変長符号化
されて出力される。量子化器13から出力された量子化
信号はまた、逆量子化器15に与えれれて逆量子化され
て逆離散コサイン変換器16に与えられ、この逆離散コ
サイン変換器16によって逆離散コサイン変換されて局
部再生の差分データに変換されて加算器17に与えられ
る。加算器17には、1フレーム前の画像データが与え
られており、1フレーム前の画像データに局部再生の差
分データを加算することで局部再生の画像データを得て
フレームメモリ18に与える。フレームメモリ18は、
1フレーム遅延回路として設けられているものであり、
1フレーム前の画像データを用いる上述した減算器11
及び加算器17に対して1フレーム前の画像データを供
給する。
First, an encoder (encoder) according to the interframe predictive coding system will be described. The analog / digital converted image data is input to the inter-frame predictive encoder 10 in block units obtained by dividing one image vertically and horizontally. The difference (prediction error) between the input image data and the image data of the same pixel one frame before is subtracted by the subtracter 1.
Taken by 1. The difference data is subjected to a discrete cosine transform, which is one type of orthogonal transform method, by the discrete cosine transformer 12, is given to the quantizer 13, and is quantized, and is further variable length encoded by the variable length encoder 14. Is output. The quantized signal output from the quantizer 13 is also supplied to the inverse quantizer 15 and inversely quantized and then supplied to the inverse discrete cosine transformer 16, and the inverse discrete cosine transformer 16 performs the inverse discrete cosine transform. It is converted to the locally reproduced difference data and given to the adder 17. The image data of one frame before is given to the adder 17, and the difference data of the local reproduction is added to the image data of the previous frame to obtain the image data of the local reproduction and give it to the frame memory 18. The frame memory 18 is
It is provided as a 1-frame delay circuit,
The subtractor 11 described above using the image data of one frame before
And the image data of one frame before is supplied to the adder 17.

【0005】ゲームソフトウェア再生装置に設けられて
いる、図4に示すフレーム間予測符号化器(エンコー
ダ)10に対応するフレーム間予測復号化器(デコー
ダ)20は、図5に示す構成を有する。
An interframe predictive decoder (decoder) 20 provided in the game software reproducing apparatus and corresponding to the interframe predictive encoder (encoder) 10 shown in FIG. 4 has a structure shown in FIG.

【0006】入力された符号化画像データは可変長復号
化器21に与えられる。可変長復号化器21は、上述し
た可変長符号化器14の逆処理を行なってその変換画像
データを逆量子化器22に与える。逆量子化器22及び
逆離散コサイン変換器23は、上述した符号化器10に
設けられている量子化器13及び離散コサイン変換器1
2の逆処理を行なってフレーム間差分データに変換す
る。このフレーム間差分データには、加算器24におい
て1フレーム前の画像データが加算され、再生画像デー
タとなる。このようにして得られた再生画像データは、
表示部に出力されると共に、1フレーム遅延回路として
動作するフレームメモリ25に与えられる。フレームメ
モリ25は、上述した加算器24に1フレーム前の画像
データを供給する。
The input coded image data is supplied to the variable length decoder 21. The variable length decoder 21 performs the reverse processing of the variable length encoder 14 described above and supplies the converted image data to the inverse quantizer 22. The inverse quantizer 22 and the inverse discrete cosine transformer 23 are the quantizer 13 and the discrete cosine transformer 1 provided in the encoder 10 described above.
The reverse processing of 2 is performed to convert the data into interframe difference data. The inter-frame difference data is added with the image data of one frame before in the adder 24 to be reproduced image data. The reproduced image data obtained in this way is
It is output to the display unit and is given to the frame memory 25 that operates as a one-frame delay circuit. The frame memory 25 supplies the image data of one frame before to the adder 24 described above.

【0007】次に、図6を用いて、ゲームシステムの他
の符号化方式として用いられていたフレーム内符号化方
式に従う符号化器(エンコーダ)について説明する。
Next, an encoder (encoder) according to the intra-frame coding method used as another coding method of the game system will be described with reference to FIG.

【0008】アナログ/デジタル変換された画像データ
は、1画像を縦横に区分したブロック単位に、当該フレ
ーム内符号化器30に入力される。入力された画像デー
タは離散コサイン変換器31に与えられ、この離散コサ
イン変換器31によって離散コサイン変換されて量子化
器32に与えられる。量子化器32は、離散コサイン変
換された画像データを量子化して可変長符号化器33に
与え、可変長符号化器33は入力された画像データを可
変長符号化して出力する。
The image data that has been subjected to analog / digital conversion is input to the intra-frame encoder 30 in block units in which one image is divided vertically and horizontally. The input image data is given to the discrete cosine transformer 31, the discrete cosine transform is performed by the discrete cosine transformer 31, and the quantizer 32 is given. The quantizer 32 quantizes the image data subjected to the discrete cosine transform and supplies it to the variable length encoder 33, and the variable length encoder 33 variable length encodes the input image data and outputs it.

【0009】ゲームソフトウェア再生装置に設けられて
いる、図6に示すフレーム内符号化器(エンコーダ)3
0に対応するフレーム内復号化器(デコーダ)35は、
図7に示す構成を有する。
An intra-frame encoder (encoder) 3 shown in FIG. 6 provided in the game software reproducing apparatus.
The intraframe decoder (decoder) 35 corresponding to 0 is
It has the configuration shown in FIG.

【0010】入力された符号化画像データは可変長復号
化器36に与えられる。可変長復号化器36は、上述し
た可変長符号化器33の逆処理を行なってその変換画像
データを逆量子化器37に与える。逆量子化器37及び
逆離散コサイン変換器38は、上述した符号化器30に
設けられている量子化器32及び離散コサイン変換器3
1の逆処理を行なって画像データを再生する。このよう
にして得られた再生画像データが表示部に出力される。
The input encoded image data is given to the variable length decoder 36. The variable length decoder 36 performs the inverse process of the variable length encoder 33 described above and supplies the converted image data to the inverse quantizer 37. The inverse quantizer 37 and the inverse discrete cosine transformer 38 are the quantizer 32 and the discrete cosine transformer 3 provided in the encoder 30 described above.
The reverse processing of 1 is performed to reproduce the image data. The reproduced image data thus obtained is output to the display unit.

【0011】[0011]

【発明が解決しようとする課題】フレーム間予測符号化
方式は一般的に圧縮効率が高いが大量のメモリが必要で
あったり、回路が複雑、大規模なものであったりする。
ゲームシステムの場合、ゲームソフトウェアを記録した
記録媒体の作成はメーカー側が行なうので、符号化器を
有する作成装置が複雑、大規模化すること、高価なメモ
リを多量に必要であることという問題は、さほど大きな
問題ではない。しかし、記録媒体の再生装置は、ユーザ
に提供されるものであるので、このような問題は、結果
として高価な装置になるという問題を生じて大きな問題
である。
The inter-frame predictive coding system generally has high compression efficiency, but it requires a large amount of memory, and the circuit is complicated and large-scaled.
In the case of a game system, since the manufacturer creates the recording medium recording the game software, the problem that the creating device having the encoder is complicated, the scale becomes large, and a large amount of expensive memory is required, It's not a big problem. However, since the reproducing apparatus for the recording medium is provided to the user, such a problem is a serious problem because it causes an expensive device as a result.

【0012】また、フレーム間予測符号化方式の場合、
相前後するフレーム間の差分データを離散コサイン変換
しており、符号化器には局部再生用の逆離散コサイン変
換器を備え、復号化器には逆離散コサイン変換器を備え
る。ゲームシステムの場合、符号化器と復号化器とは、
両逆離散コサイン変換器の演算精度が異なる可能性があ
る。このように演算精度が異なると、演算誤差の蓄積に
よって画質劣化が生じる。
In the case of the interframe predictive coding system,
The differential data between successive frames is subjected to discrete cosine transform, the encoder is provided with an inverse discrete cosine transformer for local reproduction, and the decoder is provided with an inverse discrete cosine transformer. In the case of a game system, the encoder and decoder are
There is a possibility that the calculation precisions of the two inverse discrete cosine transformers are different. If the calculation accuracy is different, the image quality is deteriorated due to the accumulation of calculation errors.

【0013】他方、フレーム内符号化方式は、使用する
メモリが少ないという利点は有するものの、符号化効率
が悪いという欠点を有する。そこで、フレームレートを
下げるという対処方法も提案されているが、これでも細
かい絵柄の場合には符号化効率が悪く、また、フレーム
レートを下げているため動き内容によっては不自然な表
示画像となるという欠点が生じる。
On the other hand, the intraframe coding method has an advantage that it uses less memory, but has a drawback that coding efficiency is poor. Therefore, a method of coping with lowering the frame rate has been proposed, but even with this, the coding efficiency is poor in the case of a fine pattern, and since the frame rate is lowered, an unnatural display image may result depending on the motion content. The drawback occurs.

【0014】本発明は、以上の点を考慮してなされたも
のであり、フレーム間予測符号化方式及びフレーム内符
号化方式の両者の長所を合せ持つ画像データ変換装置及
びその逆変換装置を提供しようとするものである。
The present invention has been made in consideration of the above points, and provides an image data conversion device and its inverse conversion device which have the advantages of both the inter-frame predictive coding system and the intra-frame coding system. Is what you are trying to do.

【0015】[0015]

【課題を解決するための手段】かかる課題を解決するた
め、第1の本発明の画像データ変換装置は、処理対象フ
レームの画像データと1フレーム前の画像データとを、
1画像を複数に分割した同一位置のブロック毎に比較し
て、相前後するフレームの画像データが同一内容である
か否かをブロック毎に判定する判定手段と、この判定手
段が画像内容が異なると判定した、処理対象フレームの
ブロックの画像データに対してフレーム内符号化を行な
うフレーム内符号化手段と、フレーム内符号化手段によ
って符号化されたフレーム内符号化データと、判定手段
が同一内容と判定したときに出力した、処理対象ブロッ
クが前フレームと同一内容であることを表すブロック未
符号化データとを合成して出力画像データを形成するデ
ータ合成手段とを備えた。
In order to solve such a problem, the image data conversion apparatus of the first aspect of the present invention stores the image data of the frame to be processed and the image data of one frame before.
One image is divided into a plurality of blocks at the same position, and a determination unit determines whether or not the image data of successive frames has the same content, and the determination unit has different image content. It is determined that the intra-frame encoding means for performing intra-frame encoding on the image data of the block of the processing target frame, the intra-frame encoded data encoded by the intra-frame encoding means, and the determination means have the same content. And a data synthesizing unit for synthesizing the block uncoded data indicating that the processing target block has the same content as the previous frame, which is output when the determination is made, to form output image data.

【0016】また、第2の本発明の画像データ逆変換装
置は、第1の本発明の画像データ変換装置が出力した画
像データを、フレーム内符号化データとブロック未符号
化データとに分離するデータ分離手段と、フレーム内符
号化データを復号化するフレーム内復号化手段と、デー
タ分離手段が分離したデータがブロック未符号化データ
のときに記録内容を維持し、データ分離手段が分離した
データがフレーム内符号化データのときに、フレーム内
復号化手段が出力した画像データに記憶内容を更新する
画像メモリとを備えた。
The image data inverse conversion device of the second aspect of the invention separates the image data output by the image data conversion device of the first aspect of the invention into intra-frame coded data and block uncoded data. Data separating means, intra-frame decoding means for decoding intra-frame encoded data, and data separated by the data separating means for maintaining recorded contents when the data separated by the data separating means is block uncoded data Is an intra-frame coded data, an image memory for updating the stored contents to the image data output by the intra-frame decoding means.

【0017】[0017]

【作用】第1の本発明において、判定手段は、処理対象
フレームの画像データと1フレーム前の画像データと
を、1画像を複数に分割した同一位置のブロック毎に比
較して、相前後するフレームの画像データが同一内容で
あるか否かをブロック毎に判定する。フレーム内符号化
手段は、判定手段が画像内容が異なると判定した、処理
対象フレームのブロックの画像データに対してフレーム
内符号化を行なう。データ合成手段は、フレーム内符号
化手段によって符号化されたフレーム内符号化データ
と、判定手段が同一内容と判定したときに出力した、処
理対象ブロックが前フレームと同一内容であることを表
すブロック未符号化データとを合成して出力画像データ
を形成する。
In the first aspect of the present invention, the determination means compares the image data of the frame to be processed and the image data of the previous frame for each block at the same position where one image is divided into a plurality of blocks, and compares them. It is determined for each block whether or not the image data of the frame has the same content. The intra-frame encoding means performs intra-frame encoding on the image data of the block of the processing target frame, which the determination means determines to have different image contents. The data synthesizing unit is a block indicating that the intra-frame coded data encoded by the intra-frame encoding unit and the processing target block output when the determining unit determines that the same content is the same as the previous frame. The uncoded data is combined to form output image data.

【0018】すなわち、第1の本発明においては、前フ
レームと同一内容のブロックについては、その旨のブロ
ック未符号化データを画像データ逆変換装置に与え、前
フレームと異なる内容のブロックについては、フレーム
内符号化されたデータを画像データ逆変換装置に与え
る。
That is, in the first aspect of the present invention, for a block having the same content as the previous frame, block uncoded data to that effect is given to the image data inverse conversion device, and for a block having a content different from the previous frame, The intra-frame coded data is supplied to the image data inverse conversion device.

【0019】第2の本発明の画像データ逆変換装置は、
第1の本発明の画像データ変換装置に対するものであ
る。データ分離手段は、第1の本発明の画像データ変換
装置が出力した画像データを、フレーム内符号化データ
とブロック未符号化データとに分離する。フレーム内復
号化手段は、フレーム内符号化データを復号化して画像
メモリに与える。画像メモリは、データ分離手段が分離
したデータがブロック未符号化データのときに記録内容
を維持し、データ分離手段が分離したデータがフレーム
内符号化データのときに、フレーム内復号化手段が出力
した画像データに記憶内容を更新する。
The image data inverse conversion device of the second invention is
The present invention relates to the image data conversion device of the first aspect of the present invention. The data separation means separates the image data output by the image data conversion device of the first aspect of the invention into intra-frame coded data and block uncoded data. The intraframe decoding means decodes the intraframe coded data and gives it to the image memory. The image memory maintains the recorded content when the data separated by the data separating means is block uncoded data, and is output by the intraframe decoding means when the data separated by the data separating means is intraframe encoded data. The stored contents are updated to the selected image data.

【0020】[0020]

【実施例】以下、本発明の第1実施例を図面を参照しな
がら、画像データの変換装置及びその逆変換装置の順に
詳述する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A first embodiment of the present invention will be described in detail below in the order of an image data conversion device and its inverse conversion device with reference to the drawings.

【0021】図1は、第1実施例の画像データの変換装
置(エンコーダ)を示すものである。図1において、ア
ナログ/デジタル変換された画像データは、1画像を縦
横に区分したブロック単位に、当該画像データ変換器4
0に入力される。入力された画像データは、減算器41
及びスイッチ回路42に与えられる。
FIG. 1 shows an image data conversion apparatus (encoder) according to the first embodiment. In FIG. 1, the analog / digital converted image data is converted into image data converter 4 in units of blocks obtained by dividing one image vertically and horizontally.
Input to 0. The input image data is subtracted from the subtracter 41.
And the switch circuit 42.

【0022】減算器41は、入力された画像データと1
フレーム前の同一画素の画像データとの差分データを得
て判定回路43に与える。判定回路43は、現在対象と
なっているブロック内の各画素についての差分データの
2乗和を求め、この2乗和を所定の閾値と比較する。こ
こで、閾値は、相前後するフレーム間の同一位置のブロ
ックが同一内容のブロックであるか否かを、すなわち、
相前後するフレーム間で画像内容が変化しているか否か
を区別できるように選定されている。例えば、静止画で
あれば当然に同一内容と判断される。また、動画であっ
ても、背景部分のブロックは同一内容と判断される。判
定回路43は、同一内容であると判定すると、スイッチ
回路42及び後述するスイッチ回路45に開放指示信号
を与えると共に、マルチプレクサ44に対してフレーム
内符号化を実行していない旨のブロック未符号化データ
を与える。他方、同一内容でないと判定すると、スイッ
チ回路42及び後述するスイッチ回路45に閉成指示信
号を与える。
The subtractor 41 outputs the input image data and 1
Difference data from the image data of the same pixel before the frame is obtained and given to the determination circuit 43. The determination circuit 43 obtains the sum of squares of the difference data for each pixel in the current block, and compares the sum of squares with a predetermined threshold value. Here, the threshold value determines whether or not blocks at the same position between consecutive frames have the same content, that is,
It is selected so that it can be distinguished whether or not the image content is changed between successive frames. For example, if it is a still image, it is naturally judged that the contents are the same. Further, even in the case of a moving image, the blocks in the background portion are determined to have the same content. When the determination circuit 43 determines that the contents are the same, the determination circuit 43 gives an opening instruction signal to the switch circuit 42 and a switch circuit 45 described later, and blocks the block unencoded to the effect that intra-frame encoding has not been executed for the multiplexer 44. Give data. On the other hand, when it is determined that the contents are not the same, a closing instruction signal is given to the switch circuit 42 and the switch circuit 45 described later.

【0023】スイッチ回路42を通過した入力された画
像データは離散コサイン変換器46に与えられる。入力
された画像データは、この離散コサイン変換器46によ
って離散コサイン変換されて量子化器47に与えられ
る。量子化器47は、離散コサイン変換された画像デー
タを量子化して可変長符号化器48に与え、可変長符号
化器48は入力された画像データを可変長符号化してマ
ルチプレクサ44に出力する。
The input image data that has passed through the switch circuit 42 is applied to the discrete cosine converter 46. The input image data is subjected to discrete cosine transform by the discrete cosine transformer 46 and given to the quantizer 47. The quantizer 47 quantizes the image data subjected to the discrete cosine transform and supplies it to the variable length encoder 48, and the variable length encoder 48 variable length codes the inputted image data and outputs it to the multiplexer 44.

【0024】以上のようにして、前フレームと同一内容
のブロックについては、その旨のブロック未符号化デー
タがマルチプレクサ44に与えられ、前フレームと異な
る内容のブロックについては、フレーム内符号化された
データがマルチプレクサ44に与えられ、マルチプレク
サ44はこれらを多重化して出力する。
As described above, for the block having the same content as the previous frame, the block uncoded data to that effect is given to the multiplexer 44, and the block having the content different from the previous frame is intra-frame coded. The data is given to the multiplexer 44, and the multiplexer 44 multiplexes these and outputs them.

【0025】量子化器47から出力された量子化データ
はまた、逆量子化器49に与えれれて逆量子化されて逆
離散コサイン変換器50に与えられ、この逆離散コサイ
ン変換器50によって逆離散コサイン変換されて局部再
生された画像データに変換される。このような局部再生
の画像データは、減算器41が対象フレームと1フレー
ム前との差分の算出に利用できるように、スイッチ回路
45を介して、1フレーム遅延回路としてのフレームメ
モリ51に与えられる。フレームメモリ51は、1フレ
ーム前の画像データを上述した減算器41に供給する。
The quantized data output from the quantizer 47 is also supplied to the inverse quantizer 49, inversely quantized and supplied to the inverse discrete cosine transformer 50, which inverts the inverse discrete cosine transformer 50. Discrete cosine transform is performed and the image data is locally reproduced. Such locally reproduced image data is supplied to the frame memory 51 as a one-frame delay circuit via the switch circuit 45 so that the subtractor 41 can use it for calculating the difference between the target frame and the previous frame. . The frame memory 51 supplies the image data of one frame before to the subtractor 41 described above.

【0026】図2は、図1に示した画像データ変換器4
0に対応した、第1実施例の画像データの逆変換装置
(デコーダ)55の構成を示すものである。
FIG. 2 shows the image data converter 4 shown in FIG.
1 shows a configuration of an image data inverse conversion device (decoder) 55 corresponding to 0 according to the first embodiment.

【0027】入力された変換データはデマルチプレクサ
56に与えられる。デマルチプレクサ56は、入力され
たデータをブロック未符号化データ及びフレーム内符号
化データに分離し、ブロック未符号化データが与えられ
ているときにはスイッチ回路57に対して開放指示信号
を与え、他方、フレーム内符号化データが与えられてい
るときにはスイッチ回路57に対して閉成指示信号を与
えると共に、そのフレーム内符号化データをこのスイッ
チ回路57を介して可変長復号化器58に与える。
The input conversion data is given to the demultiplexer 56. The demultiplexer 56 separates the input data into block uncoded data and intra-frame coded data, gives an open instruction signal to the switch circuit 57 when block uncoded data is given, and on the other hand, When the intra-frame coded data is given, the closing instruction signal is given to the switch circuit 57, and the intra-frame coded data is given to the variable length decoder 58 through the switch circuit 57.

【0028】可変長復号化器58は、上述した可変長符
号化器48の逆処理を行なってその変換画像データを逆
量子化器59に与える。逆量子化器59及び逆離散コサ
イン変換器60は、上述した符号化器40に設けられて
いる量子化器47及び離散コサイン変換器46の逆処理
を行なって画像データを再生する。このようにして得ら
れた再生画像データが表示制御構成の一部をなすフレー
ムメモリ61に与えられる。
The variable length decoder 58 performs the reverse processing of the variable length encoder 48 described above and supplies the converted image data to the inverse quantizer 59. The inverse quantizer 59 and the inverse discrete cosine transformer 60 perform the inverse processing of the quantizer 47 and the discrete cosine transformer 46 provided in the above-mentioned encoder 40 to reproduce the image data. The reproduced image data obtained in this manner is given to the frame memory 61 which is a part of the display control configuration.

【0029】かくして、フレームメモリ61は、ブロッ
ク未符号化データが与えられたブロックについては前フ
レームの内容を維持し、フレーム内符号化データが与え
られたブロックについては再生された画像データにその
内容を更新する。
Thus, the frame memory 61 maintains the contents of the previous frame for the block to which the block uncoded data is given, and the contents to the reproduced image data for the block to which the intraframe coded data is given. To update.

【0030】従って、上述した第1実施例によれば、前
フレームと異なる内容のブロックの画像データのみにフ
レーム内符号化方式を適用し、前フレームと同一内容の
ブロックについてはその旨のデータをエンコーダ及びデ
コーダで授受するようにしたので、以下の効果を得るこ
とができる。
Therefore, according to the first embodiment described above, the intraframe coding method is applied only to the image data of the block having the content different from that of the previous frame, and the data indicating that is applied to the block having the same content as the previous frame. Since the encoder and the decoder transmit and receive, the following effects can be obtained.

【0031】(1) 単にフレーム内符号化方式を適用した
場合に比べて符号化効率が向上する。すなわち、前フレ
ームと同一内容のブロックについてはその旨のデータを
エンコーダ及びデコーダで授受するので、授受される全
体のデータ量が単にフレーム内符号化方式を適用した場
合に比べて少なくなる。
(1) The coding efficiency is improved as compared with the case where the intraframe coding method is simply applied. That is, with respect to the block having the same content as the previous frame, since the data to that effect is transmitted and received by the encoder and the decoder, the total amount of data transmitted and received is smaller than in the case where the intra-frame encoding method is simply applied.

【0032】(2) フレーム間予測符号化方式を適用して
いないので、構成が簡易なものとなり、また、使用する
メモリも少なくなる。特に、デコーダ55側についてか
かる効果が大きい。上述したように、ゲームシステムの
場合、デコーダがユーザに提供されるものであるので、
かかる効果の意義は大きい。
(2) Since the interframe predictive coding method is not applied, the structure is simple and the memory used is small. Particularly, the effect is great on the decoder 55 side. As described above, in the case of the game system, since the decoder is provided to the user,
The significance of this effect is great.

【0033】(3) 前フレームと同一内容のブロックにつ
いてはその旨のデータをエンコーダ及びデコーダで授受
するだけであるので、このようなブロックについてはエ
ンコーダ及びデコーダで逆離散コサイン変換されず、符
号化されるブロックにおいてもフレーム内符号化である
ので、エンコーダ及びデコーダにおける逆離散コサイン
変換器における演算精度が異なっていても、演算誤差が
蓄積されない。
(3) For a block having the same content as the previous frame, since data to that effect is only transmitted and received by the encoder and the decoder, such a block is not subjected to the inverse discrete cosine transform by the encoder and the decoder and is encoded. Since the blocks to be processed are also intraframe-coded, even if the calculation precisions of the inverse discrete cosine converters of the encoder and the decoder are different, the calculation error is not accumulated.

【0034】図3は、本発明の第2実施例における画像
データ変換装置の構成を示すものである。
FIG. 3 shows the arrangement of an image data conversion apparatus according to the second embodiment of the present invention.

【0035】図3において、アナログ/デジタル変換さ
れた画像データは、1画像を縦横に区分したブロック単
位に、当該画像データ変換装置70に入力される。入力
された画像データは、減算器71、スイッチ回路72及
びフレームメモリ73に与えられる。
In FIG. 3, the analog-to-digital converted image data is input to the image data conversion device 70 in block units obtained by vertically and horizontally dividing one image. The input image data is given to the subtractor 71, the switch circuit 72, and the frame memory 73.

【0036】フレームメモリ73は1フレーム遅延回路
として設けられたものであり、1フレーム遅延した画像
データ、すなわち、対象フレームの前のフレームの画像
データを減算器71に与える。減算器71は、入力され
た画像データと1フレーム前の同一画素の画像データと
の差分データを得て判定回路74に与える。判定回路7
4は、現在対象となっているブロック内の各画素につい
ての差分データの2乗和を求め、この2乗和を所定の閾
値と比較して、相前後するフレーム間の同一位置のブロ
ックが同一内容のブロックであるか否かを、すなわち、
相前後するフレーム間で画像内容が変化しているか否か
を判定する。判定回路74は、同一内容であると判定す
ると、スイッチ回路72に開放指示信号を与えると共
に、マルチプレクサ75に対してフレーム内符号化を実
行していない旨のブロック未符号化データを与える。他
方、同一内容でないと判定すると、スイッチ回路72に
閉成指示信号を与える。
The frame memory 73 is provided as a one-frame delay circuit, and supplies the image data delayed by one frame, that is, the image data of the frame before the target frame to the subtractor 71. The subtractor 71 obtains difference data between the input image data and the image data of the same pixel one frame before and gives it to the determination circuit 74. Judgment circuit 7
4 is the sum of squares of the difference data for each pixel in the current block, compares the sum of squares with a predetermined threshold value, and blocks in the same position between consecutive frames are the same. Whether it is a block of content, ie
It is determined whether or not the image content has changed between successive frames. When the decision circuit 74 determines that the contents are the same, it gives the switch circuit 72 an open instruction signal and also gives the multiplexer 75 block-uncoded data indicating that intraframe coding is not being executed. On the other hand, if it is determined that the contents are not the same, a closing instruction signal is given to the switch circuit 72.

【0037】スイッチ回路72を通過した入力された画
像データは離散コサイン変換器76に与えられる。この
画像データは、この離散コサイン変換器76によって離
散コサイン変換されて量子化器77に与えられる。量子
化器77は、離散コサイン変換された画像データを量子
化して可変長符号化器78に与える。可変長符号化器7
8は、量子化された画像データを可変長符号化してマル
チプレクサ75に出力する。
The input image data that has passed through the switch circuit 72 is applied to the discrete cosine converter 76. This image data is subjected to discrete cosine transform by the discrete cosine transformer 76 and given to the quantizer 77. The quantizer 77 quantizes the image data subjected to the discrete cosine transform, and supplies the quantized image data to the variable length encoder 78. Variable length encoder 7
8 variable-length-codes the quantized image data and outputs it to the multiplexer 75.

【0038】以上のようにして、前フレームと同一内容
のブロックについては、その旨のブロック未符号化デー
タがマルチプレクサ75に与えられ、前フレームと異な
る内容のブロックについては、フレーム内符号化された
データがマルチプレクサ75に与えられ、マルチプレク
サ75はこれらを多重化して出力する。
As described above, with respect to the block having the same content as the previous frame, the block uncoded data to that effect is given to the multiplexer 75, and the block having the content different from the previous frame is intra-frame encoded. The data is given to the multiplexer 75, and the multiplexer 75 multiplexes these and outputs them.

【0039】なお、第2実施例における画像データの逆
変換器の構成は第1実施例と同様であるので、その説明
は省略する。
Since the configuration of the inverse converter of the image data in the second embodiment is the same as that of the first embodiment, its explanation is omitted.

【0040】従って、第2実施例においても、上述した
第1実施例と同様な効果を得ることができる。ここで、
第2実施例の場合、逆量子化器及び逆離散コサイン変換
器がエンコーダに設けられていないので、メモリ数を含
めてエンコーダの構成を一段と簡易なものとすることが
できる。また、符号化されるブロックにおいてもフレー
ム内符号化であるので、フレーム間予測符号化における
エンコーダ及びデコーダの逆離散コサイン変換器での演
算精度の相違によって従来生じていた蓄積誤差は無視す
ることができる。
Therefore, also in the second embodiment, the same effect as in the above-mentioned first embodiment can be obtained. here,
In the case of the second embodiment, since the encoder is not provided with the inverse quantizer and the inverse discrete cosine converter, the encoder configuration including the number of memories can be further simplified. Further, since the block to be coded is also intra-frame coded, it is possible to ignore the accumulated error that has conventionally occurred due to the difference in calculation accuracy between the inverse discrete cosine converter of the encoder and the decoder in inter-frame predictive coding. it can.

【0041】なお、本発明は、記録媒体への記録及びそ
の記録媒体からの再生のために適用されるだけでなく、
伝送系を介する場合にも適用することができる。従っ
て、適用システムは、ゲームシステムに限定されるもの
ではない。
The present invention is not only applied to recording on a recording medium and reproducing from the recording medium, but
It can also be applied when a transmission system is used. Therefore, the application system is not limited to the game system.

【0042】[0042]

【発明の効果】以上のように、本発明によれば、前フレ
ームと異なる内容のブロックの画像データのみにフレー
ム内符号化方式を適用し、前フレームと同一内容のブロ
ックについてはその旨のデータをエンコーダ及びデコー
ダで授受するようにしたので、フレーム間予測符号化方
式及びフレーム内符号化方式の両者の長所を合せ持つ画
像データ変換装置及びその逆変換装置を実現することが
できる。
As described above, according to the present invention, the intra-frame coding method is applied only to the image data of the block having the content different from that of the previous frame, and the data indicating that is applied to the block having the same content as the previous frame. Are transmitted and received by the encoder and the decoder, so that it is possible to realize an image data conversion device and its inverse conversion device which have the advantages of both the inter-frame predictive coding system and the intra-frame coding system.

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

【図1】第1実施例の画像データ変換装置を示すブロッ
ク図である。
FIG. 1 is a block diagram showing an image data conversion device of a first embodiment.

【図2】第1実施例の画像データ逆変換装置を示すブロ
ック図である。
FIG. 2 is a block diagram showing an image data inverse conversion device according to a first embodiment.

【図3】第2実施例の画像データ変換装置を示すブロッ
ク図である。
FIG. 3 is a block diagram showing an image data conversion device of a second embodiment.

【図4】従来のフレーム間予測符号化器を示すブロック
図である。
FIG. 4 is a block diagram showing a conventional interframe predictive encoder.

【図5】従来のフレーム間予測復号化器を示すブロック
図である。
FIG. 5 is a block diagram showing a conventional interframe predictive decoder.

【図6】従来のフレーム内符号化器を示すブロック図で
ある。
FIG. 6 is a block diagram showing a conventional intraframe encoder.

【図7】従来のフレーム内復号化器を示すブロック図で
ある。
FIG. 7 is a block diagram showing a conventional intraframe decoder.

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

40…画像データ変換装置、41…減算器、42、45
…スイッチ回路、43…マルチプレクサ、46…離散コ
サイン変換器、47…量子化器、48…可変長符号化
器、49、59…逆量子化器、50、60…逆離散コサ
イン変換器、51、61…フレームメモリ、55…画像
データ逆変換装置。
40 ... Image data conversion device, 41 ... Subtractor, 42, 45
... switch circuit, 43 ... multiplexer, 46 ... discrete cosine transformer, 47 ... quantizer, 48 ... variable length encoder, 49, 59 ... inverse quantizer, 50, 60 ... inverse discrete cosine transformer, 51, 61 ... Frame memory, 55 ... Image data reverse conversion device.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 処理対象フレームの画像データと1フレ
ーム前の画像データとを、1画像を複数に分割した同一
位置のブロック毎に比較して、相前後するフレームの画
像データが同一内容であるか否かをブロック毎に判定す
る判定手段と、 この判定手段が画像内容が異なると判定した、処理対象
フレームのブロックの画像データに対してフレーム内符
号化を行なうフレーム内符号化手段と、 このフレーム内符号化手段によって符号化されたフレー
ム内符号化データと、上記判定手段が同一内容と判定し
たときに出力した、処理対象ブロックが前フレームと同
一内容であることを表すブロック未符号化データとを合
成して出力画像データを形成するデータ合成手段とを備
えたことを特徴とする画像データ変換装置。
1. The image data of a frame to be processed and the image data of one frame before are compared for each block at the same position obtained by dividing one image into a plurality of images, and the image data of the succeeding frames have the same contents. Determination means for determining whether or not each block is different, and intra-frame encoding means for performing intra-frame encoding on the image data of the block of the processing target frame, which is determined by the determination means to have different image contents, In-frame coded data coded by the intra-frame coding means and block uncoded data indicating that the block to be processed has the same content as the previous frame, which is output when the above-mentioned judging means judges the same content. And a data synthesizing unit for synthesizing the image data to form output image data.
【請求項2】 請求項1に記載の画像データ変換装置が
出力した画像データを、フレーム内符号化データとブロ
ック未符号化データとに分離するデータ分離手段と、 フレーム内符号化データを復号化するフレーム内復号化
手段と、 上記データ分離手段が分離したデータがブロック未符号
化データのときに記録内容を維持し、上記データ分離手
段が分離したデータがフレーム内符号化データのとき
に、上記フレーム内復号化手段が出力した画像データに
記憶内容を更新する画像メモリとを備えたことを特徴と
する画像データ逆変換装置。
2. A data separation means for separating the image data output by the image data conversion apparatus according to claim 1 into intra-frame coded data and block uncoded data, and decoding the intra-frame coded data. When the data separated by the data separating means is block uncoded data, the recorded content is maintained, and when the data separated by the data separating means is intraframe coded data, An image data inverse conversion device, comprising: an image memory for updating the stored contents of the image data output by the intraframe decoding means.
JP18868091A 1991-07-29 1991-07-29 Picture data converter and its inverter Pending JPH06319124A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18868091A JPH06319124A (en) 1991-07-29 1991-07-29 Picture data converter and its inverter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18868091A JPH06319124A (en) 1991-07-29 1991-07-29 Picture data converter and its inverter

Publications (1)

Publication Number Publication Date
JPH06319124A true JPH06319124A (en) 1994-11-15

Family

ID=16227964

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18868091A Pending JPH06319124A (en) 1991-07-29 1991-07-29 Picture data converter and its inverter

Country Status (1)

Country Link
JP (1) JPH06319124A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006091811A (en) * 2004-08-27 2006-04-06 Asia Air Survey Co Ltd Three-dimensional moving image generating method for liquid and program thereof
US7084837B2 (en) 2000-06-12 2006-08-01 Mitsubishi Denki Kabushiki Kaisha Digital image output apparatus, digital image decoding device, and digital image encoding device
US9807400B2 (en) 2015-09-10 2017-10-31 Samsung Electronics Co., Ltd. Image processing method and image processing apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7084837B2 (en) 2000-06-12 2006-08-01 Mitsubishi Denki Kabushiki Kaisha Digital image output apparatus, digital image decoding device, and digital image encoding device
JP2006091811A (en) * 2004-08-27 2006-04-06 Asia Air Survey Co Ltd Three-dimensional moving image generating method for liquid and program thereof
US9807400B2 (en) 2015-09-10 2017-10-31 Samsung Electronics Co., Ltd. Image processing method and image processing apparatus

Similar Documents

Publication Publication Date Title
US6393059B1 (en) Conversion of video data bit stream
KR100451326B1 (en) Image predictive decoding method, image predictive decoding apparatus, image predictive coding method, image predictive coding apparatus, and data storage media
US5386234A (en) Interframe motion predicting method and picture signal coding/decoding apparatus
JPH09121358A (en) Picture coding/decoding device and its method
KR950035446A (en) Method and apparatus for transcoding bit stream with video data
JPH06284414A (en) Picture signal transmission method and device therefor
EP0633699A2 (en) Forced intra-frame coding method
US6795498B1 (en) Decoding apparatus, decoding method, encoding apparatus, encoding method, image processing system, and image processing method
JP3659366B2 (en) Hierarchical encoder
KR100226563B1 (en) Motion picture data decoding system
JP3200199B2 (en) Video compression encoding method
JP2614212B2 (en) Image signal encoding method and apparatus
JPH06319124A (en) Picture data converter and its inverter
JP3776735B2 (en) Image predictive decoding method, image predictive decoding device, image predictive encoding method, image predictive encoding device, and data storage medium
JPH0546155B2 (en)
JPS61164390A (en) Adaptive forecast coding device of inter-frame and between frames of animation picture signal
KR100269882B1 (en) Image coding and decoding method and related apparatus
JPH05153573A (en) Moving picture data decoder
JP4164903B2 (en) Video code string conversion apparatus and method
KR0148146B1 (en) Apparatus for loss-prevention of important image data
JP3669536B2 (en) Image encoding / decoding device and method
JP2005507620A (en) compression
JP2621337B2 (en) Predictive coding method for video using background prediction and its apparatus
JP3214849B2 (en) Image prediction decoding method and apparatus
KR100237307B1 (en) Dual speed decoding apparatus