KR970057989A - Method and apparatus for allocating bit rate of variable rate encoder - Google Patents

Method and apparatus for allocating bit rate of variable rate encoder Download PDF

Info

Publication number
KR970057989A
KR970057989A KR1019950062073A KR19950062073A KR970057989A KR 970057989 A KR970057989 A KR 970057989A KR 1019950062073 A KR1019950062073 A KR 1019950062073A KR 19950062073 A KR19950062073 A KR 19950062073A KR 970057989 A KR970057989 A KR 970057989A
Authority
KR
South Korea
Prior art keywords
bit rate
image
source
bit
amount
Prior art date
Application number
KR1019950062073A
Other languages
Korean (ko)
Other versions
KR0186142B1 (en
Inventor
서강수
Original Assignee
구자홍
Lg 전자 주식회사
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 구자홍, Lg 전자 주식회사 filed Critical 구자홍
Priority to KR1019950062073A priority Critical patent/KR0186142B1/en
Publication of KR970057989A publication Critical patent/KR970057989A/en
Application granted granted Critical
Publication of KR0186142B1 publication Critical patent/KR0186142B1/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/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/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/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

본 발명은 가변은 부호화기의 비트율 할당 방법 및 장치에 관한 것으로, 종래의 가변율 부호화 방식에 있어서는 단일 영상원로부터 발생한 동영상을 부호화하는 방식을 사용하여 다중 영상원로부터 발생한 복합 동영상 부호화하기 때문에 부호화 효율이 저하되는 결함이 있었다. 이러한 문제점을 개선하기 위하여 본 발명은 다중의 영상원을 조합한 하나의 복합 동영상을 부호화할 때 비교적 긴 시간에 대해서 계산된 평균 비트율을 일정하게 하여 전체 발생 비트량을 일정하게 유지하며, 단위 시간당 발생하는 비트율은 각 영상원으로부터 구한 복잡도로부터 가중적으로 계산된 복합 영상의 복잡도에 따라 가변적으로 할당하여 부호화함으로써 고화질 특성을 실현하도록 창안한 것으로, 본 발명은 다중 영상원으로부터 발생한 복합 동영상을 부호화할 때 각 영상원의 특성을 존중하여 비트율을 가중적으로 할당함으로 보다 고화질의 영상을 재현할 수 있다.The present invention relates to a variable bit rate allocation method and apparatus for an encoder. In the conventional variable rate encoding method, since a complex video generated from multiple video sources is encoded using a method for encoding a video generated from a single video source, encoding efficiency is high. There was a deterioration defect. In order to solve this problem, the present invention maintains a constant bit rate by encoding a constant average bit rate for a relatively long time when encoding a composite video combining multiple image sources, and generates a unit time. The bit rate is designed to realize high quality characteristics by variably allocating and encoding according to the complexity of the composite image weighted from the complexity obtained from each image source. By respecting the characteristics of each video source and assigning a bit rate weightedly, a higher quality image can be reproduced.

Description

가변율 부호화기의 비트율 할당 방법 및 장치Method and apparatus for allocating bit rate of variable rate encoder

본 내용은 요부공개 건이므로 전문내용을 수록하지 않았음Since this is an open matter, no full text was included.

제4도는 본 발명의 일실시예에 따른 가변율 부호화기의 블럭도,4 is a block diagram of a variable rate encoder according to an embodiment of the present invention;

제5도는 제4도에서 비트량 할당기의 회로도,5 is a circuit diagram of a bit amount allocator in FIG.

제6도는 본 발명의 다른 실시예에 따른 가변율 부호화기의 블럭도.6 is a block diagram of a variable rate encoder according to another embodiment of the present invention.

Claims (10)

영상원에 대한 양자화 스텝 크기(k)를 특정값으로 고정하여 단위 시간당 발생 비트량(Bi)를 계산하는 제1단계와, 상기에서 계산된 단위 시간당 발생 비트량(Bi)로부터 복합 영상에 대한 비트량(R[k])을 구하는 제2단계와, 상기에서 구한 복합 영상에 대한 비트량(R[k])을 근거로 각 단위 시간에 대한 복합 영상의 비트량(S=∑Ri)을 구하여 그 비트량(S)을 근거로 각 구간별 목표 비트량(T)을 구하는 제3단계와, 상기에서 구한 목표 비트량을 기준으로 비트율 오차를 구하고 그 비트율 오차와 영상내의 복잡도를 기준으로 양자화 계단 크기를 조절하여 단위 시간당 발생 비트량을 목표 비트량과 일치시키는 제4단계를 수행하는 것을 특징으로 하는 가변율 부호화기의 비트율 할당 방법.A first step of calculating the generated bit amount (B i ) per unit time by fixing the quantization step size (k) for the image source to a specific value, and from the calculated bit amount per unit time (B i ) to the composite image A second step of obtaining the bit amount R [k] for the composite image and the bit amount of the composite image (S = ∑R i for each unit time) based on the bit amount R [k] for the composite image obtained above. Step 3) to obtain the target bit amount T for each section based on the bit amount S, and to obtain a bit rate error based on the target bit amount obtained above, based on the bit rate error and the complexity in the image. And adjusting the size of the quantization step to perform a fourth step of matching the generated bit amount per unit time with the target bit amount. 제1항에 있어서, 복합 영상에 대한 비트량(R[k])는 아래와 같은 식으로 구하는 것을 특징으로 하는 가변율 부호화기의 비트율 할당 방법.The method of claim 1, wherein the bit rate (R [k]) for the composite image is obtained by the following equation. R[k]=Bi[k]*Wi R [k] = B i [k] * W i Wi=1 W i = 1 여기서, Wi는 각 영상원에 대한 가중치이며, 복합 영상에서 각 영상원의 비중이다.Here, W i is a weight for each image source, and the specific gravity of each image source in the composite image. 영상 및 음성에 대한 복잡도(Cv,Ca) 및 가중치(Wv,Wa)를 계산하는 제1단계와, 상기에서 산출한 복잡도(Cv),(Ca) 및 가중치(Wv),(Wa)를 각기 곱하여 그 값을 합산하여 복합 신호원에 대한 비트율(R[k])를 구하는 제2단계와, 상기에서 구한 비트율(R[k])을 근거로 각 단위 시간에 대한 복합 신호원의 비트량(S=∑Ri)을 구하여 그 비트량(S)을 근거로 각 구간별 목표 비트량(Tk)을 구하는 제3단계와, 상기에서 구한 목표 비트량(Tk)을 기준으로 각 신호원의 목표 비트량(Tk v,Tk a)을 구하는 제4단계와, 상기에서 구한 목표 비트량(Tk v,Tk a)을 기준으로 각 신호원에 대해서 비트율 오차를 구하고 비트율 오차와 영상내의 복합도를 기준으로 양자화 계단 크기를 조정하여 단위 시간당 발생 비트량을 목표 비트량과 일치시키는 제4단계를 수행하는 것을 특징으로 하는 가변율 부호화기의 비트율 할당 방법.The first step of calculating the complexity (C v , C a ) and weight (W v , W a ) for the video and audio, and the complexity (C v ), (C a ) and weight (W v ) calculated above , (W a) of each multiplied by the sum of that value and the second step to obtain the bit rate (R [k]) of the complex signal source, for each unit time as the bit rate (R [k]) obtained in the basis obtain the bit rate of the composite signal source (S = ΣR i) on the basis of the amount of bits (S) and a third step to obtain the target amount of bits per each interval (T k), the target bit rate obtained in the (T k ) as the basis of a fourth step to obtain the target bit rate of each signal source (T k v, T k a ), the target bit rate obtained in the (T k v, T k a) based on, for each signal source Performing a fourth step of obtaining a bit rate error and adjusting the quantization step size based on the bit rate error and the complexity in the image to match the generated bit amount per unit time with the target bit amount. How is the bit rate assigned to the variable rate coder. 제3항에 있어서, 가중치(Wv,Wa)는 영상원과 음성원의 비중에 따라 결정하는 것을 특징으로 하는 가변율 부호화기의 비트율 할당 방법.4. The method of claim 3, wherein the weights W v and W a are determined according to the specific gravity of the video source and the audio source. 제3항에 있어서, 가중치 (Wv)(Wa)는 각 신호원에서 발생하는 비트량이 동일한 의미를 갖도록 아래와 같은 식으로 결정하는 것을 특징으로 하는 가변율 부호화기의 비트율 할당 방법.4. The method of claim 3, wherein the weight W v (W a ) is determined in the following manner so that the amount of bits generated from each signal source has the same meaning. Wa=1, Wv=Ra/Rv W a = 1, W v = R a / R v 여기서, Ra, Rv는 각각 음성 및 영상의 평균 복잡도를 의미한다.Here, R a and R v mean average complexity of audio and video, respectively. 제3항에 있어서, 각각의 신호원에 대한 목표 비트율(Tk v)(Tk a)는 아래의 식과 같이 구하는 것을 특징으로 하는 가변율 부호화기의 비트율 할당 방법.4. The method of claim 3, wherein the target bit rate (T k v ) (T k a ) for each signal source is obtained by the following equation. Tk a=(Ck a)Tk/(Ck a+Ck v)T k a = (C k a ) T k / (C k a + C k v ) Tk v=(Ck v)Tk/(Ck a+Ck v)T k v = (C k v ) Tk / (C k a + C k v ) 다중의 영상을 조합하여 하나의 복합 동영상을 출력하는 영상 복합 수단과, 다중의 영상중 하나를 임의로 선택하는 제1스위치 수단과, 비트율 할당시에는 상기 제1스위치 수단으로부터 출력되는 단일 영상을 선택하고 실제 부호화시에는 상기 영상 복합 수단으로부터 출력되는 복합 동영상을 선택하는 제2스위치 수단과, 이 제2스위치 수단으로부터의 목표 비트량에 근거하여 가변율 부호화를 수행하는 주영상 부호화 수단과, 이 주영상 부호화 수단을 통해 입력되는 상기 제2스위치 수단으로부터의 각각의 단일 영상에 대한 단위 시간당 발생하는 비트량을 측정하여 실제부호화시 발생시켜야 할 목표 비트량을 계산하고 이 계산된 목표 비트량을 상기 주영상 부호화 수단에 전송하는 비트량할당 수단으로 구성한 것을 특징으로 하는 가변율 부호화기의 비트율 할당 장치.Image combination means for outputting one composite video by combining multiple images, first switch means for arbitrarily selecting one of the multiple images, and at the time of bit rate allocation, selecting a single image output from the first switch means, A second switch means for selecting a composite video output from the video combining means, the main video encoding means for performing variable rate encoding on the basis of the target bit amount from the second switch means, and the main video; The amount of bits generated per unit time for each single image input from the second switch means input through the encoding means is measured to calculate a target bit amount to be generated during actual encoding, and the calculated target bit amount is used as the main image. Of the variable rate encoder characterized by comprising a bit amount allocation means to be transmitted to the encoding means. Bit rate allocation device. 제7항에 있어서, 비트량 할당 수단은 각 영상원의 특성을 가중적으로 결합하여 복합 동영상에 대한 비트율을 할당하는 가중적 비트 할당기인 것을 특징으로 하는 가변율 부호화기의 비트율 할당 장치.8. The apparatus of claim 7, wherein the bit rate allocation means is a weighted bit allocator for weighting the characteristics of each video source and assigning a bit rate for the composite video. 제7항 또는 제8항에 있어서, 비트량 할당 수단은 각 영상원에 대한 비트량(Bi[k], i=1~N)에 가중치(Wi, i=1~N)를 곱하는 곱셈기(300-1~300-N)와, 이 곱셈기(300-1~300-N)의 각 출력 신호를 합산하여 k번째 복합 영상에 대한 비트량(R[k])을 출력하는 덧셈기(310)와, 이 덧셈기(310)의 출력(R[k])을 입력으로 하여 목표 비트율(T)를 산출하는 비트율 산출부(320)으로 구성한 것을 특징으로 하는 가변율 부호화기의 비트율 할당 장치.9. The multiplier according to claim 7 or 8, wherein the bit amount assignment means multiplies the bit quantities (B i [k], i = 1 to N) for each video source by a weight (W i , i = 1 to N). An adder 310 for adding up the respective output signals of the multipliers 300-1 to 300-N and outputting the bit amount R [k] for the k-th composite image. And a bit rate calculator (320) for calculating a target bit rate (T) by inputting the output (R [k]) of the adder (310). 영상원을 입력으로 하여 복잡도(Cv)를 계산하고 목표 비트율(Tk v)을 사용하여 영상원을 가변율 부호화하는 주영상 부호화 수단과, 이 주영상 부호화 수단에서 산출한 복잡도(Cv)에 가중치(Wv를 곱하는 제1곱셈 수단과, 음성원을 입력으로 하여 복잡도(Ca)를 계산하고 목표 비트율(Tk a)을 사용하여 음성원을 가변율 부호화하는 주음성 부호화 수단과, 이 주음성 부호화 수단에서 산출한 복잡도(Ca)에 가중치(Wa)를 곱하는 제2곱셈 수단과, 상기 제1, 제2곱셈 수단의 출력 신호를 합산하여 복합 신호원에 대한 비트량(R[k])을 구하는 덧셈 수단과, 이 덧셈 수단에서 구한 비트량(R[k])을 입력으로 하여 복합 신호의 목표 비트율(Tk)을 구하고 이를 근거로 영상원과 음성원에 대한 목표 비트율(Tk v)(Tk a)을 구하여 상기 주영상 부호화 수단과 주음성 부호화 수단에 출력하는 비트율 할당 수단으로 구성한 것을 특징으로 하는 가변율 부호화기의 비트율 할당 장치.Calculates a to the image source to the input complexity (C v) and calculating the image source using the target bit rate (T k v) in the main picture encoding means, a main picture encoding means for variable rate coding complexity (C v) A first multiplying means for multiplying by a weight (W v ), a main speech coding means for calculating a complexity (C a ) by inputting a voice source, and variable rate encoding the voice source using a target bit rate (T k a ), A second multiplication means for multiplying the complexity C a calculated by the main audio coding means with a weight W a , and an output signal of the first and second multiplication means, and adding the bit amount R to the composite signal source. [k]) and a target bit rate (T k ) of the composite signal by inputting the bit amount (R [k]) obtained from the addition means, and based on the target bit rate for the video source and the audio source. (T v k) (k T a) of the main image encoding means and the main audio coding obtain the However the bit rate allocation unit of the variable rate encoder, characterized in that the bit rate allocation unit is configured to output a. ※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.
KR1019950062073A 1995-12-28 1995-12-28 Method and apparatus for alloting the bit rate of variable rate encoder KR0186142B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950062073A KR0186142B1 (en) 1995-12-28 1995-12-28 Method and apparatus for alloting the bit rate of variable rate encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950062073A KR0186142B1 (en) 1995-12-28 1995-12-28 Method and apparatus for alloting the bit rate of variable rate encoder

Publications (2)

Publication Number Publication Date
KR970057989A true KR970057989A (en) 1997-07-31
KR0186142B1 KR0186142B1 (en) 1999-05-01

Family

ID=19446096

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950062073A KR0186142B1 (en) 1995-12-28 1995-12-28 Method and apparatus for alloting the bit rate of variable rate encoder

Country Status (1)

Country Link
KR (1) KR0186142B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980019201A (en) * 1996-08-30 1998-06-05
KR100850706B1 (en) * 2002-05-22 2008-08-06 삼성전자주식회사 Method for adaptive encoding and decoding motion image and apparatus thereof
KR100924779B1 (en) * 2008-01-15 2009-11-05 삼성전자주식회사 Method for adaptive encoding and decoding motion image and apparatus thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100814431B1 (en) * 2001-04-25 2008-03-18 삼성전자주식회사 Apparatus for transmitting broadcast signal, encoding system for encoding broadcast signal adapted variable bit rate and decoding system thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980019201A (en) * 1996-08-30 1998-06-05
KR100850706B1 (en) * 2002-05-22 2008-08-06 삼성전자주식회사 Method for adaptive encoding and decoding motion image and apparatus thereof
US7457471B2 (en) 2002-05-22 2008-11-25 Samsung Electronics Co.. Ltd. Method of adaptively encoding and decoding motion image and apparatus therefor
KR100924779B1 (en) * 2008-01-15 2009-11-05 삼성전자주식회사 Method for adaptive encoding and decoding motion image and apparatus thereof

Also Published As

Publication number Publication date
KR0186142B1 (en) 1999-05-01

Similar Documents

Publication Publication Date Title
RU2404506C2 (en) Scalable decoding device and scalable coding device
KR101143225B1 (en) Complex-transform channel coding with extended-band frequency coding
JP2002534862A (en) Adaptive quantizer in buffer adjustment mechanism based on motion analysis for video compression
JP2882287B2 (en) Video encoding device
KR970068620A (en) Image quality improvement method using quantized mean separation histogram equalization and its circuit
US5826221A (en) Vocal tract prediction coefficient coding and decoding circuitry capable of adaptively selecting quantized values and interpolation values
JPS58154948A (en) Digitally transmitting method
KR970057989A (en) Method and apparatus for allocating bit rate of variable rate encoder
KR970702663A (en) A multiplexer system using constant bit rate encoders
US4949176A (en) Method and apparatus for DPCM video signal compression and transmission
Bauer et al. Joint optimization of scale factors and Huffman code books for MPEG-4 AAC
US5627535A (en) Quantization apparatus
TWI635742B (en) Dynamic image encoding apparatus and dynamic image encoding method
KR960025575A (en) Variable bit rate audio information transmission apparatus and method
JP2001331200A (en) Device and method for phase quantization of voice signal using acknowledgement characteristic weighted function
KR100337103B1 (en) Complexity Determination Device of Data Signal
JP3137550B2 (en) Audio encoding / decoding device
Prasada et al. Adaptive companding of picture signals in a predictive coder
KR100240004B1 (en) Dct and idct apparatus for compression and decompression for image signal
Podolsky A study of speech/audio coding on packet switched networks
EP0574523A1 (en) Variable bit rate speech encoder
KR970057980A (en) Method and apparatus for allocating bit rate of variable rate video encoder
Borgstrom et al. Rate allocation for noncollaborative multiuser speech communication systems based on bargaining theory
JPH04100494A (en) Variable-rate moving image encoding device
JPS6257134B2 (en)

Legal Events

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

Payment date: 20070918

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee