JPH0771292B2 - Image adaptive quantization coding method - Google Patents
Image adaptive quantization coding methodInfo
- Publication number
- JPH0771292B2 JPH0771292B2 JP62190994A JP19099487A JPH0771292B2 JP H0771292 B2 JPH0771292 B2 JP H0771292B2 JP 62190994 A JP62190994 A JP 62190994A JP 19099487 A JP19099487 A JP 19099487A JP H0771292 B2 JPH0771292 B2 JP H0771292B2
- Authority
- JP
- Japan
- Prior art keywords
- quantization
- circuit
- quantizer
- distortion
- input
- 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
Links
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Description
【発明の詳細な説明】 [概要] 画像信号をブロック単位で処理する場合の高能率の適応
量子化符号化方式に関し、 それぞれ入力信号(xi)を入力して並列に動作するスカ
ラー量子化回路,ベクトル量子化回路,及びベクトル量
子化回路とスカラー量子化回路の縦続接続による組み合
わせの回路という複数の量子化回路と,複数の各量子化
回路からの量子化出力を入力とし複数の各量子化回路の
発生情報量を計算する発生情報量計算回路,及び複数の
各量子化出力と入力信号とを入力とし各量子化回路の量
子化歪を計算する量子化歪計算回路と,発生情報量計算
回路から出力される各量子化器毎の発生情報量と量子化
歪計算回路から出力される各量子化器毎の量子化歪の値
とを入力とする評価・選択回路とを備え,評価・選択回
路は,設定された指定基準に応じて複数の量子化回路か
ら選択する出力を適応制御し,指定基準として量子化歪
が指定閾値以下で発生情報量が最小であるという基準が
設定されるよう構成する。DETAILED DESCRIPTION OF THE INVENTION [Outline] A high-efficiency adaptive quantization coding method for processing an image signal in block units, and a scalar quantization circuit which inputs an input signal (x i ) and operates in parallel. , A vector quantizer, and a plurality of quantizers, each of which is a combination of the vector quantizer and the scalar quantizer in cascade connection, and a plurality of quantizers each having a quantizer output from each quantizer as an input A generated information amount calculation circuit for calculating the generated information amount of the circuit, and a quantization distortion calculation circuit for calculating the quantization distortion of each quantization circuit with a plurality of each quantized output and input signal as input, and the generated information amount calculation An evaluation / selection circuit, which receives as input the amount of generated information for each quantizer output from the circuit and the value of the quantization distortion for each quantizer output from the quantization distortion calculation circuit, is provided. The selection circuit is set The output selected from the plurality of quantization circuits is adaptively controlled according to the specified standard, and the standard is set such that the quantization distortion is equal to or less than the specified threshold and the generated information amount is minimum.
[産業上の利用分野] 本発明は画像信号をブロック単位で処理する場合の高能
率の適応量子化符号化方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a highly efficient adaptive quantization coding method when processing an image signal in block units.
画像信号を低ビットレートで伝送する高能率符号化方式
は、伝送路の有効利用および通信コストの低減のために
要求されている。そして、動画像をフレーム間符号化方
式により伝送する場合にも当然高能率の符号化を行うこ
とが望まれている。A high-efficiency coding method for transmitting an image signal at a low bit rate is required for effective use of a transmission line and reduction of communication cost. It is naturally desired to perform high-efficiency encoding even when moving images are transmitted by the interframe encoding method.
一方、画像信号の量子化方式としては近年各種の方式が
利用されるようになったが、画像信号の性質や、伝送路
の特性や、使用形態等は常に固定されたものではないの
で、これらに対応して常に高能率で量子化符号化を実現
する必要がある。On the other hand, in recent years, various methods have been used as the image signal quantization method, but the characteristics of the image signal, the characteristics of the transmission path, the usage form, etc. are not always fixed. It is necessary to always realize highly efficient quantization coding corresponding to.
[従来の技術] 従来、画像信号を量子化する方式として、画素単位に量
子化するスカラー量子化方式(SQ)や、画素をブロック
化して予め用意してあるパターンの中から最も歪みの小
さいパターンのインデックスを符号化するベクトル量子
化方式(VQ)等があった。[Prior Art] Conventionally, as a method for quantizing an image signal, a scalar quantizing method (SQ) for quantizing pixel by pixel, or a pattern with the smallest distortion among patterns prepared in advance by dividing pixels into blocks. There was a vector quantization method (VQ) etc. which encodes the index of.
一般に、スカラー量子化方式(SQ)は情報量が大だが歪
みは小さく、ベクトル量子化方式(VQ)は情報量は小で
あるが歪みは大きいという傾向があるが、入力信号の性
質によって変わる。In general, the scalar quantization method (SQ) has a large amount of information but little distortion, and the vector quantization method (VQ) tends to have a small amount of information but large distortion, which varies depending on the nature of the input signal.
[発明が解決しようとする問題点] 上記のように、従来の符号化方式によれば、スカラー量
子化方式(SQ)とベクトル量子化方式(VQ)はいずれも
一長一短があり、入力信号の性質によらないでできるだ
け情報量が小で歪みが小である符号化効率のよい符号化
方式が存在しない点で問題があった。[Problems to be Solved by the Invention] As described above, according to the conventional encoding method, both the scalar quantization method (SQ) and the vector quantization method (VQ) have advantages and disadvantages, and the nature of the input signal. There is a problem in that there is no coding method having a small amount of information and a small distortion and having a high coding efficiency.
本発明は、動画の画像信号またはその予測誤差信号をブ
ロック化し量子化する際に入力信号に応じて最も適した
量子化符号に切替え可能とする画像の適応量子化符号化
方式を提供することを目的とする。It is an object of the present invention to provide an adaptive quantization coding method for an image that can switch to a most suitable quantization code according to an input signal when blocking and quantizing a moving image signal or its prediction error signal. To aim.
[問題点を解決するための手段] 第1図は本発明の原理的構成を示す図である。[Means for Solving Problems] FIG. 1 is a diagram showing a principle configuration of the present invention.
図中、11はスカラー量子化器(SQ1)、12はベクトル量
子化器(VQ2)、13はベクトル量子化器(VQ3)とスカラ
ー量子化器(SQ3)を組み合わせた量子化器、1nはベク
トル量子化器のみを多段に接続して構成する符号化器
や、量子化特性を変えた複数のスカラー量子化器で構成
する符号化器等の前記13と異なる組み合わせ量子化器
(nは任意の数)、16は発生情報量計算回路、17は量子
化歪計算回路、18は評価・選択回路、19は切替回路を表
す。In the figure, 11 is a scalar quantizer (SQ1), 12 is a vector quantizer (VQ2), 13 is a quantizer that combines a vector quantizer (VQ3) and a scalar quantizer (SQ3), and 1n is a vector. A combination quantizer different from the above 13 such as an encoder configured by connecting only quantizers in multiple stages or an encoder configured by a plurality of scalar quantizers having different quantization characteristics (n is an arbitrary number) Number), 16 is a generated information amount calculation circuit, 17 is a quantization distortion calculation circuit, 18 is an evaluation / selection circuit, and 19 is a switching circuit.
本発明は入力画像信号を量子化する回路として、夫々異
なる符号化方式または量子化特性を持つ複数個の量子化
回路(11〜1n)を設け、これらを並列にまたは時分割で
動作させ、それらの各符号化出力について情報量と量子
化歪を計算して各量子化回路を評価し、各時点において
評価基準を満たす最適の量子化回路を選択して出力する
ものである。The present invention provides a plurality of quantization circuits (11 to 1n) each having a different encoding method or quantization characteristic as a circuit for quantizing an input image signal, and operates these in parallel or in time division. The amount of information and the quantization distortion are calculated for each coded output, and each quantizing circuit is evaluated, and the optimum quantizing circuit that satisfies the evaluation criterion at each time point is selected and output.
[作用] 第1図において、入力信号xi(100)としては画像信号
またはその予測誤差信号が供給され、いま画像信号が入
力される場合について説明する。[Operation] In FIG. 1, the case where an image signal or its prediction error signal is supplied as the input signal x i (100) and the image signal is now input will be described.
入力信号xiは、複数の量子化器11(SQ1)、12(VQ2)、
13(VQ3+SQ3)、・・・1nに並列に入力されて、量子化
器11の量子化出力がq1i、量子化器12の量子化出力が
q2i、量子化器13はその中のVQ3の量子化出力がq31iでSQ
3の量子化出力がq32iで、量子化器1nの量子化出力はqni
である。なお、ベクトル量子化器のVQ2とVQ3の出力q2i
とq31iは、夫々の出力ベクトルのインデックスおよびそ
の画素パターンの両方を示し、SQやVQの夫々のインデッ
クスはHuffman符号等の可変長符号が割り当てられる。The input signal x i has a plurality of quantizers 11 (SQ1), 12 (VQ2),
13 (VQ3 + SQ3), ... is input in parallel to 1n, the quantized output of the quantizer 11 is q 1i , and the quantized output of the quantizer 12 is
q 2i , the quantizer 13 outputs SQ when the quantized output of VQ 3 is q 31i .
The quantized output of 3 is q 32i and the quantized output of quantizer 1n is q ni
Is. Note that the output of VQ2 and VQ3 of the vector quantizer q 2i
And q 31i represent both the index of each output vector and its pixel pattern, and each index of SQ and VQ is assigned a variable length code such as Huffman code.
複数の量子化器のセットの出力、q1i、q2i、q31i+q32i、
・・・qniの信号路を夫々、パス1、パス2、パス3・
・・パスnとすると、発生情報量計算回路16ではパス1
〜パスnの夫々のパスを通った場合の情報量I1〜Inが計
算される。また、量子化歪計算回路17では夫々のパルス
における量子化歪d1、d2、d3・・・dnを例えば次の式によ
り計算を行う。Outputs of multiple quantizer sets, q 1i , q 2i , q 31i + q 32i ,
・ ・ ・ Path 1, path 2, path 3 respectively on the q ni signal paths
..Pass 1 in the generated information amount calculation circuit 16
The amount of information I 1 to I n when each path n passes is calculated. Also, performing calculations by the quantization distortion d 1, d 2, d 3 ··· d n , for example following expression in the quantization distortion calculation circuit 17 in each pulse.
(但し、iは画像信号のブロック番号を表す。) このように、発生情報量計算回路16と量子化歪計算回路
17において計算された結果の情報量IN、量子化歪dN(但
し、Nはパスの番号を表し、この場合N=1〜n)は、
評価・選択回路に送られ、その時の評価基準に応じて評
価され、最適なパスNが選択される。 (However, i represents the block number of the image signal.) Thus, the generated information amount calculation circuit 16 and the quantization distortion calculation circuit
The information amount I N , which is the result calculated in 17, and the quantization distortion d N (where N represents the path number, in this case N = 1 to n),
The optimum path N is sent to the evaluation / selection circuit and evaluated according to the evaluation standard at that time.
評価・選択回路18においていずれかのパスが選択される
と、どのパスを選んだかを表示する量子化選択信号180
を発生して送信されると共に、切替回路19に供給され
て、入力された各量子化器のパスのうちから選択された
パスの量子化信号を出力信号190として切替えて送信す
る。When any path is selected in the evaluation / selection circuit 18, a quantization selection signal 180 indicating which path is selected is displayed.
Is generated and transmitted, and is also supplied to the switching circuit 19 to switch and transmit the quantized signal of the path selected from among the paths of the input quantizers as the output signal 190.
評価の基準となる評価条件は評価基準設定入力181から
評価・選択回路18に与えられ、条件としては、ある情
報量Dを指定して、IN<DとなるパスNのうち、INが最
小となるパスNを選択する方法、ある歪の値Hを定
め、dN<HとなるパスNのうち、dNが最小となるパスn
を選択する方法、伝送路のバッファ容量を監視して、
その値に応じて評価関数を変えることにより発生情報量
の制御を行う方法、等がある。Evaluation condition as a reference of evaluation is given to the evaluation and selection circuit 18 from the evaluation criteria set input 181, as a condition, and specifying a certain amount of information D, among the path N to be the I N <D, the I N A method of selecting a path N that minimizes, determines a certain distortion value H, and selects a path n that minimizes d N among paths N that satisfies d N <H.
Method of selecting, monitor the buffer capacity of the transmission line,
There is a method of controlling the amount of generated information by changing the evaluation function according to the value.
[実施例] 第2図には、本発明の画像の適応量子化符号化方式の実
施例である動画の動き補償フレーム間符号化方式の構成
が示されている。[Embodiment] FIG. 2 shows the configuration of a motion-compensated interframe coding method for a moving image, which is an embodiment of the adaptive quantization coding method for an image according to the present invention.
本実施例では量子化器としてスカラー量子化器、ベクト
ル量子化器、およびベクトル量子化器とスカラー量子化
器を組み合わせた量子化器の3つを備えた構成となって
いる。In this embodiment, three quantizers are provided, which are a scalar quantizer, a vector quantizer, and a quantizer combining a vector quantizer and a scalar quantizer.
第2図において、20は入力画像信号、21は減算回路、22
は適応量子化符号化部でその中の構成要素であり、221
はスカラー量子化器(SQ1)、222はベクトル量子化器
(VQ2)、223はベクトル量子化器(VQ3)、224はスカラ
ー量子化器(SQ3)、225は減算器、226〜229は第1図の
符号16〜19の各回路に対応するものであり、23は動画の
フレーム間の動き検出部、24は可変遅延回路、25はフレ
ームメモリ、26は加算回路、27は量子化器選択信号、28
は予測誤差情報信号、29は動ベクトル情報信号を表す。In FIG. 2, 20 is an input image signal, 21 is a subtraction circuit, 22
Is a constituent element in the adaptive quantization coding unit,
Is a scalar quantizer (SQ1), 222 is a vector quantizer (VQ2), 223 is a vector quantizer (VQ3), 224 is a scalar quantizer (SQ3), 225 is a subtractor, and 226 to 229 are the first It corresponds to each circuit of reference numerals 16 to 19 in the figure, 23 is a motion detection unit between moving image frames, 24 is a variable delay circuit, 25 is a frame memory, 26 is an addition circuit, 27 is a quantizer selection signal , 28
Is a prediction error information signal, and 29 is a motion vector information signal.
第2図において、入力画像信号20は減算回路21に入力さ
れ、フレームメモリ25からの前フレームの予測画像信号
との差を減算回路21で求め、得られた予測誤差信号を適
応量子化符号化部22に供給する。一方、動き検出部23で
はフレームメモリ25からの前フレームの画像信号と、入
力画像信号20とに基づいて動き情報を検出し、動ベクト
ル情報信号29を発生して伝送される。In FIG. 2, the input image signal 20 is input to the subtraction circuit 21, the difference from the predicted image signal of the previous frame from the frame memory 25 is obtained by the subtraction circuit 21, and the obtained prediction error signal is adaptively quantized and encoded. Supply to part 22. On the other hand, the motion detector 23 detects motion information based on the image signal of the previous frame from the frame memory 25 and the input image signal 20, and generates and transmits a motion vector information signal 29.
適応量子化符号化部22は、第1図に示したように複数の
量子化パスを持つ量子化器であり、この量子化器に入力
される減算回路21の出力である予測誤差信号は、動きの
大きさ、入力される絵柄などによって、さまざまな性質
を持つ。The adaptive quantization coding unit 22 is a quantizer having a plurality of quantization paths as shown in FIG. 1, and the prediction error signal which is the output of the subtraction circuit 21 input to this quantizer is It has various properties depending on the size of the movement and the input pattern.
これらの入力信号に適応的に対処するために、スカラー
量子化器SQ1、ベクトル量子化器VQ2およびスカラー量子
化器SQ3とベクトル量子化器VQ3の組み合わせの3つのセ
ットの出力パルスの発生情報量と量子化歪を発生情報量
計算回路226と量子化歪計算回路227において夫々求め、
評価・選択回路228において評価基準設定入力220から入
力された評価基準により評価(評価方法は後述する)
し、最適なパスを選択し、切替回路229から予測誤差情
報信号28を量子化器選択信号27と共に送信する。なお、
ここに用いているスカラー量子化器や、ベクトル量子化
器そのものは、いずれも従来公知のものであり、その具
体的構成の詳細についての説明は省略した。In order to adaptively deal with these input signals, the amount of generated information of the output pulse of three sets of the scalar quantizer SQ1, the vector quantizer VQ2, and the combination of the scalar quantizer SQ3 and the vector quantizer VQ3, and Obtaining the quantization distortion in the generated information amount calculation circuit 226 and the quantization distortion calculation circuit 227, respectively,
The evaluation / selection circuit 228 evaluates according to the evaluation standard input from the evaluation standard setting input 220 (evaluation method will be described later).
Then, the optimum path is selected, and the prediction error information signal 28 is transmitted from the switching circuit 229 together with the quantizer selection signal 27. In addition,
The scalar quantizers and the vector quantizers used here are all known in the related art, and the detailed description of their specific configurations is omitted.
次に、第2図に示す実施例の構成における各種の量子化
符号化器の評価方法を第3図に示す具体例を用いて説明
する。Next, an evaluation method of various quantization encoders in the configuration of the embodiment shown in FIG. 2 will be described using a concrete example shown in FIG.
画像信号の符号化を行うブロックサイズを4(pel:ピク
チャーエレメント・画素)×4(line)、フレーム間差
分信号をXi(i=1〜16)とし、3つの量子化パス1〜
3の夫々の出力を、Y1i、Y2i、Y3i、量子化誤差のパワー
をd1、d2、d3、発生情報量をI1、I2、I3とする。ここで、n
は量子化パスを示し、 である。The block size for encoding the image signal is 4 (pel: picture element / pixel) × 4 (line), and the inter-frame difference signal is X i (i = 1 to 16).
The respective outputs of 3 are Y 1i , Y 2i , Y 3i , the power of the quantization error is d 1 , d 2 , d 3 , and the generated information amount is I 1 , I 2 , I 3 . Where n
Indicates the quantization path, Is.
また、この例ではベクトル量子化器VQ2およびVQ3はパタ
ーンの数を210個、すなわち10ビットの符号を使用し、
スカラー量子化器SQ1およびSQ3は0近傍ではビット長が
短くそれ以外ではビット長が長くなる可変長の符号であ
る。Also, in this example, the vector quantizers VQ2 and VQ3 use 2 10 patterns, that is, a 10-bit code,
The scalar quantizers SQ1 and SQ3 are variable length codes having a short bit length near 0 and a long bit length otherwise.
適応量子化符号化部22への入力であるフレーム間差分信
号Xiの具体例として、例えば第3図の(A)に示す信号
が与えられた場合について説明する。As a specific example of the inter-frame difference signal X i which is an input to the adaptive quantization encoding unit 22, a case where the signal shown in FIG. 3A is given will be described.
この入力Xiに対し、第2図のスカラー量子化器SQ1の動
作により第3図の(B)の(イ)のような符号化出力が
パス1に発生する。この4×4=16個の各欄の数値を符
号化(単なる2進化符号ではない)するためのビット数
が括弧内に示されており、これらのビット数を合計する
と46ビットとなり、これが第3図(C)の(イ)に示す
パス1の情報量I1となる。With respect to the input X i , the operation of the scalar quantizer SQ1 shown in FIG. 2 produces a coded output as shown in (A) of FIG. The number of bits for encoding (not just binary code) the numerical values in each of the 4 × 4 = 16 columns is shown in parentheses, and the total number of these bits is 46 bits. The information amount I 1 of the path 1 shown in (a) of FIG.
次に、同じ入力Xiに対し第2図のベクトル量子化器VQ2
は量子化動作による第3図(B)のようなパターンを発
生するがこれを210個(1024個)のパターンの何れかに
より表示するため10ビットの情報量を必要とし、第3図
(C)の(ロ)に示すパス2の情報量I2となる。Next, for the same input X i , the vector quantizer VQ2 of FIG.
Generates a pattern as shown in FIG. 3 (B) by the quantizing operation, but since this is displayed by any of 2 10 (1024) patterns, an information amount of 10 bits is required. The information amount I 2 of the path 2 shown in (b) of C) is obtained.
また、同じ入力Xiに対し初めにベクトル量子化器VQ3で
ベクトル量子化すると上記のパス1と同様にして10ビッ
トの情報が発生し、次に入力Xiからベクトル量子化器VQ
3で量子化した成分を除いた残りの信号に対しスカラー
量子化器SQ3においてスカラー量子化を行いその結果が
第3図(B)の(ハ)において下段に示すように25ビッ
トの出力となり、パス3からはこの時点で第3図(C)
の(ハ)に示す合計35ビットの情報量I3になる。When vector quantization is first performed on the same input X i by the vector quantizer VQ3, 10-bit information is generated in the same manner as in the above-mentioned path 1, and then from the input X i to the vector quantizer VQ.
The scalar quantizer SQ3 performs scalar quantization on the remaining signals except the components quantized in 3, and the result is a 25-bit output as shown in the lower stage of (c) of FIG. 3B, From pass 3 at this point in Fig. 3 (C)
The information amount I 3 is 35 bits in total as shown in (c).
このようにパス1が46ビットの情報量を要し、パス2は
10ビットの情報量を要し、パス3は35ビットの情報量を
要することが第2図の発生情報量計算回路226において
算出される。Thus, Path 1 requires 46 bits of information, and Path 2
It is calculated in the generated information amount calculation circuit 226 in FIG. 2 that the information amount of 10 bits is required and the information amount of the path 3 is 35 bits.
また、前述の量子化誤差dnの計算式に従って量子化歪計
算回路227において各パスの量子化誤差を計算すると、
この具体例の場合ではその結果として、パス1の量子化
歪d1は1.3が算出され、パス2の量子化歪d2は10.3、パ
ス3の量子化歪d3は1.8が夫々算出され、情報量I1〜I3
と共に第3図の(C)に示されている。Further, when the quantization error of each path is calculated in the quantization distortion calculation circuit 227 according to the above-described calculation formula of the quantization error d n ,
In the case of this specific example, as a result, the quantization distortion d 1 of path 1 is calculated as 1.3, the quantization distortion d 2 of path 2 is calculated as 10.3, and the quantization distortion d 3 of path 3 is calculated as 1.8. Information amount I 1 to I 3
It is also shown in FIG. 3 (C).
これらの計算結果が入力されると、評価・選択回路228
において評価基準に基づいて評価を行うが、その際に採
られる評価方法として次の様な方法がある。When these calculation results are input, the evaluation / selection circuit 228
The evaluation is performed on the basis of the evaluation standard, and there are the following methods as the evaluation method adopted at that time.
評価方法例1 ある程度のフレームレート(駒落ちの数)を保ち、画質
を落としても動きのある画像を送るために、ブロックあ
たりの発生情報量を抑制したい時は、或る一定の情報量
を設定し、例えばこれを30(ビット)とした場合は、In
≦30を満たすパスnの中で、量子化歪dnが最小となるパ
スnを選び、In≦30を満たすものが無い時は、Inが最小
のパスnを選ぶ。第3図の場合、(C)によれば、情報
量が30ビット以下の量子化符号化器は(ロ)のパス2だ
けが該当するのでパス2(VQ2)が選択される(n=
1)。Evaluation method example 1 To keep a certain frame rate (number of dropped frames) and send a moving image even if the image quality is reduced, if you want to suppress the amount of information generated per block, set a certain amount of information. Set, for example, if this is 30 (bits), I n
Among the paths n satisfying ≦ 30, the path n having the smallest quantization distortion d n is selected, and when there is no one satisfying I n ≦ 30, the path n having the smallest I n is selected. In the case of FIG. 3, according to (C), since only the path 2 in (b) corresponds to the quantized encoder having the information amount of 30 bits or less, the path 2 (VQ2) is selected (n =
1).
評価方法例2 ある程度の画質を保つことが必要である場合は、ブロッ
クあたりの量子化歪を低く保つことが要求され、そのた
めに一定の低い量子化歪を設定する。例えばこれを3と
した場合は、dn≦3を満たすパスnの中で、情報量Inが
最小となるパスnを選び、dn≦3を満たすものがない場
合は、dnが最小であるパスnを選ぶ。Evaluation Method Example 2 When it is necessary to maintain a certain level of image quality, it is required to keep the quantization distortion per block low, and therefore a certain low quantization distortion is set. For example, if this was the 3, in the path n satisfying d n ≦ 3, select the path n the amount of information I n is minimized, if there is no satisfying d n ≦ 3 is, d n is the minimum , The path n is selected.
第3図の場合、(C)によれば、量子化歪が3以下の量
子化符号化器は(イ)のd1=1.3と(ハ)のd3=1.8の2
つのパスが条件を満たすので、この中から情報量の少な
い方を選ぶと、パス3の情報量I3=35(ビット)の方が
パス1の情報量I1=46(ビット)より小さいので、結局
パス3が選択される。In the case of FIG. 3, according to (C), a quantized encoder having a quantization distortion of 3 or less has d 1 = 1.3 in (a) and d 3 = 1.8 in (c).
Since one path satisfies the condition, the information amount I 3 = 35 (bits) of path 3 is smaller than the information amount I 1 = 46 (bits) of path 1 if the one with less information amount is selected. Eventually, pass 3 is selected.
評価方法例3 ある評価関数fを定め、f(In,dn)が最小となるパス
nを選択する。この場合は、情報量Inと量子化歪dnの両
者の数値を或る一定数値に設定して両方の条件を満たす
パスを選択するものである。Evaluation Method Example 3 A certain evaluation function f is determined, and a path n that minimizes f (I n , d n ) is selected. In this case, the numerical values of both the information amount I n and the quantization distortion d n are set to a certain constant numerical value and a path satisfying both conditions is selected.
[発明の効果] 本発明によれば、画像信号またはその予測誤差信号を量
子化する際、入力信号に応じて適応的に量子化符号化パ
スを選択できるので、画像の符号化効率を上げることが
できる。また、動画像の動き補償フレーム間符号化にお
いても高効率の符号化を適応的に行うことができる。EFFECTS OF THE INVENTION According to the present invention, when quantizing an image signal or a prediction error signal thereof, it is possible to adaptively select a quantization coding path according to an input signal, thus improving the coding efficiency of an image. You can Further, it is possible to adaptively perform highly efficient coding also in motion compensation interframe coding of a moving image.
第1図は本発明の原理的構成を示す図、第2図は本発明
の実施例の構成を示す図、第3図は実施例における各量
子化器の動作例を示す図である。 第1図中、 11:スカラー量子化器 12:ベクトル量子化器 13:ベクトル量子化器とスカラー量子化器の組み合わせ
量子化器 1n:他の組み合わせ量子化器 16:発生情報量計算回路 17:量子化歪計算回路 18:評価・選択回路 19:切替回路FIG. 1 is a diagram showing a principle configuration of the present invention, FIG. 2 is a diagram showing a configuration of an embodiment of the present invention, and FIG. 3 is a diagram showing an operation example of each quantizer in the embodiment. In FIG. 1, 11: Scalar quantizer 12: Vector quantizer 13: Combination quantizer 1v of vector quantizer and scalar quantizer 1n: Other combination quantizer 16: Generated information amount calculation circuit 17: Quantization distortion calculation circuit 18: Evaluation / selection circuit 19: Switching circuit
───────────────────────────────────────────────────── フロントページの続き (72)発明者 松田 喜一 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 津田 俊隆 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (56)参考文献 特開 昭58−197984(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Kiichi Matsuda 1015 Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited (72) Inventor Toshitaka Tsuda 1015, Kamikodanaka, Nakahara-ku, Kawasaki, Kanagawa Prefecture, Fujitsu Limited ( 56) References JP-A-58-197984 (JP, A)
Claims (2)
り量子化を行う量子化回路を備えた画像の適応量子化符
号化方式において, それぞれ入力信号(xi)を入力して並列に動作するスカ
ラー量子化回路,ベクトル量子化回路,及びベクトル量
子化回路とスカラー量子化回路の縦続接続による組み合
わせの回路という複数の量子化回路(11〜1n)と, 前記複数の各量子化回路からの量子化出力を入力とし前
記複数の各量子化回路の発生情報量を計算する発生情報
量計算回路(16), 及び前記複数の各量子化出力と入力信号(xi)とを入力
とし前記各量子化回路の量子化歪を計算する量子化歪計
算回路(17)と, 前記発生情報量計算回路(16)から出力される各量子化
器毎の発生情報量と前記量子化歪計算回路(17)から出
力される各量子化器毎の量子化歪の値とを入力とする評
価・選択回路(18)とを備え, 前記評価・選択回路は,設定された指定基準に応じて前
記複数の量子化回路から選択する出力を適応制御し,前
記指定基準として量子化歪が指定閾値以下で発生情報量
が最小であるという基準が設定されることを特徴とする
画像の適応量子化符号化方式。1. An adaptive quantization coding system for an image, comprising a quantization circuit for quantizing an image signal according to a plurality of different quantization systems, wherein an input signal (x i ) is inputted to operate in parallel. A plurality of quantizer circuits (11 to 1n), which are a scalar quantizer circuit, a vector quantizer circuit, and a combination circuit of cascade connection of the vector quantizer circuit and the scalar quantizer circuit; A generated information amount calculation circuit (16) for calculating the generated information amount of each of the plurality of quantization circuits with a quantized output as an input, and each of the plurality of quantized outputs and an input signal (x i ) as an input A quantizing distortion calculating circuit (17) for calculating the quantizing distortion of the quantizing circuit, the generated information amount for each quantizer output from the generated information amount calculating circuit (16), and the quantizing distortion calculating circuit ( 17) each quantizer output from And an evaluation / selection circuit (18) that receives the value of the quantization distortion of the input, and the evaluation / selection circuit adaptively controls an output selected from the plurality of quantization circuits according to a set designation standard. An adaptive quantization coding method for an image is characterized in that a criterion that a quantization distortion is equal to or less than a designated threshold and a generated information amount is minimum is set as the designation criterion.
以下で量子化歪が最小であるという基準が設定されるこ
とを特徴とする特許請求の範囲第1項に記載の画像の適
応量子化符号化方式。2. The adaptive quantization of an image according to claim 1, wherein a criterion that an amount of generated information is equal to or less than a designated threshold and a quantization distortion is minimum is set as the designation criterion. Encoding method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62190994A JPH0771292B2 (en) | 1987-07-30 | 1987-07-30 | Image adaptive quantization coding method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62190994A JPH0771292B2 (en) | 1987-07-30 | 1987-07-30 | Image adaptive quantization coding method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6436173A JPS6436173A (en) | 1989-02-07 |
| JPH0771292B2 true JPH0771292B2 (en) | 1995-07-31 |
Family
ID=16267096
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62190994A Expired - Fee Related JPH0771292B2 (en) | 1987-07-30 | 1987-07-30 | Image adaptive quantization coding method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0771292B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2015231143A (en) * | 2014-06-05 | 2015-12-21 | 日本放送協会 | Encoding device, decoding device and program therefor |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05316498A (en) * | 1992-05-13 | 1993-11-26 | Mitsubishi Electric Corp | Image encoder |
| EP2983370A1 (en) | 2006-01-09 | 2016-02-10 | Matthias Narroschke | Adaptive coding of the prediction error in hybrid video coding |
| JP6564315B2 (en) * | 2015-12-04 | 2019-08-21 | 日本放送協会 | Encoding device, decoding device, and program |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58197984A (en) * | 1982-05-14 | 1983-11-17 | Nec Corp | Adaptive forecasting encoding device of television signal |
-
1987
- 1987-07-30 JP JP62190994A patent/JPH0771292B2/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2015231143A (en) * | 2014-06-05 | 2015-12-21 | 日本放送協会 | Encoding device, decoding device and program therefor |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6436173A (en) | 1989-02-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4141034A (en) | Digital encoding of color video signals | |
| KR101074870B1 (en) | Code quantity estimating method and device, their program, and recording medium | |
| KR100225542B1 (en) | Video signal encoding method and video signal encoding apparatus | |
| US8396311B2 (en) | Image encoding apparatus, image encoding method, and image encoding program | |
| US20090046777A1 (en) | Image compression system with coding quantity control | |
| JP2000013799A (en) | Device and method for motion compensation encoding and decoding | |
| JP2000125297A (en) | Method for coding and decoding consecutive image | |
| KR0127329B1 (en) | Buffer control apparatus for intraframe using tct | |
| WO1991003128A1 (en) | Control system for encoding image | |
| JPH0879748A (en) | Quantization step size controller using neural network | |
| JP2911682B2 (en) | Motion compensation using the minimum number of bits per motion block as a criterion for block matching | |
| KR0162203B1 (en) | Adaptive encoding method and device using quantization step size | |
| JP2588925B2 (en) | Variable bit rate image coding device | |
| JPH09200758A (en) | Image encoder | |
| US5508745A (en) | Apparatus for controlling a quantization level to be modified by a motion vector | |
| JPH05347710A (en) | Adaptive variable length coding method | |
| JPH0771292B2 (en) | Image adaptive quantization coding method | |
| JPH09294267A (en) | Image compression coding device | |
| JP4089753B2 (en) | Image compression encoding apparatus and method, program, and recording medium | |
| JPS6326951B2 (en) | ||
| JP4130312B2 (en) | Image encoding apparatus and image decoding apparatus | |
| KR0162201B1 (en) | DC component-differential pulse code modulation system of image data | |
| JPH06113271A (en) | Image signal encoder | |
| JPH09107293A (en) | Code amount control method and apparatus thereof | |
| JP2537242B2 (en) | Motion compensation motion vector coding method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |