JPH0440188A - Quantizer - Google Patents
QuantizerInfo
- Publication number
- JPH0440188A JPH0440188A JP2148289A JP14828990A JPH0440188A JP H0440188 A JPH0440188 A JP H0440188A JP 2148289 A JP2148289 A JP 2148289A JP 14828990 A JP14828990 A JP 14828990A JP H0440188 A JPH0440188 A JP H0440188A
- Authority
- JP
- Japan
- Prior art keywords
- quantization
- quantization width
- value
- coefficient
- mid
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、テレビ電話、テレビ会議システムなどの動画
像符号化装置の量子化器に関する。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a quantizer for a moving image encoding device such as a video telephone or a video conference system.
従来の技術
画儂符号化技術の発達はめざましく、ディジタル通信回
線の発達と相まって、国際標準化活動が活発に行なわれ
ており、中でも[大久保栄:″テレビ会議/電話用符号
化の標準化動向“PC!5J89画像符号化講演会pp
、 43〜48」に示されてい゛る、p X 64kb
ps (p = 1〜30 )動画像符号化方式がよく
知られている。このような動画像符号化方式は、M画素
xNラインのブロック単位で、動き補償予測により求め
たフレーム間差分を離散的コサイン変換(以下、離散的
コサイン変換をDCTと略記する)し、符号化のビット
レートや伝送バッファ内のバッファ残留量等によって決
定される量子化幅を基にした量子化器により、DcT係
数を量子化している。量子化された量子化変換係数や量
子化幅あるいはブロックの属性情報等を可変長符号化し
て、伝送すべき符号列を生成している。このとき量子化
変換係数の符号化には、ジグザグスキャンの順序で量子
化変換係数を走査し、00ラン長を伝送するランレング
ス符号化が行なわれる。Conventional technology The development of coding technology has been remarkable, coupled with the development of digital communication lines, and international standardization activities are actively being carried out. ! 5J89 Image Coding Lecture pp
, 43-48, pX 64kb
The ps (p=1-30) video encoding system is well known. Such a video encoding method performs discrete cosine transform (hereinafter, discrete cosine transform is abbreviated as DCT) on the inter-frame difference obtained by motion compensation prediction in block units of M pixels x N lines, and then encodes it. The DcT coefficients are quantized by a quantizer based on a quantization width determined by the bit rate of the transmission buffer, the amount of buffer remaining in the transmission buffer, and the like. The quantized transform coefficients, quantization width, block attribute information, etc. are variable-length encoded to generate a code string to be transmitted. At this time, the quantized transform coefficients are encoded by run-length encoding in which the quantized transform coefficients are scanned in a zigzag scan order and a 00 run length is transmitted.
以下、量子化器の量子化特性を示す第3図を用いて、量
子化器の従来技術を説明する。Hereinafter, the conventional technology of the quantizer will be explained using FIG. 3 showing the quantization characteristics of the quantizer.
第3図において、横軸は量子化前のDCT係数、縦軸は
量子化後のDOT係数、gは量子化幅である。全体的に
は、DOT係数をgごとに区切り、その中央の値を量子
化代表値とすることで、量子化誤差を軽減している。−
g−gの領域はデッドゾーンと呼ばれる領域で、DOT
係数に対する量子化代表値を0にしである。微小なりO
T係数を値0に量子化することで、値0の量子化変換係
数の数を増加させ、符号化効率を向上させている。In FIG. 3, the horizontal axis is the DCT coefficient before quantization, the vertical axis is the DOT coefficient after quantization, and g is the quantization width. Overall, quantization errors are reduced by dividing the DOT coefficients into g units and using the central value as the quantization representative value. −
The area g-g is called the dead zone, and the DOT
The quantization representative value for the coefficient is set to 0. Minute O
By quantizing the T coefficient to a value of 0, the number of quantized transform coefficients having a value of 0 is increased, and encoding efficiency is improved.
このため、バッファ残留量が低レベルとなり、以降のブ
ロックに対する量子化幅gの値を小さくすることができ
るので、画質の向上につながっている。量子化代表値を
量子化幅と係数iの積に分解したとき、係数iを四捨五
入した値を量子化インデックスと呼ぶと、量子化器は、
DCT係数と量子化幅を入力とし、量子化代表値あるい
は量子化インデックスを出力とし、内部に第3図の変換
テーブルを記憶しているROMを持つことで容易に構成
できる。Therefore, the remaining buffer amount becomes low level, and the value of the quantization width g for subsequent blocks can be reduced, leading to improvement in image quality. When the quantization representative value is decomposed into the product of the quantization width and the coefficient i, and the value obtained by rounding off the coefficient i is called the quantization index, the quantizer is
The DCT coefficient and quantization width are input, the quantization representative value or the quantization index is output, and the configuration can be easily configured by having a ROM internally storing the conversion table shown in FIG. 3.
発明が解決しようとする課題
動き補償予測とDCTを組合せる動画像符号化方式では
、動領域と静止領域の境界領域にモスキードノイズとよ
ばれる微小ノイズが発生し、再生画像の画質を劣化させ
ることがある。このモスキードノイズは、DCT係数の
中域成分に大きく依存しており、DOT係数の中域成分
が失われると、モスキードノイズが顕著になる。しかも
、DCT係数の中域成分の大半は10程度であり、64
kbps等の低ピクトレートで動画像を符号化する場
合の平均的な量子化幅に比べると、大きくない。従って
従来技術では、DOT係数の中域成分がデッドゾーンに
含まれて値0に量子化され、その程度に応じて再生画像
にモスキードノイズが現れるという問題があった。Problems to be Solved by the Invention In a video encoding method that combines motion compensation prediction and DCT, minute noise called mosquito noise occurs in the boundary area between a moving region and a still region, degrading the image quality of the reproduced image. Sometimes. This mosquito noise largely depends on the mid-range component of the DCT coefficient, and when the mid-range component of the DOT coefficient is lost, the mosquito noise becomes noticeable. Moreover, most of the mid-range components of the DCT coefficient are around 10, which is 64
This is not large compared to the average quantization width when encoding a moving image at a low pictorate such as kbps. Therefore, in the prior art, there is a problem in that the mid-range component of the DOT coefficient is included in the dead zone and quantized to a value of 0, and mosquito noise appears in the reproduced image depending on the degree of quantization.
本発明は、以上のような課題に鑑み、DCT係数の中域
成分を量子化する場合には、量子化幅を小さい値に変え
て、0に量子化され難くすることにより、モスキードノ
イズの発生を抑制しようとするものである。In view of the above-mentioned problems, the present invention reduces mosquito noise by changing the quantization width to a small value to make it difficult to be quantized to 0 when quantizing mid-range components of DCT coefficients. This is an attempt to suppress the outbreak.
課題を解決するための手段
この目的を達成するために、本発明は、外部から与えら
れた量子化幅で量子化するデッドゾーン付き量子化手段
と、量子化幅からオフセット値を減算する減算手段と、
量子化幅とオフセラ)値を減算した量子化幅を選択する
選択手段を設けるように構成されている。Means for Solving the Problems To achieve this object, the present invention provides quantization means with a dead zone that quantizes with an externally given quantization width, and subtraction means that subtracts an offset value from the quantization width. and,
A selection means is provided for selecting a quantization width obtained by subtracting the quantization width and offset value.
作用
本発明は、上記構成により、DOT係数の中域成分を量
子化する場合には、与えられた量子化幅よりも小さい量
子化幅で量子化することにより、DOT係数の中域成分
が値0に量子化されることを防いで、モスキードノイズ
の発生を抑制するように作用する。Effects According to the present invention, when the mid-range component of the DOT coefficient is quantized with the above configuration, the mid-range component of the DOT coefficient is quantized with a smaller quantization width than a given quantization width. It prevents quantization to 0 and acts to suppress the generation of mosquito noise.
実施例
第1図は、本発明による量子化器の一実施例を示すブロ
ック構成図である。Embodiment FIG. 1 is a block diagram showing an embodiment of a quantizer according to the present invention.
第1図において、1は量子化幅を入力する入力端子、2
はジグザグスキャンの順序にそってDOT係数を入力す
る入力端子、3は値0を設定するスイッチ、4はDOT
係数の中域成分に対する量子化幅のオフセット値を設定
するスイッチ、6はスイッチ3お工びスイッチ4の出力
を入力とするセレクタ、6は入力端子1とセレクタ6の
出力を入力とする差分器、7はセレクタ6に選択信号を
出力するセレクタ制御回路、8は差分器6の出力と入力
端子2の出力をアドレス入力とする変換ROMである。In FIG. 1, 1 is an input terminal for inputting the quantization width, 2
is an input terminal to input the DOT coefficient according to the order of zigzag scan, 3 is a switch to set the value 0, 4 is DOT
A switch that sets the offset value of the quantization width for the mid-range component of the coefficient, 6 is a selector that receives the output of switch 3 and switch 4 as input, and 6 is a difference device that receives the output of input terminal 1 and selector 6 as input. , 7 is a selector control circuit that outputs a selection signal to the selector 6, and 8 is a conversion ROM whose address inputs are the output of the differentiator 6 and the output of the input terminal 2.
以上のような構成において、以下その動作を説明する。The operation of the above configuration will be explained below.
スイッチ3には、中域成分以外のDOT係数に対する量
子化幅のオフセットとして値0を設定する。スイッチ4
には、中域成分に対する量子化幅のオフセット値tを設
定するが、その値は符号化ビットレート等に依存する。A value of 0 is set in the switch 3 as an offset of the quantization width for DOT coefficients other than mid-range components. switch 4
, an offset value t of the quantization width for the mid-range component is set, but the value depends on the encoding bit rate and the like.
セレクタ制御回路7は、入力端子2から入力するDOT
係数が中域成分か否かを判定し、その結果をセレクタ6
に通知する。その具体的な構成は、DOT係数に付随す
るクロックを計数する2種類のカウンタと、その2種類
のカウンタの計数終了タイミングでセット/リセットす
るフリップ70ツブ等によって容易に実現できる。The selector control circuit 7 receives the DOT input from the input terminal 2.
Determine whether the coefficient is a mid-range component or not, and send the result to selector 6
to notify. Its specific configuration can be easily realized using two types of counters that count clocks associated with DOT coefficients, and a flip 70 knob that is set/reset at the timing when the two types of counters finish counting.
ここで、DOT係数の中域成分としては、1ブロツクを
8画素×8ラインとした場合では、ジグザグスキャンの
順序で8〜20番目程度の領域が目安である。セレクタ
6は、セレクタ制御回路アが出力する制御信号をもとに
、スイッチ3あるいはスイッチ4の出力を選択して、オ
フセクト値Sとして差分器6に出力する。差分器6は、
入力端子1から入力する量子化幅からオフセクト値Sを
減算し、その演算結果を変換ROMBに出力する。Here, when one block is made up of 8 pixels x 8 lines, the mid-range component of the DOT coefficient is approximately the 8th to 20th area in the zigzag scan order. The selector 6 selects the output of the switch 3 or the switch 4 based on the control signal output by the selector control circuit A, and outputs the selected output as an offset value S to the differentiator 6. The differentiator 6 is
The offset value S is subtracted from the quantization width input from the input terminal 1, and the calculation result is output to the conversion ROMB.
変換ROMBには、従来技術と同様に第3図の特性に基
づく変換テーブルが記憶されており、差分器6の出力と
入力端子2から入力するDOT係数をアドレス入力とし
て、量子化代表値あるいは量子化インデックスを出力す
る。The conversion ROMB stores a conversion table based on the characteristics shown in FIG. 3, as in the prior art, and uses the output of the differentiator 6 and the DOT coefficient input from the input terminal 2 as address inputs to convert the quantized representative value or quantum output index.
変換ROMBから量子化インデックスを出力し、以後の
処理で入力端子1から入力する量子化幅と量子化インデ
ックスとの積をとって量子化代表値を再生するように動
画像符号化・復号化装置を構成した場合には、DOT係
数の中域成分に対する量子化特性が第2図に示すように
なる。The video encoding/decoding device outputs the quantization index from the conversion ROMB, and reproduces the quantization representative value by calculating the product of the quantization width input from input terminal 1 and the quantization index in subsequent processing. When configured, the quantization characteristics for the mid-range components of the DOT coefficients are as shown in FIG.
第2図において、横軸は量子化前のDCT係数、縦軸は
量子化後のDCT係数、gは入力端子1から入力する量
子化幅、fはgからDCT係数の中域成分に対する量子
化幅のオフセット値tを減算した値である。第2図に示
すように、量子化前のDOT係数が大きくなるにしたが
って、量子化誤差が大きくなる。しかし、DCT係数の
中域成分の大半は10程度の値であるので、量子化誤差
はそれほど大きな値になり得す、量子化誤差による新た
なノイズが発生することはない。In Figure 2, the horizontal axis is the DCT coefficient before quantization, the vertical axis is the DCT coefficient after quantization, g is the quantization width input from input terminal 1, and f is the quantization from g to the mid-range component of the DCT coefficient. This is the value obtained by subtracting the width offset value t. As shown in FIG. 2, as the DOT coefficient before quantization becomes larger, the quantization error becomes larger. However, since most of the mid-range components of the DCT coefficients have a value of about 10, no new noise is generated due to the quantization error, which can have a very large value.
発明の効果
本発明によれば、外部から与えられた量子化幅で量子化
するデッドゾーン付き量子化手段と、量子化幅からオフ
セクト値を減算する減算手段と、量子化幅とオフセット
値を減算した量子化幅を選択する選択手段を設けるよう
に構成したので、DCT係数の中域成分を量子化する場
合には、量子化幅を小さい値に変えて、0に量子化され
難くすることにより、モスキードノイズの発生を抑制す
ることができる。Effects of the Invention According to the present invention, a quantization means with a dead zone that quantizes with an externally given quantization width, a subtraction means that subtracts an offset value from the quantization width, and a subtraction means that subtracts the quantization width and the offset value. Since the configuration is provided with a selection means for selecting the quantization width, when quantizing the mid-range component of the DCT coefficient, the quantization width is changed to a small value to make it difficult to be quantized to 0. , generation of mosquito noise can be suppressed.
第1図は本発明による量子化器の一実施例を示すブロッ
ク結線図、第2図は本発明による量子化器の一実施例の
量子化特性を示す特性図、第3図は従来の量子化器およ
び本発明による量子化器の量子化特性を示す特性図であ
る。
6・・・セレクタ、6・・・差分器、7・・・セレクタ
制御回路、8・・・変換ROM。
代理人の氏名 弁理士 粟 野 重 孝 ほか1名第2
図
/
第
図FIG. 1 is a block diagram showing an embodiment of a quantizer according to the present invention, FIG. 2 is a characteristic diagram showing quantization characteristics of an embodiment of a quantizer according to the present invention, and FIG. 3 is a diagram showing a conventional quantizer. FIG. 3 is a characteristic diagram showing quantization characteristics of a quantizer and a quantizer according to the present invention. 6...Selector, 6...Differentiator, 7...Selector control circuit, 8...Conversion ROM. Name of agent: Patent attorney Shigetaka Awano and 1 other person 2nd
Figure / Diagram
Claims (1)
付き量子化手段と、前記量子化幅からオフセット値を減
算する減算手段と、前記量子化幅と前記オフセット値を
減算した量子化幅を選択する選択手段を具備することを
特徴とする量子化器。A quantization unit with a dead zone that quantizes with an externally given quantization width, a subtraction unit that subtracts an offset value from the quantization width, and a quantization width that is obtained by subtracting the quantization width and the offset value. A quantizer characterized by comprising a selection means for selecting.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2148289A JPH0440188A (en) | 1990-06-05 | 1990-06-05 | Quantizer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2148289A JPH0440188A (en) | 1990-06-05 | 1990-06-05 | Quantizer |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0440188A true JPH0440188A (en) | 1992-02-10 |
Family
ID=15449444
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2148289A Pending JPH0440188A (en) | 1990-06-05 | 1990-06-05 | Quantizer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0440188A (en) |
-
1990
- 1990-06-05 JP JP2148289A patent/JPH0440188A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0899959B1 (en) | Image data coding and restoring method and apparatus for coding and restoring the same | |
| JP2891772B2 (en) | Digital image coding method using random scanning of image frames | |
| CN1327395C (en) | Method and system for context-based adaptive binary arithmetic coding | |
| US6249546B1 (en) | Adaptive entropy coding in adaptive quantization framework for video signal coding systems and processes | |
| KR100801364B1 (en) | Decoding device or encoding device in which an intermediate buffer is inserted between an arithmetic code decoder or encoder and an inverse binary converter or a binary converter | |
| JP2630809B2 (en) | Video image transmission system | |
| US6912318B2 (en) | Method and system for compressing motion image information | |
| JP2009165144A (en) | Method and apparatus for encoding transform coefficients in image and / or video encoder and decoder and corresponding computer program and corresponding computer readable storage medium | |
| JP2000125297A (en) | Method for coding and decoding consecutive image | |
| JPH0746594A (en) | Encoding method and apparatus thereof | |
| JPH08275169A (en) | Digital video signal encoder | |
| JPH05505080A (en) | Method and apparatus for processing digital image sequences | |
| JPH0787491A (en) | Quantization device, dequantization device, image processing device, quantization method, dequantization method, and image processing method | |
| JP2002064821A (en) | Method for compressing dynamic image information and its system | |
| JPH0440188A (en) | Quantizer | |
| JPH0440118A (en) | Quantizer | |
| JP2000165873A (en) | Moving image information compression method and system | |
| JPH03140074A (en) | Video encoding device | |
| JPS6326951B2 (en) | ||
| JPH05284369A (en) | Image data encoding / restoring method and apparatus thereof | |
| JPH0440189A (en) | Quantizer | |
| JP2000333180A (en) | Skip macro block inhibit control method, skip macro block inhibit controller and medium recording skip macro block inhibit control program | |
| JP3652889B2 (en) | Video encoding method, video encoding device, recording medium, and video communication system | |
| JP2836636B2 (en) | Encoding device and encoding method | |
| JPH04196791A (en) | quantization device |