JPH06268988A - Quantization characteristic control method for picture signal and picture signal compression-encoding device - Google Patents

Quantization characteristic control method for picture signal and picture signal compression-encoding device

Info

Publication number
JPH06268988A
JPH06268988A JP5665193A JP5665193A JPH06268988A JP H06268988 A JPH06268988 A JP H06268988A JP 5665193 A JP5665193 A JP 5665193A JP 5665193 A JP5665193 A JP 5665193A JP H06268988 A JPH06268988 A JP H06268988A
Authority
JP
Japan
Prior art keywords
quantization
basic
bit
allocation map
bit allocation
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
JP5665193A
Other languages
Japanese (ja)
Other versions
JP2500583B2 (en
Inventor
Katsuya Oshima
勝也 大島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP5665193A priority Critical patent/JP2500583B2/en
Publication of JPH06268988A publication Critical patent/JPH06268988A/en
Application granted granted Critical
Publication of JP2500583B2 publication Critical patent/JP2500583B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE:To perform reproduction without damaging the decoded pictures even when signals for indicating the quantization bit number of picture signals are erroneous. CONSTITUTION:The picture signals 21 are orthogonally transformed in a blocking and orthogonal transformation part 1 and the quantization bit numbers are set for respective blocks in a bit allocation map setting part 2. A basic bit allocation map generation part 4 outputs a basic bit allocation map 24 and a basic quantization characteristic 25 is selected in a basic quantization characteristic selection part 5. A bit difference between a quantization bit allocation map 23 and the basic bit allocation map 24 is calculated in a bit difference calculation part 3 and the basic quantization characteristic is corrected in a quantization step width changing part 6. A quantization processing is performed in a quantization part 7 and a level in the basic quantization characteristic and the level of a corrected part are respectively separated into a basic code 28 and an additional code 29 and outputted.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は直交変換を用いて画像信
号を圧縮符号化する際の量子化特性制御方法及び圧縮符
号化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a quantization characteristic control method and a compression coding apparatus for compressing and coding an image signal using orthogonal transformation.

【0002】[0002]

【従来の技術】従来の画像信号の量子化特性制御及び圧
縮符号化について図面を用いて説明する。
2. Description of the Related Art Conventional quantization characteristic control and compression encoding of image signals will be described with reference to the drawings.

【0003】図5は直交変換を用いた画像信号の圧縮符
号化装置の一例を示すブロック図である。
FIG. 5 is a block diagram showing an example of an image signal compression coding apparatus using orthogonal transformation.

【0004】図5において、入力された画像信号30は
ブロック化及び直交変換部8においてブロック化及び直
交変換処理が施される。ここで得られた直交変換係数3
1に対し、ビット割当て設定部9において適応的にビッ
ト割当てを行い、各直交変換係数の量子化ビット数を表
す量子化ビット数信号32が得られる。そして量子化ビ
ット数信号32で示される量子化ビット数に対応した量
子化特性が量子化特性選択部10において得られ、各直
交変換係数の量子化特性33が決定される。量子化部1
1では、直交変換係数31を量子化特性33に従って量
子化処理を行い、量子化された符号34を出力する。一
方、量子化ビット数信号32も符号34とともに出力さ
れ、符号時の逆量子化の際に使用される。
In FIG. 5, the input image signal 30 is subjected to blocking and orthogonal transformation processing in a blocking and orthogonal transformation unit 8. Orthogonal transform coefficient 3 obtained here
The bit allocation setting unit 9 adaptively allocates bits to 1, and a quantized bit number signal 32 representing the quantized bit number of each orthogonal transform coefficient is obtained. Then, the quantization characteristic corresponding to the number of quantization bits indicated by the quantization bit number signal 32 is obtained by the quantization characteristic selection unit 10, and the quantization characteristic 33 of each orthogonal transform coefficient is determined. Quantizer 1
In 1, the orthogonal transform coefficient 31 is quantized according to the quantization characteristic 33, and the quantized code 34 is output. On the other hand, the quantized bit number signal 32 is also output together with the code 34, and is used at the time of inverse quantization at the time of code.

【0005】[0005]

【発明が解決しようとする課題】この画像信号の圧縮符
号化装置から量子化された符号34と量子化ビット数信
号32とが伝送路に出力され、伝送や記録・再生などが
行われる。このとき、伝送路において量子化ビット数信
号32が誤った場合、復号時の逆量子化処理で何ビット
で量子化処理が行われたかがわからなくなる。そのため
正しい復号処理が行われず、復号画像が破綻するという
問題がある。
The quantized code 34 and the quantized bit number signal 32 are output from the compression encoding apparatus for image signals to the transmission path, and transmission, recording / reproduction, etc. are performed. At this time, if the quantized bit number signal 32 is erroneous on the transmission line, it is impossible to know how many bits the quantization process was performed in the inverse quantization process at the time of decoding. Therefore, there is a problem in that the correct decoding process is not performed and the decoded image fails.

【0006】本発明の目的は、直交変換係数の量子化ビ
ット数を表す信号が伝送路において誤っても、復号画像
を破綻させることなく再生させることが可能な圧縮符号
化時の量子化特性の制御方法及び圧縮符号化装置を提供
することにある。
An object of the present invention is to provide a quantization characteristic at the time of compression encoding in which a decoded image can be reproduced without breaking even if a signal representing the number of quantization bits of an orthogonal transform coefficient is erroneous in a transmission line. It is to provide a control method and a compression encoding device.

【0007】[0007]

【課題を解決するための手段】本発明の画像信号の量子
化特性制御方法は、入力された画像信号をあらかじめ定
められた大きさの複数の小面積の各ブロック毎に直交変
換を施すことで得られる直交変換係数に対し、画面内の
前記各直交変換係数の第1の量子化ビット数を示す量子
化ビット割当てマップを前記各ブロック毎に設定し、前
記量子化ビット割当てマップで示される第1の量子化ビ
ット数に対応する量子化特性を設定するにあたり、前記
直交変換係数を粗く量子化するためにあらかじめ定めら
れた第2の量子化ビット数を示す基本ビット割当てマッ
プから対応する基本量子化特性を選択し、前記基本ビッ
ト割当てマップで示される前記第2の量子化ビット数と
前記量子化ビット割当てマップで示される前記第1の量
子化ビット数とのビット差分を計算し、前記ビット差分
で表される量子化レベル数に従って前記基本量子化特性
の量子化ステップ幅を補正することにより補正された量
子化特性を得る。
A method for controlling a quantization characteristic of an image signal according to the present invention is to perform an orthogonal transformation on an input image signal for each block of a plurality of small areas having a predetermined size. With respect to the obtained orthogonal transform coefficient, a quantized bit allocation map indicating the first number of quantized bits of each orthogonal transform coefficient in the screen is set for each block, and the quantized bit allocation map In setting the quantization characteristic corresponding to the number of quantization bits of 1, the corresponding basic quantum from the basic bit allocation map indicating the second number of quantization bits predetermined for roughly quantizing the orthogonal transform coefficient. Of the second quantization bit number shown in the basic bit allocation map and the first quantization bit number shown in the quantization bit allocation map. The Tsu bets difference calculated to obtain the corrected quantization characteristic by correcting the quantization step width of the base quantization characteristics in accordance with the number of quantization levels represented by said bit difference.

【0008】本発明の画像信号圧縮符号化装置は、入力
された画像信号をあらかじめ定められた大きさの複数の
小面積にブロック化して各ブロック毎に直交変換を施す
ブロック化及び直交変換部と、このブロック化及び直交
変換部で得られた直交変換係数のそれぞれに対して量子
化する際の第1の量子化ビット数を前記各ブロック毎に
設定するビット割当てマップ設定部と、あらかじめ定め
られたブロック内の各直交変換係数のビット割当てを示
す基本ビット割当てマップを出力する基本ビット割当て
マップ発生部と、あらかじめ定められた複数の量子化特
性の中から前記基本ビット割当てマップ発生部が示す各
直交変換係数の第2の量子化ビット数に対応する量子化
特性を選択する基本量子化特性選択部と、前記第1の量
子化ビット数と前記基本ビット割当てマップ発生部が示
す前記第2の量子化ビット数とを前記ブロック内の同じ
座標同士でビット差分を計算するビット差分計算部と、
前記基本量子化特性選択部で選択された量子化特性を前
記ビット差分で補正する量子化ステップ幅変更部と、こ
の量子化ステップ幅変更部で補正された量子化特性に従
って前記直交変換係数の量子化処理を行う量子化部とを
備えている。
The image signal compression coding apparatus according to the present invention comprises a block forming and orthogonal transforming unit which divides an input image signal into a plurality of small areas having a predetermined size and performs orthogonal transform on each block. A bit allocation map setting unit that sets a first quantization bit number for each of the blocks when quantizing each of the orthogonal transform coefficients obtained by the blocking and orthogonal transform units; A basic bit allocation map generator that outputs a basic bit allocation map indicating the bit allocation of each orthogonal transform coefficient in a block, and a basic bit allocation map generator that selects from among a plurality of predetermined quantization characteristics. A basic quantization characteristic selection unit for selecting a quantization characteristic corresponding to the second number of quantization bits of the orthogonal transform coefficient; A bit difference calculation unit for calculating a bit difference in the same coordinate among the block and the number of the second quantization bits indicated by the basic bit allocation map generation unit,
A quantization step width changing unit that corrects the quantization characteristic selected by the basic quantization characteristic selecting unit with the bit difference, and a quantum of the orthogonal transform coefficient according to the quantization characteristic corrected by the quantization step width changing unit. And a quantization unit that performs a quantization process.

【0009】[0009]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0010】本発明の一実施例を示す図1を参照する
と、画像信号圧縮符号化装置は、入力された画像信号2
1をあらかじめ定められた大きさの複数の小面積にブロ
ック化して各ブロック毎に直交変換を施すブロック化及
び直交変換部1と、このブロック化及び直交変換部1で
得られた直交変換係数22のそれぞれに対して量子化す
る際の量子化ビット数23を各ブロック毎に設定するビ
ット割当てマップ設定部2と、あらかじめ定められたブ
ロック内の各直交変換係数のビット割当てを示す基本ビ
ット割当てマップを出力する基本ビット割当てマップ発
生部4と、あらかじめ定められた複数の量子化特性の中
から基本ビット割当てマップ発生部4が示す各直交変換
係数の量子化ビット数24に対応する量子化特性を選択
する基本量子化特性選択部5と、量子化ビット数23と
基本ビット割当てマップ発生部4が示す量子化ビット数
24とをブロック内の同じ座標同士でビット差分を計算
するビット差分計算部3と、基本量子化特性選択部5で
選択された量子化特性をビット差分で補正する量子化ス
テップ幅変更部6と、この量子化ステップ幅変更部6で
補正された量子化特性に従って直交変換係数22の量子
化処理を行う量子化部7とを備えている。
Referring to FIG. 1 showing an embodiment of the present invention, an image signal compression coding apparatus is provided with an input image signal 2
1 is divided into a plurality of small areas having a predetermined size and orthogonal transformation is performed for each block, and the orthogonal transformation coefficient 22 obtained by the blocking and orthogonal transformation unit 1 A bit allocation map setting unit 2 for setting the number of quantization bits 23 for each block for each block, and a basic bit allocation map showing the bit allocation of each orthogonal transform coefficient in a predetermined block. And a quantization characteristic corresponding to the quantization bit number 24 of each orthogonal transform coefficient indicated by the basic bit allocation map generation section 4 from among a plurality of predetermined quantization characteristics. The basic quantization characteristic selection unit 5 to be selected, the quantization bit number 23, and the quantization bit number 24 indicated by the basic bit allocation map generation unit 4 are blocked. , A bit difference calculation unit 3 that calculates a bit difference between the same coordinates, a quantization step width changing unit 6 that corrects the quantization characteristic selected by the basic quantization characteristic selection unit 5 with the bit difference, and this quantization step The quantization unit 7 performs a quantization process of the orthogonal transform coefficient 22 according to the quantization characteristic corrected by the width changing unit 6.

【0011】次に、本実施例の動作について基本量子化
特性を示す図3及び補正後の量子化特性を示す図4を図
1並びにブロック構成を示す図2を併せ参照して説明す
る。
Next, the operation of the present embodiment will be described with reference to FIG. 3 showing a basic quantization characteristic and FIG. 4 showing a corrected quantization characteristic with reference to FIG. 1 and FIG. 2 showing a block configuration.

【0012】入力された画像信号21は、ブロック化及
び直交変換部1においてブロック化及び直交変換を施さ
れる。図2に示すようにブロック化は、画面を複数の小
面積ブロックに分割することであり、ブロックの大きさ
としては8画素×8ライン程度が一般的であるので、こ
こでは例として8画素×8ラインの大きさの64画素を
1ブロックとする。また、直交変換は画像圧縮では例え
ば離散コサイン変換が一般的に選ばれる。直交変換され
た直交変換係数22を用いて、ビット割当てマップ設定
部2において、各直交変換係数を量子化する際の量子化
ビット数をブロック毎に設定する。
The input image signal 21 is subjected to blocking and orthogonal transformation in the blocking and orthogonal transformation unit 1. As shown in FIG. 2, the block formation is to divide the screen into a plurality of small area blocks, and the size of the block is generally about 8 pixels × 8 lines. One block has 64 pixels with a size of 8 lines. In image compression, for example, discrete cosine transform is generally selected as the orthogonal transform. Using the orthogonal transformation coefficient 22 subjected to orthogonal transformation, the bit allocation map setting unit 2 sets the number of quantization bits for quantizing each orthogonal transformation coefficient for each block.

【0013】ここで、図2に示すように1つのブロック
当たり64個の直交変換係数があり、各直交変換係数A
ij(i=1,2,3…8、j=1,2,3…8)に対応
して64個の量子化ビット数を設定するので、その64
個の量子化ビット数列をひとまとめにして量子化ビット
割当てマップと呼ぶことにする。
Here, as shown in FIG. 2, there are 64 orthogonal transform coefficients per block, and each orthogonal transform coefficient A
ij (i = 1,2,3 ... 8, j = 1,2,3 ... 8) is set as 64 quantization bit numbers.
The quantized bit number sequences are collectively referred to as a quantized bit allocation map.

【0014】また、直交変換係数(Aij)はブロック内
の座標により異なる空間周波数成分の大きさを表してお
り、ブロック内左上に位置する直交変換係数A11はブロ
ック内の直流成分の大きさを表し、右下へ向かうにつれ
てより高周波成分の大きさを表している。そのため、量
子化ビット割当てマップは、画像信号の性質から直流成
分や低域成分は大きな値となるため量子化ビット数も多
く割当てられ、逆に高域成分は比較的小さな値となるた
め量子化ビット数は少なめに割当てられるという形にな
ることが多い。
Further, the orthogonal transform coefficient (A ij ) represents the magnitude of the spatial frequency component which differs depending on the coordinates within the block, and the orthogonal transform coefficient A 11 located at the upper left of the block represents the magnitude of the DC component within the block. And the magnitude of the high frequency component is shown toward the lower right. Therefore, in the quantized bit allocation map, since the DC component and the low frequency component have large values due to the nature of the image signal, a large number of quantization bits are allocated. The number of bits is often allocated in a small amount.

【0015】また、圧縮効率を高めるために各ブロック
の量子化ビット割当てマップは異なるものになることが
多く、精細な絵柄のブロックの量子化ビット割当てマッ
プは高域成分まで多くのビットが割当てられているが、
平坦な絵柄のブロックの量子化ビット割当てマップは低
域成分から少なめのビットが割当てられるといった具合
いである。以上のようにして量子化ビット割当てマップ
をブロック毎に設定し、量子化ビット数信号23として
出力する。
Further, in order to improve the compression efficiency, the quantized bit allocation map of each block is often different, and the quantized bit allocation map of a block with a fine pattern is allocated many bits up to high frequency components. However,
The quantized bit allocation map of the flat pattern block is such that a small number of bits are allocated from the low-frequency component. As described above, the quantized bit allocation map is set for each block and is output as the quantized bit number signal 23.

【0016】一方、基本ビット割当てマップ発生部4で
は、あらかじめ定めたブロック内の各直交変換係数のビ
ット割当てを示す基本ビット割当てマップ24を出力す
る。基本ビット割当てマップ24は、ブロック内の各直
交変換係数を比較的粗く量子化するためのものであり、
画面内のすべてのブロックに対して共通に用いられる。
この基本ビット割当てマップ24には、このマップでの
み量子化処理を行ったのちに復号処理を行っても、もと
の画像の内容が認識できる程度の粗い量子化ビット数を
設定しておく。
On the other hand, the basic bit allocation map generator 4 outputs a basic bit allocation map 24 showing the bit allocation of each orthogonal transform coefficient in a predetermined block. The basic bit allocation map 24 is for relatively coarsely quantizing each orthogonal transform coefficient in a block,
Commonly used for all blocks in the screen.
In this basic bit allocation map 24, a coarse quantization bit number is set such that the contents of the original image can be recognized even if the decoding process is performed after the quantization process is performed only in this map.

【0017】基本量子化特性選択部5では、あらかじめ
定めた複数の量子化特性のなかから、基本ビット割当て
マップ24が示す各直交変換係数の量子化ビット数に対
応した量子化特性を選択する。例えば、図3の特性41
に示すような量子化特性が選択される。このようにして
基本ビット割当てマップ24に従って選択された量子化
特性は基本量子化特性25となる。
The basic quantization characteristic selection unit 5 selects a quantization characteristic corresponding to the number of quantization bits of each orthogonal transform coefficient indicated by the basic bit allocation map 24 from a plurality of predetermined quantization characteristics. For example, the characteristic 41 of FIG.
The quantization characteristic as shown in is selected. In this way, the quantization characteristic selected according to the basic bit allocation map 24 becomes the basic quantization characteristic 25.

【0018】基本ビット割当てマップ24はあらかじめ
設定されているものなので、実際の画像信号から作成さ
れた量子化ビット割当てマップ23とは一致しないこと
が多い。また、基本ビット割当てマップ24で示される
量子化ビット数は、ブロック内の各直交変換係数を比較
的粗く量子化するので、量子化ビット割当てマップ23
で示される量子化ビット数より少なくなっていることが
多い。この差は精細な絵柄のブロックでの量子化ビット
割当てマップでは大きく、平坦な絵柄のブロックでの量
子化ビット割当てマップでは小さいというように一定で
はない。
Since the basic bit allocation map 24 is preset, it often does not match the quantized bit allocation map 23 created from the actual image signal. Further, since the number of quantization bits indicated by the basic bit allocation map 24 quantizes each orthogonal transform coefficient in the block relatively roughly, the quantized bit allocation map 23
It is often less than the number of quantization bits indicated by. This difference is not constant such that it is large in the quantized bit allocation map in the fine pattern block and small in the quantized bit allocation map in the flat pattern block.

【0019】そこで、その差をビット差分計算部3にて
計算する。ビット差分計算部3では、量子化ビット割当
てマップ23が示す量子化ビット数と、基本ビット割当
てマップ24が示す量子化ビット数とを、ブロック内の
同じ座標同士でビット差分を計算する。
Therefore, the difference is calculated by the bit difference calculation unit 3. The bit difference calculation unit 3 calculates the bit difference between the quantized bit number indicated by the quantized bit allocation map 23 and the quantized bit number indicated by the basic bit allocation map 24 at the same coordinates in the block.

【0020】例えば、量子化ビット割当てマップで示さ
れる量子化ビット数が5ビット、基本ビット割当てマッ
プで示される量子化ビット数が3ビットとすると、差分
は2ビットとなる。また、量子化ビット割当てマップで
示される量子化ビット数より、基本ビット割当てマップ
で示される量子化ビット数の方が大きい場合や等しい場
合には、差分はゼロになる。こうして得られた差分は、
ビット差分値26として出力される。
For example, if the number of quantized bits indicated by the quantized bit allocation map is 5 and the number of quantized bits indicated by the basic bit allocation map is 3, the difference is 2 bits. If the number of quantized bits shown in the basic bit allocation map is larger than or equal to the number of quantized bits shown in the quantized bit allocation map, the difference becomes zero. The difference thus obtained is
It is output as the bit difference value 26.

【0021】先に選択された基本量子化特性25は、基
本ビット割当てマップ24をもとに選択されたものであ
るので、実際の画像の精細さや平坦さに対応した量子化
特性にはなっていない。そこで、ビット差分値26を用
いて量子化特性の補正を行う。量子化ステップ幅変更部
6には、基本量子化特性25及びビット差分値26が入
力される。そしてビット差分値26から2のべき乗を計
算することによりレベル値を求める。先の例では、ビッ
ト差分値が2であったのでレベル値としては4が得られ
る。
Since the previously selected basic quantization characteristic 25 is selected based on the basic bit allocation map 24, it has a quantization characteristic corresponding to the fineness and flatness of the actual image. Absent. Therefore, the quantization characteristic is corrected using the bit difference value 26. The basic quantization characteristic 25 and the bit difference value 26 are input to the quantization step width changing unit 6. Then, the level value is obtained by calculating a power of 2 from the bit difference value 26. In the above example, since the bit difference value is 2, a level value of 4 is obtained.

【0022】つまり、基本量子化特性が持つステップ幅
を4分の1にする、すなわちレベル値を4倍にすると量
子化ビット割当てマップが示す量子化ビット数に対応し
た量子化特性をえることができる。
That is, if the step width of the basic quantization characteristic is reduced to 1/4, that is, the level value is increased by 4, the quantization characteristic corresponding to the number of quantization bits indicated by the quantization bit allocation map can be obtained. it can.

【0023】この量子化特性補正について詳述すると、
図4において、破線で示す特性41は基本量子化特性で
ある。これに先の例のレベル値4の補正を加えると、実
線で示す特性42が得られる。ここでは、基本量子化特
性41の各レベルを単純に4分割して新たなレベルにし
たものであるが、補正方法はこれに限定されない。補正
された量子化特性42は、基本量子化特性41に対して
レベル値が4倍になっており、ビット差分値26による
補正が行われたことになる。
The quantization characteristic correction will be described in detail below.
In FIG. 4, a characteristic 41 indicated by a broken line is a basic quantization characteristic. When the correction of the level value 4 of the previous example is added to this, the characteristic 42 shown by the solid line is obtained. Here, each level of the basic quantization characteristic 41 is simply divided into four to form a new level, but the correction method is not limited to this. The corrected quantization characteristic 42 has a level value four times that of the basic quantization characteristic 41, which means that the correction is performed using the bit difference value 26.

【0024】量子化ステップ幅変更部6によって補正さ
れた量子化特性27は各直交変換係数を量子化する際の
量子化特性として用いられる。量子化部7においては、
直交変換係数22を補正された量子化特性27に従って
量子化処理を行う。そして得られた符号を出力するが、
このとき基本量子化特性でのレベルと、補正された部分
のレベルとを、それぞれ基本符号28と追加符号29と
に分けて出力する。
The quantization characteristic 27 corrected by the quantization step width changing unit 6 is used as the quantization characteristic when quantizing each orthogonal transform coefficient. In the quantizer 7,
Quantization processing is performed on the orthogonal transform coefficient 22 according to the corrected quantization characteristic 27. And output the obtained code,
At this time, the level of the basic quantization characteristic and the level of the corrected part are separately output to the basic code 28 and the additional code 29.

【0025】先の例においては、量子化ビット割当てマ
ップ23で示された量子化ビット数は5ビットである
が、基本ビット割当てマップ24が示す量子化ビット数
が3ビットであるので、量子化部7に入力された直交変
換係数22に対しては、まず基本ビット割当てマップ2
4から得られる基本量子化特性25上で相当するレベル
を3ビットで表し、次に補正されたことによってより多
くなったレベルのどこに相当するかを2ビットで表し、
それぞれを基本符号28、追加符号29として出力す
る。
In the above example, the quantization bit number shown in the quantization bit allocation map 23 is 5 bits, but the quantization bit number shown in the basic bit allocation map 24 is 3 bits. For the orthogonal transform coefficient 22 input to the unit 7, first, the basic bit allocation map 2
The corresponding level on the basic quantization characteristic 25 obtained from 4 is represented by 3 bits, and the corresponding level of the level increased by the next correction is represented by 2 bits,
Each is output as a basic code 28 and an additional code 29.

【0026】これは補正された量子化特性27の各レベ
ル値のインデックス(5ビット)の上位3ビットのみを
見ると基本量子化特性のインデックス(3ビット)と一
致するように設定しておくことで、得られた5ビット符
号から上位基本ビット割当てマップが示す量子化ビット
数の3ビット基本符号、残り2ビットを追加符号という
ように容易に分割出力が可能である。
This should be set so as to coincide with the index (3 bits) of the basic quantization characteristic when only the upper 3 bits of the index (5 bits) of each level value of the corrected quantization characteristic 27 are viewed. Then, it is possible to easily perform division output from the obtained 5-bit code such as the 3-bit basic code of the quantization bit number indicated by the higher-order basic bit allocation map and the remaining 2 bits as the additional code.

【0027】こうして得られた基本符号28、追加符号
29、及び量子化ビット数信号23を伝送路に出力す
る。復号側では、量子化ビット数信号23に従った量子
化ビット数で逆量子化処理を行う。ここで、仮に量子化
ビット数信号23が伝送路において誤った場合、追加符
号29は使用せず、復号側でもあらかじめ設定されてい
る基本ビット割当てマップに従って基本符号28のみを
復号する。こうすることで、基本符号28のみを使った
画像の再生が可能であるので、画像が破綻することを防
げ、内容を把握できる程度の画質の画像を得ることがで
きる。
The basic code 28, the additional code 29, and the quantized bit number signal 23 thus obtained are output to the transmission line. On the decoding side, the inverse quantization process is performed with the quantization bit number according to the quantization bit number signal 23. Here, if the quantized bit number signal 23 is erroneous on the transmission line, the additional code 29 is not used, and only the basic code 28 is decoded according to the basic bit allocation map set in advance on the decoding side. By doing so, it is possible to reproduce the image using only the basic code 28, so that it is possible to prevent the image from collapsing and obtain an image of an image quality that allows the contents to be grasped.

【0028】なお、ここでは量子化ビット数を示す信号
をそのまま出力する場合について記述したが、量子化ビ
ット割当てマップを数種類に限定し、そのマップのイン
デックスを出力するような場合にも同様に適用可能であ
る。
Although the case where the signal indicating the number of quantized bits is directly output is described here, the same applies to the case where the number of quantized bit allocation maps is limited and the index of the map is output. It is possible.

【0029】[0029]

【発明の効果】以上説明したように本発明によれば、入
力された画像信号をあらかじめ定められた大きさの複数
の小面積の各ブロック毎に直交変換を施すことで得られ
る直交変換係数に対し、画面内の各直交変換係数の第1
の量子化ビット数を示す量子化ビット割当てマップを各
ブロック毎に設定し、量子化ビット割当てマップで示さ
れる第1の量子化ビット数に対応する量子化特性を設定
するにあたり、直交変換係数を粗く量子化するためにあ
らかじめ定められた第2の量子化ビット数を示す基本ビ
ット割当てマップから対応する基本量子化特性を選択
し、基本ビット割当てマップで示される第2の量子化ビ
ット数と量子化ビット割当てマップで示される第1の量
子化ビット数とのビット差分を計算し、ビット差分で表
される量子化レベル数に従って基本量子化特性の量子化
ステップ幅を補正することによって補正化された量子化
特性を得ることにより、直交変換を用いて画像圧縮符号
化する際にブロック毎に適応的にビット割当てを行った
場合に、そのビット割当てを示す付加情報が誤っても画
像を破綻させることなく復号を可能とし、かつ量子化ビ
ット数は自由に設定できるので圧縮効率にほとんど影響
を及ぼすことのない、量子化特性制御を行うことができ
る。
As described above, according to the present invention, an orthogonal transformation coefficient obtained by subjecting an input image signal to orthogonal transformation for each block of a plurality of small areas having a predetermined size is obtained. On the other hand, the first of the orthogonal transformation coefficients in the screen
When setting the quantization bit allocation map indicating the number of quantization bits of each block for each block and setting the quantization characteristic corresponding to the first quantization bit number indicated by the quantization bit allocation map, the orthogonal transform coefficient The corresponding basic quantization characteristic is selected from the basic bit allocation map indicating the second number of quantization bits predetermined for coarse quantization, and the second quantization bit number and the quantum indicated by the basic bit allocation map are selected. It is corrected by calculating a bit difference from the first quantization bit number indicated by the quantization bit allocation map and correcting the quantization step width of the basic quantization characteristic according to the quantization level number represented by the bit difference. By obtaining the quantized characteristics, when bits are adaptively assigned to each block when image compression coding is performed using orthogonal transform, the bits are Even if the additional information indicating the reliance is erroneous, decoding can be performed without corrupting the image, and the number of quantization bits can be set freely, so that it is possible to perform quantization characteristic control that hardly affects compression efficiency. it can.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】本実施例におけるブロックの構成の一例を示す
図である。
FIG. 2 is a diagram showing an example of the configuration of blocks in the present embodiment.

【図3】基本量子化特性の説明図である。FIG. 3 is an explanatory diagram of basic quantization characteristics.

【図4】量子化特性補正の説明図である。FIG. 4 is an explanatory diagram of quantization characteristic correction.

【図5】従来例を示すブロック図である。FIG. 5 is a block diagram showing a conventional example.

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

1 ブロック化及び直交変換部 2 ビット割当てマップ設定部 3 ビット差分計算部 4 基本ビット割当てマップ発生部 5 基本量子化特性選択部 6 量子化ステップ幅変更部 7 量子化部 21 画像信号 22 直交変換係数 23 量子化ビット割当てマップ(量子化ビット数信
号) 24 基本ビット割当てマップ 25 基本量子化特性 26 ビット差分値 27 補正された量子化特性 28 基本符号 29 追加符号 41 基本量子化特性 42 補正後の量子化特性 A11,…,Aij,…,A88 直交変換係数
1 block formation and orthogonal transformation unit 2 bit allocation map setting unit 3 bit difference calculation unit 4 basic bit allocation map generation unit 5 basic quantization characteristic selection unit 6 quantization step width changing unit 7 quantization unit 21 image signal 22 orthogonal transformation coefficient 23 Quantization Bit Allocation Map (Quantization Bit Number Signal) 24 Basic Bit Allocation Map 25 Basic Quantization Characteristic 26 Bit Difference Value 27 Corrected Quantization Characteristic 28 Basic Code 29 Additional Code 41 Basic Quantization Characteristic 42 Corrected Quantum Characteristics A 11 , ..., A ij , ..., A 88 Orthogonal transform coefficient

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 入力された画像信号をあらかじめ定めら
れた大きさの複数の小面積の各ブロック毎に直交変換を
施すことで得られる直交変換係数に対し、画面内の前記
各直交変換係数の第1の量子化ビット数を示す量子化ビ
ット割当てマップを前記各ブロック毎に設定し、前記量
子化ビット割当てマップで示される第1の量子化ビット
数に対応する量子化特性を設定するにあたり、前記直交
変換係数を粗く量子化するためにあらかじめ定められた
第2の量子化ビット数を示す基本ビット割当てマップか
ら対応する基本量子化特性を選択し、前記基本ビット割
当てマップで示される前記第2の量子化ビット数と前記
量子化ビット割当てマップで示される前記第1の量子化
ビット数とのビット差分を計算し、前記ビット差分で表
される量子化レベル数に従って前記基本量子化特性の量
子化ステップ幅を補正することにより補正された量子化
特性を得ることを特徴とする画像信号の量子化特性制御
方法。
1. An orthogonal transform coefficient obtained by subjecting an input image signal to an orthogonal transform for each of a plurality of small-area blocks having a predetermined size In setting a quantized bit allocation map indicating the first number of quantized bits for each of the blocks and setting a quantization characteristic corresponding to the first quantized bit number indicated by the quantized bit allocation map, In order to roughly quantize the orthogonal transform coefficient, a corresponding basic quantization characteristic is selected from a basic bit allocation map indicating a predetermined second number of quantization bits, and the second basic bit allocation map shown in the basic bit allocation map is selected. A bit difference between the number of quantized bits and the first number of quantized bits indicated by the quantized bit allocation map, and a quantization level represented by the bit difference. A method for controlling a quantization characteristic of an image signal, wherein a corrected quantization characteristic is obtained by correcting a quantization step width of the basic quantization characteristic according to a number.
【請求項2】 入力された画像信号をあらかじめ定めら
れた大きさの複数の小面積にブロック化して各ブロック
毎に直交変換を施すブロック化及び直交変換部と、この
ブロック化及び直交変換部で得られた直交変換係数のそ
れぞれに対して量子化する際の第1の量子化ビット数を
前記各ブロック毎に設定するビット割当てマップ設定部
と、あらかじめ定められたブロック内の各直交変換係数
のビット割当てを示す基本ビット割当てマップを出力す
る基本ビット割当てマップ発生部と、あらかじめ定めら
れた複数の量子化特性の中から前記基本ビット割当てマ
ップ発生部が示す各直交変換係数の第2の量子化ビット
数に対応する量子化特性を選択する基本量子化特性選択
部と、前記第1の量子化ビット数と前記基本ビット割当
てマップ発生部が示す前記第2の量子化ビット数とを前
記ブロック内の同じ座標同士でビット差分を計算するビ
ット差分計算部と、前記基本量子化特性選択部で選択さ
れた量子化特性を前記ビット差分で補正する量子化ステ
ップ幅変更部と、この量子化ステップ幅変更部で補正さ
れた量子化特性に従って前記直交変換係数の量子化処理
を行う量子化部とを備えることを特徴とする画像信号圧
縮符号化装置。
2. A block forming / orthogonal converting unit for dividing an input image signal into a plurality of small areas having a predetermined size and orthogonally converting each block, and the block forming / orthogonal converting unit. A bit allocation map setting unit that sets a first quantization bit number when quantizing each of the obtained orthogonal transform coefficients, and an orthogonal transform coefficient of each of the orthogonal transform coefficients in a predetermined block. A basic bit allocation map generator that outputs a basic bit allocation map indicating bit allocation, and a second quantization of each orthogonal transform coefficient indicated by the basic bit allocation map generator from a plurality of predetermined quantization characteristics. A basic quantization characteristic selecting unit for selecting a quantization characteristic corresponding to the number of bits, a first quantization bit number and the basic bit allocation map generating unit are shown. A bit difference calculation unit that calculates a bit difference between the second quantization bit number and the same coordinates in the block, and a quantization characteristic selected by the basic quantization characteristic selection unit with the bit difference. Image signal compression coding, which comprises a quantization step width changing unit for performing the quantization processing of the orthogonal transform coefficient according to the quantization characteristic corrected by the quantization step width changing unit. apparatus.
JP5665193A 1993-03-17 1993-03-17 Image signal quantization characteristic control method and image signal compression coding apparatus Expired - Lifetime JP2500583B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5665193A JP2500583B2 (en) 1993-03-17 1993-03-17 Image signal quantization characteristic control method and image signal compression coding apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5665193A JP2500583B2 (en) 1993-03-17 1993-03-17 Image signal quantization characteristic control method and image signal compression coding apparatus

Publications (2)

Publication Number Publication Date
JPH06268988A true JPH06268988A (en) 1994-09-22
JP2500583B2 JP2500583B2 (en) 1996-05-29

Family

ID=13033275

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5665193A Expired - Lifetime JP2500583B2 (en) 1993-03-17 1993-03-17 Image signal quantization characteristic control method and image signal compression coding apparatus

Country Status (1)

Country Link
JP (1) JP2500583B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023231414A1 (en) * 2022-06-01 2023-12-07 上海哔哩哔哩科技有限公司 Rate-distortion optimization quantization method and apparatus

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7237872B1 (en) 1995-05-02 2007-07-03 Fujifilm Dimatrix, Inc. High resolution multicolor ink jet printer

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04297184A (en) * 1991-03-26 1992-10-21 Toshiba Corp Image data compressing device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04297184A (en) * 1991-03-26 1992-10-21 Toshiba Corp Image data compressing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023231414A1 (en) * 2022-06-01 2023-12-07 上海哔哩哔哩科技有限公司 Rate-distortion optimization quantization method and apparatus

Also Published As

Publication number Publication date
JP2500583B2 (en) 1996-05-29

Similar Documents

Publication Publication Date Title
KR100880039B1 (en) Method and system for achieving coding gains in wavelet-based image codecs
US5495538A (en) Segmentation-based JPEG image artifacts reduction
US9510005B2 (en) Method and device for encoding blocks of values
JP2010251946A (en) Image encoding apparatus, method, and program, and image decoding apparatus, method, and program
JP2007267384A (en) Compression apparatus and compression method
JP2001136526A (en) Method for image processing, device thereof and storage medium
US10867412B2 (en) Data compression by means of adaptive subsampling
US7149350B2 (en) Image compression apparatus, image depression apparatus and method thereof
JP3105335B2 (en) Compression / expansion method by orthogonal transform coding of image
US5923787A (en) Quantization device and method, inverse-quantization device and method, and image processing device and method
KR940009117B1 (en) Method and apparatus for recovery of image data
JP2500583B2 (en) Image signal quantization characteristic control method and image signal compression coding apparatus
JPH04220081A (en) Method and device for picture data decoding
JP3833585B2 (en) Image coding apparatus, image coding method, and computer program
JP3845208B2 (en) Image compression apparatus and image expansion apparatus
JP2002232721A (en) Image coding apparatus and its method, and storage medium
JPH0670175A (en) Method and device for encoding picture data
JPH0965338A (en) Image coder and image decoder
JP3845206B2 (en) Image compression apparatus and image expansion apparatus
JP5078199B2 (en) Image encoding apparatus and method, program code, and storage medium
EP0783230A2 (en) Transform coding of arbitrarily shaped image segments
KR100195187B1 (en) Apparatus and method of compressing still image at steady compression rate
JPH0774968A (en) Method for compressing/extending picture data
JPH07240920A (en) Compression and extension for digital image data
JPH04271664A (en) Picture data compressor and picture data decoder

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19960123