JP2762712B2 - Encoding device and decoding device - Google Patents

Encoding device and decoding device

Info

Publication number
JP2762712B2
JP2762712B2 JP17342690A JP17342690A JP2762712B2 JP 2762712 B2 JP2762712 B2 JP 2762712B2 JP 17342690 A JP17342690 A JP 17342690A JP 17342690 A JP17342690 A JP 17342690A JP 2762712 B2 JP2762712 B2 JP 2762712B2
Authority
JP
Japan
Prior art keywords
quantization
inverse
signal
encoding
quantization step
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP17342690A
Other languages
Japanese (ja)
Other versions
JPH0461584A (en
Inventor
眞也 角野
達郎 重里
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=15960236&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=JP2762712(B2) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP17342690A priority Critical patent/JP2762712B2/en
Publication of JPH0461584A publication Critical patent/JPH0461584A/en
Application granted granted Critical
Publication of JP2762712B2 publication Critical patent/JP2762712B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、通信コストの削減や記録時間の延長を図る
ために、画像信号を伝送したり記憶したりするのに必要
なデータ量を削減する手段である符号化装置および復号
化装置に関するものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention reduces the amount of data required to transmit and store image signals in order to reduce communication costs and extend recording time. And an encoding device and a decoding device.

従来の技術 従来の符号化装置のブロック図を第7図に示す。同図
において、1は入力信号、2は直交変換信号3を出力す
る直交変換器、4は直交変換信号3を量子化して量子化
値5を出力する量子化器、6は量子化ステップ選択信
号、7は量子化値5の中から1つを選んで量子化値8と
して出力する選択器、9は量子化値8を符号化して符号
化信号10を出力する符号化器である。
2. Description of the Related Art FIG. 7 shows a block diagram of a conventional encoding device. In the figure, 1 is an input signal, 2 is an orthogonal transformer that outputs an orthogonal transformation signal 3, 4 is a quantizer that quantizes the orthogonal transformation signal 3 and outputs a quantization value 5, and 6 is a quantization step selection signal. , 7 is a selector for selecting one of the quantized values 5 and outputting it as a quantized value 8, and 9 is an encoder for encoding the quantized value 8 and outputting a coded signal 10.

以上のように構成された従来例の符号化装置におい
て、以下その動作を説明する。入力信号1は直交変換器
2で直交変換される。一般に、直交変換された信号は入
力信号1と比べてエネルギー分布に偏りがあり、偏りが
発生するとデータ量削減が容易になることが情報理論に
よって裏付けられるので、直交変換はデータ量削減の手
法としてよく用いられている。特に周波数に対応する成
分となるDCT(離散コサイン変換)は最もデータ量削減
効率が高い直交変換の1つとして知られている。この直
交変換されたデータは、量子化器4で量子化され、直交
変換された成分の重要さが補正される。即ち、視覚的に
重要度が低い成分はデータ量がより削減されるような量
子化が行なわれる。このようにいくつかの量子化器4で
計算された量子化値5の中から定数選択信号6で示され
るものが選択器7で選ばれる。定数選択信号は、バッフ
ァ占有率などにより制御され、平均データ量が多ければ
データ量が少なくなる量子化値5を選び、逆に平均デー
タ量が少なければデータ量が増加する量子化値5を選
ぶ。このようにして選ばれた複数の量子化器4の量子化
値5の1つが、符号化器9で量子化ステップ選択信号6
と共に符号化される。符号化器9では固定長符号化また
は可変長符号化が行なわれる。
The operation of the conventional encoding apparatus configured as described above will be described below. The input signal 1 is orthogonally transformed by the orthogonal transformer 2. In general, the orthogonally transformed signal has a bias in the energy distribution as compared with the input signal 1, and it is supported by information theory that if the bias occurs, the data amount can be easily reduced. Therefore, the orthogonal transform is a method for reducing the data amount. Often used. In particular, DCT (discrete cosine transform), which is a component corresponding to frequency, is known as one of orthogonal transforms with the highest data amount reduction efficiency. The orthogonally transformed data is quantized by the quantizer 4, and the importance of the orthogonally transformed component is corrected. That is, quantization is performed such that the data amount of components having visually low importance is further reduced. From the quantized values 5 calculated by the quantizers 4 as described above, the one indicated by the constant selection signal 6 is selected by the selector 7. The constant selection signal is controlled by the buffer occupancy or the like. If the average data amount is large, the quantization value 5 that reduces the data amount is selected, and if the average data amount is small, the quantization value 5 that increases the data amount is selected. . One of the quantized values 5 of the plurality of quantizers 4 selected in this manner is converted by the encoder 9 into a quantization step selection signal 6.
And is encoded with The encoder 9 performs fixed-length coding or variable-length coding.

また、従来の復号化装置のブロック図を第8図に示
す。同図において、10は前記符号化装置で符号化された
符号化信号、20は前記符号化器9で行なわれた符号化を
復号化した復号化信号21を出力する復号化器、23は前記
量子化器4の量子化ステップで逆量子化して逆量子化値
24を出力する逆量子化器、22は前記量子化ステップ選択
信号6が復号されたものであり、27は前記符号化装置で
選択された量子化ステップで逆量子化した逆量子化値24
を選択して逆量子化値28として出力する選択器、29は前
記符号化装置における直交変換器2の逆変換を行なって
再生信号30を出力する直交変換器である。
FIG. 8 shows a block diagram of a conventional decoding device. In the figure, reference numeral 10 denotes an encoded signal encoded by the encoding device, 20 denotes a decoder that outputs a decoded signal 21 obtained by decoding the encoding performed by the encoder 9, and 23 denotes the decoder. Inverse quantization value obtained by inverse quantization in the quantization step of the quantizer 4
24 is an inverse quantizer that outputs 24, 22 is a decoded version of the quantization step selection signal 6, and 27 is an inversely quantized value 24 that is inversely quantized in the quantization step selected by the encoding device.
Is a selector for selecting and outputting as an inverse quantization value 28, and an orthogonal transformer 29 for performing an inverse transformation of the orthogonal transformer 2 in the encoding device and outputting a reproduced signal 30.

以上のように構成された従来例の復号化装置におい
て、以下その動作を説明する。復号化器20は前記符号化
器9の復号化手段であり、逆量子化器23はそれぞれ前記
量子化器4と同じ量子化ステップの逆量子化器であり、
直交変換器29は前記直交変換器2の逆直交変換である。
従って、前記符号化装置で符号化された符号化信号10は
以上の構成により正しく復号化される。
The operation of the conventional decoding device configured as described above will be described below. The decoder 20 is a decoding means of the encoder 9, and the inverse quantizers 23 are inverse quantizers having the same quantization steps as the quantizer 4, respectively.
The orthogonal transformer 29 is an inverse orthogonal transform of the orthogonal transformer 2.
Therefore, the encoded signal 10 encoded by the encoding device is correctly decoded by the above configuration.

発明が解決しようとする課題 しかしながら、前記の様な従来の符号化装置および復
号化装置においては、量子化ステップ選択信号6のとり
うる値の数だけ量子化器および逆量子化器が必要とな
る。従って、細かいデータ量制御を行なう為には多くの
量子化器及び逆量子化器が必要となり、ハードウェア規
模が大きくなる。逆に、量子化器および逆量子化器の個
数を削減すると細かいデータ量制御が行えず、画質が劣
化する原因となる。
Problems to be Solved by the Invention However, in the conventional encoding apparatus and decoding apparatus as described above, quantizers and inverse quantizers are required by the number of possible values of the quantization step selection signal 6. . Therefore, a large number of quantizers and inverse quantizers are required to perform fine data amount control, and the hardware scale becomes large. Conversely, if the number of quantizers and inverse quantizers is reduced, fine data amount control cannot be performed, which causes deterioration in image quality.

課題を解決するための手段 本発明の符号化装置は、入力信号をブロックに分け、
前記ブロック毎に直交変換する直交変換手段と、前記直
交変換された前記ブロックを少なくとも2つの固定領域
に分割して各領域毎に同一の量子化ステップでスカラー
量子化する量子化手段と、前記量子化ステップの値を制
御するパラメータ制御手段と、前記量子化手段のスカラ
ー量子化値を固定長符号化または可変長符号化する符号
化手段とを備え、 量子化手段は、複数の量子化ステップを有し、前記各
固定領域毎に前記複数の量子化ステップのうちから1つ
の量子化ステップを選択して、量子化を行う構成であ
る。
Means for Solving the Problems The encoding device of the present invention divides an input signal into blocks,
Orthogonal transform means for orthogonally transforming each block, quantizing means for dividing the orthogonally transformed block into at least two fixed regions, and performing scalar quantization for each region in the same quantization step; Parameter control means for controlling the value of the quantization step, and coding means for performing fixed-length coding or variable-length coding of the scalar quantization value of the quantization means, wherein the quantization means comprises a plurality of quantization steps. And a configuration in which one quantization step is selected from the plurality of quantization steps for each fixed region to perform quantization.

作用 本発明は前記した構成により、領域をn分割(nは2
以上の整数)し、m個の量子化器を有することによって
mn通りの組合せをつくり、その組合せの中から符号化手
段で符号化すべきデータ組を選ぶことにより、同じ量子
化器の個数mで従来のm通り以上の細かいデータ量制御
が行える。従って、画質の変動が少なく、平均的に従来
の符号化装置、復号化装置よりも画質が向上する。
Operation In the present invention, the region is divided into n (n is 2)
Above integer) and having m quantizers
By creating mn combinations and selecting a data set to be encoded by the encoding means from the combinations, it is possible to control m or more finer data amounts than the conventional m with the same number m of quantizers. Accordingly, there is little fluctuation in image quality, and the image quality is improved on average compared with the conventional encoding device and decoding device.

実施例 第1図(a)は本発明の第1の実施例における符号化
装置のブロック図である。同図において、1は入力信
号、2は直交変換信号3を出力する直交変換器、4は直
交変換信号3を量子化した量子化値5を出力する量子化
器、11は圧縮パラメータ制御信号、12は量子化値5を切
り換える制御信号13を出力するパラメータ制御器、14は
直交変換の各成分毎に量子化値5の中から1つを選んで
量子化値8として出力する選択器、9は量子化値8を符
号化して符号化信号10を出力する符号化器である。
Embodiment FIG. 1 (a) is a block diagram of an encoding apparatus according to a first embodiment of the present invention. In the figure, 1 is an input signal, 2 is an orthogonal transformer that outputs an orthogonal transform signal 3, 4 is a quantizer that outputs a quantized value 5 obtained by quantizing the orthogonal transform signal 3, 11 is a compression parameter control signal, 12 is a parameter controller that outputs a control signal 13 for switching the quantization value 5, 14 is a selector that selects one of the quantization values 5 for each component of the orthogonal transform and outputs it as a quantization value 8, 9 Is an encoder that encodes the quantized value 8 and outputs an encoded signal 10.

以上のように構成された本発明の符号化装置におい
て、以下その動作を説明する。入力信号1は直交変換器
2で直交変換される。この直交変換されたデータは、量
子化器4で量子化される。このようにいくつかの量子化
器4で計算された量子化値5の中から直交変換の各成分
毎に制御信号13で示されるものが選択器14で選ばれる。
制御信号13は、圧縮パラメータ制御信号11から直交変換
ブロックの各領域毎に生成される。第2図は直交変換ブ
ロックの領域分割の一例を示している、各成分は左上方
が低周波数に対応し、右下方が高周波数に対応する成分
がくるように並んでいる。各領域の量子化ステップを
T1、T2、T3、T4とし、各領域毎にL1、L2(L1>L2)の2
種類の値をとり得るものとし、T1≧T2≧T3≧T4なる条件
をみたす組合せは次表に示す5通りであり、その量子化
ステップを第3図(a1)〜(a5)に示す。
The operation of the encoding apparatus of the present invention configured as described above will be described below. The input signal 1 is orthogonally transformed by the orthogonal transformer 2. The orthogonally transformed data is quantized by the quantizer 4. From the quantized values 5 calculated by the quantizers 4 as described above, the one indicated by the control signal 13 for each component of the orthogonal transform is selected by the selector 14.
The control signal 13 is generated from the compression parameter control signal 11 for each area of the orthogonal transform block. FIG. 2 shows an example of region division of the orthogonal transform block. The components are arranged such that the upper left corresponds to a low frequency and the lower right corresponds to a high frequency. The quantization step for each region
T 1 , T 2 , T 3 , and T 4, and L 1 and L 2 (L 1 > L 2 ) for each area
There are five possible combinations that satisfy the condition of T 1 ≧ T 2 ≧ T 3 ≧ T 4 , and the quantization steps are shown in FIGS. 3 (a 1 ) to (a). See 5 ).

制御信号13は、直交変換された成分の位置の量子化ス
テップTi(1≦i≦4)に対応する量子化値5を選択器
14で選ぶように指令する。このように5通りのパターン
は各成分についてL1とL2の2通りの量子化で行えるが、
従来方式(第3図(b1)〜(b5))では各成分毎に5通
りの量子化が必要となる。従って、本手法では量子化器
の数を増やすことなく、選択器14の選択候補数を大幅に
増加させることができる。量子化ステップの切り替えは
データ量を増減するために使用されるが、その増減を調
節するためには選択器14で切り換える候補数が多い方が
細かい制御を行える。その結果、画質の局所的な変動が
少なく視覚的に好ましい画質を得ることができる。な
お、制御信号13は選ばれた量子化値8と共に、符号化器
9で符号化される。符号化器9では固定長符号化または
可変長符号化が行なわれる。
The control signal 13 selects a quantization value 5 corresponding to the quantization step T i (1 ≦ i ≦ 4) of the position of the orthogonally transformed component.
Order to select at 14. Thus although the pattern of five types is performed in quantization of two types of L 1 and L 2 each component,
Conventional method (FIG. 3 (b 1) ~ (b 5 )) In the quantization of five different for each component is required. Therefore, in the present method, the number of selection candidates of the selector 14 can be significantly increased without increasing the number of quantizers. Switching of the quantization step is used to increase or decrease the amount of data. To adjust the increase or decrease, finer control can be performed when the number of candidates switched by the selector 14 is larger. As a result, visually favorable image quality can be obtained with little local fluctuation in image quality. The control signal 13 is encoded by the encoder 9 together with the selected quantization value 8. The encoder 9 performs fixed-length coding or variable-length coding.

以上の様に、本実施例によればパラメータ制御器12と
選択器14を用いて、直交変換されたデータをいくつかの
領域に分割し、分割した領域毎の量子化ステップの組合
せによって細かいデータ量制御を行なって画質の変動を
少なくすることができる。なお、第1図(a)において
量子化器4を乗算器で行なう場合には乗数を切り換える
ことにより量子化器を1つにすることができる。第1図
(b)にブロック図を示す。
As described above, according to the present embodiment, the orthogonally transformed data is divided into several regions by using the parameter controller 12 and the selector 14, and fine data is obtained by a combination of quantization steps for each divided region. By performing the amount control, the fluctuation of the image quality can be reduced. In the case where the quantizer 4 is implemented by a multiplier in FIG. 1A, the number of quantizers can be reduced to one by switching the multiplier. FIG. 1 (b) shows a block diagram.

第4図は本発明の他の実施例の符号化装置のブロック
図である。同図において、1は入力信号、2は直交変換
信号3を出力する直交変換器、11は圧縮パラメータ制御
信号、12は直交変換出力3をシフトするビット数13を出
力するパラメータ制御器、15は直交変換信号3をビット
数13だけシフトした量子化値8を出力するシフトレジス
タ、9は量子化値8を符号化して符号化信号10を出力す
る符号化器である。
FIG. 4 is a block diagram of an encoding apparatus according to another embodiment of the present invention. In the figure, 1 is an input signal, 2 is an orthogonal transformer that outputs an orthogonal transformation signal 3, 11 is a compression parameter control signal, 12 is a parameter controller that outputs the number of bits 13 for shifting the orthogonal transformation output 3, and 15 is A shift register 9 outputs a quantized value 8 obtained by shifting the orthogonal transform signal 3 by the number of bits 13, and 9 denotes an encoder that encodes the quantized value 8 and outputs an encoded signal 10.

以上のように構成された本発明の符号化装置におい
て、以下その動作を説明する。第4図の実施例は第1図
の実施例において量子化ステップを全て2のべき数にし
たものである。量子化ステップを全て2のべき数にすれ
ば、量子化がシフトレジスタのみで行なうことができ、
ハードウェアが簡単になる。入力信号1は直交変換器2
で直交変換される。パラメータ制御信号11から各領域毎
にシフトするビット数13が生成され、シフトレジスタ15
はこのビット数13だけ直交変換信号3をシフトする。シ
フトされた量子化値8は符号化器9でパラメータ制御信
号と共に符号化される。
The operation of the encoding apparatus of the present invention configured as described above will be described below. In the embodiment of FIG. 4, all the quantization steps in the embodiment of FIG. If the quantization steps are all powers of two, the quantization can be performed only by the shift register,
Hardware is simplified. The input signal 1 is the orthogonal transformer 2
Are orthogonally transformed. The number of bits 13 to be shifted for each area is generated from the parameter control signal 11, and the shift register 15
Shifts the orthogonal transform signal 3 by the number of bits 13. The shifted quantized value 8 is encoded by the encoder 9 together with the parameter control signal.

以上の様に、本実施例によればパラメータ制御器12と
シフトレジスタ15絵を用いて、直交変換されたデータを
いくつかの領域に分割し、分割した領域毎のシフト数の
組合せによって細かいデータ量制御を行なって画質の変
動を少なくすることができる。
As described above, according to the present embodiment, the orthogonally transformed data is divided into several regions by using the parameter controller 12 and the shift register 15 and fine data is determined by a combination of the number of shifts for each divided region. By performing the amount control, the fluctuation of the image quality can be reduced.

第5図(a)は本発明の第1の実施例における復号化
装置のブロック図である。同図において、10は前記符号
化装置で符号化された符号化信号、20は第1図の符号化
器9で行なわれた符号化を復号化した復号化信号21を出
力する復号化器、23は第1図の前記量子化器4の量子化
ステップで逆量子化して逆量子化値24を出力する逆量子
化器、22は第1図の圧縮パラメータ制御信号が復号され
たものであり、31は第1図の符号化装置で選択された量
子化ステップで逆量子化した逆量子化値24を各領域毎に
選択する制御信号32を出力するパラメータ制御器、27は
制御信号27で各領域毎に逆量子化値24を切り換えて逆量
子化値28として出力する選択器、29は第1図の符号化装
置における直交変換器2の逆変換を行なって再生信号30
を出力する直交変換器である。
FIG. 5A is a block diagram of a decoding device according to the first embodiment of the present invention. In the figure, reference numeral 10 denotes a coded signal coded by the coding apparatus, 20 denotes a decoder that outputs a decoded signal 21 obtained by decoding the coding performed by the coder 9 of FIG. 1, Reference numeral 23 denotes an inverse quantizer which performs inverse quantization at the quantization step of the quantizer 4 shown in FIG. 1 and outputs an inversely quantized value 24. Reference numeral 22 denotes a signal obtained by decoding the compression parameter control signal shown in FIG. , 31 are parameter controllers for outputting a control signal 32 for selecting, for each region, an inversely quantized value 24, which has been inversely quantized in the quantization step selected by the encoding apparatus of FIG. 1, and 27 is a control signal 27. A selector 29 for switching the inverse quantization value 24 for each region and outputting it as an inverse quantization value 28. A selector 29 performs an inverse transformation of the orthogonal transformer 2 in the encoding apparatus of FIG.
Are output from the orthogonal transformer.

以上のように構成された本実施例の復号化装置につい
て、以下その動作を説明する。この実施例は第1図に示
す実施例の符号化装置に対する復号化装置である。符号
化信号10は復号化器20で復号化信号21と圧縮パラメータ
制御信号22に復号化される。復号化信号21は逆量子化器
23で逆量子化される。パラメータ制御器31は圧縮パラメ
ータ制御信号22から直交変換信号の各領域毎に制御信号
32を生成するが、この制御信号32は第1図の符号化装置
の選択器14でその領域に使用された制御信号13と同じも
のである。選択器33において、制御信号32によって各領
域毎に逆量子化値24が選択されて量子化値28が構成され
る。最後に直交変換器29は、逆量子化値28に第1図の直
交変換器2の逆変換である直交変換を行い、再生信号30
を生成する。
The operation of the decoding apparatus of the present embodiment configured as described above will be described below. This embodiment is a decoding device for the encoding device of the embodiment shown in FIG. The coded signal 10 is decoded by a decoder 20 into a decoded signal 21 and a compression parameter control signal 22. Decoded signal 21 is inverse quantizer
Dequantized at 23. The parameter controller 31 controls the control signal for each region of the orthogonal transformation signal from the compression parameter control signal 22.
The control signal 32 is the same as the control signal 13 used for that area by the selector 14 of the encoder of FIG. In the selector 33, the inverse quantization value 24 is selected for each region by the control signal 32, and the quantization value 28 is formed. Finally, the orthogonal transformer 29 performs an orthogonal transformation, which is an inverse transformation of the orthogonal transformer 2 of FIG.
Generate

以上のように本実施例によれば、パラメータ制御器31
および選択器33を用いて、直交変換されたデータをいく
つかの領域に分割し、分割した領域毎の量子化ステップ
の組合せによって細かいデータ量制御を行なって画質の
変動を少なくすることができる。なお、第5図(a)に
おいて逆量子化器23を乗算器で行なう場合には乗数を切
り換えることにより量子化器を1つにすることができ
る。第5図(b)にブロック図を示す。
As described above, according to the present embodiment, the parameter controller 31
Using the selector 33, the orthogonally transformed data is divided into several regions, and fine data amount control is performed by a combination of quantization steps for each of the divided regions to reduce fluctuations in image quality. When the inverse quantizer 23 is implemented by a multiplier in FIG. 5 (a), the number of quantizers can be reduced to one by switching the multiplier. FIG. 5 (b) shows a block diagram.

第6図は本発明の第1の実施例における復号化装置の
ブロック図である。同図において、10は前記符号化装置
で符号化された符号化信号、20は前記符号化器9で行な
われた符号化を復号化した復号化信号21を出力する復号
化器、22は第5図の圧縮パラメータ制御信号が復号され
たものであり、31は復号化信号21をシフトするシフト数
32を生成するパラメータ制御器、28はシフトレジスタ34
でシフトされた逆量子化値、29は逆量子化値28に第1図
の符号化装置における直交変換器2の逆変換を行なって
再生信号30を出力する直交変換器である。
FIG. 6 is a block diagram of a decoding device according to the first embodiment of the present invention. In the figure, reference numeral 10 denotes an encoded signal encoded by the encoding device, 20 denotes a decoder that outputs a decoded signal 21 obtained by decoding the encoding performed by the encoder 9, and 22 denotes a decoder. 5 is a decoded version of the compression parameter control signal shown in FIG. 5, and 31 is a shift number for shifting the decoded signal 21.
Parameter controller that generates 32, 28 is shift register 34
The inverse quantized value 29 shifted by the above is an orthogonal transformer which outputs the reproduction signal 30 by performing an inverse transformation of the orthogonal transformer 2 in the encoder shown in FIG.

以上のように構成された本実施例の復号化装置につい
て、以下その動作を説明する。この実施例は第4図に示
す実施例の符号化装置に対する復号化装置である。符号
化信号10は復号化器20で復号化信号21と圧縮パラメータ
制御信号22に復号化される。パラメータ制御器31は圧縮
パラメータ制御信号22から直交変換信号の各領域毎に制
御信号32を生成するが、この制御信号32は第5図の符号
化装置のシフトレジスタ15でその領域のシフト数に使用
されたシフト数13と同じものである。シフトレジスタ34
において、復号化信号21をシフト数13によって各領域毎
にシフトした逆量子化値28が構成される。最後に直交変
換器29は、逆量子化値28に第4図の直交変換器2の逆変
換である直交変換を行い、再生信号30を生成する。
The operation of the decoding apparatus of the present embodiment configured as described above will be described below. This embodiment is a decoding device for the coding device of the embodiment shown in FIG. The coded signal 10 is decoded by a decoder 20 into a decoded signal 21 and a compression parameter control signal 22. The parameter controller 31 generates a control signal 32 for each area of the orthogonal transform signal from the compression parameter control signal 22, and this control signal 32 is used by the shift register 15 of the encoding apparatus shown in FIG. This is the same as the shift number 13 used. Shift register 34
In the above, an inverse quantization value 28 in which the decoded signal 21 is shifted for each region by the shift number 13 is formed. Finally, the orthogonal transformer 29 performs an orthogonal transformation, which is an inverse transformation of the orthogonal transformer 2 shown in FIG. 4, on the inverse quantization value 28 to generate a reproduction signal 30.

以上のように本実施例によれば、パラメータ制御器31
およびシフトレジスタ34を用いて、直交変換されたデー
タをいくつかの領域に分割し、分割した領域毎のシフト
数の組合せによって細かいデータ量制御を行なって画質
の変動を少なくすることができる。
As described above, according to the present embodiment, the parameter controller 31
Using the shift register 34, the orthogonally transformed data is divided into several regions, and fine data amount control is performed by a combination of the number of shifts for each of the divided regions, so that a change in image quality can be reduced.

なお、本実施例において、量子化器またはシフトレジ
スタのいずれかを用いて量子化を行なったが、量子化器
とシフトレジスタを縦続接続して量子化器数の削減また
は2のべき数よりも細かい量子化レベルを用いたデータ
量制御を行なってもよい。逆量子化器とシフトレジスタ
も同様に縦続接続することが可能である。
In this embodiment, the quantization is performed using either the quantizer or the shift register. However, the quantizer and the shift register are connected in cascade to reduce the number of quantizers or to reduce the number of powers of two. Data amount control using a fine quantization level may be performed. Similarly, the inverse quantizer and the shift register can be cascaded.

発明の効果 以上説明したように、本発明によれば、量子化器を増
やすことなく細かいデータ量制御を行なうことができ、
局所的変動の少ない視覚的に好ましい画質を得ることが
でき、その実用的効果は大きい。
Effect of the Invention As described above, according to the present invention, it is possible to perform fine data amount control without increasing the number of quantizers,
Visually favorable image quality with little local fluctuation can be obtained, and its practical effect is great.

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

第1図(a)及び(b)は本発明における一実施例の符
号化装置のブロック図、第2図はブロックの領域分割の
図、第3図はブロック分割による量子化レベルの変化
図、第4図は本発明の他の実施例の符号化装置のブロッ
ク図、第5図(a)及び(b)は本発明の一実施例の復
号化装置のブロック図、第6図は本発明の他の実施例の
復号化装置のブロック図、第7図は従来の符号化装置の
ブロック図、第8図は従来の復号化装置のブロック図で
ある。 4……量子化器、12,31……パラメータ制御器、14,33…
…選択器、15,34……シフトレジスタ、23……逆量子化
器。
1 (a) and 1 (b) are block diagrams of an encoding apparatus according to an embodiment of the present invention, FIG. 2 is a diagram of block area division, FIG. 3 is a diagram of a change in quantization level due to block division, FIG. 4 is a block diagram of an encoding apparatus according to another embodiment of the present invention, FIGS. 5A and 5B are block diagrams of a decoding apparatus according to one embodiment of the present invention, and FIG. FIG. 7 is a block diagram of a conventional encoding device, and FIG. 8 is a block diagram of a conventional decoding device. 4 Quantizer, 12, 31… Parameter controller, 14, 33…
... selector, 15,34 ... shift register, 23 ... inverse quantizer.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 テレビジョン学会誌、39〔10〕 (1985) 相澤他 P.920−925 IEEE Trans.Commn. Vol.COM−32〔3〕 (1984) P.225−232 電子通信学会技術研究報告、IE85− 59、P.105−112 IEEE ICASSP (1989) P.1890−1893 昭和63年電子情報通信学会春季全国大 会、D−115 (58)調査した分野(Int.Cl.6,DB名) H04N 7/24 - 7/68 H04N 1/41 - 1/419──────────────────────────────────────────────────続 き Continuation of the front page (56) References Journal of the Institute of Television Engineers of Japan, 39 [10] (1985) Aizawa et al. 920-925 IEEE Trans. Commun. Vol. COM-32 [3] (1984) 225-232 IEICE Technical Report, IE85-59, P.E. 105-112 IEEE ICASSP (1989) 1890-1893 1988 IEICE Spring National Convention, D-115 (58) Fields studied (Int.Cl. 6 , DB name) H04N 7/24-7/68 H04N 1/41-1/419

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】入力信号をブロックに分け、前記ブロック
毎に直交変換する直交変換手段と、前記直交変換された
前記ブロックを少なくとも2つの固定領域に分割して各
領域毎に同一の量子化ステップでスカラー量子化する量
子化手段と、前記量子化ステップの値を制御するパラメ
ータ制御手段と、前記量子化手段のスカラー量子化値を
固定長符号化または可変長符号化する符号化手段とを備
え、 量子化手段は、複数の量子化ステップを有し、前記各固
定領域毎に前記複数の量子化ステップのうちから1つの
量子化ステップを選択して、量子化を行うことを特徴と
する符号化装置。
1. An orthogonal transformation means for dividing an input signal into blocks and orthogonally transforming each block, and dividing the orthogonally transformed blocks into at least two fixed regions to perform the same quantization step for each region. And a parameter control means for controlling the value of the quantization step, and a coding means for performing fixed-length coding or variable-length coding on the scalar quantization value of the quantization means. Wherein the quantizing means has a plurality of quantization steps, and performs quantization by selecting one quantization step from the plurality of quantization steps for each of the fixed regions. Device.
【請求項2】量子化ステップとして2のべき数のみを持
つ量子化器と2のべき数以外の量子化ステップをもつ量
子化器を縦続接続した量子化手段を用いた請求項(1)
記載の符号化装置。
2. A method as claimed in claim 1, wherein said quantizing means comprises a cascade of quantizers having only powers of two and quantizers having quantization steps other than powers of two.
An encoding device according to claim 1.
【請求項3】入力信号をブロックに分け、前記ブロック
毎に直交変換し、前記直交変換された前記ブロックを少
なくとも2つの固定領域に分割して各領域毎に同一の量
子化ステップでスカラー量子化し、前記スカラー量子化
された値を固定長符号化または可変長符号化する符号化
方法であって、 複数の量子化ステップを有し、前記各固定領域毎に前記
複数の量子化ステップのうちから1つの量子化ステップ
を選択して、量子化を行うことを特徴とする符号化方
法。
3. An input signal is divided into blocks, orthogonally transformed for each block, and the orthogonally transformed block is divided into at least two fixed regions, and scalar-quantized by the same quantization step for each region. A fixed-length coding or a variable-length coding of the scalar-quantized value, comprising a plurality of quantization steps, wherein each of the fixed regions includes a plurality of quantization steps. An encoding method comprising selecting one quantization step and performing quantization.
【請求項4】請求項3記載の符号化方法で符号化された
符号化信号を入力とし、 前記符号化信号の前記固定長符号または前記可変長符号
を復号化して復号化信号を得る復号化手段と、前記復号
化信号を各領域毎に符号化する際に行われた前記スカラ
ー量子化の前記量子化ステップで逆量子化する逆量子化
手段と、前記逆量子化手段の逆量子化値に対して前記符
号化の際に行われた前記直交変換手段の逆変換である直
交変換を行なう直交変換手段とを備えたことを特徴とす
る復号化装置。
4. A decoding method which receives a coded signal coded by the coding method according to claim 3 and decodes the fixed-length code or the variable-length code of the coded signal to obtain a decoded signal. Means, inverse quantization means for performing inverse quantization in the quantization step of the scalar quantization performed when encoding the decoded signal for each region, and an inverse quantization value of the inverse quantization means. And an orthogonal transformation means for performing an orthogonal transformation which is an inverse transformation of the orthogonal transformation means performed at the time of the encoding.
【請求項5】量子化ステップとして2のべき数のみを持
つ逆量子化器と2のべき数以外の量子化ステップをもつ
逆量子化器を縦続接続した量子化手段を用いた請求項4
記載の復号化装置。
5. A quantization means in which an inverse quantizer having only a power of 2 as a quantization step and an inverse quantizer having a quantization step other than a power of 2 are cascaded.
The decoding device according to claim 1.
【請求項6】請求項3記載の符号化方法で符号化された
符号化信号を入力とし、前記符号化信号の可変長符号ま
たは固定長符号を復号化し、前記復号化された信号を各
領域毎に前記符号化で行われたスカラー量子化の量子化
ステップで逆量子化し、前記逆量子化された逆量子化値
に対して前記直交変換の逆変換である直交変換を行なう
ことを特徴とする復号化方法。
6. A coded signal coded by the coding method according to claim 3 is input, a variable length code or a fixed length code of the coded signal is decoded, and the decoded signal is converted into each area. Inverse quantization in a quantization step of scalar quantization performed in each encoding, and performing an orthogonal transform, which is an inverse transform of the orthogonal transform, on the inversely quantized dequantized value. The decoding method to use.
JP17342690A 1990-06-29 1990-06-29 Encoding device and decoding device Expired - Lifetime JP2762712B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17342690A JP2762712B2 (en) 1990-06-29 1990-06-29 Encoding device and decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17342690A JP2762712B2 (en) 1990-06-29 1990-06-29 Encoding device and decoding device

Publications (2)

Publication Number Publication Date
JPH0461584A JPH0461584A (en) 1992-02-27
JP2762712B2 true JP2762712B2 (en) 1998-06-04

Family

ID=15960236

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17342690A Expired - Lifetime JP2762712B2 (en) 1990-06-29 1990-06-29 Encoding device and decoding device

Country Status (1)

Country Link
JP (1) JP2762712B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2940304B2 (en) * 1992-06-15 1999-08-25 松下電器産業株式会社 High efficiency coding apparatus, high efficiency coding method, and decoding apparatus for high efficiency coding apparatus

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
IEEE ICASSP (1989) P.1890−1893
IEEE Trans.Commn.Vol.COM−32〔3〕 (1984) P.225−232
テレビジョン学会誌、39〔10〕 (1985) 相澤他 P.920−925
昭和63年電子情報通信学会春季全国大会、D−115
電子通信学会技術研究報告、IE85−59、P.105−112

Also Published As

Publication number Publication date
JPH0461584A (en) 1992-02-27

Similar Documents

Publication Publication Date Title
EP0987899B1 (en) Adaptive variable-length coding method for video data
US7454071B2 (en) System and method for using pattern vectors for video and image coding and decoding
US7729423B2 (en) Fixed bit rate, intraframe compression and decompression of video
US20060126732A1 (en) Adaptive rate control for digital video compression
US6205254B1 (en) Image coding apparatus and method, and image decoding apparatus and method
JP3016456B2 (en) Adaptive variable length coding method
JP2762712B2 (en) Encoding device and decoding device
JPH1066077A (en) Code amount control method for image data and its device
EP1691560A2 (en) Video coder providing implicit coefficient prediction and scan adaption for image coding and intra coding of video
JP2963958B2 (en) High efficiency coding device
JP2523953B2 (en) Encoder
US5737021A (en) Transform coefficient selection method and apparatus for a transform coding system
JPH10304362A (en) Image signal processing unit and its method
JP2872149B2 (en) Image coding device
KR960003090B1 (en) Coder and decoder
EP0548430A1 (en) Signal encoding and decoding apparatus
JP3191462B2 (en) High efficiency coding device
JPH0472960A (en) Picture coding system
JPH0683442B2 (en) Image signal coding method and apparatus
JPH0479670A (en) Encoding device
JPH09205551A (en) Code quantity controller
JPH0767108A (en) Encoder and decoder
JPH03209919A (en) Block encoder
JPH08298664A (en) Image transmitting equipment

Legal Events

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

Free format text: PAYMENT UNTIL: 20080327

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090327

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100327

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20110327

Year of fee payment: 13

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110327

Year of fee payment: 13