JPH0678281A - Moving picture coder - Google Patents

Moving picture coder

Info

Publication number
JPH0678281A
JPH0678281A JP22445092A JP22445092A JPH0678281A JP H0678281 A JPH0678281 A JP H0678281A JP 22445092 A JP22445092 A JP 22445092A JP 22445092 A JP22445092 A JP 22445092A JP H0678281 A JPH0678281 A JP H0678281A
Authority
JP
Japan
Prior art keywords
image
frame
code amount
quantization
quantization error
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP22445092A
Other languages
Japanese (ja)
Other versions
JP3014547B2 (en
Inventor
Yukio Go
志雄 呉
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP4224450A priority Critical patent/JP3014547B2/en
Publication of JPH0678281A publication Critical patent/JPH0678281A/en
Application granted granted Critical
Publication of JP3014547B2 publication Critical patent/JP3014547B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE:To provide a moving picture coder with an excellent coding efficiency by controlling a code quantity of a picture and a quantization error of the picture simultaneously. CONSTITUTION:A code quantity measurement means 20 measures a code quantity of a picture and an upper limit and a lower limit of a buffer occupied quantity in a buffer 14. A quantization error measurement means 21 measures a quantity error in the picture based on the input and output of a quantization means 12. A quantization control means 22 controls a quantization step width (h) given to the quantization means 12 so that an actually measured quantization error measured by the quantization error measurement means 21 is a prescribed quantization error, and revises a prescribed quantization error so that the actually measured code quantity from the code quantity measurement means 20 is a prescribed code quantity.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、マルチメディアコンピ
ュータ等に使用され、動画像の符号化を行う蓄積用等の
動画像符号化装置、特に動画像の符号化品質の向上及び
符号量の制御方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving picture coding apparatus for use in a multimedia computer or the like for coding a moving picture, and more particularly to a moving picture coding apparatus for improving the coding quality of a moving picture and controlling the code amount. It is related to the method.

【0002】[0002]

【従来の技術】従来、動画像の符号化方式、特に蓄積用
動画像の符号化方式としては、例えば次のような文献に
記載された方式がよく用いられている。 文献;安田浩著「マルチメディア符号化の国際標準」
(平3−6) 丸善(株)、P.127−156 図2は、前記文献に記載された従来の蓄積用動画像符号
化方式における画像グループの構成図である。この画像
グループは、N枚の画像を1つのグループとし、そのグ
ループがイントラフレームと呼ばれる画像内符号化画像
Iと、インターフレームと呼ばれる前方予測符号化画像
Pと、インターポレートフレームと呼ばれる双方向予測
符号化画像Bとで、構成されている。インターフレーム
Pは、該画像の前方のイントラフレームIあるいはイン
ターフレームPを用いて該画像を予測し、予測誤差信号
を符号化するものである。インターポレートフレームB
は、該画像の前方のイントラフレームIあるいはインタ
ーフレームP、及び後方のイントラフレームIあるいイ
ンターフレームPを用いて、双方向から該画像を予測
し、予測誤差信号を符号化するものである。
2. Description of the Related Art Conventionally, as a moving image coding method, particularly a moving image coding method for storage, for example, the method described in the following documents is often used. Reference: Hiroshi Yasuda "International Standard for Multimedia Coding"
(Head 3-6) Maruzen Co., Ltd. 127-156 FIG. 2 is a configuration diagram of an image group in the conventional moving image encoding system for storage described in the above document. This image group has N images as one group, and the group includes an intra-picture coded image I called an intra frame, a forward prediction coded image P called an inter frame, and bidirectional prediction called an interpolated frame. And the encoded image B. The inter-frame P is for predicting the image using an intra-frame I or an inter-frame P in front of the image and encoding a prediction error signal. Interpolated frame B
Is a method for predicting the image bidirectionally by using an intra-frame I or inter-frame P in the front of the image and an intra-frame I or an inter-frame P in the rear, and encoding a prediction error signal.

【0003】図3は、前記文献等に記載された従来の蓄
積用動画像符号化装置の一構成例を示すブロック図であ
る。この動画像符号化装置は、現画像、及び現画像を予
測するための参照画像を入力する入力端子1,2,3
と、符号化された画像データを出力する出力端子4とを
有し、その入力端子1,2,3に動き補償付き予測手段
10が接続されている。
FIG. 3 is a block diagram showing an example of the configuration of a conventional moving image coding apparatus for storage described in the above-mentioned documents. This moving picture coding apparatus has input terminals 1, 2, 3 for inputting a current picture and a reference picture for predicting the current picture.
And an output terminal 4 for outputting encoded image data, and the prediction means 10 with motion compensation is connected to the input terminals 1, 2, and 3.

【0004】動き補償付き予測手段10は、次のような
機能を有している。即ち、イントラフレームIの入力画
像に対して、そのまま出力する。インターフレームPの
入力画像に対し、時間的に前のイントラフレームIある
いはインターフレームPを用いて、該インターフレーム
画像をM×Mのブロック単位で予測し、現画像と入力画
像の差分(予測誤差)を出力する。また、インターポレ
ートフレームBの入力画像に対し、時間的に前方及び後
方のイントラフレームIあるいはインターフレームPを
用いて、双方向から該画像をM×Mのブロック単位で予
測し、予測誤差信号を出力する。この動き補償付き予測
手段10の出力側には、直交変換手段11、量子化手段
12、符号化手段13、バッファ14、及び出力端子4
が縦続接続されている。直交変換手段11は、動き補償
付き予測手段10から入力された差分画素をN×Nのブ
ロックに分割し、離散余弦変換(以下、DCTという)
等の直交変換方法を用いて該画像をブロック毎に変換
し、その変換結果を量子化手段12へ出力する機能を有
している。量子化手段12は、与えられた量子化ステッ
プ幅hに基づき、直交変換手段11で直交変換された画
像ブロックの出力を量子化し、その量子化された画像デ
ータを符号化手段13へ出力するものである。
The motion compensation predicting means 10 has the following functions. That is, the input image of the intra frame I is output as it is. For the input image of the inter frame P, the intra frame I or the inter frame P temporally preceding is used to predict the inter frame image in M × M block units, and the difference between the current image and the input image (prediction error) ) Is output. Further, with respect to the input image of the interpolated frame B, the intra-frame I or the inter-frame P temporally forward and backward is used to predict the image bidirectionally in M × M block units, and a prediction error signal is obtained. Output. On the output side of the prediction unit with motion compensation 10, an orthogonal transformation unit 11, a quantization unit 12, an encoding unit 13, a buffer 14, and an output terminal 4 are provided.
Are cascaded. The orthogonal transformation unit 11 divides the difference pixels input from the prediction unit with motion compensation 10 into N × N blocks, and discrete cosine transform (hereinafter referred to as DCT).
It has a function of converting the image for each block using an orthogonal conversion method such as the above and outputting the conversion result to the quantizing means 12. The quantizing means 12 quantizes the output of the image block orthogonally transformed by the orthogonal transforming means 11 based on the given quantization step width h, and outputs the quantized image data to the encoding means 13. Is.

【0005】符号化手段13は、量子化手段12で量子
化された画像データを、例えばゼロデータの個数と非ゼ
ロデータのレベルを複合したハフマン符号化法等で、可
変長符号化し、その符号化された画像データをバッファ
14へ出力する機能を有してる。バッファ14は、例え
ばファーストイン・ファーストアウト(以下、FIFO
という)メモリで構成され、符号化された画像データを
一時格納し、FIFOの法則に従って一定のビットレー
トで出力端子4へ出力する機能を有している。バッファ
14には、符号量計測手段15を介して量子化制御手段
16が接続され、その量子化制御手段16の出力側が量
子化手段12に接続されている。符号量計測手段15
は、バッファ14の占有量から、符号化された画像デー
タを所定の数ブロック単位でその符号量br を計測し、
量子化制御手段16へ与えるものである。量子化制御手
段16は、符号量計測手段15より入力される実測符号
量br と、予め画像に応じて割当てられた割当て符号量
a とを比較し、該実測符号量br が割当て符号量ba
に一致するように、量子化手段12に与える量子化ステ
ップ幅hを制御する機能を有している。
The coding means 13 performs variable length coding on the image data quantized by the quantizing means 12, for example, by the Huffman coding method in which the number of zero data and the level of non-zero data are combined, and codes the code. It has a function of outputting the converted image data to the buffer 14. The buffer 14 is, for example, a first-in / first-out (hereinafter, FIFO).
It has a function of temporarily storing encoded image data and outputting it to the output terminal 4 at a constant bit rate in accordance with the FIFO law. The buffer 14 is connected to the quantizing control means 16 via the code amount measuring means 15, and the output side of the quantizing control means 16 is connected to the quantizing means 12. Code amount measuring means 15
Measures the code amount b r of the coded image data in units of a predetermined number of blocks from the occupied amount of the buffer 14,
This is given to the quantization control means 16. The quantization control unit 16 compares the measured code amount b r input from the code amount measuring unit 15 with the assigned code amount b a that is assigned in advance according to the image, and the measured code amount b r is the assigned code amount. Quantity b a
To have a function of controlling the quantization step width h given to the quantizing means 12.

【0006】次に、図3の動作を説明する。一般的に、
符号化すべき画像が図2に示す順序で入力端子1,2,
3に入力され、符号化される。現画像がイントラフレー
ムIの場合、該画像が入力端子1より入力される。現画
像がインターフレームPの場合、該画像が入力端子1よ
り入力され、該画像を予測するための時間的に直前のイ
ントラフレームIあるいはインターフレームPが入力端
子2より入力される。現画像がインターポレートフレー
ムBの場合、現画像が入力端子1より入力され、該現画
像の時間的に直前のイントラフレームIあるいはインタ
ーフレームPが入力端子2より入力され、時間的に直後
のイントラフレームIあるいはインターフレームPが入
力端子3より入力される。
Next, the operation of FIG. 3 will be described. Typically,
The images to be encoded are input terminals 1, 2, in the order shown in FIG.
3 and is encoded. When the current image is the intraframe I, the image is input from the input terminal 1. When the current image is the inter frame P, the image is input from the input terminal 1, and the intra frame I or the inter frame P immediately preceding in time for predicting the image is input from the input terminal 2. When the current image is the interpolated frame B, the current image is input from the input terminal 1, the intra frame I or the inter frame P immediately before the current image is input from the input terminal 2, and the intra frame immediately after the current image is input. The frame I or the interframe P is input from the input terminal 3.

【0007】動き補償付き予測手段10では、入力端子
1より入力されるイントラフレームIに対してそれをそ
のまま出力する。また、入力端子1より入力されるイン
ターフレームPに対し、現画像のM×Mのブロックに分
割し、それぞれのブロックに対して入力端子2より入力
される前方予測画像を用いて例えばパタンマッチング法
で動きベクトルを検出し、前画像の現画像ブロックの位
置から、動きベクトル分動いた所の同サイズのブロック
を、現画像ブロックの予測画像ブロックとし、現画像ブ
ロックと該現画像ブロックの予測画像ブロックとの差分
を出力する。また、動き補償付き予測手段10では、入
力端子1より入力されるインターポレートフレームBに
対し、前記と同様に、M×Mのブロックに分割し、そし
て入力端子2より入力される前方予測画像及び入力端子
3より入力される後方予測画像から、それぞれ前記と同
様の方法で、予測画像ブロックを選出し、現画像ブロッ
クと前方予測画像ブロックとの差分ブロックと、現画像
ブロックと後方予測画像ブロックとの差分ブロックと、
現画像ブロックと前方後方両予測画像ブロックの平均と
の差分ブロックとを求め、これらの3種類の差分ブロッ
クのそれぞれの自乗和から、最も小さいものの差分ブロ
ックを、現画像ブロックの予測誤差信号として出力し、
直交変換手段11へ送る。直交変換手段11では、動き
補償付き予測手段10から入力された差分画像をN×N
のブロック(例えば、N=8)に分割し、それぞれのブ
ロックに対して、例えば次式(1)のDCT等の直交変
換方法を用いて直交変換し、変換された画像ブロックを
量子化手段12へ送る。
The motion compensation predicting means 10 outputs the intra frame I input from the input terminal 1 as it is. Further, the inter-frame P input from the input terminal 1 is divided into M × M blocks of the current image, and the forward prediction image input from the input terminal 2 is used for each block, for example, the pattern matching method. The motion vector is detected by, and a block of the same size that has been moved by the motion vector from the position of the current image block of the previous image is used as the prediction image block of the current image block, and the current image block and the prediction image of the current image block Output the difference from the block. In the motion compensation predicting means 10, the interpolated frame B input from the input terminal 1 is divided into M × M blocks in the same manner as described above, and the forward prediction image and the forward prediction image input from the input terminal 2 are input. Predicted image blocks are selected from the backward predicted images input from the input terminal 3 in the same manner as described above, and the difference block between the current image block and the forward predicted image block, the current image block and the backward predicted image block are selected. Difference block of
The difference block between the current image block and the average of both the forward and backward predicted image blocks is obtained, and the smallest difference block from the sum of squares of these three types of difference blocks is output as the prediction error signal of the current image block. Then
Send to the orthogonal transformation means 11. The orthogonal transform means 11 calculates the difference image input from the motion-compensated prediction means 10 by N × N.
Block (for example, N = 8), and each block is subjected to orthogonal transformation using an orthogonal transformation method such as DCT of the following equation (1), and the transformed image block is quantized by the quantizing means 12 Send to.

【0008】[0008]

【数1】 この(1)式におけるC(u),C(v)は、次式
(2)で表される。
[Equation 1] C (u) and C (v) in the equation (1) are represented by the following equation (2).

【0009】[0009]

【数2】 量子化手段12では、量子化制御手段16より与えられ
る量子化ステップ幅hに基づき、直交変換手段11から
入力された画像ブロックを、例えば次式(3)に従って
量子化する。
[Equation 2] The quantizing unit 12 quantizes the image block input from the orthogonal transforming unit 11 based on the quantizing step width h given by the quantizing controlling unit 16, for example, according to the following equation (3).

【0010】[0010]

【数3】 この量子化された画像データは、次の表1のジグザグの
順序に従って符号化手段13へ送られる。
[Equation 3] The quantized image data is sent to the encoding means 13 according to the zigzag order shown in Table 1 below.

【0011】[0011]

【表1】 符号化手段13では、量子化手段12からブロック単位
で入力された量子化データを、連続するゼロの数(以
下、ゼロラン長という)と、それに続く非ゼロの値(以
下、レベルという)とを複合し、例えば図4及び図5の
ようなゼロラン・レベル複合符号例に示すような符号で
複合化し、その符号化された画像データをバッファ14
へ送る。なお、図4において、最後のビット“s”はレ
ベル(LEVEL)の正負を示す。即ち、“0”は正、
“1”は負を示す。また、図3以外のラン(RUN)及
びLEVELの組合わせについては、6ビットのESC
APE符号、6ビットのRUN及び8ビットのLEVE
Lからなる20ビットにより符号化される。バッファ1
4は、符号化手段13から不規則なビットレートで入力
される符号化された画像データを一旦格納し、FIFO
の法則で、一定のビットレートで出力端子4へ出力す
る。符号量計測手段15では、バッファ14から、1ブ
ロック単位あるいは数ブロック単位で該バッファ14の
符号量br を計測し、量子化制御手段16へ出力する。
量子化制御手段16では、符号量計測手段15から入力
される1ブロック単位あるいは数ブロック単位の実測符
号量br と、画像の予測方式に応じて与えられた同ブロ
ック数の割当て符号量ba とから、量子化手段12に与
える量子化ステップ幅hを次式(4),(5)より求め
る。 B(n)=B(n−1)+(br −ba ) ・・・(4) h(n)=f(n−1)+B(n)/k ・・・(5) 但し、k;定数 ここで、(5)式の定数kは、バッファ14の容量及び
量子化ステップ幅hの取りうる範囲によって決まる。例
えば、バッファ14の容量を120Kビットとし、量子
化ステップ幅hが2〜62までとすると、k=2000
近傍が適切である。
[Table 1] In the encoding means 13, the quantized data input from the quantization means 12 in block units is converted into a number of consecutive zeros (hereinafter referred to as zero run length) and a non-zero value (hereinafter referred to as level) that follows. The coded image data is combined with the code shown in the zero-run level composite code examples shown in FIGS. 4 and 5, and the encoded image data is buffered.
Send to. In FIG. 4, the last bit "s" indicates the level (LEVEL) positive or negative. That is, "0" is positive,
“1” indicates negative. For combinations of run and LEVEL other than those shown in FIG. 3, 6-bit ESC
APE code, 6-bit RUN and 8-bit LEVE
It is encoded by 20 bits of L. Buffer 1
Reference numeral 4 temporarily stores coded image data input from the coding means 13 at an irregular bit rate, and a FIFO
According to the above rule, data is output to the output terminal 4 at a constant bit rate. The code amount measuring means 15 measures the code amount b r of the buffer 14 from the buffer 14 on a block-by-block basis or on a block-by-block basis and outputs it to the quantization controller 16.
In the quantization control means 16, the measured code amount b r input from the code amount measuring means 15 in units of one block or several blocks and the allocated code amount b a of the same number of blocks given according to the image prediction method. From the above, the quantization step width h given to the quantization means 12 is obtained from the following equations (4) and (5). B (n) = B (n -1) + (b r -b a) ··· (4) h (n) = f (n-1) + B (n) / k ··· (5) where, k; constant Here, the constant k of the equation (5) is determined by the capacity of the buffer 14 and the range of the quantization step width h. For example, if the capacity of the buffer 14 is 120 Kbits and the quantization step width h is 2 to 62, k = 2000.
Neighborhood is appropriate.

【0012】[0012]

【発明が解決しようとする課題】しかしながら、上記構
成の蓄積用動画像符号化装置では、バッファ14の符号
量のみを制御しているので、次の画像の符号化品質がそ
れまでの画像の符号量に左右れさる。そのため、前の画
像符号量が予定より多くなると、次の画像に割当てる符
号量が少なくなり、画像の品質が下がる。逆に、前の画
像の符号量が少ないと、次の画像の符号量が増え、品質
が良くなる。このように画像の品質に上下変動を生じる
と、符号化効率が低下する。その上、従来の装置では、
画像の性質に応じて符号化の最適化を図ることが困難で
あった。本発明は、前記従来技術が持っていた課題とし
て、符号化効率が低いという点について解決し、画像の
符号量と同時に、画像の量子化誤差も制御することによ
って符号化効率の優れた動画像符号化装置を提供するも
のである。
However, since the storage moving picture coding apparatus having the above configuration controls only the code amount of the buffer 14, the coding quality of the next image is the same as that of the previous image. It depends on the amount. Therefore, when the code amount of the previous image becomes larger than the planned amount, the code amount assigned to the next image becomes small and the quality of the image deteriorates. On the contrary, when the code amount of the previous image is small, the code amount of the next image is increased and the quality is improved. When the image quality fluctuates in this way, the coding efficiency decreases. Moreover, with conventional devices,
It was difficult to optimize the encoding according to the image properties. The present invention solves the problem of low coding efficiency as a problem that the above-mentioned conventional art has, and a moving image with excellent coding efficiency by controlling the quantization error of the image at the same time as the code amount of the image. An encoding device is provided.

【0013】[0013]

【課題を解決するための手段】第1の発明は、前記課題
を解決するために、イントラフレーム、インターフレー
ム、及びインターポレートフレームの3種の符号化画像
のうち、該イントラフレームの入力画像に対してそのま
ま出力し、該インターフレーム及びインターポレートフ
レームの入力画像に対し、該画像をM×M(但し、M;
正の整数)のブロック単位で予測して予測画像を作り、
現画像と該予測画像との差分画像を出力する動き補償付
き予測手段と、前記動き補償付き予測手段の出力画像を
N×N(但し、N;正の整数)のブロックに分割し、該
ブロック毎に直交変換する直交変換手段と、与えられた
量子化ステップ幅を用いて前記直交変換手段の出力を量
子化する量子化手段と、前記量子化手段の出力を符号化
する符号化手段と、前記符号化手段の出力を一時格納
し、一定のビットレートで出力するバッファとを、備え
た動画像符号化装置において、次のような手段を設けて
いる。
[Means for Solving the Problems] In order to solve the above-mentioned problems, an input image of the intra frame is selected from among three types of coded images of an intra frame, an inter frame and an interpolated frame. On the other hand, the image is output as it is, and the image is M × M (however, M;
Make a prediction image by predicting in block units of (positive integer),
A motion-compensated prediction unit that outputs a difference image between the current image and the predicted image, and an output image of the motion-compensated prediction unit is divided into N × N (where N; positive integer) blocks, and the block Orthogonal transformation means for orthogonal transformation for each, quantization means for quantizing the output of the orthogonal transformation means using a given quantization step width, coding means for coding the output of the quantization means, A moving picture coding apparatus provided with a buffer for temporarily storing the output of the coding means and outputting it at a constant bit rate is provided with the following means.

【0014】即ち、本発明では、前記バッファの内容に
基づき、画像の符号量を計測すると共にバッファ占有量
の上限及び下限を計測する符号量計測手段と、前記量子
化手段の入力及び出力から、画像の1ブロック数、ブロ
ックあるいは1画像全体の量子化誤差を計測する量子化
誤差計測手段と、前記量子化誤差計測手段及び符号量計
測手段の出力に基づき、前記計測された画像の量子化誤
差が所定の量子化誤差となるよう、かつ前記計測された
符号量から求めた画像のグループ平均符号量が所定の符
号量となるように、該所定の量子化誤差、及び前記量子
化手段に与える量子化ステップ幅を制御する量子化制御
手段とを、設けている。第2の発明では、第1の発明の
量子化制御手段を、入力される前記イントラフレーム及
びインターフレームに対して、その設定量子化誤差が前
のイントラフレームあるいはインターフレームの設定量
子化誤差以上となるよう、かつ入力される前記インター
ポレートフレームに対して、その設定量子化誤差が予測
に用いられる前後のイントラフレームあるいはインター
フレームの時間的に近い方の設定量子化誤差より大きく
なるように、前記量子化ステップ幅を制御する構成にし
ている。第3の発明では、第1の発明の量子化制御手段
を、入力される前記インターフレームの量子化誤差が、
前方の予測に用いられるイントラフレームあるいはイン
ターフレームの量子化誤差のα倍(但し、1≦α≦2)
となるよう、入力される前記インターポレートフレーム
の量子化誤差が、予測に用いられる前方あるいは後方の
近い方のイントラフレームあるいはインターフレームを
量子化誤差のβ倍(但し、1≦β≦2)となるように、
前記量子化ステップ幅を制御する構成にしている。
That is, according to the present invention, the code amount measuring means for measuring the code amount of the image and the upper and lower limits of the buffer occupancy amount based on the contents of the buffer, and the input and output of the quantizing means, Quantization error measuring means for measuring the number of blocks in the image, the quantization error of the block or the whole image, and the quantization error of the measured image based on the outputs of the quantization error measuring means and the code amount measuring means. To a predetermined quantization error, and to give the predetermined quantization error and the quantization means such that the group average code amount of the image obtained from the measured code amount becomes a predetermined code amount. Quantization control means for controlling the quantization step width. In a second aspect of the invention, the quantization control means of the first aspect of the invention sets the quantization error for the input intraframe and interframe to be equal to or greater than the quantization error of the previous intraframe or interframe. And for the input interpolated frame, the setting quantization error thereof is larger than the setting quantization error of the temporally closer intra-frame or inter-frame before and after used for prediction. The configuration is such that the quantization step width is controlled. In a third aspect of the invention, the quantization control means of the first aspect of the invention is used, in which the quantization error of the input interframe is
Α times the quantization error of the intra frame or inter frame used for forward prediction (where 1 ≦ α ≦ 2)
Therefore, the quantization error of the input interpolated frame is such that the forward or backward nearer intra frame or inter frame used for prediction is β times the quantization error (where 1 ≦ β ≦ 2). So that
The quantization step width is controlled.

【0015】第4の発明では、第1の発明と同様の動き
補償付き予測手段と、直交変換手段と、量子化手段と、
符号化手段と、バッファとを備えた動画像符号化装置に
おいて、次のような手段を設けている。即ち、本発明で
は、前記バッファの内容に基づき、画像の符号量を計測
すると共にバッファ占有量の上限及び下限を計測する符
号量計測手段と、前記現画像と、前記動き補償付き予測
手段から出力される該現画像の予測画像とから、画像の
統計的性質を算出する統計性質算出手段と、前記算出さ
れた画像の統計的性質に基づいて、画像グループにおけ
る平均符号量が所定の符号量となるよう、かつ画像の平
均量子化誤差が最も小さくなるように、該画像グループ
内のそれぞれの画像に割当てる最適符号量を算出する符
号量決定手段と、前記符号量計測手段及び符号量決定手
段の出力に基づき、前記量子化手段に与える量子化ステ
ップ幅を制御する量子化制御手段とを、設けている。
According to a fourth aspect of the invention, a motion compensation predicting means similar to the first aspect of the invention, an orthogonal transforming means, a quantizing means,
The following means is provided in the moving picture coding apparatus including the coding means and the buffer. That is, in the present invention, the code amount measuring means for measuring the code amount of the image and the upper and lower limits of the buffer occupancy amount based on the contents of the buffer, the current image, and the prediction means with motion compensation are output. From the predicted image of the current image to be calculated, statistical property calculation means for calculating statistical properties of the image, and based on the calculated statistical properties of the image, the average code amount in the image group is a predetermined code amount. And a code amount determining means for calculating an optimum code amount to be assigned to each image in the image group so that the average quantization error of the image is minimized, and the code amount measuring means and the code amount determining means. Quantization control means for controlling the quantization step width given to the quantization means based on the output.

【0016】第5の発明では、第4の発明の符号量決定
手段を、前記インターフレームの量子化誤差が、予測に
用いられる前方のイントラフレームあるいはインターフ
レームの量子化誤差以上となるよう、また前記インター
ポレートフレームの量子化誤差が、予測に用いられる前
方または後方のイントラフレームあるいはインターフレ
ームの量子化誤差より大きくなるように設定し、前記最
適割当て符号量を求める構成にしている。第6の発明で
は、第5の発明の符号量決定手段を、前記画像の統計的
性質を予め数種類想定し、それらに対して前記最適割当
て符号量を算出し、前記統計性質算出手段から実画像の
統計的性質の情報が入力されると、該想定画像性質によ
って算出された最適割当て符号量から該統計的性質の情
報に最も対応しているものを選出する構成にしている。
第7の発明では、第6の発明の符号量決定手段を、入力
される前記インターフレームの量子化誤差を、前方の予
測に用いられるイントラフレームあるいはインターフレ
ームの量子化誤差のα倍とを設定し、入力される前記イ
ンターポレートフレームの量子化誤差を、予測に用いら
れる前方あるいは後方の近い方のイントラフレームある
いはインターフレームの量子化誤差のβ倍と設定し、各
画像に割当てる最適符号量を算出する構成にしている。
In a fifth aspect of the invention, the code amount determining means of the fourth aspect of the invention is used so that the quantization error of the interframe is equal to or greater than the quantization error of the forward intraframe or interframe used for prediction. The quantization error of the interpolated frame is set to be larger than the quantization error of the forward or backward intra frame or inter frame used for prediction, and the optimum allocation code amount is obtained. In the sixth invention, the code amount determination means of the fifth invention presumes several kinds of statistical properties of the image in advance, calculates the optimum allocated code amount for them, and calculates the actual image from the statistical property calculation device. When the information of the statistical property is input, the one that most corresponds to the information of the statistical property is selected from the optimal allocation code amount calculated by the assumed image property.
In a seventh invention, the code amount determining means of the sixth invention sets the quantization error of the input interframe to be α times the quantization error of the intraframe or interframe used for forward prediction. Then, the quantization error of the input interpolated frame is set to be β times the quantization error of the forward or backward nearer intra frame or inter frame used for prediction, and the optimal code amount to be assigned to each image is set. It is configured to calculate.

【0017】[0017]

【作用】第1の発明によれば、以上のように動画像符号
化装置を構成したので、符号量計測手段では、バッファ
から、画像の符号量及びバッファ占有量の上限及び下限
を計測してその計測結果を量子化制御手段へ送る。量子
化誤差計測手段は、量子化手段の入力と出力から、画像
の量子化誤差を計測し、その計測結果を量子化制御手段
へ送る。量子化制御手段では、符号量計測手段からの実
測符号量が所定の符号量となるように、所定の量子化誤
差を更新する。そして、量子化制御手段は、符号量計測
手段で計測された実測量子化誤差が、前記所定の量子化
誤差となるように量子化ステップ幅を変え、量子化手段
の量子化を制御する。
According to the first aspect of the present invention, since the moving picture coding apparatus is configured as described above, the code amount measuring means measures the code amount of the image and the upper and lower limits of the buffer occupation amount from the buffer. The measurement result is sent to the quantization control means. The quantization error measuring means measures the quantization error of the image from the input and the output of the quantizing means and sends the measurement result to the quantization control means. The quantization control means updates the predetermined quantization error so that the actually measured code quantity from the code quantity measuring means becomes a predetermined code quantity. Then, the quantization control means changes the quantization step width so that the measured quantization error measured by the code amount measuring means becomes the predetermined quantization error, and controls the quantization of the quantization means.

【0018】第2の発明によれば、量子化制御手段は、
入力される画像グループに応じて量子化手段に与える量
子化ステップ幅を制御する。第3の発明によれば、量子
化制御手段は、入力される画像グループの量子化誤差に
応じて、量子化手段に与える量子化ステップ幅を制御す
る。第4の発明によれば、符号量計測手段は、バッファ
から、画像の符号量及びバッファ占有量の上限及び下限
を計測し、その計測情報を量子化制御手段へ送る。統計
性質算出手段では、画像の入力及び動き補償付き予測手
段の出力より、画像の統計的性質を算出し、その情報を
符号量決定手段へ送る。符号量決定手段は、算出された
画像の統計的性質に基づき、それぞれの画像に割当てる
最適な符号量を決定し、量子化制御手段へ送る。量子化
制御手段では、符号量計測手段及び符号量決定手段の出
力に基づき、量子化ステップ幅を変え、量子化手段の量
子化を制御する。第5の発明によれば、符号量決定手段
は入力される画像グループの量子化誤差に応じて最適割
当て符号量を求める。第6の発明によれば、符号量決定
手段は、画像の統計的性質に基づき最適割当て符号量を
算出し、統計性質算出手段から実画像の統計的性質の情
報が入力されると、前記算出された最適割当て符号量か
ら該統計的性質の情報に最も対応しているものを算出
し、高速に符号量の決定を行う。第7の発明によれば、
符号量決定手段は、入力される画像グループに応じて量
子化誤差を設定し、各画像に割当てる最適符号量を算出
する。従って、前記課題を解決できるのである。
According to the second invention, the quantization control means is
The quantization step width given to the quantization means is controlled according to the input image group. According to the third invention, the quantization control means controls the quantization step width given to the quantization means according to the quantization error of the input image group. According to the fourth aspect, the code amount measuring means measures the code amount of the image and the upper and lower limits of the buffer occupation amount from the buffer, and sends the measurement information to the quantization control means. The statistical property calculation means calculates the statistical property of the image from the input of the image and the output of the prediction means with motion compensation, and sends the information to the code amount determination means. The code amount determination means determines the optimum code amount to be assigned to each image based on the calculated statistical properties of the image and sends it to the quantization control means. The quantization control means changes the quantization step width based on the outputs of the code amount measuring means and the code amount determining means, and controls the quantization of the quantizing means. According to the fifth invention, the code amount determining means obtains the optimum assigned code amount according to the quantization error of the input image group. According to the sixth aspect, the code amount determining means calculates the optimal allocation code amount based on the statistical property of the image, and when the information of the statistical property of the actual image is input from the statistical property calculating device, the calculation is performed. The optimum allocation code amount is calculated from the optimum allocation code amount, and the code amount is determined at high speed. According to the seventh invention,
The code amount determining means sets the quantization error according to the input image group and calculates the optimum code amount to be assigned to each image. Therefore, the above problem can be solved.

【0019】[0019]

【実施例】第1の実施例 図1は、本発明の第1の実施例を示す蓄積用動画像符号
化装置の構成ブロック図であり、従来の蓄積用動画像符
号化装置を示す図3中の要素と共通の要素には共通の符
号が付されている。この動画像符号化装置は、従来の図
3と同一の動き補償付き予測手段10、直交変換手段1
1、量子化手段12、符号化手段13、及びバッファ1
4を備えている。バッファ14には符号量計測手段20
が接続されると共に、量子化手段12の入力側及び出力
側には量子化誤差計測手段21が接続され、さらにそれ
らの符号量計測手段20及び量子化誤差計測手段21の
出力側に量子化制御手段22が接続され、該量子化制御
手段22が量子化手段12に接続されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS First Embodiment FIG. 1 is a block diagram showing the configuration of a moving picture coding apparatus for storage according to the first embodiment of the present invention, and FIG. 3 showing a conventional moving picture coding apparatus for storage. Elements that are the same as the elements inside have the same reference numerals. This moving picture coding apparatus includes a prediction unit with motion compensation 10 and an orthogonal transformation unit 1 which are the same as those of the conventional FIG.
1, quantizer 12, encoder 13, and buffer 1
It is equipped with 4. Code amount measuring means 20 is provided in the buffer 14.
Is connected to the input side and the output side of the quantizing means 12, and the quantizing error measuring means 21 is connected. Further, the quantizing control is performed on the output sides of the code amount measuring means 20 and the quantizing error measuring means 21. The means 22 is connected, and the quantization control means 22 is connected to the quantization means 12.

【0020】符号量計測手段20は、バッファ14の内
容に基づき、画像の符号量br を計測すると共に、該バ
ッファ14の占有量の上限及び下限を計測し、それらの
情報を量子化制御手段22へ与える機能を有している。
量子化誤差計測手段21は、直交変換手段11から量子
化手段12へ与えられる入力X(i)と、該量子化手段
12から符号化手段13への出力Y(i)とに基づき、
量子化誤差MSEを計測し、計測した量子化誤差MSE
を量子化制御手段22へ与えるものである。量子化制御
手段22は、実測された量子化誤差MSEが所定の量子
化誤差となるように量子化手段12に与える量子化ステ
ップ幅hを制御し、また実測された符号量br が所定の
割当て符号量となるように、該所定の量子化誤差を更新
する機能を有している。
The code amount measuring means 20 measures the code amount b r of the image based on the contents of the buffer 14 and also measures the upper and lower limits of the occupied amount of the buffer 14 and quantize control information thereof. 22 has a function to give.
The quantization error measuring means 21 is based on the input X (i) given to the quantization means 12 from the orthogonal transformation means 11 and the output Y (i) from the quantization means 12 to the encoding means 13,
Quantization error MSE is measured and measured quantization error MSE
To the quantization control means 22. The quantization control unit 22 controls the quantization step width h given to the quantization unit 12 so that the measured quantization error MSE becomes a predetermined quantization error, and the measured code amount b r is predetermined. It has a function of updating the predetermined quantization error so that the assigned code amount is obtained.

【0021】次に、図1に示す動画像符号化装置の動作
を説明する。符号化対象となる画像が図2に示す順序で
入力端子1,2,3に入力されると、従来と同様に、動
き補償付き予測手段10で差分画像等が求められ、その
差分画像等が直交変換手段11で直交変換され、量子化
ステップ幅hに基づき量子化手段12で量子化され、符
号化手段13で符号化された後、バッファ14へ送ら
れ、該バッファ14から符号化された画像データが一定
のビットレートで出力端子4へ出力される。符号量計測
手段20では、バッファ14の内容に基づき、1画像単
位の符号量br を計測し、量子化制御手段22へ送ると
同時に、該バッファ14の占有量が上限あるいは下限を
越えているか否かをチェックし、上限あるいは下限を越
えたときにその情報を量子化制御手段22へ送る。量子
化誤差計測手段21では、量子化手段12の入力X
(i)及び出力Y(i)に基づき、例えば次式(6)よ
り、量子化誤差MSEを算出し、量子化制御手段22へ
送る。
Next, the operation of the moving picture coding apparatus shown in FIG. 1 will be described. When the image to be encoded is input to the input terminals 1, 2 and 3 in the order shown in FIG. 2, the motion compensating prediction means 10 obtains a differential image and the like, as in the conventional case. The orthogonal transform is performed by the orthogonal transform means 11, is quantized by the quantizing means 12 based on the quantizing step width h, is coded by the coding means 13, is sent to the buffer 14, and is coded from the buffer 14. The image data is output to the output terminal 4 at a constant bit rate. The code amount measuring means 20 measures the code amount b r of one image unit based on the contents of the buffer 14 and sends it to the quantization control means 22, and at the same time, the occupied amount of the buffer 14 exceeds the upper limit or the lower limit. It is checked whether or not the upper limit or the lower limit is exceeded, and the information is sent to the quantization control means 22. In the quantizing error measuring means 21, the input X of the quantizing means 12 is inputted.
Based on (i) and the output Y (i), the quantization error MSE is calculated from the following equation (6), for example, and sent to the quantization control means 22.

【0022】[0022]

【数4】 (6)式において、Nは1ブロック、あるいは数ブロッ
ク、あるいは1画像とすることができる。量子化制御手
段22では、1つの画像グループ内のイントラフレーム
I及びインターフレームPに対して、その量子化誤差M
SEが入力順に、次式(7)のように、前のイントラフ
レームIあるいはインターフレームPの量子化誤差MS
Eのα倍(α≧1)となるように、かつ、(i−1)番
目とi番目のイントラフレームIあるいはインターフレ
ームPの間にあるインターポレートフレーム(時間的
に、i番目のイントラフレームIあるいはインターフレ
ームPの直後に入るインターポレートフレーム)Bに対
して、(i−1)番目のイントラフレームIあるいはイ
ンターフレームPに近いインターポレートフレームBの
量子化誤差MSEがMSEP(i−1)のβ倍(β>
1)、i番目のイントラフレームIあるいはインターフ
レームPに近いインターポレートフレームBの量子化誤
差MSEがMSEP(i)のβ倍となるように、量子化
誤差を設定し、量子化手段12に与える量子化ステップ
幅hを制御する。 MSEP(i)=MSEP(i−1)・α ・・・(7) 但し、α;係数 量子化ステップ幅hの制御方式としては、例えば次のよ
うな方法がある。量子化誤差計測手段21から入力され
る量子化誤差MSEと、所定の量子化誤差MSE(i)
とから、量子化手段12に与える量子化ステップ幅h
(n)を次式(8)のように算出する。
[Equation 4] In the equation (6), N can be one block, several blocks, or one image. In the quantization control means 22, the quantization error M for the intra frame I and the inter frame P in one image group
SE is the order of input, and the quantization error MS of the previous intra frame I or inter frame P is expressed by the following equation (7).
An interpolated frame (i-th intra frame in terms of time) such that α times (α ≧ 1) of E and between the (i−1) th and i-th intra frames I or P. I or the interpolated frame B immediately following the interframe P), the quantization error MSE of the interpolated frame B close to the (i-1) th intra frame I or interframe P is MSEP (i-1). Β times (β>
1), the quantization error is set so that the quantization error MSE of the interpolated frame B close to the i-th intra frame I or the inter frame P is β times MSEP (i), and given to the quantization means 12. The quantization step width h is controlled. MSEP (i) = MSEP (i−1) · α (7) where α; coefficient The quantization step width h is controlled by the following method, for example. The quantization error MSE input from the quantization error measuring means 21 and a predetermined quantization error MSE (i)
From, the quantization step width h given to the quantization means 12
(N) is calculated by the following equation (8).

【0023】[0023]

【数5】 但し、符号量計測手段20から、バッファ14の占有量
が上限あるいは下限を越えたという情報が入力される
と、無条件に、量子化ステップ幅を最大値hmax あるい
は最小値hmin にする。ここで、1グループ内のイント
ラフレームIの数をNi 、インターフレームPの数をN
P 、及びインターポレートフレームBの数をNb =2
(Ni +NP )とすると、グループ内の平均量子化誤差
MSEが次式(9)のように求まる。従って、それぞれ
の画像の量子化誤差MSEP(1),MSEP(i),
MSEB(i)が次式(10)〜(12)となる。
[Equation 5] However, when the information that the occupied amount of the buffer 14 exceeds the upper limit or the lower limit is input from the code amount measuring means 20, the quantization step width is unconditionally set to the maximum value h max or the minimum value h min . Here, the number of intra frames I in one group is N i , and the number of inter frames P is N.
P and the number of interpolated frames B are N b = 2
(N i + N P ), the average quantization error in the group
MSE is obtained as in the following equation (9). Therefore, the quantization error of each image MSEP (1), MSEP (i),
MSEB (i) becomes the following equations (10) to (12).

【0024】[0024]

【数6】 [Equation 6]

【数7】 量子化制御手段22では、さらに、符号量計測手段20
から与えられた各画像の符号量br からグループ平均符
号量bave を算出し、該平均符号量bave が所定の符号
量BR(=伝送ビットレート)となるように、平均量子
化誤差MSEを次式(13)のように更新し、そして、
更新された該平均量子化誤差MSEを用いて各画像の設
定量子化誤差MSEP(i),MSEB(i)を前記
(11),(12)式のように算出する。
[Equation 7] The quantization control means 22 further includes the code amount measuring means 20.
The group average code amount b ave is calculated from the code amount b r of each image given by the above, and the average quantization error MSE is set so that the average code amount b ave becomes a predetermined code amount BR (= transmission bit rate). To the following equation (13), and
Using the updated average quantization error MSE , the set quantization errors MSEP (i) and MSEB (i) of each image are calculated as in the equations (11) and (12).

【0025】[0025]

【数8】 なお、(8)式及び(13)式において、定数k及びr
は制御の性質を左右するもので、この定数K及びrを小
さくすると、制御は緩やかになるが、感度も下る。これ
に対し、定数K及びrを大きくすると、制御は迅速かつ
敏感になるが、上下変動が激しくなる可能性がある。必
要に応じて定数K及びrを変更することが可能である。
また、(9)式〜(12)に式における係数α及びβ
は、符号化の効率を左右するものである。つまり、現画
像と予測画像の差分に、画像の変動分と予測画像の量子
化誤差MSEが含まれている。よって、予測の精度及び
予測誤差の大きさは、予測に用いられる画像の量子化誤
差MSEに左右される。予測用画像の量子化誤差MSE
を小さくすれば、予測の精度が上がり、予測誤差も小さ
くなって符号化効率も良くなる。
[Equation 8] In equations (8) and (13), constants k and r
Influences the property of control, and if the constants K and r are reduced, the control becomes slower but the sensitivity also lowers. On the other hand, when the constants K and r are increased, the control becomes quick and sensitive, but the vertical fluctuation may become severe. It is possible to change the constants K and r as needed.
Further, the coefficients α and β in the equations (9) to (12) are used.
Influences the efficiency of encoding. That is, the difference between the current image and the predicted image includes the fluctuation amount of the image and the quantization error MSE of the predicted image. Therefore, the accuracy of prediction and the magnitude of the prediction error depend on the quantization error MSE of the image used for prediction. Quantization error MSE of prediction image
If is smaller, the accuracy of prediction increases, the prediction error also decreases, and the coding efficiency improves.

【0026】一方、現画像の予測誤差信号に、予測画像
の量子化誤差MSEも含まれているので、現画像の量子
化誤差MSEを予測画像の量子化誤差MSE以下にする
には、多くの符号量が必要で、符号化効率が低減する。
よって、予測画像の量子化誤差MSEを小さくすれば、
現画像の予測誤差も小さくなり、少ない符号量でも、量
子化誤差MSEを小さく抑えることができ、高い符号化
効率が実現できる。従って、イントラフレームI及びイ
ンターフレームP等の予測に用いられる画像に対して
は、なるべく量子化誤差MSEを小さくし、かつ、入力
順に徐々に大きくし(α>1)、インターポレートフレ
ームBに対しては、予測に用いられる画像よりも大きい
量子化誤差MSEを割当てれば(β>1とする)、高い
符号化効率が得られる。係数αとβの値は、画像の性質
に左右されるが、テレビジョン画像等の自然画像では、
シミュレーションにより、α=1.07、γ=1.32
近傍の値を用いることで、最も良い符号化効率が得られ
ることが確認できた。
On the other hand, since the prediction error signal of the current image also includes the quantization error MSE of the prediction image, there are many ways to reduce the quantization error MSE of the current image to the quantization error MSE of the prediction image or less. The code amount is required, and the coding efficiency is reduced.
Therefore, if the quantization error MSE of the predicted image is reduced,
The prediction error of the current image also becomes small, the quantization error MSE can be kept small even with a small code amount, and high coding efficiency can be realized. Therefore, for the images used for prediction such as the intra frame I and the inter frame P, the quantization error MSE is made as small as possible and gradually increased in the input order (α> 1), and the interpolated frame B is set. In particular, if a quantization error MSE larger than the image used for prediction is assigned (β> 1), high coding efficiency can be obtained. The values of the coefficients α and β depend on the nature of the image, but in natural images such as television images,
By simulation, α = 1.07, γ = 1.32.
It was confirmed that the best coding efficiency was obtained by using the neighboring values.

【0027】図6は、代表的なテレビジョン画像から、
統計的性質を抽出し、図1に示す動画像符号化装置にお
ける符号化効果をシミュレーションした結果である。こ
の図において、横軸DLTBは−log2 βを示し、縦
軸BITRATEはMSE=0.05×画像の分散時
の平均符号量を示し、パラメータDLTPは−log2
αを示す。図6からも分かるように、DLTP=−0.
1(α=1.07)、及びDLTB=−0.4(β=
1.32)のとき、平均符号量が最小となる。以上のよ
うに、この第1の実施例では、図2のようなイントラフ
レームI、インターフレームP及びインターポレートフ
レームBから構成される画像グループの符号化を行う際
に、量子化誤差計測手段21から出力されるそれぞれ画
像の量子化誤差MSEを、符号化効率が最も良くなるよ
うに量子化制御手段22で制御するようにしたので、最
も効率の良い符号化が実現できる。
FIG. 6 shows, from a typical television image,
It is the result of simulating the coding effect in the moving picture coding apparatus shown in FIG. 1 by extracting statistical properties. In this figure, the horizontal axis DLTB represents -log 2 β, the vertical axis BIT - RATE represents MSE = 0.05 x the average code amount when the image is dispersed, and the parameter DLTP is -log 2 β.
indicates α. As can be seen from FIG. 6, DLTP = −0.
1 (α = 1.07), and DLTB = −0.4 (β =
In the case of 1.32), the average code amount becomes the minimum. As described above, in the first embodiment, the quantization error measuring means 21 is used when the image group composed of the intra frame I, the inter frame P and the interpolated frame B as shown in FIG. 2 is encoded. Since the quantization error MSE of each image output from is controlled by the quantization control means 22 so that the coding efficiency is maximized, the most efficient coding can be realized.

【0028】第2の実施例 図7は、本発明の第2の実施例を示す蓄積用動画像符号
化装置の構成ブロック図であり、第1の実施例を示す図
1中の要素と共通の要素には共通の符号が付されてい
る。この動画像符号化装置は、第1の実施例と同様の動
き補償付き予測手段10、直交変換手段11、量子化手
段12、符号化手段13、バッファ14、及び符号量計
測手段20を備えている。そして、動き補償付き予測手
段10の出力側には統計性質算出手段30が接続され、
その出力側に符号量決定手段31が接続され、さらにそ
れらの符号量決定手段31及び符号量計測手段20の出
力側に量子化制御手段32が接続されている。
Second Embodiment FIG. 7 is a block diagram showing the configuration of a moving picture coding apparatus for storage according to a second embodiment of the present invention, which is common to the elements in FIG. 1 showing the first embodiment. Common elements are denoted by common reference numerals. This moving picture coding apparatus includes the same motion compensation predicting means 10, orthogonal transforming means 11, quantizing means 12, coding means 13, buffer 14, and code amount measuring means 20 as in the first embodiment. There is. The statistical property calculation means 30 is connected to the output side of the prediction means 10 with motion compensation,
The code amount determining means 31 is connected to the output side thereof, and the quantization control means 32 is further connected to the output sides of the code amount determining means 31 and the code amount measuring means 20.

【0029】統計性質算出手段30は、入力端子1から
の入力画像と動き補償付き予測手段10から出力された
予測画像とに基づき、画像の統計的性質を算出し、その
統計的性質の情報を符号量決定手段31へ与える機能を
有している。符号量決定手段31は、画像の統計的性質
の情報に基づき、それぞれの画像に割当てる最適な符号
量を決定し、その決定結果を量子化制御手段32へ与え
るものである。量子化制御手段32は、符号量計測手段
20に及び符号量決定手段31の出力に基づき、量子化
手段12に与える量子化ステップ幅hを制御する機能を
有している。
The statistical property calculation means 30 calculates the statistical properties of the image based on the input image from the input terminal 1 and the prediction image output from the motion-compensated prediction means 10, and obtains information on the statistical properties. It has a function of giving the code amount determining means 31. The code amount determination means 31 determines the optimum code amount to be assigned to each image based on the information on the statistical properties of the image, and gives the determination result to the quantization control means 32. The quantization control means 32 has a function of controlling the quantization step width h given to the quantization means 12 based on the outputs of the code amount measuring means 20 and the code amount determining means 31.

【0030】次に、動作を説明する。符号化対象となる
画像が図2に示す順序で入力端子1,2,3に入力され
ると、第1の実施例と同様に、動き補償付き予測手段1
0、直交変換手段11、量子化手段12、符号化手段1
3、バッファ14、及び符号量計測手段20が所定の符
号化処理を行う。
Next, the operation will be described. When the image to be encoded is input to the input terminals 1, 2 and 3 in the order shown in FIG. 2, the motion-compensated prediction means 1 is used as in the first embodiment.
0, orthogonal transformation means 11, quantization means 12, coding means 1
3, the buffer 14, and the code amount measuring means 20 perform a predetermined encoding process.

【0031】統計性質算出手段30では、入力端子1か
らの現画像と、動き補償付き予測手段10から出力され
た現画像の予測画像とを入力すると、現画像の分散δx
2 、相関係数ρx ,ρy 、現画像とインターフレーム予
測画像間の相関係数ρp 、現画像とインターポレートフ
レーム予測画像間の相関係数ρb 等の統計的性質を、次
式(14)〜(18)のように求め、符号量決定手段3
1へ送る。
In the statistical property calculating means 30, when the current image from the input terminal 1 and the predicted image of the current image output from the motion compensating prediction means 10 are input, the variance δ x of the current image.
2 , the correlation coefficient ρ x , ρ y , the correlation coefficient ρ p between the current image and the inter-frame predicted image, the correlation coefficient ρ b between the current image and the interpolated frame predicted image, etc. (14) to (18), the code amount determining means 3 is obtained.
Send to 1.

【0032】[0032]

【数9】 [Equation 9]

【数10】 符号量決定手段31では、統計性質算出手段30で算出
された画像の統計的性質の情報(δx 2 ,ρx ,ρy
ρp ,δb )を用いて、予め論理演算あるいは実画像の
シミュレーションによって得られた該統計的性質におけ
る最適符号量配分をそれぞれの画像に割当て、その符号
量を量子化制御手段32へ送る。最適符号量の論理演算
法としては、例えば次のような方法がある。先ず、1画
像グループ内のイントラフレームI及びインターフレー
ムPに対して、その量子化誤差MSEP(i)が入力順
に前記(7)式のように、 MSEP(i)=MSEP(i−1)・α ・・・(7) α;係数 前のイントラフレームIあるいはインターフレームPの
量子化誤差MSEP(i−1)のα倍(α≧1)となる
ように設定し、また(i−1)番目とi番目のイントラ
フレームIあるいはインターフレームPにあるインター
ポレートフレームBの量子化誤差MSEBは次式(1
9)に示すように近い方のイントラフレームIあるいは
インターフレームPのβ倍(β>1)となるように設定
する。 MSEB(j)=MSEP(i)・β ・・・(19) ここで、1画像グループ内のイントラフレーム数を
i 、インターフレーム数をNp 、及びインターポレー
トフレーム数をNb =2(Ni +Np )とすると、グル
ープ内の平均量子化誤差MSEが次式(20)のように
求まる。従って、平均量子化誤差MSEP(1),MS
EP(i),MSEB(j)が前記(10),(11)
式及び次式(21)のようになる。
[Equation 10] In the code amount determining means 31, information (δ x 2 , ρ x , ρ y , information on the statistical properties of the image calculated by the statistical property calculating means 30 is used.
ρ p , δ b ) is used to assign the optimum code amount distribution in the statistical property obtained in advance by a logical operation or simulation of an actual image to each image, and the code amount is sent to the quantization control means 32. Examples of the logical operation method of the optimum code amount include the following methods. First, the quantization error MSEP (i) of the intra frame I and the inter frame P in one image group is input in the order of input as shown in the equation (7): MSEP (i) = MSEP (i-1). α ... (7) α; coefficient It is set to be α times (α ≧ 1) of the quantization error MSEP (i−1) of the previous intraframe I or interframe P, and (i−1) The quantization error MSEB of the interpolated frame B in the i-th and i-th intra frames I or P is
As shown in 9), it is set to be β times (β> 1) of the closer intraframe I or interframe P. MSEB (j) = MSEP (i) · β (19) Here, the number of intra frames in one image group is N i , the number of inter frames is N p , and the number of interpolated frames is N b = 2 ( (N i + N p ), the average quantization error MSE within the group is obtained as in the following equation (20). Therefore, the average quantization error MSEP (1), MS
EP (i) and MSEB (j) are the same as (10) and (11) above.
The equation and the following equation (21) are obtained.

【0033】[0033]

【数11】 [Equation 11]

【数12】 グループ内の先頭のイントラフレームIについては、符
号化による符号量と量子化誤差との関係が次式(22)
で表される。
[Equation 12] For the first intra-frame I in the group, the relationship between the code amount due to encoding and the quantization error is expressed by the following equation (22).
It is represented by.

【0034】[0034]

【数13】 グループ内のインターフレームPについては、前方の予
測用に用いられるイントラフレームIあるいはインター
フレームPの量子化誤差の影響を受けて、符号化による
符号量と量子化誤差との関係が次式(23)〜(25)
のようになる。
[Equation 13] Regarding the interframe P in the group, the relationship between the code amount and the quantization error due to encoding is affected by the quantization error of the intraframe I or the interframe P used for forward prediction, and ) ~ (25)
become that way.

【数14】 グループ内のインターポレートフレームBについては、
前後の予測用イントラフレームIあるいはインターフレ
ームPの量子化誤差の影響を受けて、符号化による符号
量と量子化誤差との関係が次式(26)〜(28)のよ
うになる。
[Equation 14] For the interpolated frame B in the group,
Under the influence of the quantization error of the preceding and following prediction intra-frame I or inter-frame P, the relationship between the code amount by the encoding and the quantization error is as shown in the following equations (26) to (28).

【0035】[0035]

【数15】 f(ρx ,ρy )は、横方向及び縦方向の相関係数がρ
x 及びρy となる正規分布を有する確率過程の直交変換
(例えば、DCT)後の各周波数の分散の相乗平均を示
し、相関係数ρx ,ρy より求まる。
[Equation 15] f (ρ x , ρ y ) has a correlation coefficient ρ in the horizontal and vertical directions.
A geometric mean of variances of respective frequencies after orthogonal transformation (for example, DCT) of a stochastic process having a normal distribution of x and ρ y is shown, and is obtained from correlation coefficients ρ x and ρ y .

【0036】次に、グループ内の画像の平均符号量r
が所定の符号量(伝送ビットレート)となるよう、か
つ、平均量子化誤差MSEが最も小さくなるように、前
記(11)式、及び(21)〜(28)式を次式(2
9)に代入し、係数αとβを求める。
Next, the average code amount b r of the images in the group
Is a predetermined code amount (transmission bit rate), and the average quantization error MSE is the smallest, the equations (11) and (21) to (28) are changed to the following equation (2).
9) and obtain the coefficients α and β.

【0037】[0037]

【数16】 そして、求めた係数α,βを上の式に代入し、符号量b
rp(i),brb(j)を求める。この符号量brp(i)
及びbrb(j)は、統計的性質を持った画像の最適割
当て符号量となる。従って、符号量決定手段31及び符
号量計測手段20の出力に基づき、量子化制御手段32
によって量子化手段12に与える量子化ステップ幅hを
制御すれば、効率のよい符号化が行える。この第2の実
施例において、代表的なテレビジョン画像から、統計性
質算出手段30で統計的性質を求め、平均量子化誤差
SEが画像の分散の0.05倍時の係数α及びβを変動
させた場合の平均符号量を、前記論理演算により算出す
れば、第1の実施例と同様に、図6のようなシミュレー
ション結果が得られる。
[Equation 16] Then, the calculated coefficients α and β are substituted into the above equation, and the code amount b
Obtain rp (i) and b rb (j). This code amount b rp (i)
And b rb (j) are the optimal allocation code amount of the image having the statistical property. Therefore, the quantization control unit 32 is based on the outputs of the code amount determination unit 31 and the code amount measurement unit 20.
By controlling the quantizing step width h given to the quantizing means 12 by means of the above, efficient coding can be performed. In the second embodiment, the statistical property calculating means 30 obtains the statistical property from a typical television image, and the average quantization error M
If the average code amount when the coefficients α and β are changed when SE is 0.05 times the variance of the image is calculated by the logical operation, the simulation as shown in FIG. 6 is performed as in the first embodiment. The result is obtained.

【0038】図6からもわかるように、第1の実施例と
同様に、DLTP=−0.1(α=1.07)、及びD
LTB=−0.4(β=1.32)のとき、平均符号量
が最小となる。つまり、係数α=1.07、β=1.3
2のとき、符号量の割当てが最適となる。この最適時の
平均符号量を所定の符号量となるように係数αとβを求
めれば、その時の各画像の符号量が最適となる。一例と
して最適状態における各画像の符号量を図8に示す。図
8において、横軸は画像グループを示し、0番目の画像
はイントラフレームI、1番目〜4番目の画像はインタ
ーフレームP、5番目〜10番目の画像はインターポレ
ートフレームBである。縦軸は割当て符号量である。以
上のように、この第2の実施例では、図2のようなイン
トラフレームI、インターフレームP及びインターポレ
ートフレームBから構成される画像グループの符号化を
行う際に、符号量決定手段31により、それぞれの画像
の量子化誤差及び割当て符号量を符号化効率が最も良く
なるように算出し、その算出結果に基づき量子化制御手
段32で量子化ステップ幅hを制御しているので、最も
効率のよい符号化が実現ができる。
As can be seen from FIG. 6, DLTP = −0.1 (α = 1.07), and D as in the first embodiment.
When LTB = −0.4 (β = 1.32), the average code amount becomes the minimum. That is, the coefficients α = 1.07 and β = 1.3
When 2, the code amount is optimally assigned. If the coefficients α and β are calculated so that the average code amount at this optimum time becomes a predetermined code amount, the code amount of each image at that time becomes optimum. As an example, FIG. 8 shows the code amount of each image in the optimum state. In FIG. 8, the horizontal axis indicates an image group, the 0th image is an intra frame I, the 1st to 4th images are interframes P, and the 5th to 10th images are interpolated frames B. The vertical axis is the assigned code amount. As described above, according to the second embodiment, when the image group including the intra frame I, the inter frame P and the interpolated frame B as shown in FIG. , The quantization error and the allocated code amount of each image are calculated so that the coding efficiency is the best, and the quantization step width h is controlled by the quantization control means 32 based on the calculation result. A good encoding can be realized.

【0039】[0039]

【発明の効果】以上詳細に説明したように、第1〜第3
の発明によれば、量子化誤差計測手段によって画像の量
子化誤差を計測し、量子化制御手段により、画像の符号
量と同時に画像の量子化誤差も制御して量子化ステップ
幅を変動させ、量子化手段を制御するようにしたので、
イントラフレーム、インターフレーム及びインターポレ
ートフレームより構成される画像グループ等に対し、そ
れぞれの画像の量子化誤差が、符号化効率が最も良くな
るように制御され、効率の良い符号化が可能となる。第
4〜第7の発明によれば、統計性質算出手段によって画
像の統計的性質を算出し、その算出された統計的性質に
基づいて符号量決定手段によってそれぞれの画像に割当
てる最適符号量を決定し、それらの決定結果等に基づ
き、量子化制御手段によって画像の符号量と同時に画像
の量子化誤差も制御して量子化ステップ幅を変えるよう
にしたので、イントラフレーム、インターフレーム及び
インターポレートフレームから構成される画像グループ
の符号化等に際し、それぞれの画像の量子化誤差及び割
当て符号量が、符号化効率が最も良くなるように算出さ
れ、効率の良い符号化が可能となる。
As described in detail above, the first to third aspects
According to the invention, the quantizing error measuring unit measures the quantizing error of the image, and the quantizing control unit also controls the quantizing error of the image at the same time as the coding amount of the image to change the quantizing step width, Since I tried to control the quantizer,
For an image group including an intra frame, an inter frame, and an interpolated frame, the quantization error of each image is controlled so that the encoding efficiency becomes the highest, and efficient encoding is possible. According to the fourth to seventh inventions, the statistical property of the image is calculated by the statistical property calculating means, and the optimum code amount to be assigned to each image is determined by the code amount determining means based on the calculated statistical property. However, the quantization step size is changed by controlling the code amount of the image and the quantization error of the image at the same time by the quantization control means on the basis of the determination result, so that the intra frame, the inter frame and the interpolated frame are At the time of coding an image group composed of, the quantization error and the allocated code amount of each image are calculated so that the coding efficiency becomes the best, and efficient coding is possible.

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

【図1】本発明の第1の実施例を示す動画像符号化装置
の構成ブロック図である。
FIG. 1 is a block diagram showing the configuration of a moving picture coding apparatus showing a first embodiment of the present invention.

【図2】動画像符号化における画像グループの構成例を
示す図である。
[Fig. 2] Fig. 2 is a diagram illustrating a configuration example of an image group in moving image encoding.

【図3】従来の動画像符号化装置の構成ブロック図であ
る。
FIG. 3 is a configuration block diagram of a conventional moving image encoding device.

【図4】図3のゼロラン・レベル複合符号の例を示す図
である。
FIG. 4 is a diagram showing an example of the zero-run level composite code of FIG.

【図5】図3のゼロラン・レベル複合符号の例を示す図
である。
5 is a diagram showing an example of the zero-run level composite code of FIG.

【図6】図1のシミュレーション結果を示す図である。FIG. 6 is a diagram showing a simulation result of FIG. 1.

【図7】本発明の第2の実施例を示す動画像符号化装置
の構成ブロック図である。
[Fig. 7] Fig. 7 is a configuration block diagram of a moving picture coding apparatus according to a second embodiment of the present invention.

【図8】図7の画像の最適割当て符号量の例を示す図で
ある。
8 is a diagram showing an example of an optimal allocation code amount of the image of FIG.

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

10 動き補償付き予測手段 11 直交変換手段 12 量子化手段 13 符号化手段 14 バッファ 20 符号量計測手段 21 量子化誤差計測手段 22,32 量子化制御手段 30 統計性質算出手段 31 符号量決定手段 10 Prediction Means with Motion Compensation 11 Orthogonal Transformation Means 12 Quantization Means 13 Coding Means 14 Buffer 20 Code Quantity Measuring Means 21 Quantization Error Measuring Means 22, 32 Quantization Control Means 30 Statistical Property Calculating Means 31 Code Quantity Determining Means

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 画像内符号化画像であるイントラフレー
ム、前方予測符号化画像であるインターフレーム、及び
双方向予測符号化画像であるインターポレートフレーム
の3種の符号化画像のうち、該イントラフレームの入力
画像に対してそのまま出力し、該インターフレーム及び
インターポレートフレームの入力画像に対し、該画像を
M×M(但し、M;正の整数)のブロック単位で予測し
て予測画像を作り、現画像と該予測画像との差分画像を
出力する動き補償付き予測手段と、 前記動き補償付き予測手段の出力画像をN×N(但し、
N;正の整数)のブロックに分割し、該ブロック毎に直
交変換する直交変換手段と、 与えられた量子化ステップ幅を用いて前記直交変換手段
の出力を量子化する量子化手段と、 前記量子化手段の出力を符号化する符号化手段と、 前記符号化手段の出力を一時格納し、一定のビットレー
トで出力するバッファとを、 備えた動画像符号化装置において、 前記バッファの内容に基づき、画像の符号量を計測する
と共にバッファ占有量の上限及び下限を計測する符号量
計測手段と、 前記量子化手段の入力及び出力から、画像の1ブロッ
ク、数ブロックあるいは1画像全体の量子化誤差を計測
する量子化誤差計測手段と、 前記量子化誤差計測手段及び符号量計測手段の出力に基
づき、前記計測された画像の量子化誤差が所定の量子化
誤差となるよう、かつ前記計測された符号量から求めた
画像のグループ平均符号量が所定の符号量となるよう
に、該所定の量子化誤差、及び前記量子化手段に与える
量子化ステップ幅を制御する量子化制御手段とを、 設けたことを特徴とする動画像符号化装置。
1. An intra frame among three types of coded images, that is, an intra frame that is an intra-coded image, an inter frame that is a forward predictive coded image, and an interpolated frame that is a bidirectional predictive coded image. Output as it is to the input image of the inter frame and the interpolated frame, the image is predicted in block units of M × M (where M is a positive integer) to form a predicted image, A motion compensation prediction unit that outputs a difference image between the current image and the prediction image, and an output image of the motion compensation prediction unit is N × N (however,
N; a positive integer), orthogonal transform means for orthogonally transforming each block, and quantizer means for quantizing the output of the orthogonal transform means using a given quantization step width, In the moving picture coding apparatus, the coding means for coding the output of the quantizing means, and the buffer for temporarily storing the output of the coding means and outputting at a constant bit rate, Based on the code amount measuring means for measuring the code amount of the image and the upper limit and the lower limit of the buffer occupancy, based on the input and output of the quantizing means, one block of the image, a few blocks or the whole image is quantized. Quantization error measuring means for measuring an error, and based on the outputs of the quantization error measuring means and the code amount measuring means, a quantization error of the measured image becomes a predetermined quantization error. Quantization for controlling the predetermined quantization error and the quantization step width given to the quantization means so that the group average code amount of the image obtained from the measured code amount becomes a predetermined code amount. A moving picture coding apparatus, comprising: a control means.
【請求項2】 前記量子化制御手段は、入力される前記
イントラフレーム及びインターフレームに対して、その
設定量子化誤差が前のイントラフレームあるいはインタ
ーフレームの設定量子化誤差以上となるよう、かつ入力
される前記インターポレートフレームに対して、その設
定量子化誤差が予測に用いられる前後のイントラフレー
ムあるいはインターフレームの時間的に近い方の設定量
子化誤差より大きくなるように、前記量子化ステップ幅
を制御する構成にしたことを特徴とする請求項1記載の
動画像符号化装置。
2. The quantization control means sets the input quantization error of the input intra-frame and inter-frame to be equal to or larger than the setting quantization error of the previous intra-frame or inter-frame, and For the interpolated frame that is set, the quantization step width is set so that the set quantization error becomes larger than the set quantization error of the temporally closer intra-frame or inter-frame before and after used for prediction. The moving picture coding apparatus according to claim 1, wherein the moving picture coding apparatus is configured to control.
【請求項3】 前記量子化制御手段は、入力される前記
インターフレームの量子化誤差が、前方の予測に用いら
れるイントラフレームあるいはインターフレームの量子
化誤差のα倍(但し、1≦α≦2)となるよう、入力さ
れる前記インターポレートフレームの量子化誤差が、予
測に用いられる前方あるいは後方の近い方のイントラフ
レームあるいはインターフレームを量子化誤差のβ倍
(但し、1≦β≦2)となるように、前記量子化ステッ
プ幅を制御する構成にしたことを特徴とする請求項1項
記載の動画像符号化装置。
3. The quantization control means, wherein the quantization error of the input inter-frame is α times the quantization error of the intra-frame or inter-frame used for forward prediction (where 1 ≦ α ≦ 2). ), The quantization error of the input interpolated frame is β times the quantization error of the forward or backward nearer intra-frame or inter-frame used for prediction (where 1 ≦ β ≦ 2). The moving picture coding apparatus according to claim 1, wherein the quantization step width is controlled so that
【請求項4】 画像内符号化画像であるイントラフレー
ム、前方予測符号化画像であるインターフレーム、及び
双方向予測符号化画像であるインターポレートフレーム
の3種の符号化画像のうち、該イントラフレームの入力
画像に対してそのまま出力し、該インターフレーム及び
インターポレートフレームの入力画像に対し、該画像を
M×M(但し、M;正の整数)のブロック単位で予測し
て予測画像を作り、現画像と該予測画像との差分画像を
出力する動き補償付き予測手段と、 前記動き補償付き予測手段の出力画像をN×N(但し、
N;正の整数)のブロックに分割し、該ブロック毎に直
交変換する直交変換手段と、 与えられた量子化ステップ幅を用いて前記直交変換手段
の出力を量子化する量子化手段と、 前記量子化手段の出力を符号化する符号化手段と、 前記符号化手段の出力を一時格納し、一定のビットレー
トで出力するバッファとを、 備えた動画像符号化装置において、 前記バッファの内容に基づき、画像の符号量を計測する
と共にバッファ占有量の上限及び下限を計測する符号量
計測手段と、 前記現画像と、前記動き補償付き予測手段から出力され
る該現画像の予測画像とから、画像の統計的性質を算出
する統計性質算出手段と、 前記算出された画像の統計的性質に基づいて、画像グル
ープにおける平均符号量が所定の符号量となるよう、か
つ画像の平均量子化誤差が最も小さくなるように、該画
像グループ内のそれぞれの画像に割当てる最適符号量を
算出する符号量決定手段と、 前記符号量計測手段及び符号量決定手段の出力に基づ
き、前記量子化手段に与える量子化ステップ幅を制御す
る量子化制御手段とを、 設けたことを特徴とする動画像符号化装置。
4. The intra frame among three types of coded images, that is, an intra frame that is an intra-coded image, an inter frame that is a forward predictive coded image, and an interpolated frame that is a bidirectional predictive coded image. Output as it is to the input image of the inter frame and the interpolated frame, the image is predicted in block units of M × M (where M is a positive integer) to form a predicted image, A motion compensation prediction unit that outputs a difference image between the current image and the prediction image, and an output image of the motion compensation prediction unit is N × N (however,
N; a positive integer), orthogonal transform means for orthogonally transforming each block, and quantizer means for quantizing the output of the orthogonal transform means using a given quantization step width, In the moving picture coding apparatus, the coding means for coding the output of the quantizing means, and the buffer for temporarily storing the output of the coding means and outputting at a constant bit rate, Based on the code amount measuring means for measuring the code amount of the image and measuring the upper and lower limits of the buffer occupancy amount, the current image, and the predicted image of the current image output from the motion-compensated prediction means, Statistical property calculating means for calculating the statistical properties of the image, based on the calculated statistical properties of the image, so that the average code amount in the image group becomes a predetermined code amount, and the average amount of the image A code amount determining means for calculating an optimal code amount to be assigned to each image in the image group so that the sub-sizing error is minimized, and the quantization based on the outputs of the code amount measuring means and the code amount determining means. And a quantization control means for controlling the quantization step width given to the means.
【請求項5】 前記符号量決定手段は、前記インターフ
レームの量子化誤差が、予測に用いられる前方のイント
ラフレームあるいはインターフレームの量子化誤差以上
となるよう、また前記インターポレートフレームの量子
化誤差が、予測に用いられる前方または後方のイントラ
フレームあるいはインターフレームの量子化誤差より大
きくなるように設定し、前記最適割当て符号量を求める
構成にしたことを特徴とする請求項4項記載の動画像符
号化装置。
5. The code amount determining means sets the quantization error of the interframe to be equal to or greater than the quantization error of a forward intra frame or interframe used for prediction, and the quantization error of the interpolated frame. 5. The moving image according to claim 4, wherein is set so as to be larger than a quantization error of a forward or backward intra frame or inter frame used for prediction, and the optimum allocation code amount is obtained. Encoding device.
【請求項6】 前記符号量決定手段は、前記画像の統計
的性質を予め数種類想定し、それらに対して前記最適割
当て符号量を算出し、前記統計性質算出手段から実画像
の統計的性質の情報が入力されると、該想定画像性質に
よって算出された最適割当て符号量から該統計的性質の
情報に最も対応しているものを選出する構成にしたこと
を特徴とする請求項5記載の動画像符号化装置。
6. The code amount determining means presumes several kinds of statistical properties of the image in advance, calculates the optimum allocation code amount for them, and calculates the statistical properties of the real image from the statistical property calculating means. 6. The moving image according to claim 5, wherein when the information is input, the one that most corresponds to the information of the statistical property is selected from the optimal allocation code amount calculated by the assumed image property. Image coding device.
【請求項7】 前記符号量決定手段は、入力される前記
インターフレームの量子化誤差を、前方の予測に用いら
れるイントラフレームあるいはインターフレームの量子
化誤差のα倍と設定し、入力される前記インターポレー
トフレームの量子化誤差を、予測に用いられる前方ある
いは後方の近い方のイントラフレームあるいはインター
フレームの量子化誤差のβ倍と設定し、各画像に割当て
る最適符号量を算出する構成にしたことを特徴とする請
求項6記載の動画像符号化装置。
7. The code amount determining means sets the input quantization error of the inter-frame to be α times the quantization error of the intra-frame or inter-frame used for forward prediction, and inputs the quantization error. The quantization error of the interpolated frame is set to β times the quantization error of the forward or backward nearer intra frame or inter frame used for prediction, and the optimal code amount to be assigned to each image is calculated. The moving picture coding device according to claim 6.
JP4224450A 1992-08-24 1992-08-24 Video encoding device Expired - Fee Related JP3014547B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4224450A JP3014547B2 (en) 1992-08-24 1992-08-24 Video encoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4224450A JP3014547B2 (en) 1992-08-24 1992-08-24 Video encoding device

Publications (2)

Publication Number Publication Date
JPH0678281A true JPH0678281A (en) 1994-03-18
JP3014547B2 JP3014547B2 (en) 2000-02-28

Family

ID=16813966

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4224450A Expired - Fee Related JP3014547B2 (en) 1992-08-24 1992-08-24 Video encoding device

Country Status (1)

Country Link
JP (1) JP3014547B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6763138B1 (en) 1999-03-11 2004-07-13 Nec Corporation Method and apparatus for coding moving picture at variable bit rate

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03247188A (en) * 1990-02-26 1991-11-05 Sony Corp Video signal encoding method
JPH03255792A (en) * 1990-03-05 1991-11-14 Mitsubishi Electric Corp Picture quality controller
JPH04105487A (en) * 1990-08-24 1992-04-07 Victor Co Of Japan Ltd Prediction coder and decoder

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03247188A (en) * 1990-02-26 1991-11-05 Sony Corp Video signal encoding method
JPH03255792A (en) * 1990-03-05 1991-11-14 Mitsubishi Electric Corp Picture quality controller
JPH04105487A (en) * 1990-08-24 1992-04-07 Victor Co Of Japan Ltd Prediction coder and decoder

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6763138B1 (en) 1999-03-11 2004-07-13 Nec Corporation Method and apparatus for coding moving picture at variable bit rate

Also Published As

Publication number Publication date
JP3014547B2 (en) 2000-02-28

Similar Documents

Publication Publication Date Title
JP4256574B2 (en) Image signal encoding method and image signal encoding apparatus
KR100484148B1 (en) Advanced method for rate control and apparatus thereof
KR100610520B1 (en) Video data encoder, video data encoding method, video data transmitter, and video data recording medium
KR100319994B1 (en) Video encoding device
US8509556B2 (en) Image coding apparatus and image coding method to generate a targeted amount of code
JP2963416B2 (en) Video encoding method and apparatus for controlling bit generation amount using quantization activity
JPH05167998A (en) Image-encoding controlling method
JPH09307904A (en) Quantizer for video signal coding system
JP2003037843A (en) Picture processor, method therefor, recording medium and program thereof
KR19980074651A (en) Rate control device for MPEG video signal using fuzzy control
WO2002080567A1 (en) Image signal quantizing device and its method
JP3151173B2 (en) Image compression encoding apparatus and method
JPH0541860A (en) Picture compression coder
JP3014547B2 (en) Video encoding device
US6266447B1 (en) Coding apparatus
JPH04329089A (en) Dynamic image coding device
KR100336497B1 (en) Rate Control Apparatus and Method Using Spatial Prediction Error Model for Moving Picture Coding
JP3014548B2 (en) Video encoding device
JP3297471B2 (en) Image coding device
JPH09107293A (en) Method and device for controlling code volume
JPH03255792A (en) Picture quality controller
JP4007398B2 (en) Quantization control apparatus and method
JP3297472B2 (en) Image compression coding device
JP3884555B2 (en) Code amount distribution device
KR100930485B1 (en) Adaptive Bitrate Control Scheme for Video Encoder Using Generated Bitrate

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19991207

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081217

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091217

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091217

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101217

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees