JP2002027459A - Apparatus and method for encoding dynamic image as well as recording medium for recording image encoding program - Google Patents

Apparatus and method for encoding dynamic image as well as recording medium for recording image encoding program

Info

Publication number
JP2002027459A
JP2002027459A JP2000202712A JP2000202712A JP2002027459A JP 2002027459 A JP2002027459 A JP 2002027459A JP 2000202712 A JP2000202712 A JP 2000202712A JP 2000202712 A JP2000202712 A JP 2000202712A JP 2002027459 A JP2002027459 A JP 2002027459A
Authority
JP
Japan
Prior art keywords
code amount
image
encoding
target code
feature information
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
JP2000202712A
Other languages
Japanese (ja)
Other versions
JP4152570B2 (en
Inventor
Shinichi Hattori
伸一 服部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2000202712A priority Critical patent/JP4152570B2/en
Publication of JP2002027459A publication Critical patent/JP2002027459A/en
Application granted granted Critical
Publication of JP4152570B2 publication Critical patent/JP4152570B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)
  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve the problem of unsuitability for fast encoding of a large amount and a lengthy contents because a conventional encoding system starts primarily encoding after analyzing a feature of encoding an overall image to be encoded so that its encoding process is not executed in real time requiring at least twice as long a time as normal encoding with the result that the processing is not executed in real time. SOLUTION: A method for encoding a dynamic image comprises the steps of converting image feature information into occurrence probability, calculating the target encoding amount from the probability, then regulating the quantization step width in response to the target encoding amount, and variably bit rate encoding the input image using the quantized step width.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、動画像の高能率
符号化に関し、特に符号化に際してビットレートを制御
しながらリアルタイム処理で符号化を行う動画像符号化
装置、動画像符号化方法及び動画像符号化プログラムが
記録された記録媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to high-efficiency video coding, and more particularly to a video coding apparatus, a video coding method, and a video which perform real-time coding while controlling the bit rate during coding. The present invention relates to a recording medium on which an image encoding program is recorded.

【0002】[0002]

【従来の技術】図7は例えば特開平6−141298号
公報に示された従来の動画像符号化装置を示す構成図で
あり、図において、1は仮符号化部、2は目標転送レー
ト設定部、3は画像符号化処理部、11は画像信号を出
力するビデオテープレコーダ(以下、VTRと称す
る)、12はVTR11が出力する画像信号から画像間
予測器17が出力するフレーム間予測信号を減算して、
予測残差信号を出力する予測減算器、13は予測減算器
12が出力する予測残差信号を離散コサイン変換するD
CT、14は符号化制御部22により指定された量子化
ステップ幅で、DCT13による変換後の予測残差信号
を量子化する量子化器である。
2. Description of the Related Art FIG. 7 is a block diagram showing a conventional moving picture coding apparatus disclosed in, for example, Japanese Patent Application Laid-Open No. 6-141298. In FIG. , 3 an image encoding unit, 11 a video tape recorder (hereinafter referred to as VTR) for outputting an image signal, and 12 an inter-frame prediction signal output from the image signal output from the VTR 11 by an inter-image predictor 17. Subtract
A prediction subtractor 13 for outputting a prediction residual signal; and D, which performs a discrete cosine transform on the prediction residual signal output from the prediction subtractor 12
CT and 14 are quantizers for quantizing the prediction residual signal after transformation by the DCT 13 with a quantization step width designated by the encoding control unit 22.

【0003】15は量子化器14により量子化された予
測残差信号を逆量子化及び逆離散コサイン変換して、再
生予測残差信号を出力する局部復号器、16は画像間予
測器17が出力するフレーム間予測信号と局部復号器1
5が出力する再生予測残差信号を加算して、再生画像信
号を出力する加算器、17は加算器16が出力する再生
画像信号を1フレーム以上遅延して動き補償を実施する
ことによりフレーム間予測信号を生成する画像間予測器
である。
[0005] Reference numeral 15 denotes a local decoder which performs inverse quantization and inverse discrete cosine transform of the prediction residual signal quantized by the quantizer 14 and outputs a reproduced prediction residual signal. Output inter-frame prediction signal and local decoder 1
5 is an adder for adding the playback prediction residual signal output from the adder 5 and outputting a playback image signal; and 17 is an adder for delaying the playback image signal output from the adder 16 by one or more frames to perform motion compensation. This is an inter-picture predictor that generates a prediction signal.

【0004】18は量子化器14により量子化された予
測残差信号を可変長符号化して、符号化データを出力す
る可変長符号化器、19はセレクタ、20は符号化デー
タを一時的に格納するバッファ、21はセレクタ、22
はバッファ20の充足度に応じて量子化ステップ幅を制
御する符号化制御部である。
[0004] Reference numeral 18 denotes a variable-length encoder that performs variable-length encoding on the prediction residual signal quantized by the quantizer 14 and outputs encoded data, 19 denotes a selector, and 20 temporarily stores the encoded data. Buffer to be stored, 21 is a selector, 22
Is an encoding control unit that controls the quantization step width in accordance with the degree of sufficiency of the buffer 20.

【0005】23は単位時間毎に発生する符号量をカウ
ントし、そのカウント値を仮転送レートとして出力する
仮符号量カウンタ、24は実符号化において再度使用さ
れる単位時間毎の仮転送レートを記憶する仮転送レート
メモリ、25は仮転送レートから目標転送レートへの変
換特性を決定し、その変換特性情報を出力する符号量制
御器、26は符号量制御器25が出力する変換特性情報
に応じて、仮転送レートメモリ24が出力する単位時間
毎の仮転送レートから目標転送レートを設定する目標転
送レート設定器である。
[0005] Reference numeral 23 denotes a temporary code amount counter that counts the code amount generated per unit time and outputs the count value as a temporary transfer rate. Reference numeral 24 denotes a temporary transfer rate per unit time that is used again in actual encoding. A temporary transfer rate memory for storing, 25 determines a conversion characteristic from the temporary transfer rate to the target transfer rate and outputs a code amount controller for outputting the conversion characteristic information. Accordingly, the target transfer rate setting unit sets the target transfer rate from the temporary transfer rate per unit time output from the temporary transfer rate memory 24.

【0006】次に動作について説明する。画像符号化処
理部3は、ITU−T等の標準方式となっている画像符
号化方式の画像符号化装置と同一の構成となっている。
画像符号化処理部3において入力された画像信号は、予
測減算器12に入力される。予測減算器12では、画像
間予測器17から出力されるフレーム間予測信号が前記
画像信号から減算され、この減算結果は予測残差信号と
してDCT13に出力される。
Next, the operation will be described. The image encoding processing unit 3 has the same configuration as an image encoding device of an image encoding method that is a standard method such as ITU-T.
The image signal input in the image encoding processing unit 3 is input to the prediction subtractor 12. In the prediction subtractor 12, the inter-frame prediction signal output from the inter-picture predictor 17 is subtracted from the image signal, and the subtraction result is output to the DCT 13 as a prediction residual signal.

【0007】その予測残差信号は、DCT13で離散コ
サイン変換が行われ、量子化器14に導かれる。量子化
器14では、符号化制御部22から出力される量子化ス
テップ幅に応じて量子化が行われる。その量子化された
予測残差信号は、可変長符号化器18で可変長符号化さ
れてバッファ20に出力される。バッファ20に入力さ
れた符号化データは、可変長符号化されているため符号
発生量が常に変動するが、バッファ20で変動が吸収さ
れ、一定の転送レートで符号化データが出力される。
[0007] The prediction residual signal is subjected to a discrete cosine transform by the DCT 13 and guided to the quantizer 14. In the quantizer 14, quantization is performed according to the quantization step width output from the encoding control unit 22. The quantized prediction residual signal is variable-length coded by the variable-length encoder 18 and output to the buffer 20. Since the encoded data input to the buffer 20 is variable-length encoded, the code generation amount always fluctuates. However, the fluctuation is absorbed by the buffer 20 and the encoded data is output at a constant transfer rate.

【0008】一方、局部復号器15では、量子化された
予測残差信号の逆量子化及び逆DCTが行われる。符号
は復号されて再生予測残差信号となり、加算器16に出
力される。加算器16では、画像間予測器17から出力
されるフレーム間予測信号と局部復号器15から出力さ
れる再生予測残差信号とが加算され、再生画像信号とな
って画像間予測器17に供給される。画像間予測器17
では、その再生画像信号が1フレーム以上遅延されて動
き補償が行われ、フレーム間予測信号が生成されて予測
減算器12と加算器16に供給される。
On the other hand, the local decoder 15 performs inverse quantization and inverse DCT of the quantized prediction residual signal. The code is decoded into a reproduction prediction residual signal, which is output to the adder 16. The adder 16 adds the inter-frame prediction signal output from the inter-picture predictor 17 and the reproduced prediction residual signal output from the local decoder 15 to provide a reproduced image signal to the inter-picture predictor 17 Is done. Inter-picture predictor 17
In, the reproduced image signal is delayed by one or more frames to perform motion compensation, and an inter-frame prediction signal is generated and supplied to the prediction subtractor 12 and the adder 16.

【0009】従来、動画像符号化方式は、符号化データ
の出力ビットレートの制御方法により、固定ビットレー
ト(CBR)符号化方式と可変ビットレート(VBR)
方式とに大きく分類できる。主に前者は、通信用途にお
ける伝送路容量の制約に適応するために用いられてい
る。一方、後者は主に符号化データのファイル媒体への
蓄積に用いられており、所定時間長の総符号量が一定と
いう制約条件のもとで、被符号化画像の性質に応じてビ
ットレートを変動させるというものである。
Conventionally, a moving picture coding method employs a constant bit rate (CBR) coding method and a variable bit rate (VBR) coding method by controlling the output bit rate of coded data.
They can be broadly classified into methods and methods. The former is mainly used for adapting to the limitation of transmission path capacity in communication applications. On the other hand, the latter is mainly used for storing encoded data in a file medium, and under the constraint that the total code amount for a predetermined time length is constant, the bit rate is adjusted according to the properties of the image to be encoded. It fluctuates.

【0010】固定ビットレート方式の場合、画像符号化
処理部3における符号化制御部22では、フィードバッ
クされたバッファ充填量に応じて量子化ステップ幅が設
定され、量子化器14に出力される。量子化ステップ幅
は、バッファ20に符号が多く溜まっている場合に粗
く、バッファ20が空に近い場合に細かくされ、一定レ
ートでデータが引き抜かれるバッファ20のオーバーフ
ローやアンダーフローが発生しないように制御される必
要がある。したがって、被符号化画像の性質に応じて量
子化ステップ幅を変動させられる許容範囲が狭く、時間
上局所的に画質劣化が生じ易い。
In the case of the fixed bit rate method, the encoding control unit 22 in the image encoding processing unit 3 sets a quantization step width according to the buffer filling amount fed back and outputs the quantization step width to the quantizer 14. The quantization step width is coarse when a large number of codes are stored in the buffer 20, and fine when the buffer 20 is almost empty, and is controlled so that overflow or underflow of the buffer 20 in which data is extracted at a constant rate does not occur. Need to be done. Therefore, the allowable range in which the quantization step width can be varied according to the properties of the image to be encoded is narrow, and image quality is likely to locally deteriorate in time.

【0011】一方、可変ビットレート方式は、所定時間
長の総符号量が一定という制約条件のもとで、被符号化
画像の性質に応じてビットレートを変動させることで平
均的画質を向上できるというものである。従来の可変ビ
ットレート符号化装置は、何らかの仮符号化を実行し
て、その結果を実符号化の可変ビットレート符号化制御
に反映させるという処理手順を実行するものであった。
On the other hand, in the variable bit rate method, the average picture quality can be improved by changing the bit rate according to the properties of the image to be coded under the constraint that the total code amount for a predetermined time length is constant. That is. The conventional variable bit rate coding apparatus executes a processing procedure of executing some temporary coding and reflecting the result in variable bit rate coding control of actual coding.

【0012】以下、可変ビットレート符号化装置の一例
について図7を基に説明する。符号化処理は同一の被符
号化画像信号に対して2回行われる。一度目は単位時間
毎の目標転送レートを設定するための仮符号化において
行われ、二度目は実際の符号化(実符号化)において行
われる。まず、仮符号化部1は、前記の単位時間毎の目
標転送レートを設定するためのものである。VTR11
から出力される画像信号は、予測減算器12に入力され
る。従来例では同一画像信号が2度画像符号化処理部3
に供給されるので、符号化前の画像信号の全てが、VT
R11等の大容量の画像記録媒体に記録されている必要
がある。
Hereinafter, an example of the variable bit rate coding apparatus will be described with reference to FIG. The encoding process is performed twice for the same encoded image signal. The first is performed in provisional encoding for setting a target transfer rate for each unit time, and the second is performed in actual encoding (actual encoding). First, the provisional encoding unit 1 is for setting the target transfer rate for each unit time. VTR11
Are input to the prediction subtractor 12. In the conventional example, the same image signal is twice
, All of the image signals before encoding are VT
It must be recorded on a large-capacity image recording medium such as R11.

【0013】基本的な符号化処理は上述した画像符号化
処理部3の動作の通りであるが、可変長符号化器18か
ら出力される符号化データは、セレクタ19に入力され
る。ここで、セレクタ21はA側に切り替えられ、バッ
ファ充足度として所定の固定値が符号化制御部22に出
力される。その固定値は、その固定値によって符号化さ
れた画像が必要十分な画質となる様なものとされる。一
度目の仮符号化処理では、可変長符号化器18の出力は
セレクタ19を介して仮符号量カウンタ23に入力され
る。仮符号量カウンタ23では単位時間毎に発生する符
号量がカウントされ、仮転送レートとして出力される。
The basic encoding process is the same as the operation of the image encoding processing unit 3 described above, but the encoded data output from the variable length encoder 18 is input to the selector 19. Here, the selector 21 is switched to the A side, and a predetermined fixed value is output to the encoding control unit 22 as the buffer sufficiency. The fixed value is such that an image encoded by the fixed value has a necessary and sufficient image quality. In the first temporary encoding process, the output of the variable length encoder 18 is input to the temporary code amount counter 23 via the selector 19. The temporary code amount counter 23 counts the code amount generated for each unit time and outputs the result as a temporary transfer rate.

【0014】次に目標転送レート設定部2は、動画像信
号の符号量の総和が所定値になるように単位時間毎に前
記仮符号量から目標転送レートを設定するものである。
仮符号量カウンタ23から出力される仮転送レートは、
符号量制御器25及び仮転送レートメモリ24に入力さ
れる。仮転送レートメモリ24では、実符号化において
再度使用される単位時間毎の仮転送レートが全て記憶さ
れる。符号量制御器25は、仮転送レートから目標転送
レートへの変換特性を決めるためのものである。仮符号
化が終了した時点で、符号量制御器25から出力される
変換特性情報が目標転送レート設定器26に入力され
る。
Next, the target transfer rate setting section 2 sets a target transfer rate from the provisional code amount for each unit time so that the sum of the code amounts of the moving image signal becomes a predetermined value.
The temporary transfer rate output from the temporary code amount counter 23 is
It is input to the code amount controller 25 and the temporary transfer rate memory 24. The temporary transfer rate memory 24 stores all the temporary transfer rates per unit time that are used again in the actual encoding. The code amount controller 25 is for determining the conversion characteristic from the temporary transfer rate to the target transfer rate. When the provisional encoding is completed, the conversion characteristic information output from the code amount controller 25 is input to the target transfer rate setter 26.

【0015】次に実際の符号化処理では、単位時間毎の
目標転送レートに合うように発生符号量を制御しながら
符号化を行うものである。VTR11から仮符号化時と
同じ画像が再度出力され、仮符号化と同様な符号化が行
われる。実符号化時には、可変長符号化器18の出力は
セレクタ19を介してバッファ20に印加される。バッ
ファ20によって、符号は短周期の変動が吸収されて符
号化データが出力される。バッファ20から符号を読み
出す時のレートは、単位時間毎に目標転送レート設定器
26から供給される値によって制御される。従って、バ
ッファ20から出力される符号量は単位時間毎に変化す
る。目標転送レート設定器26では、仮転送レートメモ
リ24から単位時間毎に入力される仮転送レートが、符
号量制御器25から入力される変換特性に応じて変換さ
れ、目標転送レートが設定される。
Next, in the actual encoding process, encoding is performed while controlling the amount of generated codes so as to match the target transfer rate per unit time. The same image as in the temporary encoding is output again from the VTR 11, and the same encoding as the temporary encoding is performed. At the time of actual encoding, the output of the variable length encoder 18 is applied to the buffer 20 via the selector 19. The buffer 20 absorbs short-period fluctuations of the code and outputs coded data. The rate at which codes are read from the buffer 20 is controlled by a value supplied from the target transfer rate setting unit 26 per unit time. Therefore, the code amount output from the buffer 20 changes every unit time. The target transfer rate setting unit 26 converts the temporary transfer rate input from the temporary transfer rate memory 24 per unit time according to the conversion characteristics input from the code amount controller 25, and sets the target transfer rate. .

【0016】一方、バッファ20の充足度の情報は、セ
レクタ21を介して符号化制御部22に入力される。符
号化制御部22では、バッファ充足度により量子化ステ
ップ幅が制御される。この制御では、長い周期での変動
が単位時間毎の可変転送レート化により吸収されている
ので、局部的な変動を吸収するだけになり、オーバーフ
ローする可能性も低くなる。なお、上記従来例と異な
り、仮符号化手段と実符号化手段との両方を直列に接続
する構成の動画像符号化装置はリアルタイム処理が可能
である。
On the other hand, information on the sufficiency of the buffer 20 is input to the encoding control unit 22 via the selector 21. In the encoding control unit 22, the quantization step width is controlled by the buffer sufficiency. In this control, since the fluctuation in a long cycle is absorbed by the variable transfer rate per unit time, only the local fluctuation is absorbed, and the possibility of overflow is reduced. Note that, unlike the above-described conventional example, a moving image encoding apparatus configured to connect both the temporary encoding unit and the actual encoding unit in series can perform real-time processing.

【0017】[0017]

【発明が解決しようとする課題】従来の動画像符号化装
置は以上のように構成されているので、被符号化画像全
体の符号化上の特徴を解析してから本符号化を開始す
る。そのため、符号化処理が非リアルタイム処理とな
り、少なくとも通常の符号化の倍以上の時間を要するこ
とになる。即ち、このような符号化システムは、処理が
リアルタイム処理とならないため、大量かつ長大なコン
テンツの高速な符号化に適さないという課題があった。
Since the conventional moving picture coding apparatus is configured as described above, the main coding is started after analyzing the coding characteristics of the entire coded picture. Therefore, the encoding process becomes a non-real-time process, and it takes at least twice as long as normal encoding. That is, such an encoding system has a problem that it is not suitable for high-speed encoding of a large amount of long content because the processing is not real-time processing.

【0018】また、仮符号化手段と実符号化手段との両
方を直列に接続する構成の動画像符号化装置において
は、リアルタイムでの仮符号化処理と実符号化処理のた
めに少なくとも倍以上の性能が必要となることから、装
置規模あるいは消費電力の著しい増加を招き、実現性が
乏しいという課題があった。
Further, in a moving picture coding apparatus having a configuration in which both the provisional encoding means and the actual encoding means are connected in series, at least a double or more is required for the provisional encoding processing and the real encoding processing in real time. However, there is a problem that the device performance is required, so that the device scale or the power consumption is significantly increased, and the feasibility is poor.

【0019】この発明は上記のような課題を解決するた
めになされたもので、著しい装置規模や消費電力の増加
を招くことなく、可変ビットレート符号化をリアルタイ
ムに行うことができる動画像符号化装置、動画像符号化
方法及び動画像符号化プログラムが記録された記録媒体
を得ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and is capable of performing variable bit rate encoding in real time without causing a significant increase in device size and power consumption. It is an object to obtain a recording medium in which an apparatus, a moving picture coding method, and a moving picture coding program are recorded.

【0020】[0020]

【課題を解決するための手段】この発明に係る動画像符
号化装置は、特徴抽出手段により抽出された画像特徴情
報を発生確率に変換し、その発生確率から目標符号量を
算出する目標符号量算出手段と、その目標符号量算出手
段により算出された目標符号量に応じて量子化ステップ
幅を調整し、その入力画像を当該量子化ステップ幅で可
変ビットレート符号化する符号化手段とを設けたもので
ある。
A moving picture coding apparatus according to the present invention converts the image feature information extracted by the feature extracting means into an occurrence probability, and calculates a target code amount from the occurrence probability. Calculating means, and encoding means for adjusting a quantization step width according to the target code amount calculated by the target code amount calculating means, and encoding the input image at a variable bit rate with the quantization step width. It is a thing.

【0021】この発明に係る動画像符号化装置は、符号
化手段が所定時間長における総符号量が規定値と一致す
るように入力画像を符号化するようにしたものである。
In the moving picture coding apparatus according to the present invention, the coding means codes the input picture so that the total code amount in a predetermined time length matches a specified value.

【0022】この発明に係る動画像符号化装置は、目標
符号量算出手段が目標符号量を算出する際、画像特徴情
報を補正するようにしたものである。
In the moving picture coding apparatus according to the present invention, when the target code amount calculating means calculates the target code amount, the image characteristic information is corrected.

【0023】この発明に係る動画像符号化方法は、画像
特徴情報を発生確率に変換して、その発生確率から目標
符号量を算出すると、その目標符号量に応じて量子化ス
テップ幅を調整し、その入力画像を当該量子化ステップ
幅で可変ビットレート符号化するようにしたものであ
る。
In the moving picture coding method according to the present invention, when the image characteristic information is converted into the occurrence probability and the target code amount is calculated from the occurrence probability, the quantization step width is adjusted according to the target code amount. , The input image is subjected to variable bit rate encoding with the quantization step width.

【0024】この発明に係る動画像符号化方法は、所定
時間長における総符号量が規定値と一致するように入力
画像を符号化するようにしたものである。
In the moving picture coding method according to the present invention, an input picture is coded so that the total code amount in a predetermined time length matches a specified value.

【0025】この発明に係る動画像符号化方法は、目標
符号量を算出する際、画像特徴情報を補正するようにし
たものである。
In the moving picture coding method according to the present invention, the image feature information is corrected when the target code amount is calculated.

【0026】この発明に係る動画像符号化プログラムが
記録された記録媒体は、特徴抽出処理手順により抽出さ
れた画像特徴情報を発生確率に変換し、その発生確率か
ら目標符号量を算出する目標符号量算出処理手順と、そ
の目標符号量算出処理手順により算出された目標符号量
に応じて量子化ステップ幅を調整し、その入力画像を当
該量子化ステップ幅で可変ビットレート符号化する符号
化処理手順とを記録するようにしたものである。
The recording medium on which the moving picture encoding program according to the present invention is recorded converts the image feature information extracted by the feature extraction processing procedure into an occurrence probability and calculates a target code amount from the occurrence probability. Encoding processing for adjusting the quantization step width according to the amount calculation processing procedure and the target code amount calculated by the target code amount calculation processing procedure, and performing variable bit rate encoding on the input image with the quantization step width. The procedure is recorded.

【0027】この発明に係る動画像符号化プログラムが
記録された記録媒体は、符号化処理手順が所定時間長に
おける総符号量が規定値と一致するように入力画像を符
号化するようにしたものである。
A recording medium on which a moving image encoding program according to the present invention is recorded is such that an encoding processing procedure encodes an input image such that a total code amount in a predetermined time length matches a specified value. It is.

【0028】この発明に係る動画像符号化プログラムが
記録された記録媒体は、目標符号量算出処理手順が目標
符号量を算出する際、画像特徴情報を補正するようにし
たものである。
The recording medium on which the moving image encoding program according to the present invention is recorded is such that the image characteristic information is corrected when the target code amount calculation procedure calculates the target code amount.

【0029】[0029]

【発明の実施の形態】以下、この発明の実施の一形態を
説明する。 実施の形態1.図1はこの発明の実施の形態1による動
画像符号化装置を示す構成図であり、図において、31
は入力画像から画像特徴情報を抽出する画像特徴情報抽
出部(特徴抽出手段)、32は画像特徴情報抽出部31
により抽出された画像特徴情報を発生確率に変換して発
生確率区間を出力する特徴情報−発生確率変換テーブ
ル、33は特徴情報−発生確率変換テーブル32が出力
する発生確率区間から目標符号量を算出する目標符号量
算出部である。なお、特徴情報−発生確率変換テーブル
32及び目標符号量算出部33から目標符号量算出手段
が構成されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below. Embodiment 1 FIG. FIG. 1 is a block diagram showing a moving picture coding apparatus according to Embodiment 1 of the present invention.
Is an image feature information extraction unit (feature extraction means) for extracting image feature information from an input image, and 32 is an image feature information extraction unit 31
Is a feature information-occurrence probability conversion table that converts the image feature information extracted by the above into an occurrence probability and outputs an occurrence probability section, and 33 calculates a target code amount from the occurrence probability section output by the feature information-occurrence probability conversion table 32 This is a target code amount calculation unit. Note that the characteristic information-occurrence probability conversion table 32 and the target code amount calculation unit 33 constitute a target code amount calculation unit.

【0030】34は目標符号量算出部33により算出さ
れた目標符号量に応じて量子化ステップ幅を調整し、そ
の入力画像を当該量子化ステップ幅で可変ビットレート
符号化する画像符号化部(符号化手段)であり、画像符
号化部34は図7の画像符号化処理部3と同様に、例え
ばITU−T等の標準方式となっている画像符号化方式
の画像符号化装置と同一の構成となっている。また、例
えばベクトル量子化方式の画像符号化装置と同一の構成
となっている。35は目標符号量算出部33により算出
された目標符号量に応じて量子化ステップ幅を制御する
符号化制御部、36は符号化制御部35により指定され
た量子化ステップ幅で量子化演算を実施する量子化器、
37は量子化による符号量制御手段を採用している画像
符号化方式によって動画像の符号化演算を行う画像符号
化処理部である。
An image encoding unit (34) adjusts the quantization step width according to the target code amount calculated by the target code amount calculation unit 33, and encodes the input image at a variable bit rate with the quantization step width. The image encoding unit 34 is the same as the image encoding device of the image encoding system which is a standard system such as ITU-T, for example, like the image encoding processing unit 3 of FIG. It has a configuration. In addition, for example, the configuration is the same as that of the image coding apparatus of the vector quantization system. 35 is an encoding control unit that controls the quantization step width according to the target code amount calculated by the target code amount calculation unit 33, and 36 performs a quantization operation using the quantization step width specified by the encoding control unit 35. The quantizer to perform,
Reference numeral 37 denotes an image encoding processing unit that performs an encoding operation on a moving image by an image encoding method employing a code amount control unit based on quantization.

【0031】図2はこの発明の実施の形態1による動画
像符号化方法を示すフローチャートである。なお、この
実施の形態1では、ハードウエアである画像特徴情報抽
出部31、特徴情報−発生確率変換テーブル32、目標
符号量算出部33及び画像符号化部34から動画像符号
化装置を構成するものについて示しているが、これらを
ハードウエアではなくソフトウエアで構成し、そのソフ
トウエアである動画像符号化プログラムをコンピュータ
が読み取り可能な記録媒体に記録するようにしてもよ
い。
FIG. 2 is a flowchart showing a moving picture coding method according to the first embodiment of the present invention. In the first embodiment, a moving picture coding apparatus is composed of an image feature information extracting unit 31, a feature information-occurrence probability conversion table 32, a target code amount calculating unit 33, and an image coding unit 34, which are hardware. Although these are shown, these may be constituted by software instead of hardware, and the moving image encoding program as the software may be recorded on a computer-readable recording medium.

【0032】次に動作について説明する。入力画像は既
にデジタル化されているものとする。デジタル入力画像
は画像特徴情報抽出部31に入力され、そのデジタル入
力画像から画像の特徴、即ち、符号化の難しさを定量的
に表す画像特徴情報が演算される(ステップST1)。
画像特徴情報は、例えば、被符号化画像1フレーム分の
前フレームとのフレーム間差分総和などでもよい。ま
た、分散値総和や水平あるいは垂直周波数高域成分など
でもよい。
Next, the operation will be described. It is assumed that the input image has already been digitized. The digital input image is input to the image feature information extraction unit 31, and image features, that is, image feature information that quantitatively represents the difficulty of encoding, are calculated from the digital input image (step ST1).
The image feature information may be, for example, an inter-frame difference sum with a previous frame for one frame of the encoded image. Alternatively, the sum of the variances or the horizontal or vertical frequency high frequency component may be used.

【0033】図3は画像のフレーム間差分と固定量子化
ステップで符号化した場合の符号量との一般的な関係を
示す説明図である。図3に示すように、画像特徴情報で
あるフレーム間差分の大きい場合は発生符号量も大き
く、フレーム間差分の小さい場合は発生符号量も小さ
い。したがって、画像特徴情報であるフレーム間差分
は、画像の符号化の難しさを定量的に示すものであると
いえる。
FIG. 3 is an explanatory diagram showing the general relationship between the inter-frame difference of an image and the code amount when coding is performed in the fixed quantization step. As shown in FIG. 3, the generated code amount is large when the inter-frame difference as the image feature information is large, and the generated code amount is small when the inter-frame difference is small. Therefore, it can be said that the inter-frame difference, which is the image feature information, quantitatively indicates the difficulty of image coding.

【0034】次に特徴情報−発生確率変換テーブル32
において、画像特徴情報抽出部31で算出された画像特
徴情報がその発生確率に変換されて、発生確率区間が出
力される(ステップST2)。画像特徴情報とその発生
確率との関係は、多くの画像シーケンスにおいて測定し
ておき、特徴情報−発生確率変換テーブル32を作成し
ておく。
Next, the characteristic information-occurrence probability conversion table 32
In, the image feature information calculated by the image feature information extraction unit 31 is converted into the occurrence probability, and an occurrence probability section is output (step ST2). The relationship between image feature information and its occurrence probability is measured in many image sequences, and a feature information-occurrence probability conversion table 32 is created.

【0035】図4は画像特徴情報の一例であるフレーム
間差分とその発生確率の関係を示す説明図である。図4
に示すように、画像特徴情報(0から最大値S100)と
その発生確率との関係を関数ρ(S)とすると下記のよう
になる。
FIG. 4 is an explanatory diagram showing the relationship between an inter-frame difference, which is an example of image feature information, and its occurrence probability. FIG.
As shown in the following, the relationship between image feature information (from 0 to the maximum value S 100 ) and its occurrence probability is represented by the following function ρ (S).

【数1】 なお、上記の式(1)の関係は画像特徴情報としてフレ
ーム間差分を使用した場合にのみ成立するものではな
く、如何なる画像特徴情報を利用しても成立するもので
ある。また、図4に示す例では次のようになる。
(Equation 1) Note that the relationship of the above equation (1) does not hold only when the interframe difference is used as the image feature information, but holds when any kind of image feature information is used. Further, in the example shown in FIG.

【数2】 (Equation 2)

【0036】図5は図4に示す画像特徴情報の発生確率
分布時における特徴情報−発生確率変換テーブル32の
構成例を示す説明図である。図5において、画像特徴情
報はROMのアドレス信号となり、ROMのデータ出力
として発生確率区間が出力される。なお、図5の例にお
いて、発生確率区間は0〜3となっているが、区間の区
切り数は制約を受けるものでなく任意に構成できる。
FIG. 5 is an explanatory diagram showing a configuration example of the feature information-occurrence probability conversion table 32 at the time of the occurrence probability distribution of the image feature information shown in FIG. In FIG. 5, the image feature information becomes an address signal of the ROM, and an occurrence probability section is output as data output of the ROM. In addition, in the example of FIG. 5, the occurrence probability sections are 0 to 3, but the number of section breaks is not limited and can be arbitrarily configured.

【0037】目標符号量算出部33において、特徴情報
−発生確率変換テーブル32からの発生確率区間を、所
定時間における総符号量の既定値に合致し、かつ、画像
の符号化の難しさに従った目標符号量に変換して出力す
る(ステップST3)。全ての発生確率区間における各
発生確率区間が示す確率とその変換される目標符号量相
当のビットレートとの積の総和は、総符号量の既定値か
ら得られる平均ビットレートと一致するようにするもの
である。また、発生確率区間が示す元の画像の符号化の
難しさから目標符号量を設定する。
In the target code amount calculation unit 33, the occurrence probability section from the feature information-occurrence probability conversion table 32 matches the predetermined value of the total code amount in a predetermined time and follows the difficulty of image coding. The target code amount is converted and output (step ST3). The sum of the products of the probabilities indicated by each occurrence probability section in all occurrence probability sections and the bit rate corresponding to the target code amount to be converted is made to match the average bit rate obtained from the default value of the total code amount. Things. Further, the target code amount is set based on the difficulty of encoding the original image indicated by the occurrence probability section.

【0038】図4に示す画像特徴情報の発生確率分布時
において、図5の特徴情報−発生確率変換テーブル32
の構成例により発生確率区間が出力される場合の例を以
下に説明する。各発生確率区間の目標符号量を下記のよ
うにする。
At the time of the occurrence probability distribution of the image feature information shown in FIG. 4, the feature information-occurrence probability conversion table 32 shown in FIG.
An example in which an occurrence probability section is output according to the configuration example described above will be described below. The target code amount of each occurrence probability section is as follows.

【数3】 この場合、下記の関係が成り立つように目標符号量への
変換を設定する。 総符号量/所定時間=(0.25×目標符号量1Mbp
s)+(0.25×目標符号量2Mbps)+(0.2
5×目標符号量3Mbps)+(0.25×目標符号量
4Mbps)
(Equation 3) In this case, the conversion to the target code amount is set so that the following relationship is satisfied. Total code amount / predetermined time = (0.25 × target code amount 1 Mbp)
s) + (0.25 × target code amount 2 Mbps) + (0.2
5 × target code amount 3 Mbps) + (0.25 × target code amount 4 Mbps)

【0039】符号化制御部35において、目標符号量を
目標にして、画像符号化処理部37で実際に符号化され
る符号量をカウントし、発生符号量を目標に収束させる
ように量子化ステップ幅を調整する(ステップST
4)。画像符号化処理部37は、符号化制御部35によ
り調整された量子化ステップ幅で、入力画像を可変ビッ
トレート符号化する(ステップST5)。なお、画像符
号化部34は、目標符号量が目標符号量算出部33から
フィードフォワード指示されることを除いて、量子化に
よる符号量制御手段を採用している画像符号化方式の画
像符号化装置と同一の構成で同一の処理である。
The encoding control section 35 counts the code amount actually encoded by the image encoding processing section 37 with the target code amount as a target, and performs a quantization step so that the generated code amount converges to the target. Adjust the width (step ST
4). The image encoding processing unit 37 encodes the input image with the variable bit rate with the quantization step width adjusted by the encoding control unit 35 (step ST5). Note that the image encoding unit 34 performs the image encoding of the image encoding method employing the code amount control unit by quantization except that the target code amount is instructed to be fed forward from the target code amount calculation unit 33. The same processing is performed with the same configuration as the device.

【0040】以上のように、この実施の形態1によれ
ば、画像の符号化の難しさを示す特徴情報を得て、符号
化の難しい画像には多くの符号量を、符号化の容易な画
像には少ない符号量をその発生確率分布に従って割り当
てるようにしているので、所定時間長における総符号量
が既定値に収まり、かつ、符号化画像の平均的画像品質
を向上する可変ビットレート制御をすることができる。
また、画像の符号化の難しさを示す画像特徴情報からフ
ィードフォワード制御するので、画像の符号化処理はリ
アルタイムで一回のみにすることができる。
As described above, according to the first embodiment, the characteristic information indicating the difficulty of encoding an image is obtained, and a large amount of code is assigned to an image that is difficult to encode. Since a small code amount is assigned to an image according to its occurrence probability distribution, the variable bit rate control for improving the average image quality of the coded image while keeping the total code amount within a predetermined time length within a predetermined value is performed. can do.
Also, since feedforward control is performed based on image feature information indicating the difficulty of image encoding, image encoding processing can be performed only once in real time.

【0041】実施の形態2.図6はこの発明の実施の形
態2による動画像符号化装置を示す構成図であり、図に
おいて、図1と同一符号は同一または相当部分を示すの
で説明を省略する。38は特徴情報−発生確率変換テー
ブル32が出力する発生確率区間から目標符号量を算出
するとともに、特徴情報補正変換部39に対して誤差信
号を出力する目標符号量算出部、39は誤差信号にした
がって画像特徴情報を補正する特徴情報補正変換部であ
る。なお、目標符号量算出部38及び特徴情報補正変換
部39は目標符号量算出手段を構成している。
Embodiment 2 FIG. 6 is a block diagram showing a moving picture coding apparatus according to Embodiment 2 of the present invention. In the figure, the same reference numerals as those in FIG. 1 denote the same or corresponding parts, and a description thereof will be omitted. Reference numeral 38 denotes a target code amount calculation unit that calculates a target code amount from the occurrence probability section output by the characteristic information-occurrence probability conversion table 32, and outputs an error signal to the characteristic information correction conversion unit 39. Therefore, it is a feature information correction conversion unit that corrects image feature information. Note that the target code amount calculation unit 38 and the characteristic information correction conversion unit 39 constitute a target code amount calculation unit.

【0042】次に動作について説明する。上記実施の形
態1では、入力画像の画像特徴情報を算出して、その画
像特徴情報から発生確率に変換し、その発生確率から目
標符号量を算出するものについて示したが、入力画像の
画像特徴情報の発生確率が偏っているような場合、画像
特徴情報の発生確率の誤差を補正するようにしてもよ
い。
Next, the operation will be described. In the first embodiment, the image feature information of the input image is calculated, the image feature information is converted into the occurrence probability, and the target code amount is calculated from the occurrence probability. When the occurrence probability of the information is biased, an error in the occurrence probability of the image feature information may be corrected.

【0043】即ち、入力画像の画像特徴情報の発生確率
が、特徴情報−発生確率変換テーブル32の確率分布か
ら偏っているような場合、目標符号量算出部38の出力
する目標符号量の確率分布も偏らせる。目標符号量算出
部38は、ある期間の目標符号量をカウントし、その期
間の平均ビットレートと総符号量の既定値から得られる
平均ビットレートとを比較し、目標符号量の平均ビット
レートの偏差を誤差信号として出力する。
That is, when the occurrence probability of the image feature information of the input image is deviated from the probability distribution of the feature information-occurrence probability conversion table 32, the probability distribution of the target code amount output from the target code amount calculation unit 38 Also bias. The target code amount calculation unit 38 counts the target code amount in a certain period, compares the average bit rate in the period with an average bit rate obtained from a predetermined value of the total code amount, and calculates the average bit rate of the target code amount. The deviation is output as an error signal.

【0044】特徴情報補正変換部39は、画像特徴情報
抽出部31から出力される画像特徴情報に対して、目標
符号量算出部38から出力される誤差信号を受けて、画
像特徴情報を補正演算し、補正特徴情報を出力する。補
正演算は、目標符号量の平均ビットレートが総符号量の
既定値から得られる平均ビットレートを超えることを示
す誤差信号の場合、画像特徴情報を発生確率のより高い
方の画像特徴情報へ補正演算する。逆に、目標符号量の
平均ビットレートが総符号量の既定値から得られる平均
ビットレートを下回ることを示す誤差信号の場合、画像
特徴情報を発生確率のより低い方の画像特徴情報へ補正
演算する。また、目標符号量の平均ビットレートと総符
号量の既定値から得られる平均ビットレートとの一致を
示す誤差信号の場合、補正演算は現在の補正演算を維持
する。
The characteristic information correction converter 39 receives the error signal output from the target code amount calculator 38 and corrects the image characteristic information with respect to the image characteristic information output from the image characteristic information extractor 31. Then, the correction feature information is output. In the case of an error signal indicating that the average bit rate of the target code amount exceeds the average bit rate obtained from the default value of the total code amount, the correction operation corrects the image feature information to the image feature information having the higher occurrence probability. Calculate. Conversely, in the case of an error signal indicating that the average bit rate of the target code amount is lower than the average bit rate obtained from the predetermined value of the total code amount, a correction operation is performed to correct the image feature information to image feature information having a lower occurrence probability. I do. Further, in the case of an error signal indicating a match between the average bit rate of the target code amount and the average bit rate obtained from the predetermined value of the total code amount, the correction operation maintains the current correction operation.

【0045】特徴情報−発生確率変換テーブル32にお
いて、補正特徴情報からその発生確率へ変換されて、発
生確率区間が出力される。補正特徴情報は特徴情報−発
生確率変換テーブル32の発生確率分布に近づけられて
いるので、適切な発生確率区間の出力を得ることができ
る。適切な発生確率区間の出力から、上記実施の形態1
と同様に目標符号量算出部38において、所定時間にお
ける総符号量の既定値に合致し、かつ、画像の符号化の
難しさに従った目標符号量に変換して出力することがで
きる。符号化制御部35において、目標符号量を目標に
して、画像符号化処理部37で実際に符号化される符号
量をカウントし、発生符号量を目標に収束させるように
量子化ステップ幅を調整する。
In the feature information-occurrence probability conversion table 32, the corrected feature information is converted into its occurrence probability, and an occurrence probability section is output. Since the corrected feature information is close to the occurrence probability distribution of the feature information-occurrence probability conversion table 32, an output of an appropriate occurrence probability section can be obtained. From the output of an appropriate occurrence probability section, the first embodiment
Similarly to the above, the target code amount calculation unit 38 can convert the output to a target code amount that matches the predetermined value of the total code amount in a predetermined time and that is in accordance with the difficulty of image coding and outputs the target code amount. The encoding control unit 35 counts the code amount actually encoded by the image encoding processing unit 37 with the target code amount as a target, and adjusts the quantization step width so that the generated code amount converges to the target. I do.

【0046】以上のように、この実施の形態2によれ
ば、入力画像の画像特徴情報の発生確率が偏っているよ
うな場合にも、画像特徴情報の発生確率の誤差を補正す
るようにしているので、特徴情報−発生確率変換テーブ
ル32の持つ確率分布に対して入力画像の画像特徴情報
の発生確率が偏っているような場合にも所定時間長にお
ける総符号量が既定値に収まり、かつ、符号化画像の平
均的画像品質を向上する可変ビットレート制御をするこ
とができる。また、画像の符号化の難しさを示す画像特
徴情報からフィードフォワード制御するので、画像の符
号化処理はリアルタイムで一回のみにすることができ
る。
As described above, according to the second embodiment, even when the occurrence probability of the image feature information of the input image is biased, the error of the occurrence probability of the image feature information is corrected. Therefore, even when the occurrence probability of the image feature information of the input image is biased with respect to the probability distribution of the feature information-occurrence probability conversion table 32, the total code amount within a predetermined time length falls within a predetermined value, and And variable bit rate control for improving the average image quality of the encoded image. Also, since feedforward control is performed based on image feature information indicating the difficulty of image encoding, image encoding processing can be performed only once in real time.

【0047】[0047]

【発明の効果】以上のように、この発明によれば、特徴
抽出手段により抽出された画像特徴情報を発生確率に変
換し、その発生確率から目標符号量を算出する目標符号
量算出手段と、その目標符号量算出手段により算出され
た目標符号量に応じて量子化ステップ幅を調整し、その
入力画像を当該量子化ステップ幅で可変ビットレート符
号化する符号化手段とを設けるように構成したので、著
しい装置規模や消費電力の増加を招くことなく、可変ビ
ットレート符号化をリアルタイムに行うことができる効
果がある。
As described above, according to the present invention, the target code amount calculating means for converting the image characteristic information extracted by the characteristic extracting means into the occurrence probability, and calculating the target code amount from the occurrence probability, And a coding unit that adjusts a quantization step width according to the target code amount calculated by the target code amount calculation unit and performs variable bit rate coding on the input image with the quantization step width. Therefore, there is an effect that variable bit rate encoding can be performed in real time without significantly increasing the device scale and power consumption.

【0048】この発明によれば、符号化手段が所定時間
長における総符号量が規定値と一致するように入力画像
を符号化するように構成したので、平均的画像画質を向
上させることができる効果がある。
According to the present invention, since the encoding means encodes the input image so that the total code amount in the predetermined time length matches the specified value, the average image quality can be improved. effective.

【0049】この発明によれば、目標符号量算出手段が
目標符号量を算出する際、画像特徴情報を補正するよう
に構成したので、平均的画像画質を向上させることがで
きる効果がある。
According to the present invention, when the target code amount calculating means calculates the target code amount, the image characteristic information is corrected, so that the average image quality can be improved.

【0050】この発明によれば、画像特徴情報を発生確
率に変換して、その発生確率から目標符号量を算出する
と、その目標符号量に応じて量子化ステップ幅を調整
し、その入力画像を当該量子化ステップ幅で可変ビット
レート符号化するように構成したので、著しい処理演算
量の増大に伴う装置規模や消費電力の増加を招くことな
く、可変ビットレート符号化をリアルタイムに行うこと
ができる効果がある。
According to the present invention, when the image characteristic information is converted into the occurrence probability and the target code amount is calculated from the occurrence probability, the quantization step width is adjusted according to the target code amount, and the input image is converted. Since the variable bit rate encoding is performed with the quantization step width, the variable bit rate encoding can be performed in real time without increasing the device scale and power consumption accompanying a remarkable increase in the amount of processing operations. effective.

【0051】この発明によれば、所定時間長における総
符号量が規定値と一致するように入力画像を符号化する
ように構成したので、平均的画像画質を向上させること
ができる効果がある。
According to the present invention, since the input image is encoded so that the total code amount in the predetermined time length matches the specified value, the average image quality can be improved.

【0052】この発明によれば、目標符号量を算出する
際、画像特徴情報を補正するように構成したので、平均
的画像画質を向上させることができる効果がある。
According to the present invention, since the image characteristic information is corrected when calculating the target code amount, there is an effect that the average image quality can be improved.

【0053】この発明によれば、特徴抽出処理手順によ
り抽出された画像特徴情報を発生確率に変換し、その発
生確率から目標符号量を算出する目標符号量算出処理手
順と、その目標符号量算出処理手順により算出された目
標符号量に応じて量子化ステップ幅を調整し、その入力
画像を当該量子化ステップ幅で可変ビットレート符号化
する符号化処理手順とを記録するように構成したので、
著しい処理演算量の増大に伴う装置規模や消費電力の増
加を招くことなく、可変ビットレート符号化をリアルタ
イムに行うことができる効果がある。
According to the present invention, the target code amount calculation processing procedure for converting the image feature information extracted by the characteristic extraction processing procedure into the occurrence probability and calculating the target code amount from the occurrence probability, and the target code amount calculation Since the quantization step width is adjusted in accordance with the target code amount calculated by the processing procedure, and the encoding processing procedure of performing variable bit rate encoding on the input image with the quantization step width is configured to be recorded,
There is an effect that variable bit rate encoding can be performed in real time without increasing the device scale and power consumption accompanying a remarkable increase in the amount of processing operations.

【0054】この発明によれば、符号化処理手順が所定
時間長における総符号量が規定値と一致するように入力
画像を符号化するように構成したので、平均的画像画質
を向上させることができる効果がある。
According to the present invention, the encoding processing procedure is configured to encode the input image such that the total code amount in the predetermined time length matches the specified value, so that the average image quality can be improved. There is an effect that can be done.

【0055】この発明によれば、目標符号量算出処理手
順が目標符号量を算出する際、画像特徴情報を補正する
ように構成したので、平均的画像画質を向上させること
ができる効果がある。
According to the present invention, when the target code amount calculation processing procedure calculates the target code amount, the image characteristic information is corrected so that the average image quality can be improved.

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

【図1】 この発明の実施の形態1による動画像符号化
装置を示す構成図である。
FIG. 1 is a configuration diagram showing a moving picture coding apparatus according to Embodiment 1 of the present invention.

【図2】 この発明の実施の形態1による動画像符号化
方法を示すフローチャートである。
FIG. 2 is a flowchart showing a moving picture coding method according to the first embodiment of the present invention.

【図3】 画像のフレーム間差分と固定量子化ステップ
で符号化した場合の符号量との一般的な関係を示す説明
図である。
FIG. 3 is an explanatory diagram showing a general relationship between an inter-frame difference of an image and a code amount when encoding is performed in a fixed quantization step.

【図4】 画像特徴情報の一例であるフレーム間差分と
その発生確率の関係を示す説明図である。
FIG. 4 is an explanatory diagram showing a relationship between an inter-frame difference, which is an example of image feature information, and its occurrence probability.

【図5】 特徴情報−発生確率変換テーブルの構成例を
示す説明図である。
FIG. 5 is an explanatory diagram showing a configuration example of a feature information-occurrence probability conversion table.

【図6】 この発明の実施の形態2による動画像符号化
装置を示す構成図である。
FIG. 6 is a configuration diagram illustrating a moving image encoding device according to a second embodiment of the present invention.

【図7】 従来の動画像符号化装置を示す構成図であ
る。
FIG. 7 is a configuration diagram showing a conventional moving picture encoding device.

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

31 画像特徴情報抽出部(特徴抽出手段)、32 特
徴情報−発生確率変換テーブル(目標符号量算出手
段)、33 目標符号量算出部(目標符号量算出手
段)、34 画像符号化部(符号化手段)、35 符号
化制御部、36 量子化器、37 画像符号化処理部、
38 目標符号量算出部(目標符号量算出手段)、39
特徴情報補正変換部(目標符号量算出手段)。
31 image feature information extraction unit (feature extraction unit), 32 feature information-occurrence probability conversion table (target code amount calculation unit), 33 target code amount calculation unit (target code amount calculation unit), 34 image encoding unit (coding Means), 35 encoding control unit, 36 quantizer, 37 image encoding processing unit,
38 target code amount calculation unit (target code amount calculation means), 39
Characteristic information correction conversion unit (target code amount calculation means).

フロントページの続き Fターム(参考) 5C053 FA22 GB37 JA01 KA05 KA20 KA22 KA24 LA14 5C059 KK06 KK49 MA00 MA01 MA23 MD02 PP04 SS11 SS20 TA53 TB00 TC19 TD06 TD14 UA02 UA33 UA39 5J064 AA04 BA01 BA09 BA16 BB03 BB12 BC01 BC16 BC25 BC26 BD03 5K034 AA01 AA10 BB01 CC02 GG06 HH16 Continued on the front page F-term (reference) 5C053 FA22 GB37 JA01 KA05 KA20 KA22 KA24 LA14 5C059 KK06 KK49 MA00 MA01 MA23 MD02 PP04 SS11 SS20 TA53 TB00 TC19 TD06 TD14 UA02 UA33 UA39 5J064 AA04 BA01 BC09 BC16 BC03 BC03 BC03 AA10 BB01 CC02 GG06 HH16

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 入力画像から画像特徴情報を抽出する特
徴抽出手段と、上記特徴抽出手段により抽出された画像
特徴情報を発生確率に変換し、その発生確率から目標符
号量を算出する目標符号量算出手段と、上記目標符号量
算出手段により算出された目標符号量に応じて量子化ス
テップ幅を調整し、その入力画像を当該量子化ステップ
幅で可変ビットレート符号化する符号化手段とを備えた
動画像符号化装置。
1. A feature extracting means for extracting image feature information from an input image, a target code amount for converting the image feature information extracted by the feature extracting means into an occurrence probability, and calculating a target code amount from the occurrence probability. Calculation means, and coding means for adjusting the quantization step width according to the target code amount calculated by the target code amount calculation means, and performing variable bit rate coding on the input image with the quantization step width. Video encoding device.
【請求項2】 符号化手段は、所定時間長における総符
号量が規定値と一致するように入力画像を符号化するこ
とを特徴とする請求項1記載の動画像符号化装置。
2. The moving picture encoding apparatus according to claim 1, wherein said encoding means encodes the input image such that a total code amount in a predetermined time length matches a specified value.
【請求項3】 目標符号量算出手段は、目標符号量を算
出する際、画像特徴情報を補正することを特徴とする請
求項1または請求項2記載の動画像符号化装置。
3. The moving picture coding apparatus according to claim 1, wherein the target code amount calculating means corrects the image feature information when calculating the target code amount.
【請求項4】 入力画像から画像特徴情報を抽出し、そ
の画像特徴情報を発生確率に変換して、その発生確率か
ら目標符号量を算出すると、その目標符号量に応じて量
子化ステップ幅を調整し、その入力画像を当該量子化ス
テップ幅で可変ビットレート符号化する動画像符号化方
法。
4. Extracting image feature information from an input image, converting the image feature information into an occurrence probability, and calculating a target code amount from the occurrence probability, the quantization step width is determined according to the target code amount. A moving picture coding method for adjusting the input picture at a variable bit rate with the quantization step width.
【請求項5】 所定時間長における総符号量が規定値と
一致するように入力画像を符号化することを特徴とする
請求項4記載の動画像符号化方法。
5. The moving picture coding method according to claim 4, wherein the input picture is coded so that a total code amount in a predetermined time length matches a specified value.
【請求項6】 目標符号量を算出する際、画像特徴情報
を補正することを特徴とする請求項4または請求項5記
載の動画像符号化方法。
6. The moving picture coding method according to claim 4, wherein image characteristic information is corrected when calculating the target code amount.
【請求項7】 入力画像から画像特徴情報を抽出する特
徴抽出処理手順と、上記特徴抽出処理手順により抽出さ
れた画像特徴情報を発生確率に変換し、その発生確率か
ら目標符号量を算出する目標符号量算出処理手順と、上
記目標符号量算出処理手順により算出された目標符号量
に応じて量子化ステップ幅を調整し、その入力画像を当
該量子化ステップ幅で可変ビットレート符号化する符号
化処理手順とを備えた動画像符号化プログラムが記録さ
れた記録媒体。
7. A feature extraction process for extracting image feature information from an input image, and a target for converting the image feature information extracted by the feature extraction process into an occurrence probability and calculating a target code amount from the occurrence probability. The coding amount calculation processing procedure and the coding that adjusts the quantization step width according to the target code amount calculated by the target code amount calculation processing procedure, and encodes the input image with the variable bit rate using the quantization step width. A recording medium in which a moving image encoding program having a processing procedure is recorded.
【請求項8】 符号化処理手順は、所定時間長における
総符号量が規定値と一致するように入力画像を符号化す
ることを特徴とする請求項7記載の動画像符号化プログ
ラムが記録された記録媒体。
8. The moving image encoding program according to claim 7, wherein the encoding processing procedure encodes the input image such that a total code amount in a predetermined time length matches a specified value. Recording medium.
【請求項9】 目標符号量算出処理手順は、目標符号量
を算出する際、画像特徴情報を補正することを特徴とす
る請求項7または請求項8記載の動画像符号化プログラ
ムが記録された記録媒体。
9. The moving image encoding program according to claim 7, wherein the target code amount calculating process corrects image feature information when calculating the target code amount. recoding media.
JP2000202712A 2000-07-04 2000-07-04 Moving picture coding apparatus, moving picture coding method, and recording medium on which moving picture coding program is recorded Expired - Fee Related JP4152570B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000202712A JP4152570B2 (en) 2000-07-04 2000-07-04 Moving picture coding apparatus, moving picture coding method, and recording medium on which moving picture coding program is recorded

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000202712A JP4152570B2 (en) 2000-07-04 2000-07-04 Moving picture coding apparatus, moving picture coding method, and recording medium on which moving picture coding program is recorded

Publications (2)

Publication Number Publication Date
JP2002027459A true JP2002027459A (en) 2002-01-25
JP4152570B2 JP4152570B2 (en) 2008-09-17

Family

ID=18700203

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000202712A Expired - Fee Related JP4152570B2 (en) 2000-07-04 2000-07-04 Moving picture coding apparatus, moving picture coding method, and recording medium on which moving picture coding program is recorded

Country Status (1)

Country Link
JP (1) JP4152570B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2432985A (en) * 2005-12-05 2007-06-06 Univ Robert Gordon Encoder control system based on a target encoding value

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2432985A (en) * 2005-12-05 2007-06-06 Univ Robert Gordon Encoder control system based on a target encoding value

Also Published As

Publication number Publication date
JP4152570B2 (en) 2008-09-17

Similar Documents

Publication Publication Date Title
KR100610520B1 (en) Video data encoder, video data encoding method, video data transmitter, and video data recording medium
JP2963416B2 (en) Video encoding method and apparatus for controlling bit generation amount using quantization activity
JP3907875B2 (en) Coding rate control device and information coding device
JP2004511976A (en) Video bit rate control method and apparatus for digital video recording
JP4795223B2 (en) Image processing device
JP2000350211A (en) Method and device for encoding moving picture
JP4224778B2 (en) STREAM CONVERTING APPARATUS AND METHOD, ENCODING APPARATUS AND METHOD, RECORDING MEDIUM, AND PROGRAM
JP2950065B2 (en) Variable transfer rate coding device
JPH10191343A (en) Device and method for compressing video data
JP4179917B2 (en) Video encoding apparatus and method
JPH0722396B2 (en) Image coding device
US20120314966A1 (en) Image coding apparatus, image decoding apparatus, image coding method, image decoding method, and program
JP2002027459A (en) Apparatus and method for encoding dynamic image as well as recording medium for recording image encoding program
JP2005045736A (en) Method and device for encoding image signal, encoding controller, and program
JP2007336005A (en) Image coding apparatus and image coding method
JPH1042293A (en) Encoding controller, encoding device and encoding control method
JP2004072143A (en) Encoder and encoding method, program, and recording medium
JP4273385B2 (en) Encoding apparatus, encoding method, program, and recording medium
JP4443940B2 (en) Image encoding device
JP4079530B2 (en) Video coding method and apparatus with variable bit rate
JP3120424B2 (en) Moving image information recording apparatus and recording method
JP4186544B2 (en) Encoding apparatus, encoding method, program, and recording medium
JP2002218464A (en) Method, device and program for performing transcoding of moving image coded data and recording medium
JP4604757B2 (en) Image coding apparatus and image coding method
JP4273386B2 (en) Encoding apparatus, encoding method, program, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041105

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070327

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070426

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071002

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071107

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20071112

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20071112

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071112

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080318

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080404

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080603

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080702

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110711

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110711

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120711

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120711

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130711

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees