JP2002247584A - Method and device for encoding image, program for image encoding processing, and recording medium for the program - Google Patents

Method and device for encoding image, program for image encoding processing, and recording medium for the program

Info

Publication number
JP2002247584A
JP2002247584A JP2001037874A JP2001037874A JP2002247584A JP 2002247584 A JP2002247584 A JP 2002247584A JP 2001037874 A JP2001037874 A JP 2001037874A JP 2001037874 A JP2001037874 A JP 2001037874A JP 2002247584 A JP2002247584 A JP 2002247584A
Authority
JP
Japan
Prior art keywords
frame
picture
encoding
complexity index
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001037874A
Other languages
Japanese (ja)
Inventor
Takeshi Nakamura
健 中村
Takayasu Nitta
高庸 新田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2001037874A priority Critical patent/JP2002247584A/en
Publication of JP2002247584A publication Critical patent/JP2002247584A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an image encoding technology capable of improving the efficiency of encoding by accurately estimating the number of generated codes. SOLUTION: Constitution for approximately estimating an I picture from the dispersion value of an input image in a frame to be encoded and approximately estimating a P picture and a B picture from the predictive error value of movement search executed between the input image of the frame to be encoded and the input image of a reference frame is used as a means for predicting the number of generated codes in each picture type. Since the number of codes of the frame to be encoded is predicted on the basis of not the information of past frames but the information of the frame to be encoded in accordance with the constitution, a problem that prediction is not hit due to a change in a scene or the like can be solved.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、入力画像の分散値
や、入力画像間の動き探索結果を後段の符号化処理に1
フレーム以上先行して求め、それをもとに各フレームの
複雑さ指標を推定した上で符号化制御を行なう画像符号
化方法及び装置と、その画像符号化技術の実現に用いら
れる画像符号化処理用プログラムと、そのプログラムを
記録した画像符号化処理用プログラムの記録媒体とに関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method in which a variance value of an input image and a result of motion search between input images are used in a subsequent encoding process.
An image encoding method and apparatus that determines the frame complexity index of each frame based on the preceding frame and controls the encoding based on the frame index, and an image encoding process used to realize the image encoding technique And a recording medium for an image encoding processing program that stores the program.

【0002】[0002]

【従来の技術】MPEG-2 Test Model 5 などの従来の
画像符号化の符号化制御手法においては、I、P、Bな
どのピクチャタイプごとに、そのピクチャの発生符号量
と平均量子化スケールとの積である複雑さ指標を、その
ピクチャの符号化終了後に求め、その値に基づいて、次
に符号化を行なうピクチャの発生符号量を予測し、符号
化制御に反映させている。
2. Description of the Related Art In a conventional coding control method of image coding such as MPEG-2 Test Model 5, for each picture type such as I, P, and B, the generated code amount of the picture, the average quantization scale, and the like are calculated. Is calculated after the encoding of the picture is completed, and based on the value, the generated code amount of the picture to be encoded next is predicted and reflected in the encoding control.

【0003】また、特開平11-298904 号公報に記載され
る発明では、後段の符号化に先行して、縮小ピクチャ動
き検出部から出力される統計量をもとに符号量を見積も
り、符号化制御に反映させることで、1パス映像符号化
装置と同等のハードウエア規模で2パスと同義の実時間
映像符号化装置を実現している。
In the invention described in Japanese Patent Application Laid-Open No. H11-298904, prior to encoding at a later stage, a code amount is estimated based on a statistic output from a reduced picture motion detecting unit, and the encoding is performed. By reflecting the results in the control, a real-time video encoding device having the same hardware scale as that of the one-pass video encoding device and having the same meaning as two-pass video is realized.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、前者の
従来技術の方法では、過去のピクチャの情報をもとに発
生符号量の見積もりを行なっているために、前のピクチ
ャとの絵柄が大きく変化している場合や、シーンの切り
替えが行なわれた場合に、その発生符号量の見積もりが
あたらず、符号量配分が不正確となり、符号化効率が低
下するという問題があった。
However, in the former method of the prior art, since the amount of generated code is estimated based on the information of past pictures, the pattern of the previous picture greatly changes. In such a case, or when a scene is switched, the generated code amount cannot be estimated, so that the code amount distribution becomes inaccurate and the coding efficiency decreases.

【0005】また、後者の従来技術の方法では、縮小ピ
クチャ動き検出による統計情報のみをそのまま符号量予
測に用いており、これではIピクチャ、Pピクチャ、B
ピクチャなどの各ピクチャタイプ毎の符号量を正確に予
測するには精度が十分でなく、その結果、符号量配分が
不正確で符号化効率が低下する場合があるという問題が
あった。
In the latter prior art method, only the statistical information based on the reduced picture motion detection is directly used for code amount prediction.
Accuracy is not sufficient to accurately predict the code amount for each picture type such as a picture, and as a result, there is a problem that the code amount distribution is inaccurate and the coding efficiency may decrease.

【0006】本発明はかかる事情に鑑みてなされたもの
であって、発生符号量の見積もりを正確にできるように
することで符号化効率の向上を実現する新たな画像符号
化技術の提供を目的とする。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a new image coding technique which realizes an improvement in coding efficiency by accurately estimating a generated code amount. And

【0007】[0007]

【課題を解決するための手段】MPEG-2 Test Model
の方法では、過去の同じピクチャタイプのピクチャの情
報をもとに複雑さ指標を求め、発生符号量の見積もりを
行なっているために、前の同じピクチャタイプのピクチ
ャとの絵柄が大きく変化している場合や、シーンの切り
替えが行なわれた場合に、その発生符号量の見積もりが
あたらず、符号量配分が不正確となり、符号化効率が低
下するという問題があった。
[Means for Solving the Problems] MPEG-2 Test Model
According to the method, a complexity index is obtained based on information of pictures of the same picture type in the past, and the amount of generated code is estimated. Therefore, the pattern of the previous picture of the same picture type greatly changes. However, when the scene is switched or when the scene is switched, the generated code amount cannot be estimated, so that the code amount distribution becomes inaccurate and the coding efficiency decreases.

【0008】そこで、本発明では、各ピクチャタイプの
発生符号量を予測する手段として、Iピクチャは符号化
対象フレームの入力画像の分散値から近似推定し、Pピ
クチャとBピクチャは符号化対象フレームの入力画像と
その参照フレームの入力画像との間で行なわれた動き探
索の予測誤差値から近似推定するという構成を用いる。
Therefore, in the present invention, as means for predicting the generated code amount of each picture type, an I picture is approximately estimated from a variance of an input image of a frame to be coded, and a P picture and a B picture are Is used for approximation from the prediction error value of the motion search performed between the input image of the reference frame and the input image of the reference frame.

【0009】この構成に従って、過去のフレームでな
く、符号化対象フレームに関する情報をもとに符号化対
象フレームの符号量予測が行われるので、シーンの変化
などにより予測があたらないという問題が解決される。
According to this configuration, since the code amount of the encoding target frame is predicted based on information about the encoding target frame instead of the past frame, the problem that the prediction cannot be achieved due to a scene change or the like is solved. You.

【0010】また、特開平11-298904 号公報に記載され
る発明では、縮小ピクチャ動き探索を後段の符号化処理
に先行して行なうことで、符号化対象フレームに関する
縮小動き探索から得られる統計量から符号量を予測し、
符号量制御に反映させるが、それらの情報だけから、I
ピクチャ、Pピクチャ、Bピクチャなどの各ピクチャタ
イプの符号量を予測する場合、精度が不充分な場合があ
った。
In the invention described in Japanese Patent Application Laid-Open No. H11-298904, a statistic obtained from a reduced motion search on a frame to be coded is performed by performing a reduced picture motion search prior to a subsequent encoding process. Predicts the code amount from
This is reflected in the code amount control.
When predicting the code amount of each picture type such as a picture, a P picture, a B picture, etc., accuracy was sometimes insufficient.

【0011】そこで、本発明では、Iピクチャは符号化
対象フレームの入力画像の分散値を用いて、Pピクチャ
とBピクチャは符号化対象フレームの入力画像とその参
照フレームの入力画像との間で行なわれた動き探索の予
測誤差値を用いて、それぞれのピクチャタイプ毎の推定
式に従って、発生符号量を近似推定するという構成を用
いる。
Therefore, in the present invention, the I picture uses the variance value of the input image of the encoding target frame, and the P picture and the B picture are used between the input image of the encoding target frame and the input image of the reference frame. A configuration is used in which the generated code amount is approximately estimated according to the estimation formula for each picture type using the prediction error value of the performed motion search.

【0012】この構成に従って、そのピクチャのピクチ
ャタイプに適した方法で符号量を正確に予測することが
できる。
According to this configuration, the code amount can be accurately predicted by a method suitable for the picture type of the picture.

【0013】さらに、本発明では、実際に符号化処理を
行なった結果から得られるフレーム発生符号量とフレー
ム平均量子化スケールとの積から複雑さ指標を求め、そ
の情報とかかる分散値とかかる予測誤差値とをピクチャ
タイプ別に数フレーム分蓄積して、発生符号量の予測に
用いる予測式を動的に更新するという構成を用いること
で、符号量を正確に推定できるようにしている。
Further, according to the present invention, a complexity index is obtained from a product of a frame generation code amount obtained from a result of actual encoding processing and a frame average quantization scale, and the information, such a variance value and such a prediction value are obtained. An error value is accumulated for several frames for each picture type, and the prediction amount used for predicting the generated code amount is dynamically updated, so that the code amount can be accurately estimated.

【0014】さらに、本発明では、シーンチェンジ検出
情報を利用して、予測式の係数更新を制御したり、予測
に使用する予測式を変更するという構成を用いること
で、符号量を正確に推定できるようにしている。
Further, in the present invention, the code amount is accurately estimated by using a configuration in which the coefficient update of the prediction formula is controlled or the prediction formula used for prediction is changed using the scene change detection information. I can do it.

【0015】また、これらの方法に使用する情報を得る
ためには、以下のごとく、ハードウェアの実装を考慮し
た場合、新規に追加しなければならないハードウェアが
少ないという長所がある。
Further, in order to obtain information used in these methods, there is an advantage that, as described below, when hardware implementation is considered, there is little additional hardware that must be newly added.

【0016】一般に、MPEGの符号化においては、動
き補償は符号化対象フレームの入力画像と、その参照フ
レームの局所復号画像との間で行なわれるが、階層的な
動き探索をする場合においては、最終的な精度の2次探
索よりも粗い精度の1次探索においては、符号化対象フ
レームの入力画像とその参照フレームの入力画像との間
で動き探索が行なわれることが多い。
In general, in MPEG coding, motion compensation is performed between an input image of a frame to be coded and a locally decoded image of a reference frame. However, when performing a hierarchical motion search, In a primary search with a coarser accuracy than a secondary search with a final accuracy, a motion search is often performed between an input image of an encoding target frame and an input image of a reference frame thereof.

【0017】そのため、入力画像間の動き探索の場合
は、局所復号画像を用いる場合と異なり、符号化と独立
して先行して行なうことができる。ハードウェアの実装
を考慮した場合、入力画像どうしの間の粗い精度の1次
探索と、入力画像と局所復号画像間の最終的な精度の2
次探索との間にフレーム遅延を設けることは、予測誤差
画像の保存が必要でなく動きベクトルのみを保存すれば
よいことなどから、比較的実装が容易である。
Therefore, unlike the case of using the locally decoded image, the motion search between the input images can be performed in advance of the encoding independently. In consideration of hardware implementation, a primary search of coarse accuracy between input images and a final accuracy of 2 between the input image and the locally decoded image are performed.
Providing a frame delay between the next search is relatively easy to implement because it is not necessary to store the prediction error image and only the motion vector needs to be stored.

【0018】また、MPEGでは、各MB(マクロブロ
ック)の量子化スケールを、そのMBの入力画像情報で
あるアクティビティ値をもとに上下させることがよく行
なわれる。たとえば、MPEG-2 Test Mode1では、1
6画素×16画素のマクロブロック内の4つのサブブロ
ックの分散値の最小値を用いるが、これを符号化の前段
で算出するような符号化装置においては、この情報の総
和をとることで、簡単にIピクチャの符号量予測に用い
る入力画像の分散値が得られ、そのままフレーム内符号
量予測値に用いることができる。
In MPEG, the quantization scale of each MB (macroblock) is often increased or decreased based on an activity value which is input image information of the MB. For example, in MPEG-2 Test Mode 1, 1
Although the minimum value of the variance of the four sub-blocks in the macroblock of 6 pixels × 16 pixels is used, in an encoding apparatus that calculates this value at the preceding stage of the encoding, the sum of this information is calculated. The variance value of the input image used for the prediction of the code amount of the I picture can be easily obtained, and can be used as it is for the prediction value of the intra-frame code amount.

【0019】また、入力画像の隣接画素間差分を入力画
像の分散値として使用する場合、ハードウェア的にはラ
インバッファの追加などの手段により、比較的少ないコ
ストで算出機能を実装することができる。
When the difference between adjacent pixels of the input image is used as the variance of the input image, the calculation function can be implemented at relatively low cost by means of adding a line buffer in terms of hardware. .

【0020】このような理由から本発明により、実装上
容易に符号化に数フレーム分先行してIピクチャ、Pピ
クチャ、Bピクチャの各ピクチャタイプの発生符号量の
予測が可能となり、符号化制御の効率向上に貢献するこ
とができる。
For this reason, according to the present invention, it is possible to easily predict the amount of generated code of each picture type of I picture, P picture, and B picture ahead of the coding by several frames in implementation. It can contribute to the improvement of efficiency.

【0021】[0021]

【発明の実施の形態】(1)第1の実施形態例 図1に、本発明の第1の実施形態例に従うMPEG−2
符号化を行う画像符号化装置の装置構成を図示する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS (1) First Embodiment FIG. 1 shows MPEG-2 according to a first embodiment of the present invention.
1 illustrates a device configuration of an image encoding device that performs encoding.

【0022】この図に示すように、第1の実施形態例に
従う画像符号化装置では、MPEG−2符号化を行うた
めに用意される、前処理部10/1次探索部11/2次
探索部12/DCT部13/量子化部14/可変長符号
化部15/逆量子化部16/逆DCT部17/量子化パ
ラメータ制御部18の他に、本発明を実現するために、
Iピクチャ複雑さ指標算出部20とP・Bピクチャ複雑
さ指標算出部21とを備える。
As shown in the figure, in the image coding apparatus according to the first embodiment, a preprocessing unit 10/1 primary search unit 11/2 secondary search prepared for performing MPEG-2 coding. In addition to the unit 12 / DCT unit 13 / quantization unit 14 / variable length encoding unit 15 / inverse quantization unit 16 / inverse DCT unit 17 / quantization parameter control unit 18, in order to realize the present invention,
An I-picture complexity index calculator 20 and a P / B picture complexity index calculator 21 are provided.

【0023】このIピクチャ複雑さ指標算出部20は、
前処理部10に入力される入力画像の分散値を使って、
Iピクチャの複雑さ指標(そのピクチャの発生符号量と
平均量子化スケールとの積)を推定する処理を行う。
The I-picture complexity index calculating section 20 calculates
Using the variance of the input image input to the preprocessing unit 10,
A process of estimating the complexity index of the I picture (the product of the generated code amount of the picture and the average quantization scale) is performed.

【0024】P・Bピクチャ複雑さ指標算出部21は、
1次探索部11の動きベクトル探索結果により得られる
予測誤差値を使って、Pピクチャの複雑さ指標とBピク
チャの複雑さ指標とを推定する処理を行う。
The P / B picture complexity index calculator 21 calculates
A process of estimating the complexity index of the P picture and the complexity index of the B picture is performed using the prediction error value obtained from the motion vector search result of the primary search unit 11.

【0025】本発明では、量子化パラメータ制御部18
は、このようにして推定される複雑さ指標を使って量子
化部14を制御する処理を行うことになる。
In the present invention, the quantization parameter control unit 18
Performs processing for controlling the quantization unit 14 using the complexity index estimated in this way.

【0026】ここで、図1に示した本発明の画像符号化
装置を実現するために用意される各処理手段は、コンピ
ュータプログラムで実現可能であり、このコンピュータ
プログラムは、半導体メモリなどの記録媒体に記録して
提供することができる。
Here, each processing means provided for realizing the image encoding apparatus of the present invention shown in FIG. 1 can be realized by a computer program, and the computer program is a recording medium such as a semiconductor memory. Can be recorded and provided.

【0027】第1の実施形態例では、図2に示すよう
に、Iピクチャ複雑さ指標算出部20は、シーンチェン
ジ直後の符号化時には、入力画像の分散値xを使い、 フレーム複雑さ指標=aI ×x2 +bI ×x+cI ・・・・・式 但し、aI,I,I は予め設定される固定値 という2次式に従って、Iピクチャの符号化終了時に、
そのIピクチャの複雑さ指標を推定する処理を行う。
In the first embodiment, as shown in FIG. 2, at the time of encoding immediately after a scene change, the I-picture complexity index calculating unit 20 uses the variance value x of the input image and calculates the frame complexity index = a I × x 2 + b I × x + c I ... where a I, b I, and c I are fixed values that are set in advance.
A process for estimating the complexity index of the I picture is performed.

【0028】また、P・Bピクチャ複雑さ指標算出部2
1は、シーンチェンジ直後の符号化時には、動きベクト
ル探索結果により得られるPピクチャの予測誤差値xを
使い、 フレーム複雑さ指標=aP ×x2 +bP ×x+cP ・・・・・式 但し、aP,P,P は予め設定される固定値 という2次式に従って、Pピクチャの符号化終了時に、
そのPピクチャの複雑さ指標を推定する処理を行う。
Further, a P / B picture complexity index calculating section 2
1 uses the prediction error value x of the P picture obtained from the motion vector search result at the time of encoding immediately after the scene change, and calculates the frame complexity index = a P × x 2 + b P × x + c P. , A P, b P, and c P are fixed values that are set in advance.
A process for estimating the complexity index of the P picture is performed.

【0029】但し、シーンチェンジ後始めての符号化時
には、Iピクチャの複雑さ指標を推定する上述の式に
従って、Pピクチャの複雑さ指標を推定する処理を行
う。
However, at the time of encoding for the first time after the scene change, processing for estimating the complexity index of the P picture is performed in accordance with the above-described equation for estimating the complexity index of the I picture.

【0030】また、P・Bピクチャ複雑さ指標算出部2
1は、シーンチェンジ直後の符号化時には、動きベクト
ル探索結果により得られるBピクチャの予測誤差値xを
使い、 フレーム複雑さ指標=aB ×x2 +bB ×x+cB ・・・・・式 但し、aB,B,B は予め設定される固定値 という2次式に従って、Bピクチャの符号化終了時に、
そのBピクチャの複雑さ指標を推定する処理を行う。
The P / B picture complexity index calculation unit 2
1 uses the prediction error value x of the B picture obtained from the motion vector search result at the time of encoding immediately after the scene change, and calculates the frame complexity index = a B × x 2 + b B × x + c B. , A B, b B, and c B are fixed values that are set in advance.
A process for estimating the complexity index of the B picture is performed.

【0031】一方、第1の実施形態例に従う場合には、
シーンチェンジ直後以外の符号化時には、係数値固定の
2次式を使って複雑さ指標を推定するのでは精度が十分
でないことが起こることを考慮して、従来技術と同様
に、直前の発生符号化量と平均量子化パラメータとの積
で算出される複雑さ指標を用いるという構成を採ってい
る。
On the other hand, according to the first embodiment,
At the time of encoding other than immediately after a scene change, it is considered that estimating the complexity index using a quadratic equation with a fixed coefficient value may not provide sufficient accuracy. The configuration employs a complexity index calculated by the product of the quantization amount and the average quantization parameter.

【0032】すなわち、Iピクチャ複雑さ指標算出部2
0は、シーンチェンジ直後以外の符号化時には、直前の
Iピクチャの発生符号量と平均量子化パラメータとの積
で算出される複雑さ指標を取得して、それを量子化パラ
メータ制御部18に渡すように処理している。また、P
・Bピクチャ複雑さ指標算出部21は、シーンチェンジ
直後以外の符号化時には、直前のPピクチャの発生符号
量と平均量子化パラメータとの積で算出される複雑さ指
標を取得して、それを量子化パラメータ制御部18に渡
すとともに、直前のBピクチャの発生符号量と平均量子
化パラメータとの積で算出される複雑さ指標を取得し
て、それを量子化パラメータ制御部18に渡すように処
理している。
That is, the I picture complexity index calculation unit 2
0 obtains a complexity index calculated by multiplying the generated code amount of the immediately preceding I picture by the average quantization parameter during encoding other than immediately after the scene change, and passes it to the quantization parameter control unit 18. Is processed as follows. Also, P
The B picture complexity index calculation unit 21 acquires a complexity index calculated by a product of the code amount generated of the immediately preceding P picture and the average quantization parameter during encoding other than immediately after a scene change, and In addition to passing to the quantization parameter control unit 18, a complexity index calculated by the product of the generated code amount of the immediately preceding B picture and the average quantization parameter is obtained, and is passed to the quantization parameter control unit 18. Processing.

【0033】したがって、第1の実施形態例では、図3
の処理フローに示すように、符号化処理に入ると、シー
ンチェンジが発生したのか否かを判断して、シーンチェ
ンジが発生した場合には、上述の式を使ってIピクチ
ャ及びPピクチャの複雑さ指標を算出し、上述の式を
使ってBピクチャの複雑さ指標を算出する。
Therefore, in the first embodiment, FIG.
As shown in the processing flow, when the encoding process is started, it is determined whether or not a scene change has occurred, and if a scene change has occurred, the complexity of the I picture and the P picture is calculated using the above equation. Then, a complexity index of the B picture is calculated using the above-described formula.

【0034】そして、その後シーンチェンジ発生後の規
定フレーム数が経過するまでの間(例えば、Pピクチャ
とBピクチャとがそれぞれ2回出現するまでの間)は、
上述の式を使ってIピクチャの複雑さ指標を算出し、
上述の式を使ってPピクチャの複雑さ指標を算出し、
上述の式を使ってBピクチャの複雑さ指標を算出す
る。
Then, until the prescribed number of frames after the scene change occurs (for example, until a P picture and a B picture appear twice each),
Calculate the complexity index of the I picture using the above equation,
Calculate the complexity index of the P picture using the above equation,
The complexity index of the B picture is calculated using the above equation.

【0035】ここで、Pピクチャに関して、シーンチェ
ンジ後始めてのPピクチャについては、イントラマクロ
ブロックで符号化される割合が多いため、上述の式を
使ってIピクチャと同様の方法で複雑さ指標を算出し、
シーンチェンジ後2枚目以降のPピクチャについては、
上述の式を使って複雑さ指標を算出するようにしてい
る。
Here, with respect to the P picture, since the first P picture after the scene change is coded by an intra macroblock, the complexity index is calculated in the same manner as the I picture using the above equation. Calculate,
For the second and subsequent P-pictures after the scene change,
The complexity index is calculated using the above equation.

【0036】そして、その規定フレーム数が経過する
と、発生符号量と平均量子化パラメータとの積で算出さ
れる複雑さ指標の測定値を読み込んで、それを算出した
複雑さ指標として用いるように処理するのである。
When the specified number of frames has elapsed, a measured value of the complexity index calculated by multiplying the generated code amount by the average quantization parameter is read, and the measured value is used as the calculated complexity index. You do it.

【0037】(イ)Iピクチャ複雑さ指標算出部20に
よる複雑さ指標の算出処理 図4に、Iピクチャ複雑さ指標算出部20の実行する処
理フローの一実施形態例を図示する。
(A) Complexity Index Calculation Processing by I-picture Complexity Index Calculation Unit 20 FIG. 4 shows an embodiment of a processing flow executed by the I-picture complexity index calculation unit 20.

【0038】Iピクチャ複雑さ指標算出部20は、この
処理フローに示すように、前処理部10に入力される入
力画像の各フレームを処理対象として、各画素に関し
て、右隣の画素との輝度値の差分の絶対値と真下の画素
との輝度値の差分の絶対値との和を、画面全体について
総和をとったもので定義される隣接画素間差分絶対値和
を算出し、それを入力画像の分散値として用いて上述の
式に代入することで、Iピクチャの複雑さ指標を推定
する処理を行う。
As shown in this processing flow, the I-picture complexity index calculating section 20 processes each frame of the input image input to the pre-processing section 10 with respect to each pixel, and obtains the luminance of each pixel with the pixel on the right. Calculate the sum of the absolute value of the difference between the values and the absolute value of the difference between the luminance values of the pixels immediately below and the sum of the entire screen, and calculate the sum of the absolute values of the differences between adjacent pixels and input it. A process of estimating the complexity index of the I picture is performed by using the variance value of the image and substituting it into the above equation.

【0039】(ロ)P・Bピクチャ複雑さ指標算出部2
1による複雑さ指標の算出処理 入力画像系列のうち、PピクチャまたはBピクチャとし
て符号化されるフレームについては、1次探索部11
で、符号化対象フレームの入力画像の縮小画像と参照フ
レームの入力画像の縮小画像とを用いて、2画素精度の
動き探索が行なわれる。
(B) P · B picture complexity index calculation unit 2
1 for calculating a complexity index among frames of an input image sequence encoded as a P-picture or a B-picture.
Then, a motion search with 2-pixel accuracy is performed using the reduced image of the input image of the encoding target frame and the reduced image of the input image of the reference frame.

【0040】ここで、縮小画像は、入力画像を水平、垂
直方向に1/2に縮小した画像とする。また、符号化対
象フレームと参照フレームの両縮小画像は、入力画像の
第1フィールドと第2フィールドから、それぞれフィー
ルドごとにつくられ、動き探索がフィールド単位で行な
われるものとする。
Here, the reduced image is an image obtained by reducing the input image by half in the horizontal and vertical directions. Also, both reduced images of the encoding target frame and the reference frame are created for each field from the first field and the second field of the input image, and the motion search is performed on a field basis.

【0041】この2画素精度の探索は、符号化対象フレ
ームの第1、第2のフィールドを起点とし、Pピクチャ
に関しては、1つの参照フレームの第1、第2のフィー
ルドを終点とする合計4つの種類の動きベクトルに関す
る探索がなされ、Bピクチャに関しては、2つの参照フ
レームの第1、第2のフィールドを終点とする合計8つ
の種類の動きベクトルに関する探索がなされる。
In the search for two-pixel accuracy, the first and second fields of the encoding target frame are used as starting points, and the P picture is a total of four using the first and second fields of one reference frame as ending points. Searches are performed for two types of motion vectors, and for B pictures, a search is performed for a total of eight types of motion vectors ending at the first and second fields of two reference frames.

【0042】図5は、Bピクチャの場合に探索される動
きベクトルを示したものである。Pピクチャの場合は、
図中に示す参照フレームAとv1、v2、v3、v4の
みが存在する。
FIG. 5 shows a motion vector searched for a B picture. For P-pictures,
Only the reference frame A shown in the figure and v1, v2, v3, and v4 exist.

【0043】P・Bピクチャ複雑さ指標算出部21は、
これらの動きベクトルに対応した予測誤差から、最終的
な予測誤差を算出し、それを上述の式や式に代入す
ることで、PピクチャやBピクチャの複雑さ指標を推定
する処理を行う。
The P / B picture complexity index calculator 21 calculates
From the prediction errors corresponding to these motion vectors, a final prediction error is calculated, and it is substituted into the above-mentioned expression or expression, thereby performing a process of estimating the complexity index of the P picture or the B picture.

【0044】図6に、P・Bピクチャ複雑さ指標算出部
21が実行するPピクチャの複雑さ指標の推定処理の処
理フローの一実施形態例を図示し、図7及び図8に、P
・Bピクチャ複雑さ指標算出部21が実行するBピクチ
ャの複雑さ指標の推定処理の処理フローの一実施形態例
を図示する。
FIG. 6 shows an embodiment of the processing flow of the estimation process of the complexity index of the P picture executed by the P / B picture complexity index calculation unit 21, and FIG. 7 and FIG.
FIG. 6 illustrates an embodiment of a processing flow of a B picture complexity index estimation process executed by the B picture complexity index calculation unit 21. FIG.

【0045】P・Bピクチャ複雑さ指標算出部21は、
Pピクチャの複雑さ指標を推定するときには、図6の処
理フローに示すように、図5中に示すv1とv2の予測
誤差の小さい方の値と、図5中に示すv3とv4の予測
誤差の小さい方の値との和をそのマクロブロックに対す
る予測誤差として、そのフレーム内総和をとり、それを
フレームの予測誤差値としてPピクチャの複雑さ指標を
推定する。
The P / B picture complexity index calculator 21 calculates
When estimating the complexity index of the P picture, as shown in the processing flow of FIG. 6, the smaller one of the prediction errors of v1 and v2 shown in FIG. 5 and the prediction error of v3 and v4 shown in FIG. Is calculated as the prediction error for the macroblock, the sum within the frame is calculated, and the sum is used as the prediction error value of the frame to estimate the complexity index of the P picture.

【0046】一方、P・Bピクチャ複雑さ指標算出部2
1は、Bピクチャの複雑さ指標を推定するときには、図
7及び図8の処理フローに示すように、先ず最初に、図
5中に示すv1とv2の予測誤差の小さい方の値と、図
5中に示すv3とv4の予測誤差の小さい方の値との和
を求め、次に、図5中に示すv5とv6の予測誤差の小
さい方の値と、図5中に示すv7とv8の予測誤差の小
さい方の値との和を求め、続いて、この2つの和の小さ
い方の値をそのマクロブロックに対する予測誤差とし
て、そのフレーム内総和をとり、それをフレームの予測
誤差値としてBピクチャの複雑さ指標を推定する。
On the other hand, the P / B picture complexity index calculating section 2
When estimating the complexity index of a B-picture, first, as shown in the processing flows of FIGS. 7 and 8, first, the smaller one of the prediction errors of v1 and v2 shown in FIG. 5, the sum of the smaller values of the prediction errors v3 and v4 is calculated, and then the smaller values of the prediction errors v5 and v6 shown in FIG. 5 and v7 and v8 shown in FIG. And the sum of the two smaller sums is calculated as the prediction error for the macroblock, the sum within the frame is calculated, and the sum is used as the prediction error value of the frame. Estimate the complexity index of the B picture.

【0047】このようにして、Iピクチャ複雑さ指標算
出部20は、シーンチェンジ直後の符号化時には、前処
理部10に入力される入力画像の隣接画素間差分絶対値
和を求めて、それを2次式に代入することで、Iピクチ
ャの複雑さ指標を推定する処理を行うのである。
As described above, the I-picture complexity index calculating unit 20 calculates the sum of absolute differences between adjacent pixels of the input image input to the pre-processing unit 10 at the time of encoding immediately after a scene change, and calculates the sum. By substituting into the quadratic expression, a process of estimating the complexity index of the I picture is performed.

【0048】そして、P・Bピクチャ複雑さ指標算出部
21は、シーンチェンジ直後の符号化時には、1次探索
部11の動きベクトル探索結果により得られる予測誤差
値を求めて、それを2次式に代入することで、Pピクチ
ャの複雑さ指標とBピクチャの複雑さ指標とを推定する
処理を行うのである。
Then, at the time of encoding immediately after the scene change, the P / B picture complexity index calculating section 21 obtains a prediction error value obtained from a motion vector search result of the primary search section 11, and calculates it by a quadratic equation. , A process of estimating the complexity index of the P picture and the complexity index of the B picture is performed.

【0049】このようにして、第1の実施形態例では、
何らかの手段でシーンチェンジが検出されると、そのシ
ーンチェンジ後の規定フレーム数の間は、Iピクチャな
らば入力画像の分散値、P、Bピクチャならば入力画像
間の動き探索結果の予測誤差値を、それぞれのピクチャ
タイプのフレーム複雑さ指標の推定式である2次式に当
てはめて、各ピクチャの複雑さ指標を推定する。
As described above, in the first embodiment,
When a scene change is detected by any means, the variance value of the input image for an I picture, or the prediction error value of the motion search result between the input images for a P or B picture for a specified number of frames after the scene change. Is applied to a quadratic expression that is an estimation expression of a frame complexity index of each picture type, and a complexity index of each picture is estimated.

【0050】ここで、この2次式の係数はあらかじめ決
められた固定の初期設定値である。ただし、シーンチェ
ンジ後初めて符号化されるPピクチャに関しては、イン
トラマクロブロックで符号化される割合が多いため、事
実上のIピクチャとみなして、入力画像の分散値から、
Iピクチャの複雑さ指標の推定式によって複雑さ指標を
推定するようにしている。
Here, the coefficient of the quadratic expression is a predetermined fixed initial setting value. However, the P picture that is coded for the first time after a scene change is coded as an intra macroblock in a large proportion.
The complexity index is estimated by an equation for estimating the complexity index of the I picture.

【0051】第1の実施形態例では、シーンチェンジ直
後以外のピクチャに関しては、係数値を固定値とする推
定式による推定では精度が十分でないことが起こること
を考慮して、従来技術どおり、同ピクチャタイプの直前
のピクチャの発生符号量と平均量子化パラメータとの積
を複雑さ指標として用い、フレーム間符号量配分を行な
い、ピクチャ目標符号量などを決定する。
In the first embodiment, as for the picture other than immediately after the scene change, the estimation is not sufficiently performed by the estimation formula using the coefficient value as a fixed value. Using the product of the generated code amount of the picture immediately before the picture type and the average quantization parameter as a complexity index, inter-frame code amount distribution is performed to determine a picture target code amount and the like.

【0052】ここで、複雑さ指標をピクチャの発生符号
量と平均量子化パラメータとの積としたが、それに限る
ものでなく、発生符号量を何らかの方法で量子化パラメ
ータの値で正規化した値であればよい。
Here, the complexity index is the product of the amount of generated code of the picture and the average quantization parameter. However, the present invention is not limited to this. The value obtained by normalizing the generated code amount by the value of the quantization parameter by some method is used. Should be fine.

【0053】また、フレーム内の各マクロブロックの量
子化ステップの基準値、もしくはフレーム内符号化開始
時の量子化ステップ初期値を、上述した複雑さ指標をピ
クチャ目標符号量で除算した値に基づいて決定する。こ
れにより、フレーム内の量子化ステップがフレーム内の
符号量フィードバック制御により大きく変動することを
防ぐことができる。
Further, the reference value of the quantization step of each macroblock in the frame or the initial value of the quantization step at the start of intra-frame coding is based on the value obtained by dividing the above-mentioned complexity index by the picture target code amount. To decide. As a result, it is possible to prevent the quantization step in the frame from greatly changing due to the code amount feedback control in the frame.

【0054】上述しなかったが、1次探索と2次探索と
の間は、1フレーム以上のフレーム遅延を設け、1次探
索のフレーム予測誤差値が求まってから、次のピクチャ
の目標符号量を見積もるようにする必要がある。このと
き、2枚先のPピクチャの予測誤差値が先行して求めら
れるだけフレーム遅延を設ければ、シーンチェンジが起
きても、シーンチェンジ後の全てのピクチャタイプの発
生符号量を前もって予測できるため符号化効率が向上す
る。
Although not described above, a frame delay of one or more frames is provided between the primary search and the secondary search, and after the frame prediction error value of the primary search is determined, the target code amount of the next picture is obtained. Needs to be estimated. At this time, if a frame delay is provided so that the prediction error value of the P picture two frames ahead is obtained in advance, even if a scene change occurs, the generated code amounts of all picture types after the scene change can be predicted in advance. Therefore, the coding efficiency is improved.

【0055】(2)第2の実施形態例 図9に、本発明の第2の実施形態例に従うMPEG−2
符号化を行う画像符号化装置の装置構成を図示する。
(2) Second Embodiment FIG. 9 shows MPEG-2 according to a second embodiment of the present invention.
1 illustrates a device configuration of an image encoding device that performs encoding.

【0056】この図に示すように、第2の実施形態例に
従う画像符号化装置では、第1の実施形態例の備えるI
ピクチャ複雑さ指標算出部20の代わりにIピクチャ複
雑さ指標算出部30を備え、第1の実施形態例の備える
P・Bピクチャ複雑さ指標算出部21の代わりにP・B
ピクチャ複雑さ指標算出部31を備える構成を採ってい
る。
As shown in this figure, in the image coding apparatus according to the second embodiment, the image encoding device according to the first embodiment is provided.
An I-picture complexity index calculating unit 30 is provided in place of the picture complexity index calculating unit 20, and P · B is used instead of the P / B picture complexity index calculating unit 21 provided in the first embodiment.
The configuration including the picture complexity index calculation unit 31 is adopted.

【0057】ここで、図2に示した本発明の画像符号化
装置を実現するために用意される各処理手段は、コンピ
ュータプログラムで実現可能であり、このコンピュータ
プログラムは、半導体メモリなどの記録媒体に記録して
提供することができる。
Here, each processing means provided for realizing the image encoding apparatus of the present invention shown in FIG. 2 can be realized by a computer program, and the computer program is a recording medium such as a semiconductor memory. Can be recorded and provided.

【0058】第2の実施形態例では、図10に示すよう
に、Iピクチャ複雑さ指標算出部30は、シーンチェン
ジ以外の符号化時には、入力画像の分散値xを使い、 フレーム複雑さ指標=aI ×x2 +bI ×x+cI ・・・・・式 但し、aI,I,I は動的設定値 という2次式(係数が動的に変わる)に従って、Iピク
チャの符号化終了時に、そのIピクチャの複雑さ指標を
推定する処理を行う。
In the second embodiment, as shown in FIG. 10, the I-picture complexity index calculating section 30 uses the variance value x of the input image at the time of encoding other than scene change, and calculates the frame complexity index = a I × x 2 + b I × x + c I ... where a I, b I, and c I are dynamic setting values, and the I picture is encoded according to a quadratic expression (coefficients change dynamically). At the end, a process of estimating the complexity index of the I picture is performed.

【0059】また、P・Bピクチャ複雑さ指標算出部3
1は、シーンチェンジ以外の符号化時には、動きベクト
ル探索結果により得られるPピクチャの予測誤差値xを
使い、 フレーム複雑さ指標=aP ×x2 +bP ×x+cP ・・・・・式 但し、aP,P,P は動的設定値 という2次式(係数が動的に変わる)に従って、Pピク
チャの符号化終了時に、そのPピクチャの複雑さ指標を
推定する処理を行う。
The P / B picture complexity index calculating section 3
1 uses a prediction error value x of a P picture obtained from a motion vector search result at the time of encoding other than a scene change, and calculates a frame complexity index = a P × x 2 + b P × x + c P. , A P, b P, and c P are subjected to a process of estimating the complexity index of the P-picture at the end of encoding of the P-picture according to a quadratic expression (dynamic coefficient dynamically changes) of a dynamic setting value.

【0060】また、P・Bピクチャ複雑さ指標算出部3
1は、シーンチェンジ以外の符号化時には、動きベクト
ル探索結果により得られるBピクチャの予測誤差値xを
使い、 フレーム複雑さ指標=aB ×x2 +bB ×x+cB ・・・・・式 但し、aB,B,B は動的設定値 という2次式(係数が動的に変わる)に従って、Bピク
チャの符号化終了時に、そのBピクチャの複雑さ指標を
推定する処理を行う。
The P / B picture complexity index calculating section 3
1 uses a prediction error value x of a B picture obtained from a motion vector search result at the time of encoding other than a scene change, and calculates a frame complexity index = a B × x 2 + b B × x + c B. , A B, b B, and c B perform a process of estimating the complexity index of the B-picture at the end of encoding of the B-picture according to a quadratic expression (coefficient dynamically changes) of a dynamic setting value.

【0061】そして、Iピクチャ複雑さ指標算出部30
は、シーンチェンジ時の符号化時には、入力画像の分散
値xを使い、 フレーム複雑さ指標=aI0×x2 +bI0×x+cI0・・・・・式 但し、aI0, I0, I0は初期設定値 という2次式(係数が初期設定値に固定される)に従っ
て、Iピクチャの符号化終了時に、そのIピクチャの複
雑さ指標を推定する処理を行う。
Then, the I picture complexity index calculating section 30
Uses the variance value x of the input image at the time of encoding at the time of a scene change, and uses the frame complexity index = a I0 × x 2 + b I0 × x + c I0 ... Where a I0, b I0, c I0 Performs a process of estimating the complexity index of the I-picture at the end of encoding of the I-picture in accordance with a quadratic expression (the coefficient is fixed to the initial value).

【0062】また、P・Bピクチャ複雑さ指標算出部3
1は、シーンチェンジ時の符号化時には、動きベクトル
探索結果により得られるPピクチャの予測誤差値xを使
い、 フレーム複雑さ指標=aP0×x2 +bP0×x+cP0・・・・・式 但し、aP0, P0, P0は初期設定値 という2次式(係数が初期設定値に固定される)に従っ
て、Pピクチャの符号化終了時に、そのPピクチャの複
雑さ指標を推定する処理を行う。
Further, the P / B picture complexity index calculating section 3
1 uses a prediction error value x of a P picture obtained from a motion vector search result at the time of encoding at a scene change, and a frame complexity index = a P0 × x 2 + b P0 × x + c P0. , A P0, b P0, and c P0 are processes for estimating the complexity index of the P-picture at the end of the encoding of the P-picture according to a quadratic expression (initial value is fixed). Do.

【0063】但し、シーンチェンジ後始めての符号化時
には、Iピクチャの複雑さ指標を推定する上述の式に
従って、Pピクチャの複雑さ指標を推定する処理を行
う。
However, at the time of encoding for the first time after the scene change, processing for estimating the complexity index of the P picture is performed in accordance with the above-described equation for estimating the complexity index of the I picture.

【0064】また、P・Bピクチャ複雑さ指標算出部3
1は、シーンチェンジ時の符号化時には、動きベクトル
探索結果により得られるBピクチャの予測誤差値xを使
い、 フレーム複雑さ指標=aB0×x2 +bB0×x+cB0・・・・・式 但し、aB0, B0, B0は初期設定値 という2次式(係数が初期設定値に固定される)に従っ
て、Bピクチャの符号化終了時に、そのBピクチャの複
雑さ指標を推定する処理を行う。
The P / B picture complexity index calculating section 3
1 uses a prediction error value x of a B picture obtained from a motion vector search result during encoding at the time of a scene change, and a frame complexity index = a B0 × x 2 + b B0 × x + c B0. , A B0, b B0, and c B0 are processes for estimating the complexity index of the B picture at the end of encoding of the B picture in accordance with a quadratic expression (initial value is fixed). Do.

【0065】したがって、第2の実施形態例では、図1
1及び図12の処理フローに示すように、符号化処理に
入ると、シーンチェンジが発生したのか否かを判断し
て、シーンチェンジが発生する場合には、蓄積した分散
値/予測誤差値/複雑さ指標測定値をクリアしてから、
上述の式を使ってIピクチャ及びPピクチャの複雑さ
指標を算出し、上述の式を使ってBピクチャの複雑さ
指標を算出する。
Therefore, in the second embodiment, FIG.
As shown in the processing flow of FIG. 1 and FIG. 12, when the encoding process starts, it is determined whether or not a scene change has occurred. If a scene change has occurred, the accumulated variance value / prediction error value / After clearing the complexity metric measurements,
The complexity index of the I picture and the P picture is calculated using the above equation, and the complexity index of the B picture is calculated using the above equation.

【0066】そして、シーンチェンジ発生後の規定フレ
ーム数が経過するまでの間(例えば、PピクチャとBピ
クチャとがそれぞれ2回出現するまでの間)は、上述の
式を使ってIピクチャの複雑さ指標を算出し、上述の
式を使ってPピクチャの複雑さ指標を算出し、上述の
式を使ってBピクチャの複雑さ指標を算出する。この
とき、複雑さ指標の測定値を読み込んで蓄積するととも
に、複雑さ指標の推定に用いた分散値及び予測誤差値を
蓄積していく。
Then, until the prescribed number of frames after the scene change occurs (for example, until a P picture and a B picture appear twice, respectively), the complexity of the I picture is calculated using the above equation. Then, a complexity index of the P picture is calculated using the above equation, and a complexity index of the B picture is calculated using the above equation. At this time, the measured value of the complexity index is read and accumulated, and the variance value and the prediction error value used for estimating the complexity index are accumulated.

【0067】そして、その規定フレーム数が経過する
と、蓄積してある分散値/予測誤差値/複雑さ指標測定
値を使い、線形回帰などの算出手法を用いて、動的に設
定する必要のある上述の式の係数「aI,I,I
と、上述の式の係数「aP,P,P 」と、上述の式
の「aB,B,B 」とを更新し、その更新した係数を使
って、上述の式を使ってIピクチャの複雑さ指標を算
出し、上述の式を使ってPピクチャの複雑さ指標を算
出し、上述の式を使ってBピクチャの複雑さ指標を算
出する。このとき、新たな複雑さ指標測定値/分散値/
予測誤差値が得られることに対応して、それに従って蓄
積している分散値/予測誤差値/複雑さ指標測定値を更
新するように処理するのである。
When the specified number of frames elapses, it is necessary to dynamically set the calculated variance / prediction error / complexity index measurement value using a calculation method such as linear regression. wherein the coefficient of above "a I, b I, c I"
And the coefficients “a P, b P, c P ” of the above equation and “a B, b B, c B ” of the above equation are updated, and the updated equation is used to update the above equation. Is used to calculate the complexity index of the I picture, the above equation is used to calculate the complexity index of the P picture, and the above equation is used to calculate the complexity index of the B picture. At this time, a new complexity index measurement value / variance value /
When the prediction error value is obtained, the accumulated variance / prediction error value / complexity index measurement value is updated accordingly.

【0068】(イ)Iピクチャ複雑さ指標算出部30に
よる複雑さ指標の算出処理 図13に、Iピクチャ複雑さ指標算出部30の実行する
処理フローの一実施形態例を図示する。
(A) Complexity Index Calculation Processing by I-picture Complexity Index Calculation Unit 30 FIG. 13 shows an embodiment of a processing flow executed by the I-picture complexity index calculation unit 30.

【0069】Iピクチャ複雑さ指標算出部30は、この
処理フローに示すように、前処理部10に入力される入
力画像の各フレームを処理対象として、マクロブロック
単位の量子化スケールの決定に用いるマクロブロックの
アクティビティ値を求め、そのフレーム内総和を入力画
像の分散値として用いて上述の式に代入することで、
Iピクチャの複雑さ指標を推定する処理を行う。
As shown in this processing flow, the I-picture complexity index calculation unit 30 uses each frame of the input image input to the pre-processing unit 10 as a processing target to determine the quantization scale in macroblock units. By calculating the activity value of the macroblock, and using the sum within the frame as the variance of the input image and substituting it into the above equation,
A process for estimating the complexity index of the I picture is performed.

【0070】ここで、マクロブロックのアクティビティ
とは、16画素×16画素のマクロブロック内の4つの
8画素×8画素ブロックの分散の最小値などで定義され
るものである。このとき用いる8画素×8画素ブロック
の分散値とは、8画素×8画素ブロック内の輝度値の平
均値とそのブロック内の各画素の輝度値との差分の絶対
値の総和をとったものである。
Here, the macroblock activity is defined as the minimum value of the variance of four 8 × 8 pixel blocks in a 16 × 16 macroblock. The variance value of the 8 pixel × 8 pixel block used at this time is the sum of the absolute value of the difference between the average value of the luminance value in the 8 pixel × 8 pixel block and the luminance value of each pixel in the block. It is.

【0071】なお、これまでにも、マクロブロックの量
子化スケールを、そのマクロブロックのアクティビティ
値をもとに上下させることが行われており、そのため
に、マクロブロックのアクティビティ値を求める機構が
別に用意されることがあるので、そのような場合には、
その機構により求められたマクロブロックのアクティビ
ティ値を受け取り、そのフレーム内総和を求めるように
処理することになる。
The quantization scale of a macroblock has been raised or lowered based on the activity value of the macroblock. Therefore, a mechanism for obtaining the activity value of the macroblock is separately provided. May be prepared, in such a case,
The activity value of the macroblock obtained by the mechanism is received, and processing is performed to obtain the sum within the frame.

【0072】(ロ)P・Bピクチャ複雑さ指標算出部3
1による複雑さ指標の算出処理 入力画像系列のうち、PピクチャまたはBピクチャとし
て符号化されるフレームについては、1次探索部11
で、符号化対象フレームの入力画像と参照フレームの入
力画像とを用いて、1画素精度の動き探索が行なわれ
る。ここで、符号化対象フレームと参照フレームの入力
画像の間で、フィールド単位での動き探索とフレーム単
位での動き探索とが行われる。
(B) P / B picture complexity index calculating section 3
1 for calculating a complexity index among frames of an input image sequence encoded as a P-picture or a B-picture.
Then, a motion search with one-pixel accuracy is performed using the input image of the encoding target frame and the input image of the reference frame. Here, a motion search on a field basis and a motion search on a frame basis are performed between the encoding target frame and the input image of the reference frame.

【0073】この1画素精度の探索は、Pピクチャに関
しては、符号化対象フレームの第1、第2のフィールド
を起点とし、1つの参照フレームの第1、第2のフィー
ルドを終点とする合計4つの種類のフィールド動きベク
トルに関する探索と、符号化対象フレームを起点とし、
1つの参照フレームを終点とする1つのフレーム動きベ
クトルに関する探索とがなされる。
In this one-pixel accuracy search, a total of four P-pictures, starting from the first and second fields of the encoding target frame and ending with the first and second fields of one reference frame, are obtained. Search for two types of field motion vectors and starting from the frame to be encoded,
A search for one frame motion vector ending at one reference frame is performed.

【0074】また、Bピクチャに関しては、符号化対象
フレームの第1、第2のフィールドを起点とし、2つの
参照フレームの第1、第2のフィールドを終点とする合
計8つの種類のフィールド動きベクトルに関する探索
と、符号化対象フレームを起点とし、2つの参照フレー
ムを終点とする2つのフレーム動きベクトルに関する探
索とがなされる。
For the B picture, a total of eight types of field motion vectors starting from the first and second fields of the encoding target frame and ending at the first and second fields of two reference frames. And a search for two frame motion vectors starting from the encoding target frame and ending at two reference frames.

【0075】図14(a)は、Bピクチャの場合に探索
されるフィールド動きベクトルを示したものであり、図
14(b)は、Bピクチャの場合に探索されるフレーム
動きベクトルを示したものである。Pピクチャの場合
は、フィールド動きベクトルの検索については、図14
(a)中に示す参照フレームAとv1、v2、v3、v
4のみが存在し、フレーム動きベクトルの検索について
は、図14(b)中に示す参照フレームAとv9のみが
存在する。
FIG. 14A shows a field motion vector searched for a B picture, and FIG. 14B shows a frame motion vector searched for a B picture. It is. In the case of a P picture, a search for a field motion vector is performed as shown in FIG.
Reference frame A shown in (a) and v1, v2, v3, v
In the search for the frame motion vector, only the reference frames A and v9 shown in FIG. 14B exist.

【0076】P・Bピクチャ複雑さ指標算出部31は、
これらの動きベクトルに対応した予測誤差から、最終的
な予測誤差を算出し、それを上述の式や式(あるい
は式や式)に代入することで、PピクチャやBピク
チャの複雑さ指標を推定する処理を行う。
The P / B picture complexity index calculator 31 calculates
A final prediction error is calculated from the prediction errors corresponding to these motion vectors, and the calculated prediction error is substituted into the above-described expression or expression (or expression or expression), thereby estimating the complexity index of the P picture or the B picture. Perform the following processing.

【0077】図15及び図16に、P・Bピクチャ複雑
さ指標算出部31が実行するPピクチャの複雑さ指標の
推定処理の処理フローの一実施形態例を図示し、図17
及び図18に、P・Bピクチャ複雑さ指標算出部31が
実行するBピクチャの複雑さ指標の推定処理の処理フロ
ーの一実施形態例を図示する。
FIGS. 15 and 16 show an embodiment of the processing flow of the P picture complexity index estimation processing executed by the P / B picture complexity index calculating section 31, and FIG.
FIG. 18 shows an example of the processing flow of the estimation process of the complexity index of the B picture executed by the P / B picture complexity index calculation unit 31.

【0078】P・Bピクチャ複雑さ指標算出部31は、
Pピクチャの複雑さ指標を推定するときには、図15及
び図16の処理フローに示すように、図14(a)中に
示すv1とv2の予測誤差の小さい方の値と、図14
(a)中に示すv3とv4の予測誤差の小さい方の値と
の和を求め、それと図14(b)中に示すv9の予測誤
差値のうちの小さい方の値をそのマクロブロックに対す
る予測誤差として、そのフレーム内総和をとり、それを
フレームの予測誤差値としてPピクチャの複雑さ指標を
推定する。
The P / B picture complexity index calculator 31 calculates
When estimating the complexity index of the P picture, as shown in the processing flows of FIGS. 15 and 16, the smaller one of the prediction errors of v1 and v2 shown in FIG.
The sum of v3 and the smaller value of the prediction error of v4 shown in (a) is calculated, and the smaller value of the prediction error value of v9 shown in FIG. The sum within the frame is taken as the error, and the complexity index of the P picture is estimated as the prediction error value of the frame.

【0079】一方、P・Bピクチャ複雑さ指標算出部3
1は、Bピクチャの複雑さ指標を推定するときには、図
17及び図18の処理フローに示すように、先ず最初
に、図14(a)中に示すv1とv2の予測誤差の小さ
い方の値と、図14(a)中に示すv3とv4の予測誤
差の小さい方の値との和を求め、次に、図14(a)中
に示すv5とv6の予測誤差の小さい方の値と、図14
(a)中に示すv7とv8の予測誤差の小さい方の値と
の和を求め、続いて、この2つの和の小さい方の値を求
め、それをそのマクロブロックに対するフィールド予測
誤差値とする。
On the other hand, the P / B picture complexity index calculating section 3
When estimating the complexity index of the B picture, first, as shown in the processing flow of FIGS. 17 and 18, first, the smaller value of the prediction error between v1 and v2 shown in FIG. And the sum of the smaller values of v3 and v4 of the prediction error shown in FIG. 14 (a) is calculated. Then, the smaller value of the prediction errors of v5 and v6 shown in FIG. , FIG.
(A) finds the sum of v7 and v8, which is the smaller value of the prediction error, and then calculates the smaller value of the two sums, which is used as the field prediction error value for the macroblock. .

【0080】さらに、図14(b)中に示すv9とv1
0の小さい方の値を求め、それをそのマクロブロックに
対するフレーム予測誤差値とし、そのフィールド予測誤
差値とフレーム予測誤差値の小さい方の値をそのマクロ
ブロックに対する予測誤差として、そのフレーム内総和
をとり、それをフレームの予測誤差値としてBピクチャ
の複雑さ指標を推定する。
Further, v9 and v1 shown in FIG.
0 is determined as the frame prediction error value for the macroblock, and the smaller of the field prediction error value and the frame prediction error value is determined as the prediction error for the macroblock. Then, the complexity index of the B picture is estimated using the result as a prediction error value of the frame.

【0081】このようにして、Iピクチャ複雑さ指標算
出部30は、前処理部10に入力される入力画像の持つ
マクロブロックのアクティビティ値のフレーム内総和を
求めて、それを2次式に代入することで、Iピクチャの
複雑さ指標を推定する処理を行うのである。
In this way, the I-picture complexity index calculating section 30 obtains the intra-frame sum of the activity values of the macroblocks of the input image input to the preprocessing section 10, and substitutes the sum into a quadratic equation. By doing so, a process of estimating the complexity index of the I picture is performed.

【0082】そして、P・Bピクチャ複雑さ指標算出部
31は、1次探索部11の動きベクトル探索結果により
得られる予測誤差値を求めて、それを2次式に代入する
ことで、Pピクチャの複雑さ指標とBピクチャの複雑さ
指標とを推定する処理を行うのである。
Then, the P / B picture complexity index calculating section 31 obtains a prediction error value obtained from the motion vector search result of the primary search section 11, and substitutes it into a quadratic expression, thereby obtaining a P picture And the complexity index of the B picture are estimated.

【0083】ここで、各ピクチャの複雑さ指標の推定に
用いる2次式の係数については、各ピクチャタイプごと
に、過去数フレームの分散値および予測誤差値と、実際
に符号化した後にフレーム発生符号量と平均量子化パラ
メータとの積で求めた複雑さ指標の値のデータとから、
線形回帰などの手法で求めた係数を使用する。ただし、
データから係数を算出する手法はこれに限られるもので
はない。
Here, regarding the coefficients of the quadratic expression used for estimating the complexity index of each picture, the variance value and the prediction error value of the past several frames and the frame generation after actually encoding are calculated for each picture type. From the data of the value of the complexity index obtained by the product of the code amount and the average quantization parameter,
Use the coefficients obtained by a method such as linear regression. However,
The method of calculating the coefficient from the data is not limited to this.

【0084】また、シーンチェンジが検出されたとき
は、蓄積された過去のフレームのデータをクリアして、
各ピクチャタイプのn次式の係数もあらかじめ決められ
た初期設定値にする。
When a scene change is detected, the accumulated past frame data is cleared.
The n-th order coefficient of each picture type is also set to a predetermined initial value.

【0085】ただし、シーンチェンジ後の始めてのPピ
クチャに関しては、イントラマクロブロックで符号化さ
れる割合が多いため、事実上のIピクチャとみなし、入
力画像の分散値から、Iピクチャの複雑さ指標の推定方
法と同じように複雑さ指標を推定する。
However, the first P-picture after the scene change is coded as an intra-macroblock at a high rate. The complexity index is estimated in the same way as the estimation method of.

【0086】図示実施形態例に従って本発明を説明した
が、本発明はこれに限定されるものではない。例えば、
実施形態例では、複雑さ指標を推定するのに2次式を用
いる構成を採ったが、2次式に限られるものではなく、
1次式であってもよいし、3次式以上のn次式であって
もよい。
Although the present invention has been described with reference to the illustrated embodiment, the present invention is not limited to this. For example,
In the embodiment, the configuration using the quadratic expression for estimating the complexity index is employed, but the present invention is not limited to the quadratic expression.
It may be a linear expression, or may be an n-th order expression of a third order or higher.

【0087】[0087]

【発明の効果】以上に示したように、本発明によれば、
これから符号化を行なおうとするフレームの複雑さ指標
を先行して推定することができるため、フレーム間符号
量配分や、フレーム内の量子化制御がより効率よく行な
うことができるようになり、符号化効率の向上を実現で
きるようになる。
As described above, according to the present invention,
Since the complexity index of the frame to be encoded can be estimated in advance, the inter-frame code amount distribution and the quantization control within the frame can be performed more efficiently. It is possible to improve the efficiency of gasification.

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

【図1】本発明の第1の実施形態例である。FIG. 1 shows a first embodiment of the present invention.

【図2】第1の実施形態例における複雑さ指標の推定処
理の説明図である。
FIG. 2 is an explanatory diagram of a complexity index estimation process in the first embodiment.

【図3】第1の実施形態例における複雑さ指標の推定処
理の全体処理フローである。
FIG. 3 is an overall processing flow of a complexity index estimating process in the first embodiment.

【図4】第1の実施形態例における複雑さ指標の推定処
理の処理フローである。
FIG. 4 is a processing flow of a complexity index estimation process in the first embodiment.

【図5】1次探索で探索される動きベクトルの説明図で
ある。
FIG. 5 is an explanatory diagram of a motion vector searched in a primary search.

【図6】第1の実施形態例における複雑さ指標の推定処
理の処理フローである。
FIG. 6 is a processing flow of a complexity index estimation process according to the first embodiment.

【図7】第1の実施形態例における複雑さ指標の推定処
理の処理フローである。
FIG. 7 is a processing flow of a complexity index estimation process in the first embodiment.

【図8】第1の実施形態例における複雑さ指標の推定処
理の処理フローである。
FIG. 8 is a processing flow of a complexity index estimation process in the first embodiment.

【図9】本発明の第2の実施形態例である。FIG. 9 shows a second embodiment of the present invention.

【図10】第2の実施形態例における複雑さ指標の推定
処理の説明図である。
FIG. 10 is an explanatory diagram of a process of estimating a complexity index in the second embodiment.

【図11】第2の実施形態例における複雑さ指標の推定
処理の全体処理フローである。
FIG. 11 is an overall processing flow of processing for estimating a complexity index in the second embodiment.

【図12】第2の実施形態例における複雑さ指標の推定
処理の全体処理フローである。
FIG. 12 is an overall processing flow of estimation processing of a complexity index in the second embodiment.

【図13】第2の実施形態例における複雑さ指標の推定
処理の処理フローである。
FIG. 13 is a processing flow of a complexity index estimation process in the second embodiment.

【図14】1次探索で探索される動きベクトルの説明図
である。
FIG. 14 is an explanatory diagram of a motion vector searched in the primary search.

【図15】第2の実施形態例における複雑さ指標の推定
処理の処理フローである。
FIG. 15 is a processing flow of a complexity index estimation process in the second embodiment.

【図16】第2の実施形態例における複雑さ指標の推定
処理の処理フローである。
FIG. 16 is a processing flow of a complexity index estimation process in the second embodiment.

【図17】第2の実施形態例における複雑さ指標の推定
処理の処理フローである。
FIG. 17 is a processing flow of a complexity index estimation process in the second embodiment.

【図18】第2の実施形態例における複雑さ指標の推定
処理の処理フローである。
FIG. 18 is a processing flow of a complexity index estimation process in the second embodiment.

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

10 前処理部 11 1次探索部 12 2次探索部 13 DCT部 14 量子化部 15 可変長符号化部 16 逆量子化部 17 逆DCT部 18 量子化パラメータ制御部 20 Iピクチャ複雑さ指標算出部 21 P・Bピクチャ複雑さ指標算出部 30 Iピクチャ複雑さ指標算出部 31 P・Bピクチャ複雑さ指標算出部 Reference Signs List 10 preprocessing unit 11 primary search unit 12 secondary search unit 13 DCT unit 14 quantization unit 15 variable length coding unit 16 inverse quantization unit 17 inverse DCT unit 18 quantization parameter control unit 20 I picture complexity index calculation unit 21 P · B picture complexity index calculation unit 30 I picture complexity index calculation unit 31 P · B picture complexity index calculation unit

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C059 KK22 KK30 MA05 MA23 MC11 ME01 NN01 NN43 PP05 PP06 PP07 SS20 TA46 TB04 TC10 TD06 UA02 UA33 UA34 UA38 5J064 AA02 BA01 BA09 BA16 BB03 BC01 BC16 BC25  ──────────────────────────────────────────────────続 き Continued on the front page F-term (reference)

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 入力画像の符号化対象フレームの分散値
と、入力画像の符号化対象フレームと参照フレームとの
間の動きベクトル探索結果の予測誤差値とを、後段の符
号化処理に対して1フレーム以上先行して求め、 フレーム内符号化を行なう場合のフレーム複雑さ指標を
かかる分散値から推定するとともに、フレーム間符号化
を行なう場合のフレーム複雑さ指標をかかる予測誤差値
から推定して、 それらの複雑さ指標の推定値を用いて符号化制御を行な
うことを、 特徴とする画像符号化方法。
1. A variance value of an encoding target frame of an input image and a prediction error value of a motion vector search result between the encoding target frame of the input image and a reference frame are converted to a subsequent encoding process. The frame complexity index when performing intra-frame encoding is estimated from such a variance, and the frame complexity index when performing inter-frame encoding is estimated from such a prediction error value. An image coding method characterized in that coding control is performed using the estimated value of the complexity index.
【請求項2】 入力画像の符号化対象フレームの分散値
と、入力画像の符号化対象フレームと参照フレームとの
間の動きベクトル探索結果の予測誤差値とを、後段の符
号化処理に対して1フレーム以上先行して求め、 フレーム内符号化を行なう場合のフレーム複雑さ指標を
かかる分散値のn次式(但し、nは1以上の整数)で近
似推定するとともに、フレーム間符号化を行なう場合の
フレーム複雑さ指標をかかる予測誤差値のn次式で近似
推定して、 それらの複雑さ指標の推定値を用いて符号化制御を行な
うことを、 特徴とする画像符号化方法。
2. A variance value of an encoding target frame of an input image and a prediction error value of a motion vector search result between the encoding target frame of the input image and a reference frame are converted to a subsequent encoding process. The frame complexity index in the case of performing the intra-frame encoding, which is obtained at least one frame earlier, is approximately estimated by the n-th order expression of the variance (where n is an integer of 1 or more), and the inter-frame encoding is performed. An image encoding method characterized in that the frame complexity index in the case is approximately estimated by the n-th order expression of the prediction error value, and encoding control is performed using the estimated value of the complexity index.
【請求項3】 請求項2に記載される画像符号化方法に
おいて、 上記n次式の係数として、あらかじめ設定された固定の
値を用いることを、 特徴とする画像符号化方法。
3. The image encoding method according to claim 2, wherein a fixed value set in advance is used as the coefficient of the n-th order expression.
【請求項4】 請求項2に記載される画像符号化方法に
おいて、 入力画像の分散値および予測誤差値と、符号化結果から
得られたフレーム複雑さ指標の値との関係をピクチャタ
イプ毎に過去複数フレーム分蓄積し、 それらの蓄積データから、各ピクチャタイプ毎に、上記
n次式の係数を算出することを、 特徴とする画像符号化方法。
4. The image encoding method according to claim 2, wherein a relationship between a variance value and a prediction error value of the input image and a value of a frame complexity index obtained from an encoding result is determined for each picture type. An image encoding method characterized by storing a plurality of frames in the past, and calculating a coefficient of the above-mentioned n-order expression for each picture type from the stored data.
【請求項5】 請求項4に記載される画像符号化方法に
おいて、 シーンチェンジが検出される場合に、上記蓄積データを
クリアするとともに、上記n次式の係数を初期値に戻す
ことを、 特徴とする画像符号化方法。
5. The image encoding method according to claim 4, wherein, when a scene change is detected, the stored data is cleared, and the coefficient of the n-th order expression is returned to an initial value. Image encoding method.
【請求項6】 請求項1ないし5のいずれか1項に記載
される画像符号化方法において、 シーンチェンジが検出される場合に、シーンチェンジ後
始めて符号化するIピクチャに関しては、入力画像の分
散値からフレーム複雑さ指標を推定し、シーンチェンジ
後始めて符号化するPピクチャに関しては、入力画像の
分散値からIピクチャと同じ手順に従ってフレーム複雑
さ指標を推定し、シーンチェンジ後始めて符号化するB
ピクチャに関しては、動きベクトル探索結果の予測誤差
値からフレーム複雑さ指標を推定することを、 特徴とする画像符号化方法。
6. The image encoding method according to claim 1, wherein, when a scene change is detected, an I picture to be encoded for the first time after the scene change is distributed. For a P picture to estimate a frame complexity index from a value and to encode for the first time after a scene change, a frame complexity index is estimated from the variance value of an input image according to the same procedure as for an I picture, and a B to be encoded for the first time after a scene change.
For a picture, an image coding method characterized by estimating a frame complexity index from a prediction error value of a motion vector search result.
【請求項7】 請求項1ないし6のいずれか1項に記載
される画像符号化方法において、 入力画像の分散値として、隣接画素差分の絶対値のフレ
ーム内総和を用いることを、 特徴とする画像符号化方法。
7. The image coding method according to claim 1, wherein a sum of absolute values of adjacent pixel differences in a frame is used as a variance of the input image. Image coding method.
【請求項8】 請求項1ないし6のいずれか1項に記載
される画像符号化方法において、 入力画像の分散値として、各マクロブロックのアクティ
ビティ値のフレーム内総和を用いることを、 特徴とする画像符号化方法。
8. The image encoding method according to claim 1, wherein a sum of activity values of each macroblock in a frame is used as a variance value of an input image. Image coding method.
【請求項9】 入力画像の符号化対象フレームの分散値
と、入力画像の符号化対象フレームと参照フレームとの
間の動きベクトル探索結果の予測誤差値とを、後段の符
号化処理に対して1フレーム以上先行して求める手段
と、 フレーム内符号化を行なう場合のフレーム複雑さ指標を
かかる分散値から推定するとともに、フレーム間符号化
を行なう場合のフレーム複雑さ指標をかかる予測誤差値
から推定する手段と、 それらの複雑さ指標の推定値を用いて符号化制御を行な
う手段とを備えることを、 特徴とする画像符号化装置。
9. A variance value of an encoding target frame of an input image, and a prediction error value of a motion vector search result between the encoding target frame of the input image and a reference frame, for a subsequent encoding process. Means for obtaining one frame or more in advance; and estimating a frame complexity index for performing intra-frame encoding from the variance value, and estimating a frame complexity index for performing inter-frame encoding from the prediction error value. And a means for performing coding control using the estimated value of the complexity index.
【請求項10】 入力画像の符号化対象フレームの分散
値と、入力画像の符号化対象フレームと参照フレームと
の間の動きベクトル探索結果の予測誤差値とを、後段の
符号化処理に対して1フレーム以上先行して求める手段
と、 フレーム内符号化を行なう場合のフレーム複雑さ指標を
かかる分散値のn次式(但し、nは1以上の整数)で近
似推定するとともに、フレーム間符号化を行なう場合の
フレーム複雑さ指標をかかる予測誤差値のn次式で近似
推定する手段と、 それらの複雑さ指標の推定値を用いて符号化制御を行な
う手段とを備えることを、 特徴とする画像符号化装置。
10. A variance value of an encoding target frame of an input image and a prediction error value of a motion vector search result between the encoding target frame of the input image and a reference frame are calculated for a subsequent encoding process. Means for obtaining one or more frames ahead of time; approximation of a frame complexity index for performing intra-frame encoding by an n-th order expression of the variance (where n is an integer of 1 or more); Means for approximately estimating the frame complexity index by performing the n-th order expression of the prediction error value when performing, and means for performing coding control using the estimated value of the complexity index. Image coding device.
【請求項11】 請求項1ないし8のいずれか1項に記
載される画像符号化方法の実現に用いられる処理をコン
ピュータに実行させるための画像符号化処理用プログラ
ム。
11. An image encoding processing program for causing a computer to execute processing used to implement the image encoding method according to claim 1. Description:
【請求項12】 請求項1ないし8のいずれか1項に記
載される画像符号化方法の実現に用いられる処理をコン
ピュータに実行させるためのプログラムを記録した画像
符号化処理用プログラムの記録媒体。
12. A recording medium for an image encoding processing program which stores a program for causing a computer to execute processing used for implementing the image encoding method according to claim 1. Description:
JP2001037874A 2001-02-15 2001-02-15 Method and device for encoding image, program for image encoding processing, and recording medium for the program Pending JP2002247584A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001037874A JP2002247584A (en) 2001-02-15 2001-02-15 Method and device for encoding image, program for image encoding processing, and recording medium for the program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001037874A JP2002247584A (en) 2001-02-15 2001-02-15 Method and device for encoding image, program for image encoding processing, and recording medium for the program

Publications (1)

Publication Number Publication Date
JP2002247584A true JP2002247584A (en) 2002-08-30

Family

ID=18900944

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001037874A Pending JP2002247584A (en) 2001-02-15 2001-02-15 Method and device for encoding image, program for image encoding processing, and recording medium for the program

Country Status (1)

Country Link
JP (1) JP2002247584A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007074634A (en) * 2005-09-09 2007-03-22 Matsushita Electric Ind Co Ltd Moving image compressing apparatus
JP2008005337A (en) * 2006-06-23 2008-01-10 Canon Inc Image encoding device and image encoding method
JP2008153946A (en) * 2006-12-18 2008-07-03 Ntt Electornics Corp Image encoding device
JP2010166275A (en) * 2009-01-15 2010-07-29 Canon Inc Image encoding device
WO2011021345A1 (en) * 2009-08-21 2011-02-24 パナソニック株式会社 Image processing device and camera system
JP2011091772A (en) * 2009-10-26 2011-05-06 Canon Inc Image encoder
JP2013128189A (en) * 2011-12-19 2013-06-27 Canon Inc Image encoder
US10264260B2 (en) 2013-06-13 2019-04-16 Nec Corporation Moving picture encoding in which base quantization is based on corrected macroblock complexity

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007074634A (en) * 2005-09-09 2007-03-22 Matsushita Electric Ind Co Ltd Moving image compressing apparatus
JP4648805B2 (en) * 2005-09-09 2011-03-09 パナソニック株式会社 Video compression device
JP2008005337A (en) * 2006-06-23 2008-01-10 Canon Inc Image encoding device and image encoding method
JP2008153946A (en) * 2006-12-18 2008-07-03 Ntt Electornics Corp Image encoding device
JP2010166275A (en) * 2009-01-15 2010-07-29 Canon Inc Image encoding device
WO2011021345A1 (en) * 2009-08-21 2011-02-24 パナソニック株式会社 Image processing device and camera system
JP2011091772A (en) * 2009-10-26 2011-05-06 Canon Inc Image encoder
JP2013128189A (en) * 2011-12-19 2013-06-27 Canon Inc Image encoder
US10264260B2 (en) 2013-06-13 2019-04-16 Nec Corporation Moving picture encoding in which base quantization is based on corrected macroblock complexity

Similar Documents

Publication Publication Date Title
JP4898467B2 (en) Coding mode determination method and apparatus for variable block size motion prediction
US8121194B2 (en) Fast macroblock encoding with the early qualification of skip prediction mode using its temporal coherence
US9516320B2 (en) Method of generating image data
WO2006019093A1 (en) Image encoding method, image decoding method, image encoding device, image decoding device, image encoding program, and image decoding program
JPH10304374A (en) Moving image encoding device
RU2519525C2 (en) Motion vector predictive encoding method, motion vector predictive decoding method, moving picture encoding apparatus, moving picture decoding apparatus, and programmes thereof
JP2006313950A (en) Image coding apparatus, and image coding method
JP2007243337A (en) Moving image encoding method, moving image encoding device, program, and medium
JP4257655B2 (en) Video encoding device
JP2002247584A (en) Method and device for encoding image, program for image encoding processing, and recording medium for the program
JP3670566B2 (en) Processing time adaptive image encoding method and program recording medium
JP2001036908A (en) Dynamic image compressing device
JP2011091772A (en) Image encoder
US8184706B2 (en) Moving picture coding apparatus and method with decimation of pictures
US20020168008A1 (en) Method and apparatus for coding moving pictures
JP2000261809A (en) Image coder coping with feature of picture
KR100379383B1 (en) Method for intra frame encoding
JP2005348008A (en) Moving picture coding method, moving picture coder, moving picture coding program and computer-readable recording medium with record of the program
JP3888533B2 (en) Image coding apparatus according to image characteristics
US8126277B2 (en) Image processing method, image processing apparatus and image pickup apparatus using the same
KR100367619B1 (en) Mode decision method for b picture in h.26l
KR100336497B1 (en) Rate Control Apparatus and Method Using Spatial Prediction Error Model for Moving Picture Coding
JP5171658B2 (en) Image encoding device
JP4648805B2 (en) Video compression device
JP2008072608A (en) Apparatus and method for encoding image