JPH03177163A - Picture data decoding system - Google Patents

Picture data decoding system

Info

Publication number
JPH03177163A
JPH03177163A JP1316708A JP31670889A JPH03177163A JP H03177163 A JPH03177163 A JP H03177163A JP 1316708 A JP1316708 A JP 1316708A JP 31670889 A JP31670889 A JP 31670889A JP H03177163 A JPH03177163 A JP H03177163A
Authority
JP
Japan
Prior art keywords
quantization
component
coefficients
coefficient
data
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
JP1316708A
Other languages
Japanese (ja)
Inventor
Tsuguo Noda
嗣男 野田
Masahiro Fukuda
昌弘 福田
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
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1316708A priority Critical patent/JPH03177163A/en
Publication of JPH03177163A publication Critical patent/JPH03177163A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To quicken the inverse quantization processing by selectively applying inverse quantization only to a valid component included in a quantized coefficient. CONSTITUTION:A valid component fed from a selection means 121 and not zero in the quantization coefficients is fed to a multiplier means 123. Moreover, a quantized threshold level corresponding to the valid component in the quantized threshold levels stored in advance in a storage means 122 is outputted and fed to the multiplier means 123. Thus, the component of the quantization coefficient fed from the multiplier means 123 and the component of the quantized threshold level are multiplied, then only the valid component in the quantization coefficient is selectively subject to inverse quantization. Thus, the inverse quantization processing as to the valid component being zero included in the quantization coefficient is omitted and the quantization processing is quickened.

Description

【発明の詳細な説明】 〔目 次〕 概要 産業上の利用分野 従来の技術 発明が解決しようとする!l!題 課題を解決するための手段 作用 実施例 ■、実施例と第1図との対応関係 ■、実施例の構成および動作 発明の効果 〔概 要〕 直交変換方式による符号化データを復元するようにした
画像データ復元方式に関し、 復元処理に要する時間の短縮を目的とし、画像をそれぞ
れ複数の画素からなる複数のブロックに分割し、これら
のブロックの画素データを直交変換して得られる変換係
数の各成分を量子化し、この量子化処理によって生成さ
れた量子化係数を符号化して生成された符号化データが
導入され、符号化データを復号手段によって復号して得
られる量子化係数を逆量子化手段によって逆量子化し、
この逆量子化手段によって生成された変換係数を直交変
換手段により直交変換して画像データを生成する画像デ
ータ復元方式において、逆量子化手段は、復号手段から
供給される量子化係数の中の値が零でない有効な成分を
選択する選択手段と、変換係数の各成分に対応する量子
化闇値を格納しており、選択手段によって選択された有
効な成分に対応する量子化闇値を出力する格納手段と、
選択手段によって選択された有効な成分と格納手段によ
り出力された有効な成分に対応する量子化闇値の成分と
を乗算し、この乗算結果を有効な成分に対応する変換係
数の成分として出力する乗算手段とを備えるように構成
する。
[Detailed description of the invention] [Table of contents] Overview Industrial field of application Conventional technology The invention attempts to solve! l! Means-effect embodiment for solving the problem ■, Correspondence relationship between the embodiment and FIG. In order to reduce the time required for the restoration process, the image data restoration method was developed by dividing the image into multiple blocks each consisting of multiple pixels, and by orthogonally transforming the pixel data of these blocks. The encoded data generated by quantizing the component and encoding the quantized coefficients generated by this quantization process is introduced, and the quantized coefficients obtained by decoding the encoded data by the decoding means are dequantized. Dequantize by
In the image data restoration method in which image data is generated by orthogonally transforming the transform coefficients generated by the dequantization means by the orthogonal transformation means, the dequantization means converts the values in the quantized coefficients supplied from the decoding means. A selection means for selecting an effective component for which is not zero, and a quantized darkness value corresponding to each component of the conversion coefficient are stored, and the quantized darkness value corresponding to the effective component selected by the selection means is outputted. storage means;
Multiplying the effective component selected by the selection means and the quantized dark value component corresponding to the effective component output by the storage means, and outputting this multiplication result as a component of the conversion coefficient corresponding to the effective component. and a multiplication means.

〔産業上の利用分野〕[Industrial application field]

本発明は、例えば中間階調画像やカラー画像などの多値
画像の画像データ復元方式に関し、特に、多値画像をそ
れぞれ複数の画素からなるブロックに分割し、各ブロッ
ク内の画素を直交変換した後に符号化した符号化データ
を復元するようにした画像データ復元方式に関するもの
である。
The present invention relates to an image data restoration method for multivalued images such as halftone images and color images, and in particular, the present invention relates to an image data restoration method for multivalued images such as halftone images and color images. The present invention relates to an image data restoration method that restores encoded data that is encoded later.

中間階調画像やカラー画像などの多値画像を表す画像デ
ータの情報量は膨大であるため、これらの画像データを
蓄積したり伝送したりする際には、情報量の圧縮を行な
う必要がある。
Since the amount of information in image data representing multivalued images such as halftone images and color images is enormous, it is necessary to compress the amount of information when storing and transmitting this image data. .

このような多値画像の画像データの特徴を損なうことな
く情報量を圧縮する符号化方式として、直交変換を利用
した適応離散コサイン変換符号化方式(Adaptiv
e Discrete Co51ne Transfo
rm、以下ADCT方式と称する)が広く用いられてい
る。
As a coding method that compresses the amount of information without impairing the characteristics of the image data of such a multivalued image, an adaptive discrete cosine transform coding method (Adaptive
e Discrete Co51neTransfo
rm (hereinafter referred to as ADCT method) is widely used.

〔従来の技術〕[Conventional technology]

第5図に、ADCT方式を適用した符号化装置の構成を
示す。
FIG. 5 shows the configuration of an encoding device to which the ADCT method is applied.

符号化しようとする画像は、例えば8×8画素からなる
ブロック(第6図参照)に分割され、これらの各ブロッ
クの画素データが、DCT変換部511に入力される。
The image to be encoded is divided into blocks (see FIG. 6) each consisting of, for example, 8×8 pixels, and the pixel data of each of these blocks is input to the DCT transform unit 511.

このDCT変換部511は、入力された画素データに対
して2次元離散コサイン変換(以下、DCTと称する)
を行なうことにより、各ブロックの画素データを直交変
換する。これにより、各ブロックの画像の空間周波数分
布を表すDCT係数りが、第7図に示すような8行8列
の行列として生成され、線形量子化部520に供給され
る。
This DCT transformation unit 511 performs two-dimensional discrete cosine transformation (hereinafter referred to as DCT) on input pixel data.
By performing this, the pixel data of each block is orthogonally transformed. As a result, DCT coefficients representing the spatial frequency distribution of the image of each block are generated as a matrix of 8 rows and 8 columns as shown in FIG. 7, and are supplied to the linear quantization unit 520.

線形量子化部520においては、上述したDCT係数り
を視覚に適合した視覚適応闇値を用いて量子化する処理
が行なわれる。
In the linear quantization unit 520, processing is performed to quantize the above-mentioned DCT coefficients using a vision adaptive darkness value adapted to vision.

この視覚適応闇値は、各空間周波数に対する視覚の感度
を調べた視覚実験の結果に基づいて決められたものであ
る。この量子化マトリクスVyHは、第8図に示すよう
な8行8列の行列の形で与えられており、DCT係数り
の各成分をこの量子化マトリクスVTNの各成分て除算
することにより、線形量子化部520による量子化処理
が行なわれる。
This vision adaptive darkness value was determined based on the results of a vision experiment that investigated the sensitivity of vision to each spatial frequency. This quantization matrix VyH is given in the form of a matrix of 8 rows and 8 columns as shown in FIG. 8, and by dividing each component of the DCT coefficient by each component of this quantization matrix VTN, a linear Quantization processing is performed by the quantization unit 520.

第9図に、上述した量子化マトリクスVy、Iによって
量子化されたDCT係数(以下、量子化係数D0゜と称
する)の例を示す、第7図に示したように、DCT係数
りの高い空間周波数に対応する成分は、量子化閾値の対
応する成分の値よりも小さい絶対値を持っているため、
これらのDCT係数の成分はrQJに量子化されている
FIG. 9 shows an example of DCT coefficients (hereinafter referred to as quantization coefficient D0°) quantized by the above-mentioned quantization matrices Vy and I. As shown in FIG. Since the component corresponding to the spatial frequency has a smaller absolute value than the value of the corresponding component of the quantization threshold,
The components of these DCT coefficients are quantized to rQJ.

このように、DC成分を示す行列の左上隅の成分とAC
成分の中の低い空間周波数の成分を示す極少数の成分の
みがrQ1以外の値に量子化されることが多い。
In this way, the component in the upper left corner of the matrix indicating the DC component and the AC
Only a very small number of components representing low spatial frequency components among the components are often quantized to values other than rQ1.

上述したようにして生成された量子化係数[)IILI
は、第10図に示すような順序で出力され、1次元デー
タとして符号化部531に入力される。また、このよう
に、行列の成分を第10図に示したような順序で出力し
て1次元データに変換することを、ジグザグスキャンと
称する。
The quantized coefficient [)IILI generated as described above
are outputted in the order shown in FIG. 10 and inputted to the encoding unit 531 as one-dimensional data. Furthermore, outputting matrix components in the order shown in FIG. 10 and converting them into one-dimensional data in this manner is called zigzag scanning.

符号化部531においては、まず、rQJ以外の値を持
つ量子化係数り、Uの成分(以下、インデックスと称す
る)が検出され、このインデックスに続く量子化係数I
)ouの成分としてrQlが連続して供給される回数(
以下、ランと称する)が計数される。以下、rQ1以外
の値を有する量子化係数り、uの成分を有効係数と称し
、値がrQJである量子化係数I)00の成分を無効係
数と称する。
In the encoding unit 531, first, a quantized coefficient U component (hereinafter referred to as an index) having a value other than rQJ is detected, and a quantized coefficient I following this index is detected.
) the number of times rQl is continuously supplied as a component of ou (
(hereinafter referred to as runs) are counted. Hereinafter, the component of the quantization coefficient u having a value other than rQ1 will be referred to as an effective coefficient, and the component of the quantization coefficient I)00 having a value rQJ will be referred to as an invalid coefficient.

例えば、第9図に示した量子化係数I)IILIを上述
したジグザグスキャンによって1次元データとしたもの
をインデックスとランの組み合わせとじて表すと第3図
のようになる。
For example, when the quantization coefficient I) IILI shown in FIG. 9 is converted into one-dimensional data by the above-mentioned zigzag scan and expressed as a combination of index and run, the result is as shown in FIG.

ここで、各ブロックの最初のインデックスデータは、こ
のブロックのDC成分に対応しており、図において、イ
ンデックスデータD、は、1画面の画像の中におけるm
番目のブロックのDC成分を示している。また、インデ
ックスデータh。
Here, the first index data of each block corresponds to the DC component of this block, and in the figure, the index data D is m in the image of one screen.
The DC component of the block is shown. Also, index data h.

・・・、1.のそれぞれは、量子化係数I)ouの(1
゜1)成分、・・・、(4,1)成分のそれぞれの値を
示しており、また、ランデータR1は、ランがri」で
あることを示している。また、ランデータRmobは、
そのブロックについて求められた量子化係数り、uの残
りの成分が全て無効係数であることを示している。
..., 1. each of (1) of the quantization coefficient I)ou
. . , the (4,1) component, and the run data R1 indicates that the run is "ri". In addition, the run data Rmob is
The quantization coefficients obtained for the block indicate that all remaining components of u are invalid coefficients.

このインデックスとランとの組み合わせは、符号表53
2に格納されたハフマン−テーブルに基づいて、各組み
合わせの出現頻度に応じた長さの符号に変換される。
The combination of this index and run is code table 53.
Based on the Huffman table stored in 2, each combination is converted into a code with a length corresponding to the frequency of appearance.

ここで、ハフマン−テーブルは、画像を符号化した際の
符号データ量を少なくするために、インデックスとラン
との組み合わせの出現頻度が高い順に短い符号を割り当
てるように決められたものである。
Here, in order to reduce the amount of code data when encoding an image, the Huffman table is determined so that short codes are assigned in descending order of the frequency of appearance of combinations of index and run.

このようにして、1つのブロックの画像が符号化され、
上述した動作を1画面に含まれる全てのブロックについ
て繰り返すことにより、1画面の画像データが符号化さ
れ、この符号化データが伝送路などを介して伝送され、
あるいは、ディスク装置などに蓄積される。
In this way, one block of images is encoded,
By repeating the above operations for all blocks included in one screen, the image data of one screen is encoded, and this encoded data is transmitted via a transmission path etc.
Alternatively, it is stored in a disk device or the like.

このようにして生成された符号化データは、第11図に
示すような復元装置によって、画像データに復元される
The encoded data generated in this manner is restored to image data by a restoration device as shown in FIG.

復号表612には、可変長符号に対応してインデックス
とランとの組み合わせが表の形で格納されており、この
復号表612に基づいて、復号部611により、供給さ
れた符号化データの復号処理が行なわれる。この復号処
理により、有効係数の値を示すインデックスデータと、
この有効係数に続く無効係数の数を示すランデータとが
、交互に逆量子化部620に供給される。
The decoding table 612 stores combinations of indexes and runs corresponding to variable length codes in the form of a table, and based on this decoding table 612, the decoding unit 611 decodes the supplied encoded data. Processing is performed. Through this decoding process, index data indicating the value of the effective coefficient,
Run data indicating the number of invalid coefficients following the valid coefficients are alternately supplied to the inverse quantization unit 620.

この逆量子化部620の量子化闇値保持部626には、
上述した量子化マトリクスV?llが格納されている。
The quantized dark value holding unit 626 of this inverse quantization unit 620 has
The above-mentioned quantization matrix V? ll is stored.

また、復号部611からの復号データは、逆量子化部6
20のデマルチプレクサ621に供給されるようになっ
ている。
Further, the decoded data from the decoding unit 611 is transferred to the dequantization unit 6
20 demultiplexers 621.

また、アドレスカウンタ627は、タイ果ング制御部6
22から供給された画素更新信号に応じて計数動作を行
ない、この計数値をアドレスとして量子化係数保持部6
28に供給するようになっている。
Further, the address counter 627 is connected to the tie control section 6.
A counting operation is performed in accordance with the pixel update signal supplied from 22, and the quantization coefficient holding unit 6 uses this counted value as an address.
28.

供給された復号データは、タイ逅ング制御部622から
供給される選択信号に応じて、デマルチプレクサ621
により分離され、インデックスデータはマルチプレクサ
623に、ランデータはラン長判定部624に供給され
る。
The supplied decoded data is sent to the demultiplexer 621 according to the selection signal supplied from the tie selection control section 622.
The index data is supplied to a multiplexer 623 and the run data is supplied to a run length determination section 624.

ラン長判定部624は、供給されたランデータで示され
た無効係数の数を保持し、上述した画素更新信号のパル
スがこの無効係数の数だけ供給されるまでの間だけ論理
“0′°となる切換信号をマルチプレクサ623に供給
するようになっている。
The run length determining unit 624 holds the number of invalid coefficients indicated by the supplied run data, and maintains the logic "0'°" until pulses of the above-mentioned pixel update signal are supplied by the number of invalid coefficients. A switching signal is supplied to the multiplexer 623.

このマルチプレクサ623により、インデックスデータ
の入力に応じて、このインデックスデータを出力すると
ともに、上述した切換信号に応して、零発生器625か
ら出力された「01を出力することにより、符号化処理
の際に省略された無効係数が挿入され、量子化係数I)
ouを1次元データに変換したものが再生される。
This multiplexer 623 outputs the index data in response to the index data input, and also outputs "01" output from the zero generator 625 in response to the above-mentioned switching signal, thereby controlling the encoding process. The invalid coefficients that were omitted during the process are inserted, and the quantized coefficients I)
ou converted into one-dimensional data is reproduced.

このマルチプレクサ623の出力を、上述したアドレス
カウンタ627の出力に対応して、量子化係数保持部6
28に格納することにより、8行8列の行列形式の量子
化係数I)ouが復元される。
The output of this multiplexer 623 is sent to the quantization coefficient holding unit 6 in accordance with the output of the address counter 627 mentioned above.
28, the quantized coefficient I)ou in a matrix format of 8 rows and 8 columns is restored.

次に、タイミング制御部622により、量子化係数保持
部628と量子化rilj(I!保持部626とが続出
モードに切り換えられ、アドレスカウンタ627から出
力される続出アドレスに対応して、量子化係数1)ou
と量子化マトリクスVTHとの各成分が順次に読み出さ
れる。
Next, the timing control section 622 switches the quantization coefficient holding section 628 and the quantization rilj (I! 1)ou
Each component of the quantization matrix VTH and the quantization matrix VTH are sequentially read out.

乗算器629により量子化係数D1の各成分と量子化マ
トリクス■THの各成分との乗算を行なうことにより、
量子化係数I)QUの逆量子化処理が行なわれ、DCT
係数わが復元される。
By multiplying each component of the quantization coefficient D1 by each component of the quantization matrix TH by the multiplier 629,
Quantization coefficient I) Inverse quantization processing of QU is performed, and DCT
The coefficients are restored.

逆DCT変換部631は、このDCT係数りに対して逆
DCT変換を行なうことにより、各ブロックのDCT係
数りが直交変換され、各ブロックの画像データが復元さ
れる。
The inverse DCT transform unit 631 performs inverse DCT transform on the DCT coefficients, thereby orthogonally transforming the DCT coefficients of each block and restoring the image data of each block.

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

ところで、上述した従来方式にあっては、乗算器629
によって、復元された量子化係数り、Llの全ての成分
について、量子化マトリクス■。。の対応する成分との
乗算が行なわれる。このため、1ブロツクに対応する量
子化係数D(ILIを逆量子化するためには、必ず64
回の乗算処理が必要となる。
By the way, in the conventional method described above, the multiplier 629
For all components of Ll, the quantization coefficients are restored by the quantization matrix ■. . Multiplication with the corresponding component of is performed. Therefore, in order to dequantize the quantization coefficient D (ILI) corresponding to one block, it is necessary to
This requires multiple multiplication operations.

従って、1画面の画像を復元する際には、膨大な回数の
乗算処理が行なわれるため、復元処理に要する時間が長
いという問題点があった。
Therefore, when restoring an image of one screen, multiplication processing is performed an enormous number of times, resulting in the problem that the time required for the restoration processing is long.

しかしながら、零との乗算の結果が零であることは明ら
かであるから、量子化係数I)l+11に含まれる値が
rQJである成分(つまり無効係数)についての乗算処
理は無駄な処理である。
However, since it is clear that the result of multiplication with zero is zero, the multiplication process for the component whose value is rQJ (that is, the invalid coefficient) included in the quantization coefficient I)l+11 is a wasteful process.

一方、上述したように、量子化係数[)ouの大半の成
分が無効係数となっている場合が多いので、無駄な処理
となる無効係数についての乗算を省略して、有効係数と
これに対応する量子化マトリクスVtHの成分との乗算
のみを行なうようにすれば、逆量子化処理を高速化し、
画像の復元処理に要する時間を短縮することが可能であ
ると考えられる。
On the other hand, as mentioned above, most of the components of the quantization coefficient [ If only the multiplication with the component of the quantization matrix VtH is performed, the speed of the inverse quantization process can be increased.
It is considered possible to shorten the time required for image restoration processing.

本発明は、このような点にかんがみて創作されたもので
あり、符号化データの復元処理に要する時間を短縮する
ようにした画像データ復元方式を提供することを目的と
している。
The present invention was created in view of these points, and an object of the present invention is to provide an image data restoration method that reduces the time required for restoration processing of encoded data.

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

第1図は、本発明の画像データ復元方式の原理ブロック
図である。
FIG. 1 is a principle block diagram of the image data restoration method of the present invention.

図において、画像をそれぞれ複数の画素からなる複数の
ブロックに分割し、これらのブロックの画素データを直
交変換して得られる変換係数の各成分を量子化し、この
量子化処理によって生成された量子化係数を符号化して
生成された符号化データが導入され、符号化データを復
号手段111によって復号して得られる量子化係数を逆
量子化手段120によって逆量子化し、この逆量子化手
段120によって生成された変換係数を直交変換手段1
41により直交変換して画像データを生成する画像デー
タ復元方式における逆量子化手段120は、復号手段1
11から供給される量子化係数の中の値が零でない有効
な成分を選択する選択手段121と、変換係数の各成分
に対応する量子化闇値を格納しており、選択手段121
によって選択された有効な成分に対応する量子化闇値を
出力する格納手段122と、選択手段121によって選
択された有効な成分と格納手段122により出力された
有効な成分に対応する量子化闇値の成分とを乗算し、こ
の乗算結果を有効な成分に対応する変換係数の成分とし
て出力する乗算手段123とを備えて構成されている。
In the figure, an image is divided into multiple blocks each consisting of multiple pixels, each component of the transform coefficient obtained by orthogonally transforming the pixel data of these blocks is quantized, and the quantization generated by this quantization process is performed. Encoded data generated by encoding the coefficients is introduced, the decoding means 111 decodes the encoded data, the quantized coefficients obtained are dequantized by the dequantization means 120, and the dequantization means 120 generates the quantized coefficients. The transformed coefficients are converted into orthogonal transform means 1.
The inverse quantization means 120 in the image data restoration method that generates image data through orthogonal transformation using the decoding means 1
a selection means 121 for selecting an effective component whose value is not zero among the quantization coefficients supplied from the transform coefficient;
a storage means 122 for outputting a quantized darkness value corresponding to the effective component selected by the selection means 121 and a quantized darkness value corresponding to the effective component selected by the selection means 121 and the effective component output by the storage means 122; , and outputs the multiplication result as a component of the conversion coefficient corresponding to the effective component.

〔作 用〕[For production]

復号手段111により、導入された符号化データの復号
処理が行なわれ、生成された量子化係数が、逆量子化手
段120の選択手段121に供給される。
The decoding means 111 decodes the introduced encoded data, and the generated quantization coefficients are supplied to the selection means 121 of the dequantization means 120.

この選択手段121により、供給された量子化係数の中
の値が零でない有効な成分が選択され、乗算手段123
に供給される。また、このとき、格納手段122により
、予め格納されている量子化闇値の中の上述した有効な
成分に対応する量子化闇値が出力され、乗算手段123
に供給される。
This selection means 121 selects an effective component whose value is not zero among the supplied quantization coefficients, and the multiplication means 123
is supplied to At this time, the storage means 122 outputs a quantized dark value corresponding to the above-mentioned effective component among the quantized dark values stored in advance, and the multiplication means 123
is supplied to

従って、乗算手段123により、供給された量子化係数
の成分と量子化闇値の成分とを乗算することにより、量
子化係数の中の上述した有効な成分のみが選択的に逆量
子化される。
Therefore, by multiplying the supplied quantization coefficient component and the quantized dark value component by the multiplication means 123, only the above-mentioned effective components among the quantization coefficients are selectively dequantized. .

本発明にあっては、量子化係数の中の有効な成分とこの
有効な成分に対応する量子化闇値の成分とを選択的に乗
算手段123に供給することにより、上述した有効な成
分のみが選択的に逆量子化されるので、量子化係数に含
まれる値が零である無効な成分についての逆量子化処理
を省略して、乗算処理の回数を削減することができるの
で、量子化処理を高速に行なうことができる。
In the present invention, by selectively supplying the effective component in the quantized coefficient and the component of the quantized dark value corresponding to this effective component to the multiplication means 123, only the above-mentioned effective component is is selectively dequantized, so the dequantization process for invalid components whose quantization coefficients have zero values can be omitted, and the number of multiplication processes can be reduced. Processing can be performed at high speed.

〔実施例〕〔Example〕

以下、図面に基づいて本発明の実施例について詳細に説
明する。
Hereinafter, embodiments of the present invention will be described in detail based on the drawings.

第2図は、本発明の一実施例における画像データ復元方
式を適用した復元装置の構成を示す。
FIG. 2 shows the configuration of a restoration device to which the image data restoration method in one embodiment of the present invention is applied.

I    と 1゛との・・  、 ここで、本発明の実施例と第1図との対応関係を示して
おく。
I and 1゛... Here, the correspondence between the embodiment of the present invention and FIG. 1 will be shown.

復号手段111は、復号部211.復号表212に相当
する。
The decoding means 111 includes a decoding section 211. This corresponds to the decoding table 212.

逆量子化部120は、逆量子化部220に相当する。The dequantization section 120 corresponds to the dequantization section 220.

選択手段121は、アドレス算出部222.アドレス保
持部223.量子化係数保持部226に相当する。
The selection means 121 includes an address calculation section 222. Address holding unit 223. This corresponds to the quantization coefficient holding section 226.

格納手段122は、アドレス算出部222.アドレス保
持部223.i量子化閾値保持部227に相当する。
The storage unit 122 includes an address calculation unit 222. Address holding unit 223. This corresponds to the i quantization threshold holding unit 227.

乗算手段123は、乗算器228に相当する。Multiplying means 123 corresponds to multiplier 228.

直交変換手段141は、逆DCT変換部241に相当す
る。
The orthogonal transform means 141 corresponds to the inverse DCT transform section 241.

以上のような対応関係があるものとして、以下本発明の
実施例について説明する。
Examples of the present invention will be described below assuming that the correspondence relationship as described above exists.

■、    の  および 第2図において、211は復号部を、212は復号表を
、220は逆量子化部を、241は逆DCT変換部をを
それぞれ示している。
2, 2 and 2, 211 indicates a decoding section, 212 a decoding table, 220 an inverse quantization section, and 241 an inverse DCT transformation section, respectively.

復号表212には、予め、可変長符号と対応するインデ
ックス、ランの組み合わせデータとが表の形式で格納さ
れている。
In the decoding table 212, combination data of variable-length codes, corresponding indexes, and runs are stored in advance in a table format.

伝送路などを介して復号装置に供給された符号化データ
は、まず復号部211に入力される。この復号部211
により、入力された符号化データに基づいて上述した復
号表212の検索が行なわれ、復号表212から該当す
るインデックスとランとの組み合わせデータが読み出さ
れ、復号データとして逆量子化部220に供給される。
Encoded data supplied to the decoding device via a transmission path etc. is first input to the decoding section 211. This decoding unit 211
The above-mentioned decoding table 212 is searched based on the input encoded data, and the corresponding index and run combination data is read out from the decoding table 212 and supplied to the dequantization unit 220 as decoded data. be done.

逆量子化部220においては、この復号データに基づい
て、量子化係数K)011の逆量子化処理を行なうこと
によりDCT係数りが復元され、逆DCT変換部241
において、このDCT係数りに対して逆DCT変換を行
ない、再び直交変換することにより画像データが復元さ
れる。
In the inverse quantization unit 220, the DCT coefficients are restored by performing inverse quantization processing on the quantization coefficient K)011 based on this decoded data, and the inverse DCT transformation unit 241
Then, the DCT coefficients are subjected to inverse DCT transformation and then orthogonally transformed again to restore the image data.

以下、逆量子化部220の構成および動作について説明
する。
The configuration and operation of the inverse quantization section 220 will be described below.

逆量子化部220は、復号データをインデックスデータ
とランデータとに分離するデマルチプレクサ221と、
デマルチプレクサ221から供給されるランデータに基
づいてアドレス(後述する)を算出するアドレス算出部
222と、アドレス算出部222によって算出されたア
ドレスを蓄積するアドレス保持部223と、有効係数の
数を計数するカウンタ225と、デマルチプレクサ22
1から供給されたインデックスデータを格納する量子化
係数保持部226と、上述した量子化マトリクスVTM
を格納している量子化闇値保持部227と、量子化係数
保持部226の出力と量子化闇値保持部227の出力と
の乗算を行なう乗算器228と、各部の動作のタイミン
グを制御するタイミング制御部224とを備えて構成さ
れている。
The dequantization unit 220 includes a demultiplexer 221 that separates decoded data into index data and run data;
An address calculation section 222 that calculates an address (described later) based on run data supplied from the demultiplexer 221, an address holding section 223 that stores the addresses calculated by the address calculation section 222, and an address storage section 223 that counts the number of effective coefficients. counter 225 and demultiplexer 22
1 and the quantization matrix VTM described above.
A quantized dark value holding section 227 that stores the quantized dark value holding section 227, a multiplier 228 that multiplies the output of the quantized coefficient holding section 226 and the output of the quantized dark value holding section 227, and controls the timing of the operation of each section. The timing control section 224 is configured to include a timing control section 224.

復号部211から供給された復号データは、デマルチプ
レクサ221に入力されており、また、タイミング制御
部224により、この復号データとしてインデックスデ
ータが供給されているときに論理“1”′となる選択信
号CsLが、このデマルチプレクサ221の制御端子S
に供給されている。
The decoded data supplied from the decoding unit 211 is input to the demultiplexer 221, and the timing control unit 224 generates a selection signal that becomes logic “1” when index data is supplied as the decoded data. CsL is the control terminal S of this demultiplexer 221
is supplied to.

デマルチプレクサ221は、制御端子Sに選択信号C3
Lとして論理°“1“が供給されたときに入力された復
号データ(インデックスデータ)を量子化係数保持部2
26に供給し、論理“0”が供給されたときに人力され
た復号データ(ランデータ)をアドレス算出部222に
供給するように構成されている。
The demultiplexer 221 outputs a selection signal C3 to a control terminal S.
The decoded data (index data) input when a logic "1" is supplied as L is stored in the quantization coefficient holding unit 2.
26, and when a logic "0" is supplied, manually input decoded data (run data) is supplied to the address calculation section 222.

カウンタ225は、アップダウンカウンタであり、制御
端子5LIDに人力される計数制御信号に応じて、加算
モードと減算モードとが設定できるようになっており、
また、設定されたモードに応じて、クロック端子に供給
された同期信号に同期して計数動作を行なうように構成
されている。
The counter 225 is an up/down counter, and can be set to an addition mode or a subtraction mode according to a counting control signal inputted to the control terminal 5LID.
Further, depending on the set mode, the counting operation is performed in synchronization with a synchronization signal supplied to the clock terminal.

量子化係数保持部226および量子化闇値保持部227
は、8行8列の行列の各成分に対応する格納領域から形
成されており、各領域のアドレスは、第10図に示した
ジグザグスキャンの順番によって指定されるようになっ
ている。また、量子化係数保持部226は、制御端子S
Il、1に人力された続出書込制御信号に応じて、書込
モードと続出モードとが設定できるようになっており、
例えば、制御端子S、に論理111”を入力したときに
書込モードとなり、論理“°O”のときに続出モードと
なるように構成されている。
Quantization coefficient holding unit 226 and quantization dark value holding unit 227
is formed from storage areas corresponding to each component of a matrix of 8 rows and 8 columns, and the address of each area is specified by the zigzag scan order shown in FIG. Further, the quantization coefficient holding unit 226 has a control terminal S
The write mode and the continuous write mode can be set according to the continuous write control signal manually inputted to Il, 1.
For example, when the logic 111'' is input to the control terminal S, the writing mode is set, and when the logic is ``0'', the writing mode is set.

量子化闇値保持部227は、制御端子SRに続出制御信
号として論理“O”が供給されたときに、アドレス入力
で指定されたアドレスに格納されたインデックスデータ
を読み出して出力するようになっている。
The quantized dark value holding unit 227 reads and outputs the index data stored at the address specified by the address input when a logic "O" is supplied to the control terminal SR as a successive control signal. There is.

また、アドレス保持部223は、第4図に示すように、
例えば64個の格納領域から形成されており、各格納領
域に1番から64番までの番号が対応している。アドレ
ス算出部222から供給されたアドレスは、これらの格
納領域に順次に格納されるとともに、最後に格納された
アドレスが出力され、アドレス算出部222と量子化係
数保持部226とに供給されるようになっている。
Further, as shown in FIG. 4, the address holding unit 223
For example, it is formed from 64 storage areas, and numbers 1 to 64 correspond to each storage area. The addresses supplied from the address calculation unit 222 are sequentially stored in these storage areas, and the last stored address is output and supplied to the address calculation unit 222 and the quantization coefficient holding unit 226. It has become.

第2図に示した逆量子化部220においては、まず、復
号部211から供給された復号データに基づいて、量子
化係数D0を行列の形式に復元する処理が行なわれる。
In the dequantization section 220 shown in FIG. 2, first, based on the decoded data supplied from the decoding section 211, a process of restoring the quantization coefficient D0 into a matrix format is performed.

各ブロックに対応する復号データについての復元処理を
開始する際には、上述したアドレス保持部223の内容
がクリアされ、番号lの格納領域にアドレスの初期値と
してfilが格納される。
When starting the restoration process for the decoded data corresponding to each block, the contents of the address holding unit 223 described above are cleared, and fil is stored as the initial value of the address in the storage area with number l.

また、タイミング制御部224は、量子化係数保持部2
26の制御端子S□に続出書込制御信号として論理゛1
”を入力して書込モードに設定するとともに、この量子
化係数保持部226の各アドレスに対応する格納領域の
内容をクリアする。
Further, the timing control unit 224 controls the quantization coefficient holding unit 2
26 control terminal S□ as a continuous write control signal.
" is input to set the write mode, and at the same time, the contents of the storage area corresponding to each address of this quantization coefficient holding section 226 are cleared.

また、タイミング制御部224により、カウンタ225
が加算モードに設定されるとともに、このカウンタ22
5の計数値が初期値rO」にリセットされる。
Further, the timing control unit 224 controls the counter 225
is set to addition mode, and this counter 22
The count value of 5 is reset to the initial value rO.

復号部211から出力された復号データ(第3図参照)
は、逆量子化部220のデマルチプレクサ221により
、タイくング制御部224から供給される選択信号C!
Lに応じて、インデックスデータとランデータとに分離
され、それぞれ量子化係数保持部226とアドレス算出
部222とに供給される。
Decoded data output from the decoder 211 (see Figure 3)
is the selection signal C! supplied from the tying control unit 224 by the demultiplexer 221 of the inverse quantization unit 220.
The data is separated into index data and run data according to L, and supplied to the quantization coefficient holding section 226 and the address calculation section 222, respectively.

最初のインデックスデータが入力されたときには、アド
レス保持部223により、予め格納されている初期値「
11がアドレスとして量子化係数保持部226に供給さ
れ、このインデックスデータは、アドレスr1jに対応
して格納される。
When the first index data is input, the address holding unit 223 uses the pre-stored initial value “
11 is supplied to the quantization coefficient holding unit 226 as an address, and this index data is stored corresponding to address r1j.

ここで、ランデータは、対応するインデックスデータで
示される有効係数に続く無効係数の数を示している。従
って、供給されるランデータで示される数にrllを加
えたものを積算した結果は、それまでに復号データとし
て供給された1次元化された量子化係数I)ouの成分
の総数を示しており、この総数は最後の成分のアドレス
に対応している。
Here, the run data indicates the number of invalid coefficients following the valid coefficient indicated by the corresponding index data. Therefore, the result of integrating the number indicated by the supplied run data plus rll indicates the total number of components of the one-dimensional quantized coefficient I)ou supplied as decoded data up to that point. and this total number corresponds to the address of the last component.

アドレス算出部222は、デマルチプレクサ221から
供給されたランデータと上述したアドレス保持部223
の出力との加算を行ない、加算結果に更にrlJを加算
することにより、上述した積算処理を行ない、この積算
結果をアドレスとしてアドレス保持部223に供給し、
このアドレスがアドレス保持部223により蓄積される
The address calculation unit 222 uses the run data supplied from the demultiplexer 221 and the address holding unit 223 described above.
By performing addition with the output of and further adding rlJ to the addition result, the above-mentioned integration processing is performed, and this integration result is supplied as an address to the address holding unit 223,
This address is stored by the address holding section 223.

但し、この場合は、アドレスの初期値としてアドレス保
持部223に格納されているrl4が、更に加算されて
いる。従って、アドレス算出部222によって算出され
るアドレスは、次に復号データとして供給されるインデ
ックスデータに対応する有効係数のアドレスとなってお
り、このアドレスに対応して、次に入力されたインデッ
クスデータが、量子化係数保持部226に格納される。
However, in this case, rl4 stored in the address holding unit 223 as the initial value of the address is further added. Therefore, the address calculated by the address calculation unit 222 is the address of the effective coefficient corresponding to the index data to be supplied next as decoded data, and the next input index data corresponds to this address. , are stored in the quantization coefficient holding unit 226.

例えば、第3図に示した復号データのDC成分に対応す
るインデックスデータD、は、アドレス保持部223に
初期値として格納されたr・11に対応する量子化係数
保持部226の格納領域、つまり、第10図に数字rl
、で示した量子化係数り、uの成分(1,1)に対応す
る格納領域に格納される。このインデックスデータD1
に対応するランデータR0に応じて、アドレス算出部2
22により、次のインデックスデータ(I2)に対応す
るアドレスr24が算出される。続いて供給される復号
データHz、R−、Iユ、・・・、I6゜R3)につい
て、同様の処理を行なうことにより、アドレス算出部2
23により、アドレスr3」。
For example, the index data D corresponding to the DC component of the decoded data shown in FIG. , the number rl in Figure 10
The quantization coefficients indicated by , are stored in the storage area corresponding to the component (1, 1) of u. This index data D1
According to the run data R0 corresponding to
22, the address r24 corresponding to the next index data (I2) is calculated. By performing similar processing on the subsequently supplied decoded data Hz, R-, IU, . . . , I6°R3), the address calculation unit 2
23, address r3”.

r4i 、r5i 、I6」、rl OJ が順次に算
出され、これらのアドレスに対応して、インデックスデ
ータIt、I!+  Ia、Is、Th、I?が、量子
化係数保持部226に格納される。また、この場合は、
アドレス保持部223に、有効係数のアドレスとして、
’IJ、  r2J、=・、  I5」。
r4i, r5i, I6'', rl OJ are calculated sequentially, and corresponding to these addresses, index data It, I! + Ia, Is, Th, I? is stored in the quantization coefficient holding unit 226. Also, in this case,
In the address holding unit 223, as the address of the effective coefficient,
'IJ, r2J, =..., I5'.

’6J、rlO」が順次に蓄積される(第4図参照)。'6J, rlO' are sequentially accumulated (see FIG. 4).

このようにして、ランデータが供給されるごとに、上述
した処理を繰り返すことにより、アドレス算出部222
によって有効係数のアドレスが順次に算出され、この有
効係数のアドレスが、アドレス保持部223により順次
に蓄積される。また、このアドレスに対応して、上述し
たランデータに続いて供給されるインデックスデータが
量子化係数保持部226に格納され、これにより、8行
8列の行列形式の量子化係数I)ouが復元される。
In this way, by repeating the above-described process every time run data is supplied, the address calculation unit 222
The addresses of the effective coefficients are sequentially calculated by , and the addresses of the effective coefficients are sequentially stored by the address holding unit 223 . In addition, corresponding to this address, the index data supplied subsequent to the run data described above is stored in the quantization coefficient holding unit 226, whereby the quantization coefficient I)ou in a matrix format of 8 rows and 8 columns is stored. will be restored.

また、タイミング制御部224により、上述した量子化
係数保持部226によるインデックスデータの格納動作
と同期した同期信号がカウンタ225に供給され、カウ
ンタ225による加算動作によって、各ブロックについ
て、量子化係数り、Uに含まれる有効係数の総数が計数
される。
Further, the timing control section 224 supplies a synchronization signal synchronized with the index data storage operation by the quantization coefficient holding section 226 described above to the counter 225, and the addition operation by the counter 225 causes the quantization coefficients to be calculated for each block. The total number of valid coefficients included in U is counted.

また、アドレス算出部222は、ランデータとしてRo
。が供給されたときに、1つのブロックに対応する復号
データの供給が終了したと判定し、ブロック終了信号(
BEN)を出力して、タイミング制御部224に供給す
るようになっている。
The address calculation unit 222 also uses Ro as run data.
. is supplied, it is determined that the supply of decoded data corresponding to one block has ended, and the block end signal (
BEN) and supplies it to the timing control section 224.

このブロック終了信号に応じて、タイミング制御部22
4は、1つのブロックについての量子化係数DTILI
の復元処理が終了したと判定し、以後、このブロックに
対応する量子化係数N)@Uの逆量子化処理が開始され
るようになっている。
In response to this block end signal, the timing control section 22
4 is the quantization coefficient DTILI for one block
It is determined that the restoration process has ended, and thereafter, the inverse quantization process of the quantization coefficient N)@U corresponding to this block is started.

以下、上述したようにして、復元された量子化係数]D
oaの逆量子化処理について説明する。
Hereinafter, the quantization coefficients restored as described above]D
The inverse quantization process of oa will be explained.

まず、タイミング制御部224は、量子化係数保持部2
26の制御端子S□に続出書込制御信号−(R/W)と
して論理“0”を、量子化閾値保持部227に読出制御
信号(RED”)として論理“′0°゛を供給する。こ
れにより、以後は、アドレス保持部223から供給され
るアドレスに応じて、量子化係数保持部226および量
子化闇値保持部227から、それぞれ量子化係数1)o
t+および量子化マトリクスVTHの対応する成分が読
み出され、乗算器228に供給される。
First, the timing control unit 224 controls the quantization coefficient holding unit 2
Logic "0" is supplied to the control terminal S□ of 26 as a continuous write control signal - (R/W), and logic "'0°" is supplied to the quantization threshold value holding section 227 as a read control signal (RED). As a result, from now on, the quantization coefficients 1)o are obtained from the quantization coefficient holding section 226 and the quantization dark value holding section 227 in accordance with the address supplied from the address holding section 223.
t+ and the corresponding components of the quantization matrix VTH are read and provided to multiplier 228.

また、タイミング制御部224は、カウンタ225の制
御端子S。に計数制御信号として論理“0“を供給して
、カウンタ225を減算モードに設定し、アドレス゛保
持部223の格納領域を順次に指定するとともに、この
指定動作に同期した同期信号をカウンタ225に供給す
る。
Further, the timing control unit 224 has a control terminal S of the counter 225. Logic "0" is supplied as a counting control signal to set the counter 225 to the subtraction mode, and the storage area of the address holding section 223 is sequentially designated, and a synchronization signal synchronized with this designated operation is supplied to the counter 225. do.

これにより、アドレス保持部223に蓄積されているア
ドレスが順次に出力されて、量子化係数保持部226と
量子化闇値保持部227とに供給され、このアドレスに
応じて、量子化係数保持部226から量子化係数I)o
uの該当する有効係数が出力され、量子化闇値保持部2
27からこの有効係数に対応する量子化マトリクスV、
工の成分が出力される。
As a result, the addresses stored in the address holding section 223 are sequentially output and supplied to the quantization coefficient holding section 226 and the quantization dark value holding section 227. 226 to quantization coefficient I)o
The corresponding effective coefficient of u is output, and the quantized dark value holding unit 2
27 to the quantization matrix V corresponding to this effective coefficient,
The components of the process are output.

例えば、第3図に示した復号データについて、量子化係
数ID、Llの復元処理を行なった場合は、アドレス保
持部223に蓄積された量子化係数Douの有効な成分
に対応するアドレスr11.r21゜・・・、r6」、
rloJが順次に出力される(第4図参照)。これらの
アドレスに応じて、量子化係数保持部226に格納され
た量子化係数I)ouの成分子64」、 ’−16J、
 ・、 r−8J、 r−8Jが順次に読み出されて(
第8図参照)、量子化闇値保持部227により、これら
の量子化係数DQLIの成分に対応する量子化マトリク
スV、工成分として、r16」、rll」、−、rlo
」、r14」が読み出されて(第7図参照)、乗算器2
28に供給される。
For example, when the quantization coefficient ID, Ll is restored with respect to the decoded data shown in FIG. 3, the address r11. r21゜..., r6'',
rloJ is sequentially output (see FIG. 4). According to these addresses, the components of the quantized coefficient I)ou stored in the quantized coefficient holding unit 226 are ``64'', '-16J,
・, r-8J, r-8J are read out sequentially (
(see FIG. 8), the quantization dark value holding unit 227 stores the quantization matrix V corresponding to the components of these quantization coefficients DQLI as r16'', rll'', -, rlo
", r14" are read out (see FIG. 7), and multiplier 2
28.

この有効係数の逆量子化処理と並行して、カウンタ22
5により、上述した同期信号に同期した計数値の減算動
作が行なわれ、計数値がr□、となったときに、このカ
ウンタ225の出力端子Oからストップ信号が出力され
、タイミング制御部224に供給されるようになってい
る。
In parallel with this inverse quantization process of the effective coefficients, the counter 22
5, the count value is subtracted in synchronization with the synchronization signal described above, and when the count value reaches r□, a stop signal is output from the output terminal O of this counter 225, and the timing control unit 224 It is now being supplied.

このストップ信号に応じて、タイミング制御部224は
、1つのブロックに対応する量子化係数I)ouの逆量
子化処理が終了したと判定し、アドレス保持部223に
対する格納領域の指定動作を終了するようになっている
In response to this stop signal, the timing control unit 224 determines that the inverse quantization process of the quantization coefficient I)ou corresponding to one block has been completed, and ends the operation of specifying the storage area for the address holding unit 223. It looks like this.

このようにして、カウンタ225の計数値が101とな
るまで、上述した読出動作を繰り返すことにより、量子
化係数Douに含まれる有効係数と量子化マトリクスV
Bの対応する成分とを、乗算器228に順次に供給して
乗算処理を行なうことにより、量子化係数り、Llに含
まれる有効係数のみが選択的に逆量子化することが可能
となる。
In this way, by repeating the reading operation described above until the count value of the counter 225 reaches 101, the effective coefficients included in the quantization coefficient Dou and the quantization matrix V
By sequentially supplying the corresponding components of B to the multiplier 228 and performing multiplication processing, it becomes possible to selectively dequantize only the effective coefficients included in the quantization coefficients Ll.

また、逆DCT変換部241の内部に設けられた入力用
のバッファ(図示せず)に、この乗算器228の出力と
対応するアドレスとを供給し、上述したアドレスに対応
して乗算器228の出力を格納することにより、8行8
列の行列形式のDCT係数わが復元される。このDCT
係数りに対して、従来と同様の逆DCT変換を行なうこ
とにより、1ブロツクの画像データを得ることができる
Further, the output of the multiplier 228 and the corresponding address are supplied to an input buffer (not shown) provided inside the inverse DCT conversion unit 241, and the output of the multiplier 228 is By storing the output 8 rows 8
The DCT coefficients in column matrix form are restored. This DCT
One block of image data can be obtained by performing inverse DCT transformation on the coefficients as in the conventional method.

ここで、逆量子化処理においては、乗算器228による
乗算処理が最も時間のかかる処理であるので、上述した
ようにして、無効係数に関する乗算処理を省略すること
により、逆量子化処理の大幅な高速化が期待できる。
Here, in the dequantization process, the multiplication process by the multiplier 228 is the most time-consuming process, so by omitting the multiplication process regarding invalid coefficients as described above, the dequantization process can be significantly reduced. You can expect faster speeds.

また、通常、量子化係数D0は、多くの無効係数を含ん
でおり、例えば、第8図に示した量子化係数pauに含
まれる有効係数7個を除く、57個の成分は全て無効係
数である。この場合は、57個の無効係数についての乗
算処理が省略され、従来の方式で行なわれていた64回
の乗算演算が、7回の乗算演算に置き換えられるので、
従来の方式に比べて、l/10程度の時間で逆量子化処
理を行なうことができる。
In addition, the quantization coefficient D0 normally includes many invalid coefficients. For example, all 57 components except for the 7 valid coefficients included in the quantization coefficient pau shown in FIG. 8 are invalid coefficients. be. In this case, the multiplication process for the 57 invalid coefficients is omitted, and the 64 multiplication operations performed in the conventional method are replaced with 7 multiplication operations.
Compared to conventional methods, dequantization processing can be performed in about 1/10 of the time.

このように、量子化係数Dllllに含まれる有効係数
のみを選択的に逆量子化することにより、逆量子化処理
に要する時間を大幅に短縮し、復元処理の高速化を図る
ことができる。
In this way, by selectively dequantizing only the effective coefficients included in the quantization coefficient Dllll, the time required for the dequantization process can be significantly shortened and the restoration process can be accelerated.

なお、第2図に示した逆量子化部220の量子化係数保
持部226をFIFOなどで構成し、■ブロックに対応
する量子化係数I)ouに含まれる有効係数のみを格納
するようにしてもよい。この場合は、量子化係数保持部
226から順次に有効係数を読み出すとともに、アドレ
ス保持部223から順次に出力されるアドレスに応じて
、量子化闇値保持部227からこの有効係数に対応する
量子化マトリクス■アおの成分を読み出すようにすれば
よい。
Note that the quantization coefficient holding unit 226 of the dequantization unit 220 shown in FIG. Good too. In this case, the effective coefficients are sequentially read out from the quantization coefficient holding section 226, and the quantization value corresponding to the effective coefficients is read out from the quantization dark value holding section 227 in accordance with the addresses sequentially output from the address holding section 223. All you have to do is read out the components of the matrix ■Ao.

〔発明の効果〕〔Effect of the invention〕

上述したように、本発明によれば、量子化係数の中に含
まれる有効な成分のみを選択的に逆量子化することが可
能となり、量子化係数に含まれる無効な成分についての
逆量子化処理を省略して乗算処理の回数を削減し、逆量
子化処理を高速に行なうことができるので、実用的には
極めて有用である。
As described above, according to the present invention, it is possible to selectively dequantize only the effective components included in the quantized coefficients, and the inverse quantization of the invalid components included in the quantized coefficients becomes possible. This method is extremely useful in practice because it can omit processing, reduce the number of multiplication operations, and perform inverse quantization processing at high speed.

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

第1図は本発明の画像データ復元方式の原理ブロック図
、 第2図は本発明の一実施例による画像データ復元方式を
適用した復元装置の構成図、 第3図は復号データの例を示す図、 第4図はアドレス保持部の説明図、 第5図は従来の符号化装置の構成図、 第6図は画像を分割したブロックの説明図、第7図はD
CT係数りを示す図、 第8図は量子化マトリクスVTHを示す図、第9図は量
子化係数D*uを示す図、 第10図はジグザグスキャンの説明図、第11図は従来
の復元装置の構成図である。 図において、 111は復号手段、 120は逆量子化手段、 121は選択手段、 122は格納手段、 123は乗算手段、 141は直交変換手段、 211.611は復号部、 212.612は復号表、 220.620は逆量子化部、 221.621はデマルチプレクサ、 222はアドレス算出部、 223はアドレス保持部、 224.622はタイミング制御部、 225はカウンタ、 226.628は量子化係数保持部、 227.626は量子化闇値保持部、 228.629は乗算器、 4 1 2 3 3 2 2 2 2 1.631は逆DCT変換部、 1はDCT変換部、 0は線形量子化部、 1は符号化部、 2は符号表、 3はマルチプレクサ、 4はラン長判定部、 5は零発生器、 7はアドレスカウンタである。 従来の符号化装置の構成図 第5図 ブロックの説明図 第6図 D CT係数りを示す図 第7図 量子化マ ト リ ク ス■TNを示す図 第8図 量子化係数ID。Uを示す図 第9図 ジグザグスキャ ンの説明図 第 図
Fig. 1 is a principle block diagram of the image data restoration method of the present invention, Fig. 2 is a block diagram of a restoration device to which the image data restoration method according to an embodiment of the invention is applied, and Fig. 3 shows an example of decoded data. Figure 4 is an explanatory diagram of the address holding unit, Figure 5 is a configuration diagram of a conventional encoding device, Figure 6 is an explanatory diagram of blocks into which an image is divided, and Figure 7 is an explanatory diagram of the D
Figure 8 shows the quantization matrix VTH, Figure 9 shows the quantization coefficient D*u, Figure 10 shows the zigzag scan, and Figure 11 shows the conventional restoration. It is a block diagram of a device. In the figure, 111 is a decoding means, 120 is an inverse quantization means, 121 is a selection means, 122 is a storage means, 123 is a multiplication means, 141 is an orthogonal transformation means, 211.611 is a decoding unit, 212.612 is a decoding table, 220.620 is a dequantization unit, 221.621 is a demultiplexer, 222 is an address calculation unit, 223 is an address holding unit, 224.622 is a timing control unit, 225 is a counter, 226.628 is a quantization coefficient holding unit, 227.626 is a quantized dark value holding unit, 228.629 is a multiplier, 4 1 2 3 3 2 2 2 2 1.631 is an inverse DCT transformation unit, 1 is a DCT transformation unit, 0 is a linear quantization unit, 1 is an encoding unit, 2 is a code table, 3 is a multiplexer, 4 is a run length determination unit, 5 is a zero generator, and 7 is an address counter. FIG. 5 is an explanatory diagram of a conventional encoding device. FIG. 6 is a diagram showing D CT coefficients. FIG. 7 is a diagram showing quantization matrix ■TN. FIG. 8 is a diagram showing quantization coefficient ID. Figure 9 showing U Figure 9 Explanatory diagram of zigzag scan Figure

Claims (1)

【特許請求の範囲】[Claims] (1)画像をそれぞれ複数の画素からなる複数のブロッ
クに分割し、これらのブロックの画素データを直交変換
して得られる変換係数の各成分を量子化し、この量子化
処理によって生成された量子化係数を符号化して生成さ
れた符号化データが導入され、前記符号化データを復号
手段(111)によって復号して得られる量子化係数を
逆量子化手段(120)によって逆量子化し、この逆量
子化手段(120)によって生成された変換係数を直交
変換手段(141)により直交変換して画像データを生
成する画像データ復元方式において、前記逆量子化手段
(120)は、 前記復号手段(111)から供給される量子化係数の中
の値が零でない有効な成分を選択する選択手段(121
)と、 前記変換係数の各成分に対応する量子化閾値を格納して
おり、前記選択手段(121)によって選択された有効
な成分に対応する量子化閾値を出力する格納手段(12
2)と、 前記選択手段(121)によって選択された有効な成分
と前記格納手段(122)により出力された前記有効な
成分に対応する量子化閾値の成分とを乗算し、この乗算
結果を前記有効な成分に対応する変換係数の成分として
出力する乗算手段(123)と、 を備えるように構成したことを特徴とする画像データ復
元方式。
(1) Divide the image into multiple blocks each consisting of multiple pixels, quantize each component of the transform coefficient obtained by orthogonally transforming the pixel data of these blocks, and quantize the quantization generated by this quantization process. Encoded data generated by encoding coefficients is introduced, and the decoding means (111) decodes the encoded data to dequantize the obtained quantized coefficients, and the dequantization means (120) dequantizes the dequantized coefficients. In an image data restoration method in which image data is generated by orthogonally transforming transform coefficients generated by a dequantizing means (120) by an orthogonal transform means (141), the dequantizing means (120) comprises: the decoding means (111) Selection means (121
), storage means (12) storing quantization thresholds corresponding to each component of the transform coefficients and outputting the quantization thresholds corresponding to the valid components selected by the selection means (121);
2), multiplying the effective component selected by the selection means (121) by the component of the quantization threshold corresponding to the effective component output by the storage means (122), and applying this multiplication result to the An image data restoration method comprising: a multiplier (123) for outputting a transform coefficient as a component corresponding to an effective component;
JP1316708A 1989-12-06 1989-12-06 Picture data decoding system Pending JPH03177163A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1316708A JPH03177163A (en) 1989-12-06 1989-12-06 Picture data decoding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1316708A JPH03177163A (en) 1989-12-06 1989-12-06 Picture data decoding system

Publications (1)

Publication Number Publication Date
JPH03177163A true JPH03177163A (en) 1991-08-01

Family

ID=18080017

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1316708A Pending JPH03177163A (en) 1989-12-06 1989-12-06 Picture data decoding system

Country Status (1)

Country Link
JP (1) JPH03177163A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001095637A1 (en) * 2000-06-02 2001-12-13 Matsushita Electric Industrial Co., Ltd. Image processing apparatus, and image processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001095637A1 (en) * 2000-06-02 2001-12-13 Matsushita Electric Industrial Co., Ltd. Image processing apparatus, and image processing method
US6987811B2 (en) 2000-06-02 2006-01-17 Matsushita Electric Industrial Co., Ltd. Image processor and image processing method

Similar Documents

Publication Publication Date Title
JP2891772B2 (en) Digital image coding method using random scanning of image frames
US6347116B1 (en) Non-linear quantizer for video coding
JP3716931B2 (en) Adaptive decoding device for continuous images
US5675666A (en) Image data compression method and apparatus with pre-processing to compensate for the blocky effect
US7738555B2 (en) System, method and computer-readable medium for encoding a signal into macroblocks
WO1991003128A1 (en) Control system for encoding image
JPH11127355A (en) Device and method for encoding image and recording medium recording image encoding program
EP0519995B1 (en) Digital image processing including block edges filtering
JPH0487460A (en) Picture processor
JPH05284368A (en) Method and device for encoding/restoring image data
JPH03177163A (en) Picture data decoding system
JPH02122767A (en) Encoding/decoding system for picture signal
JPH0556271A (en) Reverse quantizing method and image data restoring device
JPH05284369A (en) Method and device for encoding/restoring image data
JP2724223B2 (en) Image data restoration method
JP2887843B2 (en) Image data restoration method and apparatus
JP2856268B2 (en) Image data restoration device
EP0859519A2 (en) Video coder using implicit or explicit prediction for image coding
JPH0746407A (en) Picture data compressing device and picture data restoring device
JPH04215385A (en) Method and device for encoding/decoding image data
KR100219218B1 (en) A rub-length coder
JPH0487469A (en) Picture processing unit
JPH0338185A (en) Discrete cosine conversion coding system
JPH0730889A (en) Picture data encoder
JPH09107481A (en) Color facsimile equipment