Claims (11)
DCT부와 양자화부 그리고 전송신호의 비트비를 일정하게 유지하기 위한 버퍼를 포함하는 부호화장치에 있어서, 상기 DCT부로 부터 인가되는 소정블록데이타의 변환계수값들을 에너지분포특성에 따라 DC, 저주파, 엣지, 고주파별로 절대치를 취하여 그 합을 구하고, 이 절대치합에 따라 블록의 영상영역을 판단하는 제1영역판단부; 상기 제1영역판단부로 부터 인가되는 블록단위의 영역정보들을 사전 설정된 조건에 맞추어 다수의 블록들을 구비한 매크로블럭의 영상특성이 반영된 다수의 영역중 해당 영역을 판단하는 제2영역판단부; 및 상기 제2영역판단부로 부터 매크로블록단위의 영역정보를 인가받고, 상기 버퍼에서 공급되는 슬라이스단위의 양자화레벨을 인가받아 최적의 양자화레벨을 결정하는 양자화레벨결정부를 포함하는 영상데이타의 영상특성에 따른 양자화레벨결정장치.A coding apparatus including a DCT unit, a quantization unit, and a buffer for maintaining a constant bit ratio of a transmission signal, the transform coefficient values of predetermined block data applied from the DCT unit according to energy distribution characteristics of DC, low frequency, and edge. A first region judging unit taking an absolute value for each high frequency to obtain a sum thereof, and determining an image region of the block according to the absolute value sum; A second region determination unit for determining a corresponding region among a plurality of regions in which image information of a macroblock including a plurality of blocks is reflected on the area information of a block unit applied from the first region determination unit; And a quantization level determination unit configured to receive region information in macroblock units from the second region determination unit, and to receive an quantization level in slice units supplied from the buffer to determine an optimal quantization level. Quantization level determination device according to.
제1항에 있어서, 상기 영상영역들은 단순영역, 엣지영역, 복잡영역, 평범한영역들로 이루어진 것을 특징으로 하는 양자화레벨결정장치.The apparatus of claim 1, wherein the image regions comprise a simple region, an edge region, a complex region, and ordinary regions.
소정 크기의 블록들로 분할된 영상데이타를 DCT변환하여 주파수영역의 데이타로 변환시키고, DCT영역에서의 에너지분포특성을 이용하여 매크로블록단위의 양자화레벨을 결정하기 위한 방법에 있어서, 부호화되는 영상데이타를 공급받아, 이 입력영상데이타와 전송되기 위해 출력되는 영상데이타의 양이 일정하게 유지하도록 가변되는 양자화레벨을 출력하는 단계; 상기 DCT영역에서 에너지분포특성에 따라 구분되어 지는 영역의 변환계수값들에 따라 사전 설정된 조건에 맞추어 블록의 영상영역을 판단하는 단계; 상기 블록의 영역정보를 매크로블록단위로 입력받아 정해진 조건식에 맞추어 영상특성이 반영된 다수의 영역중 해당 매크로블록의 영역을 판단하는 단계; 및 상기 영상특성을 이용하여 상기 양자화레벨을 조절하여 최적의 양자화 레벨을 출력하는 단계를 포함하는 양자화레벨결정방법.A method for converting image data divided into blocks of a predetermined size into DCT-converted data into frequency domain data and determining quantization levels in macroblock units using energy distribution characteristics in the DCT domain, wherein the encoded image data is encoded. Outputting a variable quantization level such that the input image data and the amount of image data output for transmission are kept constant; Determining an image region of a block according to preset conditions according to conversion coefficient values of regions classified according to energy distribution characteristics in the DCT region; Determining region of a corresponding macroblock among a plurality of regions in which image characteristics are reflected according to a predetermined conditional expression by receiving region information of the block in macroblock units; And outputting an optimal quantization level by adjusting the quantization level by using the image characteristic.
제3항에 있어서, 상기 블록단위영상영역은 상기 DCT영역의 에너지분포특성에 따라 구분되어 지는 DC, 저주파, 엣지, 고주파별로 변환계수값들의 절대치를 구하는 단계; 상기 DC, 저주파, 엣지, 고주파별로 각 절대치의 합을 구하는 단계; 및 상기 DC, 저주파, 엣지, 고주파별로 구한 절대치의 합에 따라 영상특성이 반영된 다수의 영역들중 해당 블록영역을 판단하는 단계로 이루어진 것을 특징으로 하는 양자화레벨결정방법.4. The method of claim 3, wherein the block unit image area comprises: obtaining absolute values of transform coefficient values for each of DC, low frequency, edge, and high frequency classified according to energy distribution characteristics of the DCT area; Obtaining a sum of the absolute values of the DC, the low frequency, the edge, and the high frequency; And determining a corresponding block region among a plurality of regions in which image characteristics are reflected according to a sum of absolute values obtained for each of DC, low frequency, edge, and high frequency.
제4항에 있어서, 상기 블록영역판단단계는 다음과 같은 조건중 어느 하나를 만족하는 것을 특징으로 하는 양자화레벨결정방법.5. The method of claim 4, wherein the block region determination step satisfies any one of the following conditions.
조건 1:a〈DC〈b인 경우→E+H〈c이고 L〉d인 경우 "단순영역"Condition 1: "a simple area" when a <DC <b → E + H <c and L> d
조건 2:a〈DC〈b인 경우→L+E〈k×H인 경우 "엣지영역"Condition 2: a <DC <b → L + E <k x H "Edge area"
조건 3:a〈DC〈b인 경우→L+E〈k×H인 경우 "복잡영역"Condition 3: a <DC <b → L + E <k x H "Complex area"
조건 4:상기 조건 1, 2, 3들을 만족하지 않는 경우 "평범한영역"Condition 4: If the conditions 1, 2, and 3 are not satisfied, the "normal area"
여기서, a, b, c, d, k는 사전 설정된 상수이고, E는 블록단위의 엣지영역절대치합, H는 블록단위의 고주파영역절대치합, L은 블록단위의 저주파영역절대치합을 나타낸다.Here, a, b, c, d, and k are preset constants, E is an edge region absolute match in block units, H is a high frequency region absolute match in block units, and L is a low frequency region absolute match in block units.
제5항에 있어서, 상기 매크로블록단위의 영상영역판단단계는 매크로블록을 구성하는 블록들의 영역정보를 인가받아 그 블록들의 영역중 과반수 이상이 단순영역이면 매크로블록의 영역을 단순영역으로 판단하고, 적어도 하나의 DCT블록이 엣지영역이면 엣지영역으로 판단하고, 모든 DCT블록이 복잡영역이면 복잡영역으로 판단하고, 그렇지 않으면 평범한 영역으로 판단하는 것을 특징으로 하는 양자화레벨결정방법.The method of claim 5, wherein the determining of the area of the macroblock unit comprises receiving the area information of the blocks constituting the macroblock, and determining that the area of the macroblock is a simple area if more than half of the areas of the blocks are simple areas. If at least one DCT block is an edge region, it is determined as an edge region; if all DCT blocks are complex regions, it is determined as a complex region; otherwise, it is determined as an ordinary region.
제6항에 있어서, 최적의 양자화레벨 출력단계는 상기 매크로블록의 영역의 단순영역 및 엣지영역이면 양자화레벨을 감소시키고, 복잡한 영역이면 양자화레벨을 증가시키는 것을 특징으로 하는 양자화레벨결정방법.The quantization level determination method according to claim 6, wherein the optimal quantization level output step decreases the quantization level in the simple region and the edge region of the macroblock, and increases the quantization level in the complex region.
제6항에 있어서, 최적의 양자화레벨 출력단계는 상기 매크로블록의 영역이 평범한 영역이면 입·출력데이타의 비트레이트를 일정하게 유지시키기 위해 가변되는 슬라이스단위의 양자화레벨을 매크로블록단위의 양자화레벨로 출력하는 것을 특징으로 하는 양자화레벨결정방법.The quantization level output step of claim 6, wherein the quantization level of the slice unit is changed to the quantization level of the macroblock unit in order to maintain a constant bitrate of input / output data when the macroblock region is a normal region. A quantization level determination method characterized in that the output.
제7항에 있어서, 상기 단순영역에서의 최적의 양자화레벨은 다음과 같은 공식을 만족하는 것을 특징으로 하는 양자화레벨결정방법.8. The method of claim 7, wherein the optimal quantization level in the simple region satisfies the following formula.
MQUANT=SQUANT-SQUANT/2 여기서, MQUANT는 매크로블록단위의 최적의 양자화렙이고, SQUANT는 입·출력데이타의 비트레이트를 일정하게 유지시키기 위해 가변되는 슬라이스단위의 양자화레벨이다.MQUANT = SQUANT-SQUANT / 2 Here, MQUANT is an optimal quantization level in macroblock units, and SQUANT is a quantization level in slice units that is varied to maintain a constant bitrate of input and output data.
제7항에 있어서, 엣지영역에서의 최적의 양자화레벨은 다음과 같은 공식을 만족하는 것을 특징으로 하는 양자화레벨결정방법.8. The method of claim 7, wherein the optimal quantization level in the edge region satisfies the following formula.
MQUANT=SQUANT-SQUANT/4 여기서, MQUANT는 매크로블록단위의 최적의 양자화레벨이고, SQUANT는 입·출력데이타의 비트레이트를 일정하게 유지시키기 위해 가변되는 슬라이스단위의 양자화레벨이다.MQUANT = SQUANT-SQUANT / 4 Here, MQUANT is an optimal quantization level in macroblock units, and SQUANT is a quantization level in slice units that is varied to keep the bit rate of input and output data constant.
제7항에 있어서, 상기 복잡영역에서의 최적의 양자화레벨은 다음과 같은 공식을 만족하는 것을 특징으로 하는 양자화레벨결정방법.8. The method of claim 7, wherein an optimal quantization level in the complex region satisfies the following formula.
MQUANT=SQUANT-SQUANT/4 여기서, MQUANT는 매크로블록단위의 최적의 양자화레벨이고, SQUANT는 입·출력데이타의 비트레이트를 일정하게 유지시키기 위해 가변되는 슬라이스단위의 양자화레벨이다.MQUANT = SQUANT-SQUANT / 4 Here, MQUANT is an optimal quantization level in macroblock units, and SQUANT is a quantization level in slice units that is varied to keep the bit rate of input and output data constant.
※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.