KR100324471B1 - Method and apparatus for coding moving picture and computer readable recording medium for recording computer program therefor - Google Patents

Method and apparatus for coding moving picture and computer readable recording medium for recording computer program therefor Download PDF

Info

Publication number
KR100324471B1
KR100324471B1 KR1019990039852A KR19990039852A KR100324471B1 KR 100324471 B1 KR100324471 B1 KR 100324471B1 KR 1019990039852 A KR1019990039852 A KR 1019990039852A KR 19990039852 A KR19990039852 A KR 19990039852A KR 100324471 B1 KR100324471 B1 KR 100324471B1
Authority
KR
South Korea
Prior art keywords
picture
encoding
code amount
area
unit
Prior art date
Application number
KR1019990039852A
Other languages
Korean (ko)
Other versions
KR20000023222A (en
Inventor
나카무라켄
이케다미츠오
Original Assignee
미야즈 준이치로
니폰덴신뎅와 가부시키가이샤
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 미야즈 준이치로, 니폰덴신뎅와 가부시키가이샤 filed Critical 미야즈 준이치로
Publication of KR20000023222A publication Critical patent/KR20000023222A/en
Application granted granted Critical
Publication of KR100324471B1 publication Critical patent/KR100324471B1/en

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

본 발명은, 동화상 부호화장치, 동화상 부호화방법 및 그 컴퓨터 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 있어서, 특히 부호화 대상인 픽쳐의 각 부분마다의 목표 부호량을 결정함으로써 고성능의 부호화를 실현하는 동화상의 부호화기술에 관한 것이다. 복수의 영역으로 이루어지는 픽쳐에 대하여 부호화를 행하는 경우, 목표 부호량 결정부(12)는 픽쳐의 영역마다의 부호화 처리정보를 이용하여 픽쳐의 각 영역마다의 목표부호량을 결정한다. 각 영역에 대응하여 설치된 각 단위 부호화부(11)는 목표부호량 결정부(12)가 결정한 목표부호량에 따라 픽쳐의 각 영역의 부호화처리를 행한다.The present invention provides a moving picture encoding apparatus, a moving picture encoding method, and a computer-readable recording medium on which a computer program is recorded. Particularly, a moving picture that realizes high-performance encoding by determining a target code amount for each part of a picture to be encoded is determined. It relates to an encoding technique. When encoding is performed on a picture having a plurality of areas, the target code amount determination unit 12 determines the target code amount for each area of the picture by using the encoding processing information for each picture area. Each unit encoding unit 11 corresponding to each region performs encoding processing for each region of the picture according to the target encoding amount determined by the target encoding amount determination unit 12.

Description

동화상 부호화장치, 동화상 부호화방법 및 그 컴퓨터 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체{Method and apparatus for coding moving picture and computer readable recording medium for recording computer program therefor}Moving picture encoding apparatus, moving picture coding method, and a computer-readable recording medium recording the computer program therefor {Method and apparatus for coding moving picture and computer readable recording medium for recording computer program therefor}

본 발명은, 동화상 부호화장치, 동화상 부호화방법 및 그 컴퓨터 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것으로서, 특히 부호화 대상인 화상의 각 부분마다의 목표부호량을 결정함으로써 고성능의 부호화를 실현하는 동화상의 부호화기술에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving picture encoding apparatus, a moving picture encoding method, and a computer-readable recording medium on which a computer program is recorded. Particularly, a moving picture that realizes high-performance encoding by determining a target coding amount for each part of an image to be encoded. It relates to a coding technique of.

또한, 본 명세서는, 일본에서 이미 출원된 일본특허출원 평10-270794호 공보에 기초하고 있으며, 상기 일본출원의 기재내용은 본 명세서의 일부로서 반영되어 있다.In addition, this specification is based on Japanese Patent Application No. 10-270794 for which it was previously filed in Japan, The description of the said Japanese application is reflected as a part of this specification.

종래의 MPEG 2의 테스트 모델 5 등에 나타나 있는 부호량 제어방법에 있어서는, 이하와 같은 순서로 부호량을 제어하였다. 이하에서 사용하는 픽쳐란, 프레임 또는 필드 등에 대응하는 처리단위를 말한다. 그리고, 매크로 블록은, 16×16 화소로 이루어지며, 부호량제어의 최소단위인 처리단위이다.In the code amount control method shown in the test model 5 or the like of the conventional MPEG 2, the code amount is controlled in the following order. The picture used below refers to a processing unit corresponding to a frame or a field. The macroblock is made of 16x16 pixels and is a processing unit that is the minimum unit of code amount control.

(1) 이전에 처리한 예컨대 I픽쳐, P픽쳐, B픽쳐 등과 같은 각 픽쳐 형태의 픽쳐의 복잡함 지표와 이용가능한 G0P(Group 0f Picture)내의 나머지 부호량으로부터 해당 픽쳐의 목표부호량을 결정한다. 여기서, 복잡함 지표란 그 픽쳐의 발생부호량과 평균양자화 파라미터의 곱이다.(1) The target code amount of the corresponding picture is determined from the complexity index of each picture type picture such as an I picture, a P picture, a B picture, and the like, and the remaining code amount in the available G0P (Group 0f Picture). Here, the complexity index is a product of the generation code amount of the picture and the average quantization parameter.

(2) 픽쳐내에서 좌측위로부터 우측아래를 향해 래스터순으로 각 매크로 블록의 부호화가 진행된다. 이 때, 상기 픽쳐의 최초의 매크로 블록으로부터 처리중인 매크로 블록까지의 발생부호량과 목표부호량의 차이에 따른 값에 의해 상기 처리중인 매크로 블록의 DCT(Discrete Cosine Transform)계수의 양자화 파라미터(또는 양자화 스텝)가 결정된다. 발생부호량과 목표부호량의 차이가 크면 양자화 스텝이 큰값으로 결정되어 발생부호량이 작아지고, 반대로 발생부호량과 목표부호량의 차이가 작으면 양자화 스텝이 작은 값으로 결정되어 발생부호량이 커진다. 이에 따라, 결과적으로 처리중인 매크로 블록의 발생부호량이 제어된다. 여기서 최초의 매크로 블록으로부터 처리중인 매크로 블록까지의 목표부호량은, 픽쳐전체의 목표부호량을 픽쳐의 전체 매크로 블록수로 나눈 다음, 픽쳐의 최초의 매크로 블록으로부터 상기 처리중인 매크로 블록까지의 수를 곱한 것이다.(2) Encoding of each macro block is carried out raster order from the upper left to the lower right in the picture. At this time, the quantization parameter (or quantization) of the DCT (Discrete Cosine Transform) coefficient of the macroblock being processed by the value according to the difference between the generation code amount and the target code amount from the first macroblock of the picture to the macroblock being processed. Step) is determined. If the difference between the generation code amount and the target code amount is large, the quantization step is determined to be large and the generation code amount is small. On the contrary, if the difference between the generation code amount and the target code amount is small, the quantization step is determined to be small value and the generation code amount is increased. As a result, the generation code amount of the macro block being processed is controlled. Here, the target code amount from the first macro block to the macro block being processed is divided by the target code amount of the whole picture by the total number of macro blocks in the picture, and then the number from the first macro block of the picture to the macro block being processed. Multiplied.

종래의 기술에 있어서 픽쳐내의 각 매크로 블록의 양자화 파라미터는, 픽쳐의 최초로 처리되는 매크로 블록으로부터 처리중인 매크로 블록까지 발생한 부호량과 그 픽쳐 전체의 목표부호량으로부터 산출되는 최초의 매크로 블록으로부터 처리중인 매크로 블록까지의 목표부호량의 차이의 크기에 따라 결정되었다.In the prior art, the quantization parameter of each macro block in a picture is a macro being processed from the first macro block calculated from the code amount generated from the first macro block processed from the picture to the macro block being processed and the target code amount of the entire picture. It is determined by the magnitude of the difference in target code amounts up to the block.

그리고, 상기 최초의 매크로 블록으로부터 처리중인 매크로 블록까지의 목표부호량은 픽쳐전체의 목표부호량을 픽쳐의 전체 매크로 블록수로 나눈 다음, 픽쳐의 가장 처음의 매크로 블록으로부터 처리중인 매크로 블록까지의 수를 곱한 것이다. 따라서, DCT의 대상인 패턴의 성질이 픽쳐내에서 크게 편재할 때, 그 편재에 따른 양자화 파라미터를 결정하기가 어려웠다. 이에 따라, 발생부호량이 필요이상으로 많은 부분과 적은 부분이 생기고, 발생부호량이 적은 부분에서는 다른 부분에 비하여 화질의 열화가 심해지는 경향이 있다.The target code amount from the first macro block to the processing macro block is divided by the total number of macro blocks of the picture, and then the number from the first macro block of the picture to the processing macro block. Multiplied by Therefore, when the property of the pattern which is the object of DCT is largely ubiquitous in the picture, it is difficult to determine the quantization parameter according to the ubiquity. As a result, a large portion and a small portion occur more than necessary, and there is a tendency that the deterioration of image quality is more severe than that of other portions in a portion where the generated encoding amount is small.

또한, 종래의 기술에서는 픽쳐내의 매크로 블록을 래스터순으로 부호화처리하는 것을 전제로 하고 있으므로, 픽쳐의 복수의 부분을 병렬로 부호화처리하는 경우에는 상기와 같은 부호화 제어방법을 적용할 수 없었다.In addition, in the prior art, it is assumed that the macroblocks in the picture are encoded in raster order, and thus the above encoding control method cannot be applied when encoding a plurality of parts of the picture in parallel.

한편, 종래, 화면을 복수의 영역으로 나누고, 각 영역을 병렬로 부호화하는 부호화방법, 부호화장치 및 그 기록매체에 있어서는, 동일 시각상의 픽쳐내에 있어서의 각 영역의 화상내용이 영역에 따라 복잡하거나 단순하거나 하여도 각 영역을 담당하는 부호화부의 개체가 다르므로, 각각의 부호화부로서는 최적의 부호량의 배분 또는 양자화 스텝의 결정을 한다고 해도, 부호화 시스템 전체로 보았을 때 반드시 최적의 부호량의 배분 또는 양자화 스텝이라고 할 수 없는 문제가 있다. 특히, 비트율 등과 같은 부호화의 제약조건은 부호화 시스템 전체로서 주어지는 것이 일반적이므로, 상기와 같은 이유에 의해 전체로서의 부호화효율이 충분히 양호하다고는 할 수 없다.On the other hand, conventionally, in a coding method, an encoding apparatus, and a recording medium in which a screen is divided into a plurality of regions and the respective regions are encoded in parallel, the image content of each region in the same visual picture is complicated or simple depending on the region. Even if the coding units in charge of the respective areas are different even if they are used, even if each coding unit determines the optimal code amount distribution or quantization step, the optimal code amount must be distributed or quantized in the entire encoding system. There is a problem that cannot be called a step. In particular, the encoding constraints such as the bit rate are generally given as the whole encoding system. Therefore, the coding efficiency as a whole cannot be said to be sufficiently good for the above reasons.

그리고, 특정 영역의 화상이 복잡한 경우 다른 영역에 비하여 그 영역만이 극단적으로 부호량이 부족하거나, 반대로 특정 영역이 단순한 경우 다른 영역에 비하여 그 영역에 부호량이 과다하게 할당되는 경우가 생기므로, 부호화효율의 저하, 즉 화질의 저하가 시각적으로도 매우 감지되기 쉬워지는 문제가 있다.In the case where the image of a specific area is complex, only the area has an insufficient amount of code compared to other areas, or conversely, when a specific area is simple, an excessive amount of code may be allocated to the area compared to other areas. Decreases, i.e., lowers the image quality, is also very easily visually detected.

본 발명은 상기 문제점을 해결하기 위하여 안출된 것으로서, 본 발명의 첫 번째 목적은, 종래의 기술에 있어서, DCT의 대상인 화상패턴의 복잡함이 픽쳐내의 각 매크로 블록에 따라 크게 다를 때, 그 편재에 따른 양자화 파라미터를 결정하기가 곤란하므로 발생부호량이 필요이상으로 많은 부분과 적은 부분이 생기고, 발생부호량이 적은 부분에서는 다른 부분에 비하여 화질의 열화가 심해지는 문제점을 해결하는 데 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and the first object of the present invention is that, in the prior art, when the complexity of the image pattern, which is the subject of DCT, varies greatly depending on each macroblock in the picture, Since it is difficult to determine the quantization parameter, it is possible to solve a problem in that the amount of generated codes is larger than necessary and there are less portions, and the portions of the number of generated codes are worse than those of other portions.

본 발명의 두 번째 목적은, 종래, 픽쳐내의 매크로 블록을 래스터순으로 부호화처리하는 것을 전제로 하고 있으므로, 픽쳐를 적당히 복수의 부분으로 나누고, 나눈 후의 각 부분을 병렬로 부호화처리하는 경우에는, 픽쳐의 최초로 처리되는 매크로 블록으로부터 처리중인 매크로 블록까지 발생한 부호량과 그 픽쳐전체의 목표부호량으로부터 산출되는 최초의 매크로 블록으로부터 처리중인 매크로 블록까지의 목표부호량의 차이의 크기에 따라 결정되는 양자화 파라미터에 의해 발생부호량을 제어하는 방법을 적용할 수 없는 문제점을 해결하는 데 있다.Since the second object of the present invention is conventionally assumed to encode the macroblocks in a picture in raster order, when a picture is appropriately divided into a plurality of parts, and each part after division is encoded in parallel, the picture is processed. A quantization parameter determined according to the magnitude of the difference between the code amount occurring from the first macroblock processed to the macroblock being processed and the target code amount from the first macroblock calculated from the target code amount of the entire picture to the macroblock being processed. It is to solve the problem that can not be applied to the method of controlling the amount of generated by.

도 1은 본 발명의 제1 실시예에 따른 동화상 부호화장치의 구성을 나타내는 블록도이고,1 is a block diagram showing the configuration of a video encoding apparatus according to a first embodiment of the present invention;

도 2a는 도 1에 도시한 동화상 부호화장치의 동작을 나타내는 흐름도이고,FIG. 2A is a flowchart showing the operation of the video encoding apparatus shown in FIG. 1;

도 2b는 도 1에 도시한 동화상 부호화장치 내의 목표부호량 결정부의 동작을 나타내는 흐름도이고,FIG. 2B is a flowchart showing the operation of the target code amount determination unit in the video encoding apparatus shown in FIG. 1;

도 3은 본 발명의 제2 실시예에 따른 동화상 부호화장치의 구성을 나타내는 블록도이고,3 is a block diagram showing a configuration of a video encoding apparatus according to a second embodiment of the present invention;

도 4a는 도 3에 도시한 동화상 부호화장치의 동작을 나타내는 흐름도이고,FIG. 4A is a flowchart showing the operation of the video encoding apparatus shown in FIG. 3;

도 4b는 도 3에 도시한 동화상 부호화장치 내의 목표부호량 결정부의 동작을 나타내는 흐름도이고,FIG. 4B is a flowchart showing the operation of the target code amount determination unit in the video encoding apparatus shown in FIG. 3;

도 5는 본 발명의 제3 실시예에 따른 동화상 부호화장치의 구성을 나타내는 블록도이고,5 is a block diagram showing the configuration of a video encoding apparatus according to a third embodiment of the present invention.

도 6a는 도 5에 도시한 동화상 부호화장치의 동작을 나타내는 흐름도이고,FIG. 6A is a flowchart showing the operation of the video encoding apparatus shown in FIG. 5;

도 6b는 도 5에 도시한 동화상 부호화장치 내의 목표부호량 결정부의 동작을 나타내는 흐름도이고,FIG. 6B is a flowchart showing the operation of the target code amount determination unit in the video encoding apparatus shown in FIG. 5;

도 7은 본 발명의 제4 실시예에 따른 동화상 부호화장치의 구성을 나타내는 블록도이고,7 is a block diagram showing a configuration of a video encoding apparatus according to a fourth embodiment of the present invention.

도 8a는 도 7에 도시한 동화상 부호화장치의 동작을 나타내는 흐름도이고,8A is a flowchart showing the operation of the video encoding apparatus shown in FIG.

도 8b는 도 7에 도시한 동화상 부호화장치 내의 목표부호량 결정부의 동작을 나타내는 흐름도이고,FIG. 8B is a flowchart showing the operation of the target code amount determination unit in the video encoding apparatus shown in FIG.

도 9는 본 발명의 제5 실시예에 따른 동화상 부호화장치의 구성을 나타내는 블록도이고,9 is a block diagram showing a configuration of a video encoding apparatus according to a fifth embodiment of the present invention.

도 10a는 도 9에 도시한 동화상 부호화장치의 동작을 나타내는 흐름도이고,10A is a flowchart showing the operation of the video encoding apparatus shown in FIG. 9;

도 10b는 도 9에 도시한 동화상 부호화장치 내의 목표부호량 결정부의 동작을 나타내는 흐름도이고,FIG. 10B is a flowchart showing the operation of the target code amount determination unit in the video encoding apparatus shown in FIG. 9;

도 11은 본 발명의 제6 실시예에 따른 동화상 부호화장치의 구성을 나타내는 블록도이고,11 is a block diagram showing the structure of a video encoding apparatus according to a sixth embodiment of the present invention;

도 12a는 도 11에 도시한 동화상 부호화장치의 동작을 나타내는 흐름도이고,FIG. 12A is a flowchart showing the operation of the video encoding apparatus shown in FIG. 11;

도 12b는 도 11에 도시한 동화상 부호화장치 내의 목표부호량 결정부의 동작을 나타내는 흐름도이고,FIG. 12B is a flowchart showing the operation of the target code amount determining unit in the video encoding apparatus shown in FIG.

도 13은 본 발명의 제7 실시예에 따른 동화상 부호화장치의 구성을 나타내는 블록도이고,13 is a block diagram showing the structure of a video encoding apparatus according to a seventh embodiment of the present invention.

도 14a는 도 13에 도시한 동화상 부호화장치의 동작을 나타내는 흐름도이고,FIG. 14A is a flowchart showing the operation of the video encoding apparatus shown in FIG. 13;

도 14b는 도 13에 도시한 동화상 부호화장치 내의 목표부호량 결정부의 동작을 나타내는 흐름도이고,FIG. 14B is a flowchart showing the operation of the target code amount determination unit in the video encoding apparatus shown in FIG. 13;

도 15는 본 발명의 제8 실시예에 따른 동화상 부호화장치의 구성을 나타내는 블록도이고,15 is a block diagram showing the structure of a video encoding apparatus according to an eighth embodiment of the present invention;

도 16a는 도 15에 도시한 동화상 부호화장치의 동작을 나타내는 흐름도이고,FIG. 16A is a flowchart showing the operation of the video encoding apparatus shown in FIG. 15;

도 16b는 도 15에 도시한 동화상 부호화장치 내의 목표부호량 결정부의 동작을 나타내는 흐름도이고,FIG. 16B is a flowchart showing the operation of the target code amount determination unit in the video encoding apparatus shown in FIG. 15;

도 17은 본 발명의 제9 실시예에 따른 동화상 부호화장치의 구성을 나타내는 블록도이고,17 is a block diagram showing the structure of a video encoding apparatus according to a ninth embodiment of the present invention;

도 18a는 도 17에 도시한 동화상 부호화장치의 동작을 나타내는 흐름도이고,18A is a flowchart showing the operation of the video encoding apparatus shown in FIG. 17;

도 18b는 도 17에 도시한 동화상 부호화장치 내의 목표부호량 결정부의 동작을 나타내는 흐름도이고,18B is a flowchart showing the operation of the target code amount determination unit in the video encoding apparatus shown in FIG. 17,

도 19는 본 발명의 제10 실시예에 따른 동화상 부호화장치의 구성을 나타내는 블록도이고,19 is a block diagram showing a configuration of a video encoding apparatus according to a tenth embodiment of the present invention.

도 20a는 도 19에 도시한 동화상 부호화장치의 동작을 나타내는 흐름도이고,20A is a flowchart showing the operation of the video encoding apparatus shown in FIG. 19,

도 20b는 도 19에 도시한 동화상 부호화장치 내의 목표부호량 결정부의 동작을 나타내는 흐름도이다.20B is a flowchart showing the operation of the target code amount determination unit in the moving picture coding apparatus shown in FIG.

상기 목적을 달성하기 위하여, 본 발명에 있어서는, 픽쳐의 각 부분의 부호화정보를 픽쳐부호화처리가 종료할 때마다 집계하고, 그 정보에 따라 각 부분의 적절한 목표부호량을 산출한다. 구체적으로는, 적절한 목표부호량을 결정하기 위하여, 각 부분의 발생부호량 또는 평균 양자화 파라미터의 정보 등을 집계하고, 그 곱으로부터 각 부분의 복잡함을 나타내는 지표를 구한 다음, 그 비율에 따라 목표부호량을 계산한다. 각 단위부호화부는 상기 목표부호량에 따라 각 부분을 동시에 부호화한다.In order to achieve the above object, in the present invention, the encoding information of each part of the picture is counted each time the picture encoding process is completed, and the appropriate target coding amount of each part is calculated according to the information. Specifically, in order to determine an appropriate target code amount, information on the generation code amount or average quantization parameter of each part is aggregated, and an index indicating the complexity of each part is obtained from the product, and then the target code is calculated according to the ratio. Calculate the amount. Each unit encoding unit encodes each portion simultaneously according to the target encoding amount.

그리고, 이와 같은 방법을 이용하기에 적합한 경우로는, 복수의 단위부호화부가 분할된 픽쳐의 각 부분을 각각 병렬로 부호화하는 경우와, 하나의 부호화장치내에서 부호화제어처리만을 분할된 픽쳐의 각 부분마다 행하는 경우, 및 복수의 단위부호화부가 통일적인 제어하에서 복수의 화상 시퀀스를 부호화하는 경우 등을 들 수 있다.In a case where the method is suitable for use in such a method, a plurality of unit coding units encode respective portions of a divided picture in parallel, and each portion of a picture in which only coding control processing is divided in one coding apparatus. And a case where the plurality of unit coding units encode a plurality of image sequences under uniform control.

이하, 도면을 참조하여 본 발명의 각 실시예에 대하여 상세하게 설명하기로 한다. 여기서, 본 발명은 이하의 실시예에 한정되지 않으며, 실시예중에서 설명되는 특징의 모든 조합이 발명의 해결수단에 반드시 필수적인 것은 아니다.Hereinafter, each embodiment of the present invention will be described in detail with reference to the accompanying drawings. Here, the present invention is not limited to the following embodiments, and all combinations of the features described in the embodiments are not necessarily required for the solution of the invention.

[제1 실시예][First Embodiment]

도 1에는, 제1 실시예에 따른 동화상 부호화장치의 구성예가 개시되어 있다. 이러한 동화상 부호화장치는, 입력화상 분할부(10), 복수의 단위부호화부(11), 목표부호량 결정부(12) 및 스트림 재구성부(13)로 구성된다. 그리고 여기서, 부호화방법으로는 블록단위의 부호량 제어가 가능한 부호화방법, 구체적으로는 MPEG 1, MPEG 2 또는 H.26x 등과 같은 국제표준 부호화방법에 대응한 것을 이용한다.1 shows an example of the configuration of a video encoding apparatus according to the first embodiment. The video encoding apparatus includes an input image splitter 10, a plurality of unit coders 11, a target code amount determiner 12, and a stream reconstruction unit 13. Here, as the encoding method, an encoding method capable of controlling the code amount in units of blocks, specifically, one corresponding to an international standard encoding method such as MPEG 1, MPEG 2 or H.26x is used.

이하, 도 2a의 흐름도에 따라 도 1에 도시된 동화상 부호화장치의 전체 동작에 대해 설명하기로 한다.Hereinafter, the overall operation of the video encoding apparatus shown in FIG. 1 will be described according to the flowchart of FIG. 2A.

먼저, 입력화상 분할부(10)에 있어서, 입력화상 시퀀스(14)의 각 픽쳐는 복수의 분할화상(15)으로 공간적으로 분할된다(S10). 이 때, 분할은, 픽쳐내에 마련되어 있는 각 매크로 블록의 영역을 분할하지 않도록 행한다. 분할방법은, 매크로 블록의 영역내를 분할하지 않는 방법이면 어떠한 방법이어도 무방하다. 각 분할화상(15)은 각각에 대응하는 각 단위부호화부(11)에 분배되고, 각 단위부호화부(11)에 있어서 부호화된다(S11).First, in the input image divider 10, each picture of the input image sequence 14 is spatially divided into a plurality of divided images 15 (S10). At this time, the division is performed so as not to divide the area of each macro block provided in the picture. The dividing method may be any method as long as it does not divide the area of the macro block. Each divided image 15 is distributed to each unit encoding unit 11 corresponding to each, and is encoded in each unit encoding unit 11 (S11).

이하의 단계 S12 내지 Sl3은, 각 단위부호화부(11)에 있어서 병렬로 실행된다. 각 단위부호화부(l1)는, 목표부호량 결정부(12)로부터 지금부터 처리할 각 분할화상 시퀀스의 픽쳐의 목표부호량(16)을 입력받은 다음, 각 분할화상 픽쳐를 부호화한다. 즉, 각 단위부호화부(11)는, 담당하는 분할화상 픽쳐의 발생부호량이 목표부호량(16)과 일치하도록 부호량을 제어하면서, 그 분할화상 픽쳐에 포함되는 각 매크로 블록을 부호화한다(S12). 보다 구체적으로는, MPEG 2 테스트 모델 5의 매크로 블록마다의 부호화 제어방법에 의해 각 매크로 블록을 부호화한다.The following steps S12 to Sl3 are executed in parallel in the unit coding units 11. Each unit coding unit 11 receives the target code amount 16 of the picture of each divided picture sequence to be processed from the target code amount determining unit 12, and then encodes each divided picture picture. That is, each unit encoding unit 11 encodes each macroblock included in the divided picture picture while controlling the code amount so that the generation code amount of the responsible divided picture picture matches the target code amount 16 (S12). ). More specifically, each macro block is encoded by the encoding control method for each macro block of the MPEG 2 test model 5.

각 단위부호화부(11)는, 픽쳐부호화 종료시, 움직임보상 예측오차의 분산값(움직임 보상을 하지 않는 부호화처리 모드인 경우에는 입력화상의 분산값)등의 정보를 목표부호량 결정부(12)에 전달한다(S13). 각 단위부호화부(l1)로부터 출력된 각 스트림(18)은 스트림 재구성부(13)에 있어서 하나의 스트림(19)으로 재구성된다(S14).At the end of picture encoding, each unit encoding unit 11 supplies information such as the variance value of the motion compensation prediction error (the variance value of the input image in the case of encoding processing mode without motion compensation), and the like. Transfer to (S13). Each stream 18 outputted from each unit encoding section 11 is reconstructed into one stream 19 in the stream reconstruction section 13 (S14).

목표부호량 결정부(12)에 있어서는, 이하와 같은 동작을 한다. 이를 도 2b에 도시한 흐름도에 따라 설명하기로 한다.In the target code amount determination unit 12, the following operations are performed. This will be described according to the flowchart shown in FIG. 2B.

각 단위부호화부(11)가 출력하는 예측오차 분산값의 합계로부터 픽쳐전체의 예측오차 분산값을 구한다(S15). 다음, 과거의 픽쳐의 픽쳐전체의 예측오차 분산값과 처리중인 GOP의 나머지 부호량으로부터 지금부터 처리할 픽쳐의 픽쳐전체의 목표부호량을 산출한다(S16). 예측오차의 분산값의 합계에 대한 각 단위부호화부(11)에 있어서의 예측오차의 분산값의 비율과 상술한 픽쳐전체의 목표부호량의 곱을 그 단위부호화부(11)의 목표부호량(16)으로 한다(S17). 이와 같이 하여, 각각의 단위부호화부(11)가 처리할 분할화상 픽쳐의 목표부호량을 결정한 다음, 각각의 단위부호화부(11)가 처리할 분할화상 픽쳐의 목표부호량(16)으로서 각 단위부호화부(11)에 전달한다(S18).The prediction error variance value of the entire picture is obtained from the sum of the prediction error variance values output by each unit encoding unit 11 (S15). Next, the target code amount of the entire picture of the picture to be processed is calculated from the prediction error variance value of the whole picture of the past picture and the remaining code amount of the GOP being processed (S16). The product of the ratio of the variance value of the prediction error in each unit coding unit 11 to the sum of the variance values of the prediction errors and the target code amount of the entire picture as described above is the target code amount (16) of the unit coding unit 11. (S17). In this way, each unit encoding unit 11 determines the target encoding amount of the divided picture picture to be processed, and then each unit as the target encoding amount 16 of the divisional picture picture to be processed. It transfers to the encoding part 11 (S18).

이상에 있어서는, 픽쳐의 예측오차 분산값을 과거의 픽쳐로부터 구하였으나, 처리중인 픽쳐의 움직임 보상이 종료된 시점에서 예측오차 분산값을 구하고, 그 정보를 그 시점에서 집계한 다음, 그 정보에 따라 각 단위부호화부(11)에 있어서 DCT 계수의 양자화, 즉 부호량제어를 할 수도 있다.In the above, the prediction error variance value of the picture is obtained from the past picture, but the prediction error variance value is obtained at the time when the motion compensation of the processing picture is finished, the information is collected at that time point, and then the information is collected according to the information. In each unit encoding section 11, DCT coefficients can be quantized, that is, code amount control.

본 실시예에 의하면, 예측오차 분산값의 분포를 이용함으로써 보다 부호량이 많이 필요한 영역에는 보다 많은 목표부호량을 설정할 수 있으므로, 적절한 부호량 배분이 가능하다. 그리고, 이러한 방법은, 복수의 부호화부가 픽쳐의 각 영역(분할화상 픽쳐)을 병렬로 부호화하는 구조를 가지는 시스템에 있어서도 각 부호화부간에 픽쳐단위로 부호량을 배분할 수 있으므로, 이러한 복수의 부호화부를 가지는 부호화 시스템에 있어서 종래보다 양호한 화질의 부호화가 가능하다. 그리고, 여기서는, 복잡함 지표의 비율에 비례하여 각 부호화부의 목표부호량을 결정하였으나, 복잡함 지표의 제곱근의 비율에 비례하여 각 부호화부의 목표부호량을 결정하거나, 혹은 각 부호화부에 배분되는 부호량이 어느 값 이상 또는 어느 값 이하가 되지 않도록 제한하는 방법도 생각할 수 있다.According to this embodiment, by using the distribution of the prediction error variance values, more target code amounts can be set in areas where more code amounts are required, so that appropriate code amount distribution can be achieved. In such a method, even in a system having a structure in which a plurality of encoders encode respective regions (split picture pictures) of a picture in parallel, the code amount can be distributed among picture units in units of pictures, so that such a plurality of encoders In the encoding system, encoding with better image quality than in the prior art is possible. Here, although the target code amount of each encoder is determined in proportion to the ratio of the complexity index, the target code amount of each encoder is determined in proportion to the ratio of the square root of the complexity index, or the code amount allocated to each encoder is determined. It is also conceivable to limit the value so that it is not more than the value or less than the value.

[제2 실시예]Second Embodiment

도 3은, 본 발명의 제2 실시예에 따른 동화상 부호화장치의 구성예로서, 복수의 화상 시퀀스를 다중화하여 전송할 때의 동화상 부호화 시스템을 나타내고 있다. 이러한 동화상 부호화장치는, 복수의 입력화상 시퀀스(23)에 대응하는 복수의 단위부호화부(20), 목표부호량 결정부(21) 및 다중화부(MUX부)(22)로 구성된다.3 is a configuration example of a moving picture coding apparatus according to the second embodiment of the present invention, and shows a moving picture coding system when multiplexing and transmitting a plurality of picture sequences. Such a moving picture encoding apparatus is composed of a plurality of unit coding units 20, a target code amount determination unit 21, and a multiplexing unit (MUX unit) 22 corresponding to a plurality of input image sequences 23. FIG.

이하, 도 4a의 흐름도에 따라 도 2에 도시한 동화상 부호화장치의 전체 동작에 대해 설명하기로 한다.Hereinafter, the overall operation of the video encoding apparatus shown in FIG. 2 will be described according to the flowchart of FIG. 4A.

각 화상 시퀀스(23) 내의 픽쳐는 각각에 대응하는 각 단위부호화부(20)에 입력되고(S20), 각 단위부호화부(20)에 있어서 다음과 같이 부호화된다. 이 때, 각 단위부호화부(20)는, 목표부호량 결정부(21)로부터 지금부터 처리할 픽쳐의 픽쳐목표 부호량(24)을 입력받은 다음 픽쳐를 부호화한다.The pictures in the respective picture sequences 23 are input to the respective unit encoding units 20 corresponding to the respective units (S20), and encoded in the unit encoding units 20 as follows. At this time, each unit encoding unit 20 encodes the next picture, which has received the picture target coded amount 24 of the picture to be processed from now, from the target coded amount determining unit 21.

각 단위부호화부(20)는, 부호화할 픽쳐의 발생부호량이 입력된 목표부호량(24)과 일치하도록 부호량을 제어하면서 그 픽쳐의 각 매크로 블록을 부호화한다 (S21). 각 단위부호화부(20)는, 픽쳐부호화가 종료하면 움직임보상 예측오차의 분산값 등과 같은 정보를 목표부호량 결정부(21)에 전달한다(S22). 다만, 움직임보상을 하지 않는 부호화처리 모드인 경우에는 입력화상의 분산값을 이용한다. 각 단위부호화부(20)로부터 출력된 각 비트 스트림(26)은 MUX부(22)에 있어서 하나의 비트 스트림(27)으로 통합된다(S23).Each unit encoding unit 20 encodes each macroblock of the picture while controlling the code amount so that the generation code amount of the picture to be encoded coincides with the input target code amount 24 (S21). Each unit encoding unit 20 transmits information such as a variance value of motion compensation prediction error, etc. to the target encoding amount determiner 21 when picture encoding ends (S22). However, in the encoding processing mode in which motion compensation is not performed, the variance value of the input image is used. Each bit stream 26 output from each unit encoding unit 20 is integrated into one bit stream 27 in the MUX unit 22 (S23).

목표부호량 결정부(21)에 있어서는, 이하와 같은 동작을 한다. 이를 도 4b에 도시한 흐름도에 따라 설명하기로 한다.In the target code amount determination unit 21, the following operations are performed. This will be described according to the flowchart shown in FIG. 4B.

각 단위부호화부(20)가 출력하는 예측오차 분산값(또는 입력신호 분산값)(25)의 합계로부터 전체 화상 시퀀스의 픽쳐의 예측오차의 분산값(이하, 전체 픽쳐의 예측오차 분산값이라 한다)을 구한다(S24). 과거의 각각의 픽쳐 형태의 화면전체에 있어서의 예측오차의 분산값과 처리중인 GOP의 나머지 부호량으로부터 지금부터 처리할 전체 픽쳐의 목표부호량을 산출한다(S25).The variance value of the prediction error of the pictures of the entire picture sequence from the sum of the prediction error variance values (or the input signal variance values) 25 output from each unit encoding unit 20 (hereinafter, referred to as the prediction error variance value of all pictures). ) Is obtained (S24). The target code amount of all the pictures to be processed from now on is calculated from the dispersion value of the prediction error in the entire picture of each picture type in the past and the remaining code amount of the GOP being processed (S25).

다음, 각 단위부호화부(20)의 예측오차의 분산값과 함께, 각단위부호화부(20)의 예측오차의 분산값의 합계를 산출한다(S26). 산출한 예측오차의 분산값의 합계에 대한 각 단위부호화부(20)에 있어서의 예측오차의 분산값의 비율과 상술한 전체 픽쳐의 목표부호량의 곱을 각 화상 시퀀스(23)의 픽쳐의 목표부호량(24)으로 한다. 이와 같이 하여, 각각의 단위부호화부(20)의 픽쳐의 목표부호량(24)을 결정한 다음, 단위부호화부(20)가 처리할 픽쳐의 목표부호량으로서 각 단위부호화부(20)에 제공한다(S27).Next, together with the variance value of the prediction error of each unit encoding unit 20, the sum of the variance values of the prediction error of each unit encoding unit 20 is calculated (S26). The target code of the picture of each picture sequence 23 is obtained by multiplying the ratio of the variance value of the prediction error in each unit encoding unit 20 to the sum of the variance values of the prediction errors calculated by the target code amount of all the pictures. Let amount 24 be. In this way, the target encoding amount 24 of the picture of each unit encoding unit 20 is determined, and the unit encoding unit 20 provides the target encoding amount of the picture to be processed to each unit encoding unit 20. (S27).

이상에 있어서는, 픽쳐의 예측오차 분산값을 과거의 픽쳐로부터 구하였으나, 처리중인 픽쳐의 움직임 보상이 종료한 시점에서 예측오차 분산값을 구하고, 그 정보를 그 시점에서 집계한 다음, 그 정보에 따라 각 단위부호화부(20)에 있어서 DCT 계수의 양자화, 즉 부호량제어를 할 수도 있다.In the above, the prediction error variance value of the picture is obtained from the past picture, but the prediction error variance value is obtained at the time when the motion compensation of the processing picture is finished, the information is collected at that time point, and then the information is collected according to the information. In each unit encoding section 20, quantization of DCT coefficients, that is, code amount control, may be performed.

본 실시예에 의하면, 복수의 화상 시퀀스의 픽쳐의 복잡함으로부터 각 화상 시퀀스에 할당할 목표부호량의 비율을 구함으로써 복수의 화상 시퀀스의 픽쳐단위의 통일적인 비율제어가 실현된다. 또한, 한정된 비트율 중에서 보다 부호량이 많이 필요한 시퀀스에는 보다 많은 목표부호량을 설정할 수 있으므로, 한정된 비트율 중에서 각 화상 시퀀스의 고화질의 부호화를 실현할 수 있다.According to this embodiment, unified ratio control of picture units of a plurality of picture sequences is realized by obtaining a ratio of target code amounts to be allocated to each picture sequence from the complexity of the pictures of the plurality of picture sequences. In addition, since more target code amounts can be set in a sequence in which a larger amount of code is required among the limited bit rate, high quality encoding of each image sequence can be realized within the limited bit rate.

[제3 실시예]Third Embodiment

도 5는, 본 발명의 제3 실시예에 따른 동화상 부호화장치의 구성예를 나타낸 것이다. 이러한 동화상 부호화장치는, 입력화상 분할부(30), 복수의 단위부호화부(31), 목표부호량 결정부(32) 및 스트림 재구성부(33)로 구성된다. 여기서, 부호화방법으로는 블록단위의 부호량제어가 가능한 부호화방법, 구체적으로는 MPEG 1, MPEG 2 또는 H.26x 등과 같은 국제표준 부호화방법에 대응한 방법을 이용한다.5 shows an example of the configuration of a video encoding apparatus according to the third embodiment of the present invention. This moving picture coding apparatus is composed of an input image dividing unit 30, a plurality of unit coding units 31, a target code amount determining unit 32, and a stream reconstructing unit 33. Here, as an encoding method, an encoding method capable of controlling the code amount in units of blocks, specifically, a method corresponding to an international standard encoding method such as MPEG 1, MPEG 2 or H.26x is used.

이하, 도 6a의 흐름도에 따라 도 5에 나타낸 동화상 부호화장치의 전체 동작에 대해 설명하기로 한다.Hereinafter, the overall operation of the video encoding apparatus shown in FIG. 5 will be described according to the flowchart of FIG. 6A.

먼저, 입력화상 분할부(30)에 있어서, 입력화상 시퀀스(34)의 각 픽쳐는 복수의 분할화상(35)으로 공간적으로 분할된다(S30). 이 때, 분할은, 픽쳐내에 마련되어 있는 각 매크로 블록의 영역을 분할하지 않도록 행한다. 각 분할화상(35)의 시퀀스는, 각각에 대응하는 각 단위부호화부(31)에 분배되고(S31),각 단위부호화부(31)에 있어서 부호화된다.First, in the input image divider 30, each picture of the input image sequence 34 is spatially divided into a plurality of divided images 35 (S30). At this time, the division is performed so as not to divide the area of each macro block provided in the picture. The sequence of each divided image 35 is distributed to each unit encoding unit 31 corresponding to each (S31), and encoded in each unit encoding unit 31.

이하의 단계 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. Each unit encoding unit 31 receives the target encoding amount 36 of the picture of each divided image sequence to be processed from the target encoding amount determination unit 32, and then encodes each divided image picture as follows. . Each unit coding unit 31 encodes each macroblock included in the divided picture picture while controlling the code amount so that the generation code amount of the responsible divided picture picture matches the target code amount 35 (S32). When picture encoding is ended by repeating the encoding of such macro blocks, each unit encoding unit 31 transmits information such as the generation encoding amount, the average quantization parameter 37, and the like to the target encoding amount determination unit 32 (S33). . Each stream 38 output from each unit encoding unit 31 is reconstructed into one stream 39 in the stream reconstruction unit 33 (S34).

목표부호량 결정부(32)에 있어서는, 이하와 같은 동작을 한다. 이를 도 6b에도시한 흐름도에 따라 설명하기로 한다.In the target code amount determination unit 32, the following operations are performed. This will be described according to the flowchart shown in FIG. 6B.

각 단위부호화부(31)가 출력하는 발생부호량의 합계로부터 픽쳐전체의 발생부호량을 구한다(S35). 다음, 각 단위부호화부(31)가 출력하는 평균양자화 파라미터와 각 분할화상의 크기의 비율로부터 픽쳐전체의 평균양자화 파라미터를 구한다 (S36). 이상에서 설명한 픽쳐전체의 발생부호량과 픽쳐전체의 평균양자화 파라미터를 곱하여 픽쳐전체의 복잡함 지표를 구한다(S 37). 그리고, 과거의 픽쳐의 픽쳐전체의 복잡함 지표와 처리중인 GOP의 나머지 부호량으로부터 지금부터 처리할 픽쳐전체의 목표부호량을 산출한다(S38). 다음, 각 단위부호화부(31)가 처리할 분할화상 픽쳐의 복잡함 지표로서 단위부호화부(31)가 출력하는 픽쳐발생부호량과 평균양자화 파라미터의 곱을 산출함과 동시에, 각 단위부호화부(31)의 복잡함 지표의 합계를 산출한다(S39). 이상의 복잡함 지표의 합계에 대한 각 단위부호화부(31)에 있어서의 복잡함 지표의 비율과 상술한 픽쳐전체의 목표부호량의 곱을 각 단위부호화부(31)가 처리할 픽쳐의 목표부호량(36)으로 한다(S40). 이와 같이 하여, 각각의 단위부호화부(31)가 처리할 분할화상 픽쳐의 목표부호량(36)을 결정한 다음, 각 단위부호화부(31)가 담당하는 분할화상 픽쳐를 처리할 때의 목표부호량으로서 각 단위부호화부(31)에 제공한다(S41).The generation code amount of the entire picture is obtained from the sum of the generation code amounts output by each unit encoding unit 31 (S35). Next, the average quantization parameter of the whole picture is obtained from the ratio of the average quantization parameter output from each unit encoding unit 31 to the size of each divided image (S36). The complexity index of the entire picture is obtained by multiplying the generation coding amount of the entire picture by the average quantization parameter of the entire picture (S 37). Then, the target code amount of the entire picture to be processed is calculated from the complexity index of the whole picture of the past picture and the remaining code amount of the GOP being processed (S38). Next, each unit encoding unit 31 calculates the product of the picture generation encoding amount output by the unit encoding unit 31 and the average quantization parameter as a complexity index of the divided picture pictures to be processed, and each unit encoding unit 31. The sum of the complexity indicators is calculated (S39). The target coding amount 36 of the picture to be processed by each unit coding unit 31 is the product of the ratio of the complexity indexes in each unit coding unit 31 to the sum of the above complexity indicators and the target coding amount of the entire picture. (S40). In this way, each unit encoding unit 31 determines the target encoding amount 36 of the divided picture picture to be processed, and then the target encoding amount when processing the divided image picture in charge of each unit encoding unit 31. As a result, it is provided to each unit encoding unit 31 (S41).

본 실시예에 있어서는, 각 영역의 복잡함을 나타내는 지표로서 발생부호량과 평균양자화 파라미터의 곱을 부호량의 배분에 사용하고 있는데, 이러한 지표는 동일한 화상패턴이면 어떠한 양자화를 행하였는지에 관계없이 일정한 값이 되는 경향이 있고, 이러한 지표의 비율에 따라 부호량배분을 행함으로써 각 영역(분할화상픽쳐)의 양자화의 정도가 거의 평균화되므로, 화면전체의 평균적인 화질을 향상시키는 데 효과적이다.In this embodiment, a product of the generation code amount and the average quantization parameter is used to distribute the code amount as an index indicating the complexity of each area. Such an index is a constant value irrespective of which quantization is performed in the same image pattern. There is a tendency to perform code amount allocation in accordance with the ratio of these indices, so that the degree of quantization of each area (divided picture picture) is almost averaged, which is effective for improving the average picture quality of the entire screen.

본 실시예에 있어서는 발생부호량과 평균양자화 파라미터의 곱을 이용하고 있으나, 각 파라미터를 제곱하여 곱을 취한 값, 또는 그와 같은 값끼리의 합 등을 복잡함을 나타내는 지표로 하는 방법도 효과적이다. 그리고, 그 지표에 비례한 부호량배분이 아니라, 예컨대 배분이 아주 적어질 경우에는, 그것을 제한하는 방법도 효과적이다.In this embodiment, the product of the generation code amount and the average quantization parameter is used. However, a method in which the value obtained by multiplying each parameter by the square, or the sum of such values as an index indicating complexity is also effective. In addition, in the case where the allocation is very small, for example, rather than the code amount distribution proportional to the index, a method of limiting it is also effective.

이상과 같은 방법에 의하면, 본 실시예에서 설명한 바와 같은 복수의 부호화부가 병렬로 부호화를 하는 구조를 가지는 시스템에 있어서, 각 부호화부간에 픽쳐단위로 적절한 부호량을 배분할 수 있으므로, 화질이 향상되는 효과가 있다.According to the above method, in a system having a structure in which a plurality of encoders as described in this embodiment encode in parallel, an appropriate code amount can be distributed among picture units in picture units, thereby improving image quality. There is.

[제4 실시예][Example 4]

도 7은, 본 발명의 제4 실시예에 따른 동화상 부호화장치의 구성예로서, 복수의 화상 시퀀스를 다중화하여 전송할 때의 동화상 부호화 시스템을 나타낸 것이다. 이러한 동화상 부호화장치는, 복수의 입력화상 시퀀스(43)에 대응하는 복수의 단위부호화부(40), 목표부호량 결정부(41) 및 다중화부(MUX부)(42)로 구성된다.Fig. 7 is a structural example of a moving picture coding apparatus according to the fourth embodiment of the present invention, and shows a moving picture coding system when multiplexing and transmitting a plurality of picture sequences. This moving picture coding apparatus includes a plurality of unit coding units 40, a target code amount determination unit 41, and a multiplexing unit (MUX unit) 42 corresponding to a plurality of input image sequences 43.

이하, 도 8a의 흐름도에 따라 도 7에 도시한 동화상 부호화장치의 전체 동작에 대해 설명하기로 한다.Hereinafter, the overall operation of the video encoding apparatus shown in FIG. 7 will be described according to the flowchart of FIG. 8A.

각 화상 시퀀스(43) 내의 픽쳐는, 각각에 대응하는 각 단위부호화부(40)에 입력되고(S50), 각 단위부호화부(40)에 있어서 다음과 같이 부호화된다. 이 때 각 단위부호화부(40)는, 목표부호량 결정부(41)로부터 지금부터 처리할 픽쳐의 픽쳐목표 부호량(44)을 입력받은 다음 픽쳐를 부호화한다.The picture in each image sequence 43 is input to each unit encoding part 40 corresponding to each (S50), and is encoded in each unit encoding part 40 as follows. At this time, each unit encoding unit 40 encodes the next picture, which has received the picture target code amount 44 of the picture to be processed from now, from the target code amount determination unit 41.

각 단위부호화부(40)는, 부호화할 픽쳐의 발생부호량이 입력된 목표부호량(44)과 일치하도록 부호량을 제어하면서 그 픽쳐의 각 매크로 블록을 부호화한다 (S51). 각 매크로 블록의 부호화를 반복하여 픽쳐부호화가 종료하면, 각 단위부호화부(40)는 발생부호량, 평균양자화 파라미터(45)등과 같은 정보를 목표부호량 결정부(41)에 전달한다(S52). 각 단위부호화부(40)로부터 출력된 각 비트 스트림 (46)은, MUX부(42)에 있어서 하나의 비트 스트림(47)으로 통합된다(S53).Each unit encoding unit 40 encodes each macroblock of the picture while controlling the code amount so that the generation code amount of the picture to be encoded coincides with the input target code amount 44 (S51). When picture encoding is ended by repeatedly encoding each macro block, each unit encoding unit 40 transmits information such as the generation encoding amount, the average quantization parameter 45, and the like to the target encoding amount determination unit 41 (S52). . Each bit stream 46 output from each unit encoding unit 40 is integrated into one bit stream 47 in the MUX unit 42 (S53).

목표부호량 결정부(4l)에 있어서는, 이하와 같은 동작을 한다. 이를 도 8b에 도시한 흐름도에 따라 설명하기로 한다.In the target code amount determination unit 4l, the following operations are performed. This will be described according to the flowchart shown in FIG. 8B.

각 단위부호화부(40)가 출력하는 발생부호량의 합계로부터 전체 화상 시퀀스의 픽쳐의 발생부호량(이하, 전체 픽쳐의 발생부호량이라 한다)을 구한다(S54). 다음, 각 단위부호화부(40)가 출력하는 평균양자화 파라미터와 각 픽쳐의 크기의 비율로부터 전체 화상 시퀀스의 픽쳐의 평균양자화 파라미터(이하, 전체 픽쳐의 평균양자화 파라미터라 한다)를 구한다(S55).The generation code amount (hereinafter referred to as generation code amount of all pictures) of the pictures of the entire image sequence is obtained from the sum of the generation code amounts output by each unit encoding unit 40 (S54). Next, an average quantization parameter (hereinafter, referred to as an average quantization parameter of all pictures) of the pictures of the entire picture sequence is obtained from the ratio of the average quantization parameter output from each unit encoding unit 40 to the size of each picture (S55).

이상에서 설명한 전체 픽쳐의 발생부호량과 전체 픽쳐의 평균양자화 파라미터의 곱을 취함으로써, 전체 픽쳐의 복잡함 지표를 구한다(S56). 그리고, 과거의 픽쳐의 전체 픽쳐의 복잡함 지표와 처리중인 GOP의 나머지 부호량의 합계로부터 지금부터 처리할 전체 픽쳐의 목표부호량을 산출한다(S57). 다음, 각 단위부호화부(40)의 발생부호량과 평균양자화 파라미터의 곱으로부터 복잡함 지표를 구함과 동시에, 각 단위부호화부(40)의 복잡함 지표의 합계를 산출한다(S58).The complexity index of all the pictures is obtained by taking the product of the generation coding amount of all the pictures described above and the average quantization parameter of all the pictures (S56). The target code amount of all the pictures to be processed from now on is calculated from the sum of the complexity indicators of all pictures of the past picture and the remaining code amount of the GOP being processed (S57). Next, the complexity index is obtained from the product of the generation code amount of each unit encoding unit 40 and the average quantization parameter, and the sum of the complexity indexes of each unit encoding unit 40 is calculated (S58).

상기와 같은 복잡함 지표의 합계에 대한 각 단위부호화부(40)의 복잡함 지표의 비율과 상술한 전체 픽쳐의 목표부호량의 곱을 각 화상 시퀀스(43)의 픽쳐목표 부호량(44)으로 한다(S59). 이와 같이 하여, 각각의 단위부호화부(40)의 픽쳐의 목표부호량(44)을 결정한 다음, 각 단위부호화부(40)가 처리할 픽쳐의 목표부호량으로서 각 단위부호화부(40)에 제공한다(S60).The product of the ratio of the complexity indicators of each unit encoding unit 40 to the sum of the complexity indicators as described above and the target code amount of all the pictures described above is taken as the picture target code amount 44 of each picture sequence 43 (S59). ). In this way, the target encoding amount 44 of the picture of each unit encoding unit 40 is determined, and then provided to each unit encoding unit 40 as the target encoding amount of the picture to be processed by each unit encoding unit 40. (S60).

상기 실시예에 의하면, 복수의 화상 시퀀스를 픽쳐단위의 통일적인 비율로 제어할 수 있다. 특히, 복잡함을 나타내는 지표로서 발생부호량과 평균양자화 파라미터의 곱을 부호량의 배분에 이용하고 있으나, 이러한 지표는 동일한 화상패턴이면 어떠한 양자화를 행하였거나에 관계없이 일정한 값이 되는 경향이 있으므로, 보다 적절한 부호량배분이 가능해진다.According to the above embodiment, a plurality of image sequences can be controlled at a uniform ratio in picture units. In particular, although the product of the generation code amount and the average quantization parameter is used to distribute the code amount as an index indicating complexity, such an index tends to be a constant value regardless of which quantization is performed if the same image pattern is used. Code amount distribution becomes possible.

[제5 실시예][Example 5]

도 9는, 본 발명의 제5 실시예에 따른 동화상 부호화장치의 구성예를 나타낸 것이다. 이러한 동화상 부호화장치는, 입력화상 분할부(50), 복수의 단위부호화부(51), 목표부호량 결정부(52) 및 스트림 재구성부(53)로 구성된다. 그리고, 여기서는 부호화방법으로 블록단위의 부호량제어가 가능한 부호화방법, 구체적으로는 MPEG 1, MPEG 2 또는 H.26x 등과 같은 국제표준 부호화방법에 대응한 방법을 이용한다.9 shows an example of the configuration of a video encoding apparatus according to the fifth embodiment of the present invention. The video encoding apparatus includes an input image splitter 50, a plurality of unit coders 51, a target code amount determiner 52, and a stream reconstruction unit 53. Here, as an encoding method, an encoding method capable of controlling the code amount in units of blocks, specifically, a method corresponding to an international standard encoding method such as MPEG 1, MPEG 2 or H.26x is used.

이하, 도 10a의 흐름도에 따라 도 9에 도시한 동화상 부호화장치의 전체 동작에 대해 설명하기로 한다.Hereinafter, the overall operation of the video encoding apparatus shown in FIG. 9 will be described according to the flowchart of FIG. 10A.

먼저, 입력화상 분할부(50)에 있어서, 입력화상 시퀀스(54)의 각 픽쳐는, 복수의 분할화상(55)으로 공간적으로 분할된다(S70). 이 때 분할은, 픽쳐내에 마련되어 있는 각 매크로 블록의 영역을 분할하지 않도록 행한다. 각 분할화상(55)의 시퀀스는, 각각에 대응하는 각 단위부호화부(51)에 분배되고(S71), 이하의 단계 S72 내지 S73에 의해 각 단위부호화부(51)에 있어서 병렬로 부호화된다.First, in the input image divider 50, each picture of the input image sequence 54 is spatially divided into a plurality of divided images 55 (S70). At this time, division is performed so as not to divide the area of each macro block provided in the picture. The sequence of each divided image 55 is distributed to each unit encoding unit 51 corresponding to each (S71), and is encoded in parallel in each unit encoding unit 51 by the following steps S72 to S73.

각 단위부호화부(51)는, 목표부호량 결정부(52)로부터 지금부터 처리할 각 분할화상 시퀀스의 픽쳐의 목표부호량(56)을 입력받은 다음, 각 분할화상 픽쳐를 부호화한다. 각 단위부호화부(51)는, 담당하는 분할화상 픽쳐의 발생부호량이 목표부호량(56)과 일치하도록 부호량을 제어하면서 그 분할화상 픽쳐의 각 매크로 블록을 부호화한다(S72). 분할화상 픽쳐의 부호화가 종료하면, 각 단위부호화부(51)는 발생부호량, 평균양자화 파라미터(57)등과 같은 정보를 목표부호량 결정부(52)에 전달한다(S73). 각 단위부호화부(51)로부터 출력된 각 스트림(58)은 스트림 재구성부(53)에 있어서 하나의 스트림(59)으로 재구성된다(S74).Each unit encoding unit 51 receives the target encoding amount 56 of the picture of each divided picture sequence to be processed from the target encoding amount determining unit 52, and then encodes each divided picture picture. Each unit coding unit 51 encodes each macroblock of the divided picture picture while controlling the code amount so that the generation code amount of the responsible divided picture picture matches the target code amount 56 (S72). When the encoding of the split picture is finished, each unit encoding unit 51 transmits information such as the generation encoding amount, the average quantization parameter 57, and the like to the target encoding amount determination unit 52 (S73). Each stream 58 output from each unit encoding unit 51 is reconstructed into one stream 59 in the stream reconstruction unit 53 (S74).

목표부호량 결정부(52)에 있어서는, 이하와 같은 동작을 한다. 이를 도 10b에 도시한 흐름도에 따라 설명하기로 한다.In the target code amount determination unit 52, the following operations are performed. This will be described according to the flowchart shown in FIG. 10B.

각 단위부호화부(51)가 출력하는 발생부호량의 합계로부터, 픽쳐전체의 발생부호량을 구한다(S75). 그리고, 각 단위부호화부(51)가 출력하는 평균양자화 파라미터와 각 분할화상의 크기의 비율로부터 픽쳐전체의 평균양자화 파라미터를 구한다(S76). 이상에서 설명한 픽쳐전체의 발생부호량과 픽쳐전체의 평균양자화 파라미터의 곱을 취함으로써 픽쳐전체의 복잡함 지표를 구한다(S77). 그리고, 과거의 각각의 픽쳐 형태의 화면전체가 복잡함 지표와 처리중인 GOP의 나머지 부호량으로부터 지금부터 처리할 픽쳐전체의 목표부호량을 산출한다(S78).The generation code amount of the entire picture is obtained from the sum of the generation code amounts output by each unit encoding unit 51 (S75). Then, the average quantization parameter of the entire picture is obtained from the ratio of the average quantization parameter output from each unit encoding unit 51 to the size of each divided image (S76). The complexity index of the entire picture is obtained by multiplying the generation code amount of the entire picture and the average quantization parameter of the whole picture (S77). Then, the target code amount of the entire picture to be processed is calculated from the complexity indicator and the remaining code amount of the GOP being processed in the entire picture form in the past (S78).

다음, 각 단위부호화부(51)의 복잡함 지표로서 각 단위부호화부(51)가 출력하는 픽쳐발생 부호량과 평균양자화 파라미터의 곱을 산출함과 동시에, 각 단위부호화부(5l)의 복잡함 지표의 합계를 산출한다(S79). 이러한 복잡함 지표의 합계에 대한 각 단위부호화부(51)의 복잡함 지표의 비율과 상술한 픽쳐전체의 목표부호량의 곱을 그 단위부호화부(51)의 목표부호량(56)으로 한다(S80). 이와 같이 하여, 각각의 단위부호화부(51)에 있어서의 분할화상 픽쳐의 목표부호량(56)을 결정한 다음, 각 단위부호화부(51)가 동일한 픽쳐 형태의 픽쳐를 처리할 때의 목표부호량으로서 각 단위부호화부(51)에 제공한다(S81).Next, as a complexity index of each unit encoding unit 51, the product of the amount of picture generation code output by each unit encoding unit 51 and the average quantization parameter is calculated, and the sum of the complexity indexes of each unit encoding unit 5l is calculated. To calculate (S79). The product of the ratio of the complexity indicators of each unit coding unit 51 to the sum of the complexity indicators and the target code amount of the entire picture as the target code amount 56 of the unit coding unit 51 is set (S80). In this way, after determining the target coding amount 56 of the divided picture pictures in each unit coding unit 51, the target coding amount when each unit coding unit 51 processes a picture of the same picture type. As a result, it is provided to each unit encoding unit 51 (S81).

본 실시예에서는, 부호량배분에 사용하는 과거의 픽쳐를 해당 픽쳐 형태의 픽쳐 형태와 동일한 것을 가지는 픽쳐로 한정하고 있다. 따라서 픽쳐 형태에 있어서의 DCT 대상의 픽쳐패턴의 차이에 있어서의 영향을 고려한 부호량 배분이 가능하다. 이에 따라 복수의 부호화부가 병렬로 부호화를 하는 구조를 가지는 시스템에 있어서, 각 부호화부간에 픽쳐단위의 적절한 부호량 배분을 할 수 있으므로, 화질이 향상된다.In the present embodiment, the past picture used for code amount allocation is limited to a picture having the same thing as the picture type of the picture type. Therefore, the code amount distribution in consideration of the influence on the difference in the picture pattern of the DCT object in the picture form is possible. As a result, in a system having a structure in which a plurality of encoders encode in parallel, an appropriate amount of code in picture units can be distributed among the encoders, thereby improving image quality.

[제6 실시예][Example 6]

도 11은, 본 발명의 제6 실시예에 따른 동화상 부호화장치의 구성예를 나타낸 것이다. 상술한 실시예에 있어서는 분할화상을 복수의 단위부호화부에서 병렬로 부호화하였으나, 본 실시예에서는, 하나의 부호화부에서 시분할로 각 분할화상을 부호화한다. 이러한 동화상 부호화장치는, 입력화상 분할부(60),부호화부(61),목표부호량 결정부(62) 및 스트림 재구성부(63)로 구성된다. 그리고, 여기서는 부호화방법으로 블록단위의 부호량제어가 가능한 부호화방법, 구체적으로는 MPEG 1, MPEG 2 또는 H.26x 등과 같은 국제표준 부호화방법에 대응한 방법을 이용한다.11 shows an example of the configuration of a moving picture coding apparatus according to the sixth embodiment of the present invention. In the above-described embodiment, the divided pictures are encoded in parallel by a plurality of unit coding units, but in this embodiment, each divided picture is encoded by time division in one encoder. This moving picture coding apparatus is composed of an input image splitting unit 60, a coding unit 61, a target coding 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 units of blocks, specifically, a method corresponding to an international standard encoding method such as MPEG 1, MPEG 2 or H.26x is used.

이하, 도 12a의 흐름도에 따라 도 11에 도시한 동화상 부호화장치의 전체 동작에 대해 설명하기로 한다.Hereinafter, the overall operation of the video encoding apparatus shown in FIG. 11 will be described according to the flowchart of FIG. 12A.

먼저, 입력화상 분할부(60)에 있어서, 입력화상 시퀀스(64)의 각 픽쳐는 복수의 분할화상(65)으로 공간적으로 분할된다(S90). 이 때 분할은, 픽쳐 내에 마련되어 있는 각 매크로 블록의 영역을 분할하지 않도록 행한다. 각 분할화상(65)의 픽쳐는 각각의 부호화부(61)로 차례대로 전송된 다음(S91), 부호화부(61)에 있어서 부호화된다. 다만, 부호화부(61)를 실현하기 위한 실체는 하나만 존재하므로, 각 화상 시퀀스의 픽쳐는 시분할로 시간적으로 직렬로 부호화처리가 행해진다. 그리고, 부호화부(61)는, 복수의 시퀀스의 프레임간 부호화를 행하기 위하여 필요한 기억매체를 가지고 있다.First, in the input image divider 60, each picture of the input image sequence 64 is spatially divided into a plurality of divided images 65 (S90). At this time, division is performed so as not to divide the area of each macro block provided in the picture. The pictures of the respective divided images 65 are sequentially transmitted to the respective encoders 61 (S91), and then encoded in the encoders 61. However, since only one entity for realizing the encoder 61 exists, the picture processing of each picture sequence is time-divisionally executed in time and serially. The encoder 61 has a storage medium necessary for performing interframe encoding of a plurality of sequences.

부호화부(61)는, 목표부호량 결정부(62)로부터 지금부터 처리할 분할화상 시퀀스의 픽쳐의 목표부호량(66)을 입력받은 다음, 각 픽쳐를 부호화한다. 부호화부(61)는, 부호화처리할 분할화상 픽쳐의 발생부호량이 목표부호량(66)과 일치하도록 부호량을 제어하면서, 그 분할화상 픽쳐의 각 매크로 블록을 부호화한다(S92).The encoder 61 receives the target code amount 66 of the picture of the divided image sequence to be processed from the target code amount determiner 62, and then encodes each picture. The encoding unit 61 encodes each macroblock of the divided picture picture while controlling the code amount so that the generation code amount of the divided picture picture to be encoded is equal to the target code amount 66 (S92).

각 분할화상 픽쳐의 부호화가 종료하면, 부호화부(61)는 발생부호량, 평균양자화 파라미터(67) 등과 같은 정보를 목표부호량 결정부(62)에 전달한다(S93). 이상의 단계 S91 내지 S93을 전체 분할화상에 대한 처리가 종료할 때까지 반복한다. 부호화부(61)로부터 출력된 각 분할화상 시퀀스의 스트림(68)은 스트림 재구성부(63)에 있어서 하나의 스트림(69)으로 재구성된다(S94).When encoding of each divided picture is finished, the encoder 61 transmits information such as the generation code amount, the average quantization parameter 67, and the like to the target code amount determiner 62 (S93). The above steps S91 to S93 are repeated until the process for all the divided images is completed. The stream 68 of each divided picture sequence output from the encoder 61 is reconstructed into one stream 69 in the stream reconstruction unit 63 (S94).

목표부호량 결정부(62)에 있어서는, 이하와 같은 동작을 한다. 이를 도 12b에 도시한 흐름도에 따라 설명하기로 한다.In the target code amount determination unit 62, the following operations are performed. This will be described according to the flowchart shown in FIG. 12B.

부호화부(61)가 출력하는 각 분할화상의 발생부호량의 합계로부터 픽쳐전체의 발생부호량을 구한다(S95). 그리고, 부호화부(61)가 출력하는 평균양자화 파라미터와 각 분할화상의 크기의 비율로부터 픽쳐전체의 평균양자화 파라미터를 구한다(S96). 이상에서 설명한 픽쳐전체의 발생부호량과 픽쳐전체의 평균양자화 파라미터의 곱을 취함으로써 픽쳐전체의 복잡함 지표를 구한다(S97). 그리고, 과거의 픽쳐의 픽쳐전체의 복잡함 지표와 처리중인 GOP 중 나머지 부호량으로부터 지금부터 처리할 픽쳐전체의 목표부호량을 산출한다(S98).The generation code amount of the entire picture is obtained from the sum of the generation code amounts of the respective divided images output by the encoding unit 61 (S95). Then, the average quantization parameter of the entire picture is obtained from the ratio of the average quantization parameter output from the encoder 61 to the size of each divided image (S96). The complexity index of the entire picture is obtained by multiplying the generation code amount of the entire picture and the average quantization parameter of the whole picture (S97). The target code amount of the entire picture to be processed from now on is calculated from the complexity index of the entire picture of the past picture and the remaining code amount of the GOP being processed (S98).

다음, 각 분할화상의 복잡함 지표로서 부호화부(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 the sum of the complexity indexes of the encoding unit 61 is calculated (S99). The product of the ratio of the complexity indicators of the respective divided images to the sum of the complexity indicators and the target code amount of the entire picture as described above is taken as the target code amount 66 of each divided image (S100). In this way, the target code amount 66 for each picture of the divided picture is determined, and then the coding unit 61 provides the coder 61 as a target code amount when processing the split picture picture of the same picture type. Provided (S101).

본 실시예에서는, 부호량 배분에 사용하는 과거의 픽쳐를 해당 픽쳐 형태의픽쳐 형태와 동일한 것을 가지는 픽쳐로 한정하고 있다. 따라서, 픽쳐 형태에 있어서의 DCT 대상인 화상패턴의 차이에 있어서의 영향을 고려한 부호량 배분을 할 수 있으므로 화질이 향상된다.In this embodiment, the past picture used for code amount allocation is limited to the picture having the same thing as the picture type of the picture type. Therefore, since the code amount distribution in consideration of the influence on the difference in the image pattern as the DCT object in the picture form can be made, the image quality is improved.

[제7 실시예][Example 7]

도 13은, 본 발명의 제7 실시예에 따른 동화상 부호화장치의 구성예를 나타낸 것이다. 이러한 동화상 부호화장치에 있어서는, 처리화상 내에 복수의 영역을 설정한 다음, 발생 부호량을 제어하는 처리만을 각 영역마다 따로따로 행한다. 그리고, 본 실시예에서는 부호화방법으로 처리 블록 단위의 부호량 제어가 가능한 부호화방법, 구체적으로는 MPEG 1, MPEG 2 또는 H.26x 등과 같은 국제표준 부호화방법에 대응한 방법을 이용한다. 따라서, 이 경우에는 발생부호량 제어부로서 DCT 계수의 양자화 파라미터를 결정하는 양자화부(72)가 적합한다.13 shows a structural example of a video encoding apparatus according to the seventh embodiment of the present invention. In such a moving picture encoding apparatus, after setting a plurality of areas in a processed image, only processing for controlling the amount of generated codes is performed separately for each area. In the present embodiment, an encoding method capable of controlling the amount of code in units of processing blocks is used as an encoding method, specifically, a method corresponding to an international standard encoding method such as MPEG 1, MPEG 2, or H.26x. Therefore, in this case, a quantization unit 72 that determines the quantization parameter of the DCT coefficients as the generation code amount control unit is suitable.

이하, 도 14a의 흐름도에 따라 도 13에 도시한 동화상 부호화장치의 전체 동작에 대해 설명하기로 한다.Hereinafter, the overall operation of the video encoding apparatus shown in FIG. 13 will be described according to the flowchart of FIG. 14A.

움직임 보상부(70)는, 입력화상 시퀀스(75)에 대하여 움직임 보상을 한 다음(S110), 그 결과인 예측오차 화상(76)을 DCT부(71)로 전송한다. DCT부(71)는, DCT 계수(77)를 구하여 각 영역마다의 양자화부(72)로 전송한다(S 11l). 각 양자화부(72)는 픽쳐의 각 영역내의 매크로 블록의 양자화 파라미터의 결정을 시작할 때, 목표부호량 결정부(73)로부터 각 영역의 목표부호량(78)을 입력받은 후에 시작한다. 다만, 양자화부(72)는 복수개 존재하며, 그들이 병렬로 동작한다.The motion compensator 70 compensates for the input image sequence 75 (S110), and then transmits the resulting prediction error image 76 to the DCT unit 71. The DCT unit 71 obtains the DCT coefficient 77 and transmits it to the quantization unit 72 for each area (S11l). Each quantization unit 72 starts the determination of the quantization parameter of the macroblock in each area of the picture after receiving the target code amount 78 of each area from the target code amount determination unit 73. However, there are a plurality of quantization units 72, and they operate in parallel.

각 양자화부(72)는, 각 영역의 발생부호량이 목표부호량 결정부(73)로부터입력된 각 영역의 목표부호량(78)과 일치하도록 부호량을 제어하면서, 영역내의 각 매크로 블록의 양자화 파라미터를 결정한다(S112). 각 양자화부(72)는 그 영역의 양자화 파라미터의 결정이 종료하면, 그 영역의 발생부호량, 평균양자화 파라미터(79)를 목표부호량 결정부(73)에 전달한다(S113). 가변길이 부호화부(74)는, 결정된 양자화 파라미터에 따라 가변길이 부호화를 행한다(S114).Each quantization unit 72 controls the code amount so that the generation code of each area matches the target code amount 78 of each area input from the target code amount determination unit 73, while quantizing each macro block in the area. The parameter is determined (S112). When the determination of the quantization parameter of the region is finished, the quantization unit 72 transfers the generation code amount and the average quantization parameter 79 of the region to the target code amount determination unit 73 (S113). The variable length encoding unit 74 performs variable length coding according to the determined quantization parameter (S114).

목표부호량 결정부(73)에 있어서는, 이하와 같은 동작을 한다. 이를 도 14b에 도시한 흐름도에 따라 설명하기로 한다.In the target code amount determination unit 73, the following operations are performed. This will be described according to the flowchart shown in FIG. 14B.

목표부호량 결정부(73)는, 각 영역의 발생부호량의 합계로부터 픽쳐전체의 발생부호량을 구한다(S115). 다음, 목표부호량 결정부(73)는, 각 영역의 평균양자화 파라미터와 각 영역의 크기로부터 픽쳐전체의 평균양자화 파라미터를 구한다(S116). 다음, 픽쳐전체의 복잡함 지표로서 이상에서 설명한 픽쳐전체의 발생부호량과 픽쳐전체의 평균양자화 파라미터의 곱을 구한다(S117). 그리고, 과거의 각각의 픽쳐 형태에 있어서의 픽쳐전체의 복잡함 지표와 처리중인 GOP의 나머지 부호량으로부터 지금부터 처리할 픽쳐전체의 목표부호량을 산출한다(S118).The target code amount determination unit 73 calculates the generation code amount of the entire picture from the sum of the generation code amounts in each area (S115). Next, the target code amount determination unit 73 obtains the average quantization parameter of the entire picture from the average quantization parameter of each region and the size of each region (S116). Next, as a complexity index of the entire picture, the product of the generation code amount of the entire picture and the average quantization parameter of the whole picture is obtained (S117). The target code amount of the entire picture to be processed from now on is calculated from the complexity index of the whole picture in each past picture type and the remaining code amount of the GOP being processed (S118).

다음, 각 영역의 복잡함 지표로서 영역이 출력하는 발생부호량과 평균양자화 파라미터의 곱을 산출함과 동시에, 각 영역의 복잡함 지표의 합계를 산출한다(S119). 이러한 복잡함 지표의 합계에 대한 각 영역의 복잡함을 나타내는 지표의 비율과 상술한 픽쳐전체의 목표부호량의 곱을 각 영역의 목표부호량으로 한다(S120). 이와 같이 하여, 각각의 영역의 목표부호량(78)을 결정한 다음, 동일한 픽쳐 형태를 처리할 때의 각 영역의 목표부호량으로서 각 영역을 담당하는 양자화부(72)에 제공한다(S121).Next, the product of the generation code amount output by the area and the average quantization parameter as the complexity index of each area is calculated, and the sum of the complexity indexes of each area is calculated (S119). The product of the ratio of the indicators representing the complexity of each area to the sum of the complexity indicators and the target code amount of the entire picture as the target code amount of each area (S120). In this way, the target code amount 78 of each area is determined and then provided to the quantization unit 72 in charge of each area as the target code amount of each area when processing the same picture shape (S121).

이와 같은 실시예에 의해, 각각의 픽쳐처리시마다 부호화대상의 각 부분의 과거의 특성을 반영한 부호량이 각 부분에 목표값으로서 할당되므로, 화상전체의 부호량의 배분이 종래 기술에 비하여 보다 적절해져, 양호한 화질을 얻을 수 있게 된다. 구체적으로는 픽쳐부호화 개시시마다 픽쳐내에 설정한 복수의 영역마다의 적절한 목표부호량을 과거의 픽쳐의 영역마다의 정보로부터 결정하고, 그에 따라 영역마다 부호량제어를 행함으로써 보다 고화질의 부호화를 실현할 수 있다.According to this embodiment, since the code amount reflecting the past characteristics of each part of the encoding target is assigned to each part as a target value at each picture processing, the distribution of the code amount of the entire image becomes more appropriate than in the prior art. Good picture quality can be obtained. Specifically, at the start of picture encoding, an appropriate target coding amount for each of the plurality of areas set in the picture is determined from the information for each area of the past picture, and accordingly code amount control is performed for each area, so that higher quality encoding can be realized. have.

[제8 실시예][Example 8]

도 15는, 본 발명의 제8 실시예에 따른 동화상 부호화장치의 구성예를 나타낸 것이다. 상술한 실시예에 있어서는, 복수의 양자화부에서 병렬로 양자화를 행하였으나, 본 실시예에서는 각 영역의 DCT 계수는 하나의 양자화부(82)에서 시분할로 시간적으로 직렬로 처리된다. 도 15의 동화상 부호화장치에 있어서, 처리화상 내에 복수의 영역을 설정한 다음, 발생부호량을 제어하는 처리만을 각 영역마다 따로따로 행한다. 그리고, 본 실시예에서는 부호화방법으로 처리 블록단위의 부호량제어가 가능한 부호화방법 구체적으로는 MPEG 1, MPEG 2 또는 H.26x 등과 같은 국제표준 부호화방법에 대응한 방법을 이용한다. 따라서, 이 경우에는 발생부호량 제어부로 DCT계수의 양자화 파라미터를 결정하는 양자화부(82)가 적합한다.15 shows an example of the configuration of a video encoding apparatus according to an eighth embodiment of the present invention. In the above-described embodiment, the quantization unit performs quantization in parallel, but in this embodiment, DCT coefficients of the respective regions are processed in time in series by time division in one quantization unit 82. In the moving picture encoding apparatus of Fig. 15, after setting a plurality of areas in the processing image, only the processing for controlling the amount of generation codes is performed separately for each area. In the present embodiment, an encoding method capable of controlling the amount of codes in units of processing blocks as an encoding method, specifically, a method corresponding to an international standard encoding method such as MPEG 1, MPEG 2 or H.26x is used. Therefore, in this case, the quantization unit 82 which determines the quantization parameter of the DCT coefficient to the generation encoding amount control unit is suitable.

이하, 도 16a의 흐름도에 따라 도 15에 도시한 동화상 부호화장치의 전체 동작에 대하여 설명하기로 한다.Hereinafter, the overall operation of the video encoding apparatus shown in FIG. 15 will be described according to the flowchart of FIG. 16A.

움직임 보상부(80)는, 입력화상 시퀀스(85)에 대하여 움직임 보상을 행한 다음(S130), 그 결과인 예측오차 화상(86)을 DCT부(81)로 전송한다. DCT부(81)는 DCT 계수(87)를 구하여(S131), 양자화부(82)로 전송한다. 양자화부(82)는 픽쳐의 각 영역내에 있어서의 매크로 블록의 양자화 파라미터의 결정을 목표부호량 결정부(83)로부터 각 영역의 목표부호량(88)이 입력된 후에 시작한다. 다만, 양자화부(82)를 실현하기 위한 실체는 하나이므로, 각 영역의 양자화는 이하에 설명하는 처리에 의해 시분할로 시간적으로 직렬로 행해진다.The motion compensator 80 performs motion compensation on the input image sequence 85 (S130), and then transmits the resulting prediction error image 86 to the DCT unit 81. FIG. The DCT unit 81 obtains the DCT coefficient 87 (S131) and transmits it to the quantization unit 82. The quantization unit 82 starts the determination of the quantization parameter of the macroblock in each area of the picture after the target code amount 88 of each area is input from the target code amount determination unit 83. However, since there is only one entity for realizing the quantization unit 82, the quantization of each region is performed in time division and time series in time by the processing described below.

양자화부(82)는, 각 영역의 발생부호화량이 목표부호량 결정부(83)로부터 주어진 각 영역의 목표부호량(88)과 일치하도록 부호량을 제어하면서, 영역내의 각 매크로 블록의 양자화 파라미터를 결정한다(S132). 양자화부(82)는, 각 영역의 양자화 파라미터의 결정이 종료하면, 그 영역의 발생부호량, 평균양자화 파라미터(89)를 목표부호량 결정부(83)에 전달한다(S133). 이상의 단계 Sl32 내지 S133을 전체 영역에 대한 처리가 종료할 때까지 반복한다. 가변길이 부호화부(84)는, 양자화부(82)에 의해 결정한 양자화 파라미터에 따라 가변길이 부호화를 행한다(S134).The quantization unit 82 controls the code amount so that the generation encoding amount of each region matches the target encoding amount 88 of each region given by the target encoding amount determination unit 83, while the quantization parameter of each macro block in the region is adjusted. Determine (S132). When the determination of the quantization parameter of each region is completed, the quantization unit 82 transfers the generation code amount and the average quantization parameter 89 of the region to the target code amount determination unit 83 (S133). The above steps Sl32 to S133 are repeated until the process for the entire area is completed. The variable length encoding unit 84 performs variable length encoding according to the quantization parameter determined by the quantization unit 82 (S134).

목표부호량 결정부(83)에 있어서는, 이하와 같은 동작을 한다. 이를 도 16b에 도시한 흐름도에 따라 설명하기로 한다.In the target code amount determination unit 83, the following operations are performed. This will be described according to the flowchart shown in FIG. 16B.

목표부호량 결정부(83)는, 각 영역의 발생부호량의 합계로부터 픽쳐전체의 발생부호량을 구한다(S135). 각 영역의 평균양자화 파라미터와 각 영역의 크기로부터 픽쳐전체의 평균양자화 파라미터를 구한다(S136). 다음, 화면전체의 복잡함 지표로서, 이상에서 설명한 픽쳐전체의 발생부호량과 픽쳐전체의 평균양자화 파라미터의 곱을 구한다(S137). 그리고, 과거의 각각의 픽쳐 형태의 픽쳐전체의 복잡함 지표와 처리중인 GOP의 나머지 부호량으로부터 지금부터 처리할 픽쳐전체의 목표부호량을 산출한다(S138).The target code amount determination unit 83 calculates the generation code amount of the entire picture from the sum of the generation code amounts in each area (S135). The average quantization parameter of the entire picture is obtained from the average quantization parameter of each region and the size of each region (S136). Next, as a complexity index of the entire screen, the product of the generation code amount of the entire picture and the average quantization parameter of the entire picture is obtained (S137). The target code amount of the entire picture to be processed from now on is calculated from the complexity index of the entire picture of each picture type in the past and the remaining code amount of the GOP being processed (S138).

다음, 각 영역의 복잡함 지표로서, 각 영역이 출력하는 발생부호량과 평균양자화 파라미터의 곱을 산출함과 동시에, 각 영역의 복잡함 지표의 합계를 산출한다 (S139). 이러한 복잡함 지표의 합계에 대한 각 영역의 복잡함을 나타내는 지표의 비율과 상술한 픽쳐전체의 목표부호량의 곱을 각 영역의 목표부호량으로 한다(S140). 이와 같이 하여, 각각의 영역의 목표부호량(89)을 결정한 다음 동일한 픽쳐 형태를 처리할 때의 각 영역의 목표부호량으로서 각 영역을 담당하는 양자화부(82)에 제공한다(S141).Next, as the complexity index of each region, the product of the generation code amount output by each region and the average quantization parameter is calculated, and the sum of the complexity indexes of each region is calculated (S139). The product of the ratio of the index indicating the complexity of each region to the sum of the complexity indexes and the target code amount of the entire picture as the target code amount of each region (S140). In this way, the target code amount 89 of each area is determined and then provided to the quantization unit 82 in charge of each area as the target code amount of each area when processing the same picture type (S141).

이와 같은 실시예에 의해, 각각의 픽쳐처리시마다 부호화대상의 각 부분의 과거의 특성을 반영하여 부호량이 각 부분에 목표값으로서 할당되므로, 픽쳐전체의 부호량의 배분이 종래 기술에 비하여 보다 적절해져, 양호한 화질을 얻을 수 있게 된다. 구체적으로는, 픽쳐부호화 개시시마다 픽쳐내에 설정한 복수의 영역마다의 적절한 목표부호량을 과거의 픽쳐의 영역마다의 정보로부터 결정하고, 그에 따라 영역마다 부호량제어를 행함으로써 고화질의 부호화를 실현할 수 있게 된다.According to this embodiment, since the code amount is assigned to each part as a target value reflecting the past characteristics of each part of the encoding target at each picture processing, the distribution of the code amount of the entire picture becomes more appropriate than in the prior art. It is possible to obtain good image quality. Specifically, at the start of picture encoding, an appropriate target coding amount for each of a plurality of areas set in the picture is determined from the information for each area of the past picture, and accordingly code amount control is performed for each area, thereby achieving high quality encoding. Will be.

[제9 실시예][Example 9]

도 17은, 본 발명의 제9 실시예에 따른 동화상 부호화장치의 구성예로서, 복수의 화상 시퀀스를 다중화하여 전송할 때의 동화상 부호화 시스템을 나타낸 것이다. 이러한 동화상 부호화장치는, 복수의 입력화상 시퀀스(93)에 대응하는 복수의단위부호화부(90), 목표부호량 결정부(91) 및 다중화부(MUX부)(92)로 구성된다.Fig. 17 is a structural example of a moving picture coding apparatus according to a ninth embodiment of the present invention and shows a moving picture coding system when multiplexing and transmitting a plurality of picture sequences. Such a moving picture encoding apparatus includes a plurality of unit coding units 90, a target code amount determining unit 91, and a multiplexing unit (MUX unit) 92 corresponding to a plurality of input image sequences 93. As shown in FIG.

이하, 도 18a의 흐름도에 따라 도 17에 도시한 동화상 부호화장치의 전체 동작에 대하여 설명하기로 한다.Hereinafter, the overall operation of the video encoding apparatus shown in FIG. 17 will be described according to the flowchart of FIG. 18A.

각 화상 시퀀스(93) 내의 픽쳐는, 각각에 대응하는 각 단위부호화부(90)에 입력되고(S 150), 각 단위부호화부(90)에 있어서 이하의 처리에 의해 부호화된다. 이 때, 각 단위부호화부(90)는, 목표부호량 결정부(91)로부터 지금부터 처리할 픽쳐의 픽쳐목표 부호량(94)이 입력받은 후에 픽쳐를 부호화한다.The picture in each image sequence 93 is input to each unit coding unit 90 corresponding to each (S 150), and is encoded in the unit coding unit 90 by the following processing. At this time, each unit encoding unit 90 encodes the picture after the picture target coded amount 94 of the picture to be processed from now is received from the target code amount determining unit 91.

각 단위부호화부(90)는, 부호화할 픽쳐의 발생부호량이 입력된 목표부호량(94)과 일치하도록 부호량을 제어하면서, 그 픽쳐의 각 매크로 블록을 부호화한다 (S151). 픽쳐부호화가 종료하면, 각 단위부호화부(90)는, 발생부호량, 평균양자화 파라미터(95)와 같은 정보를 목표부호량 결정부(91)에 전달한다(S152). 각 단위부호화부(90)로부터 출력된 각 비트 스트림(96)은, MUX부(92)에 있어서 하나의 비트 스트림(97)으로 통합된다(S153).Each unit encoding unit 90 encodes each macroblock of the picture while controlling the code amount so that the generation code amount of the picture to be encoded coincides with the input target code amount 94 (S151). When the picture encoding ends, each unit encoding unit 90 transmits information such as the generation encoding amount and the average quantization parameter 95 to the target encoding amount determination 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 (S153).

목표부호량 결정부(91)에 있어서는, 이하와 같은 동작을 한다. 이를 도 18b에 도시한 흐름도에 따라 설명하기로 한다.In the target code amount determination unit 91, the following operations are performed. This will be described according to the flowchart shown in FIG. 18B.

목표부호량 결정부(91)는, 각 단위부호화부(90)가 출력하는 발생부호량의 합계로부터 전체 화상 시퀀스의 픽쳐의 발생부호량(이하, 전체 픽쳐의 발생부호량이라 한다)을 구한다(S154). 그리고, 각 단위부호화부(90)가 출력하는 평균양자화 파라미터와 각 픽쳐의 크기의 비율로부터 전체 화상 시퀀스의 픽쳐의 평균양자화 파라미터(이하, 전체 픽쳐의 평균양자화 파라미터라 한다)를 구한다(S155). 이상에서설명한 전체 픽쳐의 발생부호량과 전체 픽쳐의 평균양자화 파라미터의 곱을 취함으로써 전체 픽쳐의 복잡함 지표를 구한다(S156). 그리고, 과거의 픽쳐의 전체 픽쳐의 복잡함 지표와 처리중인 GOP의 나머지 부호량의 합계로부터 지금부터 처리할 전체 픽쳐의 목표부호량을 산출한다(S157).The target code amount determination unit 91 calculates the generation code amount (hereinafter referred to as the generation code amount of the entire picture) of the pictures of the entire image sequence from the sum of the generation code amounts output by each unit encoding unit 90 ( S154). Then, the average quantization parameter (hereinafter, referred to as average quantization parameter of all pictures) of the pictures of the entire picture sequence is obtained from the ratio of the average quantization parameter output from each unit encoding unit 90 to the size of each picture (S155). The complexity index of all pictures is obtained by multiplying the generation coding amount of all pictures described above and the average quantization parameter of all pictures (S156). The target code amount of all the pictures to be processed from now on is calculated from the sum of the complexity indicators of all the pictures of the past picture and the remaining code amount of the GOP being processed (S157).

다음, 각 단위부호화부(90)의 발생부호량과 평균양자화 파라미터의 곱으로부터 복잡함 지표를 구함과 동시에, 각 단위부호화부(90)의 복잡함 지표의 합계를 산출한다(S158). 이러한 복잡함 지표의 합계에 대한 어느 단위부호화부(90)의 복잡함 지표의 비율과 상술한 전체 픽쳐의 목표부호량의 곱을 각 화상 시퀀스(93)의 픽쳐목표부호량(94)으로 한다(S159). 이와 같이 하여, 각각의 단위부호화부(90)의 픽쳐의 목표부호량(94)을 결정한 다음, 각 단위부호화부(90)가 처리하는 동일한 픽쳐 형태의 픽쳐의 목표부호량으로서 각 단위부호화부(90)에 제공한다(S160).Next, the complexity index is obtained from the product of the generation code amount of each unit encoding unit 90 and the average quantization parameter, and the sum of the complexity indexes of each unit encoding unit 90 is calculated (S158). The product of the ratio of the complexity indicators of the unit coding unit 90 to the sum of the complexity indicators and the target code amount of all the pictures described above is taken as the picture target code amount 94 of each image sequence 93 (S159). In this way, the target encoding amount 94 of the picture of each unit encoding unit 90 is determined, and then each unit encoding unit (as the target encoding amount of the picture of the same picture type processed by each unit encoding unit 90 is processed. 90) (S160).

이러한 실시예에 의하면, 복수의 화상 시퀀스를 픽쳐단위의 통일적인 비율로 제어할 수 있다. 특히, 복잡함을 나타내는 지표로서 발생부호량과 평균양자화 파라미터의 곱을 부호량의 배분에 이용하고 있는데, 이러한 지표는 동일한 화상패턴이면 어떠한 양자화를 행하였는지에 관계없이 일정한 값이 되는 경향이 있으므로, 보다 적절한 부호량 배분이 가능해진다. 그리고, 픽쳐 형태에 의한 화상의 복잡함의 편재도 픽쳐 형태별 부호량배분 결정처리를 함으로써 문제없이 처리할 수 있다.According to this embodiment, a plurality of image sequences can be controlled at a uniform ratio in picture units. In particular, the product of the generation code amount and the average quantization parameter is used to distribute the code amount as an indicator of complexity. Since such an index tends to be a constant value regardless of which quantization is performed in the same image pattern, a more appropriate code is used. Volume distribution becomes possible. Incidentally, the ubiquity of the complexity of the image by the picture shape can also be processed without any problem by performing the code amount allocation determination processing for each picture type.

[제10 실시예][Example 10]

도 19는, 본 발명의 제10 실시예에 따른 동화상 부호화장치의 구성예를 나타낸 것이다. 이러한 동화상 부호화장치는, 전단에서 이미 만들어진 복수의 비디오오브젝트 시퀀스를 통일적인 비율제어 하에서 부호화하는 것으로서, 구체적인 부호화방법으로는 MPEG 4을 이용한다.19 shows an example of the configuration of a moving picture coding apparatus according to the tenth embodiment of the present invention. Such a moving picture encoding apparatus encodes a plurality of video object sequences already made in the previous stage under uniform ratio control, and uses MPEG 4 as a concrete encoding method.

이하, 도 20a의 흐름도에 따라 도 19에 도시한 동화상 부호화장치의 전체 동작에 대하여 설명하기로 한다.Hereinafter, the overall operation of the video encoding apparatus shown in FIG. 19 will be described according to the flowchart of FIG. 20A.

각 비디오 오브젝트 시퀀스(104) 내의 비디오 오브젝트 플레인(이하, VOP라 한다)은 각각에 대응하는 각 단위부호화부(l01)로 입력되고(S170), 각 단위부호화부(101)에 있어서 부호화된다. 그리고, 여기에서, 비디오 오브젝트 내의 VOP란 통상의 화상 시퀀스 내의 픽쳐에 대응하는 것이다.Video object planes (hereinafter referred to as VOPs) in each video object sequence 104 are inputted to respective unit coding units 01, respectively (S170), and encoded in each unit coding unit 101. Here, the VOP in the video object corresponds to the picture in the normal picture sequence.

이 때, 각 단위부호화부(101)는, 목표부호량 결정부(102)로부터 지금부터 처리할 VOP의 목표부호량(105)을 입력받은 후 VOP를 부호화한다. 각 단위부호화부(10l)는, 부호화할 VOP의 발생부호량이 목표부호량 결정부(102)로부터 입력된 목표부호량(105)과 일치하도록 부호량을 제어하면서, 그 VOP의 각 매크로 블록을 부호화한다(S171). VOP 부호화가 종료하면, 각 단위부호화부(101)는, 발생부호량, 평균양자화 파라미터(106) 등과 같은 정보를 목표부호량 결정부(102)에 전달한다(S172). 각 단위부호화부(101)로부터 출력된 각 비트 스트림(l07)은 MUX부(103)에 있어서 하나의 비트 스트림(l08)으로 통합된다(S173).At this time, each unit encoding unit 101 receives the target encoding amount 105 of the VOP to be processed from now, from the target encoding amount determination unit 102, and then encodes the VOP. Each unit encoding unit 10l encodes each macroblock of the VOP while controlling the code amount such that the generation code amount of the VOP to be encoded coincides with the target code amount 105 input from the target code amount determination unit 102. (S171). When the VOP encoding is finished, each unit encoding unit 101 transmits information such as the generation encoding amount, the average quantization parameter 106, and the like to the target encoding amount determination unit 102 (S172). Each bit stream l07 output from each unit coding unit 101 is integrated into one bit stream 1008 in the MUX unit 103 (S173).

목표부호량 결정부(102)에 있어서는, 이하와 같은 동작을 한다. 이를 도 20b에 도시한 흐름도에 따라 설명하기로 한다.In the target code amount determination unit 102, the following operations are performed. This will be described according to the flowchart shown in FIG. 20B.

목표부호량 결정부(102)는, 각 단위부호화부(101)가 출력하는 발생부호량의 합계로부터 전체 오브젝트 시퀀스의 VOP의 발생부호량(이하, 전체 VOP의 발생부호량이라 한다)을 구한다(S174). 그리고, 각 단위부호화부(101)가 출력하는 평균양자화 파라미터와 각 VOP의 크기의 비율로부터, 전체 오브젝트 시퀀스의 VOP의 평균양자화 파라미터(이하, 전체 VOP의 평균양자화 파라미터라 한다)를 구한다(S175). 이상에서 설명한 전체 VOP의 발생부호량과 전체 VOP의 평균양자화 파라미터의 곱을 취함으로써 전체 VOP의 복잡함 지표를 구한다(S176). 그리고, 과거의 VOP의 전체 VOP의 복잡함 지표와 나머지 이용가능한 부호량의 합계로부터 지금부터 처리할 전체 VOP의 목표부호량을 산출한다(S177).The target code amount determination unit 102 obtains the generation code amount of the VOP of the entire object sequence (hereinafter referred to as the generation code amount of the entire VOP) from the sum of the generation code amounts output by each unit encoding unit 101 ( S174). The average quantization parameter (hereinafter, referred to as average quantization parameter of all VOPs) of the entire object sequence is obtained from the ratio of the average quantization parameter output by each unit encoding unit 101 to the size of each VOP (S175). . The complexity index of all VOPs is obtained by multiplying the generation code amount of all VOPs described above and the average quantization parameter of all VOPs (S176). The target code amount of all the VOPs to be processed is calculated from the sum of the complexity indicators of the total VOPs of the past VOPs and the remaining available code amounts (S177).

다음, 각 단위부호화부(101)의 발생부호량과 평균양자화 파라미터의 곱으로부터 복잡함 지표를 구함과 동시에, 각 단위부호화부(101)의 복잡함 지표의 합계를 산출한다(S178). 이 복잡함 지표의 합계에 대한 각 단위부호화부(101)의 복잡함 지표의 비율과 상술한 전체 VOP의 목표부호량의 곱을 각 비디오 오브젝트 시퀀스(104)의 VOP의 각 단위부호화부(101)에 대한 목표부호량(105)으로 한다(S179). 이와 같이 하여, 각각의 단위부호화부(l01)의 VOP의 목표부호량(105)을 결정한 다음, 각 단위부호화부(101)가 처리할 동일한 부호화 형태의 VOP의 목표부호량으로서 각 단위부호화부(101)에 전송한다(S180).Next, the complexity index is calculated from the product of the generation code amount of each unit encoding unit 101 and the average quantization parameter, and the sum of the complexity indexes of each unit encoding unit 101 is calculated (S178). The product of the ratio of the complexity indicators of each unit encoder 101 to the sum of the complexity indicators and the target code amount of the entire VOP described above is the target for each unit encoder 101 of the VOP of each video object sequence 104. The code amount 105 is used (S179). In this way, after determining the target coding amount 105 of the VOP of each unit coding unit 01, each unit coding unit (as the target coding amount of the VOP of the same coding type to be processed by each unit coding unit 101 is processed. 101) (S180).

이러한 실시예에 의해, 복수의 비디오 오브젝트 시퀀스를 VOP 단위의 통일적인 비율로 제어할 수 있다. 특히, 복잡함을 나타내는 지표로서 발생부호량과 평균양자화 파라미터의 곱을 부호량의 배분에 이용하고 있는데, 이 지표는 동일한 화상패턴이면 어떠한 양자화를 행하였는지에 관계없이 일정한 값이 되는 경향이 있으므로, 보다 적절한 부호량배분이 가능해진다.According to such an embodiment, a plurality of video object sequences may be controlled at a uniform ratio in VOP units. In particular, the product of the generation code quantity and the average quantization parameter is used to distribute the code amount as an index indicating the complexity. Since this index tends to be a constant value regardless of which quantization is performed in the same image pattern, a more appropriate code is used. Quantity distribution becomes possible.

그리고, 제1, 제3, 제5 실시예에 있어서, 도 2a, 도 2b, 도 6a, 도 6b 및 도 10a, 도 10b의 흐름도에 나타낸 부호화순서 및 도 1, 도 5, 도 9의 블록도에 나타낸 입력화상 분할부(10, 30, 50), 단위부호화부(11, 31, 51), 목표부호량 결정부(12, 32, 52), 스트림 재구성부(13, 33, 53)의 동작을 실현하기 위한 프로그램을 CD-ROM, 플로피 디스크 등과 같은 컴퓨터로 읽을 수 있는 기록매체에 기록하고, 이 기록매체에 기록된 프로그램을 상기 컴퓨터가 읽도록 하여 실행함으로써 입력화상 시퀀스의 부호화를 행하여도 좋다.Incidentally, in the first, third, and fifth embodiments, the coding sequence shown in the flowcharts of Figs. 2A, 2B, 6A, 6B, 10A, and 10B and the block diagrams of Figs. 1, 5, and 9 are shown. Operation of the input image divider 10, 30, 50, unit coder 11, 31, 51, target code amount determiner 12, 32, 52, and stream reconstructor 13, 33, 53 shown in FIG. A program for realizing this may be recorded on a computer-readable recording medium such as a CD-ROM or a floppy disk, and the program recorded on the recording medium may be read by the computer and executed. .

그리고, 제2, 제4, 제9 및 제10 실시예에 있어서, 도 4a, 도 4b, 도 8a, 도 8b, 도 18a, 도 18b 및 도 20a, 도 20b의 흐름도에 나타낸 부호화순서 및 도 3, 도 7, 도 19의 블록도에 나타낸 단위부호화부(20, 40, 90, 101), 목표부호량 결정부(21, 41, 91, 102), MUX부(22, 42, 92, 103)의 동작을 실현하기 위한 프로그램을 CD-ROM, 플로피 디스크 등과 같은 컴퓨터로 읽을 수 있는 기록매체에 기록하고, 이 기록매체에 기록된 프로그램을 상기 컴퓨터가 읽도록 하여 실행함으로써 입력화상 시퀀스의 부호화를 행하여도 좋다.In the second, fourth, ninth, and tenth embodiments, the coding sequence shown in the flowcharts of FIGS. 4A, 4B, 8A, 8B, 18A, 18B, 20A, and 20B, and FIG. 7, 19, unit coders 20, 40, 90, and 101, target code quantity determiners 21, 41, 91, and 102, MUX units 22, 42, 92, and 103. A program for realizing the operation of the program is recorded on a computer-readable recording medium such as a CD-ROM, a floppy disk, or the like, and the program recorded on the recording medium is read by the computer, and executed. Also good.

그리고, 제6 실시예에 있어서, 도 12a, 도 12b의 흐름도에 나타낸 부호화순서 및 도 11의 블록도에 나타낸 입력화상 분할부(60), 부호화부(61), 목표부호량 결정부(62), 스트림 재구성부(63)의 동작을 실현하기 위한 프로그램을 CD-ROM, 플로피 디스크 등과 같은 컴퓨터로 읽을 수 있는 기록매체에 기록하고, 이 기록매체에 기록된 프로그램을 상기 컴퓨터가 읽도록 하여 실행함으로써 입력화상 시퀀스의 부호화를 행하여도 좋다.In the sixth embodiment, the encoding sequence shown in the flowcharts of Figs. 12A and 12B and the input image splitting unit 60, the encoder 61, and the target code amount determination unit 62 shown in the block diagram of Fig. 11 are shown. By recording a program for realizing the operation of the stream reconstruction unit 63 on a computer-readable recording medium such as a CD-ROM, a floppy disk, etc., and executing the program recorded on the recording medium to be read by the computer. The input image sequence may be encoded.

또한, 제7, 제8 실시예에 있어서, 도 14a, 도 14b 및 도 16a, 도 16b의 흐름도에 나타낸 부호화순서 및 도 13 및 도 15의 블록도에 나타낸 움직임 보상부(70, 80), DCT부(71, 81), 양자화부(72, 82), 목표부호량 결정부(73, 83), 가변길이 부호화부(74, 84)의 동작을 실현하기 위한 프로그램을 CD-ROM, 플로피 디스크 등과 같은 컴퓨터로 읽을 수 있는 기록매체에 기록하고, 이 기록매체에 기록된 프로그램을 상기 컴퓨터가 읽도록 하여 실행함으로써 입력화상 시퀀스의 부호화를 행하여도 좋다.In the seventh and eighth embodiments, the coding procedures shown in the flowcharts of Figs. 14A, 14B, 16A, and 16B, and the motion compensation units 70, 80 and DCT shown in the block diagrams of Figs. 13 and 15 are shown. Programs for realizing the operations of the units 71 and 81, the quantization units 72 and 82, the target code amount determining units 73 and 83, and the variable length coding units 74 and 84 are provided in CD-ROM, floppy disk, or the like. The input image sequence may be encoded by recording on the same computer readable recording medium and executing the program recorded on the recording medium by the computer.

상술된 수단에 의해, 본 발명은 다양한 구성을 가지는 부호화 시스템에 있어서 보다 고화질의 부호화를 가능하게 하는 부호화제어를 실현할 수 있다는 효과가 있다.By the above-described means, the present invention has the effect that the encoding control that enables higher quality encoding in the encoding system having various configurations can be realized.

즉, 본 발명에 의하면, 픽쳐의 각 부분에 대한 처리시마다 부호화대상의 각부분에 있어서의 과거의 특성을 반영한 부호량이 목표값으로서 각 부분에 할당되므로, 화상 전체의 부호량의 배분이 종래 기술에 비하여 보다 적절해져 양호한 화질을 얻을 수 있게 된다. 구체적으로는, 픽쳐부호화 개시시마다 픽쳐내에 설정한 복수의 영역마다의 적절한 목표부호량을 과거의 픽쳐의 영역마다의 정보로부터 결정하고, 이에 따라 영역마다 부호량제어를 함으로써 보다 고화질의 부호화를 실현할 수 있게 된다. 여기서 각 영역의 목표부호량을 설정하기 위한 구성이 새로이 요구되는데, 각 영역내의 부호량 제어방법은 새로이 변경하지 않아도 되므로 실장이 비교적 용이하다.That is, according to the present invention, since the code amount reflecting the past characteristics in each part of the encoding target is assigned to each part as a target value at each processing of each part of the picture, the distribution of the code amount of the whole image is assigned to the prior art. Compared with this, it becomes more appropriate and a good picture quality can be obtained. Specifically, at the start of picture encoding, an appropriate target code amount for each of the plurality of areas set in the picture is determined from the information for each area of the past picture, and accordingly, the amount of code can be controlled for each area to realize higher quality encoding. Will be. Here, a new configuration for setting the target code amount of each area is required. Since the code amount control method in each area does not need to be newly changed, it is relatively easy to implement.

그리고, 픽쳐의 부호화처리 개시시 각 부호화부에 목표부호량을 부여한 다음에는 각 부호화부가 독립적으로 부호화처리를 할 수 있으므로, 픽쳐의 각 부분을 복수의 단위부호화부가 병렬로 부호화하는 부호화장치 및 방법에도 적용할 수 있다. 따라서, 복수의 단위부호화부를 이용하여 부호화처리를 병렬로 행하는 부호화 시스템의 적절한 부호량제어가 가능해진다.In addition, since after encoding the target coding amount to each coding unit at the start of the coding process of the picture, each coding unit can perform the encoding process independently, so that a plurality of unit coding units encode the respective portions of the picture in parallel. Applicable Therefore, appropriate code amount control of the coding system which performs encoding processing in parallel using a plurality of unit coding units can be performed.

구체적으로는, 부호화에 필요한 처리량이 과다해지는 등 실장상의 문제가 있어 픽쳐를 분할하고, 분할한 각 부분을 복수의 부호화부에서 부호화해야 하는 경우, 상술한 바와 같은 부호화 제어방법을 이용함으로써 하나의 부호화부에 의해 픽쳐의 전체 영역을 부호화하는 경우와 같거나 그 이상의 화질을 실현하는 것이 가능해진다. 그리고, 그 이외에도 이상과 같은 방법을 이용함으로써, 복수의 화상 시퀀스에 대하여 통일적인 부호량제어를 할 수 있게 된다.Specifically, when there is an implementation problem such as excessive processing amount required for encoding, and the picture is to be divided and each divided portion must be encoded by a plurality of encoding units, one encoding is performed by using the encoding control method as described above. This makes it possible to realize image quality equal to or higher than that for encoding the entire area of the picture. In addition, by using the above method, it is possible to perform unified code amount control on a plurality of image sequences.

이와 같이, 본 발명에 따르면, 동화상의 부호화에 있어서 고화질의 부호화가 가능해지는 효과가 있다. 특히, 복수의 부호화장치로 이루어지는 동화상의 부호화에 있어서는, 고성능 및 고화질의 부호화가 가능해지는 효과가 있다.As described above, according to the present invention, there is an effect that high quality encoding is possible in encoding a moving image. In particular, in encoding of a moving image composed of a plurality of encoding apparatuses, there is an effect that high-performance and high-quality encoding can be performed.

Claims (14)

복수의 영역으로 이루어지는 픽쳐에 대하여 각 영역마다 부호화를 행하고, 또한 한개의 부호화 비트 스트림을 출력하는 동화상 부호화장치에 있어서,In a moving picture encoding apparatus for encoding a picture consisting of a plurality of areas for each area and outputting one coded bit stream, 픽쳐의 영역마다의 부호화처리정보를 이용하여, 픽쳐마다 픽쳐 전체의 목표 부호량을 산출하고, 그 산출결과와 영역마다의 부호화 처리정보에서 픽쳐의 각 영역마다의 목표부호량을 결정하는 목표부호량 결정부; 및The target code amount for calculating the target code amount of the entire picture for each picture using the encoding processing information for each picture area, and for determining the target code amount for each area of the picture from the calculation result and the encoding processing information for each picture area. Decision unit; And 상기 목표부호량 결정부가 결정한 각 영역마다의 목표부호량에 따라 픽쳐의 각 영역에 대한 발생 부호량이 상기 각 영역마다의 목표부호량에 일치하도록 상기 픽쳐의 각 영역의 부호화처리를 행하는 부호화부를 구비하는 것을 특징으로 하는 동화상 부호화장치.And an encoding unit that performs encoding processing on each area of the picture so that the amount of generated codes for each area of the picture is equal to the target code amount for each area according to the target code amount for each area determined by the target code amount determining unit. A moving picture coding apparatus, characterized in that. 복수의 영역으로 이루어지는 픽쳐를 각 영역마다 병렬로 부호화하고, 또한 한개의 부호화 비트 스트림을 출력하는 동화상 부호화장치에 있어서,In a moving picture encoding apparatus for encoding a picture composed of a plurality of areas in parallel for each area and outputting one coded bit stream, 픽쳐의 영역마다의 부호화처리정보를 이용하여 픽쳐마다 픽쳐 전체의 목표 부호량을 산출하고, 그 산출결과와 영역마다의 부호화 처리정보에서 픽쳐의 각 영역마다의 목표부호량을 결정하는 목표부호량 결정부; 및Determining the target code amount for calculating the target code amount of the entire picture for each picture by using the encoding processing information for each picture area, and determining the target code amount for each area of the picture from the calculation result and the encoding processing information for each picture area. part; And 상기 픽쳐의 각 영역에 각각 대응하여 설치되며, 상기 목표부호량 결정부가 결정한 각 영역마다의 목표부호량에 따라 픽쳐의 각 영역에 대한 발생 부호량이 상기 각 영역마다의 목표부호량에 일치하도록 상기 픽쳐의 각 영역의 부호화처리를 병렬로 행하는 복수의 부호화부를 구비하는 것을 특징으로 하는 동화상 부호화장치.The picture is provided corresponding to each area of the picture, and the generated code amount for each area of the picture corresponds to the target code amount for each area according to the target code amount for each area determined by the target code amount determination unit. And a plurality of encoding units which perform encoding processing of respective regions in parallel. 제 1항 내지 제 2항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 2, 상기 목표부호량 결정부는, 상기 부호화처리정보로서 복잡함을 나타내는 지표를 사용하는 것을 특징으로 하는 동화상 부호화장치.And the target code amount determiner uses an index indicating complexity as the encoding process information. 제 5항에 있어서,The method of claim 5, 상기 목표부호량 결정부가 부호화처리정보로서 사용하는 복잡함을 나타내는지표는, 평균양자화 파라미터와 발생부호량의 곱으로 나타내어지는 것임을 특징으로 하는 동화상 부호화장치.The index indicating the complexity used by the target code amount determination unit as encoding processing information is expressed by the product of the average quantization parameter and the generation code amount. 복수의 영역으로 이루어지는 픽쳐에 대하여 각 영역마다 부호화를 행하고, 또한 한개의 부호화 비트 스트림을 출력하는 동화상 부호화장치에 있어서,In a moving picture encoding apparatus for encoding a picture consisting of a plurality of areas for each area and outputting one coded bit stream, 픽쳐의 영역마다의 부호화처리정보를 이용하여 픽쳐마다 픽쳐 전체의 복잡함을 나타내는 지표를 구하여 픽쳐 전체의 목표부호량을 산출하고, 그 산출결과와 영역의 복잡함을 나타내는 지표를 이용하여, 픽쳐의 각 영역마다의 목표부호량을 결정하는 목표부호량 결정부; 및By using the encoding processing information for each picture area, an index indicating the complexity of the entire picture is obtained for each picture, the target code amount of the entire picture is calculated, and the result of the calculation and the indicator indicating the complexity of each picture are used for each area of the picture. A target code amount determination unit for determining a target code amount for each; And 상기 목표부호량 결정부가 결정한 각 영역마다의 목표부호량에 따라 픽쳐의 각 영역에 대한 발생 부호량이 상기 각 영역마다의 목표부호량에 일치하도록 픽쳐의 각 영역의 부호화처리를 행하는 부호화부를 구비하고,An encoding unit which performs encoding processing for each region of the picture so that the amount of generated codes for each region of the picture matches the target encoding amount for each region according to the target encoding amount for each region determined by the target encoding amount determination unit; 상기 목표부호량 결정부가 복잡함을 나타내는 지표를 산출하기 위한 부호화처리정보를 집계하는 픽쳐로서, 부호화처리할 픽쳐와 동일한 픽쳐 형태를 가지는 픽쳐를 사용하는 것을 특징으로 하는 동화상 부호화장치.And a picture having the same picture form as the picture to be encoded as a picture to be aggregated as encoding pictures for calculating an index indicating the complexity of the target code amount determining unit. 복수의 영역으로 이루어지는 픽쳐를 각 영역마다 병렬로 부호화하고, 또한 한개의 부호화 비트 스트림을 출력하는 동화상 부호화장치에 있어서,In a moving picture encoding apparatus for encoding a picture composed of a plurality of areas in parallel for each area and outputting one coded bit stream, 픽쳐의 영역마다의 부호화처리정보를 이용하여, 픽쳐마다 픽쳐 전체의 복잡함을 나타내는 지표를 구하여 픽쳐 전체의 목표부호량을 산출하고, 그 산출결과와 영역마다의 복잡함을 나타내는 지표를 이용하여, 픽쳐의 각 영역마다의 목표부호량을 결정하는 목표부호량 결정부; 및By using the encoding processing information for each picture region, an index indicating the complexity of the entire picture is obtained for each picture, the target code amount of the entire picture is calculated, and the result of the calculation and the index indicating the complexity for each picture are used. A target code amount determination unit for determining a target code amount for each region; And 상기 픽쳐의 각 영역에 각각 대응하여 설치되며, 상기 목표부호량 결정부가 결정한 각 영역마다의 목표부호량에 따라 픽쳐의 각 영역에 대한 발생 부호량이 상기 각 영역마다의 목표부호량에 일치하도록 픽쳐의 각 영역의 부호화처리를 병렬로 행하는 복수의 부호화부를 구비하고,A corresponding code amount is provided for each area of the picture, and the generated code amount for each area of the picture corresponds to the target code amount for each area according to the target code amount for each area determined by the target code amount determination unit. A plurality of encoding units for performing encoding processing in each region in parallel; 상기 목표부호량 결정부가 복잡함을 나타내는 지표를 산출하기 위한 부호화처리정보를 집계하는 픽쳐로서 부호화처리할 픽쳐와 동일한 픽쳐 형태를 가지는 픽쳐를 사용하는 것을 특징으로 하는 동화상 부호화장치.And a picture having the same picture form as the picture to be encoded as a picture to be aggregated with encoding processing information for calculating an index indicating the complexity of the target code amount determiner. 복수의 영역으로 이루어지는 픽쳐에 대하여 각 영역마다 부호화를 행하고, 또한 한개의 부호화 비트 스트림을 출력하는 동화상 부호화방법에 있어서,In the moving picture encoding method for encoding a picture consisting of a plurality of areas for each area and outputting one coded bit stream, 픽쳐의 영역마다의 부호화처리정보를 이용하여, 픽쳐마다 픽쳐 전체의 목표 부호량을 산출하고, 그 산출결과와 영역마다의 부호화 처리정보에서 픽쳐의 각 영역마다의 목표부호량을 결정하고,Using the coding processing information for each picture area, the target code amount of the entire picture is calculated for each picture, and the target coding amount for each area of the picture is determined from the calculation result and the coding processing information for each area. 결정한 각 영역마다의 목표부호량에 따라 픽쳐의 각 영역에 대한 발생부호량이 상기 각 영역마다의 목표부호량에 일치하도록 픽쳐의 각 영역의 부호화 처리를 행하는 것을 특징으로 하는 동화상 부호화방법.And a coding process for each area of the picture according to the determined target code amount for each area so that the generation code amount for each area of the picture matches the target code amount for each area. 제 12항에 있어서,The method of claim 12, 상기 부호화처리정보로서 복잡함을 나타내는 지표를 이용하는 것을 특징으로 하는 동화상 부호화방법.A moving picture encoding method characterized by using an index indicating complexity as the encoding process information. 제 16항에 있어서,The method of claim 16, 복잡함을 나타내는 지표로서 평균양자화 파라미터와 발생부호량의 곱으로 나타내어지는 복잡함 지표를 이용하는 것을 특징으로 하는 동화상 부호화방법.A moving picture encoding method using a complexity index represented by a product of an average quantization parameter and a generation code amount as an index indicating complexity. 복수의 영역으로 이루어지는 픽쳐에 대하여 각 영역마다 부호화를 행하고, 또한 한개의 부호화 비트 스트림을 출력하는 동화상 부호화방법에 있어서,In the moving picture encoding method for encoding a picture consisting of a plurality of areas for each area and outputting one coded bit stream, 픽쳐의 영역마다의 부호화처리정보를 이용하여, 픽쳐마다 픽쳐 전체의 복잡함을 나타내는 지표를 구하여, 픽쳐 전체의 목표부호량을 산출하고, 그 산출결과와 영역마다의 복잡함을 나타내는 지표를 이용하여 픽쳐의 각 영역마다의 목표부호량을 결정하고,Using the encoding processing information for each picture area, an index indicating the complexity of the entire picture is obtained for each picture, the target code amount of the entire picture is calculated, and the result of the calculation and the index indicating the complexity for each picture are used to determine the picture. Determine the target code for each area, 결정한 각 영역마다의 목표부호량에 따라 픽쳐의 각 영역에 대한 발생부호량이 상기 각 영역마다의 목표부호량에 일치하도록 픽쳐의 각 영역의 부호화처리를 행함과 동시에,According to the target encoding amount for each region determined, encoding processing for each region of the picture is performed so that the generation encoding amount for each region of the picture matches the target encoding amount for each region, 상기 복잡함을 나타내는 지표를 산출하기 위한 부호화처리정보를 집계하는 픽쳐로서 부호화처리할 픽쳐와 동일한 픽쳐 형태를 가지는 픽쳐를 이용하는 것을 특징으로 하는 동화상 부호화방법.And a picture having the same picture shape as the picture to be encoded as a picture to be encoded as encoding information for calculating the index indicating the complexity. 복수의 영역으로 이루어지는 픽쳐에 대하여 각 영역마다 부호화를 행하고, 또한 한개의 부호화 비트 스트림을 출력하는 컴퓨터 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 있어서,In a computer-readable recording medium on which a computer program for encoding a picture consisting of a plurality of areas is encoded for each area and outputting one encoded bit stream. 상기 컴퓨터 프로그램은,The computer program, 컴퓨터가, 픽쳐의 영역마다의 부호화처리정보를 이용하여 픽쳐마다 픽쳐 전체의 목표 부호량을 산출하고, 그 산출결과와 영역마다의 부호화 처리정보에서 픽쳐의 각 영역마다의 목표부호량을 결정하도록 하는 단계; 및The computer calculates the target code amount of the entire picture for each picture using the encoding processing information for each picture area, and determines the target coding amount for each area of the picture from the calculation result and the encoding processing information for each picture area. step; And 컴퓨터가, 결정된 각 영역마다의 목표부호량에 따라 픽쳐의 각 영역에 대한 발생 부호량이 상기 각 영역마다의 목표부호량에 일치하도록 픽쳐의 각 영역의 부호화처리를 실행하도록 하는 단계를 구비하는 것을 특징으로 하는 기록매체.And causing the computer to execute encoding processing for each region of the picture according to the determined target encoding amount for each region so that the amount of generated codes for each region of the picture matches the target encoding amount for each region. Recording medium. 제 23항에 있어서,The method of claim 23, wherein 상기 컴퓨터 프로그램은,The computer program, 컴퓨터가 상기 부호화처리정보로서 복잡함을 나타내는 지표에 따라 목표부호량을 결정하도록 하는 것을 특징으로 하는 기록매체.And a computer to determine a target code amount according to an index indicating complexity as the encoding process information. 제 27항에 있어서,The method of claim 27, 상기 컴퓨터 프로그램은,The computer program, 컴퓨터가, 복잡함을 나타내는 지표로서 평균양자화 파라미터와 발생부호량의 곱으로 나타내어지는 복잡함 지표를 사용하도록 하는 것을 특징으로 하는 기록매체.And a computer that uses the complexity indicator represented by the product of the average quantization parameter and the generation code amount as an indicator of complexity. 복수의 영역으로 이루어지는 픽쳐에 대하여 각 영역마다 부호화를 행하고, 또한 한개의 부호화 비트 스트림을 출력하는 컴퓨터 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 있어서,In a computer-readable recording medium on which a computer program for encoding a picture consisting of a plurality of areas is encoded for each area and outputting one encoded bit stream. 상기 컴퓨터 프로그램은,The computer program, 컴퓨터가, 결정한 각 영역마다의 목표부호량에 따라 픽쳐의 각 영역에 대한 발생 부호량이 상기 각 영역마다의 목표부호량에 일치하도록 픽쳐의 각 영역의 부호화처리를 행하도록 하는 단계를 가지며,Causing the computer to perform encoding processing for each region of the picture according to the determined target encoding amount for each region so that the amount of generated codes for each region of the picture matches the target encoding amount for each region, 상기 컴퓨터 프로그램은,The computer program, 컴퓨터가, 상기 복잡함을 나타내는 지표를 산출하기 위한 부호화 처리정보를 집계하는 픽쳐으로서 부호화처리할 픽쳐와 동일한 픽쳐 형태를 가지는 픽쳐를 사용하도록 하는 것을 특징으로 하는 기록매체.And causing a computer to use a picture having the same picture form as the picture to be encoded as a picture that aggregates encoding processing information for calculating the index indicating the complexity.
KR1019990039852A 1998-09-25 1999-09-16 Method and apparatus for coding moving picture and computer readable recording medium for recording computer program therefor KR100324471B1 (en)

Applications Claiming Priority (2)

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
JP10-270794 1998-09-25

Publications (2)

Publication Number Publication Date
KR20000023222A KR20000023222A (en) 2000-04-25
KR100324471B1 true KR100324471B1 (en) 2002-02-27

Family

ID=17491108

Family Applications (1)

Application Number Title Priority Date Filing Date
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

Country Status (3)

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

Families Citing this family (4)

* 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
JP4534106B2 (en) * 2000-12-26 2010-09-01 日本電気株式会社 Video encoding system and method
JP3914212B2 (en) * 2004-03-05 2007-05-16 日本電信電話株式会社 Moving picture coding apparatus, moving picture coding method, moving picture coding program, and computer-readable recording medium recording the program
JP6194334B2 (en) * 2015-06-10 2017-09-06 日本電信電話株式会社 Video encoding apparatus, video encoding method, and video encoding program

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
AU2337099A (en) * 1998-01-26 1999-08-09 Tiernan Communications, Inc. Method and apparatus for advanced television signal encoding and decoding

Also Published As

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

Similar Documents

Publication Publication Date Title
CN1035593C (en) Motion video compression system with adaptive bit allocation and quantigation
KR101651299B1 (en) Video coding
CN1130921C (en) Method and apparatus for predictice encoding of video information subject to fading
CN101107862B (en) Encoding device and dynamic image recording system having the encoding device
US20160198162A1 (en) Quantization Method and Apparatus in Encoding/Decoding
KR20090027590A (en) Image coding apparatus and image coding method
CN112565757B (en) Point cloud attribute coding and decoding method, device and system based on channel differentiation
KR20050105271A (en) Video encoding
US20110188769A1 (en) Image processing apparatus and image processing method
JP5770476B2 (en) Method and apparatus for accurate rate control in video coding
US20040234150A1 (en) Quantization matrix adjusting method for avoiding underflow of data
EP1349395A2 (en) Moving picture coding method, moving picture coding apparatus, and moving picture coding program
JP2003018599A (en) Method and apparatus for encoding image
JP2003032677A (en) Compressive coder for moving image
CN1110776C (en) Method for coding with regional information
KR100324471B1 (en) Method and apparatus for coding moving picture and computer readable recording medium for recording computer program therefor
FI97591B (en) The picture coding
CN110677646A (en) Intra-frame coding prediction method based on CPU + GPU hybrid coding
KR100624404B1 (en) Adaptive coding method and apparatus considering human visual characteristics
CN115278269A (en) Point cloud attribute encoding method, point cloud attribute decoding method and storage medium
JPH07212795A (en) Method and equipment for picture coding
JP3152394B2 (en) Image coding method
JP2003018593A (en) Method and apparatus for encoding video, method and apparatus for allocating video coding quantity, and recording medium
US8971393B2 (en) Encoder
JPH10155152A (en) Image compression coder and its method

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20130117

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20140120

Year of fee payment: 13

FPAY Annual fee payment

Payment date: 20150116

Year of fee payment: 14

FPAY Annual fee payment

Payment date: 20160104

Year of fee payment: 15

FPAY Annual fee payment

Payment date: 20170120

Year of fee payment: 16

FPAY Annual fee payment

Payment date: 20180119

Year of fee payment: 17