JPH01103387A - Compression device for picture data by prediction coding - Google Patents

Compression device for picture data by prediction coding

Info

Publication number
JPH01103387A
JPH01103387A JP62261283A JP26128387A JPH01103387A JP H01103387 A JPH01103387 A JP H01103387A JP 62261283 A JP62261283 A JP 62261283A JP 26128387 A JP26128387 A JP 26128387A JP H01103387 A JPH01103387 A JP H01103387A
Authority
JP
Japan
Prior art keywords
data
frame
compression
image data
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP62261283A
Other languages
Japanese (ja)
Other versions
JP2801911B2 (en
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 JP26128387A priority Critical patent/JP2801911B2/en
Publication of JPH01103387A publication Critical patent/JPH01103387A/en
Application granted granted Critical
Publication of JP2801911B2 publication Critical patent/JP2801911B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related 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

Landscapes

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

Abstract

PURPOSE:To reduce the time till the start of display and to improve the compression rate by providing a means compressing a picture data of each frame by an in-frame prediction coding and a means compressing the data by inter-frame prediction coding. CONSTITUTION:A picture data of each frame inputted from an input terminal IN is stored in a compression data memory 4 as a compression data by the in-frame prediction coding via an in-frame coding circuit 1 and a quantization circuit 2 or the like. Moreover, the input data is stored in a compression data memory 13 as a compression data by the inter-frame prediction coding via an arithmetic circuit 10 and a quantization circuit 11 or the like. Then a comparison control circuit 17 compares the data quantity in the memories 4, 13 via the counts of the address counters 15, 16 and selects the less data quantity as the final compression data and the picture data by one frame in the frame memory 7 is transferred to a reference frame memory 9 when the data of the memory 4 is selected. Thus, the compression pate is improved and the time till the start of display is reduced.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、画像データの記録・再生システムや伝送シス
テムなどに利用される画像データの圧縮装置に関するも
のである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an image data compression device used in image data recording/reproducing systems, transmission systems, and the like.

(従来の技術) 画像データの記録・再生システムや伝送システムなどで
は、フレーム構成の画像データについて記録容量や伝送
容量の節減を図るために、予測符号化によるデータ圧縮
が行われる。
(Prior Art) In image data recording/reproducing systems, transmission systems, and the like, data compression is performed using predictive encoding in order to reduce the recording capacity and transmission capacity of frame-structured image data.

この予測符号化は、画像データ相互の相関を利用した適
宜な方法で次に出現しそうなデータを予測し、この予測
値と実際に出現するデータとの差を予測誤差信号として
求め、この予測誤差信号を可変長符号化することによっ
て行われる。すなわち、予測の的中確率が高まるほど誤
差信号の分布が小レベルの領域にかたよるので、そのよ
うな誤差信号について小レベルのデータはど短い符号を
割り当てるような可変長符号化を行えばデータの圧縮が
可能となる。また、圧縮率を更に高めるために、予測誤
差信号に量子化を施したのち可変長符号化する圧縮方式
も汎用されている。
This predictive coding uses an appropriate method that utilizes the correlation between image data to predict the data that is likely to appear next, calculates the difference between this predicted value and the data that actually appears as a prediction error signal, and calculates the prediction error. This is done by variable length encoding the signal. In other words, the distribution of the error signal shifts to the small-level region as the probability of prediction accuracy increases, so if variable-length encoding is performed that assigns a short code to small-level data for such an error signal, the data can be reduced. Compression becomes possible. Furthermore, in order to further increase the compression rate, a compression method in which the prediction error signal is quantized and then variable-length encoded is also commonly used.

上記予測方法の最も簡単なものとして、同一フレーム内
の直前の画像データとの相関や、直前のフレーム内の同
一位置の画像データとの相関を利用してそれらを予測値
とするものがある。また、同一フレーム内や直前のフレ
ーム内の複数ライン上の画像データを組合せて予測値を
算定する二次元予測符号化方式などもある。従って、予
測符号化の方式としては、フレーム内の相関を利用する
フレーム内予測符号化の方式と、先行のフレームとの相
関を利用するフレーム間予測符号化の方式に大別される
The simplest of the above prediction methods is to use correlation with immediately preceding image data in the same frame or correlation with image data at the same position in the immediately preceding frame and use these as predicted values. There is also a two-dimensional predictive coding method that calculates a predicted value by combining image data on multiple lines within the same frame or the immediately preceding frame. Therefore, predictive coding methods are broadly divided into intraframe predictive coding methods that use correlation within a frame and interframe predictive coding methods that use correlation with the preceding frame.

フレーム内予測符号化の方式では、第4図に示すように
、各フレームの画像データVl、V2、v3・・・・に
ついてフレーム内予測符号化による圧縮データDI、D
2、D3・・・・が作成される。また、フレーム間予測
符号化方式の典型的なものでは、第5図に例示するよう
に、先頭のフレーム■1についてはフレーム内予測符号
化により圧縮データDiが作成され、後続の9個のフレ
ームv2〜vlOについては直前のフレームの画像デー
タを基準とするフレーム間予測符号化により圧縮データ
D2〜DIOが作成される。また、11番目のフレーム
Vllについては再びフレーム内予測符号化により圧縮
データDllが作成され、その後続の9個のフレームに
ついては再び直前のフレームの画像データを基準とする
フレーム間予測符号化が行われる。このように、所定の
フレーム間隔でフレーム内予測符号化による圧縮が行わ
れ、その間の各フレームについては直前のフレームとの
フレーム間予測符号化によるデータ圧縮が行われる。
In the intra-frame predictive coding method, as shown in FIG.
2, D3... are created. Furthermore, in a typical interframe predictive coding method, as illustrated in FIG. 5, compressed data Di is created by intraframe predictive coding for the first frame 1, and Regarding v2 to vlO, compressed data D2 to DIO are created by interframe predictive coding using the image data of the immediately previous frame as a reference. Furthermore, for the 11th frame Vll, compressed data Dll is created again by intra-frame predictive coding, and for the nine subsequent frames, inter-frame predictive coding is again performed using the image data of the immediately previous frame as a reference. be exposed. In this way, compression is performed by intra-frame predictive coding at predetermined frame intervals, and data compression is performed for each frame in between by inter-frame predictive coding with the immediately preceding frame.

フレーム間予測符号化によるデータ圧縮方式では、原理
的には、所定間隔のフレームの画像データを圧縮せずに
そのまま記録あるいは伝送してもよいが、圧縮率を更に
高めるため第5図に例示するように所定のフレーム間隔
でフレーム内予測符号化を行う場合が多い。また、フレ
ーム間予測符号化によるデータ圧縮方式では、記録や伝
送上の障害によって後続の圧縮データの復元が不能にな
ったり、圧縮と復元に伴う誤差の累積に伴い後続のフレ
ームはど画質が劣化したするのを防止するため、所定の
フレーム間隔で非圧縮データやフレーム内予測符号化に
よる圧縮データが記録あるいは伝送される。
In a data compression method using interframe predictive coding, in principle, image data of frames at predetermined intervals may be recorded or transmitted as they are without being compressed, but in order to further increase the compression rate, an example is shown in FIG. Intraframe predictive coding is often performed at predetermined frame intervals. In addition, with data compression methods using interframe predictive coding, subsequent compressed data may become impossible to restore due to recording or transmission failures, or the image quality of subsequent frames may deteriorate due to accumulation of errors during compression and restoration. In order to prevent this, uncompressed data or compressed data based on intraframe predictive coding is recorded or transmitted at predetermined frame intervals.

(発明が解決しようとする問題点) 上記従来の画像データの圧縮方式のうちフレーム内予測
符号化によるものでは、フレーム内相関がフレーム間相
関よりも小さい場合、例えば画面内に動きの小さな?j
lHな絵柄が出現する場合などには、フレーム間予測符
号化による方式に比べてデータ圧縮率が低下するという
欠点がある。
(Problems to be Solved by the Invention) Among the above-mentioned conventional image data compression methods, those using intra-frame predictive coding have problems when the intra-frame correlation is smaller than the inter-frame correlation, for example, if there is small movement within the screen. j
When a lH picture appears, this method has the disadvantage that the data compression rate is lower than that of a method using interframe predictive coding.

一方、フレーム間予測符号化による方式では、フレーム
間相関がフレーム内相関よりも小さい場合、例えば画面
内に動きの大きな簡単な図形が出現する場合などには、
フレー ム内予測符号化による方式に比べてデータ圧縮
率が低下するという欠点がある。また、このフレーム間
予測符号化による方式では、特定フレームからの再生・
表示を開始させようとする場合、この特定フレームに先
行する非圧縮データのフレームまで遡って圧縮データの
復元を行わなければならず、表示開始までに時間がかか
るという欠点もある。
On the other hand, in the interframe predictive coding method, when the interframe correlation is smaller than the intraframe correlation, for example, when a simple figure with large movement appears on the screen,
The disadvantage is that the data compression rate is lower than that of intraframe predictive coding. In addition, with this interframe predictive coding method, playback and
When attempting to start displaying, the compressed data must be restored by going back to the frame of uncompressed data that precedes this particular frame, which also has the drawback that it takes time to start displaying.

(問題点を解決するための手段) 本発明に係わる予測符号化による画像データの圧縮装置
は、各フレームの画像データをフレーム内予測符号化に
より圧縮する第1のデータ圧縮手段と、各フレームの画
像データを基準フレームの画像データとのフレーム間予
測符号化により圧縮する第2のデータ圧縮手段と、第1
.第2のデータ圧縮手段のそれぞれによる各フレームの
圧縮データのデータ量を比較しこのデータ量が少ない方
の圧縮データをこのフレームの最終圧縮データとして選
択すると共に、第1のデータ圧縮手段による圧縮データ
を最終圧縮データとして選択するたびに第2のデータ圧
縮手段における基準フレームの画像データを更新する手
段とを備え、画面の動きや絵柄に応じてフレーム内、フ
レーム間予測符号化による圧縮データのうちデータ量の
少ない方を動的に選択することにより、データ圧縮率を
高めるように構成されている。
(Means for Solving the Problems) An apparatus for compressing image data by predictive coding according to the present invention includes a first data compression means for compressing image data of each frame by intraframe predictive coding; a second data compression means for compressing the image data by interframe predictive coding with the image data of the reference frame;
.. The data amount of the compressed data of each frame by each of the second data compression means is compared, and the compressed data with the smaller data amount is selected as the final compressed data of this frame, and the compressed data by the first data compression means is selected as the final compressed data of this frame. means for updating the image data of the reference frame in the second data compression means each time the image data is selected as the final compressed data, and the image data of the reference frame in the second data compression means is updated according to the motion of the screen or the picture pattern. It is configured to increase the data compression rate by dynamically selecting the one with the smaller amount of data.

以下、本発明の作用を実施例と共に詳細に説明する。Hereinafter, the operation of the present invention will be explained in detail together with examples.

(実施例) 第1図は、本発明の一実施例に係わる予測符号化による
画像データの圧縮装置の構成を示すブロック図である。
(Embodiment) FIG. 1 is a block diagram showing the configuration of an image data compression apparatus using predictive encoding according to an embodiment of the present invention.

第1図において、INは圧縮対象の画像データの入力端
子、lはフレーム内符号化回路、2は量子化回路、3は
可変長符号化回路、4は圧縮データメモリ、5は逆量子
化回路、6はフレーム内復号化回路、7はフレームメモ
リ、8はスイッチ、9は基準フレームメモリ、10は減
算回路である。
In FIG. 1, IN is an input terminal for image data to be compressed, l is an intra-frame encoding circuit, 2 is a quantization circuit, 3 is a variable length encoding circuit, 4 is a compressed data memory, and 5 is an inverse quantization circuit. , 6 is an intra-frame decoding circuit, 7 is a frame memory, 8 is a switch, 9 is a reference frame memory, and 10 is a subtraction circuit.

さらに、11は量子化回路、12は可変長符号化回路、
13は圧縮データメモリ、15.16はアドレスカウン
タ、17は比較制御回路、18はスイッチ、OUTは圧
縮データの出力端子である。
Furthermore, 11 is a quantization circuit, 12 is a variable length encoding circuit,
13 is a compressed data memory, 15 and 16 are address counters, 17 is a comparison control circuit, 18 is a switch, and OUT is an output terminal for compressed data.

入力端子IN上に出現する各フレームの画像データは、
フレーム内符号化回路lにおいてフレーム内の所定位置
のデータを基準とするフレーム内予測誤差信号列に変換
される。このフレーム内予測誤差信号列は、量子化回路
2で量子化されたのち可変長符号化回路3で可変長符号
列に変換され、フレーム内予測符号化による圧縮データ
となって圧縮データメモリ4に格納される。一方、量子
化回路2から出力される量子化されたフレーム内予測誤
差信号列は、逆量子化回路5において元のフレーム内予
測誤差信号列に戻され、フレーム内復号化回路6におい
てフレーム内の所定位置のデータと加算されることによ
って元の画像データに復元されつつフレームメモリ7に
格納される。このフレームメモリ7内の格納データは、
比較制御回路17の比較結果に応じて選択的に閉じられ
るスイッチ8を経て基準フレームメモリ9に転送される
The image data of each frame appearing on the input terminal IN is
In the intraframe encoding circuit l, the signal is converted into an intraframe prediction error signal sequence based on data at a predetermined position within the frame. This intra-frame prediction error signal sequence is quantized by a quantization circuit 2, then converted into a variable-length code sequence by a variable-length encoding circuit 3, and is stored as compressed data by intra-frame prediction encoding in a compressed data memory 4. Stored. On the other hand, the quantized intra-frame prediction error signal sequence output from the quantization circuit 2 is returned to the original intra-frame prediction error signal sequence in the inverse quantization circuit 5, and the intra-frame prediction error signal sequence outputted from the quantization circuit 2 is returned to the original intra-frame prediction error signal sequence in the The image data is added to the data at a predetermined position, thereby being restored to the original image data and stored in the frame memory 7. The data stored in this frame memory 7 is
The signal is transferred to the reference frame memory 9 via the switch 8 which is selectively closed depending on the comparison result of the comparison control circuit 17.

また、入力端子IN上に出現する各フレームの画像デー
タについては、減算回路10において基準フレームメモ
リ9に保持中の基準フレームの画像データによる減算が
行われ、フレーム間予測誤差信号列となる。このフレー
ム間予測誤差信号列は、量子化回路11で量子化された
のち、可変長符号化回路12において可変長符号列に変
換され、フレーム間予測符号化による圧縮データとなっ
て圧縮データメモリ13に格納される。
Further, the image data of each frame appearing on the input terminal IN is subtracted by the image data of the reference frame held in the reference frame memory 9 in the subtraction circuit 10, and becomes an interframe prediction error signal sequence. This inter-frame prediction error signal sequence is quantized by a quantization circuit 11, and then converted into a variable-length code sequence by a variable-length encoding circuit 12, and becomes compressed data by inter-frame prediction encoding, and is stored in a compressed data memory 13. is stored in

比較回路15は、各フレームごとに、アドレスカウンタ
15と16のカウント値の比較から圧縮データメモリ1
4に格納中のフレーム内予測符号化による圧縮データの
量と、圧縮データメモリ13に格納中のフレーム間予測
符号化による圧縮データの量を比較し、データ量の少な
い方が最終圧縮データとして出力端子OUTに出力され
るようにスイッチ18を制御する。比較制御回路17は
、圧縮データメモリ4に格納中のフレーム内予測符号化
による圧縮データを最終圧縮データとして選択したとき
には、スイッチ8を閉じることによりフレームメモリ7
に格納中の1フレ一ム分の画像データを以後のフレーム
間予測符号化のための基準フレームの画像データとして
基準フレームメモリ9に転送させる。
The comparator circuit 15 compares the count values of the address counters 15 and 16 for each frame, and compares the count values of the address counters 15 and 16.
The amount of compressed data by intra-frame predictive coding stored in 4 and the amount of compressed data by inter-frame predictive coding stored in the compressed data memory 13 are compared, and the one with the smaller amount of data is output as the final compressed data. The switch 18 is controlled so that the signal is output to the terminal OUT. When the comparison control circuit 17 selects the compressed data stored in the compressed data memory 4 by intra-frame predictive encoding as the final compressed data, the comparison control circuit 17 closes the switch 8 to close the frame memory 7.
The image data for one frame currently stored in is transferred to the reference frame memory 9 as reference frame image data for subsequent interframe predictive coding.

第2図は、第1図に示した動画データの圧縮装置の動作
を説明するための概念図である。vl、v2、v3・・
・・は圧縮対象の各フレームの画像データであり、Dl
、D2、D3・・・・は対応のフレームの最終圧縮デー
タである。先頭に斜線を付して示す圧縮データD1はフ
レーム内予測符号化による圧縮データであり、これに続
く圧縮データD2、D3・・・D6はフレームviを基
準フレームとするフレーム間予測符号化による圧縮デー
タである。
FIG. 2 is a conceptual diagram for explaining the operation of the video data compression apparatus shown in FIG. 1. vl, v2, v3...
... is the image data of each frame to be compressed, and Dl
, D2, D3, . . . are the final compressed data of the corresponding frames. Compressed data D1 shown with diagonal lines at the beginning is compressed data by intra-frame predictive coding, and the following compressed data D2, D3...D6 are compressed by inter-frame predictive coding using frame vi as the reference frame. It is data.

フレーム間予測符号化による圧縮データD2、D3、D
4・・・D6のデータ量は、基準フレームをフレームv
1に固定している関係上、画面内の動きの累積を反映し
てデータ量が漸次増加してゆく。第2図の例では、フレ
ームv7においてフレーム間予測符号化による圧縮デー
タの量がフレーム内予測符号化による圧縮データの量を
上廻り、この結果、斜線が付されたフレーム内予測符号
化による圧縮データD7が最終圧縮データとして選択さ
れる。このフレームv7は、基準フレームメモリ9に格
納されて以後のフレーム間予測符号化のための新たな基
準フレームとなり、後続のフレームV8、V9・・・に
ついてはフレームV7を基準とするフレーム間予測符号
化による圧縮データD8、D9・・・が最終圧縮データ
として選択される。
Compressed data D2, D3, D by interframe predictive coding
4...The data amount of D6 is based on the reference frame as frame v.
Since it is fixed at 1, the amount of data gradually increases to reflect the accumulation of movements within the screen. In the example in FIG. 2, in frame v7, the amount of compressed data by interframe predictive coding exceeds the amount of compressed data by intraframe predictive coding, and as a result, compression by intraframe predictive coding is indicated by diagonal lines. Data D7 is selected as the final compressed data. This frame v7 is stored in the reference frame memory 9 and becomes a new reference frame for subsequent interframe predictive coding, and subsequent frames V8, V9, etc. are interframe predictive codes based on frame V7. The compressed data D8, D9, . . . are selected as the final compressed data.

なお、最終圧縮データDI、D2、D3・・・・のそれ
ぞれの先頭部分には、フレーム内予測符号化による圧縮
データであるかフレーム間予測符号化による圧縮データ
であるかを識別するための識別子が付される。
Furthermore, at the beginning of each of the final compressed data DI, D2, D3, etc., there is an identifier for identifying whether the data is compressed by intra-frame predictive encoding or by inter-frame predictive encoding. is attached.

第3図は、第1図の圧縮装置によって圧縮された画像デ
ータを復元するための復元装置の構成の一例を示すブロ
ック図であり、■は入力端子、21は可変長符号逆変換
回路、22は逆量子化回路、23はスイッチ、24は予
測モード切替え回路、25はフレーム内復号化回路、2
6は基準フレームメモリ、27は加算回路、0は出力端
子である。
FIG. 3 is a block diagram showing an example of the configuration of a restoration device for restoring image data compressed by the compression device shown in FIG. 2 is an inverse quantization circuit, 23 is a switch, 24 is a prediction mode switching circuit, 25 is an intra-frame decoding circuit, 2
6 is a reference frame memory, 27 is an adder circuit, and 0 is an output terminal.

入力端子I上に出現する各フレームの圧縮データD1、
D2、D3・・・・は、可変長符号逆変換回路21にお
いて量子化予測誤差信号列に変換され、逆量子化回路2
2で量子化前の予測誤差信号列に復元される。一方、予
測モード切替え回路24は、入力端子I上に出現する各
フレームの圧縮データの先頭に付加されている識別子か
ら、この圧縮データがフレーム内予測符号化によるもの
かフレーム間予測符号化によるものかを識別し、前者の
場合にはスイッチ23を第3図中の下側に切替え、後者
の場合にはスイッチ23を第3図中の上側に切替える。
Compressed data D1 of each frame appearing on input terminal I,
D2, D3... are converted into a quantized prediction error signal sequence in the variable length code inverse conversion circuit 21, and
2, it is restored to a prediction error signal sequence before quantization. On the other hand, the prediction mode switching circuit 24 determines whether the compressed data is based on intraframe predictive coding or interframe predictive coding based on the identifier added to the beginning of the compressed data of each frame appearing on input terminal I. In the former case, the switch 23 is switched to the lower side in FIG. 3, and in the latter case, the switch 23 is switched to the upper side in FIG. 3.

第2図の例では、先頭の圧縮データD1はフレーム内予
測符号化によるものであるため、逆量子化回路22から
出力された予測誤差信号列はスイッチ23を経てフレー
ム内復号化回路25に供給され、フレーム内の基準点と
予測誤差信号列との加算により画像データに復元され、
基準フレームメモリ26に格納される。この基準フレー
ムメモリ26内に格納された動画データは加算回路27
を経てそのまま出力端子0に供給され、第2図の復元デ
ータv1”となる。
In the example of FIG. 2, since the first compressed data D1 is obtained by intraframe predictive encoding, the prediction error signal sequence output from the dequantization circuit 22 is supplied to the intraframe decoding circuit 25 via the switch 23. is restored to image data by adding the reference point in the frame and the prediction error signal sequence,
It is stored in the reference frame memory 26. The video data stored in this reference frame memory 26 is stored in an adding circuit 27.
The data is then supplied as is to output terminal 0, and becomes restored data v1'' in FIG.

次の圧縮データD2が出現するとスイッチ23が第3図
中の上側に切替えられ、逆量子化回路22から出力され
たフレーム間予測誤差信号列は、加算回路27において
基準フレームの復元データVl’ と加算され、第2図
に示す復元済みの動画データV2’ となって出力端子
Oに供給される。
When the next compressed data D2 appears, the switch 23 is switched to the upper side in FIG. The sum is added, and the restored moving image data V2' shown in FIG. 2 is supplied to the output terminal O.

後続の圧縮データD3、D4、D5、D6についても、
圧縮データD3の場合と同様に、加算回路27において
基準フレームの復元データVl’  と加算され、第2
図に示す復元済みの動画データ■3’、V4”、V5’
 、V6’ となって出力端子0に供給される。
Regarding the subsequent compressed data D3, D4, D5, and D6,
As in the case of the compressed data D3, it is added to the restored data Vl' of the reference frame in the adding circuit 27, and the second
Restored video data shown in the figure ■3', V4'', V5'
, V6' and are supplied to output terminal 0.

次の圧縮データD7はフレーム内予測符号化によるもの
であるため、スイッチ23を経てフレーム内復号化回路
25において基準フレームの復元データV7’ となり
、基準フレームメモリ26と加算回路27を経て出力端
子Oに供給される。後続の圧縮データD8、D9・・・
については、基準フレームメモリ26に保持中の基準フ
レームの復元データv7°に基づき復元が行われる。
The next compressed data D7 is generated by intra-frame predictive coding, so it passes through the switch 23, becomes the restored data V7' of the reference frame in the intra-frame decoding circuit 25, passes through the reference frame memory 26 and the adder circuit 27, and is sent to the output terminal O. is supplied to Subsequent compressed data D8, D9...
, restoration is performed based on the restoration data v7° of the reference frame held in the reference frame memory 26.

第3図の復元装置が、第2図の圧縮装置による圧縮を受
けつつ記録された画像データの再生装置内に設置される
場合において特定のフレーム、例えばフレーム■6°か
らの再生と表示の開始が指令されたものとする。図示し
ない再生制御部は、まず、再生開始フレームとして指定
されたフレーム■6°に先行する最隣接の基準フレーム
の圧縮データDIを続出して基準フレームv1°を復元
し、これを基準フレームメモリ26に格納したのち圧縮
データD6、D7、D8・・・・を読出しつつフレーム
V6’ 、V7’ 、V3′ ・・・の復元と表示を行
う。このように、本発明の圧縮方式によれば、中間(7
)7tz−ムV2’ 、V3’ 、V4’、■5゛につ
いては復元が不要となり、復元画面を表示するまでの時
間が短縮される。
When the restoration device shown in FIG. 3 is installed in a playback device for image data recorded while being compressed by the compression device shown in FIG. 2, playback and display start from a specific frame, for example, frame ■6°. is assumed to have been ordered. The playback control unit (not shown) first successively outputs the compressed data DI of the nearest reference frame preceding the frame ■6° designated as the playback start frame, restores the reference frame v1°, and stores it in the reference frame memory 26. The frames V6', V7', V3', . . . are restored and displayed while reading out the compressed data D6, D7, D8, . In this way, according to the compression method of the present invention, the intermediate (7
)7tz-mes V2', V3', V4', and ■5'' do not need to be restored, and the time required to display the restored screen is shortened.

(発明の効果) 以上詳細に説明したように、本発明に係わる予測符号化
による画像データの圧縮装置は、フレーム内予測符号化
による第1のデータ圧縮手段と、フレーム間予測符号化
による第2のデータ圧縮手段と、各圧縮データのうちデ
ータ量の少ない方を最終圧縮データとして選択する手段
とを備え、各予測符号化方式による圧縮データを画面の
動きや絵柄に応じてデータ量の少ない方を動的に選択す
る構成であるから、画像データの圧縮率を有効に高める
ことができる。
(Effects of the Invention) As explained in detail above, the image data compression device using predictive coding according to the present invention includes a first data compression means using intraframe predictive coding and a second data compression means using interframe predictive coding. and a means for selecting the one with the smaller amount of data from each compressed data as the final compressed data. Since the configuration dynamically selects the image data, the compression rate of image data can be effectively increased.

また、本発明に係わる画像データの圧縮装置によれば、
圧縮済み画像データの特定のフレームを指定して再生、
復元、表示を開始させようとする場合、従来のフレーム
間予測符号化による圧縮データと異なり中間のフレーム
についての再生、復元が不要になる。このため、表示開
始までの時間を短縮できるという効果もある。
Further, according to the image data compression device according to the present invention,
Specify and play a specific frame of compressed image data,
When starting restoration and display, unlike compressed data using conventional interframe predictive coding, there is no need to reproduce or restore intermediate frames. This also has the effect of shortening the time until display starts.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例に係わる画像データの圧w1
装置の構成を示すブロック図、第2図は第1図の画像デ
ータの圧縮装置の動作を説明するための概念図、第3図
は第1図の圧縮装置によって圧縮された画像データを復
元するための復元装置の構成の一例を示すブロック図、
第4図はフレーム内予測符号化によるデータ圧縮方法を
説明するための概念図、第5図はフレーム間予測符号化
によるデータ圧縮方法を説明するための概念図である。 IN・・・圧縮対象の画像データの入力端子、l・・・
フレーム内符号化回路、2.11・・・量子化回路、3
.12・・・可変長符号化回路、4.13・・・圧縮デ
ータメモリ、5・・・逆量子化回路、6・・・フレーム
内復号化回路、9・・・基準フレームメモリ、15.1
6・・・アドレスカウンタ、17・・・比較制御回路、
OUT・・・圧縮された画像データの出力端子、■・・
・復元対象の圧縮データの入力端子、21・・・可変長
符号逆変換回路、22・・・逆量子化回路、24・・・
予測モード切替え回路、25・・・フレーム内複号化回
路、26・・・基準フレームメモリ、0・・・復元デー
タの出力端子、ViV2、v3・・・・・圧縮対象の画
像データ、Di、D2、D3・・・・・・圧縮済みの画
像データ、vlo、v2°、v3° ・・・・・復元済
みの画像データ。 第2図 箋 3 図 第41 か 5 図
FIG. 1 shows the pressure w1 of image data according to an embodiment of the present invention.
A block diagram showing the configuration of the device, FIG. 2 is a conceptual diagram for explaining the operation of the image data compression device shown in FIG. 1, and FIG. 3 shows how the image data compressed by the compression device shown in FIG. 1 is restored. A block diagram showing an example of the configuration of a restoration device for
FIG. 4 is a conceptual diagram for explaining a data compression method using intra-frame predictive coding, and FIG. 5 is a conceptual diagram for explaining a data compression method using inter-frame predictive coding. IN...Input terminal for image data to be compressed, l...
Intraframe encoding circuit, 2.11... quantization circuit, 3
.. 12... Variable length encoding circuit, 4.13... Compressed data memory, 5... Inverse quantization circuit, 6... Intraframe decoding circuit, 9... Reference frame memory, 15.1
6... Address counter, 17... Comparison control circuit,
OUT... Output terminal for compressed image data, ■...
- Input terminal for compressed data to be restored, 21... variable length code inverse conversion circuit, 22... inverse quantization circuit, 24...
Prediction mode switching circuit, 25... Intraframe decoding circuit, 26... Reference frame memory, 0... Output terminal for restored data, ViV2, v3... Image data to be compressed, Di, D2, D3...Compressed image data, vlo, v2°, v3°...Restored image data. 2nd paper note 3 Figure 41 or 5

Claims (1)

【特許請求の範囲】 各フレームの画像データをフレーム内予測符号化により
圧縮する第1のデータ圧縮手段と、各フレームの画像デ
ータを基準フレームの画像データとのフレーム間予測符
号化により圧縮する第2のデータ圧縮手段と、 前記第1、第2のデータ圧縮手段のそれぞれによる各フ
レームの圧縮データのデータ量を比較しこのデータ量が
少ない方の圧縮データをこのフレームの最終圧縮データ
として選択すると共に、前記第1のデータ圧縮手段によ
る圧縮データを前記最終圧縮データとして選択するたび
に前記第2のデータ圧縮手段における基準フレームの画
像データを更新する手段とを備えたことを特徴とする予
測符号化による画像データの圧縮装置。
[Scope of Claims] A first data compression means that compresses the image data of each frame by intraframe predictive encoding; and a first data compression means that compresses the image data of each frame by interframe predictive encoding with the image data of a reference frame. Compare the amount of compressed data of each frame by the second data compression means and the first and second data compression means, and select the compressed data with the smaller data amount as the final compressed data of this frame. and means for updating the image data of the reference frame in the second data compression means each time compressed data by the first data compression means is selected as the final compression data. Image data compression device using
JP26128387A 1987-10-16 1987-10-16 Apparatus for compressing image data by predictive coding Expired - Fee Related JP2801911B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26128387A JP2801911B2 (en) 1987-10-16 1987-10-16 Apparatus for compressing image data by predictive coding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26128387A JP2801911B2 (en) 1987-10-16 1987-10-16 Apparatus for compressing image data by predictive coding

Publications (2)

Publication Number Publication Date
JPH01103387A true JPH01103387A (en) 1989-04-20
JP2801911B2 JP2801911B2 (en) 1998-09-21

Family

ID=17359663

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26128387A Expired - Fee Related JP2801911B2 (en) 1987-10-16 1987-10-16 Apparatus for compressing image data by predictive coding

Country Status (1)

Country Link
JP (1) JP2801911B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5327173A (en) * 1989-06-19 1994-07-05 Fujitsu Limited Moving image coding apparatus and moving image decoding apparatus
JP2013524652A (en) * 2010-04-07 2013-06-17 リグオリ,ヴィンチェンツォ Video transmission system with reduced memory requirements
JP2016533077A (en) * 2013-07-23 2016-10-20 ノキア テクノロジーズ オーユー Video encoding / decoding device, method, and computer program
US10136150B2 (en) 2013-07-11 2018-11-20 Nokia Technologies Oy Apparatus, a method and a computer program for video coding and decoding

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61114677A (en) * 1984-11-09 1986-06-02 Nec Corp Adaptability prediction coding decoding system and device for animation signal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61114677A (en) * 1984-11-09 1986-06-02 Nec Corp Adaptability prediction coding decoding system and device for animation signal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5327173A (en) * 1989-06-19 1994-07-05 Fujitsu Limited Moving image coding apparatus and moving image decoding apparatus
JP2013524652A (en) * 2010-04-07 2013-06-17 リグオリ,ヴィンチェンツォ Video transmission system with reduced memory requirements
US10136150B2 (en) 2013-07-11 2018-11-20 Nokia Technologies Oy Apparatus, a method and a computer program for video coding and decoding
JP2016533077A (en) * 2013-07-23 2016-10-20 ノキア テクノロジーズ オーユー Video encoding / decoding device, method, and computer program
US10154274B2 (en) 2013-07-23 2018-12-11 Nokia Technologies Oy Apparatus, a method and a computer program for video coding and decoding

Also Published As

Publication number Publication date
JP2801911B2 (en) 1998-09-21

Similar Documents

Publication Publication Date Title
EP1261208B1 (en) Encoding continuous image data
US6198773B1 (en) Video memory management for MPEG video decode and display system
JPH0974566A (en) Compression encoder and recording device for compression encoded data
JP3302939B2 (en) Video signal decompressor for independently compressed even and odd field data
US20070110158A1 (en) Encoding apparatus, encoding method, decoding apparatus, and decoding method
EP1280356A2 (en) Apparatus and method for compressing multiplexed video signals
JPH01103387A (en) Compression device for picture data by prediction coding
JP3128393B2 (en) Compressed video playback device
JPH09121352A (en) Method and apparatus for coding and decoding video data stream for all pixel in video data stream
JPH04354489A (en) Picture coder
JPH0795536A (en) Device and method for reversely reproducing moving image
JPH07143487A (en) Image coder
JP3141149B2 (en) Image coding device
JPH10164596A (en) Motion detector
JPH0898142A (en) Picture reproduction device
JPH08130715A (en) Picture reproducing device
KR100210124B1 (en) Data deformatting circuit of picture encoder
JPH06276482A (en) Picture signal coding method, coder, decoding method and decoder
JPH03106190A (en) Moving picture coding control system
JP2001112002A (en) Digital moving picture decoder capable of image size conversion
JPH0767073A (en) Picture recording and reproducing device
JP2001094937A (en) Image recorder, method and storage medium
JPH10178643A (en) Signal compressing device
JPH09331531A (en) Image coder
JPH0662390A (en) Dynamic image encoding and decoding device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees