KR100752840B1 - Q/D model design method for quanitzation parameter control of transcoder and encoding device of multimedia contents - Google Patents

Q/D model design method for quanitzation parameter control of transcoder and encoding device of multimedia contents Download PDF

Info

Publication number
KR100752840B1
KR100752840B1 KR1020050032112A KR20050032112A KR100752840B1 KR 100752840 B1 KR100752840 B1 KR 100752840B1 KR 1020050032112 A KR1020050032112 A KR 1020050032112A KR 20050032112 A KR20050032112 A KR 20050032112A KR 100752840 B1 KR100752840 B1 KR 100752840B1
Authority
KR
South Korea
Prior art keywords
transcoder
quantization
coefficients
quantization coefficient
model
Prior art date
Application number
KR1020050032112A
Other languages
Korean (ko)
Other versions
KR20060109787A (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 엘지전자 주식회사
Priority to KR1020050032112A priority Critical patent/KR100752840B1/en
Publication of KR20060109787A publication Critical patent/KR20060109787A/en
Application granted granted Critical
Publication of KR100752840B1 publication Critical patent/KR100752840B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/40Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video transcoding, i.e. partial or full decoding of a coded input stream followed by re-encoding of the decoded output stream
    • 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

Abstract

본 발명에 의한 트랜스코더의 양자화 계수 조정용 Q/D 모델 설계 방법은 트랜스코더의 양자화 계수를 변경하면서 이에 따른 재양자화 비트 감소율들을 계산하고, 상기 트랜스코더를 거치지 않은 채 소정 양자화 계수에 의하여 재양자화된 비트 감소율을 계산하는 단계; 상기 트랜스코더의 양자화 계수에 따른 재양자화 비트 감소율들 및 상기 소정 양자화 계수에 의하여 재양자화된 비트 감소율 간의 MAE를 계산하는 단계; 상기 인코더의 양자화 계수 및 상기 트랜스코더의 변경된 양자화 계수들간의 비율을 계산하여 상기 MAE와의 관계를 분석하는 단계; 및 상기 계수들간의 비율 및 상기 MAE간의 관계가 분석됨에 따라 상기 계수들간의 비율 및 왜곡률간의 관계를 모델링하는 단계를 포함하는 것을 특징으로 한다.The method of designing a Q / D model for adjusting a quantization coefficient of a transcoder according to the present invention changes the quantization coefficient of a transcoder, calculates re-quantization bit reduction rates accordingly, and requantizes by a predetermined quantization coefficient without passing through the transcoder. Calculating a bit reduction rate; Calculating a MAE between requantization bit reduction rates according to the quantization coefficients of the transcoder and bit reduction rate requantized by the predetermined quantization coefficients; Analyzing a relationship with the MAE by calculating a ratio between the quantization coefficients of the encoder and the modified quantization coefficients of the transcoder; And modeling the relationship between the ratio between the coefficients and the distortion ratio as the relationship between the ratio between the coefficients and the MAE is analyzed.

본 발명에 의하면, 종래의 인코더 및 트랜스코더의 종류에 상관없이 각 장치에 부합되고 신호에 종속되는 Q/D 모델을 설계할 수 있으므로, 영상의 화질에 상관없이 압축 신호의 비트율을 동적으로 제어할 수 있는 효과가 있다. 또한, 컨텐츠 제공업자는 대역폭의 종류에 따라 다수개의 컨텐츠를 제작할 필요가 없고, 하나의 멀티미디어 컨텐츠를 여러 종류의 클라이언트 장치로 전송할 수 있으며, 멀티미디어 제공 서버의 전송 부하를 크게 감소시킬 수 있는 효과가 있다.According to the present invention, it is possible to design a Q / D model that conforms to each device and is signal dependent regardless of the type of conventional encoder and transcoder, so that the bit rate of the compressed signal can be dynamically controlled regardless of the image quality. It can be effective. In addition, the content provider does not need to produce a plurality of contents according to the type of bandwidth, can transmit a single multimedia content to various types of client devices, it is possible to significantly reduce the transmission load of the multimedia providing server. .

Description

트랜스코더의 양자화 계수 조정용 Q/D 모델 설계 방법 및 멀티미디어 컨텐츠 인코딩 장치{Q/D model design method for quanitzation parameter control of transcoder and encoding device of multimedia contents}Q / D model design method for quanitzation parameter control of transcoder and encoding device of multimedia contents}

도 1은 본 발명의 실시예에 따른 트랜스코더의 양자화 계수 조정용 Q/D 모델 설계 방법을 도시한 블록도.1 is a block diagram illustrating a method of designing a Q / D model for adjusting a quantization coefficient of a transcoder according to an embodiment of the present invention.

도 2는 본 발명에 의한 Q/D 모델을 설계함에 있어서, 트랜스코더의 양자화 계수에 따른 트랜스코더단의 비트 감소율 및 직접 재양자화 비트 감소율 수치를 도시한 그래프.2 is a graph showing the bit reduction rate and the direct requantization bit reduction value of the transcoder stage according to the quantization coefficient of the transcoder in designing a Q / D model according to the present invention.

도 3은 본 발명에 의한 Q/D 모델을 설계함에 있어서, 트랜스코더의 양자화 계수에 따른 트랜스코더단의 비트 감소율 및 직접 재양자화 비트 감소율 수치 사이의 MAE를 도시한 그래프.3 is a graph showing the MAE between the bit reduction rate and the direct requantization bit reduction value of the transcoder stage according to the quantization coefficient of the transcoder in designing a Q / D model according to the present invention.

도 4는 본 발명에 의한 Q/D 모델을 설계함에 있어서, MAE 수치에 따른 트랜스코더의 양자화 계수 및 인코더의 양자화 계수의 비율의 상관 관계를 도시한 그래프.4 is a graph showing the correlation between the ratio of the quantization coefficient of the transcoder and the quantization coefficient of the encoder according to the MAE value in designing a Q / D model according to the present invention.

도 5는 본 발명에 의한 트랜스코더의 양자화 계수 조정을 위하여 설계된 Q/D 모델을 도시한 그래프.5 is a graph illustrating a Q / D model designed for adjusting the quantization coefficients of a transcoder according to the present invention.

도 6은 본 발명의 실시예에 따른 Q/D 모델이 적용된 멀티미디어 컨텐츠 인코 딩 장치의 구성요소를 개략적으로 도시한 블록도.6 is a block diagram schematically illustrating the components of a multimedia content encoding apparatus to which a Q / D model is applied according to an embodiment of the present invention.

도 7은 본 발명의 실시예에 따른 멀티미디어 컨텐츠 장치의 VBR 트랜스코딩 결과를 시뮬레이션한 그래프.7 is a graph simulating VBR transcoding results of a multimedia content device according to an embodiment of the present invention.

도 8은 본 발명의 실시예에 따른 멀티미디어 컨텐츠 장치의 CBR 트랜스코딩 결과를 예시한 표.8 is a table illustrating CBR transcoding results of a multimedia content device according to an embodiment of the present invention.

〈도면의 주요 부분에 대한 부호의 설명〉<Explanation of symbols for main parts of drawing>

100: 멀티미디어 컨텐츠 인코딩 장치100: multimedia content encoding device

110: 인코더 112: DCT부110: encoder 112: DCT section

114: 제1양자화부 116: 제1가변장코딩부114: first quantization unit 116: first variable length coding unit

120: 트랜스코더 121: 가변장역코딩부120: transcoder 121: variable long coding unit

122: 역양자화부 123: 트랜스코딩부122: inverse quantization unit 123: transcoding unit

124: 제2양자화부 124a: Q/D모델분석모듈124: second quantization unit 124a: Q / D model analysis module

124b: 계수조정모듈 124c: 양자화모듈124b: coefficient adjusting module 124c: quantization module

125: 제2가변장코딩부 200: 디코딩부125: second variable length coding unit 200: decoding unit

본 발명은 비트율을 감소시키면서도 영상의 왜곡을 제거할 수 있도록 효율적인 트랜스코딩 기능을 제공하는 멀티미디어 컨텐츠 인코딩 장치 및 효율적인 트랜스코더 단의 설계 기법에 관한 것이다.The present invention relates to a multimedia content encoding apparatus and an efficient transcoder stage design technique that provide an efficient transcoding function so as to remove distortion of an image while reducing a bit rate.

최근들어, 핸드폰, 스마트폰, 디지털 TV, PDA(Personal Digital Assistant) 등과 같은 다양한 디지털 제품이 널리 활용되고 있으며, 이러한 디지털 제품들은 통신 기능, 메시지 서비스, 비디오/오디오 재생 및 저장 기능, 검색 기능, 개인 일정 관리 기능 등의 다양한 서비스를 제공한다.Recently, various digital products such as mobile phones, smart phones, digital TVs, and personal digital assistants (PDAs) are widely used. These digital products have communication functions, message services, video / audio playback and storage functions, search functions, personal Provide various services such as schedule management function.

특히, 멀티미디어 컨텐츠를 재생하는 장치들이 전술한 바와 같이 다양해짐에 따라 컨텐츠 제공장치는 각 재생 장치들의 하드웨어적 자원을 고려하여 인코딩을 달리 수행해야 하는 어려움이 있다.In particular, as devices for playing multimedia content are diversified as described above, the content providing device has a difficulty in performing encoding differently in consideration of hardware resources of the respective playback devices.

이러한 요구에 부응하여 개발된 인코딩 기법 중의 하나가 트랜스코딩이다.One of the encoding techniques developed in response to this need is transcoding.

트랜스코딩이란 대역폭과 같은 네트워크 환경의 차이, 컨텐츠를 이루는 데이터 양의 차이 등의 요소에 따라 동적으로 대응하는 인코딩 기술을 의미한다.Transcoding refers to an encoding technique that dynamically responds to factors such as differences in network environments such as bandwidth and differences in the amount of data constituting content.

이와 같이 트랜스코딩 기술을 이용하면 비디오 스트림의 안정적인 전송, 가공 처리, 영상 품질의 유지 등이 가능해지며, 따라서 트랜스코딩의 비트율 제어에 관한 연구가 활발히 진행되고 있다.As such, the use of transcoding technology enables stable transmission of video streams, processing, and maintenance of image quality. Accordingly, research on bit rate control of transcoding has been actively conducted.

그러나, 이미 인코딩된 비트 스트림의 비트율을 트랜스코딩 단에서 다시 조정하는 것은 기술적으로 어려울 뿐만 아니라 데이터가 손실되거나 손상되는 등의 위험이 따른다. 가령, 압축 도메인(예를 들어, DCT 영역) 상에서 정확한 분석 없이 비트 스트림의 압축 변수들을 조정하게 되면 최종 출력단에서 스트림된 데이터가 왜곡되어 디코딩되는 경우가 종종 발생한다.However, re-adjusting the bit rate of an already encoded bit stream at the transcoding stage is not only technically difficult, but also involves the risk of data loss or corruption. For example, adjusting the compression variables of a bit stream without accurate analysis on the compression domain (eg, DCT domain) often results in distortion and decoding of the streamed data at the final output.

이에, 영상 왜곡을 최소화하면서도 비트율을 보다 효율적으로 제어할 수 있는 트랜스코더 상의 지능적 양자화 처리 기술이 필요로 된다.Accordingly, there is a need for an intelligent quantization processing technique on a transcoder capable of controlling bit rate more efficiently while minimizing image distortion.

이론적으로, 비트율과 영상의 화질은 트레이드 오프(trade-off) 관계를 형성하는 것으로서 비트율이 증가하면(압축률이 떨어지면) 화질은 향상되고, 비트율이 감소하면(압축률이 올라가면) 화질은 그만큼 왜곡된다.In theory, the image quality of the bit rate and the image form a trade-off relationship. As the bit rate increases (when the compression rate drops), the image quality improves, and when the bit rate decreases (when the compression rate goes up), the image quality is distorted.

따라서, 트랜스코더 단에서 어떠한 방식으로 비트율을 조절하느냐가 가장 큰 문제점으로 인식되고 있으며, 신호의 종류에 따라 동적으로(신호에 종속적으로) 재양자화를 처리하는 기술이 전술한 문제점의 해결 방안을 제시할 것으로 판단된다.Therefore, how to adjust the bit rate in the transcoder stage is recognized as the biggest problem, and the technique of processing the requantization dynamically (depending on the signal) according to the type of signal suggests a solution to the above problem. I think it will.

따라서, 본 발명은 종래의 트랜스코더에 기반하여 양자화 계수의 선택 기준을 제공하도록 설계된 Q/D 모델을 이용하여, 멀티미디어 재생 장치의 종류, 네트워크 환경, 멀티미디어 컨텐츠의 데이터 크기 등의 요인과 함께 인코딩된 신호에 동적으로 반응하여 양자화 계수를 조정함으로써 트랜스코더 단의 재양자화를 데이터 손실/손상 없이 처리하는 멀티미디어 컨텐츠 인코딩 장치를 제공하는 것을 목적으로 한다.Accordingly, the present invention uses a Q / D model designed to provide a selection criterion for quantization coefficients based on a conventional transcoder, and is encoded with factors such as the type of multimedia playback device, network environment, data size of multimedia content, and the like. It is an object of the present invention to provide a multimedia content encoding apparatus that processes requantization of a transcoder stage without data loss / corruption by dynamically adjusting a quantization coefficient in response to a signal.

또한, 본 발명은 종래의 인코더에 사용되는 양자화 계수, 트랜스코더에 사용되는 양자화 계수, 트랜스코더를 거치지 않고 직접 재양자화에 사용되는 계수 및 이들에 따른 비트율 등을 분석함으로써 영상 왜곡이 가장 최소화되면서도 소정의 압축률을 달성할 수 있도록 트랜스코더 양자화 계수의 조정 기준을 마련하는 Q/D 모델 설계 방법을 제공하는 것을 다른 목적으로 한다.In addition, the present invention analyzes the quantization coefficients used in the conventional encoder, the quantization coefficients used in the transcoder, the coefficients used for direct requantization without going through the transcoder, and the bit rate according to them, thereby minimizing image distortion while providing the minimum. It is another object of the present invention to provide a method for designing a Q / D model that provides a criterion for adjusting a transcoder quantization coefficient to achieve a compression ratio of.

상기의 목적을 달성하기 위하여, 본 발명에 의한 멀티미디어 컨텐츠 인코딩 장치는 멀티미디어 컨텐츠를 DCT연산시키는 DCT부, 상기 DCT연산된 컨텐츠를 제1양자화 계수로 양자화 처리하는 제1양자화부 및 상기 양자화 처리된 컨텐츠를 가변장부호로 코딩시키는 가변장코딩부가 구비되는 인코더; 및 상기 인코딩된 컨텐츠를 가변장부호로 역코딩시키는 가변장역코딩부, 상기 가변장역코딩된 컨텐츠를 상기 제1양자화 계수로 역양자화 처리하는 역양자화부, DCT 영역으로 변환된 컨텐츠의 비트 스트림을 추출하여 트랜스코딩시키는 트랜스코딩부 및 Q(Quantization parameter)/D(Distortion) 모델 상에서 제2양자화 계수 대 상기 제1양자화 계수의 비율이, 왜곡률 변동 구간의 제1기준치보다 작으면 상기 제2양자화 계수를 증가시키고, 상기 왜곡률 변동 구간의 제2기준치보다 크면 상기 제2양자화 계수를 감소시키며, 상기 제1기준치 및 상기 제2기준치 사이이면 이 구간을 벗어날때 까지 상기 제2양자화 계수를 순차적으로 감소시킴으로써 유동적으로 조정된 제2양자화 계수를 이용하여 상기 트랜스코딩된 컨텐츠을 양자화시키는 제2양자화부가 구비되는 트랜스코더를 포함하는 것을 특징으로 한다.In order to achieve the above object, the multimedia content encoding apparatus according to the present invention includes a DCT unit for DCT operation of multimedia content, a first quantizer for quantizing the DCT calculated content with a first quantization coefficient, and the quantized content. An encoder having a variable length coding unit for coding a variable length code; And a variable length coding unit for inversely encoding the encoded content with a variable length code, an inverse quantizer for inversely quantizing the variable length coded content with the first quantization coefficient, and extracting a bit stream of the content converted into a DCT region. If the ratio of the second quantization coefficient to the first quantization coefficient is smaller than the first reference value of the distortion rate variation interval, the second quantization coefficient is increased on the transcoding unit and the Q (Quantization parameter) / D (Distortion) model. The second quantization coefficient is reduced when the distortion is greater than the second reference value of the variation range, and if the distance between the first reference value and the second reference value is decreased, the second quantization coefficient is sequentially reduced until the deviation is made. A transformer provided with a second quantization unit for quantizing the transcoded content using the adjusted second quantization coefficient. It characterized in that it comprises a further.

또한, 본 발명에 의한 멀티미디어 컨텐츠 인코딩 장치의 상기 제2양자화부는,In addition, the second quantization unit of the multimedia content encoding apparatus according to the present invention,

if(Q1/Q2 > 0.6)if (Q1 / Q2> 0.6)

if(Q1/Q2 > 0.6 && Q1/Q2 < 0.7)if (Q1 / Q2> 0.6 && Q1 / Q2 <0.7)

Q2 = Q2 - 1Q2 = Q2-1

if(Q1/Q2 > 0.6 && Q1/Q2 < 0.7)if (Q1 / Q2> 0.6 && Q1 / Q2 <0.7)

Q2 = Q2 - 1Q2 = Q2-1

else if(Q1/Q2 ≤ 0.6)else if (Q1 / Q2 ≤ 0.6)

Q2 = Q2 + 1Q2 = Q2 + 1

(Q1 : 제1양자화 계수, Q2 : 제2양자화 계수)(Q1: first quantization coefficient, Q2: second quantization coefficient)

상기와 같이 표현되는 알고리즘에 의하여 상기 제2양자화 계수를 조정하는 것을 특징으로 한다.The second quantization coefficient is adjusted by an algorithm expressed as described above.

상기의 다른 목적을 달성하기 위하여, 본 발명에 의한 트랜스코더의 양자화 계수 조정용 Q/D 모델 설계 방법은, DCT연산, 양자화처리 및 가변장부호 코딩을 수행하는 인코더 및 가변장부호 역코딩, 역양자화 처리, 트랜스코딩, 재양자화 처리 및 가변장부호 코딩을 수행하는 트랜스코더를 포함하는 멀티미디어 컨텐츠 인코딩 장치에 있어서, 상기 트랜스코더의 양자화 계수를 변경하면서 이에 따른 재양자화 비트 감소율들을 계산하고, 상기 트랜스코더를 거치지 않은 채 소정 양자화 계수에 의하여 재양자화된 비트 감소율을 계산하는 단계; 상기 트랜스코더의 양자화 계수에 따른 재양자화 비트 감소율들 및 상기 소정 양자화 계수에 의하여 재양자화된 비트 감소율 간의 MAE(Mean Absolute Error)를 계산하는 단계; 상기 인코더의 양자화 계수 및 상기 트랜스코더의 변경된 양자화 계수들간의 비율을 계산하여 상기 MAE와의 관계를 분석하는 단계; 및 상기 계수들간의 비율 및 상기 MAE간의 관계가 분석됨에 따라 상기 계수들간의 비율 및 왜곡률간의 관계를 모델링하는 단계를 포함하는 것을 특징으로 한다.In order to achieve the above object, the Q / D model design method for quantization coefficient adjustment of a transcoder according to the present invention includes an encoder for performing DCT operation, quantization processing, and variable length coding, and variable length inverse coding and inverse quantization. A multimedia content encoding apparatus comprising a transcoder that performs processing, transcoding, requantization processing, and variable length coding, wherein the requantization bit reduction rates are calculated while changing the quantization coefficient of the transcoder, and the transcoder Calculating a bit quantization rate requantized by a predetermined quantization coefficient without going through; Calculating a mean absolute error (MAE) between requantization bit reduction rates according to the quantization coefficients of the transcoder and bit reduction rate requantized by the predetermined quantization coefficient; Analyzing a relationship with the MAE by calculating a ratio between the quantization coefficients of the encoder and the modified quantization coefficients of the transcoder; And modeling the relationship between the ratio between the coefficients and the distortion ratio as the relationship between the ratio between the coefficients and the MAE is analyzed.

또한, 본 발명에 의한 트랜스코더의 양자화 계수 조정용 Q/D 모델 설계 방법은 상기 모델링된 Q/D 모델 상에서 왜곡률의 변화량이 큰 구간을 지정하고, 상기 지정된 구간의 제1기준치 및 제2기준치를 설정하는 단계를 더 구비하는 것을 특징으로 한다.In addition, the Q / D model design method for adjusting the quantization coefficient of the transcoder according to the present invention designates a section having a large change amount of distortion on the modeled Q / D model, and sets the first reference value and the second reference value of the designated section. It characterized in that it further comprises the step.

또한, 본 발명에 의한 트랜스코더의 양자화 계수 조정용 Q/D 모델 설계 방법에 사용되는 상기 제1기준치 및 상기 제2기준치는 왜곡률이 급격히 하강되는 구간의 기준치로서, 상기 트랜스코더의 양자화 계수 대 상기 인코더의 양자화 계수 간 비율이, 상기 제1기준치보다 작으면 상기 트랜스코더의 양자화 계수가 소정 수치 증가되고, 상기 비율이 상기 제2기준치보다 크면 상기 트랜스코더의 양자화 계수가 소정 수치 감소되며, 상기 비율이 상기 제1기준치 및 상기 제2기준치 사이이면 이 구간을 벗어날 때까지 상기 트랜스코더의 양자화 계수가 순차적으로 소정 수치 감소되는 것을 특징으로 한다.In addition, the first reference value and the second reference value used in the Q / D model design method for adjusting the quantization coefficient of the transcoder according to the present invention are reference values of a section in which the distortion rate is sharply lowered, and the quantization coefficient of the transcoder versus the encoder If the ratio between the quantization coefficients is less than the first reference value, the quantization coefficient of the transcoder is increased by a predetermined value. If the ratio is greater than the second reference value, the quantization coefficient of the transcoder is decreased by a predetermined value. If it is between the first reference value and the second reference value, the quantization coefficient of the transcoder is sequentially reduced by a predetermined value until it exits this section.

이하에서 첨부된 도면을 참조하여 본 발명의 실시예에 따른 멀티미디어 컨텐츠 인코딩 장치 및 트랜스코더의 양자화 계수 조정용 Q/D 모델 설계 방법에 대하여 상세히 설명한다.Hereinafter, a method for designing a Q / D model for adjusting a quantization coefficient of a multimedia content encoding apparatus and a transcoder according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

본 발명의 기술적 사상은 Q(Quantization parameter)/D(Distortion) 모델에 근거하여 멀티미디어 컨텐츠 인코딩 장치의 트랜스코더단에서 양자화를 (컨텐츠의 데이터 크기 또는 대역폭과 같은 네트워크 환경 등에)적응적으로 수행함으로써 비디오 디코딩의 왜곡을 최소화하는 데 있다.The technical idea of the present invention is to perform video by adaptively performing quantization (such as content size or bandwidth of a network environment) in a transcoder stage of a multimedia content encoding apparatus based on a Q (Quantization parameter) / D (Distortion) model. Minimize the distortion of the decoding.

따라서, 트랜스코더의 양자화 계수 조정용 Q/D 모델이 설계된 후, 이에 기반하여 멀티미디어 컨텐츠 인코딩 장치의 트랜스코더단에서 양자화처리가 적응적으로 수행되어야 하므로, 트랜스코더의 양자화 계수 조정용 Q/D 모델 설계 방법에 대하 여 먼저 설명하기로 한다.Therefore, after the Q / D model for adjusting the quantization coefficient of the transcoder is designed, the quantization process must be adaptively performed at the transcoder stage of the multimedia content encoding apparatus based on the Q / D model for the quantization coefficient adjustment of the transcoder. This is explained first.

도 1은 본 발명의 실시예에 따른 트랜스코더의 양자화 계수 조정용 Q/D 모델 설계 방법을 도시한 블록도이다.1 is a block diagram illustrating a method of designing a Q / D model for adjusting a quantization coefficient of a transcoder according to an embodiment of the present invention.

우선, 일반적인 멀티미디어 컨텐츠 인코딩 장치(도시되지 않음)는 인코더 및 트랜스코더를 포함하여 구성되는데, 상기 인코더는 DCT연산, 양자화(Quantization)처리 및 가변장부호코딩(VLC: Variable Length Coding)을 수행하고, 상기 트랜스코더는 가변장부호 역코딩, 역양자화 처리, 트랜스코딩, 재양자화 처리 및 가변장부호 코딩을 수행한다.First, a general multimedia content encoding apparatus (not shown) includes an encoder and a transcoder, which performs a DCT operation, a quantization process, and variable length coding (VLC), The transcoder performs variable length inverse coding, inverse quantization processing, transcoding, requantization processing, and variable length coding.

처음으로, 상기 트랜스코더의 양자화 계수를 변경하면서 이에 따른 재양자화 비트 감소율들을 계산하고(S100), 상기 트랜스코더를 거치지 않은 인코더의 출력 신호가 소정 양자화 계수에 의하여 재양자화(이하에서, "직접(direct) 재양자화"라 한다)된 비트 감소율을 계산한다(S200).First, the requantization bit reduction rates are calculated according to the change of the quantization coefficient of the transcoder (S100), and the output signal of the encoder that does not go through the transcoder is requantized by a predetermined quantization coefficient (hereinafter, “directly” direct) is calculated (S200).

이때, 상기 트랜스코더는 본 발명이 적용되기 전의 양자화 계수를 가지는 것으로서, 피설계 대상으로서 종래의 트랜스코더를 의미한다.In this case, the transcoder has a quantization coefficient before the present invention is applied, and means a conventional transcoder as a design target.

도 2는 본 발명에 의한 Q/D 모델을 설계함에 있어서, 트랜스코더의 양자화 계수에 따른 트랜스코더단의 비트 감소율 및 직접 재양자화 비트 감소율 수치를 도시한 그래프이다.2 is a graph showing the bit reduction rate and the direct requantization bit reduction rate of the transcoder stage according to the quantization coefficient of the transcoder in designing the Q / D model according to the present invention.

도 2의 (a) 도면, (b) 도면 및 (c) 도면은 각각 인코더의 양자화 계수(이하에서, "Q1"이라 한다)가 "4", "8", "12"로 설정되었 때의 그래프들이며, 각 그래프의 x축은 트랜스코더의 양자화 계수(이하에서, "Q2"라 한다)를 변수로 하고, y축은 이에 따른 (인코딩) 비트 감소율을 나타내고 있다.(A), (b) and (c) of FIG. 2 respectively show quantization coefficients (hereinafter referred to as "Q1") of the encoder when "4", "8" and "12" are set. The graphs are graphs, and the x-axis of each graph is a quantization coefficient of the transcoder (hereinafter referred to as "Q2") as a variable, and the y-axis represents a corresponding (encoding) bit reduction rate.

상기 각 그래프에서 진한 선으로 표시된 수치(a1)는 종래의 트랜스코더의 양자화 계수에 따른 비트 감소율을 나타낸 것이고, 흐린 선으로 표시된 수치(a2)는 상기 직접 재양자화에 따른 비트 감소율을 나타낸 것이다.In the graphs, the numerical value a1 indicated by the dark line represents the bit reduction rate according to the quantization coefficient of the conventional transcoder, and the numerical value a2 indicated by the dim line represents the bit reduction rate according to the direct requantization.

도 2에 의하면, 종래의 트랜스코더의 양자화 계수가 작은 크기로 감소되어도 비트율(a1)이 각 그래프상에서 크게 감소되는 것(각 그래프에서 A1, A2, A3)을 볼 수 있는데, 이는 역양자화처리가 수행되어 DCT 영역으로 변환된 상태이고 이때의 비트 스트림은 라플라스 분포(Laplacian Distribution) 특성을 가지기 때문이다.According to Fig. 2, even if the quantization coefficient of the conventional transcoder is reduced to a small size, it can be seen that the bit rate a1 is greatly reduced on each graph (A1, A2, A3 in each graph). This is because the bit stream has been performed to be converted to the DCT region and has a Laplacian Distribution characteristic.

본 발명에 의한 Q/D 모델을 설계함에 있어서, 분석 절차는 DCT 영역에서 진행되며, 종래의 경우 비트 스트림의 비트율이 크게 감소됨은 영상에 왜곡이 크게 발생될 확률이 높음을 의미한다.In designing the Q / D model according to the present invention, the analysis procedure is performed in the DCT region, and in the related art, the bit rate of the bit stream is greatly reduced, which means that the distortion is likely to occur in the image.

반면, 직접 재양자화에 따른 비트율(a2)은 각 그래프 상에서 선형적(linear) 특성을 보이면서 감소되므로 영상 왜곡이 거의 발생되지 않음을 알 수 있다.On the other hand, since the bit rate a2 according to direct requantization is reduced while showing a linear characteristic on each graph, it can be seen that almost no image distortion occurs.

즉, 본 발명에 의한 Q/D 모델의 설계는 직접 재양자화에 따른 비트율(a2) 특성을 목표로 한다.That is, the design of the Q / D model according to the present invention aims at the bit rate a2 characteristic according to direct requantization.

이어서, 상기 트랜스코더단을 거치지 않고 직접 재양자화된 비트 감소율 및 상기 Q2에 따른 재양자화 비트 감소율들 간의 MAE(Mean Absolute Error)를 계산한다(S300).Subsequently, a mean absolute error (MAE) is calculated between the directly requantized bit reduction rate and the requantized bit reduction rate according to Q2 without passing through the transcoder stage (S300).

도 3은 본 발명에 의한 Q/D 모델을 설계함에 있어서, 트랜스코더의 양자화 계수에 따른 트랜스코더단의 비트 감소율 및 직접 재양자화 비트 감소율 수치 사이 의 MAE를 도시한 그래프이다.3 is a graph showing the MAE between the bit reduction rate and the direct requantization bit reduction rate of the transcoder stage according to the quantization coefficient of the transcoder in designing the Q / D model according to the present invention.

도 3의 (a) 도면, (b) 도면 및 (c) 도면은 각각 상기 Q1"이 "4", "8", "12"로 설정되었 때의 그래프들이며, 각 그래프의 x축은 상기 "Q2"를 변수로 하고, y축은 계산된 MAE 수치를 나타내고 있다.(A), (b) and (c) of FIG. 3 are graphs when the Q1 "is set to" 4 "," 8 "and" 12 ", respectively, and the x-axis of each graph is the" Q2 ". "As a variable, and the y-axis shows the calculated MAE value.

도 3에 의하면, 도 2의 측정 결과에서 예상되었듯이 각 그래프 상에서 비트율이 가장 급격하게 감소되는 부분(B1, B2, B3)을 확인할 수 있는데, 피설계 대상인 종래의 트랜스코더에서는 이 부분에서 영상의 왜곡이 심하게 발생된다.According to FIG. 3, as expected in the measurement result of FIG. 2, the portions B1, B2, and B3 of which bit rate is most rapidly reduced on each graph can be identified. Distortion is severely generated.

이는 앞으로 설계될 본 발명에 의한 트랜스코더의 Q2가 어떠한 수치들을 가지고 유동적으로 설정될 지를 암시해준다.This suggests what values Q2 of the transcoder according to the present invention to be designed will be set fluidly.

구체적인 Q2 검출용 Q/D 모델을 설계하기 위하여 다음으로, 상기 인코더의 양자화 계수(Q1) 및 상기 Q2 사이의 비율을 계산하고, 계산된 MAE와의 관계를 분석한다(S400).Next, in order to design a specific Q2D Q / D model, a ratio between the quantization coefficient Q1 and the Q2 of the encoder is calculated, and the relationship with the calculated MAE is analyzed (S400).

도 4는 본 발명에 의한 Q/D 모델을 설계함에 있어서, MAE 수치에 따른 트랜스코더의 양자화 계수 및 인코더의 양자화 계수의 비율의 상관 관계를 도시한 그래프이다.4 is a graph showing the correlation between the ratio of the quantization coefficient of the transcoder and the quantization coefficient of the encoder according to the MAE value in designing the Q / D model according to the present invention.

도 4의 (a) 도면, (b) 도면 및 (c) 도면은 각각 상기 Q1"이 "4", "8", "12"로 설정되었 때의 그래프들이며, 각 그래프의 x축은 상기 "Q2"를 변수로 하고, y축은 "Q1/Q2" 수치를 나타내고 있다.(A), (b) and (c) of FIG. 4 are graphs when the Q1 "is set to" 4 "," 8 ", and" 12 ", respectively, and the x-axis of each graph is the" Q2 ". "Is a variable, and the y-axis has shown the" Q1 / Q2 "numerical value.

도 4에 의하면, 상기 MAE가 가장 큰 수치를 가질 때 또는 가장 낮은 수치를 가질 때에 "Q1/Q2"가 어떠한 값을 가질 지를 알 수 있다.According to FIG. 4, it can be seen what value "Q1 / Q2" has when the MAE has the largest value or the lowest value.

도 4의 각 그래프를 보면, 상기 MAE가 가장 큰 수치를 가질 때(C1, C2, C3)의 Q2 수치 및 Q1/Q2 수치가 표시되어 있다.In each graph of FIG. 4, the Q2 and Q1 / Q2 values are displayed when the MAE has the largest value (C1, C2, C3).

이와 같이 하여 종래의 트랜스코더에 적용되는 수치를 기준으로 하여 상기 계수들간의 비율(Q1/Q2) 및 상기 MAE간의 관계가 분석되면, 상기 계수들간의 비율 및 왜곡률간의 관계를 모델링한다(S500).In this way, when the relationship between the ratios Q1 / Q2 and the MAE between the coefficients is analyzed based on the numerical value applied to the conventional transcoder, the relationship between the ratio between the coefficients and the distortion ratio is modeled (S500).

도 5는 본 발명에 의한 트랜스코더의 양자화 계수 조정을 위하여 설계된 Q/D 모델을 도시한 그래프이다.5 is a graph illustrating a Q / D model designed for adjusting a quantization coefficient of a transcoder according to the present invention.

도 5에 도시된 Q/D 모델을 살펴보면, Q1/Q2의 비율에 따라 왜곡률은 크게 세 영역으로 나눌 수 있으며, 일정 수치에 이른 왜곡률이 급격히 하강하는 제2영역이 본 발명에 의한 트랜스코더 단의 양자화 계수 설정에 기준을 제공한다(S600).Referring to the Q / D model shown in FIG. 5, the distortion ratio can be largely divided into three regions according to the ratio of Q1 / Q2, and the second region in which the distortion ratio drops to a predetermined value rapidly drops in the transcoder stage according to the present invention. A reference is provided to the quantization coefficient setting (S600).

따라서, 본 발명에 의한 멀티미디어 컨텐츠 인코딩 장치의 트랜스코더 단에서 이용되는 양자화 계수는 상기 제2영역에 해당되는 Q1/Q2의 비율에 따라 결정될 수 있다.Therefore, the quantization coefficients used in the transcoder stage of the multimedia content encoding apparatus according to the present invention may be determined according to the ratio of Q1 / Q2 corresponding to the second region.

가령, 인코더 단의 양자화 계수(Q1)가 소정 수치(네트워크 환경 등에 의하여)로 설정되었을 때, 종래의 트랜스코더 단의 양자화 계수(Q2)와의 비율이 상기 Q/D 모델 상의 어느 영역에 위치하는 가를 판단하여 상기 Q2의 수치를 유동적으로 조정할 수 있다.For example, when the quantization coefficient Q1 of the encoder stage is set to a predetermined value (by network environment, etc.), in which area on the Q / D model the ratio with the quantization coefficient Q2 of the conventional transcoder stage is located. By judging, the numerical value of Q2 can be flexibly adjusted.

본 발명의 실시예에 따른 Q2 수치의 유동적인 조정 과정은 다음과 같다.The flow of adjusting the Q2 value according to the embodiment of the present invention is as follows.

도 5에 의하면, 상기 Q1/Q2가 "0.6"보다 작으면 상기 Q2의 수치를 소정 단위 만큼 증가시키고, 상기 Q1/Q2가 "0.7"보다 크면 상기 Q2의 수치를 소정 단위 만큼 감소시킨다. 5, when Q1 / Q2 is smaller than "0.6", the value of Q2 is increased by a predetermined unit, and when Q1 / Q2 is larger than "0.7", the value of Q2 is decreased by a predetermined unit.

또한, 상기 Q1/Q2가 "0.6" 내지 "0.7"의 사이에 있으면, 이 구간을 벗어날 때까지 상기 Q2를 순차적으로 소정 단위 만큼 감소시킨다.In addition, when Q1 / Q2 is between "0.6" and "0.7", the Q2 is sequentially decreased by a predetermined unit until it exits this section.

따라서, 본 발명에 의하면, 인코더 단의 출력신호 특성에 맞추어 적응적으로 트랜스코더 단의 양자화 계수를 설정함으로써 영상의 왜곡을 방지하면서 인코딩 비트율을 제어할 수 있다.Therefore, according to the present invention, the encoding bit rate can be controlled while preventing distortion of an image by adaptively setting the quantization coefficient of the transcoder stage according to the output signal characteristics of the encoder stage.

이어서, 상기 Q/D 모델에 의하여 인코딩 비트율이 제어되는 멀티미디어 컨텐츠 인코딩 장치에 대하여 설명한다.Next, a multimedia content encoding apparatus whose encoding bit rate is controlled by the Q / D model will be described.

도 6은 본 발명의 실시예에 따른 Q/D 모델이 적용된 멀티미디어 컨텐츠 인코딩 장치(100)의 구성요소를 개략적으로 도시한 블록도이다.6 is a block diagram schematically illustrating components of the multimedia content encoding apparatus 100 to which the Q / D model is applied according to an embodiment of the present invention.

도 6에 의하면, 본 발명의 실시예에 따른 멀티미디어 컨텐츠 인코딩 장치(100)는 인코더(110) 및 트랜스코더(120)로 구성되는데, 상기 인코더(110)는 DCT부(112), 제1양자화부(114) 및 제1가변장코딩부(116)를 포함하고, 상기 트랜스코더(120)는 가변장역코딩부(121), 역양자화부(122), 트랜스코딩부(123), 제2양자화부(124), 제2가변장코딩부(125)를 포함한다.Referring to FIG. 6, the multimedia content encoding apparatus 100 according to the embodiment of the present invention includes an encoder 110 and a transcoder 120. The encoder 110 includes a DCT unit 112 and a first quantization unit. 114 and a first variable length coding unit 116, wherein the transcoder 120 includes a variable length coding unit 121, an inverse quantization unit 122, a transcoding unit 123, and a second quantization unit. 124, a second variable length coding unit 125.

우선, 상기 인코더(110)의 DCT부(112)는 멀티미디어 컨텐츠를 이루는 화소의 분포를 주파수 영역으로 변환하여 중요한 정보 및 중요하지 않은 정보를 분리시키고, 손실 압축 방식에 의하여 중요하지 않은 정보는 손실시킴으로써 1차적으로 압축을 실행한다.First, the DCT unit 112 of the encoder 110 converts the distribution of pixels constituting the multimedia content into a frequency domain to separate important and non-important information, and loses non-critical information by lossy compression. Perform compression primarily.

그리고, 상기 제1양자화부(114)는 소정의 양자화 계수를 통하여 불규칙적이 고 조밀하게 분포된 화소 수치를 정렬시키는데, 이는 신경 시각적 중복성에 근거한 것으로서 일정의 데이터가 손실됨을 의미한다. 이때, 양자화 계수가 클수록 데이터의 손실은 적어지나 압축률은 감소된다.In addition, the first quantization unit 114 aligns irregularly and densely distributed pixel values through a predetermined quantization coefficient, which is based on neural visual redundancy, meaning that certain data is lost. At this time, the larger the quantization coefficient, the smaller the loss of data, but the compression rate is reduced.

상기 제1가변장코딩부(116)는 상기 양자화 처리된 컨텐츠를 가변장(가변길이)부호로 코딩시키는데, 이는 가장 짧은 부호 워드를 가장 많이 등장하는 명암도에 지정하는 무손실 압축 방식으로서, 데이터의 중요도에 따라 가변길이 부호가 사용되는 것이다.The first variable length coding unit 116 codes the quantized content with a variable length code, which is a lossless compression method in which the shortest code word is assigned to the most appearing intensity, and the importance of data is increased. Depending on the variable length code is used.

상기 가변장 코딩 시, 가령 허프만 방식 또는 산술 부호화 방식 등이 이용될 수 있다.In the variable length coding, for example, a Huffman scheme or an arithmetic coding scheme may be used.

이와 같이 하여, 인코더(110) 단에서 멀티미디어 컨텐츠가 1차적으로 압축되면, 네트워크 환경(대역폭) 및 데이터 양에 따라 트랜스코딩이 진행된다.In this way, when the multimedia content is primarily compressed in the encoder 110, transcoding proceeds according to the network environment (bandwidth) and the amount of data.

상기 트랜스코더(120)의 가변장역코딩부(121)는 상기 인코딩된 컨텐츠를 가변장부호로 역코딩시키는데, 이는 상기 제1가변장코딩부(116)에 상응하는 구성부이다.The variable length coding unit 121 of the transcoder 120 inversely encodes the encoded content into a variable length code, which is a component corresponding to the first variable length coding unit 116.

이어서, 상기 역양자화부(122)는 상기 가변장역코딩된 컨텐츠를 상기 제1양자화 계수로 역양자화 처리하는데, 이는 상기 제1양자화부(114)에 상응하는 구성부이다.Subsequently, the inverse quantization unit 122 inverse quantizes the variable inverse coded content with the first quantization coefficient, which is a component corresponding to the first quantization unit 114.

상기 가변장역코딩부(121) 및 트랜스코딩부(123)에 의하여 인코딩된 멀티미디어 컨텐츠는 DCT 영역 상에서 표현되며, 상기 트랜스코딩부(123)는 DCT 상에서 표현된 컨텐츠의 비트 스트림을 추출한 뒤, 데이터 스트림의 비트율을 감소시키거 나 해상도(resolution)를 낮추는(또는 높이는) 등의 트랜스코딩을 처리한다.The multimedia content encoded by the variable length coding unit 121 and the transcoding unit 123 is represented on the DCT region, and the transcoding unit 123 extracts a bit stream of the content expressed on the DCT, and then the data stream. It handles transcoding, such as reducing the bit rate or lowering (or increasing) the resolution.

본 발명은 상기 제2양자화부(124)의 기능에 특징적인 요소를 가지므로 상기 트랜스코딩부(123)의 기능에 대한 상세한 설명은 생략하기로 한다.Since the present invention has a characteristic element in the function of the second quantization unit 124, a detailed description of the function of the transcoding unit 123 will be omitted.

도 6에 의하면, 상기 제2양자화부(124)는 Q/D모델분석모듈(124a), 계수조정모듈(124b) 및 양자화모듈(124c)로 구성되는데, 상기 Q/D모델분석모듈(124a)은 도 1 내지 도 5를 참조하여 설명된 바와 같이, 종래의 트랜스코더(120)를 통하여 설계된 Q/D 모델 데이터를 가지고 있고, 트랜스코딩된 컨텐츠 데이터를 재양자화함에 따라 Q/D 모델을 분석한다.Referring to FIG. 6, the second quantization unit 124 includes a Q / D model analysis module 124a, a coefficient adjustment module 124b, and a quantization module 124c. The Q / D model analysis module 124a is provided. 1 to 5 have Q / D model data designed through the conventional transcoder 120, and analyze the Q / D model as the quantized transcoded content data. .

Q/D 모델을 분석함에 있어서, 인코딩된 데이터의 크기, 네트워크 환경, 상기 인코더(110)의 양자화 계수, 일반적으로 설정된 현재의 제2양자화부(124)의 양자화 계수 등이 이용된다.In analyzing the Q / D model, the size of the encoded data, the network environment, the quantization coefficient of the encoder 110, the quantization coefficient of the current second quantization unit 124 which is generally set, and the like are used.

첫째, 상기 Q/D모델분석모듈(124a)이, Q/D 모델 상에서 제2양자화 계수 대 상기 제1양자화 계수의 비율이 왜곡률 변동 구간의 제1기준치(도 5의 "0.6")보다 작다고 판단하면, 상기 계수조정모듈(124b)은 Q2의 수치를 "1" 증가시킨다.First, the Q / D model analysis module 124a determines that the ratio of the second quantization coefficient to the first quantization coefficient on the Q / D model is smaller than the first reference value (“0.6” in FIG. 5) of the distortion rate variation interval. Then, the coefficient adjusting module 124b increases the value of Q2 by "1".

둘째, 상기 Q/D모델분석모듈(124a)이, Q/D 모델 상에서 제2양자화 계수 대 상기 제1양자화 계수의 비율이 왜곡률 변동 구간의 제2기준치(도 5의 "0.7")보다 크다고 판단하면, 상기 계수조정모듈(124b)은 Q2의 수치를 "1" 감소시킨다.Second, the Q / D model analysis module 124a determines that the ratio of the second quantization coefficient to the first quantization coefficient on the Q / D model is greater than the second reference value (“0.7” in FIG. 5) of the distortion rate variation interval. Then, the coefficient adjusting module 124b decreases the value of Q2 by "1".

셋째, 상기 Q/D모델분석모듈(124a)이, Q/D 모델 상에서 제2양자화 계수 대 상기 제1양자화 계수의 비율이 왜곡률 변동 구간의 제1기준치(도 5의 "0.6") 및 제2기준치(도 5의 "0.7") 사이이면, 상기 계수조정모듈(124b)은 이 구간을 벗어날때 까지 Q2의 수치를 순차적으로 "1"씩 감소시킨다.Third, the ratio of the second quantization coefficient to the first quantization coefficient in the Q / D model analysis module 124a is the first reference value (“0.6” in FIG. 5) and the second in the distortion rate variation interval. If it is between the reference value ("0.7" in Fig. 5), the coefficient adjusting module 124b sequentially decreases the value of Q2 by "1" until it leaves this section.

이와 같이, 상기 계수조정모듈(124b)이 유동적으로 Q2의 수치를 조정함에 따라 상기 양자화모듈(124c)은 조정된 Q2를 이용하여 트랜스코더(120) 단의 재양자화를 처리한다.In this way, as the coefficient adjusting module 124b flexibly adjusts the value of Q2, the quantization module 124c processes the requantization of the transcoder 120 stage using the adjusted Q2.

상기 Q/D모델분석모듈(124a)이 Q/D 모델을 분석하는 과정은 다음과 같이 프로그래밍될 수 있다.The process of analyzing the Q / D model by the Q / D model analysis module 124a may be programmed as follows.

(본 발명의 실시예에 따른 Q/D 모델 분석 프로그램의 일실시예)(One embodiment of the Q / D model analysis program according to an embodiment of the present invention)

if(Q1/Q2 > 0.6)if (Q1 / Q2> 0.6)

if(Q1/Q2 > 0.6 && Q1/Q2 < 0.7)if (Q1 / Q2> 0.6 && Q1 / Q2 <0.7)

Q2 = Q2 - 1Q2 = Q2-1

if(Q1/Q2 > 0.6 && Q1/Q2 < 0.7)if (Q1 / Q2> 0.6 && Q1 / Q2 <0.7)

Q2 = Q2 - 1Q2 = Q2-1

else if(Q1/Q2 ≤ 0.6)else if (Q1 / Q2 ≤ 0.6)

Q2 = Q2 + 1Q2 = Q2 + 1

여기서, Q1은 "제1양자화 계수"를 의미하고, Q2는 "제2양자화 계수"를 의미한다.Here, Q1 means "first quantization coefficient" and Q2 means "second quantization coefficient".

도 7은 본 발명의 실시예에 따른 멀티미디어 컨텐츠 장치의 VBR(Variable Bit Rates) 트랜스코딩 결과를 시뮬레이션한 그래프이고, 도 8은 본 발명의 실시예에 따른 멀티미디어 컨텐츠 장치의 CBR(Constant Bit Rates) 트랜스코딩 결과를 예시한 표이다.FIG. 7 is a graph simulating a variable bit rate (VBR) transcoding result of a multimedia content device according to an embodiment of the present invention, and FIG. 8 is a constant bit rate (CBR) transformer of a multimedia content device according to an embodiment of the present invention. A table illustrating the coding results.

도 7에 의한 시뮬레이션 그래프의 x축은 트랜스코더(120)의 양자화 계수를 나타내고, y축은 PSNR(Peak Signal to Noise Ratio)을 나타내는데, 직접 재양자화에 따른 PSNR 수치(E1)에 비하여 본 발명에 의한 트랜스코더(120)의 재양자화에 따른 PSNR 수치(E2)가 향상되면서도 종래에 비하여 영상의 왜곡이 발생되지 않음(급격히 수치가 변동하는 구간이 없음)을 확인할 수 있다.In the simulation graph of FIG. 7, the x-axis represents the quantization coefficient of the transcoder 120, and the y-axis represents the Peak Signal to Noise Ratio (PSNR). The transformer according to the present invention is compared to the PSNR value E1 according to direct requantization. While the PSNR value E2 according to the requantization of the coder 120 is improved, the distortion of the image does not occur (there is no sharply changing section) compared to the conventional art.

또한, 도 8에 의하면, 표상에서 굵은 사각선으로 표시된 부분이 본 발명에 의한 트랜스코더(120)의 양자화에 따른 실험 결과에 해당되고, 나머지 부분은 종래의 트랜코딩에 의한 실험 결과를 나타내는데, (a) 도면은 정원 이미지의 CBR 트랜스코딩 결과 표이고, (b) 도면은 사람 이미지의 CBR 트랜스코딩 결과 표이다.In addition, according to Figure 8, the portion indicated by the thick square line on the table corresponds to the experimental results according to the quantization of the transcoder 120 according to the present invention, the remaining part represents the experimental results by the conventional transcoding, ( a) Figure CBR transcoding result table of the garden image, (b) Figure CBR transcoding result table of the human image.

그리고, (c) 도면은 축구 경기 이미지의 CBR 트랜스코딩 결과 표이고, (d) 도면은 날짜 화면 이미지의 CBR 트랜스코딩 결과 표이다.And, (c) the figure is a table of CBR transcoding results of the soccer game image, (d) the figure is a table of CBR transcoding results of the date screen image.

이렇게 원래 이미지의 데이터 양이 상이하고 또한 인코더(110) 단의 압축률도 상이하며, 비트율도 상이한 상태에서 본 발명에 의한 CBR 트랜스코딩이 수행된 결과를 보면 모두 종래에 비하여 향상된 수치("△(dB)" 항목을 참조)를 보이고 있음을 확인할 수 있다.As a result of performing the CBR transcoding according to the present invention in the state where the data amount of the original image is different, the compression rate of the encoder 110 is different, and the bit rate is also different, all the numerical values ("Δ (dB ) ").

상기 제2양자화부(124)에 의하여 재양자화처리된 비트 스트림은 제2가변장코딩부(125)에 의하여 무손실 압축이 이루어지고 네트워크를 통하여 디코더(200)로 전송된다. 상기 디코더(200)는 역가변장코딩, 역양자화 처리, 역DCT 변환을 처리하여 원래의 멀티미디어 컨텐츠를 재생시킨다.The bit stream re-quantized by the second quantizer 124 is lossless compressed by the second variable coding unit 125 and transmitted to the decoder 200 through a network. The decoder 200 processes inverse variable coding, inverse quantization processing, and inverse DCT transformation to reproduce original multimedia contents.

이상에서 본 발명에 대하여 그 바람직한 실시예를 중심으로 설명하였으나 이 는 단지 예시일 뿐 본 발명을 한정하는 것이 아니며, 본 발명이 속하는 분야의 통상의 지식을 가진 자라면 본 발명의 본질적인 특성을 벗어나지 않는 범위에서 이상에 예시되지 않은 여러 가지의 변형과 응용이 가능함을 알 수 있을 것이다. 예를 들어, 본 발명의 실시예에 구체적으로 나타난 각 구성 요소는 변형하여 실시할 수 있는 것이다. 그리고 이러한 변형과 응용에 관계된 차이점들은 첨부된 청구 범위에서 규정하는 본 발명의 범위에 포함되는 것으로 해석되어야 할 것이다.The present invention has been described above with reference to preferred embodiments thereof, which are merely examples and are not intended to limit the present invention, and those skilled in the art do not depart from the essential characteristics of the present invention. It will be appreciated that various modifications and applications which are not illustrated above in the scope are possible. For example, each component specifically shown in the embodiment of the present invention can be modified. And differences relating to such modifications and applications will have to be construed as being included in the scope of the invention defined in the appended claims.

본 발명은 다음과 같은 효과가 있다.The present invention has the following effects.

첫째, 본 발명에 의하면, 종래의 인코더 및 트랜스코더(120)의 종류에 상관없이 각 장치에 부합되고 신호에 종속되는 Q/D 모델을 설계할 수 있으므로, 영상의 화질에 상관없이 압축 신호의 비트율을 동적으로 제어할 수 있는 효과가 있다.First, according to the present invention, it is possible to design a Q / D model that conforms to each device and is dependent on a signal regardless of the type of the conventional encoder and transcoder 120, and thus the bit rate of the compressed signal regardless of the image quality of the image. This has the effect of dynamically controlling.

둘째, 컨텐츠 제공업자는 대역폭의 종류에 따라 다수개의 컨텐츠를 제작할 필요가 없고, 하나의 멀티미디어 컨텐츠를 여러 종류의 클라이언트 장치로 전송할 수 있으며, 멀티미디어 제공 서버의 전송 부하를 크게 감소시킬 수 있게 된다.Second, the content provider does not need to produce a plurality of contents according to the type of bandwidth, and can transmit one multimedia content to various types of client devices, and greatly reduce the transmission load of the multimedia providing server.

Claims (5)

멀티미디어 컨텐츠를 변환 부호화하는 트랜스코딩부; 및,A transcoding unit transcoding and encoding the multimedia content; And, 상기 변환 부호화한 멀티미디어 컨텐츠에 대해서 재양자화를 수행하되, 상기 트랜스코딩부에서 이용된 양자화 계수와 비교하여 재양자화 계수를 결정하는 변환부를 포함하는 것을 특징으로 하는 멀티미디어 컨텐츠 인코딩 장치.And a transform unit configured to perform requantization on the trans-coded multimedia content, and determine requantization coefficients by comparing the quantization coefficients used in the transcoding unit. 제 1 항에 있어서, 상기 재양자화 계수는 상기 변환 부호화한 멀티미디어 컨텐츠의 양자화 계수를 기준으로 소정 단위만큼 순차적으로 감소 혹은 증가하여 결정하는 것을 특징으로 하는 멀티미디어 컨텐츠 인코딩 장치.The multimedia content encoding apparatus of claim 1, wherein the requantization coefficients are sequentially reduced or increased by a predetermined unit based on the quantization coefficients of the transcoded multimedia content. 제 1 항에 있어서, 상기 변환부는 상기 트랜스코딩부에서 사용한 복호화 기능을 기능별로 포함하되, 상기 트랜스코딩부의 인코딩 방식에 따라서 상기 복호화 기능을 조합하여 복호화한 후 상기 변환부에서 결정된 재양자화 계수를 이용하여 상기 멀티미디어 컨텐츠를 재양자화하는 것을 특징으로 하는 멀티미디어 컨텐츠 인코딩 장치.The method of claim 1, wherein the transform unit includes a decoding function used by the transcoding unit for each function, and after combining and decoding the decoding function according to an encoding method of the transcoding unit, the transform unit uses the requantization coefficients determined by the transform unit. And requantize the multimedia content. 삭제delete 삭제delete
KR1020050032112A 2005-04-18 2005-04-18 Q/D model design method for quanitzation parameter control of transcoder and encoding device of multimedia contents KR100752840B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050032112A KR100752840B1 (en) 2005-04-18 2005-04-18 Q/D model design method for quanitzation parameter control of transcoder and encoding device of multimedia contents

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050032112A KR100752840B1 (en) 2005-04-18 2005-04-18 Q/D model design method for quanitzation parameter control of transcoder and encoding device of multimedia contents

Publications (2)

Publication Number Publication Date
KR20060109787A KR20060109787A (en) 2006-10-23
KR100752840B1 true KR100752840B1 (en) 2007-08-29

Family

ID=37615967

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050032112A KR100752840B1 (en) 2005-04-18 2005-04-18 Q/D model design method for quanitzation parameter control of transcoder and encoding device of multimedia contents

Country Status (1)

Country Link
KR (1) KR100752840B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102020953B1 (en) * 2017-04-07 2019-09-11 주식회사 에스원 Image Reencoding Method based on Decoding Data of Image of Camera and System thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001145102A (en) 1999-11-17 2001-05-25 Media Glue Corp Method and device for converting dynamic image compressed and encoded signal and medium with converting program recorded thereon
JP2001169283A (en) 1999-09-30 2001-06-22 Media Glue Corp Moving image compression encoding signal conversion method and device and medium recording conversion program
KR20030083109A (en) * 2002-04-19 2003-10-30 대한민국(전남대학교총장) apparatus for transcoding bit rate

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001169283A (en) 1999-09-30 2001-06-22 Media Glue Corp Moving image compression encoding signal conversion method and device and medium recording conversion program
JP2001145102A (en) 1999-11-17 2001-05-25 Media Glue Corp Method and device for converting dynamic image compressed and encoded signal and medium with converting program recorded thereon
KR20030083109A (en) * 2002-04-19 2003-10-30 대한민국(전남대학교총장) apparatus for transcoding bit rate

Also Published As

Publication number Publication date
KR20060109787A (en) 2006-10-23

Similar Documents

Publication Publication Date Title
US6493386B1 (en) Object based bitstream transcoder
Keesman et al. Transcoding of MPEG bitstreams
US6574279B1 (en) Video transcoding using syntactic and semantic clues
US6542546B1 (en) Adaptable compressed bitstream transcoder
CN1726709B (en) Method and device for encoding image of uncompressed digital video frequency sequence
CN101743753B (en) A buffer-based rate control exploiting frame complexity, buffer level and position of intra frames in video coding
US6687294B2 (en) Distortion quantizer model for video encoding
KR100304103B1 (en) Method for finding re-quantization step sizes resulting in abrupt bit-rate reduction and rate control method using it
EP1248466A1 (en) Method and apparatus for transcoding of compressed image
EP1445958A1 (en) Quantization method and system, for instance for video MPEG applications, and computer program product therefor
KR20040106480A (en) MPEG transcoding system and method using motion information
US20060153293A1 (en) Method for transcoding compressed data
US20050243917A1 (en) H.263/MPEG video encoder using average histogram difference and method for controlling the same
CN1112335A (en) Video signal decoding apparatus capable of reducing blocking effects
US5822005A (en) Pre-oddification
JP2003526237A (en) Quantization method for bit rate transcoding applications
Seo et al. Rate control algorithm for fast bit-rate conversion transcoding
KR100752840B1 (en) Q/D model design method for quanitzation parameter control of transcoder and encoding device of multimedia contents
KR100438856B1 (en) By lively table quantum/requantum making for method and status
JP3807157B2 (en) Encoding apparatus and encoding method
KR100498332B1 (en) Apparatus and method for adaptive rate in video transcoder
KR100624404B1 (en) Adaptive coding method and apparatus considering human visual characteristics
CN1647544A (en) Coding and decoding method and device
Kawashima et al. A new rate control strategy for the MPEG video coding algorithm
Ronda et al. Advanced rate control for MPEG-4 coders

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
LAPS Lapse due to unpaid annual fee