[go: up one dir, main page]

KR19980035968A - Quadtree Coding Method - Google Patents

Quadtree Coding Method Download PDF

Info

Publication number
KR19980035968A
KR19980035968A KR1019960054436A KR19960054436A KR19980035968A KR 19980035968 A KR19980035968 A KR 19980035968A KR 1019960054436 A KR1019960054436 A KR 1019960054436A KR 19960054436 A KR19960054436 A KR 19960054436A KR 19980035968 A KR19980035968 A KR 19980035968A
Authority
KR
South Korea
Prior art keywords
level
bits
quadtree
leaves
region
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
KR1019960054436A
Other languages
Korean (ko)
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 KR1019960054436A priority Critical patent/KR19980035968A/en
Publication of KR19980035968A publication Critical patent/KR19980035968A/en
Ceased legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

본 발명은 쿼드트리 부호화 방법에 관한 것으로, 특히 트리정보 부호화시 트리의 각 레벨을 조사하여 가장 많은 리프가 발생하는 레벨에 높은 비트를 할당하는 적응적 양자화 기법(adaptive quantization)을 적용하여 효율적인 부호화를 행하는데 그 목적이 있는 것으로, 이와같은 목적은 영상의 각 영역의 균일성 검사 함수를 구하여 밝기값이 비균일한 영역의 노드만을 최소의 영역에 도달할때까지 쿼드트리 분할하는 제 1 과정; 상기 제 1 과정에 의해 분할된 쿼드트리의 각 레벨의 리프(leaf)의 갯수를 검사하고, 각 레벨에 고정 비트를 할당하는 제 2 과정; 상기 제 2 과정에 의해 검사된 각 레벨의 리프의 갯수에 따라 적응적으로 비트를 재차 할당하여 양자화한 다음 전송 또는 저장하는 제 3 과정을 포함하여 수행됨으로 달성된다.The present invention relates to a quadtree coding method. In particular, an efficient coding scheme is applied by applying an adaptive quantization technique that allocates a high bit to a level at which the most leaf is generated by examining each level of a tree during tree information encoding. The object of the present invention is to obtain a uniformity check function for each region of an image, and to divide the quadtree into a minimum tree only until the minimum region is obtained. A second step of checking the number of leaves of each level of the quadtree divided by the first step and allocating fixed bits to each level; And a third process of adaptively re-allocating and quantizing bits according to the number of leaves of each level checked by the second process, and then transmitting or storing the bits.

Description

쿼드트리 부호화 방법 (Quadtree Encoding Method)Quadtree Encoding Method

본 발명은 쿼드트리 부호화 방법에 관한 것으로, 특히 쿼드트리(Quadtree) 정보의 부호화시에 리프(leaf)가 많이 발생되는 쿼드트리 레벨의 양자화 비트를 증가시킴으로써 양질의 영상 부호화가 가능하도록 한 쿼드트리 부호화 방법에 관한 것이다.The present invention relates to a quadtree encoding method. In particular, quadtree encoding enables high quality video encoding by increasing quadtree-level quantization bits in which a large number of leaves are generated when quadtree information is encoded. It is about a method.

일반적으로 쿼드트리에 의한 부호화란 밝기값을 가지는 디지탈 영상을 저장하거나 전송하기 위하여 적은량의 데이타로 부호화하는 방법으로서, 입력되는 한 프레임의 화면에 대하여 전체 밝기값의 평균값 즉, 균일성 검사함수를 구한다음 이 값이 일정한 문턱치 이상이면 소정의 영역으로 화면을 분할하고, 또다시 분할된 각 영역에 대하여 균일성 검사함수를 구한다음 이 값을 고정된 문턱치와 비교하여 문턱치 이상인 영역에 대해서만 영역을 분할하게 되며, 이러한 과정을 최소의 분할영역(대개는 2×2의 크기)에 도달할 때 까지 반복적으로 영역분할함으로써 각각을 부호화하는 것이다.In general, encoding by quadtree is a method of encoding a small amount of data in order to store or transmit a digital image having a brightness value. The average value of all brightness values, that is, a uniformity check function, is obtained for a screen of an input frame. Next, if this value is above a certain threshold, the screen is divided into predetermined regions, and the uniformity check function is obtained for each divided region, and this value is compared with the fixed threshold to divide the region only for the region above the threshold. This process is to encode each by iteratively region-dividing until reaching the minimum division (usually 2 × 2).

이러한 과정을 수행중에 생성된 트리는 분할되는 영역 즉, 노드에 대해서는 1을 할당하고, 분할되지 않는 노드 즉, 리프(leaf)에 대해서는 0을 할당함으로써 각 영역의 트리정보를 부호화한다.The tree generated during this process is encoded with tree information for each region by allocating 1 for a region to be divided, that is, a node, and 0 for a node that is not to be divided, that is, a leaf.

또한, 분할된 각 영역에 대한 밝기정보도 부호화과정을 거쳐야 하는데 이는 각 영역에 대한 밝기값의 평균을 일정한 비트로 양자화함으로써 각 영역의 트리정보와 그에대한 밝기값의 정보를 부호화하여 전송하거나 기록매체에 저장하게 되는 것이다.In addition, the brightness information of each divided region must also be encoded. The average of the brightness values of each region is quantized by a predetermined bit, so that the tree information of each region and the brightness value information thereof are encoded and transmitted to the recording medium. Will be saved.

도 1 은 이러한 일반적인 쿼드트리 부호화 방법을 흐름도로 나타낸 것으로 이를 설명하면 다음과 같다.1 is a flowchart illustrating a general quadtree encoding method, which will be described below.

먼저, 영역을 분할하기 위한 문턱치(T)는 허용하는 비트 율(bit rate)에 의해 정해진다.First, the threshold T for dividing the region is determined by the allowable bit rate.

즉, 문턱치(T)가 크게되면 허용하는 비트 율은 상대적으로 작아지지만 밝기값의 정보를 표현할 수 있는 비트수가 그만큼 작아지게 되는 것이므로 복원시의 영상의 화질은 떨어지게 되며, 반면에 문턱치(T)가 낮게 설정되면 비트 율은 상대적으로 높아져 화질이 뛰어나게 된다.In other words, if the threshold value T is large, the allowable bit rate is relatively small, but since the number of bits that can express the information of the brightness value is reduced by that much, the image quality at the time of restoration is degraded, while the threshold value T is increased. When set low, the bit rate is relatively high, resulting in excellent image quality.

그러나, 문턱치(T)가 낮게 설정되면 그만큼 비트수가 증가되어 전송시에는 많은 량의 데이타가 전송되어 전송시간이 늘어나게 되며, 기록매체에 저장시에는 저장공간이 그에 비례하게 증대되어야 한다.However, when the threshold value T is set low, the number of bits increases so that a large amount of data is transmitted during transmission, thereby increasing the transmission time, and when storing on a recording medium, the storage space should increase proportionally.

그러므로, 이러한 점을 감안하여 최적절한 문턱치를 설정함이 바람직하다(ST100).Therefore, in consideration of this point, it is preferable to set an optimal threshold value (ST100).

이후 상기 스텝 100(ST100)에 의하여 문턱치(T)가 설정되고 나면, 균일성 검사함수를 설정해야 하는데, 이는 다음 식 [1]에 의해 설정될 수 있다(ST110).After the threshold value T is set by the step 100 (ST100), the uniformity check function should be set, which can be set by the following equation [1] (ST110).

[식 1][Equation 1]

여기서, N은 한 영역을 구성하고 있는 화소의 갯수이고,Where N is the number of pixels constituting one region,

I(x,y)는 각 화소의 밝기값이며,I (x, y) is the brightness value of each pixel

mean은 한 영역의 각 화소가 가지는 밝기값의 평균값이 된다.mean is an average value of brightness values of each pixel of an area.

즉, 각 화소의 밝기값과 한 영역(초기에는 한 프레임)의 밝기값의 평균값의 차이를 구하여 이의 절대치를 취한다음 한 영역을 구성하고 있는 전체 화소의 갯수로 나눈값을 균일성 검사함수로 이용하게 된다.In other words, the difference between the brightness value of each pixel and the average value of the brightness value of one region (initially one frame) is obtained, and its absolute value is obtained. The value divided by the total number of pixels constituting one region is used as the uniformity check function. Done.

이렇게 상기 스텝 110(ST110)에 의하여 균일성 검사함수가 구해지면 기 설정되어 고정된 문턱치(T)와 균일성 검사함수를 스텝 120(ST120)에서 이를 비교하게 되는데, 초기의 비교결과가 균일성 검사함수가 고정된 문턱치(T)이상 크다고 판단되면 해당 노드에 1을 할당하고, 크지 않다고 판단되면 해당 노드 즉, 리프에 0을 할당하여 4분할하게 된다(ST120∼ST140).When the uniformity test function is obtained by the step 110 (ST110), the predetermined threshold T and the uniformity test function are compared at the step 120 (ST120). If it is determined that the function is greater than the fixed threshold T, 1 is allocated to the node, and if it is not large, the function is allocated to the node, i.e., 0, to be divided into 4 nodes (ST120 to ST140).

이는 한 프레임의 화면에 대하여 그 평균 밝기값이 고정된 문턱치(T)이상이면 화면의 밝기값이 비균일 즉, 화면의 어떠한 부위에서 특정한 정보(배경이나 물체등)를 포함하고 있는것으로 판단하고, 고정된 문턱치(T)이하이면 밝기값이 균일한 것으로 판단한다.This means that if the average brightness value of the screen of one frame is more than the fixed threshold T, it is determined that the brightness value of the screen is non-uniform, that is, it contains specific information (background, object, etc.) in any part of the screen. If it is less than the fixed threshold T, it is determined that the brightness value is uniform.

그러므로, 초기 한 프레임의 대한 균일성 검사함수가 고정된 문턱치(T)보다 큰 경우에 대해서 4개의 영역으로 분할하게 되며, 반면에 고정된 문턱치(T)가 균일성 검사함수보다 큰 경우에는 영역을 굳이 분할하지 않고 한 프레임에 대한 균일성 검사함수 즉, 밝기값의 평균만을 곧바로 양자화하여 전송하거나 저장하게 된다(ST140,ST170).Therefore, if the uniformity check function of the initial one frame is larger than the fixed threshold T, it is divided into 4 regions, whereas if the fixed threshold T is larger than the uniformity check function, the region is divided. Instead of dividing, the uniformity check function for one frame, that is, only the average of brightness values is immediately quantized and transmitted or stored (ST140 and ST170).

그러나, 상기의 스텝 130(ST130)에 의해 영역이 분할되면 스텝 150(ST150)에서 그 분할된 영역이 최소의 영역 즉 2×2의 영역에 도달하였는가를 판단하게 되는데, 이는 특정한 정보를 갖는 영역에 대해서 복원시 화질의 열화를 방지하기 위함이다.However, when the area is divided by step 130 (ST130), it is determined in step 150 (ST150) whether the divided area reaches a minimum area, that is, an area of 2x2, This is to prevent deterioration of image quality during restoration.

따라서, 최소의 영역에 아직 도달하지 않았다면 초기에 분할된 4개의 영역에 대해 각각의 균일성 검사함수를 상기 식 [1]에 의해 구하여 설정한 다음 상기 스텝 120(ST120)부터 재차 수행하게 된다.Therefore, if the minimum area has not yet been reached, the uniformity test function of each of the four initially divided areas is obtained and set by Equation [1], and then the process is performed again from the step 120 (ST120).

상기 스텝 120(ST120)에서 스텝 160(ST160)에 의해 4분할된 각 영역의 군일성 검사함수를 기 고정된 문턱치(T)와 비교하여 균일성 검사함수가 더 큰 노드(1이 할당된 노드)에 대한 영역을 다시 분할하게 되며, 고정된 문턱치(T)가 더 큰 노드(0이 할당된 노드)인 리프에 대한 영역은 분할하지 않게 된다.In step 120 (ST120), the uniformity check function of each region divided by 4 by step 160 (ST160) is compared with a predetermined threshold T, and the node having a higher uniformity check function (node allocated to 1). The region for the leaf is divided again, and the region for the leaf whose fixed threshold T is larger (node assigned to 0) is not divided.

이후, 재차 4분할된 영역이 최소영역에 도달하였는가를 스텝 150(ST150)에서 재차 판단하여 최소 영역에 도달하지 않았다면 상기 스텝 120(ST120)부터 스텝 170(ST170)까지의 과정을 반복 수행함으로써 계속적으로 균일성 검사함수가 고정된 문턱치(T)보다 큰 영역에 대해서 최소영역에 도달할때까지 영역분할을 행하게 된다.Subsequently, it is determined again in step 150 (ST150) whether the divided area reaches the minimum area again, and if the minimum area is not reached again, the process from step 120 (ST120) to step 170 (ST170) is repeated repeatedly. The area division is performed until the uniformity test function reaches the minimum area for the area larger than the fixed threshold T.

영역분할이 최소영역에 도달하였다면 스텝 170(ST170)에서는 분할 또는 비분할된 각 영역에 대한 균일성 검사함수(이는 곧 각 영역의 밝기값의 평균이다)를 일정한 비트로 양자화하여 부호화함으로써 통신선로를 통해 전송하거나 기록매체에 기록하게 되는 것이다.If the region division reaches the minimum region, in step 170 (ST170), the uniformity check function (that is, the average of the brightness values of each region) for each segmented or undivided region is quantized and encoded into a predetermined bit to transmit the data through the communication line. It will be transmitted or recorded on the recording medium.

그러나 이와 같은 쿼드트리 분할방법에 있어서, 각 리프의 평균값을 구하여 이를 고정된 비트 수에 의해 양자화를 행하게 되므로, 트리정보 부호화시 리프가 많이 나타나는 경우에 대해서도 양자화 비트 수가 고정되어 있으므로 부호화 효율이 떨어지는 문제점이 있다.However, in such a quadtree splitting method, since the average value of each leaf is obtained and quantized by a fixed number of bits, the number of quantization bits is fixed even when a large number of leaves appear during tree information encoding. There is this.

따라서, 본 발명은 이러한 문제점을 감안하여 트리정보 부호화시 트리의 각 레벨을 조사하여 가장 많은 리프가 발생하는 레벨에 높은 비트를 할당하는 적응적 양자화 기법(adaptive quantization)을 적용하여 효율적인 부호화를 행하는데 그 목적이 있다.Therefore, in view of such a problem, the present invention performs efficient encoding by applying an adaptive quantization technique that examines each level of a tree and assigns a high bit to the level at which the most leaf occurs when tree information is encoded. The purpose is.

도 1 은 일반적인 쿼드트리 부호화 방법을 나타낸 흐름도.1 is a flowchart illustrating a general quadtree encoding method.

도 2 는 본 발명 쿼드트리 부호화 장치를 나타낸 블럭도.2 is a block diagram showing a quadtree encoding apparatus of the present invention.

도 3 은 본 발명 쿼드트리 부호화 방법을 나타낸 흐름도.3 is a flowchart illustrating a quadtree encoding method of the present invention.

도 4a는 본 발명에 의하여 쿼드트리 분할과정을 나타낸 도.4A illustrates a quadtree partitioning process according to the present invention.

도 4b는 분할된 쿼드트리에 의한 영역 분할상태를 나타낸 도.4B is a diagram illustrating a region division state by a divided quadtree.

도면의 주요 부분에 대한 부호의 설명Explanation of symbols for the main parts of the drawings

100 : 균일성 검사함수 설정부 110 : 판단부100: uniformity test function setting unit 110: determination unit

120 : 영역 분할부 130 : 비트 할당부120: region division unit 130: bit allocation unit

140 : 부호화부 150 : 전송부140: encoder 150: transmitter

상기의 목적을 달성하기 위한 본 발명 쿼드트리 부호화 방법은, 영상의 각 영역의 균일성 검사 함수를 구하여 밝기값이 비균일한 영역의 노드만을 최소의 영역에 도달할때까지 쿼드트리 분할하는 제 1 과정; 상기 제 1 과정에 의해 분할된 쿼드트리의 각 레벨의 리프(leaf)의 갯수를 검사하고, 각 레벨에 고정 비트를 할당하는 제 2 과정; 상기 제 2 과정에 의해 검사된 각 레벨의 리프의 갯수에 따라 적응적으로 비트를 재차 할당하여 양자화한 다음 전송 또는 저장하는 제 3 과정을 포함하여 수행됨을 특징으로 한다.A quadtree encoding method of the present invention for achieving the above object comprises: a first method of obtaining a uniformity check function for each region of an image and dividing the quadtree until only a node having a non-uniform brightness value reaches a minimum region; process; A second step of checking the number of leaves of each level of the quadtree divided by the first step and allocating fixed bits to each level; And a third process of adaptively re-allocating and quantizing bits according to the number of leaves of each level checked by the second process and then transmitting or storing the bits.

이하 첨부된 도면을 참조하여 본 발명의 실시예를 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

먼저, 한 프레임에 대한 초기의 균일성 검사 함수는 균일성 검사함수 설정부(100)에 의해 종래와 동일하게 설정되며(ST200,210), 이렇게 설정된 균일성 검사 함수를 판단부(110)에서 기 설정된 문턱치(T)와 이를 비교하게 된다(ST220).First, the initial uniformity check function for a frame is set in the same manner as the conventional one by the uniformity check function setting unit 100 (ST200, 210), and the uniformity check function thus set is determined by the determination unit 110. This is compared with the set threshold T (ST220).

상기 판단부(110)에서의 비교결과 균일성 검사함수가 초기에 설정된 문턱치(T)이상 크다고 판단되면 영역 분할부(120)에서는 도 4a에 도시한 바와같이 해당 노드에 1을 할당하고, 크지 않다고 판단되면 해당 노드에 0을 할당하여 초기 한 프레임의 영역을 도 4b에 도시한 바와같이 하나의 영역을 4분할하게 된다(ST220∼ST230).If it is determined that the uniformity test function is greater than or equal to the threshold T initially set by the determination unit 110, the region dividing unit 120 assigns 1 to the corresponding node as shown in FIG. 4A and is not large. If it is determined that 0 is allocated to the corresponding node, an area of an initial frame is divided into 4 areas as illustrated in FIG. 4B (ST220 to ST230).

이후, 상기 영역 분할부(120)에서는 분할된 영역이 정해진 최소 크기(보통 2×2)에 도달하였는가를 판단하게 되는데(ST250), 만일 최소 영역에 도달하지 않았다면 재차 균일성 검사함수 설정부(100) 및 판단부(110)에 의해 상기의 과정을 재차 반복함으로써 쿼드트리를 구성하게 된다.Thereafter, the area dividing unit 120 determines whether the divided area reaches a predetermined minimum size (usually 2 × 2) (ST250). If the area is not reached, the uniformity checking function setting unit 100 is again performed. ) And the determination unit 110 repeats the above process to form a quadtree.

이러한 영역의 분할 결과를 비트스트림으로 나타내면 다음과 같이 일예를 들어 나타낼 수 있다.If the division result of such an area is represented in a bitstream, it can be expressed as an example as follows.

1 1010 0000 1000 0010 (0000)1 1010 0000 1000 0010 (0000)

이 경우 제일 마지막의 괄호안의 비트 0000은 최하위 레벨의 생략해도 된다.In this case, the bit 0000 in the last parenthesis may be omitted at the lowest level.

그 이유는 무조건 최하위 레벨의 비트는 0000이 되기 때문이다.This is because the lowest level bit is 0000 unconditionally.

상기의 비트스트림을 쿼드트리 분할한 결과 도 4a에 도시한 바와같이 총 4개의 레벨로 구성된다.As a result of quadtree dividing the bitstream, as shown in FIG. 4A, the bitstream is composed of four levels.

또한, 4b는 이렇게 구성된 쿼드트리에 의해 한 프레임의 영상이 밝기값에 따라 분할된 상태를 보인 도이다.In addition, 4b is a diagram showing the image of one frame is divided according to the brightness value by the quadtree configured as described above.

비트 할당부(130)에서는 쿼드트리의 0이 할당된 노드 즉, 리프의 갯수를 검사하여 고정된 비트를 할당하게 되는데(ST270,280), 이 경우 리프의 총 갯수는 16개이고, 5비트로 트리정보를 양자화 한다면 총 80비트(16×5)가 필요로 하게 된다.The bit allocator 130 checks the number of nodes allocated to 0 of the quadtree, that is, the number of leaves and allocates fixed bits (ST270,280). In this case, the total number of leaves is 16, and the tree information is 5 bits. If we quantize, we need a total of 80 bits (16 × 5).

그러나, 본 발명에서의 비트 할당은 다음의 과정에 의해 각 레벨에 다른 비트를 할당하게 된다.However, bit allocation in the present invention assigns different bits to each level by the following procedure.

쿼드트리에서의 각 레벨별로 리프의 숫자를 세어보면,If you count the leaves at each level in the quadtree,

레벨 1 : 2개,Level 1: 2,

레벨 2 : 7개,Level 2: 7,

레벨 3 : 3개,Level 3: 3,

레벨 4 : 4개로 이루어 진다.Level 4: There are four.

여기서 레벨 2가 가장 많은 리프를 가지는 레벨임을 알 수 있다.It can be seen that level 2 is the level with the most leaves.

그러므로, 레벨 2에 대해 가장 높은 비트수를 할당하게 되는데, 만일 가장 많은 리프를 가지는 레벨에 할당할 비트수가 5라고 한다면 각 레벨에 할당되는 비트는 다음과 같다.Therefore, the highest bit number is allocated for level 2, and if the number of bits to be allocated to the level having the most leaf is 5, the bits allocated to each level are as follows.

레벨 1 : 2/7 × 5 = 1 비트 내지 2 비트Level 1: 2/7 × 5 = 1 bit to 2 bits

레벨 2 : 7/7 × 5 = 5 비트Level 2: 7/7 × 5 = 5 bits

레벨 3 : 3/7 × 5 = 2 비트 내지 3 비트Level 3: 3/7 × 5 = 2 bits to 3 bits

레벨 4 : 4/7 × 5 = 2 비트 내지 3 비트Level 4: 4/7 × 5 = 2 bits to 3 bits

레벨 1에서는 가장 많은 리프 수를 가지는 레벨 2에 비하여 7/2 만큼의 리프 수(2개)를 가지고 있으므로 굳이 5비트를 할당하지 않고, 1비트 또는 2비트를 할당한다.In Level 1, since it has 7/2 leaf counts (2) as compared to Level 2, which has the largest number of leaves, 5 bits are allocated and 1 or 2 bits are allocated.

레벨 2에서는 가장 많은 리프 수를 가지고 있으므로 그대로 5비트를 할당하고, 레벨 3에서는 레벨 2에 비하여 3/7 만큼의 리프 수(3개)를 가지고 있으므로 2비트 내지 3 비트를 할당한다.Level 2 allocates 5 bits as it is because it has the largest number of leaves. Level 3 allocates 2 to 3 bits because it has 3/7 leaves (3) as compared to level 2.

마지막으로 레벨 4에서는 4/7만큼의 리프 수(4개)를 가지고 있으므로 이도 또한 상기 레벨 3에서와 마찬가지로 2비트 내지 3비트를 할당하게 된다.Finally, at level 4, the number of leaves is 4/7 (4), so this also allocates 2 to 3 bits as in level 3.

이러한 방법으로 비트를 할당하는 방법에 대하여 다음 식 [1]과 같은 일반 규칙을 세울 수 있다.In this way, a general rule can be established as shown in Equation [1] regarding how to allocate bits.

[식 1][Equation 1]

(해당레벨의 0의 갯수 / 0의 갯수가 가장 많은 레벨의 0의 갯수)(Number of zeros in the level / Number of zeros in the level with the highest number of zeros)

× (가장 많은 리프를 가지는 레벨에 할당항 비트 수)× (number of bits assigned to the level with the most leaves)

이는 곧 한 레벨에 대한 할당 비트 수를 나타넨 것이다.This is the number of bits allocated for one level.

이에 의해 각 레벨에 대한 밝기값을 양자화하기 위한 비트를 할당할 수 있고, 쿼드트리 전체 레벨에 대한 밝기값을 양자화하는데 사용 가능한 비트 수는 다음 식 [3]에 의해 정의할 수 있다.Thereby, bits for quantizing the brightness value for each level can be allocated, and the number of bits available for quantizing the brightness value for the entire quadtree level can be defined by the following equation [3].

[식 3][Equation 3]

그러므로, 본 발명의 일예에 의하여 전체 쿼드트리의 레벨에 대한 밝기값을 양자화하는데 필요한 비트의 총 수는 10비트 또는 최대 13비트만을 가진다.Therefore, according to an example of the present invention, the total number of bits required to quantize the brightness value for the level of the entire quadtree has only 10 bits or a maximum of 13 bits.

이는 종래의 80비트에 비하여 상당히 양자화할 수 있는 비트 수가 줄어든 것이다.This reduces the number of bits that can be quantized significantly compared to the conventional 80 bits.

부호화부(140)는 이러한 방식에 의해 할당된 비트를 양자화하여 부호화하고 이에 트리정보를 부가하게 되며, 전송부(150)에서는 상기 양자화부(140)의 출력을 인가받아 통신선로를 통해 수신측으로 송신하거나 각종 기록매체를 통해 저장하게 된다.The encoder 140 quantizes and encodes the allocated bits by this method, adds tree information thereto, and the transmitter 150 receives the output of the quantizer 140 and transmits the output to the receiver through a communication line. Or stored in various recording media.

또한 수신단에서나 복원과정에서는 전송되거나 기록되어진 부호화된 데이타를 인가받아 트리정보를 참조하여 각 영역의 밝기값을 화면의 해당위치에 표시함으로써 다시 복원하게 되는 것이다.In addition, at the receiving end or in the reconstruction process, the encoded data transmitted or recorded is received to reconstruct by displaying the brightness value of each area at a corresponding position on the screen with reference to the tree information.

이상에서 상세히 설명한 바와 같이 본 발명에 의한 쿼드트리 부호화 방법은 트리정보 부호화시 트리의 각 레벨을 조사하여 가장 많은 리프가 발생하는 레벨에 높은 비트를 할당하는 적응적 양자화 기법을 적용함으로써 밝기값을 양자화하기 위한 비트의 수를 대폭 줄임으로써 전송할 수 있는 데이타량을 감소시켰고, 또한 기록매체를 통하여 저장하는 경우에도 저장공간의 효율화를 실현시켰으며, 아울러 정보를 많이 함유하고 있는 쿼드트리의 레벨에 대해서 좀 더 많은 비트를 할당하여 복원시 양질의 영상 복원이 가능하도록 함으로써 결론적으로 효율적인 부호화를 행할 수 있는 효과가 있게된다.As described in detail above, the quadtree coding method according to the present invention quantizes a brightness value by applying an adaptive quantization technique that examines each level of a tree and assigns a high bit to the level at which the most leaf occurs when tree information is encoded. By significantly reducing the number of bits to be transmitted, the amount of data that can be transmitted is reduced, and the storage space can be efficiently saved even when the data is stored through the recording medium. By allocating more bits to enable high quality image reconstruction at the time of reconstruction, consequently, an efficient encoding can be performed.

Claims (4)

영상의 각 영역의 균일성 검사 함수를 구하여 밝기값이 비균일한 영역의 노드만을 최소의 영역에 도달할때까지 쿼드트리 분할하는 제 1 과정;Obtaining a uniformity check function of each region of the image and dividing the quadtree until only nodes of regions having non-uniform brightness values reach a minimum region; 상기 제 1 과정에 의해 분할된 쿼드트리의 각 레벨의 리프(leaf)의 갯수를 검사하고, 각 레벨에 고정 비트를 할당하는 제 2 과정;A second step of checking the number of leaves of each level of the quadtree divided by the first step and allocating fixed bits to each level; 상기 제 2 과정에 의해 검사된 각 레벨의 리프의 갯수에 따라 적응적으로 비트를 재차 할당하여 양자화한 다음 전송 또는 저장하는 제 3 과정을 포함하여 수행됨을 특징으로 하는 쿼드트리 부호화 방법.And a third process of adaptively re-allocating and quantizing bits according to the number of leaves of each level checked by the second process, and then transmitting or storing the bits. 제 1 항에 있어서, 제 3 과정의 쿼드트리 각 레벨에 할당된 비트는 해당 레벨의 리프의 갯수로부터 리프의 갯수가 가장 많은 레벨의 리프의 갯수를 나눈 다음 이 값을 가장 많은 리프를 가지는 레벨에 할당할 비트 수로 곱한 값인 것을 특징으로 하는 쿼드트리 부호화 방법.The bit number allocated to each level of the quadtree of the third process is determined by dividing the number of leafs of the level having the largest number of leaves by the number of leafs of the corresponding level, and then setting this value to the level having the most leaf. Quadtree encoding method characterized in that the value multiplied by the number of bits to be allocated. 제 2 항에 있어서, 가장 많은 리프를 가지는 레벨에 할당할 비트 수는 기 설정된 값임을 특징으로 하는 쿼드트리 부호화 방법.The quadtree encoding method according to claim 2, wherein the number of bits to be allocated to the level having the largest leaf is a preset value. 제 1 항에 있어서, 쿼드트리 전체 레벨에 대한 밝기값을 양자화하는데 사용 가능한 비트의 총 수는 해당 레벨의 리프의 갯수와 가장 많은 리프를 가지는 레벨에 할당할 비트 수를 곱한 값으로부터 리프의 갯수가 가장 많은 레벨의 리프의 갯수를 나눈 값을 모두 더한 값임을 특징으로 하는 쿼드트리 부호화 방법.The number of leaves according to claim 1, wherein the total number of bits available for quantizing the brightness value for the entire quadtree level is multiplied by the number of leaves at that level times the number of bits to assign to the level with the most leaves. Quadtree coding method characterized in that the sum of the number of leaves of the highest level, divided by all.
KR1019960054436A 1996-11-15 1996-11-15 Quadtree Coding Method Ceased KR19980035968A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960054436A KR19980035968A (en) 1996-11-15 1996-11-15 Quadtree Coding Method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960054436A KR19980035968A (en) 1996-11-15 1996-11-15 Quadtree Coding Method

Publications (1)

Publication Number Publication Date
KR19980035968A true KR19980035968A (en) 1998-08-05

Family

ID=66321243

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960054436A Ceased KR19980035968A (en) 1996-11-15 1996-11-15 Quadtree Coding Method

Country Status (1)

Country Link
KR (1) KR19980035968A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012046996A3 (en) * 2010-10-04 2012-05-31 한국전자통신연구원 Method for encoding/decoding block information using quad tree, and device for using same

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012046996A3 (en) * 2010-10-04 2012-05-31 한국전자통신연구원 Method for encoding/decoding block information using quad tree, and device for using same
US9544595B2 (en) 2010-10-04 2017-01-10 Electronics And Telecommunications Research Institute Method for encoding/decoding block information using quad tree, and device for using same
US10560709B2 (en) 2010-10-04 2020-02-11 Electronics And Telecommunications Research Institute Method for encoding/decoding block information using quad tree, and device for using same
US10567782B2 (en) 2010-10-04 2020-02-18 Electronics And Telecommunications Research Institute Method for encoding/decoding block information using quad tree, and device for using same
US10674169B2 (en) 2010-10-04 2020-06-02 Electronics And Telecommunications Research Institute Method for encoding/decoding block information using quad tree, and device for using same
EP2627085B1 (en) 2010-10-04 2020-11-25 Electronics and Telecommunications Research Institute Method for encoding/decoding block information using quad tree, and device for using same
US11223839B2 (en) 2010-10-04 2022-01-11 Electronics And Telecommunications Research Institute Method for encoding/decoding block information using quad tree, and device for using same
US11706430B2 (en) 2010-10-04 2023-07-18 Electronics And Telecommunications Research Institute Method for encoding/decoding block information using quad tree, and device for using same
US12225223B2 (en) 2010-10-04 2025-02-11 Electronics And Telecommunications Research Institute Method for encoding/decoding block information using quad tree, and device for using same

Similar Documents

Publication Publication Date Title
KR100846076B1 (en) Frame bit-size allocation for seamlessly spliced, variable-encoding-rate, compressed digital video signals
EP0574724B1 (en) Adaptive coding level control for video compression systems
US5677969A (en) Method, rate controller, and system for preventing overflow and underflow of a decoder buffer in a video compression system
US5801841A (en) Image signal coding apparatus with switching between variable-length coding and fixed-length coding
KR100505699B1 (en) Encoding rate controller of video encoder providing for qualitative display using real time variable bit-rate control, video data transmission system having it and method thereof
JP3070110B2 (en) Video signal transmission system
KR0141824B1 (en) Adaptive Length Video Compression Method and Apparatus
WO1991014295A1 (en) Digital image coding using a random scanning of image frames
US4942467A (en) Predictor controlled encoder for digital transmission systems
KR100496774B1 (en) Method and apparatus for recompressing with data efficient quantization table for a digital video signal processor
JPH05344490A (en) Coding method and coder
US20090116550A1 (en) Video compression system, method and computer program product using entropy prediction values
KR100314329B1 (en) Multiplexer Using Constant Bit Rate Encoder
WO1991014339A1 (en) Digital image coding with quantization level computation
KR19980035968A (en) Quadtree Coding Method
CN108347607A (en) Embedded video compression method with fixed code rate and based on lines and image processing equipment
KR20020026189A (en) Efficient video data access using fixed ratio compression
US6674804B1 (en) Method for generating a multiplexed sequence of media units
KR100340826B1 (en) Digital communication system
US4965843A (en) Method and apparatus for coding digital image information obtained from dithering
KR100202493B1 (en) Quadtree Coding Method
KR100212329B1 (en) Quad tree coding method
KR19990065775A (en) Adaptive Bitrate Control Method for Video Stream Coding
KR102543449B1 (en) Image processing device and method for operating image processing device
KR100285703B1 (en) Video data partitioning apparatus and method using rate-distortion characteristics

Legal Events

Date Code Title Description
A201 Request for examination
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 19961115

PA0201 Request for examination

Patent event code: PA02012R01D

Patent event date: 19961115

Comment text: Request for Examination of Application

PG1501 Laying open of application
E902 Notification of reason for refusal
PE0902 Notice of grounds for rejection

Comment text: Notification of reason for refusal

Patent event date: 19981221

Patent event code: PE09021S01D

E601 Decision to refuse application
PE0601 Decision on rejection of patent

Patent event date: 19990317

Comment text: Decision to Refuse Application

Patent event code: PE06012S01D

Patent event date: 19981221

Comment text: Notification of reason for refusal

Patent event code: PE06011S01I