JPH1141610A - Variable speed coding control method and system - Google Patents

Variable speed coding control method and system

Info

Publication number
JPH1141610A
JPH1141610A JP19804897A JP19804897A JPH1141610A JP H1141610 A JPH1141610 A JP H1141610A JP 19804897 A JP19804897 A JP 19804897A JP 19804897 A JP19804897 A JP 19804897A JP H1141610 A JPH1141610 A JP H1141610A
Authority
JP
Japan
Prior art keywords
quantization step
coding
initial value
frame
code amount
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
JP19804897A
Other languages
Japanese (ja)
Inventor
Yutaka Watanabe
裕 渡辺
Kazuto Kamikura
一人 上倉
Hirotaka Jiyosawa
裕尚 如沢
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP19804897A priority Critical patent/JPH1141610A/en
Publication of JPH1141610A publication Critical patent/JPH1141610A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a variable speed coding control method and its system operating in real time with image quality improved in the case of coding the moving image where plural coding modes are in existence. SOLUTION: A generated information amount 1 and a target code amount 3 set by a target value setting part 2 are inputted to a quantization step initial value calculation part 4 of an image group and a quantization step initial value 5 in the unit of the image group is calculated from the difference. Then a quantization step ratio 7 set by a ratio setting part 6 and the quantization step initial value 5 are multiplied by a ratio multipliing part 8 to output a quantization step 9 in the unit of frames. On the other hand, a complicated index calculation part 10 multiplies a complicated index 11 calculated for each small block in a frame by a quantization step 9 in the unit of frame, at a quantization step modulation part 12 to output a small block quantization step 13.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、画像の高能率符号
化方式に関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to a high-efficiency image coding system.

【0002】[0002]

【従来の技術】従来の可変速度符号化制御方法では、量
子化ステップを固定させて動画像シーケンス全体を符号
化し、発生符号量を検査して、発生符号量の総和が目標
値以下であれば量子化ステップを小さく設定し、逆に目
標値以上であれば、量子化ステップを大きく設定して、
再び最初から符号化を繰り返す方法がとられていた。
2. Description of the Related Art In a conventional variable rate coding control method, an entire moving picture sequence is coded with a fixed quantization step, and the generated code amount is checked. If the quantization step is set smaller, and if it is equal to or greater than the target value, the quantization step is set larger,
A method of repeating coding from the beginning again has been adopted.

【0003】そこで、本出願人による先行出願(特願平
9−142215号、渡辺,上倉,如沢:動画像符号化
方法および装置)では、発生符号量と目標符号量の差に
比例して量子化ステップの値を決定するフィードバック
型の固定速度符号化制御方法を修正し、発生符号量と目
標符号量の差がある範囲内にあれば量子化ステップをほ
とんど変化させないように設定し、発生符号量と目標符
号量の差が設定したしきい値を越えたときには、量子化
ステップを大きくして発生符号量を抑制する手法を提案
している。この抑制の強さは、発生符号量と目標符号量
の差が大きいほど強くなるように設定している。
In the prior application filed by the present applicant (Japanese Patent Application No. Hei 9-142215, Watanabe, Uekura, Nyozawa: Moving Picture Coding Method and Apparatus), the proportion of the generated code amount to the target code amount is proportional to the difference. Correct the feedback type fixed rate coding control method that determines the value of the quantization step, and set the quantization step to hardly change if the difference between the generated code amount and the target code amount is within a certain range. When the difference between the code amount and the target code amount exceeds a set threshold value, a method has been proposed in which the quantization step is increased to suppress the generated code amount. The strength of the suppression is set so as to increase as the difference between the generated code amount and the target code amount increases.

【0004】しかし、この手法では、入力される全ての
画像が順次同じ符号化モードで符号化されることを前提
としていた。
However, this method is based on the premise that all input images are sequentially encoded in the same encoding mode.

【0005】[0005]

【発明が解決しようとする課題】上記従来の符号化方法
では、フレーム内符号化、フレーム間符号化、フレーム
内挿符号化の3種類の画像符号化モードが混在する場合
にも、単一の制御手法によって量子化ステップを算出せ
ざるをえない。その結果、フレーム内符号化される画像
に対しては粗い量子化ステップが与えられるか、あるい
はフレーム内挿符号化される画像に対しては細か過ぎる
量子化ステップが与えら、画品質がばらつくという問題
点があった。これは、従来手法が異なった画像符号化モ
ードを想定していなかったためである。
According to the above-mentioned conventional encoding method, even when three types of image encoding modes of intra-frame encoding, inter-frame encoding and inter-frame encoding are mixed, a single encoding mode is used. The quantization step has to be calculated by the control method. As a result, a coarse quantization step is given to an image to be encoded in a frame, or a quantization step that is too fine is given to an image to be encoded in a frame, so that image quality varies. There was a problem. This is because the conventional method did not assume a different image encoding mode.

【0006】本発明は、複数の符号化モードが存在する
動画像符号化において、リアルタイムで動作し、画品質
のばらつきを抑えて画品質を改善した可変速度符号化制
御方法及び装置を提供することを課題とする。
An object of the present invention is to provide a variable-rate encoding control method and apparatus which operate in real time in a moving image encoding in which a plurality of encoding modes exist, suppress the variation in the image quality, and improve the image quality. As an issue.

【0007】[0007]

【課題を解決するための手段】上記課題を解決するた
め、本発明による可変速度符号化制御方法は、動画像系
列をフレーム内符号化とフレーム間符号化、あるいはフ
レーム内挿符号化といった複数の符号化モードからなる
画像群に分けて、直交変換を用いて符号化し、直交変換
係数の量子化ステップの大きさを変化させて発生符号量
の制御を行う動画像符号化制御方法において、画像群に
含まれるフレームを単位として、発生符号量と目標符号
量の差に応じて量子化ステップの初期値を更新する際
に、発生符号量と目標符号量の差分絶対値が大きい場合
には量子化ステップの初期値の変更分の絶対値を大きく
設定し、発生符号量と目標符号量の差分絶対値が小さい
場合には量子化ステップの初期値の変更分の絶対値を小
さく設定し、前記設定により得られた量子化ステップの
初期値をもとに複数の符号化モードごとの量子化ステッ
プを決定する、ことを特徴とする。
In order to solve the above-mentioned problems, a variable-rate coding control method according to the present invention is directed to a method for controlling a moving picture sequence by a plurality of methods such as intra-frame coding and inter-frame coding, or inter-frame coding. In a moving image coding control method in which an image is divided into a group of coding modes, the coding is performed using orthogonal transform, and the amount of generated code is controlled by changing the size of a quantization step of orthogonal transform coefficients, When the initial value of the quantization step is updated according to the difference between the generated code amount and the target code amount in units of frames included in, the quantization is performed if the absolute value of the difference between the generated code amount and the target code amount is large. When the absolute value of the difference between the generated code amount and the target code amount is small, the absolute value of the change in the initial value of the quantization step is set to be small. Determining a quantization step for a plurality of coding modes based on the initial value of more obtained quantization step, characterized in that.

【0008】また、前記複数の符号化モードごとの量子
化ステップを決定する過程では、前記設定により得られ
た量子化ステップの初期値をもとに、フレーム内符号
化、フレーム間符号化、フレーム内挿符号化に用いる量
子化ステップを、特定の比率によって決定することを特
徴とする。
In the step of determining the quantization step for each of the plurality of encoding modes, the intra-frame encoding, the inter-frame encoding, and the frame encoding are performed based on the initial value of the quantization step obtained by the setting. The quantization step used for the interpolation coding is determined by a specific ratio.

【0009】また、前記複数の符号化モードごとの量子
化ステップを決定する過程では、前記設定により得られ
た量子化ステップの初期値をもとに、フレーム内符号
化、フレーム間符号化、フレーム内挿符号化に用いる量
子化ステップを、特定の比率によって決定し、さらに、
小ブロックごとに画素の変化尺度を求め、その変化尺度
に応じて前記決定された量子化ステップの値を該小ブロ
ックごとに変化させる処理を行うことを特徴とする。
In the step of determining the quantization step for each of the plurality of encoding modes, the intra-frame encoding, the inter-frame encoding, and the frame encoding are performed based on the initial value of the quantization step obtained by the setting. The quantization step used for interpolation coding is determined by a specific ratio,
It is characterized in that a change scale of a pixel is obtained for each small block, and a process of changing the value of the determined quantization step for each small block according to the change scale is performed.

【0010】一方、上記課題を解決するため、本発明に
よる可変速度符号化制御装置は、動画像系列をフレーム
内符号化とフレーム間符号化、あるいはフレーム内挿符
号化といった複数の符号化モードからなる画像群に分け
て、直交変換を用いて符号化し、直交変換係数の量子化
ステップの大きさを変化させて発生符号量の制御を行う
動画像符号化制御装置において、画像群に含まれるフレ
ームを単位として、発生符号量と目標符号量の差に応じ
て量子化ステップの初期値を更新する際に、発生符号量
と目標符号量の差分絶対値が大きい場合には量子化ステ
ップの初期値の変更分の絶対値を大きく設定し、発生符
号量と目標符号量の差分絶対値が小さい場合には量子化
ステップの初期値の変更分の絶対値を小さく設定して初
期値を算出する初期値算出手段と、前記算出された量子
化ステップの初期値をもとに複数の符号化モードごとの
量子化ステップを決定する手段と、を有することを特徴
とする。
[0010] On the other hand, in order to solve the above-mentioned problems, a variable-rate coding control device according to the present invention converts a moving image sequence from a plurality of coding modes such as intra-frame coding and inter-frame coding, or frame interpolation coding. In a moving image coding control device that divides the image into groups of images and encodes them using orthogonal transform, and controls the amount of generated code by changing the size of a quantization step of orthogonal transform coefficients, a frame included in an image group When the initial value of the quantization step is updated in accordance with the difference between the generated code amount and the target code amount, the initial value of the quantization step is used if the absolute value of the difference between the generated code amount and the target code amount is large. If the absolute value of the difference between the generated code amount and the target code amount is small, the absolute value of the change in the initial value of the quantization step is set to be small and the initial value is calculated. And having a value calculation means, and means for determining a quantization step for a plurality of coding modes based on the initial value of the calculated quantization step.

【0011】また、前記複数の符号化モードごとの量子
化ステップを決定する手段は、フレーム内符号化、フレ
ーム間符号化、フレーム内挿符号化に用いる量子化ステ
ップを、前記初期値算出手段により算出された量子化ス
テップの初期値に特定の比率を乗じて決定する比率乗算
手段を有することを特徴とする。
The means for determining the quantization step for each of the plurality of coding modes includes a quantization step used for intra-frame coding, inter-frame coding, and frame interpolation coding, which is performed by the initial value calculation means. It is characterized by having a ratio multiplying means for deciding by multiplying the calculated initial value of the quantization step by a specific ratio.

【0012】また、前記複数の符号化モードごとの量子
化ステップを決定する手段は、小ブロックごとに画素の
変化尺度を求める計算手段と、前記計算手段で求めた変
化尺度に応じて前記比率乗算手段により決定された量子
化ステップの値を前記小ブロックごとに変化させて小ブ
ロック量子化ステップを決定する量子化ステップ変調手
段と、を有することを特徴とする。
[0012] The means for determining the quantization step for each of the plurality of encoding modes includes a calculating means for obtaining a change scale of a pixel for each small block, and the ratio multiplication in accordance with the change scale obtained by the calculation means. And a quantization step modulator for changing the value of the quantization step determined by the means for each of the small blocks to determine the quantization step of the small block.

【0013】本発明では、画像群ごとに発生情報量を監
視し、画像群単位の可変速度符号化制御を行うことによ
り、発生符号量と目標符号量の差の積分値が、ある範囲
内にあれば画像群に対する量子化ステップの初期値はほ
ぼ一定となり、画像群ごとの発生符号量が目標符号量か
ら大きく離れる場合には、発生符号量が目標値に接近す
るように動作させることで、画像群内の画像の符号化モ
ードごとに適した量子化ステップの設定を可能とし、画
品質のばらつきの少ない符号化画像が得られるようにす
る。また、画像群内の画像の符号化モードごとに異なっ
た量子化ステップを設定する際に、フレーム内符号化、
フレーム間符号化、フレーム内挿符号化の順番に、次第
に粗い量子化ステップを割り当てても、ほぼ同一の符号
化画像品質が得られることに着目し、それぞれの符号化
の量子化ステップを特定の比率で決定することにより、
あるいは、特定の比率で決定した量子化ステップを、小
ブロックごとの変化尺度に応じて変化させることによ
り、さらに画品質のばらつきの少い符号化画像を得られ
るようにする。
In the present invention, the amount of generated information is monitored for each image group, and the variable rate coding control is performed for each image group, so that the integral value of the difference between the generated code amount and the target code amount falls within a certain range. If there is, the initial value of the quantization step for the image group will be almost constant, and if the generated code amount for each image group greatly departs from the target code amount, by operating such that the generated code amount approaches the target value, A quantization step suitable for each encoding mode of an image in an image group can be set, and an encoded image with little variation in image quality can be obtained. Further, when different quantization steps are set for each encoding mode of the images in the image group, intra-frame encoding,
Focusing on the fact that even if coarse quantization steps are gradually assigned to the order of inter-frame coding and frame interpolation coding, almost the same coded image quality is obtained, the quantization step of each coding is specified. By determining the ratio,
Alternatively, by changing the quantization step determined at a specific ratio in accordance with a change scale for each small block, it is possible to obtain an encoded image with further less variation in image quality.

【0014】[0014]

【発明の実施の形態】以下、本発明の実施の形態につい
て図を用いて詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0015】まず、本発明の可変速度符号化制御方法の
原理について説明する。図1は、そのための説明図であ
って、画像群に含まれる符号化モードの例を示してい
る。
First, the principle of the variable rate coding control method of the present invention will be described. FIG. 1 is an explanatory diagram for that, and shows an example of an encoding mode included in an image group.

【0016】通常、フレーム内符号化、フレーム間符号
化、フレーム内挿符号化の順番に、次第に粗い量子化ス
テップを割り当てても、ほぼ同一の符号化画像品質が得
られることが知られている。これは、予測の手法が異な
るため、それらの順番で予測効率が向上していくことに
起因している。
Generally, it is known that almost the same coded image quality can be obtained even if a coarser quantization step is assigned in the order of intra-frame coding, inter-frame coding, and frame interpolation coding. . This is because the prediction methods are different, and the prediction efficiency is improved in that order.

【0017】複数のフレーム符号化モード(フレーム内
符号化モード(I)、フレーム間符号化モード(P)、
フレーム内挿符号化モード(B))を用いる画像符号化
では、例えば図1に示すように、画像群を単位としてま
とめられて処理される。
A plurality of frame coding modes (intra-frame coding mode (I), inter-frame coding mode (P),
In the image coding using the frame interpolation coding mode (B)), for example, as shown in FIG.

【0018】そこで、まず、画像群ごとに発生情報量を
監視し、画像群単位の可変速度符号化制御を行う。従来
の符号化制御では、画像単位に発生符号量と目標符号量
の差から符号化制御を行っていたのに対し、本発明で
は、画像群に対する発生情報量と目標情報量の差を求
め、次の画像群に対する量子化ステップの初期値を算出
することで符号化制御を行う。
Therefore, first, the amount of generated information is monitored for each image group, and variable speed encoding control is performed for each image group. In the conventional coding control, the coding control is performed from the difference between the generated code amount and the target code amount for each image, whereas in the present invention, the difference between the generated information amount and the target information amount for the image group is obtained, The encoding control is performed by calculating the initial value of the quantization step for the next image group.

【0019】これは、既に符号化を終了した画像群にお
ける量子化ステップの初期値を、発生符号量と目標符号
量の差に応じて、次の画像群の先頭において更新する際
に、発生符号量と目標符号量の差分絶対値が大きい場合
には量子化ステップの初期値の変更分の絶対値を大きく
設定し、発生符号量と目標符号量の差分絶対値が小さい
場合には量子化ステップの初期値の変更分の絶対値を小
さく設定することで処理できる。
This is because when the initial value of the quantization step in an already-encoded image group is updated at the beginning of the next image group in accordance with the difference between the generated code amount and the target code amount, the generated code If the absolute value of the difference between the amount of code and the target code amount is large, the absolute value of the change in the initial value of the quantization step is set to a large value.If the absolute value of the difference between the generated code amount and the target code amount is small, the quantization step The processing can be performed by setting a small absolute value of the change in the initial value of.

【0020】次に、画像群における量子化ステップの初
期値をもとに、フレーム内符号化、フレーム間符号化、
フレーム内挿符号化に用いる量子化ステップを、予め定
める特定の比率に従って決定する。
Next, based on the initial value of the quantization step in the image group, intra-frame coding, inter-frame coding,
A quantization step used for frame interpolation coding is determined according to a predetermined specific ratio.

【0021】量子化ステップの初期値をQIとし、フレ
ーム内符号化、フレーム間符号化、フレーム内挿符号化
のそれぞれのモードにおける量子化ステップの比率をr
0,r1,r2とする。それぞれのフレームに対する量子
化ステップQ0,Q1,Q2は Q0=r0I (1) Q1=r1I (2) Q2=r2I (3) で求められる、例えば、フレーム内符号化:フレーム間
符号化:フレーム内挿符号化=1:3:5に設定したと
き、量子化ステップの初期値が5であれば、フレーム内
符号化モードの画像に対する量子化ステップは5、フレ
ーム間符号化モードの画像に対する量子化ステップは1
5、フレーム内挿符号化モードの画像に対する量子化ス
テップは25となる。
The initial value of the quantization step is Q I, and the ratio of the quantization step in each of the intra-frame coding, inter-frame coding, and frame interpolation coding modes is r.
0 , r 1 and r 2 . The quantization steps Q 0 , Q 1 , Q 2 for each frame are determined by Q 0 = r 0 Q I (1) Q 1 = r 1 Q I (2) Q 2 = r 2 Q I (3) For example, when the intra-frame encoding: the inter-frame encoding: the frame interpolation encoding is set to 1: 3: 5 and the initial value of the quantization step is 5, the quantization for the image in the intra-frame encoding mode is performed. The number of steps is 5, and the quantization step for an image in the inter-frame coding mode is 1.
5. The quantization step for an image in the frame interpolation coding mode is 25.

【0022】これにより、画像単位に量子化ステップを
指定できるが、さらに、画像の持つ局所的な複雑さに応
じて量子化ステップを変更する手法を用いることもでき
る。画像の小ブロックkにおける局所的な複雑さ指標A
kが、例えば1を平均とする数値で与えられるとする。
k>1であれば、より複雑であり、逆にAk<1であれ
ば平坦な部分を含むものとする。これにより、複雑な部
分は量子化誤差がテクスチャにマスキングされ目立たた
ないので粗く量子化され、平坦な部分は量子化誤差が目
立ちやすいので細かく量子化される。小ブロックに対す
る量子化ステップQkは、 Qk=Aki (i=0,1,2) (4) により得られる。
Thus, the quantization step can be specified for each image, but it is also possible to use a method of changing the quantization step according to the local complexity of the image. Local complexity index A in small block k of image
It is assumed that k is given by, for example, a numerical value having 1 as an average.
If A k > 1, it is more complicated. Conversely, if A k <1, a flat portion is included. As a result, a complicated portion is coarsely quantized because the quantization error is masked by the texture and is inconspicuous, and a flat portion is finely quantized because the quantization error is easily conspicuous. The quantization step Q k for the small block is obtained by Q k = A k Q i (i = 0, 1, 2) (4).

【0023】本発明では、発生符号量と目標符号量の差
の積分値が、ある範囲内にあれば画像群に対する量子化
ステップの初期値はほぼ一定となり、また画像の符号化
モードごとに異なった量子化ステップを設定できるた
め、画品質のばらつきの少い符号化画像を得ることがで
きる。また画像群ごとの発生符号量が目標符号量から大
きく離れる場合には、発生符号量が目標値に接近するよ
うに動作する。
In the present invention, if the integrated value of the difference between the generated code amount and the target code amount is within a certain range, the initial value of the quantization step for the image group is substantially constant, and differs for each image coding mode. Since the quantization step can be set, an encoded image with little variation in image quality can be obtained. Further, when the generated code amount for each image group largely deviates from the target code amount, the operation is performed so that the generated code amount approaches the target value.

【0024】以下、本発明の一実施形態例を説明する。
図2に本発明の一実施形態例である可変速度符号化制御
方法及び装置を説明するブロックダイヤグラムを示す。
An embodiment of the present invention will be described below.
FIG. 2 is a block diagram illustrating a variable rate coding control method and apparatus according to an embodiment of the present invention.

【0025】図2において、まず、発生情報量1と目標
値設定部2で設定された目標符号量3とが画像群の量子
化ステップ初期値算出部4に入力され、発生情報量1と
目標符号量3との差から、画像群単位の量子化ステップ
初期値5が計算される。
In FIG. 2, first, the generated information amount 1 and the target code amount 3 set by the target value setting unit 2 are input to the image group quantization step initial value calculation unit 4, and the generated information amount 1 and the target From the difference from the code amount 3, an initial quantization step value 5 for each image group is calculated.

【0026】次に、比率設定部6で設定された量子化ス
テップ比率7と、上記の量子化ステップ初期値5とが比
率乗算部8に入力され、画像の符号化モードに応じて、
量子化ステップ初期値5に量子化ステップ比率7が乗じ
られ、フレーム単位の量子化ステップ9が出力される。
Next, the quantization step ratio 7 set by the ratio setting unit 6 and the above-mentioned quantization step initial value 5 are input to the ratio multiplying unit 8, and according to the encoding mode of the image,
The quantization step initial value 5 is multiplied by the quantization step ratio 7 to output a quantization step 9 for each frame.

【0027】一方、複雑さ指標計算部10において、フ
レーム中の小ブロックごとに複雑さ指標11が計算さ
れ、フレーム単位の量子化ステップ9とともに量子化ス
テップ変調部12に入力される。その結果、小ブロック
ごとに複雑さ指標11がフレーム単位の量子化ステップ
9に乗じられ、小ブロック量子化ステップ13が出力さ
れる。
On the other hand, the complexity index calculation unit 10 calculates the complexity index 11 for each small block in the frame, and inputs the complexity index 11 to the quantization step modulation unit 12 together with the quantization step 9 for each frame. As a result, the complexity index 11 is multiplied by the quantization step 9 for each frame for each small block, and the small block quantization step 13 is output.

【0028】なお、以上の実施形態例では、比率設定部
6において量子化ステップ比率7を決める構造とした
が、外部から読み込む処理を行っても構わない。
Although the quantization step ratio 7 is determined by the ratio setting unit 6 in the above embodiment, a process of reading from the outside may be performed.

【0029】[0029]

【発明の効果】本発明を用いれば、異なった数種類の画
像符号化モードが混在するような動画像符号化において
も、リアルタイムで各画像符号化モードに適した量子化
ステップを用いた可変速度符号化が可能となるため、固
定速度符号化に比べ、あるいは画像単位に単一手法で量
子化ステップを決定する従来の可変速度符号化に比べ
て、画品質を改善することができる。
According to the present invention, even in a moving picture coding in which several different kinds of picture coding modes are mixed, a variable rate coding using a quantization step suitable for each picture coding mode in real time. Therefore, image quality can be improved as compared with fixed-rate encoding or conventional variable-rate encoding in which a quantization step is determined by a single method for each image.

【0030】また、画像符号化モードそれぞれの量子化
ステップを特定の比率で決定するようにした場合、ある
いは、特定の比率で決定した量子化ステップを、さらに
小ブロックごとの変化尺度に応じて変化させるようにし
た場合には、さらなる画品質のばらつきの少い符号化画
像が得られ、より一層、画品質を改善することができ
る。
When the quantization step for each image coding mode is determined at a specific ratio, or when the quantization step determined at a specific ratio is further changed according to a change scale for each small block. In such a case, an encoded image with further less variation in image quality can be obtained, and the image quality can be further improved.

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

【図1】本発明の可変速度符号化制御方法の原理を説明
するための図であって、画像群に含まれる符号化モード
の例を示す図である。
FIG. 1 is a diagram for explaining the principle of a variable rate coding control method according to the present invention, and is a diagram illustrating an example of a coding mode included in an image group.

【図2】本発明の一実施形態例である可変速度符号化制
御方法及び装置を説明するためのブロックダイヤグラム
である。
FIG. 2 is a block diagram for explaining a variable rate coding control method and apparatus according to an embodiment of the present invention.

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

1…発生情報量 2…目標値設定部 3…目標符号量 4…画像群の量子化ステップ初期値算出部 5…量子化ステップ初期値 6…比率設定部 7…量子化ステップ比率 8…比率乗算部 9…フレーム単位の量子化ステップ 10…複雑さ指標計算部 11…複雑さ指標 12…量子化ステップ変調部 13…小ブロック量子化ステップ DESCRIPTION OF SYMBOLS 1 ... Generated information amount 2 ... Target value setting unit 3 ... Target code amount 4 ... Image group quantization step initial value calculation unit 5 ... Quantization step initial value 6 ... Ratio setting unit 7 ... Quantization step ratio 8 ... Ratio multiplication Unit 9: Quantization step for each frame 10: Complexity index calculation unit 11: Complexity index 12: Quantization step modulation unit 13: Small block quantization step

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 動画像系列をフレーム内符号化とフレー
ム間符号化、あるいはフレーム内挿符号化といった複数
の符号化モードからなる画像群に分けて、直交変換を用
いて符号化し、直交変換係数の量子化ステップの大きさ
を変化させて発生符号量の制御を行う動画像符号化制御
方法において、 画像群に含まれるフレームを単位として、発生符号量と
目標符号量の差に応じて量子化ステップの初期値を更新
する際に、発生符号量と目標符号量の差分絶対値が大き
い場合には量子化ステップの初期値の変更分の絶対値を
大きく設定し、発生符号量と目標符号量の差分絶対値が
小さい場合には量子化ステップの初期値の変更分の絶対
値を小さく設定し、 前記設定により得られた量子化ステップの初期値をもと
に複数の符号化モードごとの量子化ステップを決定す
る、 ことを特徴とする可変速度符号化制御方法。
1. A video sequence is divided into a group of images having a plurality of coding modes such as intra-frame coding and inter-frame coding, or inter-frame coding, and is coded using orthogonal transform. In the moving picture coding control method for controlling the generated code amount by changing the size of the quantization step, the quantization is performed according to the difference between the generated code amount and the target code amount for each frame included in the image group. If the absolute value of the difference between the generated code amount and the target code amount is large when updating the initial value of the step, the absolute value of the change in the initial value of the quantization step is set to be large, and the generated code amount and the target code amount are set. If the absolute value of the difference is small, the absolute value of the change in the initial value of the quantization step is set to a small value, and the quantum for each of a plurality of encoding modes is set based on the initial value of the quantization step obtained by the setting. Chemical Tsu determining flop, variable rate coding control method characterized by.
【請求項2】 前記複数の符号化モードごとの量子化ス
テップを決定する過程では、 前記設定により得られた量子化ステップの初期値をもと
に、フレーム内符号化、フレーム間符号化、フレーム内
挿符号化に用いる量子化ステップを、特定の比率によっ
て決定する、 ことを特徴とする請求項1に記載の可変速度符号化制御
方法。
2. A process for determining a quantization step for each of the plurality of encoding modes, wherein: an intra-frame encoding, an inter-frame encoding, and a frame encoding are performed based on an initial value of the quantization step obtained by the setting. The variable rate coding control method according to claim 1, wherein the quantization step used for the interpolation coding is determined by a specific ratio.
【請求項3】 前記複数の符号化モードごとの量子化ス
テップを決定する過程では、 前記設定により得られた量子化ステップの初期値をもと
に、フレーム内符号化、フレーム間符号化、フレーム内
挿符号化に用いる量子化ステップを、特定の比率によっ
て決定し、 さらに、小ブロックごとに画素の変化尺度を求め、その
変化尺度に応じて前記決定された量子化ステップの値を
該小ブロックごとに変化させる処理を行う、 ことを特徴とする請求項1に記載の可変速度符号化制御
方法。
3. The step of determining a quantization step for each of the plurality of encoding modes includes: intra-frame encoding, inter-frame encoding, and frame encoding based on an initial value of the quantization step obtained by the setting. The quantization step used for the interpolation coding is determined by a specific ratio. Further, a change scale of the pixel is obtained for each small block, and the value of the determined quantization step is determined according to the change scale. The variable rate encoding control method according to claim 1, wherein the variable rate encoding control method performs a process of changing the variable rate encoding every time.
【請求項4】 動画像系列をフレーム内符号化とフレー
ム間符号化、あるいはフレーム内挿符号化といった複数
の符号化モードからなる画像群に分けて、直交変換を用
いて符号化し、直交変換係数の量子化ステップの大きさ
を変化させて発生符号量の制御を行う動画像符号化制御
装置において、 画像群に含まれるフレームを単位として、発生符号量と
目標符号量の差に応じて量子化ステップの初期値を更新
する際に、発生符号量と目標符号量の差分絶対値が大き
い場合には量子化ステップの初期値の変更分の絶対値を
大きく設定し、発生符号量と目標符号量の差分絶対値が
小さい場合には量子化ステップの初期値の変更分の絶対
値を小さく設定して初期値を算出する初期値算出手段
と、 前記算出された量子化ステップの初期値をもとに複数の
符号化モードごとの量子化ステップを決定する手段と、 を有することを特徴とする可変速度符号化制御装置。
4. A video sequence is divided into an image group having a plurality of encoding modes such as intra-frame encoding and inter-frame encoding, or inter-frame encoding, and is encoded using orthogonal transform. In the video coding control device that controls the amount of generated code by changing the size of the quantization step, the quantization is performed according to the difference between the generated code amount and the target code amount for each frame included in the image group. If the absolute value of the difference between the generated code amount and the target code amount is large when updating the initial value of the step, the absolute value of the change in the initial value of the quantization step is set to be large, and the generated code amount and the target code amount are set. If the absolute value of the difference is small, an initial value calculating means for setting the absolute value of the change in the initial value of the quantization step to a small value and calculating an initial value, based on the calculated initial value of the quantization step Multiple Variable rate coding control apparatus characterized by having a means for determining the quantization step for each issue mode.
【請求項5】 前記複数の符号化モードごとの量子化ス
テップを決定する手段は、 フレーム内符号化、フレーム間符号化、フレーム内挿符
号化に用いる量子化ステップを、前記初期値算出手段に
より算出された量子化ステップの初期値に特定の比率を
乗じて決定する比率乗算手段を有する、 ことを特徴とする請求項4に記載の可変速度符号化制御
装置。
5. The means for determining a quantization step for each of a plurality of coding modes includes: a quantization step used for intra-frame coding, inter-frame coding, and frame interpolation coding, wherein the initial value calculation means The variable rate encoding control device according to claim 4, further comprising a ratio multiplying unit that determines the calculated initial value of the quantization step by multiplying the initial value by a specific ratio.
【請求項6】 前記複数の符号化モードごとの量子化ス
テップを決定する手段は、 小ブロックごとに画素の変化尺度を求める計算手段と、 前記計算手段で求めた変化尺度に応じて前記比率乗算手
段により決定された量子化ステップの値を前記小ブロッ
クごとに変化させて小ブロック量子化ステップを決定す
る量子化ステップ変調手段と、を有する、 ことを特徴とする請求項5に記載の可変速度符号化制御
装置。
6. A means for determining a quantization step for each of a plurality of encoding modes, comprising: calculating means for obtaining a pixel change scale for each small block; and said ratio multiplication in accordance with the change scale obtained by said calculation means. The variable speed according to claim 5, further comprising: a quantization step modulation unit that determines a small block quantization step by changing a value of the quantization step determined by the unit for each of the small blocks. Encoding control device.
JP19804897A 1997-07-24 1997-07-24 Variable speed coding control method and system Pending JPH1141610A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19804897A JPH1141610A (en) 1997-07-24 1997-07-24 Variable speed coding control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19804897A JPH1141610A (en) 1997-07-24 1997-07-24 Variable speed coding control method and system

Publications (1)

Publication Number Publication Date
JPH1141610A true JPH1141610A (en) 1999-02-12

Family

ID=16384674

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19804897A Pending JPH1141610A (en) 1997-07-24 1997-07-24 Variable speed coding control method and system

Country Status (1)

Country Link
JP (1) JPH1141610A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006109420A (en) * 2004-09-10 2006-04-20 Matsushita Electric Ind Co Ltd Animation coding apparatus and animation coding method and animation imaging apparatus
JP2009533902A (en) * 2006-04-07 2009-09-17 マイクロソフト コーポレーション Quantization adjustment for DC shift artifacts
WO2012120855A1 (en) * 2011-03-04 2012-09-13 パナソニック株式会社 Image coding method, image decoding method, image coding device, and image decoding device
US8897359B2 (en) 2008-06-03 2014-11-25 Microsoft Corporation Adaptive quantization for enhancement layer video coding
US9967561B2 (en) 2006-05-05 2018-05-08 Microsoft Technology Licensing, Llc Flexible quantization

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006109420A (en) * 2004-09-10 2006-04-20 Matsushita Electric Ind Co Ltd Animation coding apparatus and animation coding method and animation imaging apparatus
JP2009533902A (en) * 2006-04-07 2009-09-17 マイクロソフト コーポレーション Quantization adjustment for DC shift artifacts
US9967561B2 (en) 2006-05-05 2018-05-08 Microsoft Technology Licensing, Llc Flexible quantization
US8897359B2 (en) 2008-06-03 2014-11-25 Microsoft Corporation Adaptive quantization for enhancement layer video coding
US9185418B2 (en) 2008-06-03 2015-11-10 Microsoft Technology Licensing, Llc Adaptive quantization for enhancement layer video coding
US9571840B2 (en) 2008-06-03 2017-02-14 Microsoft Technology Licensing, Llc Adaptive quantization for enhancement layer video coding
US10306227B2 (en) 2008-06-03 2019-05-28 Microsoft Technology Licensing, Llc Adaptive quantization for enhancement layer video coding
WO2012120855A1 (en) * 2011-03-04 2012-09-13 パナソニック株式会社 Image coding method, image decoding method, image coding device, and image decoding device

Similar Documents

Publication Publication Date Title
US5686964A (en) Bit rate control mechanism for digital image and video data compression
US6115421A (en) Moving picture encoding apparatus and method
JP4569840B2 (en) Image coding apparatus and image coding method
US20100086028A1 (en) Video encoding and decoding method and apparatus
KR20000068666A (en) Variable bitrate video coding method and corresponding video coder
EP0798930A2 (en) Video coding apparatus
US5241401A (en) Image signal encoding apparatus and method for controlling quantization step size in accordance with frame skip numbers
CN101779468A (en) Image processing device and image processing method
JPH10302396A (en) Signal coding method, signal coding device, signal recording medium, and signal transmitting method
JPH07107300A (en) Picture encoding device
US5521643A (en) Adaptively coding method and apparatus utilizing variation in quantization step size
JP3872849B2 (en) Video encoding device
JPH1141610A (en) Variable speed coding control method and system
US6577680B2 (en) Video signal coding method and coding device adapted to control code amounts according to the characteristics of pictures
JP2004040811A (en) Method and apparatus for controlling amount of dct computation performed to encode motion image
JP3626779B2 (en) Image coding method and apparatus
US20030185299A1 (en) Program, recording medium, and image encoding apparatus and method
JP2001025015A (en) Moving image encoder and method therefor
JP2531106B2 (en) Video coding control method
JPH11346365A (en) Encoding/compression method and device
JPH09261638A (en) Image coder
JPH04255190A (en) Picture data compressor
JPH03255792A (en) Picture quality controller
JPH0638191A (en) Animation signal coding device
JPH10336649A (en) Dynamic image encoding method and device