[go: up one dir, main page]

JP2000102003A - Moving picture coding apparatus and moving picture coding method - Google Patents

Moving picture coding apparatus and moving picture coding method

Info

Publication number
JP2000102003A
JP2000102003A JP27079498A JP27079498A JP2000102003A JP 2000102003 A JP2000102003 A JP 2000102003A JP 27079498 A JP27079498 A JP 27079498A JP 27079498 A JP27079498 A JP 27079498A JP 2000102003 A JP2000102003 A JP 2000102003A
Authority
JP
Japan
Prior art keywords
picture
code amount
coding
target code
unit
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
JP27079498A
Other languages
Japanese (ja)
Other versions
JP3393595B2 (en
Inventor
Takeshi Nakamura
健 中村
Mitsuro Ikeda
充郎 池田
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 JP27079498A priority Critical patent/JP3393595B2/en
Priority to KR1019990039852A priority patent/KR100324471B1/en
Priority to GB9922507A priority patent/GB2344954B/en
Publication of JP2000102003A publication Critical patent/JP2000102003A/en
Application granted granted Critical
Publication of JP3393595B2 publication Critical patent/JP3393595B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/189Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding
    • H04N19/192Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding the adaptation method, adaptation tool or adaptation type being iterative or recursive
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/115Selection of the code volume for a coding unit prior to coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • H04N19/14Coding unit complexity, e.g. amount of activity or edge presence estimation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • H04N19/149Data rate or code amount at the encoder output by estimating the code amount by means of a model, e.g. mathematical model or statistical model
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • H04N19/152Data rate or code amount at the encoder output by measuring the fullness of the transmission buffer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Algebra (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

(57)【要約】 【課題】 画像パターンの複雑さがピクチャ内の各マク
ロブロックによって大きく異なるような場合にも,高性
能で高画質な符号化を実現する。 【解決手段】 複数の領域からなるピクチャに対して符
号化を行う場合に,目標符号量決定部12は,ピクチャの
領域毎の符号化処理情報を利用して,ピクチャの各領域
毎の目標符号量を決定する。各領域に対応して設けられ
た各単位符号化部11は,目標符号量決定部12が決定した
目標符号量に従って,ピクチャの各領域の符号化処理を
行う。
(57) [Summary] [Problem] To realize high-performance and high-quality coding even when the complexity of an image pattern greatly differs depending on each macroblock in a picture. When encoding is performed on a picture composed of a plurality of regions, a target code amount determination unit uses a coding process information for each region of the picture to encode a target code for each region of the picture. Determine the amount. Each unit encoding unit 11 provided corresponding to each region performs encoding processing of each region of the picture according to the target code amount determined by the target code amount determination unit 12.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は,動画像符号化装置
および動画像符号化方法であって,特に符号化対象とな
る画像の各部分毎の目標符号量を決定することによっ
て,高性能の符号化を実現する動画像の符号化技術に関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving picture coding apparatus and a moving picture coding method, and more particularly to a high-performance moving picture coding apparatus which determines a target code amount for each part of a picture to be coded. The present invention relates to a moving image encoding technique for realizing encoding.

【0002】[0002]

【従来の技術】従来のMPEG2のテストモデル5など
に示されている符号量制御法においては,以下のような
手順で符号量制御を行っていた。以下で述べるピクチャ
とは,フレームまたはフィールドなどに相当する処理単
位である。マクロブロックとは,16×16の画素から
なり,符号量制御の最小単位となる処理単位である。
2. Description of the Related Art In a conventional code amount control method shown in a test model 5 of MPEG2, the code amount is controlled in the following procedure. A picture described below is a processing unit corresponding to a frame or a field. A macro block is a processing unit that is composed of 16 × 16 pixels and is the minimum unit of code amount control.

【0003】(1)以前に処理した例えばIピクチャ,
Pピクチャ,Bピクチャというような各ピクチャタイプ
のピクチャの複雑さ指標と,利用可能なGOP(Group
Of Picture)内の残りの符号量から,当該ピクチャの目
標符号量を決定する。ここでの複雑さ指標とは,そのピ
クチャ発生符号量と平均量子化パラメータの積である。
(1) For example, an I picture processed before,
The picture complexity index of each picture type such as P picture and B picture, and available GOP (Group
The target code amount of the picture is determined from the remaining code amount in the picture. Here, the complexity index is the product of the picture generation code amount and the average quantization parameter.

【0004】(2)ピクチャ内で左上から右下に向かっ
てラスタ順に各マクロブロックの符号化が進められる。
その際に,そのピクチャの最初のマクロブロックから当
該マクロブロックまでの発生符号量と目標符号量との差
に応じた値によって,当該マクロブロックのDCT係数
の量子化パラメータ(もしくは量子化ステップ)が決定
される。その差が大きければ量子化ステップが大きい値
に決定され,発生符号量が小さくなり,逆に小さければ
量子化ステップが小さく決定され,発生符号量が大きく
なり,結果として当該マクロブロックの発生符号量が制
御される。ここでの最初のマクロブロックから当該マク
ロブロックまでの目標値とは,ピクチャの目標発生符号
量をピクチャの全マクロブロック数で割り,ピクチャの
最初のマクロブロックから当該マクロブロックまでの数
を掛けたものである。
(2) Encoding of each macroblock proceeds in raster order from upper left to lower right in a picture.
At this time, the quantization parameter (or quantization step) of the DCT coefficient of the macro block is determined by a value corresponding to the difference between the generated code amount from the first macro block of the picture to the macro block and the target code amount. It is determined. If the difference is large, the quantization step is determined to be a large value, and the generated code amount becomes small. Conversely, if the difference is small, the quantization step is determined to be small, and the generated code amount becomes large, and as a result, the generated code amount of the macroblock concerned Is controlled. Here, the target value from the first macroblock to the macroblock is obtained by dividing the target generated code amount of the picture by the total number of macroblocks of the picture and multiplying by the number from the first macroblock of the picture to the macroblock. Things.

【0005】[0005]

【発明が解決しようとする課題】従来の技術において
は,ピクチャ内の各マクロブロックの量子化パラメータ
は,ピクチャの最初に処理されるマクロブロックからそ
のマクロブロックの処理までに発生した符号量とそのピ
クチャの目標符号量から算出される目標値との差の大き
さに基づいて決定されていた。その目標値とは,ピクチ
ャの目標発生符号量をピクチャの全マクロブロック数で
割り,ピクチャの一番最初のマクロブロックから処理中
マクロブロックまでの数を掛けたものであった。そのた
め,DCT(離散コサイン変換)の対象となるパターン
の性質がピクチャ内で大きく偏在するとき,その偏りに
応じた量子化パラメータの決定をすることが困難な場合
があった。したがって,発生符号量が必要以上に多いと
ころと少ないところが生じ,発生符号量の少ない部分で
は,他の部分に比べ画質の劣化が大きくなる傾向があっ
た。
In the prior art, the quantization parameter of each macroblock in a picture is determined by the amount of code generated from the first macroblock processed in the picture to the processing of the macroblock and the amount of code generated. This is determined based on the magnitude of the difference from the target value calculated from the target code amount of the picture. The target value is a value obtained by dividing the target generated code amount of the picture by the total number of macroblocks of the picture and multiplying the number from the first macroblock of the picture to the macroblock being processed. Therefore, when the property of a pattern to be subjected to DCT (discrete cosine transform) is largely uneven in a picture, it may be difficult to determine a quantization parameter according to the unevenness. Therefore, there are places where the generated code amount is larger than necessary and places where the generated code amount is smaller, and there is a tendency that the image quality is deteriorated more in parts where the generated code amount is small than in other parts.

【0006】また,従来の技術では,ピクチャ内のマク
ロブロックをラスタ順に符号化処理することを前提とし
ていたため,ピクチャの複数の部分を並列に符号化処理
する場合には上記のような符号化制御方法が適用できな
かった。
Further, in the conventional technique, it is assumed that macroblocks in a picture are coded in raster order. Therefore, when a plurality of parts of a picture are coded in parallel, the above coding is performed. The control method could not be applied.

【0007】本発明は以上の点に鑑み,第1に,従来の
技術においては,DCTの対象となる画像パターンの複
雑さがピクチャ内の各マクロブロックによって大きく異
なるとき,その偏りに応じた量子化パラメータの決定を
することが困難であるため,発生符号量が必要以上に多
いところと少ないところが生じ,発生符号量の少ない部
分では,他の部分に比べ画質の劣化が大きくなる傾向が
あるという問題点を解決することを目的とする。
In view of the above, the present invention firstly discloses that, in the prior art, when the complexity of an image pattern to be subjected to DCT greatly differs depending on each macroblock in a picture, a quantum corresponding to the bias is used. Because it is difficult to determine the optimization parameter, there are places where the generated code amount is larger than necessary and where it is smaller, and there is a tendency that the image quality deteriorates more in the portion where the generated code amount is smaller than in other portions. The purpose is to solve the problem.

【0008】また,本発明は,従来,ピクチャ内のマク
ロブロックをラスタ順に符号化処理することを前提とし
ていたため,ピクチャの複数の部分を並列に符号化処理
する場合には,ピクチャの最初に処理されるマクロブロ
ックからそのマクロブロックの処理までに発生した符号
量とそのピクチャの目標符号量から算出される目標値と
の差の大きさに基づいて決定される量子化パラメータに
よる符号化制御方法が適用できないという問題点を解決
することを目的とする。
Further, since the present invention is premised on encoding macroblocks in a picture in raster order in the past, when encoding a plurality of portions of a picture in parallel, it is necessary to first encode the macroblock in the picture. Coding control method using a quantization parameter determined based on a difference between a code amount generated from a macro block to be processed to processing of the macro block and a target value calculated from a target code amount of the picture The purpose is to solve the problem that is not applicable.

【0009】[0009]

【課題を解決するための手段】本発明においては,ピク
チャの各部分の符号化情報をピクチャ符号化処理終了毎
に集計し,その情報を基に各部分の適切な目標符号量を
算出する。適切な目標符号量を決定するために,具体的
には,各部分の発生符号量や平均量子化パラメータの情
報などを集計し,その積から各部分の複雑さを示す指標
を求め,その比率に基づき目標符号量を計算する。各単
位符号化部は,その目標符号量に基づいて各部分を同時
に符号化する。
In the present invention, the coding information of each part of a picture is tabulated every time the picture coding processing is completed, and an appropriate target code amount of each part is calculated based on the information. In order to determine an appropriate target code amount, specifically, the generated code amount of each part and information on the average quantization parameter are totaled, an index indicating the complexity of each part is obtained from the product, and the ratio is calculated. The target code amount is calculated based on Each unit encoder encodes each part simultaneously based on the target code amount.

【0010】また,このような手段を使う場合として,
複数の単位符号化部がピクチャの各部分を並列に符号化
する場合,単一の符号化装置内で符号化制御処理のみ各
部分ごとに行う場合,複数の単位符号化部が統一的な制
御のもとで複数の画像シーケンスを符号化する場合など
が挙げられる。
[0010] Further, when using such means,
If multiple unit encoders encode each part of a picture in parallel, or if only a single encoding device performs encoding control processing for each part, multiple unit encoders will have unified control In which a plurality of image sequences are encoded.

【0011】以上の手段によって,本発明は,さまざま
な構成を持つ符号化システムにおいて,より高画質な符
号化を可能とする符号化制御を実現することが可能とな
るという作用効果がある。
By the means described above, the present invention has an operational effect that it is possible to realize encoding control that enables encoding with higher image quality in encoding systems having various configurations.

【0012】すなわち,本発明によれば,各々のピクチ
ャ処理毎に符号化対象の各部分の過去の特性を反映した
符号量が各部分に目標値として割り当てられるため,画
像全体の符号量の配分が従来技術に比べてより適切にな
り,良い画質が得られるようになる。具体的には,ピク
チャ符号化開始時毎に,ピクチャ内に設定した複数の領
域毎の適切な目標符号量を過去のピクチャの領域毎の情
報から決定し,それに基づいて領域毎に符号量制御を行
うことで,より高画質な符号化を実現することが可能と
なる。ここで各領域の目標符号量を設定する部分が新た
に必要となるが,各領域内の符号量制御方法は新しく変
更する必要がなく,実装が比較的容易である。
That is, according to the present invention, the code amount reflecting the past characteristics of each part to be coded is assigned to each part as a target value for each picture processing. Is more appropriate than the prior art, and good image quality can be obtained. Specifically, each time the picture coding is started, an appropriate target code amount for each of a plurality of regions set in the picture is determined from information for each region of the past picture, and the code amount control is performed for each region based on the information. , It is possible to realize higher quality encoding. Here, a part for setting the target code amount of each area is newly required, but the code amount control method in each area does not need to be newly changed, and implementation is relatively easy.

【0013】また,各符号化部に目標符号量をピクチャ
の符号化処理開始時に与えた後は,各符号化処理部が独
立して処理を行うことができるので,ピクチャの各部分
を複数の単位符号化部が並列に符号化する符号化装置・
方法にも適用可能となる。これによって,複数の符号化
主体を持つ符号化システムの適切な符号量制御が可能と
なる。
After the target code amount is given to each of the coding units at the time of starting the coding process of the picture, each of the coding processing units can perform the processing independently. An encoding device in which the unit encoding unit encodes in parallel
The method can also be applied. This makes it possible to appropriately control the code amount of an encoding system having a plurality of encoding subjects.

【0014】具体的には,処理量の多さなどの実装上の
問題からピクチャを分割して複数の符号化部で符号化を
する必要がある場合に,以上のような符号化制御方法を
とることで,単一の符号化部ですべて符号化する場合と
同等もしくはそれ以上の画質を実現することが可能とな
る。また,それ以外にも,以上のような方法を用いるこ
とで,複数の画像シーケンスに対して統一的なレート制
御をすることが可能となる。
Specifically, when it is necessary to divide a picture and perform encoding by a plurality of encoding units due to mounting problems such as a large amount of processing, the above-described encoding control method is used. This makes it possible to realize an image quality equal to or higher than the case where all are encoded by a single encoding unit. In addition, by using the above method, it is possible to perform unified rate control for a plurality of image sequences.

【0015】[0015]

【発明の実施の形態】〔第1の実施の形態〕図1は,第
1の実施の形態に係る動画像符号化装置の構成例を示し
ている。この動画像符号化装置は,入力画像分割部1
0,複数の単位符号化部11,目標符号量決定部12,
ストリーム再構成部13から構成される。また,ここで
は符号化方法として,ブロック単位の符号量制御が可能
な符号化方法,具体的にはMPEG1,MPEG2また
はH.26xなどの国際標準符号化方法に対応したもの
を用いる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS [First Embodiment] FIG. 1 shows an example of the configuration of a moving picture coding apparatus according to a first embodiment. This moving picture coding apparatus includes an input picture dividing unit 1
0, a plurality of unit encoders 11, a target code amount determiner 12,
It comprises a stream reconstruction unit 13. Here, as the encoding method, an encoding method capable of controlling the code amount in block units, specifically, MPEG1, MPEG2 or H.264. A code corresponding to an international standard encoding method such as 26x is used.

【0016】以下に,図2(A)のフローチャートに従
って,図1に示す動画像符号化装置の全体の動作を説明
する。
Hereinafter, the overall operation of the moving picture coding apparatus shown in FIG. 1 will be described with reference to the flowchart of FIG.

【0017】まず,入力画像分割部10において,入力
画像シーケンス14の各ピクチャは,複数の分割画像1
5に空間的に分割される(S10)。この場合に,各ピ
クチャはマクロブロックをまたがないように分割される
ものとする。分割のしかたは,マクロブロックをまたが
なければ任意でよい。各分割画像15は,それぞれに対
応する各単位符号化部11に分配され,各単位符号化部
11において符号化される(S11)。
First, in the input image dividing unit 10, each picture of the input image sequence 14 is divided into a plurality of divided images 1
5 (S10). In this case, it is assumed that each picture is divided so as not to span a macroblock. The division method may be arbitrary as long as it does not cross macroblocks. Each divided image 15 is distributed to each corresponding unit encoding unit 11, and is encoded in each unit encoding unit 11 (S11).

【0018】以下のステップS12〜S13は,各単位
符号化部11において並列に実行される。各単位符号化
部11は,目標符号量決定部12から,これから処理す
る各分割画像シーケンスのピクチャの目標符号量16が
与えられたのち,各ピクチャの符号化を行う。すなわ
ち,各単位符号化部11は,担当するピクチャの発生符
号量が目標符号量16に一致するように符号量の制御を
しながら,そのピクチャの各マクロブロックを符号化す
る(S12)。より具体的には,MPEG2テストモデ
ル5のマクロブロック毎の符号化制御方法により各マク
ロブロックを符号化する。
The following steps S12 to S13 are executed in parallel in each unit encoding unit 11. Each unit encoding unit 11 encodes each picture after the target code amount 16 of the picture of each divided image sequence to be processed is given from the target code amount determination unit 12. That is, each unit encoding unit 11 encodes each macro block of the picture while controlling the code amount so that the generated code amount of the assigned picture matches the target code amount 16 (S12). More specifically, each macroblock is encoded by the encoding control method for each macroblock of the MPEG2 test model 5.

【0019】各単位符号化部11は,ピクチャ符号化終
了時に動き補償予測誤差の分散値(動き補償をしない符
号化処理モードの場合は入力画像の分散値)などの情報
を目標符号量決定部12に伝達する(S13)。各単位
符号化部11から出力された各ストリーム18は,スト
リーム再構成部13において一つのストリーム19に再
構成される(S14)。
Each of the unit encoding units 11 sends information such as a variance value of a motion compensation prediction error (a variance value of an input image in the case of an encoding mode in which no motion compensation is performed) at the end of picture encoding. 12 (S13). Each stream 18 output from each unit encoding unit 11 is reconstructed into one stream 19 by the stream reconstructing unit 13 (S14).

【0020】目標符号量決定部12においては,以下の
ような動作をする。図2(B)に示すフローチャートに
従って説明する。
The target code amount determining section 12 operates as follows. This will be described with reference to the flowchart shown in FIG.

【0021】各単位符号化部11が出力する予測誤差分
散値の総和からピクチャ全体の予測誤差分散値を求める
(S15)。次に,過去のピクチャのピクチャ全体の予
測誤差分散値と処理中のGOP(Group Of Picture)の
残りの符号量から,これから処理するピクチャのピクチ
ャ全体の目標符号量を算出する(S16)。予測誤差の
分散値の総和に対するある単位符号化部11の予測誤差
の分散値の比率と前述のピクチャ全体の目標符号量の積
を,その単位符号化部11の目標符号量16とする(S
17)。このようにして,それぞれの単位符号化部11
のピクチャの目標符号量を決定し,次にそれぞれの単位
符号化部11が処理するピクチャの目標符号量16とし
て,各単位符号化部11に伝達する(S18)。
The prediction error variance of the entire picture is obtained from the sum of the prediction error variances output from each unit encoder 11 (S15). Next, from the prediction error variance value of the entire picture of the past picture and the remaining code amount of the GOP (Group Of Picture) being processed, the target code amount of the entire picture of the picture to be processed is calculated (S16). The product of the ratio of the variance value of the prediction error of a certain unit encoding unit 11 to the sum of the variance values of the prediction error and the above-mentioned target code amount of the entire picture is defined as the target code amount 16 of the unit encoding unit 11 (S
17). Thus, each unit encoding unit 11
Is determined, and then transmitted to each unit encoding unit 11 as a target code amount 16 of the picture to be processed by each unit encoding unit 11 (S18).

【0022】以上においては,ピクチャの予測誤差分散
値を過去のピクチャから求めているが,処理中のピクチ
ャの動き補償が終了した時点で予測誤差分散値を求め,
その情報をその時点で集計し,その情報をもとに各単位
符号化部11においてDCT係数の量子化,すなわち符
号量制御をすることも可能である。
In the above description, the prediction error variance of a picture is obtained from a past picture. When the motion compensation of the picture being processed is completed, the prediction error variance is obtained.
It is also possible to total the information at that time and to quantize the DCT coefficients in each unit encoding unit 11 based on the information, that is, control the code amount.

【0023】この実施の形態のように,予測誤差分散値
の分布を利用することにより,より符号量が必要な領域
にはより多くの目標符号量を設定することが可能とな
り,適切な符号量配分を行うことができる。また,この
方法は,複数の符号化部がピクチャの各領域を並列に符
号化をする構造を持つシステムにおいても,各符号化部
間のピクチャ単位での符号量配分が可能であり,このよ
うな複数の符号化部を持つ符号化システムにおいて,従
来より高い画質の符号化を可能とする。また,その複雑
さ指標の比率に比例して各符号化部の目標符号量を決定
しているが,複雑さ指標の平方根の比率に比例して各符
号化部の目標符号量を決定したり,各符号化部に配分さ
れる符号量がある値以上もしくはある値以下にならない
ように制限を設けることが考えられる。
By using the distribution of the prediction error variance value as in this embodiment, it is possible to set a larger target code amount in an area requiring a larger code amount, and to set an appropriate code amount. An allocation can be made. In addition, this method can distribute the code amount in picture units among the encoding units even in a system having a structure in which a plurality of encoding units encode each region of a picture in parallel. In an encoding system having a plurality of encoding units, encoding with higher image quality than before can be performed. In addition, the target code amount of each encoding unit is determined in proportion to the ratio of the complexity index, but the target code amount of each encoding unit is determined in proportion to the ratio of the square root of the complexity index. It is conceivable to set a limit so that the amount of code distributed to each encoding unit does not become a certain value or more.

【0024】〔第2の実施の形態〕図3は,第2の実施
の形態に係る動画像符号化装置の構成例であって,複数
の画像シーケンスを多重化して伝送する際の動画像符号
化システムを表している。この動画像符号化装置は,複
数の入力画像シーケンス23に対応する複数の単位符号
化部20,目標符号量決定部21,多重化部(MUX
部)22から構成される。
[Second Embodiment] FIG. 3 shows an example of the configuration of a moving picture coding apparatus according to a second embodiment, in which a plurality of picture sequences are multiplexed and transmitted. It represents a chemical system. This moving picture coding apparatus includes a plurality of unit coding units 20, a target code amount determination unit 21, and a multiplexing unit (MUX) corresponding to a plurality of input image sequences 23.
Unit) 22.

【0025】以下に,図4(A)のフローチャートに従
って,図2に示す動画像符号化装置の全体の動作を説明
する。
Hereinafter, the overall operation of the moving picture coding apparatus shown in FIG. 2 will be described with reference to the flowchart of FIG.

【0026】各画像シーケンス23内のピクチャは,そ
れぞれに対応する各単位符号化部20に入力され(S2
0),各単位符号化部20において次のように符号化さ
れる。この際に,各単位符号化部20は,目標符号量決
定部21から,これから処理するピクチャのピクチャ目
標符号量24が与えられたのち,ピクチャの符号化を行
う。
The pictures in each image sequence 23 are input to each corresponding unit encoding unit 20 (S2
0), and are encoded as follows in each unit encoding unit 20. At this time, each unit encoding unit 20 encodes the picture after receiving the picture target code amount 24 of the picture to be processed from the target code amount determination unit 21.

【0027】各単位符号化部20は,符号化するピクチ
ャの発生符号量が与えられた目標符号量24に一致する
ように符号量の制御をしながらそのピクチャの各マクロ
ブロックを符号化する(S21)。各単位符号化部20
は,ピクチャ符号化が終了すると,動き補償予測誤差の
分散値などの情報を目標符号量決定部21に伝達する
(S22)。ただし,動き補償をしない符号化処理モー
ドの場合は入力画像の分散値を用いる。各単位符号化部
20から出力された各ビットストリーム26は,MUX
部22において一つのビットストリーム27に統合され
る(S23)。
Each unit encoder 20 encodes each macroblock of the picture while controlling the code amount so that the generated code amount of the picture to be encoded matches the given target code amount 24 ( S21). Each unit encoding unit 20
Transmits the information such as the variance value of the motion compensation prediction error to the target code amount determination unit 21 when the picture encoding is completed (S22). However, in the case of the encoding processing mode in which no motion compensation is performed, the variance value of the input image is used. Each bit stream 26 output from each unit encoder 20 is a MUX
The data is integrated into one bit stream 27 by the unit 22 (S23).

【0028】目標符号量決定部21においては,以下の
ような動作をする。図4(B)に示すフローチャートに
従って説明する。
The target code amount determining section 21 operates as follows. This will be described according to the flowchart shown in FIG.

【0029】各単位符号化部20が出力する予測誤差分
散値(または入力信号分散値)25の総和から全画像シ
ーケンスのピクチャの予測誤差の分散値(以下,全ピク
チャの予測誤差分散値とする)を求める(S24)。過
去のそれぞれのピクチャタイプの画面全体の予測誤差の
分散値と処理中のGOP(Group Of Picture)の残りの
符号量から,これから処理する全ピクチャの目標符号量
を算出する(S25)。
From the sum of the prediction error variance values (or input signal variance values) 25 output from each unit encoding unit 20, the variance value of the prediction error of the picture of the entire image sequence (hereinafter referred to as the prediction error variance value of all pictures) ) Is obtained (S24). From the variance value of the prediction error of the entire screen of each past picture type and the remaining code amount of the GOP (Group Of Picture) being processed, the target code amount of all the pictures to be processed is calculated (S25).

【0030】次に,各単位符号化部20の予測誤差の分
散値と,同時に各単位符号化部20の予測誤差の分散値
の総和を算出する(S26)。算出した予測誤差の分散
値の総和に対するある単位符号化部20の予測誤差の分
散値の比率と前述の全ピクチャの目標符号量の積を各画
像シーケンス23のピクチャの目標符号量24とする。
このようにして,それぞれの単位符号化部20のピクチ
ャの目標符号量24を決定し,次に単位符号化部20が
処理するピクチャの目標符号量として,各単位符号化部
20に与える(S27)。
Next, the sum of the variance of the prediction error of each unit coding unit 20 and the variance of the prediction error of each unit coding unit 20 are calculated at the same time (S26). The product of the ratio of the variance value of the prediction error of a certain unit encoding unit 20 to the sum of the variance values of the calculated prediction errors and the above-described target code amount of all the pictures is defined as the target code amount 24 of the picture of each image sequence 23.
In this way, the target code amount 24 of the picture of each unit coding unit 20 is determined, and is given to each unit coding unit 20 as the target code amount of the picture to be processed by the unit coding unit 20 (S27). ).

【0031】以上においては,ピクチャの予測誤差分散
値を過去のピクチャから求めているが,処理中のピクチ
ャの動き補償が終了した時点で予測誤差分散値を求め,
その情報をその時点で集計し,その情報をもとに各単位
符号化部20においてDCT係数の量子化,すなわち符
号量制御をすることも可能である。
In the above description, the prediction error variance of a picture is obtained from a past picture. When the motion compensation of the picture being processed is completed, the prediction error variance is obtained.
It is also possible to sum up the information at that time and to quantize the DCT coefficients, that is, control the code amount in each unit encoding unit 20 based on the information.

【0032】この実施の形態においては,複数の画像シ
ーケンスのピクチャの複雑さから各画像シーケンスに割
り当てるべき目標符号量の比率を求めることで,複数の
画像シーケンスのピクチャ単位での統一的なレート制御
を実現する。限られたビットレートの中でより符号量が
必要なシーケンスにはより多くの目標符号量を設定する
ことが可能となり,限られたビットレートの中で各画像
シーケンスの高画質の符号化を実現することができる。
In this embodiment, the rate of the target code amount to be assigned to each image sequence is determined from the complexity of the pictures of the plurality of image sequences, so that unified rate control for each picture of the plurality of image sequences is performed. To achieve. It is possible to set a larger target code amount for sequences that require more code amount within a limited bit rate, realizing high-quality encoding of each image sequence within a limited bit rate. can do.

【0033】〔第3の実施の形態〕図5は,第3の実施
の形態に係る動画像符号化装置の構成例を示している。
この動画像符号化装置は,入力画像分割部30,複数の
単位符号化部31,目標符号量決定部32,ストリーム
再構成部33から構成される。ここでは,符号化方法と
してブロック単位の符号量制御が可能な符号化方法,具
体的にはMPEG1,MPEG2またはH.26xなど
の国際標準符号化方法に対応した方法を用いる。
[Third Embodiment] FIG. 5 shows an example of the configuration of a moving picture coding apparatus according to a third embodiment.
This moving picture coding apparatus includes an input picture dividing section 30, a plurality of unit coding sections 31, a target code amount determining section 32, and a stream reconstructing section 33. Here, as an encoding method, an encoding method capable of controlling the code amount in block units, specifically, MPEG1, MPEG2, or H.264. A method corresponding to an international standard encoding method such as 26x is used.

【0034】以下に,図6(A)のフローチャートに従
って,図5に示す動画像符号化装置の全体の動作を説明
する。
The overall operation of the moving picture coding apparatus shown in FIG. 5 will be described below with reference to the flowchart of FIG.

【0035】まず,入力画像分割部30において,入力
画像シーケンス34の各ピクチャは,複数の分割画像3
5に空間的に分割される(S30)。この場合は各ピク
チャはマクロブロックをまたがないように分割されるも
のとする。各分割画像35のシーケンスは,それぞれに
対応する各単位符号化部31へ分配され(S31),各
単位符号化部31において符号化される。
First, in the input image dividing unit 30, each picture of the input image sequence 34 is divided into a plurality of divided images 3
5 (S30). In this case, it is assumed that each picture is divided so as not to span a macroblock. The sequence of each divided image 35 is distributed to each corresponding unit encoding unit 31 (S31), and is encoded in each unit encoding unit 31.

【0036】以下のステップS32〜S33は,各単位
符号化部31において並列に実行される。各単位符号化
部31は,目標符号量決定部32から,これから処理す
る各分割画像シーケンスのピクチャの目標符号量36が
与えられたのち,各ピクチャの符号化を次のように行
う。各単位符号化部31は,担当するピクチャの発生符
号量が目標符号量35に一致するように符号量の制御を
しながらそのピクチャの各マクロブロックを符号化する
(S32)。このマクロブロックの符号化を繰り返し,
ピクチャ符号化が終了すると,各単位符号化部31は,
発生符号量,平均量子化パラメータ37などの情報を目
標符号量決定部32に伝達する(S33)。各単位符号
化部31から出力された各ストリーム38は,ストリー
ム再構成部33において一つのストリーム39に再構成
される(S34)。
The following steps S32 to S33 are executed in parallel in each unit encoding unit 31. After receiving the target code amount 36 of the picture of each divided image sequence to be processed from the target code amount determination unit 32, each unit encoding unit 31 performs encoding of each picture as follows. Each unit encoding unit 31 encodes each macro block of the picture while controlling the code amount so that the generated code amount of the assigned picture matches the target code amount 35 (S32). Repeat this macroblock coding,
When the picture encoding is completed, each unit encoding unit 31
Information such as the generated code amount and the average quantization parameter 37 is transmitted to the target code amount determination unit 32 (S33). Each stream 38 output from each unit encoding unit 31 is reconstructed into one stream 39 by the stream reconstructing unit 33 (S34).

【0037】目標符号量決定部32においては,以下の
ような動作をする。図6(B)に示すフローチャートに
従って説明する。
The target code amount determining section 32 operates as follows. This will be described according to the flowchart shown in FIG.

【0038】各単位符号化部31が出力する発生符号量
の総和から,ピクチャ全体の発生符号量を求める(S3
5)。次に,各単位符号化部31が出力する平均量子化
パラメータと各分割画像の大きさの比率からピクチャ全
体の平均量子化パラメータを求める(S36)。以上に
述べたピクチャ全体の発生符号量とピクチャ全体の平均
量子化パラメータの積をとることでピクチャ全体の複雑
さ指標を求める(S37)。そして,過去のピクチャの
ピクチャ全体の複雑さ指標と処理中のGOP(Group Of
Picture)の残りの符号量から,これから処理するピク
チャ全体の目標符号量を算出する(S38)。次に,各
単位符号化部31の処理したピクチャの複雑さ指標とし
て単位符号化部31が出力するピクチャ発生符号量と平
均量子化パラメータの積を算出し,同時に各単位符号化
部31の複雑さ指標の総和を算出する(S39)。以上
の複雑さ指標の総和に対するある単位符号化部31の複
雑さ指標の比率と前述のピクチャ全体の目標符号量の積
を,単位符号化部31が処理するピクチャの目標符号量
36とする(S40)。このようにして,それぞれの単
位符号化部31の処理するピクチャの目標符号量36を
決定し,次に各単位符号化部31がピクチャを処理する
際の目標符号量として,各単位符号化部31に与える
(S41)。
The generated code amount of the entire picture is obtained from the sum of the generated code amounts output from each unit coding unit 31 (S3).
5). Next, the average quantization parameter of the entire picture is obtained from the ratio between the average quantization parameter output from each unit encoding unit 31 and the size of each divided image (S36). The complexity index of the entire picture is obtained by taking the product of the generated code amount of the entire picture and the average quantization parameter of the entire picture described above (S37). Then, the complexity index of the entire picture of the past picture and the GOP (Group Of
The target code amount of the entire picture to be processed is calculated from the remaining code amount of Picture (S38). Next, the product of the picture generation code amount output by the unit encoding unit 31 and the average quantization parameter is calculated as a complexity index of the picture processed by each unit encoding unit 31, and at the same time, the complexity of each unit encoding unit 31 is calculated. The sum of the index is calculated (S39). The product of the ratio of the complexity index of a certain unit encoding unit 31 to the sum of the above-mentioned complexity indices and the above-described target code amount of the entire picture is defined as the target code amount 36 of the picture processed by the unit encoding unit 31 ( S40). In this manner, the target code amount 36 of the picture to be processed by each unit coding unit 31 is determined, and then the target code amount when each unit coding unit 31 processes the picture is set as the target code amount. 31 (S41).

【0039】この実施の形態では,各領域の複雑さを表
す指標として発生符号量と平均量子化パラメータの積を
符号量の配分に用いているが,この指標は同じ画像パタ
ーンであればどのような量子化を行ったかによらず一定
の値になる傾向があり,この指標の比率に基づいて符号
量配分することで各領域の量子化の程度がほぼ平均化さ
れ,画面全体の平均的な画質の向上に有効である。
In this embodiment, the product of the generated code amount and the average quantization parameter is used for the distribution of the code amount as an index indicating the complexity of each area. Quantization tends to be constant regardless of whether quantization is performed. By allocating the code amount based on the ratio of this index, the degree of quantization in each region is almost averaged, and the average of the entire screen is averaged. This is effective for improving image quality.

【0040】本実施の形態においては発生符号量と平均
量子化パラメータの積を用いているが,各パラメータを
べき乗して積をとった値,もしくはそのような値同士の
和などで複雑さを表す指標とする方法も有効である。ま
た,その指標に比例した符号量配分でなく,例えば極端
に配分が少なくなる場合には,それを制限したりするよ
うな措置をとることも有効である。
In this embodiment, the product of the generated code amount and the average quantization parameter is used. However, the complexity is calculated by a value obtained by taking the product by raising each parameter to the power or a sum of such values. It is also effective to use the index as a representative. It is also effective to take measures to limit the distribution, for example, when the distribution becomes extremely small, instead of the distribution of the code amount in proportion to the index.

【0041】以上に述べた方法により,この実施の形態
に述べたような複数の符号化部が並列に符号化をする構
造を持つシステムにおける各符号化部間のピクチャ単位
での適切な符号量配分が可能となり,画質の向上に寄与
する。
According to the above-described method, in a system having a structure in which a plurality of encoding units perform encoding in parallel as described in this embodiment, an appropriate code amount for each picture between the encoding units is used. Distribution is possible, which contributes to improvement of image quality.

【0042】〔第4の実施の形態〕図7は,第4の実施
の形態に係る動画像符号化装置の構成例であって,複数
の画像シーケンスを多重化して伝送する際の動画像符号
化システムを表している。この動画像符号化装置は,複
数の入力画像シーケンス43に対応する複数の単位符号
化部40,目標符号量決定部41,多重化部(MUX
部)42から構成される。
[Fourth Embodiment] FIG. 7 shows an example of the configuration of a moving picture coding apparatus according to a fourth embodiment, in which a plurality of picture sequences are multiplexed and transmitted. It represents a chemical system. This moving picture coding apparatus includes a plurality of unit coding units 40 corresponding to a plurality of input image sequences 43, a target code amount determining unit 41, and a multiplexing unit (MUX).
Unit) 42.

【0043】以下に,図8(A)のフローチャートに従
って,図7に示す動画像符号化装置の全体の動作を説明
する。
Hereinafter, the overall operation of the moving picture coding apparatus shown in FIG. 7 will be described with reference to the flowchart of FIG.

【0044】各画像シーケンス43内のピクチャは,そ
れぞれに対応する各単位符号化部40に入力され(S5
0),各単位符号化部40において次のように符号化さ
れる。この際に,各単位符号化部40は,目標符号量決
定部41から,これから処理するピクチャのピクチャ目
標符号量44が与えられたのち,ピクチャの符号化を行
う。
The pictures in each image sequence 43 are input to each corresponding unit encoding unit 40 (S5).
0), and are encoded in each unit encoding section 40 as follows. At this time, each unit encoding unit 40 encodes the picture after receiving the picture target code amount 44 of the picture to be processed from the target code amount determination unit 41.

【0045】各単位符号化部40は,符号化するピクチ
ャの発生符号量が与えられた目標符号量44に一致する
ように符号量の制御をしながらそのピクチャの各マクロ
ブロックを符号化する(S51)。各マクロブロックの
符号化を繰り返し,ピクチャ符号化が終了すると,各単
位符号化部40は,発生符号量,平均量子化パラメータ
45などの情報を目標符号量決定部41に伝達する(S
52)。各単位符号化部40から出力された各ビットス
トリーム46は,MUX部42において一つのビットス
トリーム47に統合される(S53)。
Each unit encoding section 40 encodes each macroblock of the picture while controlling the code amount so that the generated code amount of the picture to be encoded matches the given target code amount 44 ( S51). When coding of each macro block is repeated and picture coding is completed, each unit coding unit 40 transmits information such as a generated code amount and an average quantization parameter 45 to the target code amount determination unit 41 (S
52). Each bit stream 46 output from each unit encoding unit 40 is integrated into one bit stream 47 in the MUX unit 42 (S53).

【0046】目標符号量決定部41においては,以下の
ような動作をする。図8(B)に示すフローチャートに
従って説明する。
The target code amount determining section 41 operates as follows. This will be described according to the flowchart shown in FIG.

【0047】各単位符号化部40が出力する発生符号量
の総和から全画像シーケンスのピクチャの発生符号量
(以下,全ピクチャの発生符号量とする)を求める(S
54)。次に,各単位符号化部40が出力する平均量子
化パラメータと各ピクチャの大きさの比率から全画像シ
ーケンスのピクチャの平均量子化パラメータ(以下,全
ピクチャの平均量子化パラメータとする)を求める(S
55)。
From the sum of the generated code amounts output from each unit coding unit 40, the generated code amount of the pictures of the entire image sequence (hereinafter referred to as the generated code amount of all the pictures) is obtained (S
54). Next, the average quantization parameter of the pictures of the entire image sequence (hereinafter, referred to as the average quantization parameter of all the pictures) is obtained from the ratio between the average quantization parameter output from each unit encoding unit 40 and the size of each picture. (S
55).

【0048】以上に述べた全ピクチャの発生符号量と全
ピクチャの平均量子化パラメータの積をとることで全ピ
クチャの複雑さ指標を求める(S56)。そして,過去
のピクチャの全ピクチャの複雑さを指標と処理中のGO
P(Group Of Picture)の残りの符号量の総和から,こ
れから処理する全ピクチャの目標符号量を算出する(S
57)。次に,各単位符号化部40の発生符号量と平均
量子化パラメータの積から複雑さ指標を求め,同時に各
単位符号化部40の複雑さ指標の総和を算出する(S5
8)。
The complexity index of all pictures is obtained by multiplying the above-mentioned generated code amount of all pictures by the average quantization parameter of all pictures (S56). Then, the complexity of all the past pictures is used as an index and the GO being processed.
From the total sum of the remaining code amounts of P (Group Of Picture), the target code amounts of all the pictures to be processed are calculated (S
57). Next, a complexity index is obtained from the product of the generated code amount of each unit encoding unit 40 and the average quantization parameter, and at the same time, the sum of the complexity index of each unit encoding unit 40 is calculated (S5).
8).

【0049】上記の複雑さ指標の総和に対するある単位
符号化部40の複雑さ指標の比率と前述の全ピクチャの
目標符号量との積を,各画像シーケンス43のピクチャ
目標符号量44とする(S59)。このようにして,そ
れぞれの単位符号化部40のピクチャの目標符号量44
を決定し,次に各単位符号化部40が処理するピクチャ
の目標符号量として,各単位符号化部40に与える(S
60)。
The product of the ratio of the complexity index of a certain unit encoding unit 40 to the sum of the above-mentioned complexity indices and the above-mentioned target code amount of all pictures is defined as the picture target code amount 44 of each image sequence 43 ( S59). In this way, the target code amount 44 of the picture of each unit
Is determined, and given to each unit encoding unit 40 as a target code amount of a picture to be processed by each unit encoding unit 40 (S
60).

【0050】この実施の形態により,複数の画像シーケ
ンスのピクチャ単位での統一的なレート制御が可能とな
る。特に,複雑さを表す指標として発生符号量と平均量
子化パラメータの積を符号量の配分に用いているが,こ
の指標は同じ画像パターンであればどのような量子化を
行ったかによらず一定の値になる傾向があり,より適切
な符号量配分が可能となる。
According to this embodiment, unified rate control in a picture unit of a plurality of image sequences becomes possible. In particular, the product of the generated code amount and the average quantization parameter is used to distribute the code amount as an index indicating the complexity, but this index is constant regardless of the type of quantization performed for the same image pattern. , And more appropriate code amount distribution becomes possible.

【0051】〔第5の実施の形態〕図9は,第5の実施
の形態に係る動画像符号化装置の構成例を示している。
この動画像符号化装置は,入力画像分割部50,複数の
単位符号化部51,目標符号量決定部52,ストリーム
再構成部53から構成される。また,ここでは符号化方
法としてブロック単位の符号量制御が可能な符号化方
法,具体的にはMPEG1,MPEG2またはH.26
xなどの国際標準符号化方法に対応した方法を用いる。
[Fifth Embodiment] FIG. 9 shows an example of the configuration of a moving picture coding apparatus according to a fifth embodiment.
This moving picture coding apparatus includes an input picture dividing section 50, a plurality of unit coding sections 51, a target code amount determining section 52, and a stream reconstructing section 53. Here, as an encoding method, an encoding method capable of controlling the code amount in block units, specifically, MPEG1, MPEG2 or H.264. 26
A method corresponding to an international standard encoding method such as x is used.

【0052】以下に,図10(A)のフローチャートに
従って,図9に示す動画像符号化装置の全体の動作を説
明する。
Hereinafter, the overall operation of the moving picture coding apparatus shown in FIG. 9 will be described with reference to the flowchart of FIG.

【0053】まず,入力画像分割部50において,入力
画像シーケンス54の各ピクチャは,複数の分割画像5
5に空間的に分割される(S70)。この場合に,各ピ
クチャはマクロブロックをまたがないように分割される
ものとする。各分割画像55のシーケンスは,それぞれ
に対応する各単位符号化部51に分配され(S71),
以下のステップS72〜S73により,各単位符号化部
51において並列に符号化される。
First, in the input image dividing section 50, each picture of the input image sequence 54 is divided into a plurality of divided images 5
5 (S70). In this case, it is assumed that each picture is divided so as not to span a macroblock. The sequence of each divided image 55 is distributed to each corresponding unit encoding unit 51 (S71),
Through the following steps S72 to S73, the encoding is performed in parallel in each unit encoding unit 51.

【0054】各単位符号化部51は,目標符号量決定部
52から,これから処理する各分割画像シーケンスのピ
クチャの目標符号量56が与えられたのち,各ピクチャ
の符号化を行う。各単位符号化部51は,担当する分割
画像ピクチャの発生符号量が目標符号量56に一致する
ように符号量の制御をしながらその分割画像ピクチャの
各マクロブロックを符号化する(S72)。分割画像ピ
クチャの符号化が終了すると,各単位符号化部51は,
発生符号量,平均量子化パラメータ57などの情報を目
標符号量決定部52に伝達する(S73)。各単位符号
化部51から出力された各ストリーム58は,ストリー
ム再構成部53において一つのストリーム59に再構成
される(S74)。
Each unit encoding section 51 encodes each picture after the target code quantity 56 of the picture of each divided image sequence to be processed is given from the target code quantity determining section 52. Each unit encoding unit 51 encodes each macroblock of the divided image picture while controlling the code amount so that the generated code amount of the assigned divided image picture matches the target code amount 56 (S72). When the encoding of the divided image picture is completed, each unit encoding unit 51
Information such as the generated code amount and the average quantization parameter 57 is transmitted to the target code amount determination unit 52 (S73). Each stream 58 output from each unit encoding unit 51 is reconstructed into one stream 59 by the stream reconstructing unit 53 (S74).

【0055】目標符号量決定部52においては,以下の
ような動作をする。図10(B)に示すフローチャート
に従って説明する。
The target code amount determining section 52 operates as follows. This will be described with reference to the flowchart shown in FIG.

【0056】各単位符号化部51が出力する発生符号量
の総和から,ピクチャ全体の発生符号量を求める(S7
5)。また,各単位符号化部51が出力する平均量子化
パラメータと各分割画像の大きさの比率からピクチャ全
体の平均量子化パラメータを求める(S76)。以上に
述べたピクチャ全体の発生符号量とピクチャ全体の平均
量子化パラメータの積をとることで,ピクチャ全体の複
雑さ指標を求める(S77)。そして,過去のそれぞれ
ピクチャタイプの画面全体の複雑さ指標と処理中のGO
P(Group Of Picture)の残りの符号量から,これから
処理するピクチャ全体の目標符号量を算出する(S7
8)。
The generated code amount of the entire picture is obtained from the sum of the generated code amounts output from the unit coding units 51 (S7).
5). Further, the average quantization parameter of the entire picture is obtained from the ratio between the average quantization parameter output from each unit encoding unit 51 and the size of each divided image (S76). By calculating the product of the generated code amount of the entire picture and the average quantization parameter of the entire picture described above, a complexity index of the entire picture is obtained (S77). Then, the past complexity index of each picture type in the past and the GO being processed
From the remaining code amount of P (Group Of Picture), the target code amount of the entire picture to be processed is calculated (S7).
8).

【0057】次に,各単位符号化部51の複雑さ指標と
して,各単位符号化部51が出力するピクチャ発生符号
量と平均量子化パラメータの積を算出し,同時に各単位
符号化部51の複雑さ指標の総和を算出する(S7
9)。この複雑さ指標の総和に対するある単位符号化部
51の複雑さ指標の比率と前述のピクチャ全体の目標符
号量の積とを,その単位符号化部51の目標符号量56
とする(S80)。このようにして,それぞれの単位符
号化部51のピクチャの目標符号量56を決定し,次に
各単位符号化部51が同じピクチャタイプのピクチャを
処理する際の目標符号量として,各単位符号化部51に
与える(S81)。
Next, as the complexity index of each unit encoding unit 51, the product of the picture generation code amount output from each unit encoding unit 51 and the average quantization parameter is calculated. The sum of the complexity indices is calculated (S7)
9). The product of the ratio of the complexity index of a certain unit encoding unit 51 to the sum of the complexity indices and the above-described target code amount of the entire picture is calculated as the target code amount 56 of the unit encoding unit 51.
(S80). In this way, the target code amount 56 of the picture of each unit encoding unit 51 is determined, and each unit code unit 51 is used as a target code amount when processing a picture of the same picture type. (S81).

【0058】この実施の形態では,符号量配分に使用す
る過去のピクチャを当該ピクチャタイプのピクチャタイ
プと同じものを持つピクチャに限定している。それゆえ
にピクチャタイプにおけるDCT対象の画像パターンの
違いにおける影響を考慮した符号量配分ができる。それ
ゆえ複数の符号化部が並列に符号化をする構造を持つシ
ステムにおける各符号化部間のピクチャ単位での適切な
符号量配分が可能となり,画質の向上に寄与する。
In this embodiment, the past pictures used for code amount distribution are limited to pictures having the same picture type as the picture type. Therefore, the code amount can be distributed in consideration of the influence of the difference in the DCT target image pattern in the picture type. Therefore, in a system having a structure in which a plurality of encoding units perform encoding in parallel, it is possible to appropriately distribute the code amount in units of pictures between the encoding units, thereby contributing to an improvement in image quality.

【0059】〔第6の実施の形態〕図11は,第6の実
施の形態に係る動画像符号化装置の構成例を示してい
る。前述の実施の形態においては,分割画像を複数の単
位符号化部で並列に符号化していたが,本実施の形態で
は,一つの符号化部において時分割で各分割画像を符号
化する。この動画像符号化装置は,入力画像分割部6
0,符号化部61,目標符号量決定部62,ストリーム
再構成部63から構成される。また,ここでは符号化方
法としてブロック単位の符号量制御が可能な符号化方
法,具体的にはMPEG1,MPEG2またはH.26
xなどの国際標準符号化方法に対応した方法を用いる。
[Sixth Embodiment] FIG. 11 shows an example of the configuration of a moving picture coding apparatus according to the sixth embodiment. In the above-described embodiment, the divided images are encoded in parallel by the plurality of unit encoding units. However, in the present embodiment, each divided image is encoded in one encoding unit by time division. This moving picture coding apparatus includes an input picture dividing unit 6
0, an encoding unit 61, a target code amount determination unit 62, and a stream reconstruction unit 63. Here, as an encoding method, an encoding method capable of controlling the code amount in block units, specifically, MPEG1, MPEG2 or H.264. 26
A method corresponding to an international standard encoding method such as x is used.

【0060】以下に,図12(A)のフローチャートに
従って,図11に示す動画像符号化装置の全体の動作を
説明する。
Hereinafter, the overall operation of the moving picture coding apparatus shown in FIG. 11 will be described with reference to the flowchart of FIG.

【0061】まず,入力画像分割部60において,入力
画像シーケンス64の各ピクチャは,複数の分割画像6
5に空間的に分割される(S90)。この場合に,各ピ
クチャはマクロブロックをまたがないように分割される
ものとする。各分割画像65のピクチャは,それぞれ符
号化部61へ順番に送られ(S91),符号化部61に
おいて符号化される。ただし,符号化部61を実現する
実体は一つだけ存在し,各画像シーケンスのピクチャ
は,時分割で時間的に直列に符号化処理が行われる。ま
た,符号化部61は,複数のシーケンスのフレーム間符
号化を行うために必要な記憶媒体を持っている。
First, in the input image dividing section 60, each picture of the input image sequence 64 is divided into a plurality of divided images 6
5 (S90). In this case, it is assumed that each picture is divided so as not to span a macroblock. The pictures of each of the divided images 65 are sequentially sent to the encoding unit 61 (S91), and are encoded by the encoding unit 61. However, there is only one entity that implements the encoding unit 61, and the pictures of each image sequence are time-divisionally and temporally serially encoded. In addition, the encoding unit 61 has a storage medium necessary for performing inter-frame encoding of a plurality of sequences.

【0062】符号化部61は,目標符号量決定部62か
ら,これから処理する分割画像シーケンスのピクチャの
目標符号量66が与えられたのち,各ピクチャの符号化
を行う。符号化部61は,符号化処理する分割画像ピク
チャの発生符号量が目標符号量66に一致するように符
号量の制御をしながら,その分割画像ピクチャの各マク
ロブロックを符号化する(S92)。
The encoding unit 61 encodes each picture after receiving the target code amount 66 of the picture of the divided image sequence to be processed from the target code amount determination unit 62. The encoding unit 61 encodes each macroblock of the divided image picture while controlling the code amount so that the generated code amount of the divided image picture to be encoded matches the target code amount 66 (S92). .

【0063】各分割画像ピクチャの符号化が終了する
と,符号化部61は,発生符号量,平均量子化パラメー
タ67などの情報を,目標符号量決定部62に伝達する
(S93)。以上のステップS91〜S93を全分割画
像についての処理が終了するまで繰り返す。符号化部6
1から出力された各分割画像シーケンスのストリーム6
8は,ストリーム再構成部63において一つのストリー
ム69に再構成される(S94)。
When the encoding of each divided picture is completed, the encoding unit 61 transmits information such as the generated code amount and the average quantization parameter 67 to the target code amount determination unit 62 (S93). The above steps S91 to S93 are repeated until the processing for all divided images is completed. Encoding unit 6
Stream 6 of each divided image sequence output from 1
8 is reconstructed into one stream 69 by the stream reconstruction unit 63 (S94).

【0064】目標符号量決定部62においては,以下の
ような動作をする。図12(B)に示すフローチャート
に従って説明する。
The target code amount determining section 62 operates as follows. This will be described according to the flowchart shown in FIG.

【0065】符号化部61が出力する各分割画像の発生
符号量の総和から,ピクチャ全体の発生符号量を求める
(S95)。また,符号化部61が出力する平均量子化
パラメータと各分割画像の大きさの比率からピクチャ全
体の平均量子化パラメータを求める(S96)。以上に
述べたピクチャ全体の発生符号量とピクチャ全体の平均
量子化パラメータの積をとることでピクチャ全体の複雑
さ指標を求める(S97)。そして,過去のピクチャの
ピクチャ全体の複雑さ指標と処理中のGOP(Group Of
Picture)の残りの符号量から,これから処理するピク
チャ全体の目標符号量を算出する(S98)。
The generated code amount of the entire picture is obtained from the sum of the generated code amounts of the divided images output by the coding unit 61 (S95). Further, the average quantization parameter of the entire picture is obtained from the ratio between the average quantization parameter output from the encoding unit 61 and the size of each divided image (S96). The product of the generated code amount of the entire picture and the average quantization parameter of the entire picture as described above obtains the complexity index of the entire picture (S97). Then, the complexity index of the entire picture of the past picture and the GOP (Group Of
The target code amount of the entire picture to be processed is calculated from the remaining code amount of Picture (S98).

【0066】次に,各分割画像の複雑さ指標として符号
化部61が出力するピクチャ発生符号量と平均量子化パ
ラメータの積を算出し,同時に符号化部61の複雑さ指
標の総和を算出する(S99)。この複雑さ指標の総和
に対するある分割画像の複雑さ指標の比率と前述のピク
チャ全体の目標符号量の積を,その分割画像の目標符号
量66とする(S100)。このようにして,それぞれ
の分割画像のピクチャの目標符号量66を決定し,次に
符号化部61が同じピクチャタイプの分割画像ピクチャ
を処理する際の目標符号量として,符号化部61に与え
る(S101)。
Next, the product of the picture generation code amount output by the encoding unit 61 and the average quantization parameter as the complexity index of each divided image is calculated, and at the same time, the sum of the complexity index of the encoding unit 61 is calculated. (S99). The product of the ratio of the complexity index of a certain divided image to the sum of the complexity indices and the target code amount of the entire picture is set as the target code amount 66 of the divided image (S100). In this way, the target code amount 66 of the picture of each divided image is determined, and then given to the encoding unit 61 as the target code amount when the encoding unit 61 processes the divided image picture of the same picture type. (S101).

【0067】この実施の形態では,符号量配分に使用す
る過去のピクチャを当該ピクチャタイプのピクチャタイ
プと同じものを持つピクチャに限定している。それゆえ
にピクチャタイプにおけるDCT対象の画像パターンの
違いにおける影響を考慮した符号量配分ができ,画質の
向上に寄与する。
In this embodiment, past pictures used for code amount distribution are limited to pictures having the same picture type as the picture type. Therefore, the code amount can be distributed in consideration of the influence of the difference in the image pattern of the DCT target in the picture type, and the image quality is improved.

【0068】〔第7の実施の形態〕図13は,第7の実
施の形態に係る動画像符号化装置の構成例を示してい
る。この動画像符号化装置においては,処理画像内に複
数の領域を設定し,発生符号量を制御する処理のみを各
領域ごとに別に行う。また,本例では符号化方法として
処理ブロック単位の符号量制御が可能な符号化方法,具
体的にはMPEG1,MPEG2またはH.26xなど
の国際標準符号化方法に対応した方法を用いる。よっ
て,この場合,発生符号量制御部としてDCT係数の量
子化パラメータを決定する量子化部72が当てはまる。
[Seventh Embodiment] FIG. 13 shows an example of the configuration of a moving picture coding apparatus according to a seventh embodiment. In this moving picture coding apparatus, a plurality of regions are set in a processed image, and only a process of controlling a generated code amount is separately performed for each region. Further, in this example, as an encoding method, an encoding method capable of controlling the amount of code in units of processing blocks, specifically, MPEG1, MPEG2, or H.264. A method corresponding to an international standard encoding method such as 26x is used. Therefore, in this case, the quantization unit 72 that determines the quantization parameter of the DCT coefficient is applied as the generated code amount control unit.

【0069】以下に,図14(A)のフローチャートに
従って,図13に示す動画像符号化装置の全体の動作を
説明する。
Hereinafter, the overall operation of the moving picture coding apparatus shown in FIG. 13 will be described with reference to the flowchart of FIG.

【0070】動き補償部70は,入力画像シーケンス7
5について動き補償を行い(S110),その結果の予
測誤差画像76をDCT部71へ送る。DCT部71
は,DCT係数77を求め,各領域ごとの量子化部72
へ送る(S111)。各量子化部72は,ピクチャの各
領域内のマクロブロックの量子化パラメータの決定を開
始する際に,目標符号量決定部73から各領域の目標符
号量78が与えられたのち開始する。ただし,量子化部
72は複数存在し,それらが並列に動作する。
The motion compensating section 70 determines whether the input image sequence 7
5 is subjected to motion compensation (S110), and the resulting prediction error image 76 is sent to the DCT unit 71. DCT unit 71
Calculates a DCT coefficient 77, and calculates a quantization unit 72 for each region.
(S111). When starting the determination of the quantization parameter of the macroblock in each region of the picture, each quantization unit 72 starts after receiving the target code amount 78 of each region from the target code amount determination unit 73. However, there are a plurality of quantization units 72, which operate in parallel.

【0071】各量子化部72は,各領域の発生符号量が
目標符号量決定部73から与えられた各領域の目標符号
量78に一致するように符号量の制御をしながら,領域
内の各マクロブロックの量子化パラメータを決定する
(S112)。各量子化部72はその領域の量子化パラ
メータの決定が終了すると,その領域の発生符号量,平
均量子化パラメータ79を目標符号量決定部73に伝達
する(S113)。可変長符号化部74は,決定された
量子化パラメータに従って可変長符号化を行う(S11
4)。
Each quantizing unit 72 controls the code amount so that the generated code amount of each region matches the target code amount 78 of each region given from the target code amount determination unit 73, and The quantization parameter of each macroblock is determined (S112). When the determination of the quantization parameter of the region is completed, each quantization unit 72 transmits the generated code amount and the average quantization parameter 79 of the region to the target code amount determination unit 73 (S113). The variable length coding unit 74 performs variable length coding according to the determined quantization parameter (S11).
4).

【0072】目標符号量決定部73においては,以下の
ような動作をする。図14(B)に示すフローチャート
に従って説明する。
The target code amount determining section 73 operates as follows. This will be described according to the flowchart shown in FIG.

【0073】目標符号量決定部73は,各領域の発生符
号量の総和からピクチャ全体の発生符号量を求める(S
115)。次に,目標符号量決定部73は,各領域の平
均量子化パラメータと各領域の大きさからピクチャ全体
の平均量子化パラメータを求める(S116)。次に,
画面全体の複雑さ指標として,以上に述べたピクチャ全
体の発生符号量とピクチャ全体の平均量子化パラメータ
の積を求める(S117)。そして,過去のそれぞれの
ピクチャタイプの画面全体の複雑さ指標と処理中のGO
P(Group Of Picture)の残りの符号量から,これから
処理するピクチャ全体の目標符号量を算出する(S11
8)。
The target code amount determination section 73 obtains the generated code amount of the entire picture from the sum of the generated code amounts of the respective areas (S
115). Next, the target code amount determination unit 73 obtains an average quantization parameter of the entire picture from the average quantization parameter of each area and the size of each area (S116). next,
As the complexity index of the entire screen, the product of the above-described generated code amount of the entire picture and the average quantization parameter of the entire picture is obtained (S117). Then, the complexity index of the entire screen of each past picture type and the GO being processed
From the remaining code amount of P (Group Of Picture), the target code amount of the entire picture to be processed is calculated (S11).
8).

【0074】次に,各領域の複雑さ指標として領域が出
力する発生符号量と平均量子化パラメータの積を算出
し,同時に各領域の複雑さ指標の総和を算出する(S1
19)。この複雑さ指標の総和に対するある領域の複雑
さを表す指標の比率と前述のピクチャ全体の目標符号量
の積を,その領域の目標符号量とする(S120)。こ
のようにして,それぞれの領域の目標符号量78を決定
し,次に同じピクチャタイプを処理する際の各領域の目
標符号量として,各領域を担当する量子化部72に与え
る(S121)。
Next, as the complexity index of each area, the product of the generated code amount output by the area and the average quantization parameter is calculated, and at the same time, the sum of the complexity index of each area is calculated (S1).
19). The product of the ratio of the index indicating the complexity of a certain region to the sum of the complexity indicators and the above-described target code amount of the entire picture is set as the target code amount of the region (S120). In this way, the target code amount 78 of each area is determined, and is given to the quantization unit 72 in charge of each area as the target code amount of each area when processing the same picture type next (S121).

【0075】この実施の形態により,各々のピクチャ処
理毎に符号化対象の各部分の過去の特性を反映した符号
量が各部分に目標値として割り当てられるため,画像全
体の符号量の配分が従来技術に比べてより適切になり,
良い画質が得られるようになる。具体的にはピクチャ符
号化開始時毎にピクチャ内に設定した複数の領域毎の適
切な目標符号量を過去のピクチャの領域毎の情報から決
定し,それに基づいて領域毎に符号量制御を行うことで
より高画質な符号化を実現することが可能となる。
According to this embodiment, the code amount reflecting the past characteristics of each part to be coded is assigned to each part as a target value for each picture processing. More appropriate than technology,
Good image quality can be obtained. Specifically, an appropriate target code amount for each of a plurality of regions set in the picture at each start of picture coding is determined from information of each region of a past picture, and the code amount is controlled for each region based on the determined target code amount. This makes it possible to realize higher quality encoding.

【0076】〔第8の実施の形態〕図15は,第8の実
施の形態に係る動画像符号化装置の構成例を示してい
る。前述の実施の形態においては,複数の量子化部にお
いて並列に量子化を行ったが本例では,各領域のDCT
係数は一つの量子化部82で時分割で時間的に直列に処
理される。図15の動画像符号化装置において,処理画
像内に複数の領域を設定し,発生符号量を制御する処理
のみを各領域ごとに別に行う。また,本例では符号化方
法として処理ブロック単位の符号量制御が可能な符号化
方法,具体的にはMPEG1,MPEG2またはH.2
6xなどの国際標準符号化方法に対応した方法を用い
る。よって,この場合,発生符号量制御部としてDCT
係数の量子化パラメータを決定する量子化部82が当て
はまる。
[Eighth Embodiment] FIG. 15 shows an example of the configuration of a moving picture coding apparatus according to the eighth embodiment. In the above-described embodiment, the quantization is performed in parallel by the plurality of quantization units.
The coefficients are processed serially in time by a single quantizer 82 in a time-division manner. In the moving picture coding apparatus shown in FIG. 15, a plurality of regions are set in a processed image, and only the process of controlling the generated code amount is separately performed for each region. Further, in this example, as an encoding method, an encoding method capable of controlling the amount of code in units of processing blocks, specifically, MPEG1, MPEG2, or H.264. 2
A method corresponding to an international standard encoding method such as 6x is used. Therefore, in this case, the DCT is used as the generated code amount control unit.
This applies to the quantization unit 82 that determines the quantization parameter of the coefficient.

【0077】以下に,図16(A)のフローチャートに
従って,図15に示す動画像符号化装置の全体の動作を
説明する。
Hereinafter, the overall operation of the moving picture coding apparatus shown in FIG. 15 will be described with reference to the flowchart of FIG.

【0078】動き補償部80は,入力画像シーケンス8
5について動き補償を行い(S130),その結果の予
測誤差画像86をDCT部81へ送る。DCT部81
は,DCT係数87を求め(S131),量子化部82
へ送る。各量子化部82は,ピクチャの各領域内のマク
ロブロックの量子化パラメータの決定を開始する際に,
目標符号量決定部83から各領域の目標符号量88が与
えられたのち開始する。ただし,量子化部82を実現す
る実体は一つで,各領域の量子化は,以下に説明する処
理により時分割で時間的に直列に行われる。
The motion compensating section 80 determines whether the input image sequence 8
5 is subjected to motion compensation (S130), and the resulting prediction error image 86 is sent to the DCT unit 81. DCT unit 81
Calculates the DCT coefficient 87 (S131), and
Send to When starting the determination of the quantization parameter of the macroblock in each area of the picture, each quantization unit 82
The processing is started after the target code amount 88 of each area is given from the target code amount determination unit 83. However, there is only one entity that implements the quantization unit 82, and the quantization of each area is performed in a time-division and time-series manner by the processing described below.

【0079】量子化部82は,各領域の発生符号化量が
目標符号量決定部83から与えられた各領域の目標符号
量88に一致するように符号量の制御をしながら,領域
内の各マクロブロックの量子化パラメータを決定する
(S132)。量子化部82は,各領域の量子化パラメ
ータの決定が終了すると,その領域の発生符号量,平均
量子化パラメータ89を目標符号量決定部83に伝達す
る(S133)。以上のステップS132〜S133
を,全領域についての処理が終了するまで繰り返す。可
変長符号化部84は,量子化部82によって決定した量
子化パラメータに従って可変長符号化を行う(S13
4)。
The quantization unit 82 controls the code amount such that the generated coding amount of each region matches the target code amount 88 of each region given from the target code amount determination unit 83, and The quantization parameter of each macroblock is determined (S132). When the determination of the quantization parameter of each region is completed, the quantization unit 82 transmits the generated code amount and the average quantization parameter 89 of the region to the target code amount determination unit 83 (S133). The above steps S132 to S133
Is repeated until the processing for all areas is completed. The variable length coding unit 84 performs variable length coding according to the quantization parameter determined by the quantization unit 82 (S13).
4).

【0080】目標符号量決定部83においては,以下の
ような動作をする。図16(B)に示すフローチャート
に従って説明する。
The target code amount determining section 83 operates as follows. This will be described with reference to the flowchart shown in FIG.

【0081】目標符号量決定部83は,各領域の発生符
号量の総和からピクチャ全体の発生符号量を求める(S
135)。各領域の平均量子化パラメータと各領域の大
きさからピクチャ全体の平均量子化パラメータを求める
(S136)。次に,画面全体の複雑さ指標として,以
上に述べたピクチャ全体の発生符号量とピクチャ全体の
平均量子化パラメータの積を求める(S137)。そし
て,過去のそれぞれのピクチャタイプの画面全体の複雑
さ指標と処理中のGOP(Group Of Picture)の残りの
符号量から,これから処理するピクチャ全体の目標符号
量を算出する(S138)。
The target code amount determining section 83 obtains the generated code amount of the entire picture from the sum of the generated code amounts of the respective areas (S
135). An average quantization parameter of the entire picture is obtained from the average quantization parameter of each area and the size of each area (S136). Next, the product of the above-described generated code amount of the entire picture and the average quantization parameter of the entire picture is calculated as a complexity index of the entire screen (S137). Then, the target code amount of the entire picture to be processed is calculated from the complexity index of the entire screen of each past picture type and the remaining code amount of the GOP (Group Of Picture) being processed (S138).

【0082】次に,各領域の複雑さ指標として領域が出
力する発生符号量と平均量子化パラメータの積を算出
し,同時に各領域の複雑さ指標の総和を算出する(S1
39)。この複雑さ指標の総和に対するある領域の複雑
さを表す指標の比率と前述のピクチャ全体の目標符号量
の積を,その領域の目標符号量とする(S140)。こ
のようにして,それぞれの領域の目標符号量89を決定
し,次に同じピクチャタイプを処理する際の各領域の目
標符号量として,各領域を担当する量子化部82に与え
る(S141)。
Next, the product of the generated code amount output by the region as the complexity index of each region and the average quantization parameter is calculated, and at the same time, the sum of the complexity index of each region is calculated (S1).
39). The product of the ratio of the index representing the complexity of a certain region to the sum of the complexity indicators and the above-described target code amount of the entire picture is set as the target code amount of the region (S140). In this way, the target code amount 89 of each region is determined, and is given to the quantization unit 82 in charge of each region as the target code amount of each region when processing the same picture type next (S141).

【0083】この実施の形態により,各々のピクチャ処
理毎に符号化対象の各部分の過去の特性を反映して符号
量が各部分に目標値として割り当てられるため,画像全
体の符号量の配分が従来技術に比べてより適切になり,
良い画質が得られるようになる。具体的には,ピクチャ
符号化開始時毎にピクチャ内に設定した複数の領域毎の
適切な目標符号量を過去のピクチャの領域毎の情報から
決定し,それに基づいて領域毎に符号量制御を行うこと
でより高画質な符号化を実現することが可能となる。
According to this embodiment, the code amount is assigned to each portion as a target value by reflecting the past characteristics of each portion to be coded for each picture process, so that the code amount of the entire image is distributed. More appropriate than the prior art,
Good image quality can be obtained. Specifically, an appropriate target code amount for each of a plurality of regions set in the picture at each start of picture coding is determined from information for each region of a past picture, and code amount control is performed for each region based on the information. By doing so, it is possible to realize higher quality encoding.

【0084】〔第9の実施の形態〕図17は,第9の実
施の形態に係る動画像符号化装置の構成例であって,複
数の画像シーケンスを多重化して伝送する際の動画像符
号化システムを表している。この動画像符号化装置は,
複数の入力画像シーケンス93に対応する複数の単位符
号化部90,目標符号量決定部91,多重化部(MUX
部)92から構成される。
[Ninth Embodiment] FIG. 17 shows an example of the configuration of a moving picture encoding apparatus according to the ninth embodiment, in which a plurality of picture sequences are multiplexed and transmitted. It represents a chemical system. This video encoding device
A plurality of unit encoders 90 corresponding to a plurality of input image sequences 93, a target code amount determination unit 91, and a multiplexing unit (MUX)
(Unit) 92.

【0085】以下に,図18(A)のフローチャートに
従って,図17に示す動画像符号化装置の全体の動作を
説明する。
Hereinafter, the overall operation of the moving picture coding apparatus shown in FIG. 17 will be described with reference to the flowchart of FIG.

【0086】各画像シーケンス93内のピクチャはそれ
ぞれに対応する各単位符号化部90へ入力され(S15
0),各単位符号化部90において以下の処理により符
号化される。この際に,各単位符号化部90は,目標符
号量決定部91から,これから処理するピクチャのピク
チャ目標符号量94が与えられたのち,ピクチャの符号
化を行う。
The pictures in each image sequence 93 are input to each corresponding unit encoding section 90 (S15).
0), each unit encoding section 90 performs encoding by the following processing. At this time, each unit encoding unit 90 encodes the picture after receiving the picture target code amount 94 of the picture to be processed from the target code amount determination unit 91.

【0087】各単位符号化部90は,符号化するピクチ
ャの発生符号量が与えられた目標符号量94に一致する
ように符号量の制御をしながら,そのピクチャの各マク
ロブロックを符号化する(S151)。ピクチャ符号化
が終了すると,各単位符号化部90は,発生符号量,平
均量子化パラメータ95などの情報を目標符号量決定部
91に伝達する(S152)。各単位符号化部90から
出力された各ビットストリーム96は,MUX部92に
おいて一つのビットストリーム97に統合される(S1
53)。
Each unit encoder 90 encodes each macroblock of the picture while controlling the code amount so that the generated code amount of the picture to be encoded matches the given target code amount 94. (S151). When the picture encoding is completed, each unit encoding unit 90 transmits information such as the generated code amount and the average quantization parameter 95 to the target code amount determining unit 91 (S152). Each bit stream 96 output from each unit encoding unit 90 is integrated into one bit stream 97 in the MUX unit 92 (S1).
53).

【0088】目標符号量決定部91においては,以下の
ような動作をする。図18(B)に示すフローチャート
に従って説明する。
The target code amount determining section 91 operates as follows. Description will be made according to the flowchart shown in FIG.

【0089】目標符号量決定部91は,各単位符号化部
90が出力する発生符号量の総和から全画像シーケンス
のピクチャの発生符号量(以下,全ピクチャの発生符号
量とする)を求める(S154)。また,各単位符号化
部90が出力する平均量子化パラメータと各ピクチャの
大きさの比率から全画像シーケンスのピクチャの平均量
子化パラメータ(以下,全ピクチャの平均量子化パラメ
ータとする)を求める(S155)。以上に述べた全ピ
クチャの発生符号量と全ピクチャの平均量子化パラメー
タの積をとることで全ピクチャの複雑さ指標を求める
(S156)。そして,過去のピクチャの全ピクチャの
複雑さ指標と処理中のGOP(Group Of Picture)の残
りの符号量の総和から,これから処理する全ピクチャの
目標符号量を算出する(S157)。
The target code amount determining unit 91 obtains the generated code amount of the picture of the entire image sequence (hereinafter, referred to as the generated code amount of all the pictures) from the total sum of the generated code amounts output from the unit coding units 90 ( S154). Further, an average quantization parameter of the pictures of the entire image sequence (hereinafter referred to as an average quantization parameter of all the pictures) is obtained from the ratio of the average quantization parameter output from each unit encoding unit 90 and the size of each picture (hereinafter, referred to as the average quantization parameter of all the pictures) ( S155). The complexity index of all pictures is obtained by multiplying the generated code amount of all pictures described above and the average quantization parameter of all pictures (S156). Then, the target code amount of all the pictures to be processed is calculated from the complexity index of all the past pictures and the sum of the remaining code amounts of the GOP (Group Of Picture) being processed (S157).

【0090】次に,各単位符号化部90の発生符号量と
平均量子化パラメータの積から複雑さ指標を求め,同時
に各単位符号化部90の複雑さ指標の総和を算出する
(S158)。この複雑さ指標の総和に対するある単位
符号化部90の複雑さ指標の比率と前述の全ピクチャの
目標符号量との積を各画像シーケンス93のピクチャ目
標符号量94とする(S159)。このようにして,そ
れぞれの単位符号化部90のピクチャの目標符号量94
を決定し,次に各単位符号化部90が処理する同じピク
チャタイプのピクチャの目標符号量として,各単位符号
化部90に与える(S160)。
Next, a complexity index is obtained from the product of the generated code amount of each unit encoding unit 90 and the average quantization parameter, and at the same time, the sum of the complexity index of each unit encoding unit 90 is calculated (S158). The product of the ratio of the complexity index of a certain unit encoding unit 90 to the sum of the complexity indexes and the above-mentioned target code amount of all the pictures is set as the picture target code amount 94 of each image sequence 93 (S159). Thus, the target code amount 94 of the picture of each unit encoding unit 90 is obtained.
Is determined, and is given to each unit encoding unit 90 as a target code amount of a picture of the same picture type processed by each unit encoding unit 90 (S160).

【0091】この実施の形態により,複数の画像シーケ
ンスのピクチャ単位での統一的なレート制御が可能とな
る。特に,複雑さを表す指標として発生符号量と平均量
子化パラメータの積を符号量の配分に用いているが,こ
の指標は同じ画像パターンであればどのような量子化を
行ったかによらず一定の値になる傾向があり,より適切
な符号量配分が可能となる。また,ピクチャタイプによ
る画像の複雑さの偏りもピクチャタイプ別の符号量配分
決定処理をすることで問題なく処理することができる。
According to this embodiment, unified rate control in a picture unit of a plurality of image sequences can be performed. In particular, the product of the generated code amount and the average quantization parameter is used to distribute the code amount as an index indicating the complexity, but this index is constant regardless of the type of quantization performed for the same image pattern. , And more appropriate code amount distribution becomes possible. In addition, the bias of the complexity of the image depending on the picture type can be processed without any problem by performing the code amount distribution determination processing for each picture type.

【0092】〔第10の実施の形態〕図19は,第10
の実施の形態に係る動画像符号化装置の構成例を示して
いる。この動画像符号化装置は,前段ですでにつくられ
た複数のビデオオブジェクトシーケンスの符号化を統一
的なレート制御のもとで符号化を行うもので,具体的な
符号化方法としてはMPEG4を用いる。
[Tenth Embodiment] FIG. 19 shows a tenth embodiment.
1 shows a configuration example of a video encoding device according to an embodiment of the present invention. This moving picture encoding apparatus encodes a plurality of video object sequences already created in the preceding stage under unified rate control. As a specific encoding method, MPEG4 is used. Used.

【0093】以下に,図20(A)のフローチャートに
従って,図19に示す動画像符号化装置の全体の動作を
説明する。
Hereinafter, the overall operation of the moving picture coding apparatus shown in FIG. 19 will be described with reference to the flowchart of FIG.

【0094】各ビデオオブジェクトシーケンス104内
のビデオオブジェクトプレーン(以下,VOPと表す)
は,それぞれに対応する各単位符号化部101に入力さ
れ(S170),各単位符号化部101において符号化
される。また,ここでいうビデオオブジェクト内のVO
Pとは,通常の画像シーケンス内のピクチャと対応する
ものである。
A video object plane in each video object sequence 104 (hereinafter referred to as VOP)
Is input to each corresponding unit encoding unit 101 (S170), and is encoded in each unit encoding unit 101. Also, the VO in the video object referred to here
P corresponds to a picture in a normal image sequence.

【0095】この際に,各単位符号化部101は,目標
符号量決定部102から,これから処理するVOPの目
標符号量105が与えられたのち,VOPの符号化を行
う。各単位符号化部101は,符号化するVOPの発生
符号量が目標符号量決定部102から与えられた目標符
号量105に一致するように符号量の制御をしながら,
そのVOPの各マクロブロックを符号化する(S17
1)。VOP符号化が終了時すると,各単位符号化部1
01は,発生符号量,平均量子化パラメータ106など
の情報を目標符号量決定部102に伝達する(S17
2)。各単位符号化部101から出力された各ビットス
トリーム107は,MUX部103において一つのビッ
トストリーム108に統合される(S173)。
At this time, each unit coding section 101 performs VOP coding after being provided with a target code amount 105 of a VOP to be processed from the target code amount determination section 102. Each unit encoding unit 101 controls the code amount such that the generated code amount of the VOP to be encoded matches the target code amount 105 given from the target code amount determination unit 102,
Encode each macroblock of the VOP (S17)
1). When the VOP encoding is completed, each unit encoding unit 1
01 transmits information such as the generated code amount and the average quantization parameter 106 to the target code amount determination unit 102 (S17).
2). Each bit stream 107 output from each unit encoding unit 101 is integrated into one bit stream 108 in the MUX unit 103 (S173).

【0096】目標符号量決定部102においては,以下
のような動作をする。図20(B)に示すフローチャー
トに従って説明する。
The target code amount determining section 102 operates as follows. Description will be made according to the flowchart shown in FIG.

【0097】目標符号量決定部102は,各単位符号化
部101が出力する発生符号量の総和から全オブジェク
トシーケンスのVOPの発生符号量(以下,全VOPの
発生符号量とする)を求める(S174)。また,各単
位符号化部101が出力する平均量子化パラメータと各
VOPの大きさの比率から全オブジェクトシーケンスの
VOPの平均量子化パラメータ(以下,全VOPの平均
量子化パラメータとする)を求める(S175)。以上
に述べた全VOPの発生符号量と全VOPの平均量子化
パラメータの積をとることで全VOPの複雑さ指標を求
める(S176)。そして,過去のVOPの全VOPの
複雑さ指標と残りの利用可能な符号量の総和から,これ
から処理する全VOPの目標符号量を算出する(S17
7)。
The target code amount determination unit 102 obtains the generated code amount of the VOPs of all object sequences (hereinafter, referred to as the generated code amount of all VOPs) from the total sum of the generated code amounts output from each unit encoding unit 101 (hereinafter, referred to as the generated code amount of all VOPs). S174). Further, an average quantization parameter of VOPs of all object sequences (hereinafter, referred to as an average quantization parameter of all VOPs) is obtained from a ratio of the average quantization parameter output from each unit encoding unit 101 and the size of each VOP (hereinafter, referred to as an average quantization parameter of all VOPs). S175). The complexity index of all VOPs is obtained by multiplying the amount of generated codes of all VOPs and the average quantization parameter of all VOPs described above (S176). Then, the target code amount of all VOPs to be processed is calculated from the complexity index of all VOPs in the past VOP and the sum of the remaining available code amounts (S17).
7).

【0098】次に,各単位符号化部101の発生符号量
と平均量子化パラメータの積から複雑さ指標を求め,同
時に各単位符号化部101の複雑さ指標の総和を算出す
る(S178)。この複雑さ指標の総和に対するある単
位符号化部101の複雑さ指標の比率と前述の全VOP
の目標符号量との積を,各ビデオオブジェクトシーケン
ス104のVOPの各単位符号化部101に対する目標
符号量105とする(S179) 。このようにして,そ
れぞれの単位符号化部101のVOPの目標符号量10
5を決定し,次に各単位符号化部101が処理する同じ
符号化タイプのVOPの目標符号量として,各単位符号
化部101に与える(S180)。
Next, a complexity index is obtained from the product of the generated code amount of each unit encoding unit 101 and the average quantization parameter, and at the same time, the sum of the complexity index of each unit encoding unit 101 is calculated (S178). The ratio of the complexity index of a certain unit encoding unit 101 to the sum of the complexity indexes and the above-mentioned total VOP
Of the VOP of each video object sequence 104 with respect to each unit encoding unit 101 (S179). In this manner, the target code amount 10 of the VOP of each unit coding unit 101 is obtained.
5 is given, and given to each unit encoding unit 101 as a target code amount of a VOP of the same encoding type processed by each unit encoding unit 101 (S180).

【0099】この実施の形態により,複数のビデオオブ
ジェクトシーケンスのVOP単位での統一的なレート制
御が可能となる。特に,複雑さを表す指標として発生符
号量と平均量子化パラメータの積を符号量の配分に用い
ているが,この指標は同じ画像パターンであればどのよ
うな量子化を行ったかによらず一定の値になる傾向があ
り,より適切な符号量配分が可能となる。
According to this embodiment, unified rate control of a plurality of video object sequences on a VOP basis is possible. In particular, the product of the generated code amount and the average quantization parameter is used to distribute the code amount as an index indicating the complexity, but this index is constant regardless of the type of quantization performed for the same image pattern. , And more appropriate code amount distribution becomes possible.

【0100】[0100]

【発明の効果】以上に述べたように本発明によれば,動
画像の符号化において高画質な符号化が可能になるとい
う効果が得られる。特に,複数の符号化装置からなる動
画像の符号化においては,高性能で高画質な符号化が可
能になるという効果が得られる。
As described above, according to the present invention, it is possible to obtain an effect that high-quality coding can be performed in coding a moving image. In particular, in the encoding of a moving image including a plurality of encoding devices, an effect that high-performance and high-quality encoding can be performed is obtained.

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

【図1】第1の実施の形態の動画像符号化装置の構成図
である。
FIG. 1 is a configuration diagram of a video encoding device according to a first embodiment.

【図2】第1の実施の形態の動画像符号化装置の動作を
示すフローチャートである。
FIG. 2 is a flowchart illustrating an operation of the video encoding device according to the first embodiment.

【図3】第2の実施の形態の動画像符号化装置の構成図
である。
FIG. 3 is a configuration diagram of a video encoding device according to a second embodiment.

【図4】第2の実施の形態の動画像符号化装置の動作を
示すフローチャートである。
FIG. 4 is a flowchart illustrating an operation of the video encoding device according to the second embodiment.

【図5】第3の実施の形態の動画像符号化装置の構成図
である。
FIG. 5 is a configuration diagram of a video encoding device according to a third embodiment.

【図6】第3の実施の形態の動画像符号化装置の動作を
示すフローチャートである。
FIG. 6 is a flowchart illustrating an operation of the video encoding device according to the third embodiment.

【図7】第4の実施の形態の動画像符号化装置の構成図
である。
FIG. 7 is a configuration diagram of a video encoding device according to a fourth embodiment.

【図8】第4の実施の形態の動画像符号化装置の動作を
示すフローチャートである。
FIG. 8 is a flowchart illustrating an operation of the video encoding device according to the fourth embodiment.

【図9】第5の実施の形態の動画像符号化装置の構成図
である。
FIG. 9 is a configuration diagram of a video encoding device according to a fifth embodiment.

【図10】第5の実施の形態の動画像符号化装置の動作
を示すフローチャートである。
FIG. 10 is a flowchart illustrating an operation of the video encoding device according to the fifth embodiment.

【図11】第6の実施の形態の動画像符号化装置の構成
図である。
FIG. 11 is a configuration diagram of a video encoding device according to a sixth embodiment.

【図12】第6の実施の形態の動画像符号化装置の動作
を示すフローチャートである。
FIG. 12 is a flowchart illustrating an operation of the video encoding device according to the sixth embodiment.

【図13】第7の実施の形態の動画像符号化装置の構成
図である。
FIG. 13 is a configuration diagram of a video encoding device according to a seventh embodiment.

【図14】第7の実施の形態の動画像符号化装置の動作
を示すフローチャートである。
FIG. 14 is a flowchart illustrating an operation of the video encoding device according to the seventh embodiment.

【図15】第8の実施の形態の動画像符号化装置の構成
図である。
FIG. 15 is a configuration diagram of a video encoding device according to an eighth embodiment.

【図16】第8の実施の形態の動画像符号化装置の動作
を示すフローチャートである。
FIG. 16 is a flowchart illustrating an operation of the video encoding device according to the eighth embodiment.

【図17】第9の実施の形態の動画像符号化装置の構成
図である。
FIG. 17 is a configuration diagram of a video encoding device according to a ninth embodiment.

【図18】第9の実施の形態の動画像符号化装置の動作
を示すフローチャートである。
FIG. 18 is a flowchart illustrating an operation of the video encoding device according to the ninth embodiment.

【図19】第10の実施の形態の動画像符号化装置の構
成図である。
FIG. 19 is a configuration diagram of a video encoding device according to a tenth embodiment.

【図20】第10の実施の形態の動画像符号化装置の動
作を示すフローチャートである。
FIG. 20 is a flowchart illustrating an operation of the video encoding device according to the tenth embodiment.

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

10 入力画像分割部 11 単位符号化部 12 目標符号量決定部 13 ストリーム再構成部 14 入力画像シーケンス 15 分割画像 16 目標符号量 17 予測誤差分散値/入力信号分散値 18 ストリーム 19 ストリーム Reference Signs List 10 input image division unit 11 unit encoding unit 12 target code amount determination unit 13 stream reconstruction unit 14 input image sequence 15 divided image 16 target code amount 17 prediction error variance value / input signal variance value 18 stream 19 stream

【手続補正書】[Procedure amendment]

【提出日】平成11年9月27日(1999.9.2
7)
[Submission date] September 27, 1999 (September 9, 1999
7)

【手続補正1】[Procedure amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】特許請求の範囲[Correction target item name] Claims

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【特許請求の範囲】[Claims]

【手続補正2】[Procedure amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0010[Correction target item name] 0010

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0010】また,このような手段を使う場合として,
複数の単位符号化部がピクチャの各部分を並列に符号化
する場合,単一の符号化装置内で符号化制御処理のみ各
部分ごとに行う場合などが挙げられる。
[0010] Further, when using such means,
If the encoding unit a plurality of units for encoding each part of the picture in parallel, etc. When performing only encoding control process in a single coding unit for each moiety.

【手続補正3】[Procedure amendment 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0014[Correction target item name] 0014

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0014】具体的には,処理量の多さなどの実装上の
問題からピクチャを分割して複数の符号化部で符号化を
する必要がある場合に,以上のような符号化制御方法を
とることで,単一の符号化部ですべて符号化する場合と
同等もしくはそれ以上の画質を実現することが可能とな
る。
Specifically, when it is necessary to divide a picture and perform encoding by a plurality of encoding units due to mounting problems such as a large amount of processing, the above-described encoding control method is used. By doing so, it is possible to achieve an image quality equivalent to or better than the case where all are encoded by a single encoding unit.
You.

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0024[Correction target item name] 0024

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0024】〔本発明とは異なる第2の実施の形態〕図
3は,第2の実施の形態に係る動画像符号化装置の構成
例であって,複数の画像シーケンスを多重化して伝送す
る際の動画像符号化システムを表している。この動画像
符号化装置は,複数の入力画像シーケンス23に対応す
る複数の単位符号化部20,目標符号量決定部21,多
重化部(MUX部)22から構成される。
[Second Embodiment Different from the Present Invention] FIG. 3 shows an example of the configuration of a moving picture coding apparatus according to a second embodiment, in which a plurality of picture sequences are multiplexed and transmitted. FIG. This moving picture coding apparatus includes a plurality of unit coding units 20 corresponding to a plurality of input image sequences 23, a target code amount determining unit 21, and a multiplexing unit (MUX unit) 22.

【手続補正5】[Procedure amendment 5]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0042[Correction target item name] 0042

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0042】〔本発明とは異なる第4の実施の形態〕図
7は,第4の実施の形態に係る動画像符号化装置の構成
例であって,複数の画像シーケンスを多重化して伝送す
る際の動画像符号化システムを表している。この動画像
符号化装置は,複数の入力画像シーケンス43に対応す
る複数の単位符号化部40,目標符号量決定部41,多
重化部(MUX部)42から構成される。
[Fourth Embodiment Different from the Present Invention] FIG. 7 shows an example of the configuration of a moving picture coding apparatus according to a fourth embodiment, in which a plurality of picture sequences are multiplexed and transmitted. FIG. This moving picture coding apparatus includes a plurality of unit coding units 40 corresponding to a plurality of input image sequences 43, a target code amount determination unit 41, and a multiplexing unit (MUX unit) 42.

【手続補正6】[Procedure amendment 6]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0084[Correction target item name]

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0084】〔本発明とは異なる第9の実施の形態〕図
17は,第9の実施の形態に係る動画像符号化装置の構
成例であって,複数の画像シーケンスを多重化して伝送
する際の動画像符号化システムを表している。この動画
像符号化装置は,複数の入力画像シーケンス93に対応
する複数の単位符号化部90,目標符号量決定部91,
多重化部(MUX部)92から構成される。
[Ninth Embodiment Different from the Present Invention] FIG. 17 shows an example of the configuration of a moving picture coding apparatus according to the ninth embodiment, in which a plurality of picture sequences are multiplexed and transmitted. FIG. The moving picture coding apparatus includes a plurality of unit coding units 90 corresponding to a plurality of input image sequences 93, a target code amount determination unit 91,
A multiplexing unit (MUX unit) 92 is provided.

【手続補正7】[Procedure amendment 7]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0092[Correction target item name] 0092

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0092】〔本発明とは異なる第10の実施の形態〕
図19は,第10の実施の形態に係る動画像符号化装置
の構成例を示している。この動画像符号化装置は,前段
ですでにつくられた複数のビデオオブジェクトシーケン
スの符号化を統一的なレート制御のもとで符号化を行う
もので,具体的な符号化方法としてはMPEG4を用い
る。
[Tenth Embodiment Different from the Present Invention]
FIG. 19 shows a configuration example of a video encoding device according to the tenth embodiment. This video encoding apparatus encodes a plurality of video object sequences already created in the preceding stage under unified rate control. MPEG4 is used as a specific encoding method. Used.

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C059 KK23 MA00 MA04 MA05 MA23 MB14 MC11 PP04 RB10 TA46 TA60 TB04 TB07 TB18 TC03 TC10 TC38 UA02  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5C059 KK23 MA00 MA04 MA05 MA23 MB14 MC11 PP04 RB10 TA46 TA60 TB04 TB07 TB18 TC03 TC10 TC38 UA02

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 複数の領域からなるピクチャに対して符
号化を行う動画像符号化装置であって,ピクチャの領域
毎の符号化処理情報を利用して,ピクチャの各領域毎の
目標符号量を決定する目標符号量決定部と,前記目標符
号量決定部が決定した目標符号量に従って,ピクチャの
各領域の符号化処理を行う符号化部とを備えることを特
徴とする動画像符号化装置。
1. A moving picture coding apparatus for coding a picture comprising a plurality of regions, wherein a target code amount for each region of the picture is calculated by using coding processing information for each region of the picture. And a coding unit for coding each area of the picture in accordance with the target code amount determined by the target code amount determining unit. .
【請求項2】 複数の画像シーケンスをピクチャ単位で
同期して符号化する動画像符号化装置であって,各画像
シーケンスの同時刻上のピクチャの符号化処理情報を利
用して,各画像シーケンス毎のピクチャの目標符号量を
決定する目標符号量決定部と,前記目標符号量決定部が
決定した目標符号量に従って,各画像シーケンスのピク
チャの符号化処理を行う符号化部とを備えることを特徴
とする動画像符号化装置。
2. A moving picture coding apparatus for coding a plurality of picture sequences synchronously on a picture basis, wherein each picture sequence is encoded by using coding processing information of a picture at the same time of each picture sequence. A target code amount determining unit that determines a target code amount of each picture; and an encoding unit that performs an encoding process of a picture of each image sequence according to the target code amount determined by the target code amount determining unit. A moving picture coding apparatus characterized by the following.
【請求項3】 請求項1または請求項2に記載の動画像
符号化装置において,前記目標符号量決定部は,前記符
号化処理情報として複雑さを表す指標を用いることを特
徴とする動画像符号化装置。
3. The moving picture coding apparatus according to claim 1, wherein the target code amount determining unit uses an index indicating complexity as the coding processing information. Encoding device.
【請求項4】 請求項3に記載の動画像符号化装置にお
いて,前記目標符号量決定部が符号化処理情報として用
いる複雑さを表す指標は,平均量子化パラメータと発生
符号量の積で表されるものであることを特徴とする動画
像符号化装置。
4. The moving picture coding apparatus according to claim 3, wherein the index indicating the complexity used by the target code amount determining unit as coding processing information is represented by a product of an average quantization parameter and a generated code amount. A moving picture coding apparatus characterized in that the moving picture is encoded.
【請求項5】 複数の領域からなるピクチャに対して符
号化を行う動画像符号化装置であって,ピクチャの領域
毎の符号化処理情報として複雑さを表す指標を利用し
て,ピクチャの各領域毎の目標符号量を決定する目標符
号量決定部と,前記目標符号量決定部が決定した目標符
号量に従って,ピクチャの各領域の符号化処理を行う符
号化部とを備え,前記目標符号量決定部が複雑さを表す
指標を算出するための符号化処理情報を集計するピクチ
ャとして,符号化処理するピクチャと同じピクチャタイ
プを持つピクチャを用いることを特徴とする動画像符号
化装置。
5. A moving picture coding apparatus for coding a picture comprising a plurality of regions, wherein each of the pictures is encoded by using an index indicating complexity as coding processing information for each region of the picture. A target code amount determining unit that determines a target code amount for each region; and an encoding unit that performs an encoding process on each region of the picture according to the target code amount determined by the target code amount determining unit. A moving picture coding apparatus, characterized in that a picture having the same picture type as a picture to be coded is used as a picture for counting coding processing information for calculating an index indicating complexity by a quantity determining unit.
【請求項6】 複数の画像シーケンスをピクチャ単位で
同期して符号化する動画像符号化装置であって,各画像
シーケンスの同時刻上のピクチャの符号化処理情報とし
て複雑さを表す指標を利用して,各画像シーケンス毎の
ピクチャの目標符号量を決定する目標符号量決定部と,
前記目標符号量決定部が決定した目標符号量に従って,
各画像シーケンスのピクチャの符号化処理を行う符号化
部とを備え,前記目標符号量決定部が複雑さを表す指標
を算出するための符号化処理情報を集計するピクチャと
して,フレーム内予測,フレーム間予測などの複数のピ
クチャ符号化タイプが存在する場合に符号化処理する各
画像シーケンスのピクチャと同じピクチャタイプを持つ
ピクチャを用いることを特徴とする動画像符号化装置。
6. A moving picture coding apparatus for coding a plurality of picture sequences synchronously on a picture basis, wherein an index representing complexity is used as coding processing information of a picture at the same time in each picture sequence. A target code amount determining unit for determining a target code amount of a picture for each image sequence;
According to the target code amount determined by the target code amount determination unit,
An encoding unit that performs an encoding process on a picture of each image sequence, wherein the target code amount determining unit aggregates encoding processing information for calculating an index indicating complexity, as intra-frame prediction, frame A moving picture coding apparatus characterized by using a picture having the same picture type as a picture of each picture sequence to be coded when there are a plurality of picture coding types such as inter prediction.
【請求項7】 請求項2または請求項6に記載の動画像
符号化装置において,さらに,画像シーケンスとしてオ
ブジェクト符号化におけるビデオオブジェクトシーケン
スを用いることを特徴とする動画像符号化装置。
7. The moving picture coding apparatus according to claim 2, further comprising using a video object sequence in object coding as a picture sequence.
【請求項8】 複数の領域からなるピクチャに対して符
号化を行う動画像符号化方法であって,ピクチャの領域
毎の符号化処理情報を利用して,ピクチャの各領域毎の
目標符号量を決定し,決定した目標符号量に従って,ピ
クチャの各領域の符号化処理を行うことを特徴とする動
画像符号化方法。
8. A moving picture coding method for coding a picture composed of a plurality of regions, wherein a target code amount for each region of the picture is calculated using coding processing information for each region of the picture. And a coding process for each region of the picture according to the determined target code amount.
【請求項9】 複数の画像シーケンスをピクチャ単位で
同期して符号化する動画像符号化方法であって,各画像
シーケンスの同時刻上のピクチャの符号化処理情報を利
用して,各画像シーケンス毎のピクチャの目標符号量を
決定し,決定した目標符号量に従って,各画像シーケン
スのピクチャの符号化処理を行うことを特徴とする動画
像符号化方法。
9. A moving picture coding method for coding a plurality of picture sequences synchronously on a picture basis, wherein each picture sequence is encoded using information on a picture at the same time of each picture sequence. A moving picture coding method comprising: determining a target code amount of each picture; and performing a coding process on the picture of each image sequence according to the determined target code amount.
【請求項10】 請求項8または請求項9に記載の動画
像符号化方法において,符号化処理情報として,複雑さ
を表す指標を用いることを特徴とする動画像符号化方
法。
10. The moving picture coding method according to claim 8, wherein an index indicating complexity is used as coding processing information.
【請求項11】 請求項10に記載の動画像符号化方法
において,複雑さを表す指標として平均量子化パラメー
タと発生符号量の積で表される複雑さ指標を用いること
を特徴とする動画像符号化方法。
11. A moving picture encoding method according to claim 10, wherein a complexity index represented by a product of an average quantization parameter and a generated code amount is used as an index indicating complexity. Encoding method.
【請求項12】 複数の領域からなるピクチャに対して
符号化を行う動画像符号化方法であって,ピクチャの領
域毎の符号化処理情報として複雑さを表す指標を利用し
て,ピクチャの各領域毎の目標符号量を決定し,決定し
た目標符号量に従って,ピクチャの各領域の符号化処理
を行うとともに,前記複雑さを表す指標を算出するため
の符号化処理情報を集計するピクチャとして,符号化処
理するピクチャと同じピクチャタイプを持つピクチャを
用いることを特徴とする動画像符号化方法。
12. A moving picture coding method for coding a picture composed of a plurality of areas, wherein each picture is encoded using an index indicating complexity as coding processing information for each area of the picture. A target code amount for each region is determined, and in accordance with the determined target code amount, encoding processing is performed on each region of the picture, and encoding processing information for calculating an index indicating the complexity is calculated as a picture for counting. A moving picture encoding method using a picture having the same picture type as a picture to be encoded.
【請求項13】 複数の画像シーケンスをピクチャ単位
で同期して符号化する動画像符号化方法であって,各画
像シーケンスの同時刻上のピクチャの符号化処理情報と
して複雑さを表す指標を利用して,各画像シーケンス毎
のピクチャの目標符号量を決定し,決定した目標符号量
に従って,各画像シーケンスのピクチャの符号化処理を
行うとともに,前記複雑さを表す指標を算出するための
符号化処理情報を集計するピクチャとして,フレーム内
予測,フレーム間予測などの複数のピクチャ符号化タイ
プが存在する場合に符号化処理する各画像シーケンスの
ピクチャと同じピクチャタイプを持つピクチャを用いる
ことを特徴とする動画像符号化方法。
13. A moving image encoding method for synchronously encoding a plurality of image sequences in units of pictures, wherein an index representing complexity is used as encoding processing information of pictures at the same time in each image sequence. Then, a target code amount of a picture for each image sequence is determined, a coding process of a picture of each image sequence is performed according to the determined target code amount, and coding for calculating the index indicating the complexity is performed. When a plurality of picture coding types such as intra-frame prediction and inter-frame prediction are present, a picture having the same picture type as the picture of each image sequence to be coded is used as the picture for which the processing information is totaled. Moving image encoding method.
【請求項14】 請求項9または請求項13に記載の動
画像符号化方法において,さらに,画像シーケンスとし
てオブジェクト符号化におけるビデオオブジェクトシー
ケンスを用いることを特徴とする動画像符号化方法。
14. The moving picture coding method according to claim 9, further comprising using a video object sequence in object coding as a picture sequence.
JP27079498A 1998-09-25 1998-09-25 Moving picture coding apparatus and moving picture coding method Expired - Lifetime JP3393595B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP27079498A JP3393595B2 (en) 1998-09-25 1998-09-25 Moving picture coding apparatus and moving picture coding method
KR1019990039852A KR100324471B1 (en) 1998-09-25 1999-09-16 Method and apparatus for coding moving picture and computer readable recording medium for recording computer program therefor
GB9922507A GB2344954B (en) 1998-09-25 1999-09-24 Apparatus and method for encoding moving images and recording medium containing computer-readable encoding program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27079498A JP3393595B2 (en) 1998-09-25 1998-09-25 Moving picture coding apparatus and moving picture coding method

Publications (2)

Publication Number Publication Date
JP2000102003A true JP2000102003A (en) 2000-04-07
JP3393595B2 JP3393595B2 (en) 2003-04-07

Family

ID=17491108

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27079498A Expired - Lifetime JP3393595B2 (en) 1998-09-25 1998-09-25 Moving picture coding apparatus and moving picture coding method

Country Status (3)

Country Link
JP (1) JP3393595B2 (en)
KR (1) KR100324471B1 (en)
GB (1) GB2344954B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002199397A (en) * 2000-12-26 2002-07-12 Nec Corp Moving image encoding system
JP2005252752A (en) * 2004-03-05 2005-09-15 Nippon Telegr & Teleph Corp <Ntt> Moving picture coding apparatus, moving picture coding method, moving picture coding program, and computer-readable recording medium recording the program
JP2017005503A (en) * 2015-06-10 2017-01-05 日本電信電話株式会社 Video encoding apparatus, video encoding method, and video encoding program

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9912079D0 (en) * 1999-05-24 1999-07-21 Motorola Ltd An image encoding method and apparatus

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06268981A (en) * 1993-03-11 1994-09-22 Hitachi Denshi Ltd Picture data encoding device
JPH06303590A (en) * 1993-04-13 1994-10-28 Matsushita Electric Ind Co Ltd Encoding method and decoding method for parallel processing picture
BE1007808A3 (en) * 1993-11-30 1995-10-24 Philips Electronics Nv Apparatus for encoding a video signal.
US5969764A (en) * 1997-02-14 1999-10-19 Mitsubishi Electric Information Technology Center America, Inc. Adaptive video coding method
US6023296A (en) * 1997-07-10 2000-02-08 Sarnoff Corporation Apparatus and method for object based rate control in a coding system
US5986712A (en) * 1998-01-08 1999-11-16 Thomson Consumer Electronics, Inc. Hybrid global/local bit rate control
WO1999038316A2 (en) * 1998-01-26 1999-07-29 Tiernan Communications, Inc. Method and apparatus for advanced television signal encoding and decoding

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002199397A (en) * 2000-12-26 2002-07-12 Nec Corp Moving image encoding system
JP2005252752A (en) * 2004-03-05 2005-09-15 Nippon Telegr & Teleph Corp <Ntt> Moving picture coding apparatus, moving picture coding method, moving picture coding program, and computer-readable recording medium recording the program
JP2017005503A (en) * 2015-06-10 2017-01-05 日本電信電話株式会社 Video encoding apparatus, video encoding method, and video encoding program

Also Published As

Publication number Publication date
KR20000023222A (en) 2000-04-25
GB2344954B (en) 2003-04-09
GB9922507D0 (en) 1999-11-24
JP3393595B2 (en) 2003-04-07
GB2344954A (en) 2000-06-21
KR100324471B1 (en) 2002-02-27

Similar Documents

Publication Publication Date Title
RU2502213C2 (en) Image processing device and image processing method
US6738423B1 (en) Method for encoding and decoding video information, a motion compensated video encoder and a corresponding decoder
US9762917B2 (en) Quantization method and apparatus in encoding/decoding
JP5524072B2 (en) Video encoding device
JP5241622B2 (en) Encoding apparatus and encoding method
US20220014758A1 (en) System and method for controlling video coding within image frame
HUE030635T2 (en) Variable length encoding and decoding system and variable length encoding and decoding method
EP1349395A2 (en) Moving picture coding method, moving picture coding apparatus, and moving picture coding program
WO2011050978A1 (en) Luminance dependent quantization
US6907071B2 (en) Selective prediction for intra-coding video data block
JP7020873B2 (en) Methods and encoders for video encoding
JP2000504531A (en) How to encode with area information
JP2000102003A (en) Moving picture coding apparatus and moving picture coding method
JP3626779B2 (en) Image coding method and apparatus
CN100542262C (en) Inverse Quantization Method Image Decoding Method and Device and Processor
KR100607390B1 (en) Method and apparatus for coding a digitized image using an image full motion vector
JP3812269B2 (en) Video encoding apparatus and method
CN102231825B (en) Bite rate control method and apparatus thereof
JP2001520838A (en) Digital image encoding method and encoding device
JP2001008207A (en) Dynamic image coder and method therefor
JP2011035807A (en) Moving image encoding method and moving image encoding device
JPH0420088A (en) Inter-frame coder
JPH1141610A (en) Variable speed encoding control method and apparatus
CN102271247B (en) Method and device for adjusting coding code rate
JP4582710B2 (en) Video encoding device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080131

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090131

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090131

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100131

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110131

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110131

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120131

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130131

Year of fee payment: 10

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term