JPH05207286A - Picture coding system - Google Patents

Picture coding system

Info

Publication number
JPH05207286A
JPH05207286A JP12397391A JP12397391A JPH05207286A JP H05207286 A JPH05207286 A JP H05207286A JP 12397391 A JP12397391 A JP 12397391A JP 12397391 A JP12397391 A JP 12397391A JP H05207286 A JPH05207286 A JP H05207286A
Authority
JP
Japan
Prior art keywords
quantization
value
code
prediction
index
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
JP12397391A
Other languages
Japanese (ja)
Inventor
Yoshihiko Tokunaga
吉彦 徳永
Satoshi Furukawa
聡 古川
Yoshitaka Morikawa
良孝 森川
Hiroshi Hamada
博 浜田
Nobumoto Yamane
延元 山根
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 Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP12397391A priority Critical patent/JPH05207286A/en
Publication of JPH05207286A publication Critical patent/JPH05207286A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

PURPOSE:To reduce the deterioration in the coding performance. CONSTITUTION:In the picture coding system in which a picture element of an original picture and a predicted value are compared to obtain a prediction error and the prediction error is coded, plural code tables T1, T2 representing cross reference between a quantization index or an arrangement pattern and a code word allocated thereto are provided in response to the quantization step width when a quantization index is coded, and when the quantization index is coded, the code tables T1, T2 are selected in response to the quantization step used for the actual coding and then used.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画像のもつ相関を利用
してデータ量を圧縮する画像符号化方式に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image coding system for compressing the amount of data by utilizing the correlation of images.

【0002】[0002]

【従来の技術】従来より、画像内の画素間の相関を利用
することにより画像データを圧縮して符号化する方式と
して外挿予測離散サイン変換符号化方式が提案されてい
る。
2. Description of the Related Art Conventionally, an extrapolation prediction discrete sine transform coding system has been proposed as a system for compressing and coding image data by utilizing the correlation between pixels in an image.

【0003】この画像符号化方式では、原画像を水平方
向と垂直方向とにそれぞれ所定数の画素を含んだ複数個
のブロックに分割し、各ブロックごとに順次符号化する
のであって、符号化後にすでに再生されているブロック
の画素値に基づいて符号化対象となる画素値を外挿的に
予測した予測値と、原画像における符号化対象となる画
素値とを比較して予測誤差を求め、この予測誤差を符号
化する。
In this image coding method, the original image is divided into a plurality of blocks each containing a predetermined number of pixels in the horizontal direction and the vertical direction, and each block is sequentially coded. A prediction error is calculated by comparing the prediction value obtained by extrapolating the pixel value to be coded based on the pixel value of the block already reproduced later with the pixel value to be coded in the original image. , This prediction error is encoded.

【0004】即ち、図5に示すように、第1記憶手段1
に記憶された入力画像(原画像)を水平、垂直方向に所
定数の画素を含む2次元ブロックに分割し、予測手段8
により生成されたこのブロックの予測値と入力された真
の画素値との差分をとることにより予測誤差を生成した
後、予測誤差に対して2次元離散サイン変換手段2によ
り、水平、垂直方向に2次元離散サイン変換を行って変
換係数を得て、この変換係数を量子化手段3により量子
化し、量子化インデクスを得る。
That is, as shown in FIG. 5, the first storage means 1
The input image (original image) stored in is divided into two-dimensional blocks including a predetermined number of pixels in the horizontal and vertical directions, and the prediction means 8
After the prediction error is generated by taking the difference between the prediction value of this block generated by the above and the input true pixel value, the two-dimensional discrete sine transform means 2 responds to the prediction error in the horizontal and vertical directions. Two-dimensional discrete sine transform is performed to obtain a transform coefficient, and the transform coefficient is quantized by the quantizing means 3 to obtain a quantized index.

【0005】次いで、この量子化インデクスを符号化手
段4により符号化し、圧縮符号を得る。
Next, this quantized index is encoded by the encoding means 4 to obtain a compressed code.

【0006】一方、量子化インデクスは逆量子化手段5
により逆量子化されて変換係数を再生し、再生された変
換係数は、2次元逆離散サイン変換手段6により2次元
逆離散サイン変換されて予測誤差が再生される。
On the other hand, the quantization index is the inverse quantization means 5
Is inversely quantized to reproduce the transform coefficient, and the reproduced transform coefficient is subjected to the two-dimensional inverse discrete sine transform by the two-dimensional inverse discrete sine transform means 6 to reproduce the prediction error.

【0007】再生された予測誤差は、前記予測値に加算
されて2次元ブロック内の画素値が再生され第2記憶手
段7に記憶される。第2記憶手段7に記憶された画素値
を用いて予測手段8により次のブロックの予測値を生成
するのである。
The reproduced prediction error is added to the predicted value to reproduce the pixel value in the two-dimensional block and stored in the second storage means 7. The prediction value of the next block is generated by the prediction unit 8 using the pixel value stored in the second storage unit 7.

【0008】このように、上述の外挿予測離散サイン変
換符号化方式では符号化時に再生画像が同時に得られる
のである。
As described above, in the above-mentioned extrapolative prediction discrete sine transform coding method, a reproduced image can be obtained at the same time when the coding is performed.

【0009】また、圧縮符号より画像を再生する場合
は、図6に示すように、復号化手段11により量子化イ
ンデクスを再生し、さらに量子化インデクスは逆量子化
手段12により逆量子化されて変換係数を再生し、再生
された変換係数は2次元逆離散サイン変換手段13によ
り2次元逆離散サイン変換され、予測誤差が再生され、
第1記憶手段14および予測手段15を介して出力され
る予測値に加算されることにより2次元ブロック内の画
素値が再生される。
Further, when reproducing an image from the compression code, as shown in FIG. 6, the quantizing index is reproduced by the decoding means 11, and the quantizing index is inversely quantized by the inverse quantizing means 12. The transform coefficient is reproduced, and the reproduced transform coefficient is two-dimensional inverse discrete sine transformed by the two-dimensional inverse discrete sine transform means 13 to reproduce the prediction error.
The pixel value in the two-dimensional block is reproduced by being added to the prediction value output via the first storage unit 14 and the prediction unit 15.

【0010】再生された画素値は第2記憶手段16に記
憶される。ここで、量子化および符号化の方法として、
例えば、2次元離散サイン変換によって得られた変換係
数はそれぞれ2次元ブロック内の予測誤差信号の周波数
成分を代表しており、図7に示すように、2次元ブロッ
ク内の位置に応じて代表する水平および垂直方向の周波
数が異なっている。
The reproduced pixel value is stored in the second storage means 16. Here, as a method of quantization and encoding,
For example, the transform coefficients obtained by the two-dimensional discrete sine transform each represent the frequency component of the prediction error signal in the two-dimensional block, and are represented according to the position in the two-dimensional block as shown in FIG. The horizontal and vertical frequencies are different.

【0011】これらの変換係数の各々に対して、図8に
示すような量子化特性により量子化を行い、量子化イン
デクスが0となる変換係数(以下、無意係数と呼ぶ)と
量子化インデクスが0以外となる変換係数(以下、有意
係数と呼ぶ)に判別し、有意係数の量子化インデクス
に、第1の可変長符号を割り当て、また、それらのブロ
ック内での配置パターンに第2の可変長符号を割り当て
る方法が知られている。
Each of these transform coefficients is quantized by the quantization characteristic as shown in FIG. 8, and a transform coefficient having a quantized index of 0 (hereinafter referred to as an insignificant coefficient) and a quantized index are obtained. A transform coefficient other than 0 (hereinafter referred to as a significant coefficient) is discriminated, a first variable-length code is assigned to a quantization index of the significant coefficient, and a second variable is assigned to an arrangement pattern within those blocks. A method of allocating a long code is known.

【0012】図8に示した量子化特性において、Sは量
子化ステップ幅であり、所望の圧縮率に応じて可変に設
定される。
In the quantization characteristic shown in FIG. 8, S is a quantization step width, which is variably set according to a desired compression rate.

【0013】符号量を削減するために、高い圧縮率が所
望されるときはSの値は大きく、低い圧縮率の場合はS
の値は小さく設定される。
In order to reduce the code amount, the value of S is large when a high compression ratio is desired, and S is large when the compression ratio is low.
The value of is set small.

【0014】図9は前記第1の可変長符号の例である
が、一般に量子化インデクスの値が小さいほど1画面の
符号化において発生する頻度が高いので、短い符号後が
割り当てられ、発生頻度の低い量子化インデクスの大き
い値には長い符号後が割り当てられる。
FIG. 9 shows an example of the first variable length code. Generally, the smaller the value of the quantization index, the higher the frequency of occurrence in the coding of one screen, and therefore the short code after is assigned and the frequency of occurrence. A long post-code is assigned to a large value of the low quantization index of.

【0015】また、本来、変換係数は、正負の値をとる
ため、量子化インデクスも正負符号を考慮し、量子化イ
ンデクスを割り当てる符号語の末尾に正負符号を表す1
ビットを付加して用いられる。
Further, since the transform coefficient originally takes positive and negative values, the positive and negative signs are also taken into consideration at the end of the code word to which the quantized index is assigned, in consideration of the positive and negative signs in the quantization index.
Used by adding bits.

【0016】図10は上記第2の可変長符号の例を示す
ものである。一般に、有意係数は低周波成分に多く発生
する傾向があり、配置パターンへの符号語の割り当て
は、そのような発生頻度の偏りに基づいて行われる。
FIG. 10 shows an example of the second variable length code. In general, significant coefficients tend to occur frequently in low-frequency components, and codewords are assigned to arrangement patterns based on such deviations in the frequency of occurrence.

【0017】量子化インデクスや配置パターンに対する
可変長符号語の割り当ては、予め試行用のサンプル画像
に対して量子化インデクスや配置パターンの発生頻度を
測定し、測定された発生頻度に対して適切になるように
決定される。
The variable-length codewords are assigned to the quantized index and the arrangement pattern by measuring the occurrence frequency of the quantized index and the arrangement pattern in advance for a sample image for trial, and appropriately allocating to the measured occurrence frequency. Will be decided.

【0018】そして、前記の量子化インデクスや配置パ
ターンと、それらに割り当てられた符号語との対応は、
符号テーブルTとして保存しておき、実際の符号化処理
に際して参照される。
Then, the correspondence between the above-mentioned quantization index and arrangement pattern and the code word assigned to them is as follows:
It is stored as a code table T and is referred to in the actual encoding process.

【0019】[0019]

【発明が解決しようとする課題】上記従来例において
は、量子化インデクスや有意係数の配置パターンに対す
る可変長符号語の割り当てを試行用のサンプル画像での
発生頻度に基づいて予め決定し、符号テーブルTに保存
した後、これを参照しながら実際の符号化を行うのであ
るが、量子化インデクスや有意係数の配置パターンの発
生頻度は、試行用のサンプル画像と実際の符号化を行う
画像とで異なるため、ミスマッチによる符号化性能の劣
化が発生する。
In the above-mentioned conventional example, the assignment of the variable-length codeword to the quantized index and the arrangement pattern of the significant coefficient is determined in advance based on the frequency of occurrence in the sample image for trial, and the code table is used. After being stored in T, the actual encoding is performed with reference to this. The frequency of occurrence of the quantization index and the arrangement pattern of the significant coefficient depends on the sample image for trial and the image to be actually encoded. Since they are different, the coding performance is deteriorated due to the mismatch.

【0020】このようなミスマッチは、試行に用いるサ
ンプル画像をできるだけ実際の符号化を行うものに近い
ものから選択することにより軽減することができる。
Such a mismatch can be mitigated by selecting a sample image to be used for the trial as close as possible to the one for performing actual encoding.

【0021】しかしながら、サンプル画像と全く同一の
画像を用いて符号化を行ったとしても、試行時の量子化
ステップ幅が実際の符号化時のステップ幅と異なってい
ると、量子化インデクスや有意係数の配置パターンの発
生頻度も異なるために符号化性能の劣化が発生してしま
うという問題があった。
However, even if encoding is performed using the same image as the sample image, if the quantization step width at the time of trial is different from the actual encoding step width, the quantization index or significant There is a problem that the coding performance is deteriorated because the frequency of the coefficient allocation pattern is different.

【0022】本発明は、上記の点に鑑みてなしたもので
あり、その目的とするところは、符号化性能の劣化を低
減させた画像符号化方式を提供することにある。
The present invention has been made in view of the above points, and an object of the present invention is to provide an image coding system in which deterioration of coding performance is reduced.

【0023】[0023]

【課題を解決するための手段】本発明は、原画像をそれ
ぞれ所定数の画素を含む複数個のブロックに分割し、原
画像における符号化対象のブロック内の画素値とすでに
得られている予測値とを比較して予測誤差値を求め、前
記予測誤差値に対して直交変換を施して変換係数を求
め、得られた変換係数を所定の量子化ステップ幅を用い
て量子化し、得られた量子化インデクスを符号化すると
ともに、前記量子化インデクスを逆量子化して変換係数
を再生し、逆直交変換を施して予測誤差値を再生し、得
られた予測誤差再生値と前記予測値とを加算して2次元
ブロック内の予測値を再生し、再生された予測値を以降
の予測に備えて記憶しておくような画像符号化方式にお
いて、前記量子化インデクスの符号化は、量子化インデ
クスや配置パターンとそれらに割り当てられた符号語と
の対応を示す符号テーブルを用いて行うとともに、前記
符号テーブルを、前記量子化ステップ幅に応じて複数設
けておき、実際の符号化に用いられる量子化ステップ幅
に応じて前記符号テーブルを選択して使用するようにし
たことを特徴とする。
According to the present invention, an original image is divided into a plurality of blocks each containing a predetermined number of pixels, and a pixel value in a block to be encoded in the original image and a prediction already obtained. The prediction error value is calculated by comparing the obtained value with the value, the transform coefficient is obtained by applying an orthogonal transform to the prediction error value, and the obtained transform coefficient is quantized using a predetermined quantization step width. While encoding the quantization index, the quantization coefficient is inversely quantized to reproduce the transform coefficient, the inverse orthogonal transform is performed to reproduce the prediction error value, and the obtained prediction error reproduction value and the prediction value are In the image coding method in which the predicted value in the two-dimensional block is added and reproduced, and the reproduced predicted value is stored in preparation for the subsequent prediction, the quantization index is encoded by the quantization index. And placement patterns While using a code table showing the correspondence with the code words assigned to them, a plurality of the code tables are provided according to the quantization step width, and the quantization step width used for actual encoding is set. It is characterized in that the code table is selected and used accordingly.

【0024】[0024]

【作用】本発明では、原画像の画素値と予測値とを比較
して予測誤差値を求め、この予測誤差値を符号化する画
像符号化方式において、量子化インデクスを符号化する
際に、予め、量子化インデクスや配置パターンとそれら
に割り当てられた符号語との対応を示す符号テーブル
を、量子化ステップ幅に応じて複数設けておき、量子化
インデクスを符号化する際に、実際の符号化に用いられ
る量子化ステップ幅に応じて前記符号テーブルを選択し
て使用するようにしている。
According to the present invention, the pixel value of the original image is compared with the prediction value to obtain the prediction error value, and in the image coding method of coding this prediction error value, when the quantization index is coded, In advance, a plurality of code tables showing the correspondence between the quantization index and the arrangement pattern and the code words assigned to them are provided in accordance with the quantization step width, and the actual code is used when encoding the quantization index. The code table is selected and used in accordance with the quantization step width used for coding.

【0025】[0025]

【実施例】以下、本発明の一実施例を図面に基づき説明
する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0026】本実施例における符号化方式の基本的構成
および動作に関しては、図5に示したものと同等である
ので、同一箇所には同一符号を付して説明は省略する。
図1は、本発明の一実施例を示すブロック図である。
Since the basic structure and operation of the encoding system in this embodiment are the same as those shown in FIG. 5, the same parts are designated by the same reference numerals and the description thereof will be omitted.
FIG. 1 is a block diagram showing an embodiment of the present invention.

【0027】T1、T2は符号テーブルで、量子化イン
デクスや有意係数の配置パターンとそれらに割り当てら
れた符号語との対応を示すものであり、各々、量子化手
段3での異なる量子化ステップ幅に対応したものであ
る。
T1 and T2 are code tables, which show the correspondence between the arrangement patterns of the quantization indexes and significant coefficients and the code words assigned to them, and different quantization step widths in the quantization means 3 respectively. It corresponds to.

【0028】つまり、符号テーブルT1、T2は、異な
った量子化ステップを用いて試行を行って得られた量子
化インデクスや有意係数の配置パターンの発生頻度に基
づいて決定され、保存されたものである。
That is, the code tables T1 and T2 are determined and stored based on the quantization index obtained by trial using different quantization steps and the occurrence frequency of the arrangement pattern of significant coefficients. is there.

【0029】9はスイッチで、量子化手段3からの制御
信号により、符号化手段4で用いる符号化テーブルを切
り換えるものである。
A switch 9 switches the coding table used by the coding means 4 in response to a control signal from the quantizing means 3.

【0030】つまり、量子化手段3では、所望の圧縮率
に応じて適切な量子化ステップを用いて量子化が行われ
るが、この量子化ステップ幅に対して適切な符号テーブ
ルがどちらであるかを示す制御信号により、符号化手段
4に接続される符号テーブルT1、T2を選択的に切り
換えるのである。
In other words, the quantizing means 3 performs quantization using an appropriate quantizing step according to the desired compression rate. Which is the appropriate code table for this quantizing step width. The control signal indicating that the code tables T1 and T2 connected to the encoding means 4 are selectively switched.

【0031】符号化手段4では、スイッチ9により選択
された符号テーブルT1あるいはT2を用いて、符号化
が行われる。
In the encoding means 4, encoding is performed using the code table T1 or T2 selected by the switch 9.

【0032】以上のようにして符号化を行って得られた
圧縮符号列から画像を再生する場合は、図2に示すよう
な複号化方式が用いられる。
When an image is reproduced from the compressed code string obtained by performing the encoding as described above, the decoding method as shown in FIG. 2 is used.

【0033】図2においても、復号化の基本的構成、動
作は図6に示したものと同等であるので、同一箇所には
同一符号を付して説明は省略する。
In FIG. 2 as well, the basic structure and operation of decoding are the same as those shown in FIG. 6, and therefore the same parts are assigned the same reference numerals and explanations thereof are omitted.

【0034】符号テーブルT1’、T2’は、図1に於
ける符号テーブルT1、T2に各々対応したものであ
る。
The code tables T1 'and T2' correspond to the code tables T1 and T2 in FIG. 1, respectively.

【0035】スイッチ17は、復号化手段11で用いら
れる符号テーブルを選択的に切り換えるものである。
The switch 17 selectively switches the code table used in the decoding means 11.

【0036】つまり、逆量子化手段12の逆量子化ステ
ップのステップ幅に応じて適切な符号テーブルT1’、
T2’を選択し、選択された符号テーブルT1’、T
2’を用いて複号化が行われるのである。
That is, an appropriate code table T1 'depending on the step width of the inverse quantization step of the inverse quantization means 12,
T2 'is selected and the selected code tables T1', T
Decoding is performed using 2 '.

【0037】ここで、前記逆量子化ステップは、符号化
時に用いられた量子化ステップと同一のものを用いるの
で、符号化手段4からこの量子化ステップ幅の値を、圧
縮符号列のヘッダ情報等に付加して、復号化手段11に
送ればよい。
Here, since the same inverse quantization step as the quantization step used at the time of encoding is used, the value of this quantization step width from the encoding means 4 is used as the header information of the compression code string. Etc., and send it to the decoding means 11.

【0038】復号化手段11では、前記圧縮符号列のヘ
ッダ情報に含まれる量子化ステップ幅の値から適切な符
号テーブルT1’、T2’を選択するための制御信号を
出力できるのである。
The decoding means 11 can output a control signal for selecting an appropriate code table T1 ', T2' from the value of the quantization step width contained in the header information of the compressed code string.

【0039】図3および図4は、ある1枚の画像Pに対
して3つの異なる条件で符号テーブルを決定し、それぞ
れの符号テーブルを用いて画像Pを符号化した場合の符
号化性能、つまり符号量(RATE)対SN比(SN
R)を図示したものである。
FIGS. 3 and 4 show the coding performance when a code table is determined for one image P under three different conditions and the image P is coded using each code table, that is, Code amount (RATE) to SN ratio (SN
R) is illustrated.

【0040】同図において、○印で示したのは、試行サ
ンプルとして画像P以外の複数の画像を使用し、小さな
幅の量子化ステップを用いて試行を行って決定した符号
テーブルを用いた場合、□印で示したのは、試行サンプ
ルとして画像P以外の複数の画像を使用し、大きな幅の
量子化ステップを用いて試行を行って決定した符号テー
ブルを用いた場合、×印で示したのは、試行サンプルと
して画像Pを使用し、実際の符号化で用いる量子化ステ
ップと同一のステップ幅を有する量子化ステップを用い
て試行を行い決定した符号テーブルを用いた場合、即ち
ミスマッチを起こさない場合の符号化性能を示すもので
ある。
In the figure, the mark ○ indicates that a plurality of images other than the image P are used as trial samples and a code table determined by conducting trials using a quantization step with a small width is used. , □ indicates that when a plurality of images other than the image P are used as trial samples and a code table determined by conducting trials using a large width quantization step is used, it is indicated by x. The reason is that when the image P is used as a trial sample and a code table determined by performing a trial using a quantization step having the same step width as that used in actual encoding is used, that is, a mismatch occurs. It shows the coding performance when there is not.

【0041】そして、図3は、実際の符号化に用いた量
子化ステップがステップ幅が比較的大きい場合の例であ
り、図4は、実際の符号化に用いた量子化ステップがス
テップ幅が比較的小さい場合の例である。
3 shows an example in which the quantization step used for actual encoding has a relatively large step width, and FIG. 4 shows the quantization step used for actual encoding has a step width of This is an example of a relatively small case.

【0042】図3のように、実際の符号化に用いた量子
化ステップがステップ幅が比較的大きい場合は、大きい
ステップ幅の量子化ステップを用いて試行を行って決定
した符号テーブルを用いると、試行サンプルとして画像
P以外の複数の画像を使用しているにもかかわらず、ミ
スマッチを起こさない場合の符号化性能にかなり近い
が、小さいステップ幅の量子化ステップを用いて試行を
行って決定した符号テーブルを用いると、ミスマッチに
よる性能劣化が大きくなる。
As shown in FIG. 3, when the quantization step used for the actual encoding has a relatively large step width, a code table determined by trial using a quantization step having a large step width is used. , Despite using a plurality of images other than the image P as trial samples, it is quite close to the coding performance in the case where no mismatch occurs, but it is decided by performing trial using a quantization step with a small step width. If the code table is used, the performance degradation due to the mismatch increases.

【0043】また、図4のように、実際の符号化に用い
た量子化ステップがステップ幅が比較的小さい場合は、
小さいステップ幅の量子化ステップを用いて試行を行っ
て決定した符号テーブルを用いると、試行サンプルとし
て画像P以外の複数の画像を使用しているにもかかわら
ず、ミスマッチを起こさない場合の符号化性能にかなり
近いが、大きいステップ幅の量子化ステップを用いて試
行を行って決定した符号テーブルを用いると、ミスマッ
チによる性能劣化が大きくなる。
As shown in FIG. 4, when the quantization step used for the actual encoding has a relatively small step width,
By using a code table determined by performing trial using a quantization step with a small step width, coding is performed in the case where a plurality of images other than the image P are used as trial samples but no mismatch occurs. Although the performance is very close to the performance, when the code table decided by performing the trial using the quantization step having the large step width is used, the performance deterioration due to the mismatch becomes large.

【0044】従って、これらの関係が逆転する近傍のス
テップ幅を有する量子化ステップで符号テーブルを切り
換えるようにすれば、量子化ステップのステップ幅の大
小にかかわらず、ミスマッチによる劣化の少ない符号化
性能を達成することができるのである。
Therefore, if the code table is switched in the quantization step having a step width in the vicinity where these relationships are reversed, the coding performance with less deterioration due to mismatch is obtained regardless of the step size of the quantization step. Can be achieved.

【0045】なお、本実施例では、2つの符号テーブル
を切り換える場合の例を示したが、3つ以上の符号テー
ブルを設けて、切り換えるようにしてもよいことは言う
までもない。
In the present embodiment, an example in which two code tables are switched has been shown, but it goes without saying that three or more code tables may be provided and switched.

【0046】[0046]

【発明の効果】以上のように、本発明によれば、原画像
の画素値と予測値とを比較して予測誤差値を求め、この
予測誤差値を符号化する画像符号化方式において、量子
化インデクスを符号化する際に、予め、量子化インデク
スや配置パターンとそれらに割り当てられた符号語との
対応を示す符号テーブルを、量子化ステップ幅に応じて
複数設けておき、量子化インデクスを符号化する際に、
実際の符号化に用いられる量子化ステップ幅に応じて前
記符号テーブルを選択して使用するようにしているの
で、符号化性能の劣化を低減させた画像符号化方式が提
供できた。
As described above, according to the present invention, the pixel value of the original image is compared with the prediction value to obtain the prediction error value, and the prediction error value is encoded. When encoding the encoded index, a plurality of code tables indicating the correspondence between the quantization index and the arrangement pattern and the code words assigned to them are provided in advance according to the quantization step width, and the quantization index is set. When encoding,
Since the code table is selected and used according to the quantization step width used for actual coding, it is possible to provide an image coding method with reduced deterioration of coding performance.

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

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

【図2】同上に係る画像復号化方式を示すブロック図で
ある。
FIG. 2 is a block diagram showing an image decoding method according to the above.

【図3】同上の動作説明のための特性図である。FIG. 3 is a characteristic diagram for explaining the operation of the above.

【図4】同上の動作説明のための特性図である。FIG. 4 is a characteristic diagram for explaining the same operation as above.

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

【図6】同上に係る画像復号化方式を示すブロック図で
ある。
FIG. 6 is a block diagram showing an image decoding method according to the above.

【図7】同上に係る変換係数を示す模式図である。FIG. 7 is a schematic diagram showing conversion coefficients according to the above.

【図8】同上に係る量子化特性を示す特性図である。FIG. 8 is a characteristic diagram showing a quantization characteristic according to the above.

【図9】同上に係る可変長符号を示す図である。FIG. 9 is a diagram showing a variable length code according to the above.

【図10】同上に係る第2の可変長符号を示す図であ
る。
FIG. 10 is a diagram showing a second variable-length code according to the above.

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

1 第1記憶手段 2 2次元離散サイン変換手段 3 量子化手段 4 符号化手段 5 逆量子化手段 6 2次元逆離散サイン変換手段 7 第2記憶手段 8 予測手段 9 スイッチ T1 符号テーブル T2 符号テーブル DESCRIPTION OF SYMBOLS 1 1st storage means 2 2 dimensional discrete sine conversion means 3 Quantization means 4 Encoding means 5 Inverse quantization means 6 2 dimensional inverse discrete sine conversion means 7 2nd storage means 8 Prediction means 9 Switch T1 code table T2 code table

───────────────────────────────────────────────────── フロントページの続き (72)発明者 浜田 博 岡山県岡山市高島新屋敷164−4 (72)発明者 山根 延元 岡山県岡山市津島中1丁目3番RB棟103 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Hiroshi Hamada 164-4 Shinyashiki Takashima, Okayama City, Okayama Prefecture (72) Nobumoto Yamane 1-3 RB Building, Tsushimachu, Okayama City, Okayama Prefecture 103

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 原画像をそれぞれ所定数の画素を含む複
数個のブロックに分割し、原画像における符号化対象の
ブロック内の画素値とすでに得られている予測値とを比
較して予測誤差値を求め、前記予測誤差値に対して直交
変換を施して変換係数を求め、得られた変換係数を所定
の量子化ステップ幅を用いて量子化し、得られた量子化
インデクスを符号化するとともに、前記量子化インデク
スを逆量子化して変換係数を再生し、逆直交変換を施し
て予測誤差値を再生し、得られた予測誤差再生値と前記
予測値とを加算して2次元ブロック内の予測値を再生
し、再生された予測値を以降の予測に備えて記憶してお
くような画像符号化方式において、前記量子化インデク
スの符号化は、量子化インデクスや配置パターンとそれ
らに割り当てられた符号語との対応を示す符号テーブル
を用いて行うとともに、前記符号テーブルを、前記量子
化ステップ幅に応じて複数設けておき、実際の符号化に
用いられる量子化ステップ幅に応じて前記符号テーブル
を選択して使用するようにしたことを特徴とする画像符
号化方式。
1. A prediction error is obtained by dividing an original image into a plurality of blocks each containing a predetermined number of pixels, and comparing pixel values in a block to be encoded in the original image with prediction values that have already been obtained. A value is obtained, a transform coefficient is obtained by applying an orthogonal transform to the prediction error value, the obtained transform coefficient is quantized using a predetermined quantization step width, and the obtained quantized index is encoded. , The quantization index is inversely quantized to reproduce the transform coefficient, the inverse orthogonal transform is performed to reproduce the prediction error value, the obtained prediction error reproduction value and the prediction value are added, and In an image coding method in which a predicted value is reproduced and the reproduced predicted value is stored for future prediction, the coding of the quantization index is assigned to the quantization index or the arrangement pattern and to them. Mark While using a code table showing the correspondence with the code word, a plurality of the code tables are provided according to the quantization step width, and the code table is provided according to the quantization step width used for actual encoding. An image coding method characterized by selecting and using.
JP12397391A 1991-05-28 1991-05-28 Picture coding system Pending JPH05207286A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12397391A JPH05207286A (en) 1991-05-28 1991-05-28 Picture coding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12397391A JPH05207286A (en) 1991-05-28 1991-05-28 Picture coding system

Publications (1)

Publication Number Publication Date
JPH05207286A true JPH05207286A (en) 1993-08-13

Family

ID=14873894

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12397391A Pending JPH05207286A (en) 1991-05-28 1991-05-28 Picture coding system

Country Status (1)

Country Link
JP (1) JPH05207286A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0663773A2 (en) * 1994-01-18 1995-07-19 Daewoo Electronics Co., Ltd Variable length coder using two VLC tables
WO2003021964A1 (en) * 2001-08-31 2003-03-13 Matsushita Electric Industrial Co., Ltd. Image encoding method, image decoding method, and apparatus thereof
JP2006217339A (en) * 2005-02-04 2006-08-17 Sony Corp Coding apparatus and method, decoding apparatus and method, information processing system and method, recording medium, and program
JP2009206567A (en) * 2008-02-26 2009-09-10 Kyocera Mita Corp Image processor
JP2009296622A (en) * 2009-07-30 2009-12-17 Mitsubishi Electric Corp Moving image coding apparatus, and moving image decoding apparatus
US7715638B2 (en) 2003-01-13 2010-05-11 Nokia Corporation Processing of images using a limited number of bits
JP2011045122A (en) * 2010-10-14 2011-03-03 Mitsubishi Electric Corp Moving image coding apparatus and moving image decoding apparatus

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0663773A2 (en) * 1994-01-18 1995-07-19 Daewoo Electronics Co., Ltd Variable length coder using two VLC tables
EP0663773A3 (en) * 1994-01-18 1996-01-24 Daewoo Electronics Co Ltd Variable length coder using two VLC tables.
US10595051B2 (en) 2001-08-31 2020-03-17 Panasonic Intellectual Property Corporation Of America Picture coding apparatus that codes on a macroblock basis by performing a signal conversion process
US9602844B2 (en) 2001-08-31 2017-03-21 Panasonic Intellectual Property Corporation Of America Picture coding and decoding apparatuses and methods performing variable length coding and decoding on a slice header stream and arithmetic coding and decoding on a slice data stream
US10015524B2 (en) 2001-08-31 2018-07-03 Panasonic Intellectual Property Corporation Of America Picture coding and decoding apparatuses and methods performing variable length coding and decoding on a slice header stream and arithmetic coding and decoding on a slice data stream
WO2003021964A1 (en) * 2001-08-31 2003-03-13 Matsushita Electric Industrial Co., Ltd. Image encoding method, image decoding method, and apparatus thereof
US7664182B2 (en) 2001-08-31 2010-02-16 Panasonic Corporation Picture coding and decoding apparatuses and methods performing variable length coding and decoding on a slice header stream and arithmetic coding and decoding on a slice data stream
US9986264B2 (en) 2001-08-31 2018-05-29 Panasonic Intellectual Property Corporation Of America Picture coding method, picture decoding method and apparatuses thereof
US9986265B2 (en) 2001-08-31 2018-05-29 Panasonic Intellectual Property Corporation Of America Picture coding and decoding apparatuses and methods performing variable length coding and decoding on a slice header stream and arithmetic coding and decoding on a slice data stream
US10602194B2 (en) 2001-08-31 2020-03-24 Panasonic Intellectual Property Corporation Of America Picture coding apparatus that codes on a macroblock basis by performing a signal conversion process
US10405006B2 (en) 2001-08-31 2019-09-03 Panasonic Intellectual Property Corporation Of America Picture coding and decoding method and apparatuses with variable length code on a header and arithmetic decoding on a frame
US8040954B2 (en) 2001-08-31 2011-10-18 Panasonic Corporation Picture coding and decoding apparatuses and methods performing variable length coding and decoding on a slice header stream and arithmetic coding and decoding on a slice data stream
US9826255B2 (en) 2001-08-31 2017-11-21 Panasonic Intellectual Property Corporation Of America Picture coding method, picture decoding method and apparatuses thereof
US8699579B2 (en) 2001-08-31 2014-04-15 Panasonic Corporation Picture coding and decoding apparatuses and methods performing variable length coding and decoding on a slice header stream and arithmetic coding and decoding on a slice data stream
US9325988B2 (en) 2001-08-31 2016-04-26 Panasonic Intellectual Property Corporation Of America Picture coding and decoding apparatuses and methods performing variable length coding and decoding on a slice header stream and arithmetic coding and decoding on a slice data stream
USRE43256E1 (en) 2003-01-13 2012-03-20 Nokia Corporation Processing of images using a limited number of bits
US7715638B2 (en) 2003-01-13 2010-05-11 Nokia Corporation Processing of images using a limited number of bits
JP2006217339A (en) * 2005-02-04 2006-08-17 Sony Corp Coding apparatus and method, decoding apparatus and method, information processing system and method, recording medium, and program
JP4552677B2 (en) * 2005-02-04 2010-09-29 ソニー株式会社 Encoding apparatus and method, decoding apparatus and method, information processing system, recording medium, and program
JP2009206567A (en) * 2008-02-26 2009-09-10 Kyocera Mita Corp Image processor
JP2009296622A (en) * 2009-07-30 2009-12-17 Mitsubishi Electric Corp Moving image coding apparatus, and moving image decoding apparatus
JP4661973B2 (en) * 2009-07-30 2011-03-30 三菱電機株式会社 Moving picture encoding apparatus and moving picture decoding apparatus
JP2011045122A (en) * 2010-10-14 2011-03-03 Mitsubishi Electric Corp Moving image coding apparatus and moving image decoding apparatus

Similar Documents

Publication Publication Date Title
EP0349847B1 (en) Method of and apparatus for compressing image data
CN1078428C (en) Image coding method and apparatus therefor
KR920008654B1 (en) Adaptive transform encoder
US5539468A (en) Coding device and decoding device adaptive to local characteristics of an image signal
JPH09505188A (en) Quad-tree WALSH transform coding
CN1146239C (en) Improved method and apparatus for post-processing decoded image data
JPH05207286A (en) Picture coding system
JP3202433B2 (en) Quantization device, inverse quantization device, image processing device, quantization method, inverse quantization method, and image processing method
JPH0522715A (en) Picture encoder
JPH08214309A (en) Image signal encoder
JPH06232765A (en) Variable length coding method
JP2002290743A (en) Image information coding method, coding apparatus, digital copying machine, digital facsimile machine, and digital filing apparatus
JPH0714210B2 (en) Orthogonal transform coding method for image data
JPH0575867A (en) Image data coder
Nasiopoulos et al. A high-quality fixed-length compression scheme for color images
JPH0583567A (en) Image encoder
JPH0583566A (en) Image encoder
JP3546439B2 (en) Digital image signal encoding apparatus and encoding method
JPH04168880A (en) Picture coding system
KR100234311B1 (en) Video data encoding method and circuit thereof
JP2521359B2 (en) Image coding device
KR100195095B1 (en) Image signal encoding apparatus
JPH05207285A (en) Picture coding system
JP3191462B2 (en) High efficiency coding device
JPH04208775A (en) Bit distribution encoding system