JPH0955664A - Coding method and coder - Google Patents

Coding method and coder

Info

Publication number
JPH0955664A
JPH0955664A JP20979895A JP20979895A JPH0955664A JP H0955664 A JPH0955664 A JP H0955664A JP 20979895 A JP20979895 A JP 20979895A JP 20979895 A JP20979895 A JP 20979895A JP H0955664 A JPH0955664 A JP H0955664A
Authority
JP
Japan
Prior art keywords
signal
quantization step
band
divided
band division
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP20979895A
Other languages
Japanese (ja)
Other versions
JP3268623B2 (en
Inventor
Taka Murakoshi
象 村越
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.)
Pioneer Corp
Original Assignee
Pioneer Electronic 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 Pioneer Electronic Corp filed Critical Pioneer Electronic Corp
Priority to JP20979895A priority Critical patent/JP3268623B2/en
Publication of JPH0955664A publication Critical patent/JPH0955664A/en
Application granted granted Critical
Publication of JP3268623B2 publication Critical patent/JP3268623B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To facilitate signal processing and rate control by applying sequential signal processing to an input signal by a band split process, a quantization process, a coding process, a detection process and a quantization step control process. SOLUTION: The band split process applies band split to an input signal and provides an output as plural band split signals, the quantization process quantizes the band split signal received sequentially in the quantization step based on a quantization step control signal to provide an output of a quantization signal. The coding process encodes the quantization signal. The detection process in parallel with the processing above detects a generated code multi quantity corresponding to a preset band split signal. The quantization step control process provides an output of a quantization step control signal to control the quantization step of other split signals than the prescribed band split signal based on the detected generated code quantity. Then the output is easily rate-controlled (code quantity control).

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、符号化方法及び符
号化装置に係り、特に画像圧縮を行なうための符号化方
法及び符号化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a coding method and a coding apparatus, and more particularly to a coding method and a coding apparatus for performing image compression.

【0002】[0002]

【従来の技術】従来より画像圧縮においては、高い圧縮
率が得られるため、直交変換符号化が様々な映像機器で
用いられていた。
2. Description of the Related Art Conventionally, in image compression, since a high compression rate is obtained, orthogonal transform coding has been used in various video equipment.

【0003】しかしながら直交変換符号化による画像圧
縮においては、復元した画像にブロック状の歪(ブロッ
ク歪)が生じるため画質の面では問題があった。この問
題を克服すべく、近年、サブバンド符号化が提案されて
いる。
However, in image compression by orthogonal transform coding, there is a problem in terms of image quality because block distortion occurs in the restored image. In recent years, subband coding has been proposed to overcome this problem.

【0004】ここで、帯域分割にウェーブレット変換を
用いた入力画像データのサブバンド符号化について図1
2乃至図14を参照して説明する。サブバンド符号化装
置50は大別すると、図12に示すように、帯域分割部
51と、量子化器52と、量子化部53と、符号化部5
4と、を備えて構成される。
Here, the sub-band coding of the input image data using the wavelet transform for band division is shown in FIG.
2 to 14 will be described. The subband coding apparatus 50 is roughly classified into a band division unit 51, a quantizer 52, a quantization unit 53, and a coding unit 5 as shown in FIG.
4 and.

【0005】帯域分割部51は、フィールド毎あるいは
フレーム毎のウェーブレット変換を行なうことにより入
力画像データDIN’を各サブバンドデータDSB’に分割
し、分割された各サブバンドデータDSB’は、量子化部
53に入力される。
The band division unit 51 divides the input image data D IN 'into each sub-band data DS B ' by performing wavelet transformation for each field or each frame, and each divided sub-band data DS B ' , Are input to the quantizer 53.

【0006】量子化部53は、量子化器52を複数有
し、入力される各フィールド毎あるいは各フレーム毎の
各サブバンドデータDSB’の標準偏差σを求め、各サブ
バンドデータDSB’を各々与えられたビット数で量子化
し、出力データDQSB ’を出力する。
The quantizer 53 has a plurality of quantizers 52, obtains the standard deviation σ of each sub-band data DSB ′ for each field or each frame, and calculates each subband data DSB ′. Are quantized by the given number of bits, and output data D QSB 'is output.

【0007】出力データDQSB ’は、符号化部54にて
符号化され、符号化データDC ’として出力される。こ
の場合において、符号化部54では2次元ハフマン符号
等が用いられる。
The output data D QSB 'is encoded by the encoder 54 and output as encoded data D C '. In this case, the coding unit 54 uses a two-dimensional Huffman code or the like.

【0008】帯域分割部51における入力画像データD
IN’の帯域分割としての2次元ウェーブレット変換を図
13に示す。図13に示すように、第2次元ウエーブレ
ット変換は第1の方向に1次元のサブバンド分割を行な
い、さらに、第2の方向に1次元のサブバンド分割を行
なうという処理を、最も低域のサブバンドV1 (V2
3 、…)に再帰的に適用することによって実現でき
る。
Input image data D in the band division unit 51
FIG. 13 shows the two-dimensional wavelet transform as the band division of IN '. As shown in FIG. 13, in the second-dimensional wavelet transform, a process of performing one-dimensional subband division in the first direction and further performing one-dimensional subband division in the second direction is performed at the lowest frequency. Subband V 1 (V 2 ,
It can be realized by recursively applying to V 3 ,.

【0009】図13において、符号「H」及び符号
「G」は、ウェーブレット理論に基づいて設計されたク
オドラチャミラーフィルタ(QMF)であり、符号
「H」は低域通過フィルタを表し、符号「G」は高域フ
ィルタを表している。
In FIG. 13, symbols "H" and "G" are quadrature mirror filters (QMF) designed based on the wavelet theory, symbol "H" represents a low pass filter, and symbol "H". "G" represents a high pass filter.

【0010】この場合において、低域通過フィルタH及
び高域通過フィルタGのインパルス応答をそれぞれh
(n)及びg(n)とすると、 g(n)=(−1)(1-n) h(1−n) の関係を有している。
In this case, the impulse responses of the low pass filter H and the high pass filter G are h
Assuming that (n) and g (n) are satisfied, g (n) = (-1) (1-n) h (1-n) is satisfied.

【0011】また、符号「↓2」は1/2デシメーショ
ンを表し、符号「〔 〕T 」は、行列の転置を表してい
る。上述したウェーブレット変換を3階層行なうことに
より画像の空間周波数は、図14に示すように10個の
サブバンドに分割される。
The symbol "↓ 2" represents 1/2 decimation, and the symbol "[] T" represents transposition of a matrix. The spatial frequency of the image is divided into 10 subbands by performing the above-described wavelet transform for three layers.

【0012】図14において、「W」、「V」はサブバ
ンドを示し、また、添字Lは低域を表し、添字Hは高域
を表し、数字は階層を示す。例えば、添字LHは、垂直
方向に低域、水平方向に高域のサブバンドを示す。
In FIG. 14, "W" and "V" indicate subbands, the subscript L indicates a low frequency band, the subscript H indicates a high frequency band, and the numbers indicate layers. For example, the subscript LH indicates a sub band having a low band in the vertical direction and a high band in the horizontal direction.

【0013】このようにウェーブレット変換によりサブ
バンドに分割された画像信号は各サブバンド毎に与えら
れたビット数で適応量子化され、サブバンド符号化が行
なわれる。
The image signal thus divided into subbands by the wavelet transform is adaptively quantized by the number of bits given to each subband, and subband coding is performed.

【0014】[0014]

【発明が解決しようとする課題】上記従来のサブバンド
符号化においては、直交変換符号化におけるようなブロ
ック歪は生じないものの、発生符号量を一定にする(レ
ートコントロール)ことが困難であるという問題点があ
った。
In the above-mentioned conventional subband coding, although block distortion does not occur unlike in orthogonal transform coding, it is difficult to make the generated code amount constant (rate control). There was a problem.

【0015】そこで、本発明の目的は、処理が容易、か
つ、レートコントロール(符号量制御)が容易な符号化
方法及び符号化装置を提供することにある。
Therefore, an object of the present invention is to provide an encoding method and an encoding device which are easy to process and easy to perform rate control (code amount control).

【0016】[0016]

【課題を解決するための手段】上記課題を解決するた
め、請求項1記載の発明は、入力信号を帯域分割して複
数の帯域分割信号として出力する帯域分割工程と、量子
化ステップ制御信号に基づく量子化ステップで順次入力
される前記帯域分割信号を量子化して量子化信号を出力
する量子化工程と、前記量子化信号を符号化する符号化
工程と、前記帯域分割信号のうち予め設定した所定の帯
域分割信号に対応する発生符号量を検出する検出工程
と、前記検出した発生符号量に基づいて前記所定の帯域
分割信号以外の帯域分割信号の量子化ステップを制御す
るための前記量子化ステップ制御信号を出力する量子化
ステップ制御工程と、を備えて構成する。
In order to solve the above problems, the invention according to claim 1 provides a band division step of band-dividing an input signal and outputting a plurality of band-division signals, and a quantization step control signal. A quantization step of quantizing the band-divided signals sequentially input in the quantization step based on the quantization step and outputting a quantized signal; an encoding step of encoding the quantized signal; and a preset among the band-divided signals. A detecting step of detecting a generated code amount corresponding to a predetermined band-divided signal, and the quantization for controlling a quantization step of a band-divided signal other than the predetermined band-divided signal based on the detected generated code amount. And a quantization step control step of outputting a step control signal.

【0017】請求項1記載の発明によれば、帯域分割工
程は、入力信号を帯域分割して複数の帯域分割信号とし
て出力する。量子化工程は、量子化ステップ制御信号に
基づく量子化ステップで順次入力される帯域分割信号を
量子化して量子化信号を出力する。
According to the first aspect of the invention, in the band dividing step, the input signal is band-divided and output as a plurality of band-divided signals. The quantization step quantizes the band-divided signals sequentially input in the quantization step based on the quantization step control signal and outputs the quantized signal.

【0018】符号化工程は、量子化信号を符号化する。
これらと並行して検出工程は、帯域分割信号のうち予め
設定した所定の帯域分割信号に対応する発生符号量を検
出し、量子化ステップ制御工程は、検出した発生符号量
に基づいて所定の帯域分割信号以外の帯域分割信号の量
子化ステップを制御するための量子化ステップ制御信号
を出力する。
The encoding step encodes the quantized signal.
In parallel with these, the detecting step detects the generated code amount corresponding to a preset predetermined band-divided signal in the band-divided signal, and the quantization step control step, the predetermined band based on the detected generated code amount. A quantization step control signal for controlling the quantization step of the band division signal other than the division signal is output.

【0019】請求項2記載の発明は、請求項1記載の発
明において、前記入力信号は画像信号であり、前記帯域
分割工程は、複数階層の帯域分割を行ない、前記所定の
帯域分割信号は、前記複数階層に対応する複数の帯域分
割信号のうち同一階層における水平方向の高域成分及び
垂直方法の高域成分の周波数成分を有する帯域分割信号
であるように構成する。
According to a second aspect of the present invention, in the first aspect of the present invention, the input signal is an image signal, the band division step performs band division of a plurality of layers, and the predetermined band division signal is The plurality of band-divided signals corresponding to the plurality of layers are configured to be band-divided signals having frequency components of a high-frequency component in the horizontal direction and a high-frequency component of the vertical method in the same hierarchy.

【0020】請求項2記載の発明によれば、請求項1記
載の発明の作用に加えて、帯域分割工程は、複数階層の
帯域分割を行ない、所定の帯域分割信号は、複数階層に
対応する複数の帯域分割信号のうち同一階層における水
平方向の高域成分及び垂直方法の高域成分の周波数成分
を有する帯域分割信号であるので、所定の帯域分割信号
は他の帯域分割信号に対して相関性が高く、他の帯域分
割信号に対応する量子化ステップをより正確に設定でき
る。
According to the second aspect of the invention, in addition to the operation of the first aspect of the invention, the band dividing step performs band division of a plurality of layers, and the predetermined band division signal corresponds to a plurality of layers. Since it is a band-divided signal that has frequency components of a high-frequency component in the horizontal direction and a high-frequency component of the vertical method in the same layer among a plurality of band-divided signals, a predetermined band-divided signal is correlated with other band-divided signals Since it has high performance, the quantization step corresponding to other band-divided signals can be set more accurately.

【0021】請求項3記載の発明は、請求項2記載の発
明において、前記量子化ステップ制御工程は、第n階層
(n:2以上の整数)の前記所定の帯域分割信号を符号
化したときの符号量に基づいて、第(n−1)階層の帯
域分割信号の量子化ステップを設定するように構成す
る。
According to a third aspect of the present invention, in the second aspect of the invention, the quantization step control step encodes the predetermined band division signal of the nth layer (n: integer of 2 or more). The quantization step of the band-divided signal of the (n-1) th layer is set based on the code amount of.

【0022】請求項3記載の発明によれば、請求項2記
載の発明の作用に加えて、量子化ステップ制御工程は、
第n階層(n:2以上の整数)の所定の帯域分割信号を
符号化したときの符号量に基づいて、第(n−1)階層
の帯域分割信号の量子化ステップを設定するので、より
相関性の高い関係を用いて他の帯域分割信号に対応する
量子化ステップを正確に設定できる。
According to the invention of claim 3, in addition to the operation of the invention of claim 2, the quantization step control step is
Since the quantization step of the band-divided signal of the (n-1) -th layer is set based on the code amount when the predetermined band-divided signal of the n-th layer (n: an integer of 2 or more) is encoded, It is possible to accurately set the quantization step corresponding to another band-divided signal by using the relationship having high correlation.

【0023】請求項4記載の発明は、請求項3記載の発
明において、前記量子化ステップ制御工程は、前記複数
階層のうち最も高い階層における前記所定の帯域分割信
号から前記量子化ステップの設定を開始し、順次低い階
層の帯域分割信号に向かって前記量子化ステップを設定
してゆくように構成する。
According to a fourth aspect of the present invention, in the third aspect of the invention, the quantization step control step sets the quantization step from the predetermined band division signal in the highest layer of the plurality of layers. It is configured to start and set the quantization step toward the band-divided signals of lower hierarchical layers.

【0024】請求項4記載の発明によれば、請求項3記
載の発明の作用に加えて、量子化ステップ制御工程は、
複数階層のうち最も高い階層における所定の帯域分割信
号から量子化ステップの設定を開始し、順次低い階層の
帯域分割信号に向かって量子化ステップを設定してゆく
ので、最も量子化、符号化時の誤差の大きい帯域分割信
号から量子化ステップを設定でき、より容易に符号量を
一定にすることができる。
According to the invention described in claim 4, in addition to the operation of the invention described in claim 3, the quantization step control step includes:
The quantization step is set from the predetermined band-divided signal in the highest layer of the multiple layers, and the quantization step is set toward the band-divided signal in the lower layers in sequence. The quantization step can be set from the band-divided signal having a large error, and the code amount can be made constant more easily.

【0025】請求項5記載の発明は、請求項3記載の発
明において、前記量子化ステップ制御工程は、前記複数
階層のうち最も低い階層における前記所定の帯域分割信
号から前記量子化ステップの設定を開始し、順次高い階
層の帯域分割信号に向かって量子化ステップを設定して
ゆくように構成する。
According to a fifth aspect of the present invention, in the third aspect of the invention, the quantization step control step sets the quantization step from the predetermined band division signal in the lowest layer of the plurality of layers. It is configured to start and set the quantization step toward the band-divided signals of higher layers in sequence.

【0026】請求項5記載の発明によれば、請求項3記
載の発明の作用に加えて、量子化ステップ制御工程は、
複数階層のうち最も低い階層における所定の帯域分割信
号から量子化ステップの設定を開始し、順次高い階層の
帯域分割信号に向かって量子化ステップを設定してゆく
ので、より復元時の画質に影響の大きい帯域分割信号か
ら量子化ステップを設定でき、画質の劣化を低減しつつ
符号量を一定にすることができる。
According to the invention of claim 5, in addition to the operation of the invention of claim 3, the quantization step control step is
The quantization step is set from the predetermined band-divided signal in the lowest layer of the multiple layers, and the quantization step is set toward the band-divided signal in the higher layers one by one, which affects the image quality during restoration. The quantization step can be set from a band-divided signal having a large value, and the code amount can be made constant while reducing the deterioration of image quality.

【0027】請求項6記載の発明は、入力信号を帯域分
割して複数の帯域分割信号として出力する帯域分割手段
と、量子化ステップ制御信号に基づく量子化ステップで
順次入力される前記帯域分割信号を量子化して量子化信
号を出力する複数の量子化手段と、前記量子化信号を符
号化する符号化手段と、前記帯域分割信号のうち予め設
定した所定の帯域分割信号に対応する発生符号量を検出
する検出手段と、前記検出した発生符号量に基づいて前
記所定の帯域分割信号以外の帯域分割信号の量子化ステ
ップを制御するための前記量子化ステップ制御信号を出
力する量子化ステップ制御手段と、を備えて構成する。
According to a sixth aspect of the present invention, a band dividing means for band-dividing an input signal and outputting the band-divided signal as a plurality of band-divided signals, and the band-divided signal sequentially inputted in a quantization step based on a quantization step control signal. A plurality of quantizing means for quantizing and outputting a quantized signal; an encoding means for encoding the quantized signal; and a generated code amount corresponding to a preset band-divided signal of the band-divided signals. And a quantization step control means for outputting the quantization step control signal for controlling the quantization step of a band division signal other than the predetermined band division signal based on the detected generated code amount. And, and is configured.

【0028】請求項6記載の発明によれば、帯域分割手
段は、入力信号を帯域分割して複数の帯域分割信号とし
て量子化手段に出力する。各量子化手段は、量子化ステ
ップ制御信号に基づく量子化ステップで順次入力される
帯域分割信号を量子化して量子化信号を符号化手段に出
力し、符号化手段は、量子化信号を符号化する。
According to the sixth aspect of the present invention, the band division means divides the input signal into bands and outputs it to the quantization means as a plurality of band division signals. Each quantizing unit quantizes the band-divided signals sequentially input in the quantizing step based on the quantizing step control signal and outputs the quantized signal to the encoding unit, and the encoding unit encodes the quantized signal. To do.

【0029】これと並行して、検出手段は、帯域分割信
号のうち予め設定した所定の帯域分割信号に対応する発
生符号量を検出し、量子化ステップ制御手段は、検出し
た発生符号量に基づいて所定の帯域分割信号以外の帯域
分割信号の量子化ステップを制御するための量子化ステ
ップ制御信号を上記量子化手段に出力する。
In parallel with this, the detecting means detects the generated code amount corresponding to a preset predetermined band-divided signal in the band-divided signal, and the quantization step control means based on the detected generated code amount. And outputs a quantization step control signal for controlling the quantization step of the band division signal other than the predetermined band division signal to the quantization means.

【0030】請求項7記載の発明は、請求項6記載の発
明において、前記入力信号は画像信号であり、前記帯域
分割手段は、複数階層の帯域分割を行ない、前記所定の
帯域分割信号は、前記複数階層に対応する複数の帯域分
割信号のうち同一階層における水平方向の高域成分及び
垂直方法の高域成分の周波数成分を有する帯域分割信号
であるように構成する。
According to a seventh aspect of the invention, in the invention according to the sixth aspect, the input signal is an image signal, the band division means performs band division of a plurality of layers, and the predetermined band division signal is The plurality of band-divided signals corresponding to the plurality of layers are configured to be band-divided signals having frequency components of a high-frequency component in the horizontal direction and a high-frequency component of the vertical method in the same hierarchy.

【0031】請求項7記載の発明によれば、請求項6記
載の発明の作用に加えて、帯域分割手段は、複数階層の
帯域分割を行ない、所定の帯域分割信号は、複数階層に
対応する複数の帯域分割信号のうち同一階層における水
平方向の高域成分及び垂直方法の高域成分の周波数成分
を有する帯域分割信号であるので、所定の帯域分割信号
は他の帯域分割信号に対して相関性が高く、他の帯域分
割信号に対応する量子化ステップをより正確に設定でき
る。
According to the invention of claim 7, in addition to the operation of the invention of claim 6, the band dividing means performs band division of a plurality of layers, and the predetermined band division signal corresponds to a plurality of layers. Since it is a band-divided signal that has frequency components of a high-frequency component in the horizontal direction and a high-frequency component of the vertical method in the same layer among a plurality of band-divided signals, a predetermined band-divided signal is correlated with other band-divided signals Since it has high performance, the quantization step corresponding to other band-divided signals can be set more accurately.

【0032】請求項8記載の発明は、請求項7記載の発
明において、前記量子化ステップ制御手段は、第n階層
(n:2以上の整数)の前記所定の帯域分割信号を符号
化したときの符号量に基づいて、第(n−1)階層の帯
域分割信号の量子化ステップを設定するように構成す
る。
According to an eighth aspect of the invention, in the seventh aspect, the quantization step control means encodes the predetermined band division signal of the nth layer (n: integer of 2 or more). The quantization step of the band-divided signal of the (n-1) th layer is set based on the code amount of.

【0033】請求項8記載の発明によれば、請求項7記
載の発明の作用に加えて、量子化ステップ制御手段は、
第n階層(n:2以上の整数)の所定の帯域分割信号を
符号化したときの符号量に基づいて、第(n−1)階層
の帯域分割信号の量子化ステップを設定するので、より
相関性の高い関係を用いて他の帯域分割信号に対応する
量子化ステップを正確に設定できる。
According to the invention of claim 8, in addition to the operation of the invention of claim 7, the quantizing step control means comprises:
Since the quantization step of the band-divided signal of the (n-1) -th layer is set based on the code amount when the predetermined band-divided signal of the n-th layer (n: an integer of 2 or more) is encoded, It is possible to accurately set the quantization step corresponding to another band-divided signal by using the relationship having high correlation.

【0034】請求項9記載の発明は、請求項8記載の発
明において、前記量子化ステップ制御手段は、前記複数
階層のうち最も高い階層における前記所定の帯域分割信
号から前記量子化ステップの設定を開始し、順次低い階
層の帯域分割信号に向かって前記量子化ステップを設定
してゆくように構成する。
According to a ninth aspect of the present invention, in the eighth aspect, the quantization step control means sets the quantization step from the predetermined band division signal in the highest layer of the plurality of layers. It is configured to start and set the quantization step toward the band-divided signals of lower hierarchical layers.

【0035】請求項9記載の発明によれば、請求項8記
載の発明の作用に加えて、量子化ステップ制御手段は、
複数階層のうち最も高い階層における所定の帯域分割信
号から量子化ステップの設定を開始し、順次低い階層の
帯域分割信号に向かって量子化ステップを設定してゆく
ので、最も量子化、符号化時の誤差の大きい帯域分割信
号から量子化ステップを設定でき、より容易に符号量を
一定にすることができる。
According to the invention of claim 9, in addition to the operation of the invention of claim 8, the quantization step control means is:
The quantization step is set from the predetermined band-divided signal in the highest layer of the multiple layers, and the quantization step is set toward the band-divided signal in the lower layers in sequence. The quantization step can be set from the band-divided signal having a large error, and the code amount can be made constant more easily.

【0036】請求項10記載の発明は、請求項8記載の
発明において、前記量子化ステップ制御手段は、前記複
数階層のうち最も低い階層における前記所定の帯域分割
信号から前記量子化ステップの設定を開始し、順次高い
階層の帯域分割信号に向かって量子化ステップを設定し
てゆくように構成する。
According to a tenth aspect of the present invention, in the eighth aspect, the quantization step control means sets the quantization step from the predetermined band division signal in the lowest layer of the plurality of layers. It is configured to start and set the quantization step toward the band-divided signals of higher layers in sequence.

【0037】請求項10記載の発明によれば、請求項8
記載の発明の作用に加えて、量子化ステップ制御手段
は、複数階層のうち最も低い階層における所定の帯域分
割信号から量子化ステップの設定を開始し、順次高い階
層の帯域分割信号に向かって量子化ステップを設定して
ゆくので、より復元時の画質に影響の大きい帯域分割信
号から量子化ステップを設定でき、画質の劣化を低減し
つつ符号量を一定にすることができる。
According to the invention of claim 10, claim 8 is provided.
In addition to the operation of the described invention, the quantization step control means starts the setting of the quantization step from a predetermined band division signal in the lowest layer among the plurality of layers, and sequentially proceeds to the band division signal in the higher layers. Since the quantization step is set, the quantization step can be set from the band-divided signal that has a greater influence on the image quality at the time of restoration, and the code amount can be made constant while reducing the deterioration of the image quality.

【0038】[0038]

【発明の実施の形態】次に図面を参照して本発明の好適
な実施形態について説明する。サブバンド符号化では、
サブバンド分析後に各サブバンドについて量子化・可変
長符号化を行なっている。
Preferred embodiments of the present invention will now be described with reference to the drawings. In subband coding,
After subband analysis, quantization and variable length coding are performed for each subband.

【0039】このとき、量子化ステップQと発生符号量
Bとの関係は、 ln(B)∝ln(Q) (1) と表せることが経験的に知られている。
At this time, it is empirically known that the relationship between the quantization step Q and the generated code amount B can be expressed as ln (B) ∝ln (Q) (1).

【0040】この式の意味するところは、量子化ステッ
プQを粗くすると符号量Bが減少し、また量子化ステッ
プQを細かくすると符号化量が増加するということであ
る。さらに両対数グラフ上で量子化ステップQと符号量
Bは比例関係にあるということも表している。
The meaning of this equation is that if the quantization step Q is made coarse, the code amount B will decrease, and if the quantization step Q is made fine, the code amount will increase. Furthermore, it is also shown that the quantization step Q and the code amount B are in a proportional relationship on the logarithmic graph.

【0041】ここで、上記考察に基づき実験を行なった
結果について説明する。実験では対象画像として「Mobi
le & Calendar 」を用いて、図13に示したように、ウ
ェーブレット変換を3階層行なうことにより画像の空間
周波数を10個のサブバンドに分割した。
Now, the result of the experiment based on the above consideration will be described. In the experiment, the target image "Mobi
As shown in FIG. 13, the spatial frequency of the image is divided into 10 sub-bands by using "le &Calendar" as shown in FIG.

【0042】そして10個のサブバンドのウェーブレッ
ト変換係数のうち、サブバンドWHH 1 を除く、9個のサ
ブバンドに対応するウェーブレット変換係数について量
子化ステップを変化させて量子化を行ない、可変長符号
化により発生した符号量を調べた。
Of the wavelet transform coefficients of the 10 subbands, the wavelet transform coefficients corresponding to 9 subbands except the subband W HH 1 are quantized by changing the quantization step, and the variable length is changed. The amount of code generated by encoding was examined.

【0043】これにより所定の基準量子化ステップを
0.1づつ1.0〜5.9倍まで変化させた場合の結果
を図1乃至図3に示す。図1乃至図3において、縦軸は
発生符号量の対数ln(B)を表し、横軸は各サブバン
ド毎の所定の基準量子化ステップ(Qdefault )に基づ
いて正規化した量子化ステップの対数ln(Qsubband
)を表す。
As a result, the results when the predetermined reference quantization step is changed by 0.1 to 1.0 to 5.9 times are shown in FIGS. 1 to 3, the vertical axis represents the logarithm ln (B) of the generated code amount, and the horizontal axis represents the logarithm of the quantization step normalized based on a predetermined reference quantization step (Qdefault) for each subband. ln (Qsubband
) Represents.

【0044】例えば、図1においてサブバンドV3 のQu
antizer Scale の値がQならばサブバンドV3 の量子化
ステップQV3は、
For example, in FIG. 1, Qu of subband V 3
If the value of antizer Scale is Q, the quantization step Q V3 of subband V 3 is

【0045】[0045]

【数1】 である。上記実験結果から、以下のことがわかる。[Equation 1] It is. The following can be seen from the above experimental results.

【0046】a) サブバンドWHHj のグラフの傾きと
サブバンドWLHj のグラフの傾きは良く似ている。但
し、添字jは階層を表す(以下、同様)。 b) サブバンドV3 、サブバンドWLH3 、サブバンド
HL3 、WHL2 のグラフの傾きは量子化ステップQによ
らずほぼ一定である。
[0046] a) the slope of the graph of the sub-band W slope and sub-band W LHj of the graph of HHj are very similar. However, the subscript j represents a layer (hereinafter the same). b) The slopes of the graphs of the subband V 3 , the subband W LH3 , the subbands W HL3 , and W HL2 are almost constant regardless of the quantization step Q.

【0047】c)同一の階層j、正規化された量子化ス
テップQにおいてサブバンドWHLjの符号量は他のサブ
バンドの符号量に比べて一般に多い。これらから、サブ
バンドによらず量子化ステップQと符号量Bには負の相
関があることがわかった。
C) In the same layer j and normalized quantization step Q, the code amount of subband W HLj is generally larger than the code amounts of other subbands. From these, it was found that the quantization step Q and the code amount B have a negative correlation regardless of the subband.

【0048】そこで、直線の傾きを表す係数a及び直線
の切片を表す係数bを用いて(1)式を直線で近似する
ことを考える。より具体的には、 ln(B)=−a×ln(Q)+b …(4) あるいは、 B=(eb /Qa ) …(5) により近似する。
Therefore, it is considered that the equation (1) is approximated by a straight line using a coefficient a representing the inclination of the straight line and a coefficient b representing the intercept of the straight line. More specifically, it is approximated by ln (B) = − a × ln (Q) + b (4) or B = (e b / Q a ) (5).

【0049】正規化された量子化ステップQの1.0か
ら5.9までを適用範囲として(4)式を線形回帰モデ
ルと見做し、線形回帰分析法を用いて各サブバンド毎に
係数a及び係数bを求めた。
The equation (4) is regarded as a linear regression model with 1.0 to 5.9 of the normalized quantization step Q as the applicable range, and the coefficient is calculated for each sub-band by using the linear regression analysis method. a and the coefficient b were obtained.

【0050】求めた係数a及び係数b並びにランレング
ス符号化における符号量についての回帰標準誤差Ve
図4に示す。図4に示すように階層jに属するサブバン
ドWLHj 、サブバンドWHLj 、サブバンドWHHj を回帰
標準誤差Ve が小さい順番で並べると、 WHLj <WLHj <WHHj …(6) となる。
FIG. 4 shows the regression standard error V e with respect to the obtained coefficients a and b and the code amount in the run length coding. Subband W LHj belonging to the hierarchy j as shown in FIG. 4, sub-band W HLJ, Arranging the order subbands W HHj regression standard error V e is small, W HLj <W LHj <W HHj ... (6) Become.

【0051】サブバンドWHLj の回帰標準誤差Ve が小
さいのは、サブバンドWHLj の分散が大きく、量子化ス
テップQが粗くなっても零ではない値を有するウェーブ
レット変換係数が多く、ランレングス符号化の効率があ
まり向上していないことを示している。
[0051] The sub-band W HLJ regression standard error V e is small, larger variance of sub-band W HLJ is, many wavelet transform coefficients having a value that is not zero even if coarse quantization step Q, runlength It shows that the coding efficiency is not so much improved.

【0052】一方、サブバンドWLHj 及びサブバンドW
HHj の回帰標準誤差Ve が大きいのは、サブバンドW
LHj 及びサブバンドWHHj の分散が小さく、量子化ステ
ップQが粗くなった場合には零の値を有するウェーブレ
ット変換係数が多く、ランレングス符号化の効率が向上
したことを示している。
On the other hand, subband W LHj and subband W
The large regression standard error V e of HHj, the sub-band W
When the variance of LHj and the subband WHHj is small and the quantization step Q becomes coarse, there are many wavelet transform coefficients having a value of zero, which shows that the efficiency of run-length coding is improved.

【0053】そこで、今度は逆に目的とする符号量Bか
ら量子化ステップQを求めることを考える。まず、
(5)式を以下のように変形する。
Therefore, this time, conversely, let us consider obtaining the quantization step Q from the target code amount B. First,
Equation (5) is modified as follows.

【0054】 B=eb /Qa …(7)B = e b / Q a (7)

【0055】[0055]

【数2】 ここでa=1/a、b=1/bと変数変換すれば、 Q=eb /Ba …(9) となる。[Equation 2] If the variables are converted into a = 1 / a and b = 1 / b, then Q = e b / B a (9)

【0056】従って、係数aと係数Bを各サブバンドに
ついて決定できれば、目標とする符号量Bを与えること
で量子化ステップQが求まり、レートコントロールを実
現できることとなる。但し、ここで求めた各サブバンド
毎の係数aと係数bは当該対応する画像のみに通用する
値である。
Therefore, if the coefficient a and the coefficient B can be determined for each subband, the quantization step Q can be obtained by giving the target code amount B, and the rate control can be realized. However, the coefficient a and the coefficient b for each sub-band obtained here are values that are valid only for the corresponding image.

【0057】次に係数a及び係数bの決定方法について
述べる。様々な50種類の画像について、回帰分析によ
り係数a及び係数bを求め、係数aと係数bとの間の相
関を調べた結果を図5に示す。
Next, a method of determining the coefficient a and the coefficient b will be described. FIG. 5 shows the results of investigating the coefficient a and the coefficient b by regression analysis for various 50 types of images and examining the correlation between the coefficient a and the coefficient b.

【0058】この結果によれば、画像の種類に拘らず、
係数aと係数bとの相関が高いのがわかる。すなわち、
符号量Bと量子化ステップQの関係を表わす直線の傾き
と切片は独立ではなく、 −a∝b …(10) であるので、係数a又は係数bのどちらか一方だけでも
知ることができれば目的とする符号量Bから量子化ステ
ップQを求めることができる。
According to this result, regardless of the type of image,
It can be seen that the correlation between the coefficient a and the coefficient b is high. That is,
The slope and intercept of the straight line representing the relationship between the code amount B and the quantization step Q are not independent but −a∝b ... (10), so if only one of the coefficient a and the coefficient b can be known, the purpose is The quantization step Q can be obtained from the code amount B.

【0059】ところで1パスのレートコントロールを行
う場合において、先見情報がないものと仮定すると、効
率的、かつ、精度良く係数a又は係数bを求めるため
に、以下に示すように前半と後半とに分けて2段階の処
理を行うことが考えられる。
By the way, in the case of performing rate control of one pass, assuming that there is no foreseeing information, in order to efficiently and accurately obtain the coefficient a or the coefficient b, the first half and the second half are as follows. It is conceivable to perform the processing in two stages separately.

【0060】1) 前半に処理を行う所定のサブバンド
は量子化ステップQを固定とし、可変長符号化を行う。 2) 後半に処理を行う他のサブバンドは、量子化ステ
ップQを可変とし、所定のパラメータに基づいて量子化
ステップQを設定し、可変長符号化を行なう。
1) The quantization step Q is fixed for a predetermined subband to be processed in the first half, and variable length coding is performed. 2) In the other subbands to be processed in the latter half, the quantization step Q is variable, the quantization step Q is set based on a predetermined parameter, and variable length coding is performed.

【0061】この場合において、1パスのレートコント
ロールを考慮し、前述の所定のパラメータとして前半の
サブバンドの処理における可変長符号化後の符号量を用
いることとする。
In this case, considering the one-pass rate control, the code amount after variable length coding in the processing of the first half subband is used as the above-mentioned predetermined parameter.

【0062】ところで、前半のサブバンドの処理におい
ては、量子化ステップQが固定であるため、場合によっ
ては、この前半の処理だけでレートオーバー(所定のレ
ート[符号量]よりもレート[符号量]が大)となる可
能性がある。
By the way, since the quantization step Q is fixed in the processing of the first half subband, in some cases, the rate over (the rate [code amount] rather than the predetermined rate [code amount] is exceeded by only the first half process. ] Is large).

【0063】これを避けるべく、前半のサブバンドの処
理における所定のサブバンドは以下の2つの条件を満た
している必要がある。 条件1) 量子化ステップQが粗くても画質劣化がさほ
ど目立たないサブバンドであること。すなわち、固定量
子化ステップであるためできる限り符号化量を低減する
ためである。
In order to avoid this, the predetermined subband in the processing of the first half subband needs to satisfy the following two conditions. Condition 1) Even if the quantization step Q is rough, the sub-band is such that image quality deterioration is not so noticeable. That is, since the fixed quantization step is used, the coding amount is reduced as much as possible.

【0064】条件2) 検出した符号量を他のサブバン
ドの発生符号量の制御に利用できること。つまり、他の
サブバンドの発生符号量と相関があること。同様に、後
半のサブバンドの処理における所定のサブバンドは以下
の条件を満たしているのが望ましい。
Condition 2) The detected code amount can be used for controlling the generated code amount of other subbands. In other words, it must be correlated with the amount of generated code in other subbands. Similarly, it is desirable that the predetermined subband in the processing of the latter subband satisfy the following condition.

【0065】条件) 前半のサブバンドの処理で得られ
た所定のサブバンドの符号量を用いて精度よくレートコ
ントロールを実現できること。以上の各条件を満たすべ
く、同一の階層jにおいてサブバンド毎の分散σを調べ
ると、 σWHLj >σWLHj >σWHHj である。
Condition) It is possible to realize rate control with high accuracy by using the code amount of a predetermined subband obtained in the processing of the first half subband. When the variance σ for each subband is examined in the same layer j to satisfy the above conditions, σW HLj > σW LHj > σW HHj .

【0066】従って、サブバンドWHHj は符号量が少な
いことが期待できる。また周波数領域上において、サブ
バンドWHHの周波数成分はサブバンドWLHの周波数成分
及びサブバンドWHLの周波数成分と隣接しており、ウェ
ーブレット変換では、フィルタバンクにより帯域分割を
行なうので隣り合っているサブバンド同士の周波数成分
の間には僅かながら相関がある。
Therefore, it can be expected that the subband W HHj has a small code amount. Further, in the frequency domain, the frequency component of the subband W HH is adjacent to the frequency component of the subband W LH and the frequency component of the subband W HL , and in the wavelet transform, band division is performed by the filter bank, so that they are adjacent to each other. There is a slight correlation between the frequency components of the existing subbands.

【0067】従って、サブバンドWHHの符号量がサブバ
ンドWLH及びサブバンドWHLのレートコントロールに利
用できることが期待できる。これらの観点から、サブバ
ンドWHHの発生符号量とサブバンドWLH、サブバンドW
HLの係数a及び係数bとの相関を調べた結果を図6乃至
図8に示す。なお、図6乃至図8において相関が0.4
以下のものについては表示していない。
Therefore, it can be expected that the code amount of the subband W HH can be used for rate control of the subband W LH and the subband W HL . From these viewpoints, the generated code amount of the subband W HH , the subband W LH , and the subband W
The results of examining the correlation between the HL coefficient a and the coefficient b are shown in FIGS. 6 to 8. Note that the correlation is 0.4 in FIGS.
The following items are not shown.

【0068】この場合においては、2つのサブバンドW
LHとサブバンドWHLを別個に符号化するのではなく、2
つのサブバンドWLHとサブバンドWHLをまとめて量子化
し、可変長符号化して発生した符号量の和に対して係数
aと係数bを求めている。このように2つのサブバンド
LHとサブバンドWHLをまとめて取扱うことにより、レ
ートコントロールのパラメータを減らし、また、画質の
極端な劣化を避けることができる。
In this case, two subbands W
2 instead of encoding LH and subband W HL separately
The subband W LH and the subband W HL are collectively quantized, and the coefficient a and the coefficient b are obtained for the sum of the code amounts generated by the variable length coding. By thus handling the two subbands W LH and W HL together, it is possible to reduce the rate control parameters and avoid extreme deterioration in image quality.

【0069】上記の結果より、階層数をjとし、階層j
における2つのサブバンドWLHj 及びサブバンドWHLj
における係数aをaj 、係数bをbj とすれば、 1) 係数aj とサブバンドWHHj の符号量との間の相
関よりも係数bj とサブバンドWHHj の符号量との間の
相関のほうが高い。
From the above result, it is assumed that the number of layers is j, and the layer j
Two subbands W LHj and subband W HLj in
The coefficient a a j, if the coefficient b and b j in, 1) between the coefficient b j and the code amount of the sub-band W HHj than the correlation between the coefficient a j and code quantity of the sub-band W HHj Has a higher correlation.

【0070】2) サブバンドWHLj とサブバンドW
LHj についての係数bj と相関が高いのはサブバンドW
HHj の符号量よりもサブバンドWHH(j+1) の符号量であ
る。すなわち、サブバンドWHH(j+1) の符号量bitw
HH(j+1) とサブバンドWHLj 及びサブバンドWLHj につ
いての係数bj の間には、 bj ∝bitwHH(j+1) …(11) の関係がある。ということが理解できる。
2) Subband W HLj and subband W
The subband W is highly correlated with the coefficient b j for LHj.
It is the code amount of the subband WHH (j + 1) rather than the code amount of HHj . That is, the code amount bitw of the subband W HH (j + 1)
There is a relationship of b j ∝bitw HH (j + 1) ... (11) between HH (j + 1) and the coefficient b j for the sub-band W HLj and the sub-band W LHj . I can understand that.

【0071】上述した各結果から得られる階層j のサブ
バンドWLHj 及びサブバンドWHLjの符号発生量のコン
トロール(レートコントロール)の手順を以下に示す。 手順1) 始めにサブバンドWHH(j+1) を固定の量子化
ステップQCONST で量子化し、可変長符号化して符号量
bitwHH(j+1) を求める。
A procedure for controlling the code generation amount (rate control) of the subband W LHj and the subband W HLj of the layer j obtained from the above results will be described below. Procedure 1) First, the subband W HH (j + 1) is quantized by a fixed quantization step Q CONST , and variable length coding is performed to obtain a code amount bitwHH (j + 1) .

【0072】手順2) (11)式より符号量bitw
HH(j+1) から係数bj を求め、(10)式より係数bj
から係数aj を求める。 手順3) (9)式よりサブバンドWLHj 及びサブバン
ドWHLj の符号発生量が所望の値bitwLHj ・wHLj
となるように正規化された量子化ステップQを求める。
Procedure 2) From the equation (11), the code amount bitw
HH (j + 1) determine the coefficients b j from (10) coefficient from Equation b j
The coefficient a j is calculated from Step 3) The code generation amount of the subband W LHj and the subband W HLj is a desired value bitw LHj · w HLj from the equation (9).
The quantization step Q normalized so that

【0073】手順4) (2)式によりサブバンドW
LHj 及びサブバンドWHLj に対応する量子化ステップQ
LHj 及び量子化ステップQwHLj を求める。 手順5) 量子化ステップQwLHj 及び量子化ステップ
QwHLj を用いてサブバンドWLHj 及びサブバンドW
HLj を量子化し、可変長符号化する。
Procedure 4) Subband W according to equation (2)
Quantization step Q corresponding to LHj and subband WHLj
Find w LHj and quantization step Qw HLj . Procedure 5) Subband W LHj and subband W using quantization step Qw LHj and quantization step Qw HLj
HLj is quantized and variable-length coded.

【0074】この場合において、例えば3階層のウェー
ブレット変換においてはサブバンドWHH4 が存在しない
ので、階層j=3の場合には、サブバンドWHH4 に代え
てサブバンドV3 を用いるものとする。
In this case, for example, in the wavelet transform of three layers, there is no subband W HH4. Therefore, when the layer j = 3, the subband V 3 is used instead of the subband W HH4 .

【0075】このように上記の手順で処理を行なうこと
により各階層jについて目的とする符号量bitwLHj
・wHLjを得ることができるとともに、容易にレートコ
ントロールを実現することができる。
By performing the processing in the above-described manner in this way, the target code amount bitw LHj for each layer j
・ While w HL j can be obtained, rate control can be easily realized.

【0076】これらの結果、本実施の形態によれば、画
像信号の種類に拘らず、発生する符号量をほぼ一定に保
つことができる。
As a result, according to the present embodiment, the generated code amount can be kept substantially constant regardless of the type of image signal.

【0077】[0077]

【実施例】次に本発明の好適な実施例を図9乃至図11
を参照して説明する。第1実施例 図9にサブバンド符号化装置のブロック図を示す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, preferred embodiments of the present invention will be described with reference to FIGS.
This will be described with reference to FIG. First Embodiment FIG. 9 shows a block diagram of a subband coding device.

【0078】なお、以下の説明においては、説明の簡略
化のため、3階層のウェーブレット変換を行なった場合
の各サブバンドを図14の[ ]内の番号で特定するも
のとする。例えば、サブバンドWLH1 をサブバンド
[7]、サブバンドWHL2 をサブバンド[5]、サブバ
ンドV3 をサブバンド[0]のように呼ぶものとする。
In the following description, for simplification of the description, each subband when the wavelet transform of three layers is performed is specified by the number in [] of FIG. For example, subband W LH1 is called subband [7], subband W HL2 is called subband [5], and subband V 3 is called subband [0].

【0079】これに伴い、例えば、係数a12及び係数b
12は、サブバンド[1]及びサブバンド[2]をまとめ
てレートコントロールする場合の係数a及び係数bを表
すものとする。また、サブバンド[9]については、本
実施例では符号化の対象外とする。
Along with this, for example, coefficient a 12 and coefficient b
Reference numeral 12 represents the coefficient a and the coefficient b in the case of collectively rate controlling the subband [1] and the subband [2]. In addition, the subband [9] is not the target of encoding in this embodiment.

【0080】図9に示すように、サブバンド符号化装置
10は、入力画像信号GINをフィールド単位又はフレー
ム単位でウエーブレット変換して各サブバンドに分割
し、当該各サブバンド毎にブロック化して複数のサブバ
ンド信号SSB(n)(n:0〜8。以下、同様)として
出力する帯域分割部11と、帯域分割部11により分割
されたサブバンド毎にサブバンド信号SSB(n)の量子
化を行い、量子化出力信号SSQ(n)として出力する9
個の量子化器Q0 乃至Q8 と、量子化器Q0 乃至Q8
より入力された各量子化出力信号SSQ(n)を符号化し
て符号化信号SCとして出力するとともに、各サブバン
ド毎の発生符号量を示す符号化量検出信号Sbit (n)
を後述のステップ数制御部12に出力する符号化部13
と、符号化量検出信号Sbit (n)に基づき、各量子化
器Q0 乃至Q8 における量子化ステップを制御するため
の量子化ステップ制御信号SQC(n)を出力するステッ
プ数制御部12により構成されている。
As shown in FIG. 9, the sub-band coding apparatus 10 performs wavelet conversion on the input image signal G IN in field units or frame units to divide it into sub-bands, and blocks each sub-band. Output as a plurality of sub-band signals S SB (n) (n: 0 to 8, hereinafter the same), and a sub-band signal S SB (n for each sub-band divided by the band dividing unit 11. ) Is quantized and output as a quantized output signal S SQ (n) 9
The number of quantizers Q 0 to Q 8 and the quantized output signals S SQ (n) input by the quantizers Q 0 to Q 8 are coded and output as coded signals S C. Coded amount detection signal S bit (n) indicating the generated code amount for each band
Is output to the step number control unit 12 described later.
And a step number controller for outputting a quantization step control signal S QC (n) for controlling the quantization step in each of the quantizers Q 0 to Q 8 based on the encoding amount detection signal S bit (n) It is composed of 12.

【0081】上記の構成において、量子化器Q0 、Q3
及びQ6 における量子化ステップは固定とされ、量子化
器Q1 及びQ2 における量子化ステップは、量子化ステ
ップ制御信号SQC(1、2)で共通的に制御される。ま
た、量子化器Q4 及びQ5 における量子化ステップは、
量子化ステップ制御信号SQC(4、5)で共通的に制御
され、更に、量子化器Q7 及びQ8 における量子化ステ
ップは、量子化ステップ制御信号SQC(7、8)で共通
的に制御される。
In the above configuration, quantizers Q 0 , Q 3
, And the quantization step in Q 6 is fixed, and the quantization steps in the quantizers Q 1 and Q 2 are commonly controlled by the quantization step control signal S QC (1, 2). Also, the quantization steps in the quantizers Q 4 and Q 5 are
The quantization step control signals S QC (4, 5) are commonly controlled, and the quantization steps in the quantizers Q 7 and Q 8 are commonly controlled by the quantization step control signals S QC (7, 8). Controlled by.

【0082】次に第1実施例の処理フローチャートを図
10に示す。まず、サブバンド[0]、サブバンド
[3]及びサブバンド[6]を固定量子化ステップで量
子化し、可変長符号化を行なう(ステップS1)。
Next, a processing flowchart of the first embodiment is shown in FIG. First, subband [0], subband [3], and subband [6] are quantized by a fixed quantization step, and variable length coding is performed (step S1).

【0083】より具体的には、帯域分割部11に入力画
像信号GINが入力されると、帯域分割部11は、フィー
ルド単位またはフレーム単位でウェーブレット変換して
各サブバンド[0]〜[8]に分割し、複数のサブバン
ド信号SSB(n)として対応する量子化器Q0 乃至Q8
に出力する。このうち、サブバンド信号SSB(0)、S
SB(3)及びSSB(6)は、各々規定されている固定量
子化ステップにより量子化され、量子化出力信号S
SQ(0)、SSQ(3)及びSSQ(6)として符号化部1
3に出力される。そして、符号化部13は入力された量
子化出力信号SSQ(0)、SSQ(3)及びSSQ(6)を
符号化するとともに、各量子化出力信号の符号化の結果
生じた発生符号量を符号化量検出信号Sbit (0)、S
bit (3)及びSbit (6)としてステップ数制御部1
2へ出力する。
More specifically, when the input image signal G IN is input to the band division unit 11, the band division unit 11 performs wavelet transform on a field unit basis or a frame unit basis and subbands [0] to [8]. ] And corresponding quantizers Q 0 to Q 8 as a plurality of subband signals S SB (n)
Output to Of these, the subband signals S SB (0), S
SB (3) and S SB (6) are quantized by fixed quantization steps defined respectively, and quantized output signal S
Encoding unit 1 as SQ (0), S SQ (3) and S SQ (6)
3 is output. Then, the encoding unit 13 encodes the input quantized output signals S SQ (0), S SQ (3), and S SQ (6), and generates the result of encoding each quantized output signal. The code amount is the code amount detection signal S bit (0), S
Step number control unit 1 as bit (3) and S bit (6)
Output to 2.

【0084】次にサブバンド[0]、サブバンド[3]
及びサブバンド[6]のの符号化の結果生じた発生符号
量に対応する符号化量検出信号Sbit (0)、S
bit (3)及びSbit (6)に基づいて、ステップ数制
御部12は係数a12及び係数b12、係数a45及び係数b
45、係数a78及び係数b78を算出する(ステップS
2)。ここで、係数と発生符号量の関には前述の関係が
あるので、符号化量検出信号Sbi t (0)からサブバン
ド[1]及び[2]の、符号化量検出信号Sbit (3)
からサブバンド[4]及び[5]の、符号化量検出信号
bit (6)からサブバンド[7]及び[8]の係数
a、bすなわち、発生符号量が予測できるのである。
Next, subband [0] and subband [3]
And the coding amount detection signals S bit (0), S corresponding to the generated code amount generated as a result of the coding of the subband [6]
Based on bit (3) and S bit (6), the step number control unit 12 causes the coefficient a 12 and the coefficient b 12 , the coefficient a 45, and the coefficient b.
45 , coefficient a 78 and coefficient b 78 are calculated (step S
2). Here, since the function of the coefficients and the generated code amount is the aforementioned relationship, the encoding amount detection signal S bi t (0) subband [1] and [2], encoded amount detection signal S bit ( 3)
To the subbands [4] and [5], the coefficients a and b of the subbands [7] and [8], that is, the generated code amount can be predicted from the coding amount detection signal S bit (6).

【0085】この場合において、各係数aおよびbの算
出は全く異なる複数の画像(入力画像信号GIN)を用い
て予め回帰分析を行なうことにより求めた実験式に基づ
いて算出している。
In this case, the coefficients a and b are calculated based on an empirical formula obtained by performing regression analysis beforehand using a plurality of completely different images (input image signal G IN ).

【0086】つづいて、粗さ変数SCALE を算出し、符号
量の割当を行なう(ステップS3)。ここで、予め設定
された全符号量からステップS1における各サブバンド
の発生符号量を減算したものに、残りのサブバンド
([1]及び[2]、[4]及び[5]又は[7]及び
[8])の符号量を割り当てる。
Subsequently, the roughness variable SCALE is calculated and the code amount is assigned (step S3). Here, the remaining subbands ([1] and [2], [4] and [5] or [7] are obtained by subtracting the generated code amount of each subband in step S1 from the preset total code amount. ] And [8]) are assigned.

【0087】より具体的には、サブバンド[1]及び
[2]、[4]及び[5]並びに[7]及び[8]につ
いて予め設定した量子化ステップQn default について
粗さ変数SCALE 倍に粗く設定し、設定された量子化ステ
ップを用いて各サブバンド[1]及び[2]、[4]及
び[5]又は[7]及び[8]について符号量を試算
し、全符号量が予め設定した符号量以内に納るまで、粗
さ変数SCALE を変化させ(粗くさせ)、量子化ステップ
を粗くしながら反復計算を行ない、計算結果からサブバ
ンド[1]及び[2]、[4]及び[5]、[7]及び
[8]の量子化ステップを決める。
More specifically, the coarseness variable SCALE times for the quantization steps Q n default preset for the subbands [1] and [2], [4] and [5] and [7] and [8]. Roughly, and using the set quantization step, the code amount is trial-calculated for each subband [1] and [2], [4] and [5] or [7] and [8], and the total code amount is calculated. Until the value is within the preset code amount, the roughness variable SCALE is changed (roughened), and the iterative calculation is performed while roughening the quantization step. From the calculation results, the subbands [1] and [2], [ 4] and [5], [7] and [8] are determined.

【0088】次に、ステップS3の結果をもとにステッ
プ数制御部12からサブバンド[7]及びサブバンド
[8]についての量子化ステップ制御信号SQC(7、
8)が対応する量子化器Q7 及びQ8 に出力され、量子
化を行い、さらに符号化部13により可変長符号化を行
う(ステップS4)。
Next, based on the result of step S3, the quantization step control signal S QC (7, 7) for the subband [7] and the subband [8] is output from the step number controller 12
8) is output to the corresponding quantizers Q 7 and Q 8 for quantization, and the coding unit 13 performs variable length coding (step S4).

【0089】次に、サブバンド[0]、[3]、
[6]、[7]及び[8]の発生符号量に基づいて再度
サブバンド[1]、[2]、[4]及び[5]の量子化
ステップを求め、同様にして、サブバンド[4]及び
[5]の量子化、可変長符号化を行なう(ステップS
5)。そして、サブバンド[0]、[3]、[6]、
[7]及び[8]、[4]及び[5]の発生符号量に基
づいて、再度サブバンド[1]及び[2]の量子化ステ
ップを求め、サブバンド[1]及び[2]の量子化、可
変長符号化(ステップS6)が行なわれて処理が終了す
る。ここで、ステップS5及びS6において再度量子化
ステップを求めるのは、実際に設定した量子化ステップ
に基づく発生符号量と先に予想した(ステップS3及び
S5)発生符号量との誤差を吸収するためである。
Next, subbands [0], [3],
Based on the generated code amounts of [6], [7] and [8], the quantization steps of subbands [1], [2], [4] and [5] are obtained again, and similarly, 4] and [5] are quantized and variable length coding is performed (step S
5). Then, the subbands [0], [3], [6],
Based on the generated code amounts of [7] and [8], [4] and [5], the quantization steps of subbands [1] and [2] are obtained again, and the subbands [1] and [2] are quantized. Quantization and variable length coding (step S6) are performed, and the process ends. Here, the reason why the quantization step is calculated again in steps S5 and S6 is to absorb the error between the generated code amount based on the actually set quantization step and the previously predicted generated code amount (steps S3 and S5). Is.

【0090】この結果、本第1実施例によれば画像信号
の種類に拘らず、得られた符号化信号SC の符号量をほ
ぼ一定に保つことができる。第2実施例 以上の第1実施例においては、レートコントロールを高
域側(サブバンド[7]、[8]側)から行なっていた
が、本第2実施例はレートコントロールを低域側(サブ
バンド[1]、[2]側)から行なうものである。
As a result, according to the first embodiment, the code amount of the obtained encoded signal S C can be kept substantially constant regardless of the type of image signal. Second Embodiment In the above first embodiment, the rate control is performed from the high frequency side (subbands [7] and [8] side), but in the second embodiment, the rate control is performed from the low frequency side ( Subband [1], [2] side).

【0091】次に第2実施例の処理フローチャートを図
11に示す。まず、第1実施例のステップS1と同様に
サブバンド[0]、[3]及び[6]の量子化及び可変
長符号化を行なう(ステップS11)。
Next, FIG. 11 shows a processing flowchart of the second embodiment. First, similarly to step S1 of the first embodiment, subbands [0], [3] and [6] are quantized and variable length coded (step S11).

【0092】そして、サブバンド[0]、[3]及び
[6]の発生符号量に対応する符号化量検出信号Sbit
(0)、Sbit (3)及びSbit (6)をステップ数制
御部12に出力する。
Then, the coded amount detection signal S bit corresponding to the generated code amount of the subbands [0], [3] and [6]
(0), S bit (3) and S bit (6) are output to the step number control unit 12.

【0093】次に第1実施例のステップS2と同様に、
ステップ制御部12は、入力された符号化量検出信号S
bit (0)、Sbit (3)及びSbit (6)に基づいて
係数a12及び係数b12、係数a45及び係数b45、係数a
78及び係数b78をそれぞれ算出する(ステップS1
2)。
Then, similarly to step S2 of the first embodiment,
The step control unit 12 receives the input encoding amount detection signal S
Coefficient a 12 and coefficient b 12 , coefficient a 45 and coefficient b 45 , coefficient a based on bit (0), S bit (3) and S bit (6)
78 and the coefficient b 78 are calculated (step S1)
2).

【0094】つづいて、許容される全符号量から符号化
量検出信号Sbit (0)、Sbit (3)及びS
bit (6)に対応する発生符号量を減じたものを他のサ
ブバンドへの割当符号量として第1実施例のステップS
3と同様に粗さ変数SCALE を変化させ、サブバンド
[1]及び[2]、[4]及び[5]、[7]及び
[8]の量子化ステップの選定を行う。
Subsequently, the coding amount detection signals S bit (0), S bit (3) and S are calculated from the total allowable code amount.
The amount obtained by subtracting the generated code amount corresponding to bit (6) is used as the assigned code amount to other subbands in step S of the first embodiment.
The roughness variable SCALE is changed in the same manner as in 3, and the quantization steps of the subbands [1] and [2], [4] and [5], [7] and [8] are selected.

【0095】ステップS13の結果に基づいて、サブバ
ンド[1]及び[2]を選定された量子化ステップによ
り量子化を行い、符号化部13により可変長符号化が行
なわれる(ステップS14)。次に、ステップS11及
びS14の結果に基づいて、ステップS13と同様にサ
ブバンド[4]、[5]、[7]及び[8]の量子化ス
テップを再計算する。この時の割り当て符号量は、許容
される全発生符号量からサブバンド[0]、[3]、
[6]、[1]及び[2]の発生符号量を差し引いたも
のとなる。こうして再計算された量子化ステップによ
り、サブバンド[4]及び[5]の量子化、可変長符号
化を行う。(ステップS15)。次に、ステップS1
1、S14及びS15の結果に基づいてサブバンド
[7]及び[8]の量子化ステップを再計算し、サブバ
ンド[7]及び[8]の量子化、可変長符号化を行う
(ステップS16)。
Based on the result of step S13, subbands [1] and [2] are quantized by the selected quantization step, and the coding unit 13 performs variable length coding (step S14). Next, based on the results of steps S11 and S14, the quantization steps of subbands [4], [5], [7], and [8] are recalculated as in step S13. The allocated code amount at this time is calculated from the allowable total generated code amount to subbands [0], [3],
The generated code amount of [6], [1] and [2] is subtracted. By the quantization step recalculated in this way, the subbands [4] and [5] are quantized and variable length coding is performed. (Step S15). Next, step S1
1, the quantization step of subbands [7] and [8] is recalculated based on the results of S14 and S15, and the quantization and variable length coding of subbands [7] and [8] are performed (step S16). ).

【0096】次に実際に得られた全符号量が予め設定し
た符号量以内に収まったか否か、すなわち、レートオー
バーとなったか否かを判別する(ステップS17)。こ
の場合において、レートオーバーとなったか否かを判別
するのは、第1実施例の場合と比較して、サブバンド
[7]及び[8]のレートコントロールの予測誤差符号
量がサブバンド[1]及び[2]のレートコントロール
の誤差と比較して大きいため、レートオーバーになる確
率が高いためである。
Next, it is determined whether or not the total code amount actually obtained is within the preset code amount, that is, whether or not the rate is over (step S17). In this case, it is determined whether or not the rate is over, as compared with the case of the first embodiment, when the prediction error code amount of the rate control of the subbands [7] and [8] is the subband [1. ] And [2] are larger than the error of the rate control, and the probability of rate over is high.

【0097】そこで、レートオーバーになった場合に
は、サブバンド[7]に対応するサブバンド量子化信号
SQ(7)を符号化には用いないようにする(ステップ
S18)。
Therefore, when the rate is over, the subband quantized signal S SQ (7) corresponding to the subband [7] is not used for encoding (step S18).

【0098】この結果、本第2実施例によれば画像信号
の種類に拘らず、得られた符号化信号SC の符号量をほ
ぼ一定に保つことができる。ここで、ステップS18に
おいて、符号化に用いないサブバンドをサブバンド
[7]としているが、これに限らず、サブバンド[7]
及び[8]を符号化に用いないサブバンドとしてもよ
い。
As a result, according to the second embodiment, the code amount of the obtained encoded signal S C can be kept substantially constant regardless of the type of image signal. Here, in step S18, the subband that is not used for encoding is the subband [7], but the subband [7] is not limited to this.
And [8] may be subbands not used for encoding.

【0099】さらに第1実施例の場合と比較して、画質
により影響の大きい低域側のサブバンド(サブバンド
[1]、サブバンド[2])に対して優先的に符号量を
割り当てることとなるため、復元時の画像はより高品位
なものとなる。
Further, as compared with the case of the first embodiment, the code amount is preferentially assigned to the sub-bands on the low frequency side (sub-band [1], sub-band [2]) which have a great influence on the image quality. Therefore, the image at the time of restoration is of higher quality.

【0100】[0100]

【発明の効果】以上説明したように、請求項1記載の発
明によれば、量子化工程は、量子化ステップ制御信号に
基づく量子化ステップで順次入力される帯域分割信号を
量子化して量子化信号を出力し、符号化工程は、量子化
信号を符号化し、これらと並行して検出工程は、帯域分
割信号のうち予め設定した所定の帯域分割信号に対応す
る発生符号量を検出し、量子化ステップ制御工程は、検
出した符号量に基づいて所定の帯域分割信号以外の帯域
分割信号の量子化ステップを制御するための量子化ステ
ップ制御信号を出力するので、レートコントロール(符
号量制御)が容易に行なえる。さらに1パスで処理が行
なえ、ハードウェアによる実現が容易である。
As described above, according to the first aspect of the present invention, the quantizing step quantizes the band division signals sequentially input in the quantizing step based on the quantizing step control signal. The signal is output, the encoding step encodes the quantized signal, and in parallel with these, the detection step detects the generated code amount corresponding to a preset predetermined band division signal of the band division signal, Since the quantization step control process outputs a quantization step control signal for controlling the quantization step of a band-divided signal other than the predetermined band-divided signal based on the detected code amount, rate control (code amount control) is performed. Easy to do. Furthermore, processing can be performed in one pass, and it is easy to implement by hardware.

【0101】請求項2記載の発明によれば、請求項1記
載の発明の効果に加えて、帯域分割工程は、複数階層の
帯域分割を行ない、所定の帯域分割信号は、複数階層に
対応する複数の帯域分割信号のうち同一階層における水
平方向の高域成分及び垂直方法の高域成分の周波数成分
を有する帯域分割信号であるので、所定の帯域分割信号
は他の帯域分割信号に対して相関性が高く、他の帯域分
割信号に対応する量子化ステップをより正確に設定で
き、より確実なレートコントロールが行なえる。
According to the invention described in claim 2, in addition to the effect of the invention described in claim 1, the band division step performs band division of a plurality of layers, and the predetermined band division signal corresponds to a plurality of layers. Since it is a band-divided signal that has frequency components of a high-frequency component in the horizontal direction and a high-frequency component of the vertical method in the same layer among a plurality of band-divided signals, a predetermined band-divided signal is correlated with other band-divided signals. The rate of quantization is high, the quantization step corresponding to other band division signals can be set more accurately, and more reliable rate control can be performed.

【0102】請求項3記載の発明によれば、請求項2記
載の発明の効果に加えて、量子化ステップ制御工程は、
第n階層(n:2以上の整数)の所定の帯域分割信号を
符号化したときの符号量に基づいて、第(n−1)階層
の帯域分割信号の量子化ステップを設定するので、より
相関性の高い関係を用いて他の帯域分割信号に対応する
量子化ステップを正確に設定でき、より容易にレートコ
ントロールを行なえる。
According to the invention of claim 3, in addition to the effect of the invention of claim 2, the quantization step control step is
Since the quantization step of the band-divided signal of the (n-1) -th layer is set based on the code amount when the predetermined band-divided signal of the n-th layer (n: an integer of 2 or more) is encoded, The quantization step corresponding to another band-divided signal can be accurately set by using the relationship with high correlation, and the rate control can be performed more easily.

【0103】請求項4記載の発明は、請求項3記載の発
明の効果に加えて、量子化ステップ制御工程は、複数階
層のうち最も高い階層における所定の帯域分割信号から
量子化ステップの設定を開始し、順次低い階層の帯域分
割信号に向かって量子化ステップを設定してゆくので、
最も量子化、符号化時の誤差の大きい帯域分割信号から
量子化ステップを設定でき、より容易に符号量を一定に
することができる。
According to the invention of claim 4, in addition to the effect of the invention of claim 3, the quantization step control step sets the quantization step from a predetermined band division signal in the highest layer of a plurality of layers. Since it starts, the quantization step is set toward the band-divided signal of the lower hierarchy in sequence,
The quantization step can be set from the band-divided signal with the largest error in quantization and encoding, and the code amount can be made constant more easily.

【0104】請求項5記載の発明は、請求項3記載の発
明の効果に加えて、量子化ステップ制御工程は、複数階
層のうち最も低い階層における前記所定の帯域分割信号
から量子化ステップの設定を開始し、順次高い階層の帯
域分割信号に向かって量子化ステップを設定してゆくの
で、より復元時の画質に影響の大きい帯域分割信号から
量子化ステップを設定でき、画質の劣化を低減しつつ符
号量を一定にすることができる。
According to a fifth aspect of the invention, in addition to the effect of the third aspect of the invention, the quantization step control step sets the quantization step from the predetermined band division signal in the lowest layer of a plurality of layers. Since the quantization step is set toward the band-divided signal of the higher hierarchy in sequence, the quantization step can be set from the band-divided signal that has a greater effect on the image quality at the time of restoration, and the deterioration of the image quality is reduced. Meanwhile, the code amount can be made constant.

【0105】請求項6記載の発明によれば、各量子化手
段は、量子化ステップ制御信号に基づく量子化ステップ
で順次入力される帯域分割信号を量子化して量子化信号
を符号化手段に出力し、符号化手段は量子化信号を符号
化し、これと並行して、検出手段は、帯域分割信号のう
ち予め設定した所定の帯域分割信号に対応する発生符号
量を検出し、量子化ステップ制御手段は、検出した符号
量に基づいて所定の帯域分割信号以外の帯域分割信号の
量子化ステップを制御するための量子化ステップ制御信
号を量子化手段に出力するので、レートコントロール
(符号量制御)が容易に行なえる。さらに1パスで処理
が行なえ、ハードウェアで実現することが容易である。
According to the invention described in claim 6, each quantizing means quantizes the band-divided signals sequentially inputted in the quantizing step based on the quantizing step control signal and outputs the quantized signal to the coding means. Then, the encoding means encodes the quantized signal, and in parallel with this, the detecting means detects the generated code amount corresponding to a preset predetermined band-divided signal in the band-divided signal, and performs the quantization step control. The means outputs a quantization step control signal for controlling the quantization step of the band-divided signals other than the predetermined band-divided signal based on the detected code amount to the quantizing means, so that the rate control (code amount control) Can be done easily. Furthermore, the processing can be performed in one pass, and it is easy to realize with hardware.

【0106】請求項7記載の発明によれば、請求項6記
載の発明の効果に加えて、帯域分割手段は、複数階層の
帯域分割を行ない、所定の帯域分割信号は、複数階層に
対応する複数の帯域分割信号のうち同一階層における水
平方向の高域成分及び垂直方法の高域成分の周波数成分
を有する帯域分割信号であるので、所定の帯域分割信号
は他の帯域分割信号に対して相関性が高く、他の帯域分
割信号に対応する量子化ステップをより正確に設定で
き、より確実なレートコントロールが行なえる。
According to the invention of claim 7, in addition to the effect of the invention of claim 6, the band dividing means performs band division of a plurality of layers, and the predetermined band division signal corresponds to a plurality of layers. Since it is a band-divided signal that has frequency components of a high-frequency component in the horizontal direction and a high-frequency component of the vertical method in the same layer among a plurality of band-divided signals, a predetermined band-divided signal is correlated with other band-divided signals. The rate of quantization is high, the quantization step corresponding to other band division signals can be set more accurately, and more reliable rate control can be performed.

【0107】請求項8記載の発明によれば、請求項7記
載の発明の効果に加えて、量子化ステップ制御手段は、
第n階層(n:2以上の整数)の前記所定の帯域分割信
号を符号化したときの符号量に基づいて、第(n−1)
階層の帯域分割信号の量子化ステップを設定するので、
より相関性の高い関係を用いて他の帯域分割信号に対応
する量子化ステップを正確に設定でき、より容易にレー
トコントロールを行なえる。
According to the invention of claim 8, in addition to the effect of the invention of claim 7, the quantization step control means is:
Based on the code amount when the predetermined band-divided signal of the n-th layer (n: integer of 2 or more) is encoded, the (n-1) th
Since the quantization step of the band division signal of the hierarchy is set,
The quantization step corresponding to another band-divided signal can be accurately set by using the relationship having higher correlation, and the rate control can be performed more easily.

【0108】請求項9記載の発明によれば、請求項8記
載の発明の効果に加えて、量子化ステップ制御手段は、
複数階層のうち最も高い階層における所定の帯域分割信
号から量子化ステップの設定を開始し、順次低い階層の
帯域分割信号に向かって量子化ステップを設定してゆく
ので、最も量子化、符号化時の誤差の大きい帯域分割信
号から量子化ステップを設定でき、より容易に符号量を
一定にすることができる。
According to the invention of claim 9, in addition to the effect of the invention of claim 8, the quantization step control means is:
The quantization step is set from the predetermined band-divided signal in the highest layer of the multiple layers, and the quantization step is set toward the band-divided signal in the lower layers in sequence. The quantization step can be set from the band-divided signal having a large error, and the code amount can be made constant more easily.

【0109】請求項10記載の発明によれば、請求項8
記載の発明の効果に加えて、量子化ステップ制御手段
は、複数階層のうち最も低い階層における所定の帯域分
割信号から量子化ステップの設定を開始し、順次高い階
層の帯域分割信号に向かって量子化ステップを設定して
ゆくので、より復元時の画質に影響の大きい帯域分割信
号から量子化ステップを設定でき、画質の劣化を低減し
つつ符号量を一定にすることができる。
According to the invention of claim 10, claim 8 is provided.
In addition to the effect of the invention described, the quantization step control means starts setting the quantization step from a predetermined band division signal in the lowest layer among the plurality of layers, and sequentially proceeds toward the band division signal in higher layers. Since the quantization step is set, the quantization step can be set from the band-divided signal that has a greater influence on the image quality at the time of restoration, and the code amount can be made constant while reducing the deterioration of the image quality.

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

【図1】サブバンドV3 、WLH3 、WHL3 、WHH3 の符
号量と正規化された量子化ステップの関係を説明する図
である。
1 is a diagram illustrating the relationship between the sub-band V 3, W LH3, W HL3 , the code amount of W HH3 and normalized quantization step.

【図2】サブバンドWLH2 、WHL2 、WHH2 の符号量と
正規化された量子化ステップの関係を説明する図であ
る。
FIG. 2 is a diagram illustrating the relationship between the code amount of subbands W LH2 , W HL2 , and W HH2 and the normalized quantization step.

【図3】サブバンドWLH1 、WHL1 の符号量と正規化さ
れた量子化ステップの関係を説明する図である。
FIG. 3 is a diagram for explaining the relationship between the code amounts of subbands W LH1 and W HL1 and the normalized quantization step.

【図4】係数a、bと回帰標準誤差Ve の関係説明図で
ある。
FIG. 4 is an explanatory diagram of a relationship between coefficients a and b and regression standard error V e .

【図5】係数aと係数bの相関を説明する図である。FIG. 5 is a diagram illustrating a correlation between coefficient a and coefficient b.

【図6】サブバンドの符号発生量と係数aの相関を説明
する図である。
FIG. 6 is a diagram illustrating a correlation between a code generation amount of a subband and a coefficient a.

【図7】サブバンドの発生符号量と係数bの相関を説明
する図である。
FIG. 7 is a diagram for explaining the correlation between the generated code amount of a subband and the coefficient b.

【図8】サブバンドの発生符号量と係数aj及び係数b
jの相関を説明する図である。
FIG. 8 is a diagram showing the amount of generated code of subbands and coefficients aj and b
It is a figure explaining the correlation of j.

【図9】サブバンド符号化装置の概要構成を示すブロッ
ク図である。
FIG. 9 is a block diagram showing a schematic configuration of a subband encoding device.

【図10】第1実施例の処理フローチャートである。FIG. 10 is a processing flowchart of the first embodiment.

【図11】第2実施例の処理フローチャートである。FIG. 11 is a processing flowchart of the second embodiment.

【図12】従来のサブバンド符号化装置の概要構成を示
すブロック図である。
FIG. 12 is a block diagram showing a schematic configuration of a conventional subband encoding device.

【図13】帯域分割部における2次元ウェーブレット変
換を説明する図である。
FIG. 13 is a diagram illustrating a two-dimensional wavelet transform in a band division unit.

【図14】ウェーブレット変換を3階層行なった場合の
画像の空間周波数の分割状態説明図である。
FIG. 14 is an explanatory diagram of a spatial frequency division state of an image when wavelet transformation is performed in three layers.

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

10…サブバンド符号化装置 11…帯域分割部 12…ステップ数制御部 13…符号化部 Q0 、Q1 、Q2 、Q3 、Q4 、Q5 、Q6 、Q7 、Q
8 …量子化器 GIN…入力画像信号 SSB(n)…サブバンド信号 SSQ(n)…量子化出力信号 SC …符号化信号 Sbit (n)…符号化量検出信号 SQC…量子化ステップ制御信号
10 ... sub-band coding apparatus 11 ... band dividing section 12 ... step number control unit 13 ... encoding unit Q 0, Q 1, Q 2 , Q 3, Q 4, Q 5, Q 6, Q 7, Q
8 ... Quantizer G IN ... input image signal S SB (n) ... sub-band signal S SQ (n) ... quantized output signal S C ... coded signal S bit (n) ... coded amount detection signal S QC ... Quantization step control signal

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 入力信号を帯域分割して複数の帯域分割
信号として出力する帯域分割工程と、 量子化ステップ制御信号に基づく量子化ステップで順次
入力される前記帯域分割信号を量子化して量子化信号を
出力する量子化工程と、 前記量子化信号を符号化する符号化工程と、 前記帯域分割信号のうち予め設定した所定の帯域分割信
号に対応する発生符号量を検出する検出工程と、 前記検出した発生符号量に基づいて前記所定の帯域分割
信号以外の帯域分割信号の量子化ステップを制御するた
めの前記量子化ステップ制御信号を出力する量子化ステ
ップ制御工程と、 を備えたことを特徴とする符号化方法。
1. A band division step of band-dividing an input signal and outputting it as a plurality of band-divided signals, and quantizing and quantizing the band-divided signals sequentially inputted in a quantization step based on a quantization step control signal. A quantization step of outputting a signal; an encoding step of encoding the quantized signal; a detection step of detecting a generated code amount corresponding to a preset predetermined band division signal among the band division signals; A quantization step control step of outputting the quantization step control signal for controlling a quantization step of a band division signal other than the predetermined band division signal based on the detected generated code amount, Encoding method.
【請求項2】 請求項1記載の符号化方法において、 前記入力信号は画像信号であり、 前記帯域分割工程は、複数階層の帯域分割を行ない、 前記所定の帯域分割信号は、前記複数階層に対応する複
数の帯域分割信号のうち同一階層における水平方向の高
域成分及び垂直方法の高域成分の周波数成分を有する帯
域分割信号であることを特徴とする符号化方法。
2. The encoding method according to claim 1, wherein the input signal is an image signal, the band division step performs band division of a plurality of layers, and the predetermined band division signal is divided into a plurality of layers. An encoding method, which is a band-divided signal having frequency components of a high-frequency component in a horizontal direction and a high-frequency component of a vertical method in the same layer among a plurality of corresponding band-divided signals.
【請求項3】 請求項2記載の符号化方法において、 前記量子化ステップ制御工程は、第n階層(n:2以上
の整数)の前記所定の帯域分割信号を符号化したときの
符号量に基づいて、第(n−1)階層の帯域分割信号の
量子化ステップを設定することを特徴とする符号化方
法。
3. The encoding method according to claim 2, wherein the quantization step control step determines an amount of code when the predetermined band division signal of the nth layer (n: integer of 2 or more) is encoded. An encoding method characterized by setting a quantization step of a band-divided signal of the (n-1) th layer based on the above.
【請求項4】 請求項3記載の符号化方法において、 前記量子化ステップ制御工程は、前記複数階層のうち最
も高い階層における前記所定の帯域分割信号から前記量
子化ステップの設定を開始し、順次低い階層の帯域分割
信号に向かって前記量子化ステップを設定してゆくこと
を特徴とする符号化方法。
4. The encoding method according to claim 3, wherein the quantization step control step starts setting the quantization step from the predetermined band division signal in the highest layer of the plurality of layers, and sequentially. An encoding method, wherein the quantization step is set toward a band-divided signal of a lower hierarchy.
【請求項5】 請求項3記載の符号化方法において、 前記量子化ステップ制御工程は、前記複数階層のうち最
も低い階層における前記所定の帯域分割信号から前記量
子化ステップの設定を開始し、順次高い階層の帯域分割
信号に向かって量子化ステップを設定してゆくことを特
徴とする符号化方法。
5. The encoding method according to claim 3, wherein the quantization step control step starts setting the quantization step from the predetermined band division signal in the lowest layer of the plurality of layers, and sequentially. A coding method characterized in that a quantization step is set toward a band-divided signal in a higher hierarchy.
【請求項6】 入力信号を帯域分割して複数の帯域分割
信号として出力する帯域分割手段と、 量子化ステップ制御信号に基づく量子化ステップで順次
入力される前記帯域分割信号を量子化して量子化信号を
出力する複数の量子化手段と、 前記量子化信号を符号化する符号化手段と、 前記帯域分割信号のうち予め設定した所定の帯域分割信
号に対応する発生符号量を検出する検出手段と、 前記検出した発生符号量に基づいて前記所定の帯域分割
信号以外の帯域分割信号の量子化ステップを制御するた
めの前記量子化ステップ制御信号を出力する量子化ステ
ップ制御手段と、 を備えたことを特徴とする符号化装置。
6. Band division means for band-dividing an input signal and outputting it as a plurality of band-divided signals, and quantizing and quantizing the band-divided signals sequentially inputted in a quantization step based on a quantization step control signal. A plurality of quantizing means for outputting a signal, an encoding means for encoding the quantized signal, and a detecting means for detecting a generated code amount corresponding to a preset predetermined band division signal of the band division signals A quantization step control means for outputting the quantization step control signal for controlling a quantization step of a band division signal other than the predetermined band division signal on the basis of the detected generated code amount, An encoding device characterized by.
【請求項7】 請求項6記載の符号化装置において、 前記入力信号は画像信号であり、 前記帯域分割手段は、複数階層の帯域分割を行ない、 前記所定の帯域分割信号は、前記複数階層に対応する複
数の帯域分割信号のうち同一階層における水平方向の高
域成分及び垂直方法の高域成分の周波数成分を有する帯
域分割信号であることを特徴とする符号化装置。
7. The encoding device according to claim 6, wherein the input signal is an image signal, the band division unit performs band division of a plurality of layers, and the predetermined band division signal is divided into a plurality of layers. An encoding device, which is a band-divided signal having frequency components of a high-frequency component in a horizontal direction and a high-frequency component of a vertical method in the same layer among a plurality of corresponding band-divided signals.
【請求項8】 請求項7記載の符号化装置において、 前記量子化ステップ制御手段は、第n階層(n:2以上
の整数)の前記所定の帯域分割信号を符号化したときの
符号量に基づいて、第(n−1)階層の帯域分割信号の
量子化ステップを設定することを特徴とする符号化装
置。
8. The encoding device according to claim 7, wherein the quantization step control unit determines a code amount when the predetermined band-divided signal of the n-th layer (n: integer of 2 or more) is encoded. An encoding apparatus which sets a quantization step of a band-divided signal of the (n-1) th layer based on the above.
【請求項9】 請求項8記載の符号化装置において、 前記量子化ステップ制御手段は、前記複数階層のうち最
も高い階層における前記所定の帯域分割信号から前記量
子化ステップの設定を開始し、順次低い階層の帯域分割
信号に向かって前記量子化ステップを設定してゆくこと
を特徴とする符号化装置。
9. The encoding device according to claim 8, wherein the quantization step control means starts setting the quantization step from the predetermined band division signal in the highest layer of the plurality of layers, and sequentially. An encoding apparatus, wherein the quantization step is set toward a band-divided signal of a lower hierarchy.
【請求項10】 請求項8記載の符号化装置において、 前記量子化ステップ制御手段は、前記複数階層のうち最
も低い階層における前記所定の帯域分割信号から前記量
子化ステップの設定を開始し、順次高い階層の帯域分割
信号に向かって量子化ステップを設定してゆくことを特
徴とする符号化装置。
10. The encoding device according to claim 8, wherein the quantization step control means starts setting the quantization step from the predetermined band division signal in the lowest layer of the plurality of layers, and sequentially. An encoding apparatus, wherein a quantization step is set toward a band-divided signal in a higher hierarchy.
JP20979895A 1995-08-17 1995-08-17 Encoding method and encoding device Expired - Fee Related JP3268623B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20979895A JP3268623B2 (en) 1995-08-17 1995-08-17 Encoding method and encoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20979895A JP3268623B2 (en) 1995-08-17 1995-08-17 Encoding method and encoding device

Publications (2)

Publication Number Publication Date
JPH0955664A true JPH0955664A (en) 1997-02-25
JP3268623B2 JP3268623B2 (en) 2002-03-25

Family

ID=16578778

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20979895A Expired - Fee Related JP3268623B2 (en) 1995-08-17 1995-08-17 Encoding method and encoding device

Country Status (1)

Country Link
JP (1) JP3268623B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002344748A (en) * 2001-05-17 2002-11-29 Nikon Corp Image compressor, image compression program and electronic camera

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002344748A (en) * 2001-05-17 2002-11-29 Nikon Corp Image compressor, image compression program and electronic camera
JP4670178B2 (en) * 2001-05-17 2011-04-13 株式会社ニコン Image compression apparatus, image compression program, and electronic camera

Also Published As

Publication number Publication date
JP3268623B2 (en) 2002-03-25

Similar Documents

Publication Publication Date Title
JP4489605B2 (en) Compression encoding apparatus, compression encoding method and program
DE69628935T2 (en) DEVICE AND METHOD FOR OPTIMIZING BITRATE CONTROL IN A CODING SYSTEM
JP4273996B2 (en) Image encoding apparatus and method, and image decoding apparatus and method
US6912255B2 (en) Bit rate control through selective modification of DCT coefficients
US20070053599A1 (en) Compression encoder, compression encoding method and program
US20070229325A1 (en) Data processing apparatus, data processing method, computer readable medium storing program, and computer data signal
US6876770B2 (en) Image encoding device, electronic camera and recording medium for image encoding program
US6327392B1 (en) Method of visual progressive coding
JP2005143105A (en) Digital video compression
EP0768008B1 (en) Device and method for coding video pictures
JP2003319185A (en) Image encoding apparatus and method, image decoding apparatus and method
US8805107B2 (en) Image data coding apparatus, method of controlling operation of same, and program therefor
JP2007104645A (en) Compressing encoder, compressing encoding method and program
JP2006222555A (en) Coding apparatus and coding method
US20050141773A1 (en) Compression encoder
US8218882B2 (en) Image coding method, image coding apparatus, image coding circuit, information recording medium, and computer program
US7330598B2 (en) Image encoding apparatus and method
AU762996B2 (en) An image compression system and method of determining quantisation parameters therefor
JP3268623B2 (en) Encoding method and encoding device
EP0944262B1 (en) A method of progressive coding according to visual significance
Mazzarri et al. Perceptual embedded image coding using wavelet transforms
JP4003628B2 (en) Image encoding apparatus and method, and program
Richter Spatial constant quantization in JPEG XR is nearly optimal
JP3299073B2 (en) Quantization device and quantization method
JP2004064104A (en) Compression encoding apparatus, and compression encoding method and program

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees