JP3406336B2 - Image encoding device, image encoding method, image decoding device, and image decoding method - Google Patents

Image encoding device, image encoding method, image decoding device, and image decoding method

Info

Publication number
JP3406336B2
JP3406336B2 JP35407292A JP35407292A JP3406336B2 JP 3406336 B2 JP3406336 B2 JP 3406336B2 JP 35407292 A JP35407292 A JP 35407292A JP 35407292 A JP35407292 A JP 35407292A JP 3406336 B2 JP3406336 B2 JP 3406336B2
Authority
JP
Japan
Prior art keywords
image
block
frequency band
quantization step
frequency
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 - Fee Related
Application number
JP35407292A
Other languages
Japanese (ja)
Other versions
JPH06189287A (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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP35407292A priority Critical patent/JP3406336B2/en
Publication of JPH06189287A publication Critical patent/JPH06189287A/en
Application granted granted Critical
Publication of JP3406336B2 publication Critical patent/JP3406336B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画像信号を、例えばウ
ェーブレット変換などによって複数の周波数帯域成分に
分割して符号化し、またその符号化データを復号化する
場合に用いて好適な画像符号化装置、画像符号化方法、
画像復号化装置、並びに画像復号化方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is suitable for use in the case where an image signal is divided into a plurality of frequency band components by, for example, wavelet transform and encoded, and the encoded data is decoded. Apparatus, image coding method,
The present invention relates to an image decoding device and an image decoding method.

【0002】[0002]

【従来の技術】従来の画像符号化装置においては、画像
信号の相関性を利用して画像信号を圧縮符号化し、これ
により画像信号を効率的に伝送したり、また記録媒体に
記録することができるようになされている。
2. Description of the Related Art In a conventional image coding apparatus, the image signal is compression-coded by utilizing the correlation of the image signal, whereby the image signal can be efficiently transmitted or recorded on a recording medium. It is made possible.

【0003】ところで、画像信号の符号化方式として
は、例えば予測符号化方式、DCT(離散コサイン変
換)などを利用した直交変換方式、サブバンド符号化方
式やウェーブレット変換方式などのように画像信号を複
数の周波数帯域成分に分割して符号化する周波数帯域分
割符号化方式などが知られている。
As an image signal coding system, for example, a predictive coding system, an orthogonal transform system using DCT (discrete cosine transform), a subband coding system, a wavelet transform system, or the like is used. There is known a frequency band division coding method in which a plurality of frequency band components are divided and coded.

【0004】このうち、予測符号化方式は、その装置化
が容易であるが、圧縮率を高めると画質の劣化が目立つ
という問題があった。
Of these, the predictive coding method is easy to implement, but there is a problem that the deterioration of the image quality becomes conspicuous when the compression rate is increased.

【0005】また、直交変換方式は、画像信号をブロッ
クに分割し、そのブロックごとに直交変換処理を施すの
で、画像信号を高圧縮することができるが、ブロックの
境界で、いわゆるブロック歪が生じ、画質が劣化する問
題があった。
Further, in the orthogonal transform method, the image signal is divided into blocks and the orthogonal transform process is performed for each block, so that the image signal can be highly compressed, but so-called block distortion occurs at the boundary of the blocks. , There was a problem that the image quality deteriorates.

【0006】これに対し、周波数帯域分割符号化方式
は、画像信号の周波数帯域分割を、画面全体にわたって
行うので、直交変換方式に比較してブロック歪による画
質の劣化がほとんどないという利点がある。
On the other hand, the frequency band division coding method has an advantage that the image quality is hardly deteriorated due to block distortion as compared with the orthogonal transformation method because the frequency band division of the image signal is performed over the entire screen.

【0007】周波数帯域分割符号化方式のうち、例えば
ウェーブレット変換方式を用いた画像符号化装置では、
画像信号を、ディジタルフィルタなどによって高域と低
域の周波数帯域成分に分割し、さらにその低域成分を再
帰的に分割するようになされている。そして、各周波数
帯域成分から、元の画像信号の同じ位置に対応する係数
を集めてブロック化し、そのブロックごとに量子化を行
うようになされている。
Among the frequency band division coding methods, for example, in the image coding apparatus using the wavelet transform method,
The image signal is divided into a high frequency band component and a low frequency band component by a digital filter or the like, and the low frequency component is recursively divided. Then, from each frequency band component, the coefficients corresponding to the same position of the original image signal are collected into blocks, and the blocks are quantized.

【0008】量子化された画像信号は、一般的に可変長
符号化され、その後バッファに一時記憶されて、一定の
レートで出力される。
The quantized image signal is generally variable-length coded, then temporarily stored in a buffer, and output at a constant rate.

【0009】[0009]

【発明が解決しようとする課題】ところで、上述したよ
うにブロックを量子化する場合においては、通常バッフ
ァのデータ蓄積量に基づいてのみ、その量子化ステップ
サイズが制御されるようになされている。
By the way, in the case of quantizing a block as described above, the quantizing step size is controlled only based on the amount of data accumulated in the normal buffer.

【0010】即ち、バッファのデータ蓄積量が増加する
と、発生する符号(データ)量を抑制するために、量子
化ステップサイズが粗くされ、バッファのデータ蓄積量
が減少すると、発生する符号(データ)量を増加させる
ために、量子化ステップサイズが細かくされる。
That is, when the data storage amount in the buffer increases, the quantization step size is coarsened in order to suppress the code (data) amount generated, and when the data storage amount in the buffer decreases, the code (data) generated. To increase the amount, the quantization step size is refined.

【0011】しかしながら、この場合、ブロック内の重
要度の高い周波数帯域成分の係数と、そうでない係数と
が同一の量子化ステップサイズで量子化されるので、画
面に生じる歪が不均一になり、復号画像の画質の劣化が
視覚的に目立つ課題があった。
However, in this case, the coefficient of the frequency band component having a high degree of importance in the block and the coefficient other than that are quantized with the same quantization step size, so that the distortion generated on the screen becomes non-uniform, There is a problem that the deterioration of the image quality of the decoded image is visually noticeable.

【0012】即ち、この場合、例えば局所的に特徴のあ
る画像などに関しては、その特徴が失われる課題があっ
た。
That is, in this case, there is a problem that the characteristic is lost, for example, for an image having a locally characteristic.

【0013】本発明は、このような状況に鑑みてなされ
たものであり、視覚的に目立つ画質の劣化を低減させる
ものである。
The present invention has been made in view of such a situation, and it is intended to reduce deterioration of the visually noticeable image quality.

【0014】[0014]

【課題を解決するための手段】本発明の画像符号化装置
は、画像信号の低域側を再帰的に複数の周波数帯域成分
に分割する分割手段と、複数の周波数帯域成分の各周波
数帯域成分から係数を集め、複数のブロックにブロック
化するブロック化手段と、ブロック内の複数の周波数帯
域成分のそれぞれについて、各周波数成分の情報量を求
める演算手段と、ブロック内の複数の周波数帯域成分の
それぞれの情報量に基づいて、ブロックを量子化する量
子化ステップを決定する制御手段と、量子化ステップを
用いて、ブロックを量子化する量子化手段とを備えるこ
とを特徴とする。
Image coding apparatus of the present invention
Is a multiple frequency band component recursively on the low frequency side of the image signal.
Dividing means to divide into, and each frequency of multiple frequency band components
Collect coefficients from several band components and block into multiple blocks
Blocking means to create multiple blocks and multiple frequency bands in the block
For each frequency component, obtain the information content of each frequency component.
Calculation means and multiple frequency band components in the block
Amount to quantize block based on the amount of information
The control means for determining the childization step and the quantization step
And quantizing means for quantizing the block.
And are characterized.

【0015】本発明の画像符号化方法は、画像信号の低
域側を再帰的に複数の周波数帯域成分に分割する分割工
程と、複数の周波数帯域成分の各周波数帯域成分から係
数を集め、複数のブロックにブロック化するブロック化
工程と、ブロック内の複数の周波数帯域成分のそれぞれ
について、各周波数成分の情報量を求める演算工程と、
ブロック内の複数の周波数帯域成分のそれぞれの情報量
に基づいて、ブロックを量子化する量子化ステップを決
定する制御工程と、量子化ステップを用いて、ブロック
を量子化する量子化工程とを備えることを特徴とする。
The image coding method of the present invention is a method for reducing the image signal low.
Dividing technique that recursively divides the band side into multiple frequency band components
And each frequency band component of multiple frequency band components
Blocking that collects numbers and blocks into multiple blocks
Each of the process and multiple frequency band components in the block
For the calculation step of obtaining the information amount of each frequency component,
Information amount of each frequency band component in the block
The quantization step to quantize the block based on
Control step and quantizing step
And a quantizing step for quantizing.

【0016】本発明の画像復号化装置は、符号化信号か
ら、画像情報および絶対精度を分離する分離手段と、絶
対精度に基づいて、逆量子化ステップを制御する制御手
段と、画像情報を、逆量子化ステップを用いて逆量子化
し、逆量子化係数を出力する逆量子化手段と、逆量子化
係数を、複数の周波数帯域成分別に並べ替える並べ替え
手段と、複数の周波数帯域成分の係数から、画像信号を
再構成する再構成手段とを備えることを特徴とする。
The image decoding apparatus of the present invention includes a separating means for separating image information and absolute precision from a coded signal, a control means for controlling an inverse quantization step based on the absolute precision, and image information. Dequantization means for dequantizing using the dequantization step and outputting dequantized coefficients, sorting means for sorting the dequantized coefficients by a plurality of frequency band components, and coefficients for a plurality of frequency band components To reconstructing means for reconstructing an image signal.

【0017】本発明の画像復号化方法は、符号化信号か
ら、画像情報および絶対精度を分離する分離工程と、絶
対精度に基づいて、逆量子化ステップを制御する制御工
程と、画像情報を、逆量子化ステップを用いて逆量子化
し、逆量子化係数を出力する逆量子化工程と、逆量子化
係数を、複数の周波数帯域成分別に並べ替える並べ替え
工程と、複数の周波数帯域成分の係数から、画像信号を
再構成する再構成工程とを備えることを特徴とする。
According to the image decoding method of the present invention, a separation step of separating image information and absolute precision from a coded signal, a control step of controlling a dequantization step based on the absolute precision, and image information are performed. Inverse quantization using an inverse quantization step, and an inverse quantization step of outputting an inverse quantized coefficient, a step of rearranging the inverse quantized coefficient by a plurality of frequency band components, and a coefficient of a plurality of frequency band components To a reconstructing step of reconstructing an image signal.

【0018】[0018]

【0019】[0019]

【0020】[0020]

【作用】本発明の画像符号化装置および画像符号化方法
においては、画像信号の低域側を再帰的に複数の周波数
帯域成分に分割し、複数の周波数帯域成分の各周波数帯
域成分から係数を集め、複数のブロックにブロック化
し、ブロック内の複数の周波数帯域成分のそれぞれにつ
いて、各周波数成分の情報量を求める。さらに、ブロッ
ク内の複数の周波数帯域成分のそれぞれの情報量に基づ
いて、ブロックを量子化する量子化ステップを決定し、
その量子化ステップを用いて、ブロックを量子化する。
従って、ブロックを量子化する量子化ステップサイズを
微細に制御することができる。
Image coding apparatus and image coding method of the present invention
In the low frequency side of the image signal, recursively
Divided into band components, each frequency band of multiple frequency band components
Coefficients are gathered from the domain components and blocked into multiple blocks
To each of the multiple frequency band components in the block.
Then, the information amount of each frequency component is obtained. In addition, the block
Based on the amount of information for each of the multiple frequency band components in
The quantization step to quantize the block,
The block is quantized using the quantization step.
Therefore, the quantization step size for quantizing a block can be finely controlled.

【0021】本発明の画像復号化装置および画像復号化
方法においては、符号化信号から、画像情報および絶対
精度を分離し、絶対精度に基づいて、逆量子化ステップ
を制御する。さらに、画像情報を、逆量子化ステップを
用いて逆量子化し、逆量子化係数を出力し、逆量子化係
数を、複数の周波数帯域成分別に並べ替える。そして、
複数の周波数帯域成分の係数から、画像信号を再構成す
る。従って、復号画像の画面に生じる不均一な歪を抑制
し、これにより視覚的に感じる画質の劣化を低減するこ
とができる。
In the image decoding apparatus and the image decoding method of the present invention , the image information and the absolute precision are separated from the encoded signal, and the inverse quantization step is controlled based on the absolute precision. Further, the image information is inversely quantized using the inverse quantization step, the inverse quantized coefficient is output, and the inverse quantized coefficient is rearranged for each of a plurality of frequency band components. And
An image signal is reconstructed from the coefficients of a plurality of frequency band components. Therefore, it is possible to suppress the non-uniform distortion that occurs on the screen of the decoded image, and thereby to reduce the deterioration of the visually perceived image quality.

【0022】[0022]

【0023】[0023]

【0024】[0024]

【0025】[0025]

【0026】[0026]

【実施例】図1は、本発明の画像符号化装置の一実施例
の構成を示すブロック図である。ウェーブレット変換回
路(WT)1は、1画面(1フレームあるいは1フィー
ルド)分ごとに入力される画像信号にウェーブレット変
換を施し、画像信号の各周波数帯域ごとの係数を出力す
る。
1 is a block diagram showing the configuration of an embodiment of an image coding apparatus according to the present invention. The wavelet transform circuit (WT) 1 performs wavelet transform on an image signal input for each one screen (one frame or one field), and outputs a coefficient for each frequency band of the image signal.

【0027】即ち、WT1は、例えば図2に示すよう
に、画像信号の高域成分を分離するハイパスフィルタ
H、その低域成分を分離するローパスフィルタL、およ
び画像信号のサンプリング周波数の1/2倍のサンプリ
ング周波数で、画像信号をダウンサンプリングするダウ
ンサンプラ(図中、下向きの矢印「↓」で示す)を組み
合わせて構成され、例えば図3(a)に示すような72
0画素×496ラインの1画面分の画像信号を、垂直方
向V1および水平方向H1(図3(b))に周波数帯域
分割し、さらにその低域成分を垂直方向および水平方向
に再帰的に分割する。そして、WT1からは、画像信号
を、垂直方向または水平方向それぞれに、例えば3層に
周波数帯域分割した、図3(b)に示すような画像信号
の各周波数帯域成分の係数データLH1,HL1,HH
1(以上、第1層の係数データ),LH2,HL2,H
H2(以上、第2層の係数データ),LH3,HL3,
HH3,LL3(以上、第3層の係数データ)(図2)
が出力されるようになされている。
That is, the WT 1 is, for example, as shown in FIG. 2, a high-pass filter H for separating the high frequency components of the image signal, a low-pass filter L for separating the low frequency components thereof, and a half of the sampling frequency of the image signal. It is configured by combining a down sampler (indicated by a downward arrow “↓” in the figure) that down-samples an image signal at a double sampling frequency. For example, as shown in FIG.
An image signal for one screen of 0 pixels × 496 lines is frequency-band divided in the vertical direction V1 and the horizontal direction H1 (FIG. 3B), and the low-frequency components thereof are recursively divided in the vertical direction and the horizontal direction. To do. Then, from WT1, the image signal is divided into frequency bands in the vertical direction or the horizontal direction, for example, into three frequency bands, and coefficient data LH1, HL1, of each frequency band component of the image signal as shown in FIG. HH
1 (above, first layer coefficient data), LH2, HL2, H
H2 (above, second layer coefficient data), LH3, HL3
HH3, LL3 (above, coefficient data of the third layer) (Fig. 2)
Is output.

【0028】ここで、係数データLH1,HL1、また
はHH1は、画像信号の最初の周波数帯域分割による第
1層の縦、横、または斜め方向のエッジ成分をそれぞれ
含んでおり、係数データLH2,HL2、またはHH2
は、画像信号の2度目の周波数帯域分割による第2層の
縦、横、または斜め方向のエッジ成分をそれぞれ含んで
いる。また、係数データLH3,HL3、またはHH3
は、画像信号の3度目の周波数帯域分割による第3層の
縦、横、または斜め方向のエッジ成分をそれぞれ含んで
おり、係数データLL3は、以上のエッジ成分の残りの
成分を含んでいる。
Here, the coefficient data LH1, HL1 or HH1 respectively include vertical, horizontal or diagonal edge components of the first layer due to the first frequency band division of the image signal, and the coefficient data LH2, HL2. , Or HH2
Includes edge components in the vertical, horizontal, or diagonal directions of the second layer due to the second frequency band division of the image signal. Also, coefficient data LH3, HL3, or HH3
Include edge components in the vertical, horizontal, or diagonal directions of the third layer due to the third frequency band division of the image signal, and the coefficient data LL3 includes the remaining components of the above edge components.

【0029】係数データLH1,HL1,HH1,LH
2,HL2,HH2,LH3,HL3,HH3,LL3
は、並べ換えメモリ2(図1)に供給されて一時記憶さ
れる。並べ換えメモリ2は、記憶した係数データLH
1,HL1,HH1,LH2,HL2,HH2,LH
3,HL3,HH3,LL3から、入力された画像信号
の同じ位置に対応する係数データを集めて、例えば16
画素×8ラインのブロック(マクロブロック)にブロッ
ク化し、量子化器3および絶対値和計算回路7に出力す
る。
Coefficient data LH1, HL1, HH1, LH
2, HL2, HH2, LH3, HL3, HH3, LL3
Are supplied to the rearrangement memory 2 (FIG. 1) and temporarily stored therein. The rearrangement memory 2 stores the stored coefficient data LH.
1, HL1, HH1, LH2, HL2, HH2, LH
From 3, 3, HL3, HH3, LL3, coefficient data corresponding to the same position of the input image signal is collected and, for example, 16
The pixel is divided into blocks of 8 lines (macroblock) and output to the quantizer 3 and the absolute value sum calculation circuit 7.

【0030】即ち、並べ換えメモリ2は、入力された画
像信号の、例えば最も左上の16画素×8ラインの部分
の画像に対応するブロックを構成する場合、係数データ
LH1,HL1、またはHH1(図3(b))から、そ
の最も左上に位置する8画素×4ライン分の係数データ
P1,P2、またはP3(図4)をそれぞれ集め、係数
データLH2,HL2、またはHH2(図3(b))か
ら、その最も左上に位置する4画素×2ライン分の係数
データP4,P5、またはP6(図4)をそれぞれ集め
るとともに、係数データLH3,HL3,HH3、また
はLL3から、その最も左上に位置する2画素×1ライ
ン分の係数データP7,P8,P9、またはPLLをそ
れぞれ集め、これらの係数データP1乃至P9およびP
LLを、図4に示すように、16画素×8ラインのブロ
ック(正確には、16画素×8ラインの画像のブロック
に対応するブロック)にブロック化する。
That is, when the rearrangement memory 2 forms a block corresponding to the image of the uppermost leftmost 16 pixels × 8 lines portion of the input image signal, the coefficient data LH1, HL1, or HH1 (see FIG. 3). From (b)), the coefficient data P1, P2, or P3 (FIG. 4) corresponding to 8 pixels × 4 lines located at the upper left is collected, and the coefficient data LH2, HL2, or HH2 (FIG. 3 (b)) is collected. From the coefficient data LH3, HL3, HH3, or LL3, the coefficient data P4, P5, or P6 (FIG. 4) corresponding to 4 pixels × 2 lines located at the upper left is located at the upper left. Coefficient data P7, P8, P9 or PLL for 2 pixels × 1 line are collected respectively, and these coefficient data P1 to P9 and P are collected.
As shown in FIG. 4, the LL is divided into blocks of 16 pixels × 8 lines (correctly, blocks corresponding to blocks of an image of 16 pixels × 8 lines).

【0031】ここで、以上のようにしてブロック化され
た係数データをウェーブレット逆変換すると、入力され
た画像信号の最も左上の16画素×8ラインの部分の画
像を得ることができる。
Here, when the coefficient data blocked as described above is subjected to the inverse wavelet transform, it is possible to obtain the image of the leftmost 16 pixels × 8 lines portion of the input image signal.

【0032】量子化器3は、量子化制御回路9より供給
される量子化ステップサイズSで、並べ換えメモリ2よ
り出力されるブロック化された係数データを、ブロック
ごとに量子化し、量子化データを出力する。VLC回路
4は、量子化器3より出力される量子化データを可変長
符号化(例えばハフマン符号化やランレングス符号化、
それらを組み合わせた符号化など)し、可変長符号化デ
ータを出力する。マルチプレクサ(MUX)5は、VL
C回路4より出力される可変長符号化データと、決定回
路8より出力されるパラメータm(後述する絶対精度B
ASEおよび相対精度TYPE)とを多重化し、符号化
データを出力する。バッファメモリ6は、MUX5から
の符号化データを一時記憶し、一定の伝送レートで、例
えば伝送路(図示せず)などに出力する。さらに、バッ
ファメモリ6は、そのデータ蓄積量fを量子化制御回路
9に供給する。
The quantizer 3 quantizes the block-wise coefficient data output from the rearrangement memory 2 for each block with the quantization step size S supplied from the quantization control circuit 9, and outputs the quantized data. Output. The VLC circuit 4 performs variable-length coding (for example, Huffman coding or run-length coding) on the quantized data output from the quantizer 3.
Then, variable length encoded data is output. The multiplexer (MUX) 5 is VL
The variable-length encoded data output from the C circuit 4 and the parameter m output from the determination circuit 8 (absolute accuracy B described later).
ASE and relative precision TYPE) and outputs encoded data. The buffer memory 6 temporarily stores the encoded data from the MUX 5 and outputs the encoded data to a transmission line (not shown) or the like at a constant transmission rate. Further, the buffer memory 6 supplies the data storage amount f to the quantization control circuit 9.

【0033】絶対値和計算回路7は、並べ換えメモリ2
より出力されるブロック化された係数データP1乃至P
9またはPLL(図4)の各絶対値和を計算し、決定回
路8に出力する。
The sum of absolute value calculation circuit 7 includes a rearrangement memory 2
The block-shaped coefficient data P1 to P output by
9 or the sum of absolute values of PLL (FIG. 4) is calculated and output to the decision circuit 8.

【0034】決定回路8は、絶対値和計算回路7からの
係数データP1乃至P9またはPLLの各絶対値和に基
づいて、量子化器3の量子化ステップサイズSのセグメ
ント値(絶対値)を決定するパラメータとしての絶対精
度BASE、およびそのオフセット値(相対値)を決定
するパラメータとしての相対精度TYPEを設定(決
定)する。
The decision circuit 8 determines the segment value (absolute value) of the quantization step size S of the quantizer 3 based on the sum of absolute values of the coefficient data P1 to P9 or the PLL from the absolute value sum calculation circuit 7. The absolute precision BASE as a parameter to be determined and the relative precision TYPE as a parameter to determine its offset value (relative value) are set (determined).

【0035】量子化制御回路9は、決定回路8より出力
される絶対精度BASEおよび相対精度TYPE、並び
にバッファメモリ6からのデータ蓄積量fに基づいて、
量子化器3の量子化ステップサイズSを制御する。
The quantization control circuit 9 calculates the absolute precision BASE and the relative precision TYPE output from the decision circuit 8 and the data storage amount f from the buffer memory 6,
The quantization step size S of the quantizer 3 is controlled.

【0036】次に、その動作について説明する。ウェー
ブレット変換回路(WT)1に、例えば図3(a)に示
すような720画素×496ラインの画像信号が入力さ
れると、そこでウェーブレット変換され、画像信号の周
波数成分を、例えば3層に分割した、図3(b)に示す
ような画像信号の各周波数帯域成分の係数データLH
1,HL1,HH1,LH2,HL2,HH2,LH
3,HL3,HH3,LL3が出力される。
Next, the operation will be described. For example, when an image signal of 720 pixels × 496 lines as shown in FIG. 3A is input to the wavelet transform circuit (WT) 1, the wavelet transform is performed there, and the frequency component of the image signal is divided into, for example, three layers. The coefficient data LH of each frequency band component of the image signal as shown in FIG.
1, HL1, HH1, LH2, HL2, HH2, LH
3, HL3, HH3, LL3 are output.

【0037】係数データLH1,HL1,HH1,LH
2,HL2,HH2,LH3,HL3,HH3,LL3
は、並べ換えメモリ2に供給されて一時記憶される。そ
して、並べ換えメモリ2において、そこに記憶された係
数データLH1,HL1,HH1,LH2,HL2,H
H2,LH3,HL3,HH3,LL3から、入力され
た画像信号の同じ位置に対応する係数データが集めら
れ、例えば16画素×8ラインのブロック(マクロブロ
ック)(図4)にブロック化される。
Coefficient data LH1, HL1, HH1, LH
2, HL2, HH2, LH3, HL3, HH3, LL3
Are supplied to the rearrangement memory 2 and temporarily stored therein. Then, in the rearrangement memory 2, the coefficient data LH1, HL1, HH1, LH2, HL2, H stored therein are stored.
From H2, LH3, HL3, HH3, and LL3, coefficient data corresponding to the same position of the input image signal is collected, and is divided into blocks (macro blocks) of 16 pixels × 8 lines (FIG. 4), for example.

【0038】ブロック化された係数データP1乃至P9
およびPLL(図4)は、絶対値和計算回路7に出力さ
れ、そこで、そのうちの、例えば係数データP1乃至P
3またはPLLのそれぞれの絶対値和ΣP1(8画素×
4ライン分の係数の絶対値和),ΣP2(8画素×4ラ
イン分の係数の絶対値和),ΣP3(8画素×4ライン
分の係数の絶対値和)、またはΣPLL(2画素×1ラ
イン分の係数の絶対値和)が計算されて決定回路8に出
力される。
Blocked coefficient data P1 to P9
And PLL (FIG. 4) are output to the absolute value sum calculation circuit 7, where, for example, coefficient data P1 to P
Sum of absolute values of 3 or PLL ΣP1 (8 pixels x
4 lines coefficient absolute value sum), ΣP2 (8 pixels x 4 lines coefficient absolute value sum), ΣP3 (8 pixels x 4 lines coefficient absolute value sum), or ΣPLL (2 pixels x 1 The sum of the absolute values of the coefficients for the lines is calculated and output to the decision circuit 8.

【0039】決定回路8において、絶対値和計算回路7
からの絶対値和ΣP1乃至ΣP3またはΣPLLから、
まず最初に、例えば図5に示すテーブルにしたがって、
量子化器3の量子化ステップサイズSのセグメント値
(絶対値)を決定するパラメータとしての絶対精度BA
SEが設定される。
In the decision circuit 8, the absolute value sum calculation circuit 7
From the sum of absolute values ΣP1 to ΣP3 or ΣPLL from
First of all, for example, according to the table shown in FIG.
Absolute accuracy BA as a parameter for determining the segment value (absolute value) of the quantization step size S of the quantizer 3.
SE is set.

【0040】即ち、決定回路8において、図5に示すよ
うに、絶対値和ΣPLLが小さく、且つ絶対値和ΣP1
乃至ΣP3の和(ΣP1+ΣP2+ΣP3)が小さい場
合、絶対精度BASEが、例えば1乃至3などの比較的
小さい値に設定され、絶対値和ΣPLLが大きく、且つ
絶対値和ΣP1乃至ΣP3の和(ΣP1+ΣP2+ΣP
3)が大きい場合、絶対精度BASEが、例えば14乃
至16などの比較的大きい値に設定される。また、決定
回路8において、上述した場合以外の場合、絶対精度B
ASEが、例えば4乃至13などの中間値に設定され
る。
That is, in the decision circuit 8, as shown in FIG. 5, the absolute value sum ΣPLL is small and the absolute value sum ΣP1.
If the sum of ΣP3 to ΣP3 (ΣP1 + ΣP2 + ΣP3) is small, the absolute precision BASE is set to a relatively small value such as 1 to 3, the sum of absolute values ΣPLL is large, and the sum of the sums of absolute values ΣP1 to ΣP3 (ΣP1 + ΣP2 + ΣP3)
When 3) is large, the absolute precision BASE is set to a relatively large value such as 14 to 16. Further, in the decision circuit 8, in the case other than the above case, the absolute accuracy B
ASE is set to an intermediate value such as 4 to 13.

【0041】ここで、係数データPLLは、低域成分の
係数データであるから(図4)、絶対値和ΣPLLが大
きい場合、並べ換えメモリ2から出力された16画素×
8ライン分のブロックにおける画像の低域成分が大き
い、即ちその画像が明るい画像であることを意味し、絶
対値和PLLが小さい場合、並べ換えメモリ2から出力
された16画素×8ライン分のブロックにおける画像の
低域成分が小さい、即ちその画像が暗い画像であること
を意味する。
Since the coefficient data PLL is low-frequency component coefficient data (FIG. 4), when the sum of absolute values ΣPLL is large, 16 pixels output from the rearrangement memory 2 ×
When the low-frequency component of the image in the block of 8 lines is large, that is, the image is a bright image, and when the absolute value sum PLL is small, the block of 16 pixels × 8 lines output from the rearrangement memory 2 The low-frequency component of the image in is small, that is, the image is a dark image.

【0042】また、係数データP1乃至P3は、高域成
分の係数データであるから(図4)、絶対値和ΣP1乃
至ΣP3の和(ΣP1+ΣP2+ΣP3)が大きい場
合、並べ換えメモリ2から出力された16画素×8ライ
ン分のブロックにおける画像が複雑な画像(変化の激し
い画像)であることを意味し、絶対値和ΣP1乃至ΣP
3の和(ΣP1+ΣP2+ΣP3)が小さい場合、並べ
換えメモリ2から出力された16画素×8ライン分のブ
ロックにおける画像が平坦な画像(変化のほとんどない
画像)であることを意味する。
Since the coefficient data P1 to P3 are high frequency component coefficient data (FIG. 4), when the sum of absolute value sums ΣP1 to ΣP3 (ΣP1 + ΣP2 + ΣP3) is large, 16 pixels output from the rearrangement memory 2 This means that the image in the block of × 8 lines is a complicated image (image that changes drastically), and the sum of absolute values ΣP1 to ΣP
When the sum of 3 (ΣP1 + ΣP2 + ΣP3) is small, it means that the image in the block of 16 pixels × 8 lines output from the rearrangement memory 2 is a flat image (image with almost no change).

【0043】従って、決定回路8においては、並べ換え
メモリ2から出力された16画素×8ライン分のブロッ
クにおける画像が暗く、且つ平坦な画像である場合、絶
対精度BASEは小さい値に設定され、並べ換えメモリ
2から出力された16画素×8ライン分のブロックにお
ける画像が明るく、且つ複雑な画像である場合、絶対精
度BASEは大きい値に設定されることになる。また、
それ以外の場合、絶対精度BASEは中間値に設定され
ることになる。
Therefore, in the decision circuit 8, when the image in the block of 16 pixels × 8 lines output from the rearrangement memory 2 is a dark and flat image, the absolute precision BASE is set to a small value and the rearrangement is performed. When the image in the block of 16 pixels × 8 lines output from the memory 2 is a bright and complicated image, the absolute precision BASE is set to a large value. Also,
Otherwise, the absolute precision BASE will be set to an intermediate value.

【0044】さらに、決定回路8において、絶対値和計
算回路7からの絶対値和ΣP1乃至ΣP3に基づいて、
量子化器3の量子化ステップサイズSのオフセット値
(相対値)を決定するパラメータとしての相対精度TY
PEが設定される。
Further, in the decision circuit 8, based on the absolute value sums ΣP1 to ΣP3 from the absolute value sum calculation circuit 7,
Relative accuracy TY as a parameter for determining the offset value (relative value) of the quantization step size S of the quantizer 3.
PE is set.

【0045】即ち、決定回路8において、係数データP
1乃至P3(図4)それぞれの絶対値和ΣP1乃至ΣP
3それぞれがほぼ等しい場合(ΣP1≒ΣP2≒ΣP
3)、相対精度TYPEが、並べ換えメモリ2から出力
された16画素×8ライン分のブロックにおける画像が
平坦な画像、あるいはランダムな画像であることを示す
値としての、例えば0に設定され、絶対値和ΣP2とΣ
P3とがほぼ等しく、且つ絶対値和ΣP1が、絶対値和
ΣP2またはΣP3より十分大きい場合(ΣP1>ΣP
2≒ΣP3)、相対精度TYPEが、並べ換えメモリ2
から出力された16画素×8ライン分のブロックにおけ
る画像が、顕著な垂直方向のエッジを有する画像である
ことを示す値としての、例えば1に設定される。
That is, in the decision circuit 8, the coefficient data P
1 to P3 (FIG. 4) sum of absolute values ΣP1 to ΣP
When each of 3 is almost equal (ΣP1≈ΣP2≈ΣP
3), the relative accuracy TYPE is set to, for example, 0 as a value indicating that the image in the block of 16 pixels × 8 lines output from the rearrangement memory 2 is a flat image or a random image, and is set to an absolute value. Sum of values ΣP2 and Σ
P3 is substantially equal to each other, and the sum of absolute values ΣP1 is sufficiently larger than the sum of absolute values ΣP2 or ΣP3 (ΣP1> ΣP
2≈ΣP3), the relative accuracy TYPE is the rearrangement memory 2
The image in the block of 16 pixels × 8 lines output from is set to, for example, 1 as a value indicating that the image has a significant edge in the vertical direction.

【0046】さらに、決定回路8において、絶対値和Σ
P1とΣP3とがほぼ等しく、且つ絶対値和ΣP2が、
絶対値和ΣP1またはΣP3より十分大きい場合(ΣP
2>ΣP1≒ΣP3)、相対精度TYPEが、並べ換え
メモリ2から出力された16画素×8ライン分のブロッ
クにおける画像が、顕著な水平方向のエッジを有する画
像であることを示す値としての、例えば2に設定され、
絶対値和ΣP1とΣP2とがほぼ等しく、且つ絶対値和
ΣP3が、絶対値和ΣP1またはΣP2より十分大きい
場合(ΣP3>ΣP1≒ΣP2)、相対精度TYPE
が、並べ換えメモリ2から出力された16画素×8ライ
ン分のブロックにおける画像が、顕著な斜め方向のエッ
ジを有する画像であることを示す値としての、例えば3
に設定される。
Further, in the decision circuit 8, the sum of absolute values Σ
P1 and ΣP3 are almost equal, and the sum of absolute values ΣP2 is
If the sum of absolute values is sufficiently larger than ΣP1 or ΣP3 (ΣP
2> ΣP1≈ΣP3), and the relative precision TYPE is a value indicating that the image in the block of 16 pixels × 8 lines output from the rearrangement memory 2 is an image having a significant horizontal edge, for example, Set to 2,
When the sum of absolute values ΣP1 and ΣP2 are substantially equal to each other and the sum of absolute values ΣP3 is sufficiently larger than the sum of absolute values ΣP1 or ΣP2 (ΣP3> ΣP1≈ΣP2), the relative accuracy TYPE
Is, for example, 3 as a value indicating that the image in the block of 16 pixels × 8 lines output from the rearrangement memory 2 is an image having a significant diagonal edge.
Is set to.

【0047】また、決定回路8において、絶対値和ΣP
1およびΣP3が絶対値和ΣP2より十分大きい場合
(ΣP1>ΣP2、且つΣP3>ΣP2)、相対精度T
YPEが、並べ換えメモリ2から出力された16画素×
8ライン分のブロックにおける画像が、顕著な垂直方向
および斜め方向のエッジを有する画像であることを示す
値としての、例えば4に設定され、絶対値和ΣP2およ
びΣP3が絶対値和ΣP1より十分大きい場合(ΣP2
>ΣP1、且つΣP3>ΣP1)、相対精度TYPE
が、並べ換えメモリ2から出力された16画素×8ライ
ン分のブロックにおける画像が、顕著な水平方向および
斜め方向のエッジを有する画像であることを示す値とし
ての、例えば5に設定される。
Further, in the decision circuit 8, the sum of absolute values ΣP
1 and ΣP3 are sufficiently larger than the sum of absolute values ΣP2 (ΣP1> ΣP2, and ΣP3> ΣP2), the relative accuracy T
YPE is 16 pixels output from the rearrangement memory 2 ×
The image in the block for 8 lines is set to, for example, 4 as a value indicating that the image has significant vertical and diagonal edges, and the absolute value sums ΣP2 and ΣP3 are sufficiently larger than the absolute value sum ΣP1. Case (ΣP2
> ΣP1, and ΣP3> ΣP1), relative accuracy TYPE
Is set to, for example, 5 as a value indicating that the image in the block of 16 pixels × 8 lines output from the rearrangement memory 2 is an image having significant horizontal and diagonal edges.

【0048】さらに、決定回路8において、絶対値和Σ
P1およびΣP2が絶対値和ΣP3より十分大きい場合
(ΣP1>ΣP3、且つΣP2>ΣP3)、相対精度T
YPEが、並べ換えメモリ2から出力された16画素×
8ライン分のブロックにおける画像が、顕著な垂直方向
および水平方向のエッジを有する画像であることを示す
値としての、例えば6に設定される。
Further, in the decision circuit 8, the sum of absolute values Σ
When P1 and ΣP2 are sufficiently larger than the sum of absolute values ΣP3 (ΣP1> ΣP3 and ΣP2> ΣP3), the relative accuracy T
YPE is 16 pixels output from the rearrangement memory 2 ×
For example, 6 is set as a value indicating that the image in the block of 8 lines is an image having significant vertical and horizontal edges.

【0049】絶対精度BASEおよび相対精度TYPE
が設定されると、それは量子化制御回路9に出力され
る。量子化制御回路9において、絶対精度BASEおよ
び相対精度TYPE、並びにバッファメモリ6のデータ
蓄積量に基づいて、量子化器3の量子化ステップサイズ
Sが設定される。
Absolute accuracy BASE and relative accuracy TYPE
Is set, is output to the quantization control circuit 9. In the quantization control circuit 9, the quantization step size S of the quantizer 3 is set based on the absolute precision BASE and the relative precision TYPE, and the data storage amount of the buffer memory 6.

【0050】即ち、量子化制御回路9において、まず最
初に、バッファメモリ6のデータ蓄積量fに基づいて、
並べ換えメモリ2から出力された16画素×8ライン分
のブロックにブロック化された係数データP1乃至P9
(図4)それぞれを量子化する量子化ステップサイズS
のベース値が、例えば図6に示すように決定される。
That is, in the quantization control circuit 9, first, based on the data storage amount f of the buffer memory 6,
Coefficient data P1 to P9 that are output from the rearrangement memory 2 and are divided into blocks of 16 pixels × 8 lines
(FIG. 4) Quantization step size S for quantizing each
The base value of is determined as shown in FIG. 6, for example.

【0051】なお、量子化制御回路9においては、バッ
ファメモリ6のデータ蓄積量fが大きくなると、量子化
器3より出力されるデータ量を低下させるために、量子
化ステップサイズSのベース値が全体的に粗く(大き
く)され、また、バッファメモリ6のデータ蓄積量fが
小さくなると、量子化器3より出力されるデータ量を増
加させるために、量子化ステップサイズSのベース値が
全体的に細かく(小さく)される。
In the quantizing control circuit 9, when the data storage amount f in the buffer memory 6 becomes large, the base value of the quantizing step size S is reduced in order to reduce the data amount output from the quantizer 3. If the overall data is coarse (large) and the data storage amount f of the buffer memory 6 is small, the base value of the quantization step size S is increased as a whole in order to increase the data amount output from the quantizer 3. It is made finer (smaller).

【0052】さらに、量子化制御回路9において、決定
回路8からの絶対精度BASE(図6においては、aと
示してある)に基づいて、量子化ステップサイズSの絶
対値(セグメント値)が、図6(a)乃至(c)に示す
ベース値の中から選択される。
Further, in the quantization control circuit 9, the absolute value (segment value) of the quantization step size S is based on the absolute precision BASE (indicated as a in FIG. 6) from the decision circuit 8. It is selected from the base values shown in FIGS. 6A to 6C.

【0053】即ち、絶対精度BASEが、例えば1また
は2である場合、量子化制御回路9において、図6
(a)に示す全体的に小さい値のベース値が、量子化ス
テップサイズSの絶対値(セグメント値)として決定さ
れる。また、絶対精度BASEが、例えば3乃至8のい
ずれかの値である場合、量子化制御回路9において、図
6(b)に示すベース値が、量子化ステップサイズSの
絶対値(セグメント値)として決定され、絶対精度BA
SEが、例えば8より大きい値である場合、量子化制御
回路9において、図6(c)に示すベース値が、量子化
ステップサイズSの絶対値(セグメント値)として決定
される。
That is, when the absolute precision BASE is, for example, 1 or 2, the quantization control circuit 9 in FIG.
The base value of the overall small value shown in (a) is determined as the absolute value (segment value) of the quantization step size S. When the absolute precision BASE is, for example, any value of 3 to 8, the base value shown in FIG. 6B is the absolute value (segment value) of the quantization step size S in the quantization control circuit 9. Is determined as the absolute accuracy BA
When SE is a value larger than 8, for example, the quantization control circuit 9 determines the base value shown in FIG. 6C as the absolute value (segment value) of the quantization step size S.

【0054】これにより、並べ換えメモリ2から出力さ
れた16画素×8ライン分のブロックにおける画像が暗
く、平坦な画像であるほど、その画像が復号された場合
に、段差などの歪が視覚的に目立たないように、細かい
量子化ステップサイズSで、係数データP1乃至P9が
それぞれ量子化されることになる。
As a result, the darker and flatter the image in the block of 16 pixels × 8 lines output from the rearrangement memory 2, the more visually the distortion such as the step when the image is decoded. To be inconspicuous, each of the coefficient data P1 to P9 is quantized with a fine quantization step size S.

【0055】さらに、量子化制御回路9において、決定
回路8からの相対精度TYPEに基づいて、量子化ステ
ップサイズSの相対値(オフセット値)が、例えば図7
に示すオフセットテーブルの中から選択される。
Further, in the quantizing control circuit 9, the relative value (offset value) of the quantizing step size S is, for example, as shown in FIG.
It is selected from the offset table shown in.

【0056】即ち、量子化制御回路9において、決定回
路8からの相対精度TYPEが0(1,2,3,4,
5、または6)である場合、図7(a)(図7(b),
(c),(d),(e),(f)、または(g))に示
すオフセットテーブルが、量子化ステップサイズSの相
対値(オフセット値)として選択される。
That is, in the quantization control circuit 9, the relative precision TYPE from the decision circuit 8 is 0 (1, 2, 3, 4, 4).
5 or 6), FIG. 7 (a) (FIG. 7 (b),
The offset table shown in (c), (d), (e), (f), or (g)) is selected as the relative value (offset value) of the quantization step size S.

【0057】つまり、例えば並べ換えメモリ2から出力
された16画素×8ライン分のブロックにおける画像
が、顕著な垂直方向のエッジを有する画像である場合、
上述したように相対精度TYPEが1となるので、量子
化ステップサイズSの相対値(オフセット値)として、
図7(b)に示す、係数データP2,P3,P5、およ
びP6に対応する部分が1で、他の部分が0になってい
る量子化ステップサイズのオフセットテーブルが選択さ
れる。
That is, for example, when the image in the block of 16 pixels × 8 lines output from the rearrangement memory 2 is an image having a significant vertical edge,
Since the relative accuracy TYPE becomes 1 as described above, as the relative value (offset value) of the quantization step size S,
The offset table of the quantization step size shown in FIG. 7B in which the portions corresponding to the coefficient data P2, P3, P5, and P6 are 1 and the other portions are 0 is selected.

【0058】そして、量子化制御回路9において、相対
精度TYPEに基づいて決定された量子化ステップサイ
ズの相対値(図7)が、1になっている部分に対応する
量子化ステップサイズの絶対値(図6)の変数(絶対精
度)aに、例えばa+1が代入され、この代入結果が量
子化ステップサイズSとして量子化器3に供給される。
Then, in the quantization control circuit 9, the relative value (FIG. 7) of the quantization step size determined based on the relative precision TYPE is 1 and the absolute value of the quantization step size corresponding to the portion. For example, a + 1 is substituted into the variable (absolute precision) a in FIG. 6 and the substitution result is supplied to the quantizer 3 as the quantization step size S.

【0059】従って、例えば並べ換えメモリ2から出力
されたブロックにおける画像が、明るく平坦で、垂直方
向のみに顕著なエッジを有する画像である場合、上述し
たように絶対精度BASEが1または2になるととも
に、相対精度TYPEが1になるので、量子化制御回路
9において、図6(a)に示す絶対値が、図7(b)に
示す、係数データP2,P3,P5、およびP6に対応
する部分が1で、他の部分が0になっている相対値に対
応して、上述したように変更され、その変更結果が量子
化ステップサイズSとして出力されることになる。
Therefore, for example, when the image in the block output from the rearrangement memory 2 is an image which is bright and flat and has a significant edge only in the vertical direction, the absolute precision BASE becomes 1 or 2 as described above. , The relative precision TYPE becomes 1, so that in the quantization control circuit 9, the absolute value shown in FIG. 6A corresponds to the coefficient data P2, P3, P5, and P6 shown in FIG. 7B. Is 1 and the other part is changed to 0 in the other part, and the change is output as the quantization step size S as described above.

【0060】つまり、この場合、図7(b)に示す相対
値が1になっている係数データP2,P3,P5、およ
びP6の部分に対応する絶対値(図6(a))の変数
(絶対精度)aに、a+1が代入され、この結果、係数
データP2を量子化する量子化ステップサイズがa+2
からa+3に変更されるとともに、係数データP3を量
子化する量子化ステップサイズがaからa+1に変更さ
れることになる。
That is, in this case, the variable of the absolute value (FIG. 6A) corresponding to the portion of the coefficient data P2, P3, P5, and P6 in which the relative value is 1 shown in FIG. (Absolute accuracy) a is substituted with a + 1, and as a result, the quantization step size for quantizing the coefficient data P2 is a + 2.
From a to a + 3, the quantization step size for quantizing the coefficient data P3 is changed from a to a + 1.

【0061】これにより、並べ換えメモリ2から出力さ
れたブロックにおける係数データP1乃至P9を量子化
する量子化ステップサイズSが、図9(a)に示すよう
に、絶対精度BASEのみに基づいて決定された量子化
ステップサイズS(図6(a))に比較して、水平方向
の画像の変化を表す係数データP2、および斜め方向の
画像の変化を表す係数データP3を量子化する量子化ス
テップサイズが粗くされた(1だけ多くされた)ものと
なる。
As a result, the quantization step size S for quantizing the coefficient data P1 to P9 in the block output from the rearrangement memory 2 is determined based on only the absolute precision BASE as shown in FIG. 9 (a). Compared with the quantization step size S (FIG. 6A), the quantization step size for quantizing the coefficient data P2 representing the horizontal image change and the coefficient data P3 representing the diagonal image change. Is roughened (increased by 1).

【0062】よって、この場合、垂直方向の画像の変化
を表す係数データP1を量子化する量子化ステップサイ
ズが、水平方向の画像の変化を表す係数データP2、お
よび斜め方向の画像の変化を表す係数データP3の量子
化ステップサイズに比較して相対的に細かくなるので、
垂直方向のみに顕著なエッジを有する画像、即ち水平方
向に平坦な画像に生じる歪を均一化するように(視覚的
に目立つ歪を低減するように)、係数データP1乃至P
9を量子化することができることになる。
Therefore, in this case, the quantization step size for quantizing the coefficient data P1 representing the vertical image change represents the coefficient data P2 representing the horizontal image change and the diagonal image change. Since it becomes relatively fine compared to the quantization step size of the coefficient data P3,
The coefficient data P1 to P are arranged so as to equalize the distortion generated in an image having a significant edge only in the vertical direction, that is, the image flat in the horizontal direction (to reduce the visually noticeable distortion).
9 can be quantized.

【0063】ここで、図6の絶対値を、図7(a)乃至
(g)の相対精度TYPEに基づく相対値に対応して変
更した量子化ステップサイズSを図8乃至図14にそれ
ぞれ示す。なお、図8乃至図14においても、図6にお
ける場合と同様に、絶対精度BASEの値をaで示して
ある。
Here, the quantization step size S in which the absolute value of FIG. 6 is changed corresponding to the relative value based on the relative precision TYPE of FIGS. 7A to 7G is shown in FIGS. 8 to 14, respectively. . Note that, also in FIGS. 8 to 14, the value of the absolute precision BASE is indicated by a, as in the case of FIG.

【0064】以上のように、量子化制御回路9におい
て、量子化ステップサイズSが決定されると、それは量
子化器3に供給される。そして、量子化器3において、
その量子化ステップサイズSで、並べ換えメモリから出
力された16画素×8ライン分のブロックにブロック化
された係数データP1乃至P9(図4)が量子化され
る。
As described above, when the quantization control circuit 9 determines the quantization step size S, it is supplied to the quantizer 3. Then, in the quantizer 3,
The quantization step size S is used to quantize the coefficient data P1 to P9 (FIG. 4), which are output from the rearrangement memory and are divided into blocks of 16 pixels × 8 lines.

【0065】即ち、量子化制御回路9から、例えば図8
(a)に示す量子化ステップサイズSが出力された場
合、並べ換えメモリ2から出力された16画素×8ライ
ン分のブロックにブロック化された係数データP1乃至
P9(図4)が、量子化ステップサイズa+2,a+
2,a,1,1,1,1,1、または1(図8(a))
でそれぞれ量子化されることになる。
That is, from the quantization control circuit 9, for example, as shown in FIG.
When the quantization step size S shown in (a) is output, the coefficient data P1 to P9 (FIG. 4) blocked from the rearrangement memory 2 and divided into blocks of 16 pixels × 8 lines are converted into quantization steps. Size a + 2, a +
2, a, 1,1,1,1,1,1 or 1 (Fig. 8 (a))
Will be quantized respectively.

【0066】ここで、量子化器3においては、係数デー
タPLLは、絶対精度BASEおよび相対精度TYPE
にかかわらず、一定の量子化ステップサイズで直線量子
化されるようになされている。従って、図6乃至図14
では、係数データPLL(図4)を量子化する量子化ス
テップサイズの位置に、量子化ステップサイズではな
く、ハイフン「−」を記してある。
Here, in the quantizer 3, the coefficient data PLL has absolute precision BASE and relative precision TYPE.
Regardless, the linear quantization is performed with a constant quantization step size. Therefore, FIGS.
Then, a hyphen "-" is written at the position of the quantization step size for quantizing the coefficient data PLL (FIG. 4) instead of the quantization step size.

【0067】量子化器3で量子化されて出力された量子
化データは、VLC回路4に供給され、そこで可変長符
号化される。そして、可変長符号化データは、MUX5
に入力される。MUX5において、VLC回路4からの
可変長符号化データと、決定回路8より出力されたパラ
メータmとしての絶対精度BASEおよび相対精度TY
PEとが多重化され、符号化データが出力される。この
符号化データは、バッファメモリ6に一時記憶され、一
定の伝送レートで、例えば伝送路などに出力される。
The quantized data output after being quantized by the quantizer 3 is supplied to the VLC circuit 4, where it is subjected to variable length coding. Then, the variable length encoded data is MUX5.
Entered in. In the MUX 5, the variable length encoded data from the VLC circuit 4 and the absolute precision BASE and the relative precision TY as the parameter m output from the determination circuit 8
PE and PE are multiplexed and encoded data is output. This encoded data is temporarily stored in the buffer memory 6 and is output at a constant transmission rate to, for example, a transmission line.

【0068】以上のように、画像信号の低域側を再帰的
に複数の周波数帯域成分に分割し、その各周波数帯域成
分から係数を集め、複数のブロックにブロック化して量
子化する場合に、ブロックの絶対精度BASEおよび相
対精度TYPEを設定し、この絶対精度BASEおよび
相対精度TYPEに基づいて、ブロックを量子化する量
子化ステップサイズを制御するようにしたので、ブロッ
クを量子化する量子化ステップサイズを微細に制御する
ことができる。
As described above, when the low-frequency side of the image signal is recursively divided into a plurality of frequency band components, the coefficients are collected from each frequency band component, and the blocks are quantized into a plurality of blocks. Since the absolute precision BASE and the relative precision TYPE of the block are set and the quantization step size for quantizing the block is controlled based on the absolute precision BASE and the relative precision TYPE, the quantization step for quantizing the block The size can be finely controlled.

【0069】さらに、この結果、復号画像に生じる歪を
低減することができる。
Further, as a result, the distortion generated in the decoded image can be reduced.

【0070】なお、決定回路8は、例えば図15に示す
ようにROM11およびROM12によって構成するよ
うにすることができる。この場合、ROM12には、量
子化器3の量子化ステップサイズSのセグメント値(絶
対値)を決定するパラメータとしての絶対精度BASE
のテーブルがあらかじめ記憶させておき、ROM11に
は、量子化器3の量子化ステップサイズSのオフセット
値(相対値)を決定するパラメータとしての相対精度T
YPEのテーブルをあらかじめ記憶させておく。
The decision circuit 8 can be constituted by the ROM 11 and the ROM 12 as shown in FIG. 15, for example. In this case, the ROM 12 uses the absolute precision BASE as a parameter for determining the segment value (absolute value) of the quantization step size S of the quantizer 3.
Is stored in advance in the ROM 11, and the ROM 11 stores the relative accuracy T as a parameter for determining the offset value (relative value) of the quantization step size S of the quantizer 3.
The YPE table is stored in advance.

【0071】そして、決定回路8としてのROM11ま
たは12においては、絶対値和計算回路7からブロック
化された各係数データの絶対値和ΣP1乃至P3または
ΣPLLが与えられると、それをアドレスとし、そのア
ドレスに記憶されている、上述したような絶対精度BA
SEまたは相対精度TYPEがそれぞれ読み出されるよ
うにしておく。これにより、回路を小型に構成すること
ができるようになる。さらに、この場合、絶対精度BA
SEおよび相対精度TYPEを迅速に決定することがで
きるようになる。即ち、処理速度を向上させることがで
きるようになる。
In the ROM 11 or 12 as the determination circuit 8, when the absolute value sum ΣP1 to P3 or ΣPLL of the blocked coefficient data is given from the absolute value sum calculation circuit 7, the absolute value sum ΣP1 to P3 or ΣPLL is used as an address. Absolute accuracy BA as described above, stored in the address
SE or relative precision TYPE is read out respectively. As a result, the circuit can be made compact. Furthermore, in this case, the absolute accuracy BA
The SE and the relative accuracy TYPE can be quickly determined. That is, the processing speed can be improved.

【0072】また、量子化制御回路9は、例えば図15
に示すようにROM13によって構成するようにするこ
とができる。この場合、ROM13には、例えば図8乃
至図14に示すような、量子化器3の量子化ステップサ
イズSの一覧をあらかじめ記憶させておく。
Further, the quantization control circuit 9 is, for example, as shown in FIG.
It can be configured by the ROM 13 as shown in FIG. In this case, the ROM 13 stores in advance a list of the quantization step sizes S of the quantizer 3 as shown in FIGS. 8 to 14, for example.

【0073】そして、量子化制御回路9としてのROM
13においては、決定回路8から絶対精度BASEおよ
び相対精度TYPE、並びにバッファメモリ6からデー
タ蓄積量fが与えられると、それをアドレスとし、その
アドレスに記憶されている、上述したような量子化ステ
ップサイズSが読み出されるようにしておく。これによ
り、回路を小型に構成することができるようになる。さ
らに、量子化ステップサイズSを迅速に決定することが
できるようになる。即ち、処理速度を向上させることが
できるようになる。
ROM as the quantization control circuit 9
In 13, when the absolute precision BASE and the relative precision TYPE are given from the decision circuit 8 and the data storage amount f is given from the buffer memory 6, it is used as an address and the quantization step as described above is stored in the address. The size S is read out. As a result, the circuit can be made compact. Furthermore, it becomes possible to quickly determine the quantization step size S. That is, the processing speed can be improved.

【0074】さらに、決定回路8としてのROM11お
よび12、並びに量子化制御回路9としてのROM13
を1つのROMに一体に構成するようにしても良い。こ
の場合、バッファメモリ6からデータ蓄積量f、および
決定回路8から係数データの絶対値和ΣP1乃至P3ま
たはΣPLLが与えられると、それらをアドレスとし
て、そのアドレスに記憶されている、上述したような量
子化ステップサイズSが即座に読み出されるようにな
り、処理速度をより向上させることができるようにな
る。
Further, the ROMs 11 and 12 as the decision circuit 8 and the ROM 13 as the quantization control circuit 9
May be integrated into one ROM. In this case, when the data storage amount f is given from the buffer memory 6 and the absolute value sums ΣP1 to P3 or ΣPLL of the coefficient data are given from the decision circuit 8, they are stored as the addresses, which are stored at the addresses, as described above. The quantization step size S is immediately read out, and the processing speed can be further improved.

【0075】次に、図16は、図1の画像符号化装置に
よって符号化されたデータ(画像信号)を復号する画像
復号化装置の一実施例の構成を示すブロック図である。
バッファメモリ21は、図1の画像符号化装置によって
符号化された符号化データを一時記憶し、デマルチプレ
クサ(DMUX)22に順次出力する。DMUX22
は、符号化データから、画像信号に対応するデータと、
絶対精度BASEおよび相対精度TYPEを分離する。
IVLC回路23は、DMUX22で分離された画像信
号に対応するデータ(可変長符号データ)を逆可変長符
号化し、逆可変長符号データ、即ち量子化データを逆量
子化器24に出力する。逆量子化器24は、逆量子化制
御回路27より供給される逆量子化ステップサイズS'
で、IVLC回路23からの量子化データを逆量子化
し、図4に示すブロック化された係数データP1乃至P
9およびPLLを出力する。
Next, FIG. 16 is a block diagram showing the structure of an embodiment of an image decoding apparatus for decoding the data (image signal) coded by the image coding apparatus of FIG.
The buffer memory 21 temporarily stores the coded data coded by the image coding apparatus in FIG. 1 and sequentially outputs the coded data to the demultiplexer (DMUX) 22. DMUX22
Is data corresponding to the image signal from the encoded data,
Separate absolute precision BASE and relative precision TYPE.
The IVLC circuit 23 inversely variable-length codes the data (variable-length code data) corresponding to the image signal separated by the DMUX 22, and outputs the inverse variable-length code data, that is, the quantized data, to the inverse quantizer 24. The inverse quantizer 24 has an inverse quantization step size S ′ supplied from the inverse quantization control circuit 27.
Then, the quantized data from the IVLC circuit 23 is inversely quantized, and the blocked coefficient data P1 to P shown in FIG.
9 and PLL are output.

【0076】並べ換えメモリ25は、逆量子化器24か
ら順次出力される、図4に示すようにブロック化された
係数データP1乃至P9およびPLLを一時記憶する。
そして、並べ換えメモリ25は、図1の並べ換えメモリ
2における場合とは逆に、記憶した、複数のブロックの
16画素×8ライン分の係数データ(図4)を、周波数
帯域成分別に並べ換え、図3(b)に示す720画素×
496ラインの画像の周波数帯域別の係数データ、即ち
1画面分の係数データLH1,HL1,HH1,LH
2,HL2,HH2,LH3,HL3,HH3,LL3
に変換する。
The rearrangement memory 25 temporarily stores the coefficient data P1 to P9 and the PLL, which are sequentially output from the dequantizer 24 and are blocked as shown in FIG.
Contrary to the case of the rearrangement memory 2 of FIG. 1, the rearrangement memory 25 rearranges the stored coefficient data of 16 pixels × 8 lines of a plurality of blocks (FIG. 4) for each frequency band component. 720 pixels shown in (b) x
Coefficient data for each frequency band of the 496 line image, that is, coefficient data LH1, HL1, HH1, LH for one screen
2, HL2, HH2, LH3, HL3, HH3, LL3
Convert to.

【0077】ウェーブレット逆変換回路(IWT)26
は、図1のWT1における場合とは逆に、並べ換えメモ
リ25より出力される1画面分の係数データにウェーブ
レット逆変換を施し、画像信号を復号する。
Inverse Wavelet Transform Circuit (IWT) 26
Contrary to the case of WT1 in FIG. 1, inverse wavelet transform is applied to the coefficient data for one screen output from the rearrangement memory 25 to decode the image signal.

【0078】即ち、IWT26は、例えば図17に示す
ように、画像信号の高域成分を分離するハイパスフィル
タH、その低域成分を分離するローパスフィルタL、ハ
イパスフィルタHとローパスフィルタLの出力を加算す
る加算器(図中、プラス「+」で示す)、および入力さ
れる画像信号のサンプリング周波数の2倍のサンプリン
グ周波数で、画像信号をアップンサンプリングするアッ
プサンプラ(図中、上向きの矢印「↑」で示す)を組み
合わせて構成され、並べ換えメモリ25より出力され
る、例えば図3(b)に示すような係数データLH1,
HL1,HH1,LH2,HL2,HH2,LH3,H
L3,HH3,LL3を水平方向および垂直方向に順次
再構成し、図3(a)に示すような720画素×496
ラインの1画面分の画像信号を復号する。
That is, the IWT 26 outputs the outputs of the high-pass filter H for separating the high-pass components of the image signal, the low-pass filter L for separating the low-pass components thereof, and the high-pass filter H and the low-pass filter L as shown in FIG. An adder for adding (indicated by plus “+” in the figure) and an upsampler for upsampling the image signal at a sampling frequency twice the sampling frequency of the input image signal (upward arrow “in the figure” (Indicated by ↑)) and output from the rearrangement memory 25, for example, coefficient data LH1, as shown in FIG.
HL1, HH1, LH2, HL2, HH2, LH3, H
L3, HH3, and LL3 are sequentially reconstructed in the horizontal direction and the vertical direction, and 720 pixels × 496 as shown in FIG.
The image signal for one screen of the line is decoded.

【0079】逆量子化制御回路27(図16)は、図1
の量子化制御回路9における場合と同様にして、バッフ
ァメモリ21のデータ蓄積量f、並びにDMUX22か
らの絶対精度BASEおよび相対精度TYPEに基づい
て、逆量子化器24の逆量子化ステップサイズS'を制
御する。
The inverse quantization control circuit 27 (FIG. 16) is the same as that shown in FIG.
In the same manner as in the quantization control circuit 9 of FIG. 1, the inverse quantization step size S ′ of the inverse quantizer 24 is based on the data storage amount f of the buffer memory 21 and the absolute precision BASE and the relative precision TYPE from the DMUX 22. To control.

【0080】次に、その動作について説明する。まず、
符号化データがバッファメモリ21に一時記憶され、D
MUX22に順次出力される。DMUX22において、
バッファメモリ21からの符号化データは、画像信号に
対応するデータと、絶対精度BASEおよび相対精度T
YPEに分離される。
Next, the operation will be described. First,
The encoded data is temporarily stored in the buffer memory 21, and D
It is sequentially output to the MUX 22. In DMUX22,
The encoded data from the buffer memory 21 includes data corresponding to the image signal, absolute precision BASE and relative precision T.
Separated into YPE.

【0081】このうち、画像信号に対応するデータは、
IVLC回路23に入力される。そして、IVLC回路
23において、そのデータが逆可変長符号化され、逆可
変長符号データ、即ち量子化データが逆量子化器24に
出力される。
Of these, the data corresponding to the image signal is
It is input to the IVLC circuit 23. Then, in the IVLC circuit 23, the data is inverse variable-length coded, and the inverse variable-length code data, that is, the quantized data, is output to the inverse quantizer 24.

【0082】一方、絶対精度BASEおよび相対精度T
YPEは、逆量子化制御回路27に入力される。逆量子
化制御回路27においては、まずバッファメモリ21の
データ蓄積量fが参照され、このデータ蓄積量fに基づ
いて、逆量子化器24の逆量子化ステップサイズS'の
ベース値が、例えば図6に示すように決定される。
On the other hand, absolute accuracy BASE and relative accuracy T
The YPE is input to the inverse quantization control circuit 27. In the dequantization control circuit 27, first, the data storage amount f of the buffer memory 21 is referred to, and based on this data storage amount f, the base value of the dequantization step size S ′ of the dequantizer 24 is, for example, It is determined as shown in FIG.

【0083】さらに、逆量子化制御回路27において、
図1の量子化制御回路9における場合と同様にして、D
MUX22からの絶対精度BASEおよび相対精度TY
PEに基づいて、逆量子化器24の逆量子化ステップサ
イズS'(図8乃至図14)が決定され、逆量子化器2
4に出力される。
Furthermore, in the inverse quantization control circuit 27,
Similarly to the case of the quantization control circuit 9 in FIG.
Absolute accuracy BASE and relative accuracy TY from MUX22
The inverse quantization step size S ′ (FIGS. 8 to 14) of the inverse quantizer 24 is determined based on the PE, and the inverse quantizer 2
4 is output.

【0084】逆量子化器24において、IVLC回路2
3からのデータが、逆量子化制御回路27より出力され
た逆量子化ステップサイズS'で逆量子化され、ブロッ
ク化された係数データが並べ換えメモリ25に出力され
る。
In the inverse quantizer 24, the IVLC circuit 2
The data from 3 is dequantized by the dequantization step size S ′ output from the dequantization control circuit 27, and the blocked coefficient data is output to the rearrangement memory 25.

【0085】並べ換えメモリ25において、逆量子化器
24から順次出力される、図4に示すようにブロック化
された係数データP1乃至P9およびPLLが一時記憶
され、ブロック化が解かれて周波数帯域成分別に並べ換
えられる。並べ換えメモリ25の出力は、IWT26に
入力され、そこで再構成されて、復号された画像信号と
して出力される。
In the rearrangement memory 25, the coefficient data P1 to P9 and the PLL, which are sequentially output from the dequantizer 24 and are blocked as shown in FIG. 4, are temporarily stored, and the blocking is released to obtain the frequency band component. Sorted separately. The output of the rearrangement memory 25 is input to the IWT 26 where it is reconstructed and output as a decoded image signal.

【0086】以上のように、符号化データから分離した
絶対精度BASEおよび相対精度TYPEに基づいて、
画像情報を逆量子化する逆量子化ステップサイズを制御
するようにしたので、画面に生じる不均一な歪を抑制し
た復号画像を得ることができる。
As described above, based on the absolute precision BASE and the relative precision TYPE separated from the encoded data,
Since the dequantization step size for dequantizing the image information is controlled, it is possible to obtain a decoded image in which non-uniform distortion that occurs on the screen is suppressed.

【0087】なお、逆量子化制御回路27は、例えば図
18に示すようにROM31によって構成するようにす
ることができる。この場合、ROM13には、図15の
ROM13と同様の、例えば図8乃至図14に示すよう
な、逆量子化器24の逆量子化ステップサイズS'の一
覧をあらかじめ記憶させておく。
The dequantization control circuit 27 can be constituted by a ROM 31 as shown in FIG. 18, for example. In this case, the ROM 13 stores in advance a list of dequantization step sizes S ′ of the dequantizer 24 similar to the ROM 13 of FIG. 15, for example, as shown in FIGS. 8 to 14.

【0088】そして、逆量子化制御回路27としてのR
OM31においては、DMUX22から絶対精度BAS
Eおよび相対精度TYPE、並びにバッファメモリ21
からデータ蓄積量fが与えられると、それをアドレスと
し、そのアドレスに記憶されている、上述したような逆
量子化ステップサイズS'が読み出されるようにしてお
く。これにより、回路を小型に構成することができるよ
うになる。さらに、逆量子化ステップサイズS'を迅速
に決定することができるようになる。即ち、処理速度を
向上させることができるようになる。
R as the inverse quantization control circuit 27
In OM31, absolute accuracy BAS from DMUX22
E and relative precision TYPE, and buffer memory 21
When the data storage amount f is given from, the address is used as an address, and the above-described inverse quantization step size S ′ stored at the address is read out. As a result, the circuit can be made compact. Further, it becomes possible to quickly determine the inverse quantization step size S ′. That is, the processing speed can be improved.

【0089】なお、図1の実施例のおいては、決定回路
8で、絶対値和計算回路7からの各係数データの絶対値
和に基づいて、絶対精度BASEおよび相対精度TYP
Eを設定(決定)するようにしたが、例えば係数データ
の2乗和などに基づいて決定するようにすることができ
る。
In the embodiment shown in FIG. 1, the determination circuit 8 determines the absolute precision BASE and the relative precision TYP based on the sum of absolute values of the coefficient data from the absolute value sum calculation circuit 7.
Although E is set (determined), it can be determined based on, for example, the sum of squares of coefficient data.

【0090】さらに、絶対精度BASEまたは相対精度
TYPEに基づいて決定される、量子化器3の量子化ス
テップサイズSのセグメント値(絶対値)、またはその
オフセット値(相対値)は、図6または図7にそれぞれ
示すものに限定されるものではない。
Further, the segment value (absolute value) of the quantization step size S of the quantizer 3 or its offset value (relative value) determined based on the absolute precision BASE or the relative precision TYPE is shown in FIG. It is not limited to those shown in FIG. 7, respectively.

【0091】また、本実施例においては、本発明を、ウ
ェーブレット変換(ウェーブレット逆変換)による画像
信号の符号化(復号化)に適用した場合について説明し
たが、本発明はこれに限らず、例えばサブバンド符号化
(サブバンド復号化)などの、画像信号の低域側を再帰
的に分割する符号化(画像信号を再帰的に再構成する復
号化)に適用することができる。
Further, in the present embodiment, the case where the present invention is applied to the coding (decoding) of the image signal by the wavelet transform (wavelet inverse transform) has been described, but the present invention is not limited to this and, for example, The present invention can be applied to subband coding (subband decoding) and other coding for recursively dividing the low frequency side of an image signal (decoding for recursively reconstructing an image signal).

【0092】さらに、本実施例では、図1のWT1にお
いて、画像信号を水平方向または垂直方向それぞれに3
層に分割するようにしたが、この分割数は必要に応じて
変更することができる。但し、この場合、その変更に併
せて、図16(または図17)のIWT26における画
像信号の再構成の層数も変更する必要がある。
Further, in the present embodiment, in WT1 of FIG. 1, the image signal is divided into three in the horizontal direction or in the vertical direction.
Although it is divided into layers, the number of divisions can be changed as necessary. However, in this case, in addition to the change, it is necessary to change the number of layers for reconstructing the image signal in the IWT 26 of FIG. 16 (or FIG. 17).

【0093】また、図1の画像符号化装置に入力される
画像信号が、例えば輝度信号および色差信号からなる場
合、それぞれを上述したように処理するようにすること
ができる。
When the image signal input to the image coding apparatus of FIG. 1 is composed of, for example, a luminance signal and a color difference signal, each of them can be processed as described above.

【0094】さらに、この場合、あらかじめ輝度信号を
上述したように処理し、その後、輝度信号を量子化した
量子化ステップサイズと同一の量子化ステップサイズ
で、色差信号を量子化するようにすることができる。
Further, in this case, the luminance signal is processed in advance as described above, and then the color difference signal is quantized with the same quantization step size as the quantization step size obtained by quantizing the luminance signal. You can

【0095】また、この場合、色差信号に関しては、輝
度信号の量子化ステップサイズの、例えば2倍の量子化
ステップサイズで量子化するようにすることができる。
In this case, the color difference signal may be quantized with a quantization step size which is, for example, twice the quantization step size of the luminance signal.

【0096】さらに、本実施例では、係数データP1乃
至P3またはPLLに基づいて、絶対精度BASEおよ
び相対精度TYPEを設定するようにしたが、係数デー
タP1乃至P3またはPLLだけでなく、これに加え
て、例えば係数データP4乃至P9を用いるようにして
も良い。
Further, in the present embodiment, the absolute precision BASE and the relative precision TYPE are set based on the coefficient data P1 to P3 or the PLL, but not only the coefficient data P1 to P3 or the PLL but also this. For example, the coefficient data P4 to P9 may be used.

【0097】また、図7に示す量子化ステップサイズの
相対値に基づく、図6に示す量子化ステップサイズの絶
対値の変更は、上述した変更方法に限定されるものでは
なく、例えば絶対精度BASEに基づいて決定された量
子化ステップサイズSの絶対値(図6)に、相対精度T
YPEに基づいて決定されたその相対値(図7)を加算
するようにしても良い。
Further, the change of the absolute value of the quantization step size shown in FIG. 6 based on the relative value of the quantization step size shown in FIG. 7 is not limited to the above-mentioned changing method. Based on the absolute value of the quantization step size S (FIG. 6) determined based on
You may make it add the relative value (FIG. 7) determined based on YPE.

【0098】[0098]

【発明の効果】本発明の画像符号化装置および画像符号
化方法によれば、画像信号の低域側が再帰的に複数の周
波数帯域成分に分割され、複数の周波数帯域成分の各周
波数帯域成分から係数が集められ、複数のブロックにブ
ロック化される。さらに、ブロック内の複数の周波数帯
域成分のそれぞれについて、各周波数成分の情報量が求
められ、ブロック内の複数の周波数帯域成分のそれぞれ
の情報量に基づいて、ブロックを量子化する量子化ステ
ップが決定される。そして、その量子化ステップを用い
て、ブロックが量子化される。従って、ブロックを量子
化する量子化ステップサイズを微細に制御することがで
きる。
The image coding apparatus and the image code of the present invention
According to the encoding method, the low frequency side of the image signal recursively
It is divided into wave number band components, and
Coefficients are collected from wavenumber band components and are divided into blocks.
It is locked. In addition, multiple frequency bands within the block
For each frequency component, the information content of each frequency component is calculated.
Each of the multiple frequency band components in the block
Based on the amount of information in the
Is decided. And using that quantization step
Block is quantized. Therefore, the quantization step size for quantizing a block can be finely controlled.

【0099】本発明の画像復号化装置および画像復号化
方法によれば、符号化信号から、画像情報および絶対精
度が分離され、絶対精度に基づいて、逆量子化ステップ
が制御される。さらに、画像情報が、逆量子化ステップ
を用いて逆量子化され、逆量子化係数が出力される。そ
して、逆量子化係数が、複数の周波数帯域成分別に並べ
替えられ、複数の周波数帯域成分の係数から、画像信号
が再構成される。従って、復号画像の画面に生じる不均
一な歪を抑制し、これにより視覚的に感じる画質の劣化
を低減することができる。
According to the image decoding apparatus and the image decoding method of the present invention , the image information and the absolute precision are separated from the encoded signal, and the inverse quantization step is controlled based on the absolute precision. Further, the image information is dequantized using the dequantization step, and the dequantized coefficient is output. Then, the inverse quantized coefficients are rearranged for each of the plurality of frequency band components, and the image signal is reconstructed from the coefficients of the plurality of frequency band components. Therefore, it is possible to suppress the non-uniform distortion that occurs on the screen of the decoded image, and thereby to reduce the deterioration of the visually perceived image quality.

【0100】[0100]

【0101】[0101]

【0102】[0102]

【0103】[0103]

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

【図1】本発明の画像符号化装置の一実施例の構成を示
すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of an image encoding device of the present invention.

【図2】図1の実施例のウェーブレット変換回路1のよ
り詳細なブロック図である。
FIG. 2 is a more detailed block diagram of the wavelet transform circuit 1 of the embodiment of FIG.

【図3】ウェーブレット変換による画像信号の分割およ
び再構成を説明するための図である。
FIG. 3 is a diagram for explaining division and reconstruction of an image signal by wavelet transform.

【図4】ウェーブレット変換によって得られた係数デー
タのブロック化を説明するための図である。
FIG. 4 is a diagram for explaining blocking of coefficient data obtained by wavelet transform.

【図5】絶対精度BASEを設定するためのテーブルを
示す図である。
FIG. 5 is a diagram showing a table for setting an absolute accuracy BASE.

【図6】バッファメモリ6のデータ蓄積量fに基づいて
設定される量子化ステップサイズのベース値を示す図で
ある。
FIG. 6 is a diagram showing a base value of a quantization step size set based on a data storage amount f of a buffer memory 6.

【図7】相対精度TYPEに基づいて設定される量子化
ステップサイズの相対値(オフセット値)を示す図であ
る。
FIG. 7 is a diagram showing a relative value (offset value) of a quantization step size set on the basis of relative accuracy TYPE.

【図8】図6の量子化ステップサイズを、図7の相対精
度TYPEに基づく量子化ステップサイズの相対値に対
応して変更した量子化ステップサイズを示す図である。
FIG. 8 is a diagram showing a quantization step size in which the quantization step size of FIG. 6 is changed corresponding to a relative value of the quantization step size based on the relative precision TYPE of FIG. 7.

【図9】図6の量子化ステップサイズを、図7の相対精
度TYPEに基づく量子化ステップサイズの相対値に対
応して変更した量子化ステップサイズを示す図である。
FIG. 9 is a diagram showing a quantization step size in which the quantization step size of FIG. 6 is changed corresponding to a relative value of the quantization step size based on the relative precision TYPE of FIG. 7.

【図10】図6の量子化ステップサイズを、図7の相対
精度TYPEに基づく量子化ステップサイズの相対値に
対応して変更した量子化ステップサイズを示す図であ
る。
10 is a diagram showing a quantization step size obtained by changing the quantization step size of FIG. 6 in accordance with the relative value of the quantization step size based on the relative precision TYPE of FIG. 7.

【図11】図6の量子化ステップサイズを、図7の相対
精度TYPEに基づく量子化ステップサイズの相対値に
対応して変更した量子化ステップサイズを示す図であ
る。
11 is a diagram showing a quantization step size in which the quantization step size of FIG. 6 is changed corresponding to the relative value of the quantization step size based on the relative precision TYPE of FIG. 7.

【図12】図6の量子化ステップサイズを、図7の相対
精度TYPEに基づく量子化ステップサイズの相対値に
対応して変更した量子化ステップサイズを示す図であ
る。
FIG. 12 is a diagram showing a quantization step size in which the quantization step size of FIG. 6 is changed corresponding to the relative value of the quantization step size based on the relative precision TYPE of FIG. 7.

【図13】図6の量子化ステップサイズを、図7の相対
精度TYPEに基づく量子化ステップサイズの相対値に
対応して変更した量子化ステップサイズを示す図であ
る。
13 is a diagram showing a quantization step size in which the quantization step size of FIG. 6 is changed corresponding to a relative value of the quantization step size based on the relative precision TYPE of FIG. 7.

【図14】図6の量子化ステップサイズを、図7の相対
精度TYPEに基づく量子化ステップサイズの相対値に
対応して変更した量子化ステップサイズを示す図であ
る。
14 is a diagram showing a quantization step size in which the quantization step size of FIG. 6 is changed corresponding to a relative value of the quantization step size based on the relative precision TYPE of FIG. 7.

【図15】図1の実施例の決定回路8および量子化制御
回路9の一実施例の構成を示すブロック図である。
15 is a block diagram showing a configuration of an embodiment of a decision circuit 8 and a quantization control circuit 9 of the embodiment of FIG.

【図16】図1の画像符号化装置により符号化された画
像信号を復号する画像復号化装置の一実施例の構成を示
すブロック図である
16 is a block diagram showing a configuration of an embodiment of an image decoding apparatus for decoding an image signal encoded by the image encoding apparatus of FIG.

【図17】図16の実施例のウェーブレット逆変換回路
26のより詳細なブロック図である。
FIG. 17 is a more detailed block diagram of the wavelet inverse transform circuit 26 of the embodiment of FIG.

【図18】図16の実施例の逆量子化制御回路27の一
実施例の構成を示すブロック図である。
18 is a block diagram showing the configuration of an embodiment of the inverse quantization control circuit 27 of the embodiment of FIG.

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

1 ウェーブレット変換回路(WT) 2 並べ換えメモリ 3 量子化器 4 VLC回路 5 マルチプレクサ(MUX) 6 バッファメモリ 7 絶対値和計算回路 8 決定回路 9 量子化制御回路 11乃至13 ROM 21 バッファメモリ 22 デマルチプレクサ(DMUX) 23 IVLC回路 24 逆量子化器 25 並べ換えメモリ 26 ウェーブレット逆変換回路(IWT) 27 逆量子化制御回路 31 ROM 1 Wavelet transform circuit (WT) 2 Sorting memory 3 quantizer 4 VLC circuit 5 Multiplexer (MUX) 6 buffer memory 7 Sum of absolute value calculation circuit 8 decision circuit 9 Quantization control circuit 11 to 13 ROM 21 buffer memory 22 Demultiplexer (DMUX) 23 IVLC circuit 24 Dequantizer 25 Sorting memory 26 Inverse Wavelet Transform Circuit (IWT) 27 Dequantization control circuit 31 ROM

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画像信号の低域側を再帰的に複数の周波
数帯域成分に分割する分割手段と、 前記複数の周波数帯域成分の各周波数帯域成分から係数
を集め、複数のブロックにブロック化するブロック化手
段と、 前記ブロック内の複数の周波数帯域成分のそれぞれにつ
いて、各周波数成分の情報量を求める演算手段と、 前記ブロック内の複数の周波数帯域成分のそれぞれの情
報量に基づいて、前記ブロックを量子化する量子化ステ
ップを決定する制御手段と、 前記量子化ステップを用いて、前記ブロックを量子化す
る量子化手段とを備えることを特徴とする画像符号化装
置。
1. A dividing unit that recursively divides a low-frequency side of an image signal into a plurality of frequency band components, and a coefficient is collected from each frequency band component of the plurality of frequency band components and is divided into a plurality of blocks. Blocking means, computing means for obtaining the information amount of each frequency component for each of the plurality of frequency band components in the block, based on the information amount of each of the plurality of frequency band components in the block, the block An image coding apparatus, comprising: a control unit that determines a quantization step that quantizes the block, and a quantization unit that quantizes the block by using the quantization step.
【請求項2】 前記制御手段は、前記ブロック内の複数
の周波数成分のそれぞれの情報量のうちの、低域成分お
よび高域成分の絶対的な情報量から、絶対精度を設定
し、その絶対精度に基づいて、前記ブロックを量子化す
る量子化ステップを決定することを特徴とする請求項1
に記載の画像符号化装置。
2. The control means sets an absolute accuracy from absolute information amounts of a low frequency component and a high frequency component of the information amounts of a plurality of frequency components in the block, and the absolute precision thereof is set. The quantizing step for quantizing the block is determined based on accuracy.
The image encoding device according to 1.
【請求項3】 画像信号の低域側を再帰的に複数の周波
数帯域成分に分割する分割工程と、 前記複数の周波数帯域成分の各周波数帯域成分から係数
を集め、複数のブロックにブロック化するブロック化工
程と、 前記ブロック内の複数の周波数帯域成分のそれぞれにつ
いて、各周波数成分の情報量を求める演算工程と、 前記ブロック内の複数の周波数帯域成分のそれぞれの情
報量に基づいて、前記ブロックを量子化する量子化ステ
ップを決定する制御工程と、 前記量子化ステップを用いて、前記ブロックを量子化す
る量子化工程とを備えることを特徴とする画像符号化方
法。
3. A dividing step of recursively dividing the low frequency side of the image signal into a plurality of frequency band components, and collecting a coefficient from each frequency band component of the plurality of frequency band components to form a block into a plurality of blocks. Blocking step, for each of the plurality of frequency band components in the block, a calculation step for obtaining the information amount of each frequency component, based on the information amount of each of the plurality of frequency band components in the block, the block An image coding method comprising: a control step of determining a quantization step of quantizing the block, and a quantization step of quantizing the block using the quantization step.
【請求項4】 画像信号の低域側を再帰的に複数の周波
数帯域成分に分割し、 前記複数の周波数帯域成分の各周波数帯域成分から係数
を集め、複数のブロックにブロック化し、 前記ブロック内の複数の周波数帯域成分のそれぞれにつ
いて、各周波数成分の情報量を求め、 前記ブロック内の複数の周波数成分のそれぞれの情報量
のうちの、低域成分および高域成分の絶対的な情報量か
ら、絶対精度を設定し、その絶対精度に基づいて、前記
ブロックを量子化する量子化ステップを決定し、 前記量子化ステップを用いて、前記ブロックを量子化す
ることにより符号化された符号化信号を受信して復号す
る画像復号化装置において、 前記符号化信号から、画像情報および前記絶対精度を分
離する分離手段と、 前記絶対精度に基づいて、逆量子化ステップを制御する
制御手段と、 前記画像情報を、前記逆量子化ステップを用いて逆量子
化し、逆量子化係数を出力する逆量子化手段と、 前記逆量子化係数を、前記複数の周波数帯域成分別に並
べ替える並べ替え手段と、 前記複数の周波数帯域成分の係数から、前記画像信号を
再構成する再構成手段とを備えることを特徴とする画像
復号化装置。
4. The low-frequency side of the image signal is recursively divided into a plurality of frequency band components, coefficients are collected from each frequency band component of the plurality of frequency band components, and the coefficients are divided into a plurality of blocks. For each of the plurality of frequency band components of, the information amount of each frequency component is obtained, and from the information amount of each of the plurality of frequency components in the block, from the absolute information amount of the low frequency component and the high frequency component , An absolute precision is set, a quantization step for quantizing the block is determined based on the absolute precision, and the encoded signal is encoded by quantizing the block using the quantization step. In the image decoding apparatus for receiving and decoding the image information, a demultiplexing unit for demultiplexing the image information and the absolute precision from the coded signal, Control means for controlling the step, dequantizing the image information by using the dequantizing step, and outputting dequantizing coefficients, dequantizing coefficients, the dequantizing coefficient, the plurality of frequency bands An image decoding apparatus comprising: a rearrangement unit that rearranges each component, and a reconstructing unit that reconstructs the image signal from the coefficients of the plurality of frequency band components.
【請求項5】 画像信号の低域側を再帰的に複数の周波
数帯域成分に分割し、 前記複数の周波数帯域成分の各周波数帯域成分から係数
を集め、複数のブロックにブロック化し、 前記ブロック内の複数の周波数帯域成分のそれぞれにつ
いて、各周波数成分の情報量を求め、 前記ブロック内の複数の周波数成分のそれぞれの情報量
のうちの、低域成分および高域成分の絶対的な情報量か
ら、絶対精度を設定し、その絶対精度に基づいて、前記
ブロックを量子化する量子化ステップを決定し、 前記量子化ステップを用いて、前記ブロックを量子化す
ることにより符号化された符号化信号を受信して復号す
る画像復号化方法において、 前記符号化信号から、画像情報および前記絶対精度を分
離する分離工程と、 前記絶対精度に基づいて、逆量子化ステップを制御する
制御工程と、 前記画像情報を、前記逆量子化ステップを用いて逆量子
化し、逆量子化係数を出力する逆量子化工程と、 前記逆量子化係数を、前記複数の周波数帯域成分別に並
べ替える並べ替え工程と、 前記複数の周波数帯域成分の係数から、前記画像信号を
再構成する再構成工程とを備えることを特徴とする画像
復号化方法。
5. The low-frequency side of the image signal is recursively divided into a plurality of frequency band components, coefficients are collected from each frequency band component of the plurality of frequency band components, and the coefficients are divided into a plurality of blocks. For each of the plurality of frequency band components of, the information amount of each frequency component is obtained, and from the information amount of each of the plurality of frequency components in the block, from the absolute information amount of the low frequency component and the high frequency component , An absolute precision is set, a quantization step for quantizing the block is determined based on the absolute precision, and the encoded signal is encoded by quantizing the block using the quantization step. In the image decoding method for receiving and decoding the image information, a separation step of separating the image information and the absolute precision from the encoded signal, and an inverse quantization step based on the absolute precision. A step of controlling the step, an inverse quantization step of inversely quantizing the image information using the inverse quantization step, and outputting an inverse quantization coefficient, the inverse quantization coefficient, the plurality of frequency bands An image decoding method, comprising: a rearrangement step of rearranging each component, and a reconstruction step of reconstructing the image signal from the coefficients of the plurality of frequency band components.
JP35407292A 1992-12-15 1992-12-15 Image encoding device, image encoding method, image decoding device, and image decoding method Expired - Fee Related JP3406336B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35407292A JP3406336B2 (en) 1992-12-15 1992-12-15 Image encoding device, image encoding method, image decoding device, and image decoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35407292A JP3406336B2 (en) 1992-12-15 1992-12-15 Image encoding device, image encoding method, image decoding device, and image decoding method

Publications (2)

Publication Number Publication Date
JPH06189287A JPH06189287A (en) 1994-07-08
JP3406336B2 true JP3406336B2 (en) 2003-05-12

Family

ID=18435108

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35407292A Expired - Fee Related JP3406336B2 (en) 1992-12-15 1992-12-15 Image encoding device, image encoding method, image decoding device, and image decoding method

Country Status (1)

Country Link
JP (1) JP3406336B2 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5682441A (en) * 1995-11-08 1997-10-28 Storm Technology, Inc. Method and format for storing and selectively retrieving image data
KR100338725B1 (en) * 1998-05-02 2002-07-18 윤종용 Pictures coding method approximating coding bits to target coding bits and apparatus therefor
US7995649B2 (en) 2006-04-07 2011-08-09 Microsoft Corporation Quantization adjustment based on texture level
US8711925B2 (en) * 2006-05-05 2014-04-29 Microsoft Corporation Flexible quantization
KR101365444B1 (en) * 2007-11-19 2014-02-21 삼성전자주식회사 Method and apparatus for encoding/decoding moving image efficiently through adjusting a resolution of image
US8897359B2 (en) 2008-06-03 2014-11-25 Microsoft Corporation Adaptive quantization for enhancement layer video coding
JP4650592B1 (en) * 2009-07-17 2011-03-16 日本電気株式会社 Wavelet transform coding / decoding method and apparatus
JP5218318B2 (en) * 2009-07-27 2013-06-26 日本電気株式会社 Wavelet transform coding method and apparatus
JP7065594B2 (en) * 2017-12-08 2022-05-12 キヤノン株式会社 Image coding device and its control method, and program

Also Published As

Publication number Publication date
JPH06189287A (en) 1994-07-08

Similar Documents

Publication Publication Date Title
JP3534465B2 (en) Subband coding method
US9838715B2 (en) Image processing apparatus and method
KR100880039B1 (en) Method and system for achieving coding gains in wavelet-based image codecs
US7822282B2 (en) Moving image coding apparatus, moving image decoding apparatus, control method therefor, computer program, and computer-readable storage medium
US5929912A (en) Image coding/decoding apparatus
US5825935A (en) Subband coding method with wavelet transform for high efficiency video signal compression
US8463056B2 (en) Information processing apparatus and information processing method that decode a portion of a code stream
JP2004531924A (en) Signal compression apparatus and method
JPH07222154A (en) Method and apparatus for image coding
KR101084512B1 (en) Selective chrominance decimation for digital images
KR20010093772A (en) Dct domain down conversion system that compensates for idct mismatch
JP3406336B2 (en) Image encoding device, image encoding method, image decoding device, and image decoding method
ES2937085T3 (en) Encoder and method of encoding a sequence of frames
EP1585338B1 (en) Decoding method and decoding device
WO1991014340A1 (en) Digital image processing including block edges filtering
US7313284B2 (en) Image coding apparatus, program, storage medium and image coding method
JPH08294119A (en) Image coder/decoder
US20150310593A1 (en) Noise removal system, noise removal method, and program
US7245769B2 (en) Archival of transformed and compressed data
JP4975223B2 (en) Compressed image processing method
JP2002016911A (en) Object video encoding device
JPH09312844A (en) Image compression method and its device
JP4669645B2 (en) Image encoding apparatus, image encoding method, program, and recording medium
JPH05276499A (en) Coding device and coding method
JPH0865667A (en) Image signal encoding method

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20010727

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

Free format text: PAYMENT UNTIL: 20080307

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090307

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100307

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees