JPH07264588A - Encoding device for video signal - Google Patents

Encoding device for video signal

Info

Publication number
JPH07264588A
JPH07264588A JP4892294A JP4892294A JPH07264588A JP H07264588 A JPH07264588 A JP H07264588A JP 4892294 A JP4892294 A JP 4892294A JP 4892294 A JP4892294 A JP 4892294A JP H07264588 A JPH07264588 A JP H07264588A
Authority
JP
Japan
Prior art keywords
overload
circuit
parameter
quantization step
step parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4892294A
Other languages
Japanese (ja)
Inventor
Tadashi Kasezawa
正 加瀬沢
Takashi Shinohara
隆 篠原
Takahiro Nakai
隆洋 中井
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP4892294A priority Critical patent/JPH07264588A/en
Publication of JPH07264588A publication Critical patent/JPH07264588A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To evade the deterioration of picture quality due to overload by controlling a quantizing step parameter so as not to generate overload based upon the size of a transformation parameter in a regulated picture area. CONSTITUTION:An overload evading parameter calculating circuit 15 calculates a minimum quantizing step parameter for preventing the generation of overload in a regulated picture area by prescribed operation based upon a coefficient transformed by a DCT circuit 4. An overload evading circuit 16 compares a quantizing step parameter inputted from a quantization control circuit 14 with the minimum quantizating step parameter inputted from the circuit 15, calculates a final quantizing step parameter and sends the parameter value to a quantizing circuit 5. Consequently the generation of overload can be evaded.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、映像信号の符号化装置
に関し、特に過負荷回避を目的とする映像信号符号化装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a video signal coding apparatus, and more particularly to a video signal coding apparatus for avoiding overload.

【0002】[0002]

【従来の技術】図3は例えばISO-IEC/JTC1/SC29/WG11 M
PEG 93/N0457 Test Model 5 に示された従来の映像信号
符号化装置を示すブロック回路図である。図において、
入力端子1から入力されたディジタル化された映像信号
は、減算器3の第1の入力および動き補償予測回路11
の第1の入力に与えられる。減算器3の出力は、DCT
回路4を介して量子化回路5の第1の入力に与えられ
る。量子化回路5の出力は、可変長符号化回路12を介
して送信バッファ13の入力に与えられるとともに、逆
量子化回路6およびIDCT回路7を介して加算器8の
第1の入力に与えられる。加算器8の出力は、メモリ回
路9の第1の入力に与えられ、メモリ回路9の出力は、
動き補償予測回路11の第2の入力および切り替え回路
10の第1の入力に与えられる。メモリ回路9の第2の
入力には、動き補償予測回路11の第1の出力が与えら
れる。
2. Description of the Related Art FIG. 3 shows, for example, ISO-IEC / JTC1 / SC29 / WG11 M.
FIG. 11 is a block circuit diagram showing a conventional video signal encoding device shown in PEG 93 / N0457 Test Model 5. In the figure,
The digitized video signal input from the input terminal 1 receives the first input of the subtractor 3 and the motion compensation prediction circuit 11
Given to the first input of. The output of the subtractor 3 is the DCT
It is provided to the first input of the quantizer 5 via the circuit 4. The output of the quantization circuit 5 is given to the input of the transmission buffer 13 via the variable length coding circuit 12, and is given to the first input of the adder 8 via the dequantization circuit 6 and the IDCT circuit 7. . The output of the adder 8 is given to the first input of the memory circuit 9, and the output of the memory circuit 9 is
It is provided to the second input of the motion compensation prediction circuit 11 and the first input of the switching circuit 10. The second output of the memory circuit 9 is supplied with the first output of the motion compensation prediction circuit 11.

【0003】一方、切り替え回路10の第2の入力に
は、ゼロ信号が与えられ、切り替え回路10の第3の入
力には、動き補償予測回路11の第2の出力が与えられ
る。切り替え回路10の出力は、減算器3の第2の入力
および加算器8の第2の入力に与えられる。一方、送信
バッファ13の第2の出力は量子化制御回路14を介し
て量子化回路5の第2の入力に与えられ、送信バッファ
13の第1の出力は、出力端子2より出力される。
On the other hand, the zero signal is given to the second input of the switching circuit 10, and the second output of the motion compensation prediction circuit 11 is given to the third input of the switching circuit 10. The output of the switching circuit 10 is given to the second input of the subtractor 3 and the second input of the adder 8. On the other hand, the second output of the transmission buffer 13 is given to the second input of the quantization circuit 5 via the quantization control circuit 14, and the first output of the transmission buffer 13 is output from the output terminal 2.

【0004】映像信号を符号化する場合の高能率符号化
方式の一つとして、動き補償予測を用いた画像間予測符
号化と画像内変換符号化を組み合わせたハイブリッド符
号化方式があり、この従来例も、上記ハイブリッド符号
化方式を採用している。
As one of high-efficiency coding systems for coding a video signal, there is a hybrid coding system which combines inter-picture predictive coding using motion compensation prediction and intra-picture transform coding. The example also employs the above hybrid coding scheme.

【0005】この従来例の概略動作を説明すると、ディ
ジタル化された入力信号は、時間軸方向の冗長度を落と
すために動き補償予測を用いて画像間の差分がとられ、
空間軸方向にDCTが施される。変換された係数は量子
化され、可変長符号化された後に、送信バッファを介し
て伝送される。
Explaining the outline of the operation of this conventional example, the digitized input signal is subjected to a difference between images by using motion compensation prediction in order to reduce redundancy in the time axis direction.
DCT is performed in the spatial axis direction. The transformed coefficients are quantized, variable-length coded, and then transmitted through a transmission buffer.

【0006】まず、量子化の基本概念について説明す
る。一般に、DCT等により変換された係数は、必ずし
も有限な桁数での表現が可能ではない。この係数を有限
な桁数にて表現することを量子化と言い、量子化による
離散値を量子化レベル、量子化レベルの間隔を量子化ス
テップと言う。また、量子化された係数の値を量子化イ
ンデクスと言う。符号化システムでは、この量子化イン
デクスが主な伝送の対象となる。このとき、量子化ステ
ップを大きくすれば、量子化された値はゼロあるいはゼ
ロに近い小さな値となり、結果的に伝送すべきデータ量
の減少につながることになる。
First, the basic concept of quantization will be described. In general, the coefficient converted by the DCT or the like cannot always be expressed with a finite number of digits. Representing this coefficient with a finite number of digits is called quantization, a discrete value by quantization is called a quantization level, and an interval between quantization levels is called a quantization step. The quantized coefficient value is called a quantization index. In a coding system, this quantized index is the main object of transmission. At this time, if the quantization step is increased, the quantized value becomes zero or a small value close to zero, and as a result, the amount of data to be transmitted is reduced.

【0007】以下、従来例における量子化について説明
する。この従来例における変換係数と量子化インデクス
の関係は、変換された係数をdとし、dの量子化インデ
クスをiとしたとき、 i=d/(2×mquant) ……(1) としている。このとき、演算子/は、除算した後に小数
点以下をゼロ方向に切り捨てる演算を示すものとする。
The quantization in the conventional example will be described below. The relationship between the transform coefficient and the quantization index in this conventional example is i = d / (2 × mquant) (1) where d is the transformed coefficient and i is the quantization index of d. At this time, the operator / indicates an operation of truncating the fractional part in the zero direction after division.

【0008】(1)式におけるmquantは量子化ス
テップパラメータと呼ばれる変数であり、上記量子化ス
テップと同等の意味を持つ。すなわち、mquantを
大きくすれば、伝送すべきデータ量の減少につながる。
また、mquantは、一般にある定義された画素ブロ
ック単位(以下、これを「規定画素領域」という)で変
更することが可能である。
The mquant in the equation (1) is a variable called a quantization step parameter and has the same meaning as the above quantization step. That is, increasing mquant leads to a decrease in the amount of data to be transmitted.
In addition, mquant can be changed in units of a certain defined pixel block (hereinafter, this is referred to as a “specified pixel area”).

【0009】従来例では、たとえば、画面上において1
6画素×16ラインからなるマクロブロックという名の
ブロックを規定画素領域としている。すなわち、マクロ
ブロック単位でmquantの変更が可能である。一般
に、映像信号符号化システムにおいて伝送レートは規定
されるため、従来例ではmquantの大きさを適宜変
えることで発生符号量の制御を実現している。
In the conventional example, for example, 1 is displayed on the screen.
A block called a macro block consisting of 6 pixels × 16 lines is used as a specified pixel area. That is, the mquant can be changed in macroblock units. Generally, since the transmission rate is regulated in the video signal encoding system, in the conventional example, the generated code amount is controlled by appropriately changing the size of mquant.

【0010】また、従来例においては、変換係数dは1
2ビットと定義されており、その値の範囲は以下のよう
に定義されている。 −2048≦d≦2047 ……(2)
Further, in the conventional example, the conversion coefficient d is 1
It is defined as 2 bits, and its value range is defined as follows. -2048 ≦ d ≦ 2047 (2)

【0011】また、量子化インデクスiは9ビットと定
義されており、その値の範囲は以下のように定義されて
いる。(ただし、すべての量子化インデクスではない) −255≦i≦255 ……(3)
The quantization index i is defined as 9 bits, and the range of its value is defined as follows. (However, not all the quantization indexes) -255≤i≤255 (3)

【0012】このとき、mquant=1あるいはmq
uant=2のときには、上記(3)式の条件を満たす
量子化インデックスiにて、すべての変換係数dを表わ
すことができない。たとえば、mquant=1のと
き、(3)式は以下のように書くことができる。 −510≦i×2×mquant≦510 ……(4)
At this time, mquant = 1 or mq
When uant = 2, not all transform coefficients d can be represented by the quantization index i that satisfies the condition of the above expression (3). For example, when mquant = 1, the equation (3) can be written as follows. −510 ≦ i × 2 × mquant ≦ 510 (4)

【0013】また、(1)式および(4)式より、 −511≦d≦511 ……(5) となる。すなわち、mquant=1においては、
(5)式の条件の範囲外の変換係数dを通達することが
できないということになる。
From equations (1) and (4), −511 ≦ d ≦ 511 (5) That is, in mquant = 1,
This means that the conversion coefficient d outside the range of the condition of the expression (5) cannot be communicated.

【0014】このように、あるmquantが設定され
た動作状態において、定義された範囲内の量子化インデ
クスでは、その係数値をカバーできないような変換係数
が発生することを過負荷が発生すると言う。
As described above, in an operating state in which a certain mquantt is set, a quantization coefficient within a defined range generates a transform coefficient that cannot cover the coefficient value, which is called overload.

【0015】[0015]

【発明が解決しようとする課題】従来の映像信号符号化
装置では、過負荷発生に関する処理方式に関して特に言
及していなかった。すなわち、量子化インデクスにて通
達できる範囲内でしか変換係数を通達できず、その範囲
外の変換係数が発生した場合にはリミットされた値が通
達されるため、顕著な画質劣化を誘発していた。
In the conventional video signal encoding device, no particular reference was made to the processing method relating to the occurrence of overload. In other words, the conversion coefficient can be notified only within the range that can be notified by the quantization index, and when the conversion coefficient outside the range is notified, the limited value is notified, which causes remarkable image quality deterioration. It was

【0016】この発明は上記のような問題点を解消する
ためになされたもので、過負荷の発生を回避することが
できる映像信号符号化装置を得ることを目的とする。
The present invention has been made to solve the above problems, and an object of the present invention is to obtain a video signal coding apparatus capable of avoiding the occurrence of overload.

【0017】[0017]

【課題を解決するための手段】この発明に係る映像信号
符号化装置は、当該規定画像領域における変換係数の大
きさに基づき当該規定画像領域において過負荷を生じさ
せない最小の量子化ステップパラメータを算出し、過負
荷回避を考慮しないで当該規定画像領域に設定された量
子化ステップパラメータと上記最小の量子化ステップパ
ラメータとを比較し、上記過負荷回避を考慮しないで当
該規定画像領域に設定された量子化ステップパラメータ
が上記最小の量子化ステップパラメータよりも小さい場
合には当該規定画像領域の量子化ステップパラメータを
上記最小の量子化ステップパラメータに変更するように
したものである。
A video signal coding apparatus according to the present invention calculates a minimum quantization step parameter that does not cause an overload in a specified image area based on the size of a transform coefficient in the specified image area. However, the quantization step parameter set in the specified image area without considering the overload avoidance is compared with the minimum quantization step parameter, and it is set in the specified image area without considering the overload avoidance. When the quantization step parameter is smaller than the minimum quantization step parameter, the quantization step parameter of the specified image area is changed to the minimum quantization step parameter.

【0018】また、当該規定画像領域における変換対象
画像のパワーの大きさに基づき当該規定画像領域におい
て過負荷を生じさせない最小の量子化ステップパラメー
タを算出し、過負荷回避を考慮しないで当該規定画像領
域に設定された量子化ステップパラメータと上記最小の
量子化ステップパラメータとを比較し、上記過負荷回避
を考慮しないで当該規定画像領域に設定された量子化ス
テップパラメータが上記最小の量子化ステップパラメー
タよりも小さい場合には当該規定画像領域の量子化ステ
ップパラメータを上記最小の量子化ステップパラメータ
に変更するようにしたものである。
Further, the minimum quantization step parameter that does not cause overload in the specified image area is calculated based on the power of the conversion target image in the specified image area, and the specified image is considered without avoiding overload avoidance. The quantization step parameter set in the area is compared with the minimum quantization step parameter, and the quantization step parameter set in the specified image area is the minimum quantization step parameter without considering the overload avoidance. If it is smaller than the above, the quantization step parameter of the specified image area is changed to the minimum quantization step parameter.

【0019】[0019]

【作用】この発明における映像信号符号化装置は、符号
化処理の途上において、DCTの出力に基づいて過負荷
回避パラメータを算出し、その結果を過負荷回避回路を
経由して量子化回路にフィードフォワードし、変換係数
の大きさに基づき過負荷を生じないように量子化回路の
量子化ステップパラメータを制御する。
The video signal encoding device according to the present invention calculates the overload avoidance parameter based on the output of the DCT during the encoding process and feeds the result to the quantization circuit via the overload avoidance circuit. Forward, and controls the quantization step parameter of the quantization circuit based on the size of the transform coefficient so as not to cause overload.

【0020】また、符号化処理の途上で変換対象画像に
基づいて過負荷回避パラメータを算出し、その結果を過
負荷回避回路を経由して量子化回路にフィードフォワー
ドし、変換対象画像のパワーの大きさに基づき過負荷を
生じないように量子化ステップパラメータを制御する。
Also, during the encoding process, an overload avoidance parameter is calculated based on the image to be converted, and the result is fed forward to the quantizing circuit via the overload avoiding circuit to determine the power of the image to be converted. The quantization step parameter is controlled based on the magnitude so as not to cause overload.

【0021】[0021]

【実施例】【Example】

実施例1.図1はこの発明の第1の実施例1のブロック
回路図で、図3と同一符号はそれぞれ同一または相当部
分を示している。図において、15は過負荷回避パラメ
ータ算出回路、16は過負荷回避回路で、DCT回路4
の出力は量子化回路5の第1の入力および過負荷回避パ
ラメータ算出回路15に与えられ、過負荷回避回路16
の第1の入力には量子化制御回路14の出力が与えら
れ、過負荷回路16の第2の入力には、過負荷回避パラ
メータ算出回路15の出力が与えられる。
Example 1. 1 is a block circuit diagram of a first embodiment 1 of the present invention, and the same reference numerals as those in FIG. 3 denote the same or corresponding portions. In the figure, 15 is an overload avoidance parameter calculation circuit, 16 is an overload avoidance circuit, and the DCT circuit 4
Is given to the first input of the quantization circuit 5 and the overload avoidance parameter calculation circuit 15, and the overload avoidance circuit 16
The output of the quantization control circuit 14 is given to the first input of the above, and the output of the overload avoidance parameter calculation circuit 15 is given to the second input of the overload circuit 16.

【0022】以下、実施例1の動作について説明する。
過負荷回避パラメータ算出回路15は、DCT回路4に
て変換された係数に基づき、以下のように規定画像領域
において過負荷を生じさせない最小の量子化ステップパ
ラメータを算出する。
The operation of the first embodiment will be described below.
The overload avoidance parameter calculation circuit 15 calculates the minimum quantization step parameter that does not cause overload in the specified image area as follows based on the coefficient converted by the DCT circuit 4.

【0023】規定画像領域におけるある変換係数をdx
としたとき、dxに対して過負荷を生じさせないmqu
antの最小値は、従来例における(1)式のような量
子化特性に対応して一意に定まる。この過負荷を生じさ
せないmquantの最小値をminxとする。このと
き、規定画像領域におけるすべてのminxの最大値を
limitとすれば、当該規定画像領域においては、m
quant≧limitと規定すれば過負荷は発生しな
いことになる。
A certain conversion coefficient in the specified image area is dx
, Mq that does not cause overload on dx
The minimum value of ant is uniquely determined in accordance with the quantization characteristic as in the expression (1) in the conventional example. The minimum value of mquantt that does not cause this overload is minx. At this time, if the maximum value of all minx in the specified image area is limit, m is set in the specified image area.
If quant ≧ limit is defined, overload will not occur.

【0024】過負荷回避パラメータ算出回路15は、上
記limitを算出し、過負荷回避回路16に送出す
る。過負荷回避回路16では、量子化制御回路14より
入力されたmquantと上記limitを比較して以
下のように最終的なmquantを算出し、量子化回路
5にその値を送出する。 IF mquant<limit THEN (最終的なmquant)=limit ELSE (最終的なmquant)=mquant
The overload avoidance parameter calculation circuit 15 calculates the limit and sends it to the overload avoidance circuit 16. The overload avoidance circuit 16 compares the mquantt input from the quantization control circuit 14 with the limit, calculates the final mquantt as follows, and sends the value to the quantization circuit 5. IF mquant <limit THEN (final mquant) = limit ELSE (final mquant) = mquant

【0025】なお、実施例1では、映像信号符号化装置
について述べたがこれに限らず、映像信号符号化方式に
も適用できる。
In the first embodiment, the video signal coding apparatus has been described, but the present invention is not limited to this and can be applied to a video signal coding system.

【0026】また、実施例1では、DCTを用いた場合
について述べたがこれに限らず、他の変換を用いた場合
にも適用できる。
In the first embodiment, the case where the DCT is used has been described, but the present invention is not limited to this, and can be applied to the case where another conversion is used.

【0027】実施例2.図2はこの発明の実施例2のブ
ロック回路図で、図1と同一符号はそれぞれ同一または
相当部分を示している。図において、17は過負荷回避
パラメータ算出回路で、減算器3の出力はDCT回路4
および過負荷回避パラメータ算出回路17に与えられ、
過負荷回避回路16の第1の入力には量子化制御回路1
4の出力が与えられ、過負荷回路16の第2の入力に
は、過負荷回避パラメータ算出回路17の出力が与えら
れる。
Example 2. 2 is a block circuit diagram of a second embodiment of the present invention, and the same reference numerals as those in FIG. 1 denote the same or corresponding portions. In the figure, 17 is an overload avoidance parameter calculation circuit, and the output of the subtractor 3 is the DCT circuit 4
And given to the overload avoidance parameter calculation circuit 17,
The first input of the overload avoidance circuit 16 is the quantization control circuit 1
4 is given, and the output of the overload avoidance parameter calculation circuit 17 is given to the second input of the overload circuit 16.

【0028】以下、実施例2の動作について説明する。
過負荷回避パラメータ算出回路17は、DCT変換する
前の信号のパワーに基づき、以下のように規定画像領域
において過負荷を生じさせない最小の量子化ステップパ
ラメータを算出する。
The operation of the second embodiment will be described below.
The overload avoidance parameter calculation circuit 17 calculates the minimum quantization step parameter that does not cause overload in the specified image area as follows based on the power of the signal before the DCT conversion.

【0029】一般に、規定画像領域における変換前後の
信号のパワーは保存されるため、過負荷を生ずる場合に
は、変換前の信号のパワーは、ある一定値を越えること
になる。本実施例ではこの条件を利用する。
In general, the power of the signal before and after conversion in the specified image area is preserved, so that in the case of overload, the power of the signal before conversion exceeds a certain fixed value. In this embodiment, this condition is used.

【0030】一般に、動き補償予測を用いた画像間予測
符号化と画像内変換符号化を組み合わせたハイブリッド
符号化の場合、入力画像および画像間の差信号の2種類
の信号が変換の対象となる。以下、これを「変換対象画
像」と呼ぶこととする。一般に、変換対象画像として上
記入力画像を取り扱う場合、変換後の直流成分(DC成
分)は、交流成分(AC成分)とは異なり、過負荷の生
じない量子化を行う。そのため、上記入力画像の場合と
上記画像間の差信号の場合とでは、パワーの算出手法お
よび過負荷検出手法を変える必要がある。
Generally, in the case of hybrid coding in which inter-picture predictive coding using motion-compensated prediction and intra-picture transform coding are combined, two types of signals, that is, an input picture and a difference signal between pictures, are subject to conversion. . Hereinafter, this will be referred to as a “conversion target image”. In general, when the input image is treated as a conversion target image, the converted direct current component (DC component) is different from the alternating current component (AC component) and is quantized without causing overload. Therefore, it is necessary to change the power calculation method and the overload detection method between the case of the input image and the case of the difference signal between the images.

【0031】変換対象画像が入力画像の場合、過負荷
は、たとえば以下のように検出される。規定画像領域を
画面上においてM画素×Nラインからなるブロックと想
定し、当該規定画像領域における第i画素第j列の画素
値をpix(i,j)とする。このとき、入力画像のパ
ワーpowerpixを、
When the image to be converted is the input image, the overload is detected as follows, for example. It is assumed that the specified image area is a block composed of M pixels × N lines on the screen, and the pixel value of the i-th pixel and the j-th column in the specified image area is pix (i, j). At this time, the power of the input image, powerpix,

【0032】[0032]

【数1】 [Equation 1]

【0033】とし、以下のように過負荷を検出する。 IF powerpix ≧ Kpix THEN (過負荷である) このとき、Kpixは、定数である。Then, the overload is detected as follows. IF powerpix ≧ Kpix THEN (overload) At this time, Kpix is a constant.

【0034】また、変換対象画像が画像間の差信号の場
合、過負荷は、たとえば以下のように検出される。規定
画像領域を画面上においてM画素×Nラインからなるブ
ロックと想定し、当該規定画像領域における第i画素第
j列の差信号値をdif(i,j)とする。このとき、
入力画像のパワーpowerdifを、
When the image to be converted is a difference signal between images, overload is detected as follows, for example. It is assumed that the specified image area is a block composed of M pixels × N lines on the screen, and the difference signal value of the i-th pixel and the j-th column in the specified image area is dif (i, j). At this time,
The power of the input image, powerdif,

【0035】[0035]

【数2】 [Equation 2]

【0036】とし、以下のように過負荷を検出する。 IF powedif≧Kdif THEN (過負荷である) このとき、Kdifは、定数である。Then, the overload is detected as follows. IF powered ≧ Kdif THEN (overload) At this time, Kdif is a constant.

【0037】過負荷回避パラメータ算出回路17では、
上記のように過負荷を検出した場合には、定義された範
囲内のすべての変換係数に対して、過負荷を生じさせな
いようなmquantの最小値limitを過負荷回避
回路16に送出する。この最小値limitは、従来例
における(1)式のような量子化特性に応じて一意に定
まる。また、過負荷が検出されない場合には、limi
t=1を送出するものとする。
In the overload avoidance parameter calculation circuit 17,
When the overload is detected as described above, the minimum value limit of mquant that does not cause the overload is sent to the overload avoidance circuit 16 for all the conversion coefficients within the defined range. This minimum value limit is uniquely determined according to the quantization characteristic as in the expression (1) in the conventional example. Also, if no overload is detected, the limi
Assume that t = 1 is sent.

【0038】過負荷回避回路16では、量子化制御回路
14より入力されたmquantと上記limitを比
較し、以下のように最終的なmquantを算出し、量
子化回路5にその値を送出する。 IF mquant<limit THEN (最終的なmquant)=limit ELSE (最終的なmquant)=mquant
The overload avoidance circuit 16 compares the mquantt input from the quantization control circuit 14 with the above limit, calculates the final mquantt as follows, and sends the value to the quantization circuit 5. IF mquant <limit THEN (final mquant) = limit ELSE (final mquant) = mquant

【0039】なお、実施例2では、映像信号符号化装置
について述べたがこれに限らず、映像信号符号化方式に
も適用できる。
In the second embodiment, the video signal coding apparatus has been described, but the present invention is not limited to this and can be applied to a video signal coding system.

【0040】また、実施例2では、DCTを用いた場合
について述べたがこれに限らず、他の変換を用いた場合
にも適用できる。
In the second embodiment, the case where the DCT is used has been described, but the present invention is not limited to this, and the present invention can be applied to the case where another conversion is used.

【0041】[0041]

【発明の効果】以上のようにこの発明によれば、符号化
処理の途上で、当該規定領域における変換係数の大きさ
に基づいて過負荷を生じないように量子化ステップパラ
メータを制御するので、過負荷による画質劣化を回避で
きる映像信号符号化装置を得る効果がある。
As described above, according to the present invention, the quantization step parameter is controlled during the encoding process so as not to cause an overload based on the size of the transform coefficient in the specified region. There is an effect of obtaining a video signal encoding device capable of avoiding image quality deterioration due to overload.

【0042】また、符号化処理の途上で当該規定領域に
おける変換対象画像のパワーの大きさに基づいて過負荷
を生じないように量子化ステップパラメータを制御する
ので、過負荷による画質劣化を回避できる映像信号符号
化装置を得る効果がある。
Further, since the quantization step parameter is controlled so as not to cause an overload on the basis of the power of the image to be converted in the specified area in the course of the encoding process, the deterioration of the image quality due to the overload can be avoided. There is an effect of obtaining a video signal encoding device.

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

【図1】本発明の実施例1のブロック回路図である。FIG. 1 is a block circuit diagram of a first embodiment of the present invention.

【図2】本発明の実施例2のブロック回路図である。FIG. 2 is a block circuit diagram of a second embodiment of the present invention.

【図3】従来の映像信号符号化装置のブロック回路図で
ある。
FIG. 3 is a block circuit diagram of a conventional video signal encoding device.

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

3 減算器 4 DCT回路 5 量子化回路 6 逆量子化回路 7 IDCT回路 8 加算器 9 メモリ回路 10 切り換え回路 11 動き補償予測回路 12 可変長符号化回路 13 送信バッファ 14 量子化制御回路 15 過負荷回避パラメータ算出回路 16 過負荷回避回路 17 過負荷回避パラメータ算出回路 3 Subtractor 4 DCT circuit 5 Quantization circuit 6 Inverse quantization circuit 7 IDCT circuit 8 Adder 9 Memory circuit 10 Switching circuit 11 Motion compensation prediction circuit 12 Variable length coding circuit 13 Transmission buffer 14 Quantization control circuit 15 Overload avoidance Parameter calculation circuit 16 Overload avoidance circuit 17 Overload avoidance parameter calculation circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 規定画像領域単位で量子化ステップパラ
メータの変更が可能な量子化回路を持つ映像信号符号化
装置であって、当該規定画像領域における変換係数の大
きさに基づき当該規定画像領域において過負荷を生じさ
せない最小の量子化ステップパラメータを算出する第1
の過負荷回避パラメータ算出回路と、過負荷回避を考慮
しないで当該規定画像領域に設定された量子化ステップ
パラメータと上記第1の過負荷回避パラメータ算出回路
の出力である上記最小の量子化ステップパラメータとを
比較し上記過負荷回避を考慮せずに当該規定画像領域に
設定された量子化ステップパラメータが上記最小の量子
化ステップパラメータよりも小さい場合には当該規定画
像領域の量子化ステップパラメータを上記最小の量子化
ステップパラメータに変更する過負荷回避手段を備えた
ことを特徴とする映像信号符号化装置。
1. A video signal coding apparatus having a quantization circuit capable of changing a quantization step parameter in units of a specified image area, wherein the specified image area is based on the size of a transform coefficient in the specified image area. First calculation of minimum quantization step parameter that does not cause overload
Of the overload avoidance parameter calculation circuit, the quantization step parameter set in the specified image area without considering the overload avoidance, and the minimum quantization step parameter output from the first overload avoidance parameter calculation circuit. If the quantization step parameter set in the specified image area is smaller than the minimum quantization step parameter without considering the above overload avoidance, the quantization step parameter of the specified image area is set to A video signal coding apparatus, comprising: an overload avoiding means for changing to a minimum quantization step parameter.
【請求項2】 規定画像領域単位で量子化ステップパラ
メータの変更が可能な量子化回路を持つ映像信号符号化
装置であって、当該規定画像領域における変換対象画像
のパワーの大きさに基づき当該規定画像領域において過
負荷を生じさせない最小の量子化ステップパラメータを
算出する第2の過負荷回避パラメータ算出回路と、過負
荷回避を考慮しないで当該規定画像領域に設定された量
子化ステップパラメータと上記第2の過負荷回避パラメ
ータ算出回路の出力である上記最小の量子化ステップパ
ラメータとを比較し上記過負荷回避を考慮しないで当該
規定画像領域に設定された量子化ステップパラメータが
上記最小の量子化ステップパラメータよりも小さい場合
には当該規定画像領域の量子化ステップパラメータを上
記最小の量子化ステップパラメータに変更する過負荷回
避手段を備えたことを特徴とする映像信号符号化装置。
2. A video signal encoding device having a quantization circuit capable of changing a quantization step parameter for each specified image area, wherein said specified image area is defined based on a power of a conversion target image in the specified image area. A second overload avoidance parameter calculation circuit that calculates a minimum quantization step parameter that does not cause overload in the image region, a quantization step parameter set in the specified image region without considering overload avoidance, and 2 is compared with the minimum quantization step parameter output from the overload avoidance parameter calculation circuit, and the quantization step parameter set in the specified image area is the minimum quantization step parameter without considering the overload avoidance. If it is smaller than the parameter, set the quantization step parameter of the specified image area to the minimum quantization step above. A video signal encoding device, comprising: an overload avoiding means for changing to an up parameter.
JP4892294A 1994-03-18 1994-03-18 Encoding device for video signal Pending JPH07264588A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4892294A JPH07264588A (en) 1994-03-18 1994-03-18 Encoding device for video signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4892294A JPH07264588A (en) 1994-03-18 1994-03-18 Encoding device for video signal

Publications (1)

Publication Number Publication Date
JPH07264588A true JPH07264588A (en) 1995-10-13

Family

ID=12816755

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4892294A Pending JPH07264588A (en) 1994-03-18 1994-03-18 Encoding device for video signal

Country Status (1)

Country Link
JP (1) JPH07264588A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100338725B1 (en) * 1998-05-02 2002-07-18 윤종용 Pictures coding method approximating coding bits to target coding bits and apparatus therefor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100338725B1 (en) * 1998-05-02 2002-07-18 윤종용 Pictures coding method approximating coding bits to target coding bits and apparatus therefor

Similar Documents

Publication Publication Date Title
US6563872B2 (en) Method and apparatus for image coding
EP0755610A1 (en) Method and device for transcoding video signals
JPH0746596A (en) Intrablock dc conversion coefficient quantization method
JPH10107644A (en) Quantization device and method, and coder and method
US20110110421A1 (en) Rate control method for video encoder using kalman filter and fir filter
KR20000023174A (en) Encoding apparatus and method
EP1516493B1 (en) A method and system for optimizing image sharpness during coding
JP2000152241A (en) Method and device for restoring compressed moving image for removing blocking and ring effects
JPH07162863A (en) Adaptive quantization parameter control device
JP4171934B2 (en) Image processing apparatus and method, and recording medium
JPH1066079A (en) Adaptive quantization control device
JPH07264588A (en) Encoding device for video signal
JPH07212795A (en) Method and equipment for picture coding
JPH07236137A (en) Picture encoding control system
KR100207419B1 (en) Method and apparatus for controlling generation of bit rate in video encoding
KR950005653B1 (en) Data quantization rate control method and apparatus
JPH05227513A (en) Video signal transmitter
KR100207418B1 (en) Method and apparatus for controlling generation of bit rate in video encoding
KR100266559B1 (en) Status test circuit of video buffering validation
KR100207417B1 (en) Method and apparatus for controlling generation of bit rate in video encoding
KR20010041441A (en) Method and device for encoding a video signal
JPH07284099A (en) Encoding device
JPH05103317A (en) Video signal transmitting device
KR0125121B1 (en) Apparatus for encoding the moving picture
JPH03243086A (en) Movement compensating inter-frame coding device