JPH0470060A - Method and device for restoring picture data - Google Patents

Method and device for restoring picture data

Info

Publication number
JPH0470060A
JPH0470060A JP2180473A JP18047390A JPH0470060A JP H0470060 A JPH0470060 A JP H0470060A JP 2180473 A JP2180473 A JP 2180473A JP 18047390 A JP18047390 A JP 18047390A JP H0470060 A JPH0470060 A JP H0470060A
Authority
JP
Japan
Prior art keywords
block
coefficients
image
coefficient
dct
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
JP2180473A
Other languages
Japanese (ja)
Other versions
JP2887843B2 (en
Inventor
Tsuguo Noda
嗣男 野田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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
Priority to JP18047390A priority Critical patent/JP2887843B2/en
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to DE69132232T priority patent/DE69132232T2/en
Priority to EP00105960A priority patent/EP1022911B1/en
Priority to DE69133177T priority patent/DE69133177T2/en
Priority to EP98114620A priority patent/EP0880285B1/en
Priority to EP03012233A priority patent/EP1343329A1/en
Priority to EP96111838A priority patent/EP0740472B1/en
Priority to DE1991633401 priority patent/DE69133401T2/en
Priority to DE69133175T priority patent/DE69133175T2/en
Priority to EP91302272A priority patent/EP0447269B1/en
Priority to EP20020014939 priority patent/EP1250010A1/en
Priority to KR1019910004212A priority patent/KR940008151B1/en
Priority to CA002038478A priority patent/CA2038478A1/en
Publication of JPH0470060A publication Critical patent/JPH0470060A/en
Priority to US08/343,973 priority patent/US5689346A/en
Application granted granted Critical
Publication of JP2887843B2 publication Critical patent/JP2887843B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To restore the pictures at a high speed in hierarchical restorage by inhibiting the adverse quantization, the adverse DCT conversion, and the updating of a picture memory when no effective coefficient is included in a block. CONSTITUTION:The input code data are decoded by a decoding means 1 and turned into a quantization coefficiency. If no significant coefficient is included in the decoced quantization coefficient within a single block, the zero data are outputted as the restoration data. If the quantization coefficient contains a significant coefficient, an adverse quantization means 2 and an adverse DCT conversion means 3 are actuated for restoration of pictures. Then the restored picture data are selected by a selection means 6 and stored in a picture memory 7 at a 1st stage. At and after a 2nd stage, the picture data stored in the memory 7 are added to the picture date restored by the means 3 and this addition output is selected by the means 6 and stored in the memory 7. Meanwhile the block addresses are counted up and no addition is carried out in a block when the significant coefficient is not contained in the quantization coefficient within a block. Thus the pictures are restored at a high speed.

Description

【発明の詳細な説明】 〔概   要〕 多値画像を複数の画素からなるブロックに分割して、ブ
ロック内の画素を直交変換した後、符号化する多値画像
の直交変換符号化方式による信号を復元する画像データ
復元装置に関し、回路の増加を抑えて高速化のできる画
像データ復元装置を提供することを目的とし、 原画像を複数のN×N画素からなるブロックに分割し、
前記ブロック毎に前記複数のN×N画素の階調値を2次
元離散コサイン変換して得られる変換係数を量子化し、
得ら゛れた量子化係数を符号化した符号データから画像
を復元する装置において、入力する前記符号データを復
号する復号手段と、該復号手段で復号した量子化係数を
逆量子化してDCT係数を求める逆量子化手段と、逆量
子化手段によって逆量子化されたDCT係数を逆DCT
変換する逆DCT変換手段と、前記復号手段で復号され
たブロック内の量子化係数に有意係数が存在しない時、
前記逆量子化手段の逆量子化並びに前記逆DCT変換手
段の逆DCT変換を行わず復元画像データとして出力す
る制御を行う有意係数検出手段とを有するように構成す
る。
[Detailed Description of the Invention] [Summary] A signal based on an orthogonal transform encoding method for a multi-valued image in which a multi-valued image is divided into blocks each consisting of a plurality of pixels, the pixels within the block are orthogonally transformed, and then encoded. Regarding an image data restoration device that restores images, the purpose of the present invention is to provide an image data restoration device that can reduce the number of circuits and increase speed.
quantizing transform coefficients obtained by performing two-dimensional discrete cosine transform on the tone values of the plurality of N×N pixels for each block;
A device for restoring an image from encoded data obtained by encoding the obtained quantized coefficients includes a decoding means for decoding the inputted encoded data, and a dequantizing means for dequantizing the quantized coefficients decoded by the decoding means to obtain DCT coefficients. and inverse DCT of the DCT coefficients inversely quantized by the inverse quantization means.
When there is no significant coefficient among the quantized coefficients in the block decoded by the inverse DCT transform means to transform and the decoding means,
The apparatus is configured to include significant coefficient detection means for controlling output as restored image data without performing inverse quantization by the inverse quantization means and inverse DCT transformation by the inverse DCT transformation means.

〔産業上の利用分野〕 本発明は、データ圧縮された画像を復元する装置に係り
、更に詳しくは多値画像を複数の画素からなるブロック
に分割して、ブロック内の画素を直交変換した後、符号
化する多値画像の直交変換符号化方式による信号を復元
する画像データ復元装置に関する。
[Industrial Application Field] The present invention relates to a device for restoring a data-compressed image, and more specifically, the present invention relates to a device for restoring a data-compressed image, and more specifically, it divides a multivalued image into blocks each consisting of a plurality of pixels, and after orthogonally transforming the pixels in the block, The present invention relates to an image data restoring device for restoring a signal based on an orthogonal transform coding method for a multivalued image to be coded.

〔従来の技術] 画像データの高能率な圧縮方式として、例えば適応M敗
コサイン変換符号化方式がある。適応離散コサイン変換
符号化方式(Adaptive DiscreteLe
Cosine Transform : A D CT
 )は、例えば画像を8×8画素からなるブロックに分
割し、各ブロックの画信号を2次元離散コサイン変換に
より空間周波数分布の係数に変換し、視覚に適応した闇
値で量子化し、求めた量子化係数を統計的に求めたハフ
マン・テーブルにより符号化する方式である。
[Prior Art] As a highly efficient compression method for image data, there is, for example, an adaptive M-loss cosine transform encoding method. Adaptive Discrete Cosine Transform Coding
Cosine Transform: ADCT
), for example, is obtained by dividing an image into blocks of 8 x 8 pixels, converting the image signal of each block into coefficients of a spatial frequency distribution by two-dimensional discrete cosine transformation, and quantizing it with a darkness value adapted to visual perception. This is a method of encoding using a Huffman table in which quantization coefficients are statistically determined.

第6図はADCT方式の符号化回路のブロック図である
。以下、第6図を用いて符号化動作を詳細に説明する。
FIG. 6 is a block diagram of an ADCT encoding circuit. The encoding operation will be explained in detail below using FIG.

画像を第10図の原画像信号表に示す8×8画素からな
るブロックに分割し、端子31から2次元DCT変換部
32に入力する。2次元DCT変換部32では、入力さ
れた画信号をDCT変換により、直交変換して、第11
図のDCT係数図表に示す空間周波数分布の係数に変換
する。そして、線形量子化部33に出力する。
The image is divided into blocks each consisting of 8×8 pixels as shown in the original image signal table of FIG. The two-dimensional DCT transform unit 32 orthogonally transforms the input image signal by DCT transform, and converts the input image signal into the eleventh
It is converted into coefficients of the spatial frequency distribution shown in the DCT coefficient chart in the figure. Then, it is output to the linear quantization section 33.

第7図は2次元DCT変換部のブロック図である。入力
した画信号を先ず1次元DCT変換部32−1で変換す
る。そして転置部32−2で行と列の転置を行い、再度
1次元DCT変換部32−3で変換し、同様に転置部3
2−4で行と列の転置を行う、この2回の1次元DCT
変換によって2次元DCT変換している。なお、1次元
DCT変換部32−1.32−3は変換定数を用いて行
つ。
FIG. 7 is a block diagram of the two-dimensional DCT transform section. The input image signal is first converted by a one-dimensional DCT conversion section 32-1. Then, the transposing unit 32-2 transposes the rows and columns, and the one-dimensional DCT transforming unit 32-3 transforms the rows and columns again.
These two one-dimensional DCTs perform row and column transposition in 2-4.
A two-dimensional DCT transformation is performed. Note that the one-dimensional DCT conversion unit 32-1, 32-3 performs the conversion using conversion constants.

線形量子化部33では、入力されたDCT係数を第12
図の一般的なりCT係数に対する量子化闇値に示す闇値
で構成する量子化闇値保持部(量子化マトリクス)34
の値で除算することにより、線形量子化する。
The linear quantization unit 33 converts the input DCT coefficients into the 12th
Quantized dark value holding unit (quantization matrix) 34 configured with the dark values shown in the quantized dark values for general CT coefficients in the figure.
Linearly quantize by dividing by the value of .

第13図は量子化後のDCT係数(量子化係数)図表で
あり、DCT係数に関する闇値の一例として第12図に
示す定数を用いて量子化した結果である。第13図に示
すように闇値以下のDCT係数は0となり、DC成分と
わずかのAC成分のみが値を持つ量子化係数が生成され
る。
FIG. 13 is a chart of DCT coefficients (quantized coefficients) after quantization, which is the result of quantization using the constants shown in FIG. 12 as an example of dark values regarding DCT coefficients. As shown in FIG. 13, DCT coefficients below the dark value become 0, and quantized coefficients are generated in which only the DC component and a few AC components have values.

2次元的に配列された量子化係数はジグザグスキャンに
より、1次元に変換される。第14図は前述の量子化係
数の走査順序(ジグザグスキャン)の説明図である。1
ブロツクを8×8とした時には例えば、左上、続いてそ
の右そしてその左下、・・・と左下斜め方向に順次ドツ
トを選択する。
The two-dimensionally arranged quantized coefficients are converted into one-dimensional one by zigzag scanning. FIG. 14 is an explanatory diagram of the scanning order (zigzag scan) of the quantized coefficients mentioned above. 1
When the block is 8×8, for example, dots are selected in sequence in the upper left, then to the right, then to the lower left, and so on, diagonally to the lower left.

ジグザグスキャンにより選択的に順次読み出されたデー
タは可変長符号化部35に入力し、可変長符号化部35
は各ブロック先頭のDC成分と前ブロックのDC成分と
の差分を可変長符号化する。
The data selectively and sequentially read out by the zigzag scan is input to the variable length encoding unit 35.
variable-length encodes the difference between the DC component at the beginning of each block and the DC component of the previous block.

AC成分については有効係数(値が0でない係数)の値
(インデックス)とそこまでの無効係数(値が0の係数
)のランの長さ(ラン)を、ブロック毎に可変長符号化
する。DC,AC各成分は画像毎の統計量をもとに作成
するハフマン・テーブルで構成する符号表36を用いて
符号化され、得られた符号データは順次、端子37より
出力される。
For the AC component, the values (indexes) of effective coefficients (coefficients whose value is not 0) and the run length (run) of invalid coefficients (coefficients whose value is 0) up to that point are variable-length coded for each block. Each of the DC and AC components is encoded using a code table 36 consisting of a Huffman table created based on statistics for each image, and the obtained code data is sequentially output from a terminal 37.

一方、前述した符号データは以下の方法により画像に復
元される。第8図はADCT方式の復元回路のブロック
図である。端子40から入力した符号データは、可変長
復号部41に入力する。可変長復号部41では、前述し
た符号表36のハフマン・テーブルと逆のテーブルで構
成する復号表42により、入力された符号データをイン
デックスとランの固定長データに復号し、逆量子化部4
3に出力する。逆量子化部43は入力された量子化係数
を逆量子化マトリクス44に格納された値で乗算してD
CT係数を復元し、2次元逆DCT変換部45に出力す
る。2次元逆DCT変換部45は入力されたDCT係数
を逆DCT変換により直交変換し、空間周波数分布の係
数を画信号に変換する。
On the other hand, the code data described above is restored to an image by the following method. FIG. 8 is a block diagram of an ADCT type restoration circuit. Code data input from the terminal 40 is input to the variable length decoding section 41 . The variable-length decoding unit 41 decodes the input code data into fixed-length data of index and run using a decoding table 42 that is an inverse table to the Huffman table of the code table 36 described above.
Output to 3. The inverse quantization unit 43 multiplies the input quantization coefficient by the value stored in the inverse quantization matrix 44 to obtain D.
The CT coefficients are restored and output to the two-dimensional inverse DCT transform unit 45. The two-dimensional inverse DCT transform unit 45 orthogonally transforms the input DCT coefficients by inverse DCT transform, and transforms the coefficients of the spatial frequency distribution into an image signal.

さらに具体的に2次元逆DCT変換部45を説明する。More specifically, the two-dimensional inverse DCT transform unit 45 will be explained.

第9図は2次元逆DCT変換部のブロック図である。端
子40より入力したDCT係数は1次元逆DCT変換部
41−1で1次元逆DCT変換され、転置部41−2に
出力される。転置部41−2では1ブロツク内の係数の
行と列を入れ換えて1次元逆DCT変換部41−3に出
力する。
FIG. 9 is a block diagram of a two-dimensional inverse DCT transform section. The DCT coefficients input from the terminal 40 are subjected to one-dimensional inverse DCT transformation in a one-dimensional inverse DCT transformation section 41-1, and output to a transposition section 41-2. The transposing unit 41-2 transposes the rows and columns of the coefficients within one block and outputs the result to the one-dimensional inverse DCT transform unit 41-3.

1次元逆DCT変換部41−3は入力された転置後の係
数を再び1次元逆DCT変換し、転置部41−4に出力
する。転置部41−4は転置部41−2と同様に再度1
ブロツク内の係数の行と列を入れ換える。以上の動作に
より得られる信号は端子46から出力される。すなわち
、画像が復元される。尚、前述の1次元逆DCT変換部
41−1゜41−3は逆DCT変換定数を用いて変換す
る。
The one-dimensional inverse DCT transform unit 41-3 again performs one-dimensional inverse DCT transform on the input transposed coefficients, and outputs the result to the transpose unit 41-4. The transposing unit 41-4 again performs 1 in the same way as the transposing unit 41-2.
Swaps the rows and columns of coefficients within a block. The signal obtained by the above operation is output from the terminal 46. That is, the image is restored. Note that the aforementioned one-dimensional inverse DCT transform units 41-1 and 41-3 perform the transform using inverse DCT transform constants.

前述した復元について更に詳細に説明する。The above-mentioned restoration will be explained in more detail.

第15図は従来の復元回路(階層復元)のブロック図で
ある。第15図を用いて従来の階層復元方式を説明する
。符号データは端子51より可変長復号部52に入力さ
れる。DCT係数の走査順序をXOI、XO2,・・・
X64(第14図の1〜64に対応)とすると、可変長
復号部52では、まず第1項から第n1項(nl<64
)のDCT係数に対応する符号データを量子化されたD
CT係数に復号表53を用いて復号する。復号された量
子化係数は逆量子化部54に入力し、逆量子化部54は
量子化マトリクス55を用いてDCT係数に逆量子化す
る。逆量子化されたDCT係数は2次元逆DCT変換部
56で画像データに変換される。得られた画像データは
加算器57を介して画像メモリ58に保持され、端子5
9から出力される。次に、可変長復号部52は第n1項
から第n2項(nl<n2≦64)のDCT係数に対応
する符号データを量子化されたDCT係数に復号する。
FIG. 15 is a block diagram of a conventional restoration circuit (hierarchical restoration). A conventional hierarchy restoration method will be explained using FIG. 15. The encoded data is input from a terminal 51 to a variable length decoding section 52 . The scanning order of DCT coefficients is XOI, XO2,...
X64 (corresponding to 1 to 64 in FIG. 14), the variable length decoding unit 52 first calculates the first term to the n1 term (nl
) quantized code data corresponding to DCT coefficients D
The CT coefficients are decoded using the decoding table 53. The decoded quantized coefficients are input to the dequantization section 54, and the dequantization section 54 dequantizes them into DCT coefficients using a quantization matrix 55. The inversely quantized DCT coefficients are converted into image data by a two-dimensional inverse DCT transformer 56. The obtained image data is held in an image memory 58 via an adder 57, and is sent to a terminal 5.
Output from 9. Next, the variable length decoding unit 52 decodes the code data corresponding to the DCT coefficients from the n1th term to the n2th term (nl<n2≦64) into quantized DCT coefficients.

復号された量子化係数は逆量子化部54に出力され、D
CT係数に逆量子化する。逆量子化されたDCT係数は
2次元逆DCT変換部56で画像データに変換される。
The decoded quantized coefficients are output to the inverse quantization section 54 and D
Inverse quantization into CT coefficients. The inversely quantized DCT coefficients are converted into image data by a two-dimensional inverse DCT transformer 56.

そして得られた画像データと画像メモリ58に保持され
た画像データとを加算器57は加算して、再び画像メモ
リ58に格納し、端子59から出力する。最終的にDC
T係数バッファは第1項から第64項までのOCT係数
を画像データに復元して画像メモリ58に保持する。こ
のように、符号データを順次追加して最後に全てのデー
タを転送することで、1画面分の階層復元が完了する。
Then, the adder 57 adds the obtained image data and the image data held in the image memory 58, stores it in the image memory 58 again, and outputs it from the terminal 59. Eventually DC
The T-coefficient buffer restores the OCT coefficients from the first term to the 64th term into image data and stores it in the image memory 58. In this way, by sequentially adding code data and finally transferring all the data, the hierarchical restoration for one screen is completed.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来技術においては、DCT係数を画像に復元する際、
全てのブロックの画素のDCT係数を逆DCT・変換し
ていた。しかし、逆DCT変換は1ブロツクを8×8画
素とした場合、8×8のマトリクス演算であり、1画素
の変換に8回の乗算と7回の加算、すなわちlブロック
の64画素の変換には、512回の乗算と448回の加
算が必要となる。このため、1画面の全てのブロックの
画素を逆DCT変換した場合は、画像復元の高速化が困
難であるという問題があった。特に、予め定められた個
数に分割されたDCT係数毎に画像データ(差分データ
)を階層的に復元する場合には、第16図(A)、(B
)で表わすように、高次のDCT係数は零が多く、新た
に復元するブロック内のDCT係数が全て零の場合が多
くなる。ブロック内のDCT係数が全て零の場合には、
復元した画像データも全て零となるため、不必要な処理
を多く行うという問題があった。
In the conventional technology, when restoring DCT coefficients to an image,
The DCT coefficients of pixels in all blocks were subjected to inverse DCT/transformation. However, when one block is 8x8 pixels, the inverse DCT transform is an 8x8 matrix operation, and the conversion of one pixel requires eight multiplications and seven additions, that is, the conversion of 64 pixels of l block. requires 512 multiplications and 448 additions. For this reason, when the pixels of all blocks in one screen are subjected to inverse DCT transformation, there is a problem in that it is difficult to speed up image restoration. In particular, when restoring image data (difference data) hierarchically for each DCT coefficient divided into a predetermined number, FIGS.
), many high-order DCT coefficients are zero, and there are many cases where all DCT coefficients in a block to be newly restored are all zero. If all DCT coefficients in the block are zero,
Since the restored image data is also all zero, there is a problem in that a lot of unnecessary processing is performed.

本発明は、回路の増加を抑えて高速化のできる画像デー
タ復元装置を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide an image data restoration device that can increase speed while suppressing the increase in circuits.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明の原理ブロック図である。 FIG. 1 is a block diagram of the principle of the present invention.

本発明は原画像を複数のN×N画像からなるブロックに
分割し、前記ブロック毎に前記複数N×N画像の階調値
を2次元離散コサイン変換して得られる変換係数を量子
化し、得られた量子化係数を符号化した符号データから
画像を復元する装置におけるものである。
The present invention divides an original image into blocks consisting of a plurality of N×N images, and quantizes the transform coefficients obtained by performing two-dimensional discrete cosine transform on the tone values of the plurality of N×N images for each block. This is an apparatus for restoring an image from encoded data obtained by encoding quantized coefficients.

復号手段1は符号データを復号する。The decoding means 1 decodes coded data.

逆量子化手段2は前記復号手段1で復号した量子化係数
を逆量子化してDCT係数を求める。
The dequantizing means 2 dequantizes the quantized coefficients decoded by the decoding means 1 to obtain DCT coefficients.

逆DCT変換手段3は前記逆量子化手段2によって逆量
子化されたDCT係数を逆DCT変換する。
The inverse DCT transform means 3 performs inverse DCT transform on the DCT coefficients dequantized by the inverse quantization means 2.

有意係数検出手段4は前記復号手段1で復号されたブロ
ック内の量子化係数に有意係数が存在しない時、前記逆
量子化手段2の逆量子化並びに前記逆DCT変換手段3
の逆DCT変換復元画像データとして出力する制御を行
う。
When there is no significant coefficient among the quantized coefficients in the block decoded by the decoding means 1, the significant coefficient detection means 4 performs inverse quantization by the inverse quantization means 2 and inverse DCT transformation means 3.
Control is performed to output as inverse DCT transformed restored image data.

画像メモリ7は画像データを記憶する。Image memory 7 stores image data.

加算手段5は前記画像メモリ7の出力と前記逆DCT変
換手段3の出力とを加算する。尚、この加算は第1ステ
ージにおいては行わず、第2ステージ以後行う。
The addition means 5 adds the output of the image memory 7 and the output of the inverse DCT transformation means 3. Note that this addition is not performed in the first stage, but is performed after the second stage.

選択手段6は前記加算手段5の出力と前記逆DCT変換
手段3の出力とが加わり、前記第1ステージにおいては
前記逆DCT変換手段3の出力を選択し、第2ステージ
以後は前記加算手段5の出力を選択し、前記画像メモリ
7に加える。
The selection means 6 adds the output of the addition means 5 and the output of the inverse DCT transformation means 3, selects the output of the inverse DCT transformation means 3 in the first stage, and selects the output of the addition means 5 in the second stage and thereafter. output is selected and added to the image memory 7.

〔作   用〕[For production]

入力する符号データは復号手段1で復号化され、量子化
係数となる。■ブロック内においてこの復号化された量
子化係数に有意係数が存在しない時には零データを復元
データとして出力する。また有意係数を有する時には逆
量子化手段2、逆DCT変換手段3を動作させて画像を
復元する。
The input code data is decoded by the decoding means 1 and becomes a quantized coefficient. (2) When there is no significant coefficient among the decoded quantized coefficients within the block, zero data is output as restored data. Further, when there is a significant coefficient, the inverse quantization means 2 and the inverse DCT transformation means 3 are operated to restore the image.

さらに、復元して画像データを第1ステージでは画像メ
モリ7に選択手段6によって選択して格納し、第2ステ
ージ以後では画像メモリ7に記憶する画像データと逆D
CT変換手段3′で復元した画像データとを加算し、こ
の出力を選択手段6で選択して、画像メモリ7に格納す
る。
Further, in the first stage, the restored image data is selected and stored in the image memory 7 by the selection means 6, and in the second stage and thereafter, the image data stored in the image memory 7 is inverted.
The image data restored by the CT conversion means 3' is added, and this output is selected by the selection means 6 and stored in the image memory 7.

また、前記量子化係数が1ブロツク内において有意係数
が存在しない時にはブロックアドレスを歩進させ、ブロ
ック内の加算等を行わない。
Further, when the quantization coefficient does not have a significant coefficient within one block, the block address is incremented and addition within the block is not performed.

これにより、逆量子化、逆DCT変換の加算等の演算を
少なくすることができる。
Thereby, operations such as inverse quantization and addition of inverse DCT transform can be reduced.

〔実  施  例〕〔Example〕

第2図(A)は、本発明の第1の実施例の構成図である
FIG. 2(A) is a configuration diagram of the first embodiment of the present invention.

端子11から入力した符号データは可変長復号部12に
入力する。可変長復号部12はハフマン・テーブルと逆
のテーブルで構成する復号表13により、入力された符
号データをインデックスとランの固定長データに復号し
、逆量子化部14に出力する。逆量子化部14はブロッ
ク内の有意係数の数を判定し、有意係数が存在しない場
合には無効ブロック信号ZEROを2次元逆DCT変換
部16に出力する。また、有意係数が存在する場合には
量子化マトリクス15の各々の値により、入力された量
子化係数を乗算してDCT係数を復元し、2次元逆DC
T変換部16に出力する。2次元逆DCT変換部16は
、無効ブロック信号ZEROが入力された場合には、2
次元逆DCT変換を行わずに、無効ブロック信号ZER
Oを端子18に出力する。
Code data input from the terminal 11 is input to the variable length decoding section 12. The variable length decoding unit 12 decodes the input code data into fixed length data of an index and a run using a decoding table 13 that is an inverse table to a Huffman table, and outputs the decoded data to the dequantization unit 14. The inverse quantization section 14 determines the number of significant coefficients in the block, and outputs an invalid block signal ZERO to the two-dimensional inverse DCT transformation section 16 if there are no significant coefficients. In addition, if a significant coefficient exists, the input quantization coefficient is multiplied by each value of the quantization matrix 15 to restore the DCT coefficient, and the two-dimensional inverse DC
It is output to the T conversion section 16. When the invalid block signal ZERO is input, the two-dimensional inverse DCT transform unit 16
Invalid block signal ZER without performing dimensional inverse DCT transformation
O is output to terminal 18.

また、無効ブロック信号ZEROが入力されない場合に
は、入力されたDCT係数を逆DCT変換により直交変
換し、空間周波数分布の係数を画信号に変換し、端子1
7に出力する。
In addition, when the invalid block signal ZERO is not input, the input DCT coefficients are orthogonally transformed by inverse DCT transform, the coefficients of the spatial frequency distribution are converted to image signals, and the terminal 1
Output to 7.

以上の処理を繰り返すことにより、1!j面の画像が復
元される。
By repeating the above process, 1! The image of plane j is restored.

第2図(B)は本発明の動作フローチャートである。復
号データが入力すると実行を開始する。
FIG. 2(B) is an operation flowchart of the present invention. Execution begins when decrypted data is input.

先ず可変長復号処理S1を実行し、量子化係数である復
号データを得る。そして有意係数が存在するか否かを判
別S2する。有意係数が存在する場合(YES)には、
続いて逆量子化処理S3によって量子化係数を逆量子化
し、DCT係数を得る。
First, variable length decoding processing S1 is executed to obtain decoded data which are quantized coefficients. Then, it is determined whether a significant coefficient exists or not in step S2. If a significant coefficient exists (YES),
Subsequently, the quantized coefficients are dequantized by dequantization processing S3 to obtain DCT coefficients.

そのDCT係数を続いて2次元逆DCT変換S4し、復
元化信号を出力S5する。
The DCT coefficients are then subjected to two-dimensional inverse DCT transformation S4, and a restored signal is outputted S5.

一方、判別S2において有意係数が存在しない場合(N
o)には無効ブロック信号としてZERO出力を行う(
S6)、すなわちオール零データを出力する。処理S5
、処理S6の後には全ブロックが終了したか否かを判別
S7L、終了でない時(No)には再度前述の可変長復
号処理S1より実行する。また全ブロックが終了してい
る時(YES)には終了する。
On the other hand, if there is no significant coefficient in discrimination S2 (N
For o), ZERO output is performed as an invalid block signal (
S6), that is, all zero data is output. Processing S5
, After processing S6, it is determined whether all blocks have been completed or not in step S7L, and if not (No), the variable length decoding processing described above is executed again from step S1. Furthermore, when all blocks have been completed (YES), the process ends.

前述の処理でも明確なように有意係数が存在しない場合
にはall Zeroデータを出力するので逆量子化処
理、2次元DCT変換処理S3.S4を実行する必要が
なく、処理を高速化することができる。
As is clear from the above processing, all Zero data is output when there are no significant coefficients, so inverse quantization processing and two-dimensional DCT transformation processing S3. There is no need to execute S4, and the processing speed can be increased.

第3図は本発明の実施例の逆量子化部14内の無効ブロ
ック信号発生回路のブロック図、第4図は復号データ列
の別図である。
FIG. 3 is a block diagram of the invalid block signal generation circuit in the inverse quantization unit 14 according to the embodiment of the present invention, and FIG. 4 is another diagram of the decoded data string.

以下、第3図に示す本発明の無効ブロック信号発生回路
のブロック図に従って、ブロック内の有効係数の個数の
算出について説明する。
Hereinafter, calculation of the number of valid coefficients in a block will be explained according to the block diagram of the invalid block signal generation circuit of the present invention shown in FIG.

可変長復号部12で符号データから復号されたインデッ
クスとランの復号データは、端子10よリゾマルチプレ
クサ21に入力する。デマルチプレクサ21はタイミン
グ制御部25からの選択信号(C3L)に従って、入力
された復号データ列からインデックスとランの復号デー
タを交互に選択し、インデックス(IDX)をDCT係
数係数部元部28ラン(RUN)をブロック終了検出部
22に出力する。
The index and run decoded data decoded from the code data by the variable length decoding unit 12 are input to the reso multiplexer 21 through the terminal 10 . The demultiplexer 21 alternately selects index and run decoded data from the input decoded data string in accordance with the selection signal (C3L) from the timing control unit 25, and converts the index (IDX) into the DCT coefficient coefficient part 28 run ( RUN) is output to the block end detection section 22.

DC成分のみのブロックの場合(第4図(a))、最初
のDC成分の復号データ(Dl)はデマルチプレクサ2
1において選択され、DCT係数係数部元部28力され
る。そしてタイミング制御部25からの個数カウント信
号(ICN)に従って、有効係数個数算出部23に対象
ブロック内の有効係数の個数「1」をカウントする。ま
た、有効係数選択部26に復号データ(Dl)の存在す
るアドレス(ADR=O)が保持される。次にデマルチ
プレクサ21はラン(Reob)を選択し、ブロック終
了検出部22に出力する。ブロック終了検出部22は、
入力したラン(RUN)の値が(Reob)であるので
、ブロックの残りの画素の係数は全て無効係数であり、
ブロック内の係数が終了したと判断し、タイミング制御
部25にブロック内の有効係数の終了を指示する信号(
BEN)を出力する。そして、タイミング制御部25は
、有効係数個数判定部24にブロック内の有効係数の個
数の判定を指示(BCN)する。ブロック内の有効係数
の個数は1個であるので、有効係数個数判定部24は、
対象ブロックは有意係数が存在すると判断し、無効ブロ
ック信号ZEROを「0」として端子20から出力する
In the case of a block containing only DC components (FIG. 4(a)), the decoded data (Dl) of the first DC component is sent to the demultiplexer 2.
1 and input to the DCT coefficient part 28. Then, in accordance with the number count signal (ICN) from the timing control unit 25, the effective coefficient number calculation unit 23 counts the number of effective coefficients “1” in the target block. Further, the address (ADR=O) where the decoded data (Dl) exists is held in the effective coefficient selection unit 26. Next, the demultiplexer 21 selects a run (Reob) and outputs it to the block end detection section 22. The block end detection unit 22
Since the input run value (RUN) is (Reob), the coefficients of the remaining pixels of the block are all invalid coefficients,
A signal (
BEN) is output. Then, the timing control unit 25 instructs the effective coefficient number determining unit 24 to determine the number of effective coefficients in the block (BCN). Since the number of effective coefficients in the block is one, the effective coefficient number determination unit 24
It is determined that the target block has a significant coefficient, and the invalid block signal ZERO is output from the terminal 20 as "0".

一方、DCT係数係数部元部28、保持されている復号
データ(Dl)に量子化闇値保持部27のDC成分のア
ドレス(ADR=O)に保持されている量子化閾値を乗
算し、その結果を端子29から出力する。そして、2次
元逆DC’T変換部16で画像信号に変換し、ブロック
の全ての画素の画像信号を“復元する。
On the other hand, the DCT coefficient coefficient unit 28 multiplies the held decoded data (Dl) by the quantization threshold held at the DC component address (ADR=O) of the quantized dark value holding unit 27, and The result is output from terminal 29. Then, the two-dimensional inverse DC'T transform unit 16 converts it into an image signal, and "restores" the image signals of all the pixels of the block.

DC成分とAC成分の係数の存在するプロ・ンクの場合
(第4図(b))には、まず最初のDC成分の復号デー
タ(D2)をデマルチプレクサ21において選択し、D
CT係数係数部元部28力する。
In the case of a program in which DC component and AC component coefficients exist (FIG. 4(b)), first, the decoded data (D2) of the first DC component is selected in the demultiplexer 21, and the D
CT coefficient coefficient part 28 is input.

そして、タイミング制御部25からの個数カウント信号
(ICN)に従って、有効係数個数算出部23は対象ブ
ロック内の有効係数の個数「1」をカウントする。また
、有効係数選択部26は復号データ(Dl)の存在する
アドレス(ADR=O)を保持する。次にデマルチプレ
クサ2】は、ラン(RO)を選択し、ブロック終了検出
部22に出力する。入力されたラン(RUN)の値がR
Oであるので、ブロック終了検出部22はブロック内の
係数は終了していないと判断する。有効係数選択部26
では、入力されたラン(RUN)の値から次の有効係数
のアドレス(ADR)を算出し保持する。一方、デマル
チプレクサ21は今度はインデックス(11)を選択す
るので、入力されたインデックス(11)はDCT係数
係数部元部28持される。また、タイミング制御部25
からの個数カウント信号(’ICN)に従って、有効係
数個数算出部23に対象プロ・ンク内の有効係数の個数
[+IJが加算され、「2」がカウントされる。
Then, according to the number count signal (ICN) from the timing control unit 25, the effective coefficient number calculation unit 23 counts the number of effective coefficients “1” in the target block. Further, the effective coefficient selection unit 26 holds the address (ADR=O) where the decoded data (Dl) exists. Next, the demultiplexer 2] selects a run (RO) and outputs it to the block end detection section 22. The input run value is R
O, so the block end detection unit 22 determines that the coefficients within the block have not ended. Effective coefficient selection section 26
Then, the address (ADR) of the next effective coefficient is calculated from the input RUN value and held. On the other hand, since the demultiplexer 21 selects the index (11) this time, the input index (11) is held in the DCT coefficient coefficient unit 28. In addition, the timing control section 25
According to the number count signal ('ICN) from , the number of effective coefficients [+IJ] in the target program is added to the effective coefficient number calculation unit 23, and "2" is counted.

次にデマルチプレクサ21は、ラン(RO)を選択し、
ブロック終了検出部22に出力する。入力されたラン(
RUN)の値がROであるので、ブロック終了検出部2
2はブロック内の係数は終了していないと判断する。そ
こで、有効係数選択部26は入力されたラン(RUN)
の値から次の有効係数のアドレス(ADR)を算出し、
保持する。
Next, the demultiplexer 21 selects the run (RO),
It is output to the block end detection section 22. Entered run (
RUN) is RO, so the block end detection unit 2
2 determines that the coefficients in the block are not finished. Therefore, the effective coefficient selection unit 26 selects the input run (RUN).
Calculate the address (ADR) of the next effective coefficient from the value of
Hold.

一方、デマルチプレクサ21は、今度はインデックス(
I2)を選択する。この選択によって入力されたインデ
ックス(I2)は、DCT係数係数部元部28持される
。また、タイミング制御部25からの個数カウント信号
(ICN)に従って、有効係数個数算出部23に対象ブ
ロック内の有効係数の個数が「+1」加算され、「3」
がカウントされる。次にデマルチプレクサ21は、ラン
(Reob)を選択し、ブロック終了検出部22に出力
する。入力された信号はラン(Reob)であるので、
ブロック終了検出部22はブロックの残りの画素の係数
は全て無効係数でありブロック内の係数が終了したと判
断し、タイミング制御部25にブロック内の有効係数の
終了を指示する信号(BEN)を出力する。そして、タ
イミング制御部25は有効係数個数判定部24にブロッ
ク内の有効係数の個数の判定を指示(BCN)する。ブ
ロック内の有効係数の個数は3個であるので、有効係数
個数判定部24は対象ブロックは有意係数が存在すると
判断し、無効ブロック信号ZEROを「0」として端子
20から出力する。また、DCT係数係数部元部28保
持されている復号データ(DIII、12)に量子化閾
値保持部27の対応するアドレス(A、DR)に保持さ
れている量子化闇値を乗算し、その結果を端子29から
出力する。そして、2次元逆DCT変換部16で画像信
号に変換し、ブロックの全ての画素の画像信号を復元す
る。
On the other hand, the demultiplexer 21 now outputs the index (
Select I2). The index (I2) input by this selection is stored in the DCT coefficient coefficient unit 28. Further, according to the number count signal (ICN) from the timing control unit 25, the number of effective coefficients in the target block is added to the effective coefficient number calculation unit 23 by “+1”, and the number is “3”.
is counted. Next, the demultiplexer 21 selects a run (Reob) and outputs it to the block end detection section 22. Since the input signal is run (Reob),
The block end detection unit 22 determines that the coefficients of the remaining pixels in the block are all invalid coefficients and that the coefficients in the block have ended, and sends a signal (BEN) to the timing control unit 25 instructing the end of the valid coefficients in the block. Output. Then, the timing control section 25 instructs the effective coefficient number determining section 24 to determine the number of effective coefficients in the block (BCN). Since the number of valid coefficients in the block is three, the valid coefficient number determination unit 24 determines that the target block has significant coefficients, and outputs the invalid block signal ZERO from the terminal 20 as "0". Also, the decoded data (DIII, 12) held in the DCT coefficient coefficient unit 28 is multiplied by the quantized dark value held in the corresponding address (A, DR) of the quantization threshold holding unit 27, and the The result is output from terminal 29. Then, the two-dimensional inverse DCT transform unit 16 converts it into an image signal, and restores the image signals of all pixels of the block.

一方、階層復元の第2ステージ以降においては、デマル
チプレクサ21は、最初にランを選択する。
On the other hand, in the second and subsequent stages of hierarchy restoration, the demultiplexer 21 first selects a run.

有意係数が存在しない場合(第4図(C))には選択さ
れたラン(Reob)は、ブロック終了検出部22に出
力される。入力されたラン(RUN)の値がReobで
あるので、ブロック終了検出部22は、ブロックの残り
の画素の係数は全て無効係数でありブロック内の係数が
終了したと判断し、タイミング制御部25にブロック内
の有効係数の終了を指示する信号(BEN)を出力する
。そして、タイミング制御部25は、有効係数個数判定
部24にブロック内の有効係数の個数の判定を指示(B
CN)する。有効係数個数判定部24は、ブロック内の
有効係数の個数は0個であるので、対象ブロックは有意
係数が存在しないと判断し、無効ブロック信号ZERO
を「1」として端子20から出力し、当該ブロックの全
ての処理を終了する。
If there is no significant coefficient (FIG. 4(C)), the selected run (Reob) is output to the block end detection section 22. Since the input RUN value is Reob, the block end detection unit 22 determines that the coefficients of the remaining pixels in the block are all invalid coefficients and that the coefficients in the block have ended, and the timing control unit 25 A signal (BEN) instructing the end of the valid coefficients in the block is output. Then, the timing control unit 25 instructs the effective coefficient number determining unit 24 to determine the number of effective coefficients in the block (B
CN). Since the number of effective coefficients in the block is 0, the effective coefficient number determination unit 24 determines that there is no significant coefficient in the target block, and outputs an invalid block signal ZERO.
is output from the terminal 20 as "1", and all processing of the block is ended.

第5図は画像更新まで含めた場合の本発明の第2の実施
例のブロック図である。端子61より予め分割された第
1ステージの符号データDI(X01・・・Xn1:n
l〈64)を復号表63を用いて可変長復号部62で復
号し、逆量子化部64に入力する。第1ステージでは、
DC成分が含まれるため無効ブロック信号は「0」とし
て逆量子化部64は通常の逆量子化処理を量子化マトリ
クス65を用いて行う。ここで、逆量子化されたDCT
係数は2次元DCT変換部66に出力され、2次元逆D
CT変換部66で画像データに復元される。
FIG. 5 is a block diagram of a second embodiment of the present invention including image updating. First stage code data DI (X01...Xn1:n) divided in advance from the terminal 61
l<64) is decoded by the variable length decoding unit 62 using the decoding table 63 and input to the dequantization unit 64. In the first stage,
Since the DC component is included, the inverse quantization unit 64 sets the invalid block signal to "0" and performs normal inverse quantization processing using the quantization matrix 65. Here, the dequantized DCT
The coefficients are output to the two-dimensional DCT transform unit 66, and are converted into two-dimensional inverse DCT
The CT conversion unit 66 restores it to image data.

第1ステージであることを示す信号FIR5Tによりセ
レクタ69は、指示され、復元された分割画像データを
選択する。この時画像メモリ制御部67から出力される
書き込み信号WRITEに従って、画像メモリ68はセ
レクタ69で選択した2次元逆DCT変換部66の出力
を格納する。尚、この格納アドレスはアドレス発生部7
1より出力されるアドレスMADRとなる。以上の処理
を全てのブロックに対して繰り返すことにより、1画面
分の第1ステージの画像復元が終了する。
The selector 69 is instructed by the signal FIR5T indicating the first stage to select the restored divided image data. At this time, according to the write signal WRITE output from the image memory control section 67, the image memory 68 stores the output of the two-dimensional inverse DCT transformation section 66 selected by the selector 69. Note that this storage address is the address generator 7
1 becomes the address MADR output. By repeating the above processing for all blocks, the first stage image restoration for one screen is completed.

次に、第2ステージの符号データD2(Xnl+1 ・
・・Xn2 : nl<n2<64)を上記と同様の過
程で画像データに復元する。ただし、第4図(C)のよ
うに有意係数が存在しない場合、前述したと同様に無効
ブロック信号ZEROが「1」として出力される。この
時、画像メモリ制御部67は画像メモリへのアクセスを
行わず、第5図(b)に示すように、OR回路72を経
由して、ブロックアドレス発生カウンタ74の値を1だ
け増加させるだけで、該ブロックの処理を終了する。有
意係数が存在する場合には通常通り復元された画像デー
タは、加算部70で前段階の画像データと加算される。
Next, the second stage code data D2 (Xnl+1 ・
...Xn2: nl<n2<64) is restored to image data in the same process as above. However, if there is no significant coefficient as shown in FIG. 4(C), the invalid block signal ZERO is output as "1" as described above. At this time, the image memory control unit 67 does not access the image memory, but only increments the value of the block address generation counter 74 by 1 via the OR circuit 72, as shown in FIG. 5(b). Then, the processing of the block is ended. If a significant coefficient exists, the normally restored image data is added to the previous stage image data in the adding section 70.

セレクタ69はこの加算結果を選択し、画像メモリ制御
部67から出力される書き込み信号WRITEに従って
、画像メモリ68に書き込むとともに、アドレス更新要
求信号REQによりブロック内アドレスを発生する6ビ
ツトカウンタ73を1だけ増加する。そして画像メモリ
への書き込みアドレスMADRを更新する。ブロック内
の全ての画素の更新が終了すると、キャリー信号CAR
RYが6ビツトカウンタ73から出力され、OR回路7
2を介してブロックアドレス発生カウンタ74の値を1
だけ増加させ、該ブロックの処理を終了する。以上の処
理を全てのブロックに対して繰り返すことにより、1画
面分の第2ステージの画像復元が終了する。
The selector 69 selects this addition result, writes it to the image memory 68 according to the write signal WRITE output from the image memory control section 67, and also sets the 6-bit counter 73 that generates the intra-block address by 1 according to the address update request signal REQ. To increase. Then, the write address MADR to the image memory is updated. When all pixels in the block have been updated, the carry signal CAR
RY is output from the 6-bit counter 73, and the OR circuit 7
2 to set the value of the block address generation counter 74 to 1.
, and then ends the processing of the block. By repeating the above processing for all blocks, the second stage image restoration for one screen is completed.

第2ステージの処理と同じ処理を第1ステージの符号デ
ータD i  (Xni+1  ・・−X64:ni<
64)まで行うことで1画面分の階層復元が完成する。
The same processing as the second stage processing is performed on the first stage code data D i (Xni+1 . . . -X64:ni<
By performing steps up to 64), the hierarchy restoration for one screen is completed.

〔発明の効果] 以上説明したように本発明によれば、ブロック内に有効
係数が存在しない場合には、逆量子化、逆DCT変換、
および画像メモリの更新を行わないことにより、階層復
元時の画像復元の高速化を実現することができる。
[Effects of the Invention] As explained above, according to the present invention, when there are no effective coefficients in a block, inverse quantization, inverse DCT transformation,
Also, by not updating the image memory, it is possible to realize faster image restoration during hierarchical restoration.

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

第1図は本発明の原理ブロック図、 第2図(A)は本発明の第1の実施例の構成図、第2図
(B)は本発明の動作フローチャート、第3図は本発明
の実施例の無効ブロック信号発生回路のブロック図、 第4図は復号データ列の別図、 第5図は本発明の第2の実施例のブロック図、第6図は
ADCT方式の符号化回路のブロック図、 第7図は2次元DCT変換部のブロック図、第8図はA
DCT方式の復元回路のブロック図、第9図は2次元逆
DCT変換部の回路ブロックの別図、 第10図は原画像信号を表わす図、 第11図はDCT係数を表わす図、 第12図はDCT係数に対する闇値を表わす図、第13
図は量子化係数を表わす図、 第14図は量子化係数の走査順序の説明図、第15図は
従来のADCT階層復元部のブロック図、 第16図(A)はDCT係数の分割例(第1ステージ)
、 第16図(B)はDCT係数の分割例(第2ステージ)
である。 l・・・復号手段、 2・・・逆量子化手段、 3・・・逆DCT変換手段、 4・・・有意係数検出手段、 5・・・加算手段、 6・・・選択手段、 7・・・画像メモリ。
Figure 1 is a block diagram of the principle of the present invention, Figure 2 (A) is a configuration diagram of the first embodiment of the present invention, Figure 2 (B) is an operation flowchart of the present invention, and Figure 3 is a block diagram of the present invention. FIG. 4 is a block diagram of the invalid block signal generation circuit of the embodiment, FIG. 4 is another diagram of the decoded data string, FIG. 5 is a block diagram of the second embodiment of the present invention, and FIG. 6 is the ADCT encoding circuit. Block diagram: Figure 7 is a block diagram of the two-dimensional DCT transformer, Figure 8 is A
A block diagram of the restoration circuit of the DCT method, Figure 9 is another diagram of the circuit block of the two-dimensional inverse DCT transformer, Figure 10 is a diagram representing the original image signal, Figure 11 is a diagram representing the DCT coefficients, Figure 12 is a diagram representing the dark value for the DCT coefficient, the 13th
The figure shows quantization coefficients, Figure 14 is an explanatory diagram of the scanning order of quantization coefficients, Figure 15 is a block diagram of a conventional ADCT layer restoration unit, and Figure 16 (A) is an example of division of DCT coefficients ( 1st stage)
, Figure 16 (B) is an example of division of DCT coefficients (second stage)
It is. l...Decoding means, 2...Inverse quantization means, 3...Inverse DCT transformation means, 4...Significant coefficient detection means, 5...Addition means, 6...Selection means, 7. ...Image memory.

Claims (1)

【特許請求の範囲】 1)原画像を複数のN×N画素からなるブロックに分割
し、前記ブロック毎に前記複数のN×N画素の階調値を
2次元離散コサイン変換して得られる変換係数を量子化
し、得られた量子化係数を符号化した符号データから画
像を復元する装置において、 入力する前記符号データを復号する復号手段(1)と、 該復号手段(1)で復号した量子化係数を逆量子化して
DCT係数を求める逆量子化手段(2)と、 該逆量子化手段(2)によって逆量子化されたDCT係
数を逆DCT変換する逆DCT変換手段(3)と、 前記復号手段(1)で復号されたブロック内の量子化係
数に有意係数が存在しない時、前記逆量子化手段(2)
の逆量子化並びに前記逆DCT変換手段(3)の逆DC
T変換を行わず復元画像データとして出力する制御を行
う有意係数検出手段(4)とを有することを特徴とする
画像データ復元装置。 2)原画像を複数のN×N画素からなるブロックに分割
し、前記ブロック毎に前記複数のN×N画素の階調値を
2次元離散コサイン変換して得られる変換係数を量子化
し、得られた量子化係数を符号化した符号データから画
像を復元する装置において、 入力する前記符号データを復号する復号手段(1)と、 該復号手段(1)で復号した量子化係数を逆量子化して
DCT係数を求める逆量子化手段(2)と、 該逆量子化手段(2)によって逆量子化されたDCT係
数を逆DCT変換する逆DCT変換手段(3)と、 画像データを記憶する画像メモリ(7)と、前記画像メ
モリ(7)の出力と前記逆DCT変換手段(3)の出力
とを加算する加算手段(5)と、 該加算手段(5)の出力と前記逆DCT変換手段(3)
の出力とが加わり、第1ステージにおいて前記逆DCT
変換手段(3)の出力を選択し、第2ステージ以後は前
記加算手段(5)の出力を選択し前記画像メモリ(7)
に格納する選択手段(6)と、 前記復号手段(1)で復号されたブロック内の量子化係
数に有意係数が存在しない時、前記逆量子化手段(2)
の逆量子化並びに前記逆DCT変換手段(3)の逆DC
T変換を行わず復元画像データとして前記加算手段(5
)と前記選択手段(6)に出力する制御を行う有意係数
検出手段(4)とを有することを特徴とする画像データ
復元装置。 3)前記画像メモリ(7)はブロックアドレスとブロッ
ク内アドレスを発生し、前記復号手段(1)で復号され
たブロック内の量子化係数に有意係数が存在しない時前
記ブロックアドレスを歩進するアドレス発生手段を有す
ることを特徴とする請求項2記載の画像データ復元装置
。 4)原画像を複数のN×N画素からなるブロックに分割
し、前記ブロック毎に前記複数のN×N画素の階調値を
2次元離散コサイン変換して得られる変換係数を量子化
し、得られた量子化係数を符号化した符号データから画
像を復元する装置において、 入力する前記符号データを復号する復号手段と、該復号
手段によって復号された信号から当該ブロックの係数の
終了を検出するブロック終了検出手段と、 前記ブロック終了検出手段で当該ブロックの係数の終了
を検出するまで、当該ブロック内の有効係数の数をカウ
ントする有効係数個数算出手段と、前記有効係数個数算
出手段でカウントした当該ブロック内の有効係数の数を
判定する有効係数個数判定手段と、 を具備し、前記有効係数個数判定手段において当該ブロ
ック内の有効係数の数が0個と判定された場合には無効
ブロック信号を出力することを特徴とする画像データ復
元装置。 5)原画像を複数のN×N画素からなるブロックに分割
し、前記ブロック毎に前記複数のN×N画素の階調値を
2次元離散コサイン変換して得られる変換係数を量子化
し、得られた量子化係数を符号化した符号データから画
像を復元する装置において、 入力する前記符号データを量子化係数に復号し、該復号
した信号からブロック内の有意係数の有無を検出し、該
結果が無である時には無効ブロック信号を出力して零デ
ータを出力し、 前記結果が有である時には、前記量子化係数をDCT係
数に変換する逆量子化を行い、続いて得られたDCT係
数を逆DCT変換して画信号に復元することを特徴とす
る画像データ復元方法。
[Claims] 1) Transformation obtained by dividing the original image into blocks each consisting of a plurality of N×N pixels, and performing two-dimensional discrete cosine transformation on the gradation values of the plurality of N×N pixels for each block. A device that quantizes coefficients and restores an image from encoded data obtained by encoding the obtained quantized coefficients, comprising a decoding means (1) for decoding the inputted encoded data, and a quantum decoded by the decoding means (1). an inverse quantization means (2) that dequantizes a quantization coefficient to obtain a DCT coefficient; an inverse DCT transformation means (3) that performs an inverse DCT transformation on the DCT coefficient dequantized by the inverse quantization means (2); When there is no significant coefficient among the quantized coefficients in the block decoded by the decoding means (1), the inverse quantization means (2)
and the inverse DC of the inverse DCT transform means (3).
An image data restoring device comprising significant coefficient detection means (4) for controlling output as restored image data without performing T-transformation. 2) Divide the original image into blocks each consisting of a plurality of N×N pixels, and quantize the transform coefficients obtained by performing two-dimensional discrete cosine transform on the tone values of the plurality of N×N pixels for each block. A device for restoring an image from encoded data obtained by encoding quantized coefficients, comprising: a decoding means (1) for decoding the input coded data; and a dequantizing means for dequantizing the quantized coefficients decoded by the decoding means (1). an inverse DCT transform means (3) that performs inverse DCT transform on the DCT coefficients dequantized by the inverse quantizer (2); and an image that stores image data. a memory (7); an addition means (5) for adding the output of the image memory (7) and the output of the inverse DCT transformation means (3); and the output of the addition means (5) and the inverse DCT transformation means. (3)
and the output of the inverse DCT in the first stage
The output of the converting means (3) is selected, and after the second stage, the output of the adding means (5) is selected and the image memory (7)
selection means (6) for storing the quantization coefficients in the block; and when there is no significant coefficient among the quantized coefficients in the block decoded by the decoding means (1), the inverse quantization means (2)
and the inverse DC of the inverse DCT transform means (3).
The addition means (5
) and significant coefficient detection means (4) for controlling output to the selection means (6). 3) The image memory (7) generates a block address and an intra-block address, and an address that increments the block address when there is no significant coefficient among the quantized coefficients in the block decoded by the decoding means (1). 3. The image data restoration apparatus according to claim 2, further comprising a generating means. 4) Divide the original image into blocks each consisting of a plurality of N×N pixels, and quantize the transform coefficients obtained by performing two-dimensional discrete cosine transform on the tone values of the plurality of N×N pixels for each block. A device for restoring an image from coded data encoded with quantized coefficients, comprising: a decoding means for decoding the input coded data; and a block for detecting the end of the coefficient of the block from the signal decoded by the decoding means. end detection means; effective coefficient number calculation means for counting the number of effective coefficients in the block until the end of the coefficients of the block is detected by the block end detection means; effective coefficient number determining means for determining the number of effective coefficients in a block; and when the effective coefficient number determining means determines that the number of effective coefficients in the block is 0, an invalid block signal is sent. An image data restoration device characterized by outputting. 5) Divide the original image into blocks each consisting of a plurality of N×N pixels, and quantize the transform coefficients obtained by performing two-dimensional discrete cosine transform on the tone values of the plurality of N×N pixels for each block. A device for restoring an image from encoded data obtained by encoding quantized coefficients, which decodes the input coded data into quantized coefficients, detects the presence or absence of a significant coefficient in a block from the decoded signal, and extracts the result. When the result is null, it outputs an invalid block signal and zero data, and when the result is true, it performs inverse quantization to convert the quantized coefficients into DCT coefficients, and then converts the obtained DCT coefficients. An image data restoration method characterized by performing inverse DCT transformation to restore an image signal.
JP18047390A 1990-03-16 1990-07-10 Image data restoration method and apparatus Expired - Fee Related JP2887843B2 (en)

Priority Applications (14)

Application Number Priority Date Filing Date Title
JP18047390A JP2887843B2 (en) 1990-07-10 1990-07-10 Image data restoration method and apparatus
EP20020014939 EP1250010A1 (en) 1990-03-16 1991-03-15 An image data processing system
DE69133177T DE69133177T2 (en) 1990-03-16 1991-03-15 Image data processing system
EP98114620A EP0880285B1 (en) 1990-03-16 1991-03-15 An image data processing system
EP03012233A EP1343329A1 (en) 1990-03-16 1991-03-15 An image data processing system
EP96111838A EP0740472B1 (en) 1990-03-16 1991-03-15 An image data processing system
DE1991633401 DE69133401T2 (en) 1990-03-16 1991-03-15 System for processing image data
DE69133175T DE69133175T2 (en) 1990-03-16 1991-03-15 An image data processing system
DE69132232T DE69132232T2 (en) 1990-03-16 1991-03-15 System for processing image data
EP00105960A EP1022911B1 (en) 1990-03-16 1991-03-15 An image data processing system
EP91302272A EP0447269B1 (en) 1990-03-16 1991-03-15 An image data processing system
KR1019910004212A KR940008151B1 (en) 1990-03-16 1991-03-16 Image data processor and processing method thereof
CA002038478A CA2038478A1 (en) 1990-03-16 1991-03-18 Image data processing system
US08/343,973 US5689346A (en) 1990-03-16 1994-11-18 Image data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18047390A JP2887843B2 (en) 1990-07-10 1990-07-10 Image data restoration method and apparatus

Publications (2)

Publication Number Publication Date
JPH0470060A true JPH0470060A (en) 1992-03-05
JP2887843B2 JP2887843B2 (en) 1999-05-10

Family

ID=16083837

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18047390A Expired - Fee Related JP2887843B2 (en) 1990-03-16 1990-07-10 Image data restoration method and apparatus

Country Status (1)

Country Link
JP (1) JP2887843B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008136338A1 (en) * 2007-04-26 2008-11-13 Nec Corporation Dynamic image decoding device, dynamic image decoding program, and dynamic image decoding method
US7813569B2 (en) 2002-11-29 2010-10-12 Samsung Electronics Co., Ltd. MPEG video decoding method and MPEG video decoder using results from analysis of motion-vector data and DCT coefficients

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01213069A (en) * 1988-02-22 1989-08-25 Canon Inc Decoding system for encoded data
JPH0251978A (en) * 1988-08-15 1990-02-21 Fujitsu Ltd Image encoder

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01213069A (en) * 1988-02-22 1989-08-25 Canon Inc Decoding system for encoded data
JPH0251978A (en) * 1988-08-15 1990-02-21 Fujitsu Ltd Image encoder

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7813569B2 (en) 2002-11-29 2010-10-12 Samsung Electronics Co., Ltd. MPEG video decoding method and MPEG video decoder using results from analysis of motion-vector data and DCT coefficients
US8326060B2 (en) 2002-11-29 2012-12-04 Samsung Electronics Co., Ltd. Video decoding method and video decoder based on motion-vector data and transform coefficients data
WO2008136338A1 (en) * 2007-04-26 2008-11-13 Nec Corporation Dynamic image decoding device, dynamic image decoding program, and dynamic image decoding method
US8243813B2 (en) 2007-04-26 2012-08-14 Nec Corporation Moving picture decoding device, moving picture decoding program, and moving picture decoding method

Also Published As

Publication number Publication date
JP2887843B2 (en) 1999-05-10

Similar Documents

Publication Publication Date Title
EP0519962B1 (en) Digital image coding using a random scanning of image frames
US9510005B2 (en) Method and device for encoding blocks of values
JPH06237386A (en) Picture processing unit
JP3777002B2 (en) Video signal encoding method and video signal encoding apparatus
KR940009117B1 (en) Method and apparatus for recovery of image data
JP3105906B2 (en) Image processing device
JPH0470060A (en) Method and device for restoring picture data
JPH04220081A (en) Method and device for picture data decoding
JPH02122767A (en) Encoding/decoding system for picture signal
JP2887842B2 (en) Image data restoration method and apparatus
JP3392949B2 (en) Image compression device and image decompression device
JP3032281B2 (en) Image encoding method and image decoding method
JPH0310486A (en) Moving picture encoder
JP2710135B2 (en) Adaptive coding between frames / intra-frame
JP2802136B2 (en) Image data encoding method and apparatus
JPH0746407A (en) Picture data compressing device and picture data restoring device
JPH04215385A (en) Method and device for encoding/decoding image data
JPH0470061A (en) Method and device for coding picture data
JPH03243066A (en) Image coding system
JPH04220082A (en) Method and device for picture data decoding
JPH04255169A (en) Layer decoding system
JPH0470059A (en) Method and device for coding picture data
JPH03262382A (en) Method and apparatus for picture data coding and decoding
JPH04211574A (en) Image data restoring device
JPH0548903A (en) Zigzag scanning circuit

Legal Events

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