KR20000010066A - Video data compression system using plural variable length coding tables - Google Patents

Video data compression system using plural variable length coding tables Download PDF

Info

Publication number
KR20000010066A
KR20000010066A KR1019980030768A KR19980030768A KR20000010066A KR 20000010066 A KR20000010066 A KR 20000010066A KR 1019980030768 A KR1019980030768 A KR 1019980030768A KR 19980030768 A KR19980030768 A KR 19980030768A KR 20000010066 A KR20000010066 A KR 20000010066A
Authority
KR
South Korea
Prior art keywords
image data
variable length
video data
unit
length encoding
Prior art date
Application number
KR1019980030768A
Other languages
Korean (ko)
Other versions
KR100295802B1 (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 KR1019980030768A priority Critical patent/KR100295802B1/en
Publication of KR20000010066A publication Critical patent/KR20000010066A/en
Application granted granted Critical
Publication of KR100295802B1 publication Critical patent/KR100295802B1/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/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/91Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/40Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code
    • 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/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/182Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a pixel

Abstract

PURPOSE: A video data compression system using plural variable length coding tables CONSTITUTION: The video data compression system includes a quadrature converting part (11) performing quadrature conversion of input video data; a quantizing part (12) quantizing the converted video data by using a certain scanning method and quantization table; a variable length coding part (13) producing video data as plural video data variable length coded; a control part (17) producing a control signal to select video data according to plural video data length. The high compressed data with short variable length code of plural variable length coded video data is automatically selected, thus making the high compressed video data processing possible.

Description

복수의 가변장부호화 테이블을 이용한 영상데이터 압축장치Image data compression device using multiple variable length encoding tables

본 발명은 복수의 가변장부호화테이블을 이용한 영상데이터 압축장치 에 관한 것으로서, 더욱 상세하게는 양자화 처리된 영상데이터를 서로 다른 복수의 가변장부호화 테이블에 의해 압축 처리한 후 그 압축처리 된 복수의 영상 데이터의 길이를 비교하여 상대적으로 짧은 길이의 영상 데이터를 선택적으로 저장 또는 송출되도록 제어함으로써 가변장부호화 처리에 의한 영상데이터 압축시 입력되는 화소블록단위의 영상데이터 값에 보다 최적한 가변장부호화 처리동작을 수행시키며 또한 보다 고 압축 처리된 영상데이터를 자동으로 선택 저장 또는 송출시킬 수 있는 복수의 가변장부호화 테이블을 이용한 영상데이터 압축장치에 관한 것이다.The present invention relates to an image data compression apparatus using a plurality of variable length encoding tables. More particularly, the present invention relates to a plurality of variable length encoding tables that compress quantized image data by different variable length encoding tables and then compress the plurality of images. Variable length encoding processing that is more optimal for image data values in pixel block units input during image data compression by the variable length encoding process by controlling the data length to be selectively stored or transmitted by comparing data lengths. The present invention relates to an image data compression apparatus using a plurality of variable length encoding tables capable of automatically selecting, storing, or transmitting highly compressed image data.

일반적으로 영상데이터의 압축 및 신장 기술인 엠펙 (MPEG:Moving Picture Experts Group, 이하 "MPEG")은 압축과정인 부호화 처리과정과 신장과정인 복호화 처리과정을 통하여 이루어지며 특히 압축과정인 부호화 과정은 다음과 같이 크게 세 가지의 방식에 의해 이루어진다.In general, MPEG (Moving Picture Experts Group) (MPEG), a compression and decompression technique of image data, is performed through an encoding process, a compression process, and a decoding process, a compression process. This is done in three ways.

첫째, 화면 내(공간적) 상관관계에 따른 압축, 즉 화면내 공간주파수 특성을 이용한 직교변환 방식, 둘째, 화면간(시간적) 상관관계에 따른 압축, 즉 전후화면정보간의 비교를 통하여 얻은 움직임벡터를 이용하는 움직임보상 방식, 그리고 셋째, 데이터 발생확률의 편중에 따른 압축, 즉 발생확률이 높은 데이터 값에는 짧은 부호를 부여하고 발생확률이 낮은 데이터 값에는 긴 부호를 부여하는 가변장부호화 방식이 사용되고 있다.First, compression based on intra-screen (spatial) correlation, that is orthogonal transformation method using intra-spatial spatial frequency characteristics, and second, compression based on inter-screen (temporal) correlation, that is, motion vector obtained through comparison between front and rear screen information A motion compensation scheme used, and third, compression based on the bias of the data generation probability, that is, a variable length coding scheme in which a short code is assigned to a data value having a high probability of occurrence and a long code is assigned to a data value having a low probability of occurrence is used.

상기 직교변환 방식은 현재 이산여현변환(DCT:Discrete Cosine Transform, 이하 "DCT" )이 가장 일반화되어 사용되고 있으며 도 1 및 도 2 에서 보듯이 DCT의 경우 통상의 자연영상 중 한 프레임의 영상데이터 (일례: 화소 수= 352 X 288, 미 도시)가 8X8=16(비트) 화소의 정방형 블록으로 분할되어 입력되는 화소블록단위의 영상데이터를 도 2와 같이 좌측 상단 부분에는 저주파성분의 영상데이터, 그리고 우측 하단 부분에는 고주파성분의 영상데이터로 편중 변환하는 고유의 변환특성을 갖고 있다.In the orthogonal transformation method, a discrete cosine transform (DCT) is most commonly used, and as shown in FIGS. 1 and 2, in the case of DCT, image data of one frame of a normal natural image (for example, The number of pixels = 352 X 288 (not shown) is divided into square blocks of 8X8 = 16 (bit) pixels, and the image data of the pixel block unit input is shown in FIG. The lower part has an inherent conversion characteristic of performing a one-sided conversion to video data of high frequency components.

이와 같이 DCT의 장점은 변환 전에는 화면에 전반적으로 불규칙하게 분포되어 있던 화소 값(예: 휘도)이 DCT 변환 후에는 좌측 상단부분에 저주파성분의 영상데이터로 편중 분포되는 경향이 있다. 따라서 우측 하단부분에 분포된 불필요 고주파성분의 영상데이터를 버림으로써 영상데이터 량을 정보손실이 거의 없이 압축할 수 있다.As described above, the advantage of DCT is that pixel values (eg, luminance) that are generally irregularly distributed on the screen before conversion are unilaterally distributed as low-frequency component image data in the upper left part after DCT conversion. Therefore, the amount of video data can be compressed with little information loss by discarding the video data of unnecessary high frequency components distributed in the lower right part.

상기 고주파성분의 영상데이터를 버리기 위하여 도 1 및 도 2에서 도시한 바 와 같이 우선 스캔(Scan)동작을 수행하는 데 특히, 일반적으로 사용되는 지그재그(ZigZag)스캔동작을 통하여 양자화처리 동작을 수행하는 데, 이때 양자화는 영상데이터 각각의 화소에 해당하는 임의의 특정 주파수 값이 미리 설정된 양자화 테이블에 의하여 제산(除算)함에 의해 이루어지며 상기 저주파성분에 대한 제산 주파수 값 보다 고주파성분에 대한 제산 주파수 값을 높게 설정하고 제산 후 나머지 값을 반올림 연산함으로써 도 2의 (C)와 같은 결과치를 구할 수 있는 것이다.In order to discard the image data of the high frequency component, as shown in FIGS. 1 and 2, first, a scan operation is performed. In particular, a quantization processing operation is performed through a commonly used zigzag scan operation. In this case, the quantization is performed by dividing an arbitrary specific frequency value corresponding to each pixel of the image data by a preset quantization table, and dividing the division frequency value of the high frequency component by the division frequency value of the low frequency component. By setting a high value and rounding the remainder after division, a result value as shown in FIG. 2C can be obtained.

따라서 양자화 이후 영상데이터 값은 " C1~ C10 그리고 나머지 0"으로 간단히 표현된다.Therefore, the image data value after quantization is simply expressed as "C1 ~ C10 and the remaining 0".

한편, 전술한 바 있는 가변장부호화 방식의 처리과정을 살펴보면 다음과 같다. 도 3에서 도시한 것과 같이 양자화 처리되어 입력되는 영상데이터 값이 가령 0,1,2,3 즉 00,01,10,11 이였고 실험 치에 의해 각각의 영상데이터 발생확률이 0.6, 0.2, 0.1, 0.1 이였다고 가정하면 가장 발생확률이 높은 0 에는 1비트를 할당하고 다음으로 발생확률이 높은 1에는 2비트, 그리고 발생확률이 가장 낮은 2와 3에는 3비트의 부호를 할당한다.On the other hand, the processing of the variable length coding scheme described above is as follows. As shown in FIG. 3, the quantized input image data values were, for example, 0,1,2,3, that is, 00,01,10,11, and the probability of generating each image data was 0.6, 0.2, 0.1 according to the experimental values. For example, assuming that the probability of occurrence is 0.1, 1 bit is allocated to 0 having the highest probability of occurrence, 2 bits are assigned to 1 having the highest probability of occurrence, and 3 bits are assigned to 2 and 3 having the lowest probability of occurrence.

그러면 가변장부호화 처리결과에 의한 평균부호길이는 부호길이 X 할당 비트 의 평균으로 연산처리 됨으로 평균부호길이는 1 X 0.6 + 2 X 0.2 + 3 X 0.1 + 3 X 0.1 = 1.6 (비트)이 된다.Then, the average code length resulting from the variable length encoding process is computed as the average of the code length X allocation bits, so that the average code length is 1 X 0.6 + 2 X 0.2 + 3 X 0.1 + 3 X 0.1 = 1.6 (bits).

반면, 발생확률과 무관하게 부호길이를 2비트로 고정할당 한다면 2 X 0.6 + 2 X 0.2 + 2 X 0.1 + 2 X 0.1 = 2 (비트) 가 된다.On the other hand, if the code length is fixed to 2 bits regardless of the probability of occurrence, 2 X 0.6 + 2 X 0.2 + 2 X 0.1 + 2 X 0.1 = 2 (bits).

따라서 발생확률에 따라 할당 비트를 서로 상이하게 가변 부여하는 가변장부호화에 의해 얻어진 영상데이터의 값(길이)이 짧아 보다 고 압축 처리됨을 알 수 있다.Accordingly, it can be seen that the value (length) of the image data obtained by variable length encoding which gives variable allocation bits differently depending on the probability of occurrence is shorter, resulting in higher compression.

한편, 전술한 바 있는 화면간(시간적) 상관관계에 따른 압축방식인 움직임 보상방식은 입력되는 전후화면정보로부터 화면정보간의 상관 정도를 나타내는 움직임벡터를 사용하여 영상정보를 간소화하는 것으로 본 발명과 직접적인 관련이 없는 바 생략하기로 한다.Meanwhile, the motion compensation method, which is a compression method based on the inter-screen (temporal) correlation described above, simplifies the image information by using a motion vector representing the degree of correlation between the screen information from the input front and rear screen information. The irrelevant bar will be omitted.

이러한 종래 기술들에 의하여 대용량의 영상데이터를 보다 효율적으로 압축하고 있으며 특히 가변부호화방식에 의한 부호화처리과정은 현재 대부분의 영상압축장치에 사용되고 있는 실정이다.Such conventional techniques compress a large amount of image data more efficiently. In particular, the encoding process using the variable encoding method is currently used in most image compression apparatuses.

그러나, 다양한 자연영상에 최적한 가변장부호화 테이블(VLC: Variable Length Code, 이하 "VLC"로 표기함 )을 설정하기 위해서는 수많은 영상데이터에 근거한 실험치가 요구되며 더욱이 이미 설정된 VLC를 변경한다는 것은 영상압축기술을 사용하는 기기의 일반 사용자는 사실상 불가능한 문제점이 있다.However, in order to set an optimal variable length coding table (VLC: hereinafter referred to as "VLC") for various natural images, an experimental value based on a large number of image data is required. The average user of a device using the technology has a problem that is virtually impossible.

따라서, 본 발명은 상기와 같은 문제점을 해결하기 위하여 창작된 것으로서 다양한 자연영상에 상응하는 가변부호화 테이블을 적어도 2개이상의 복수 개 구비하여 가변장부호화과정을 수행하고 그 결과 보다 짧은 영상데이터를 자동으로 선택 저장 또는 송출 되도록 제어하는 복수의 가변장부호화 테이블을 이용한 영상데이터 압축장치를 제공하는 그 목적이 있는 것이다.Therefore, the present invention was created in order to solve the above problems, and includes a variable encoding table corresponding to various natural images, and includes a plurality of two or more variable encoding tables to perform a variable long coding process and to automatically generate shorter image data. It is an object of the present invention to provide an image data compression apparatus using a plurality of variable length encoding tables for controlling selection storage or transmission.

도 1은 종래의 단일 가변장부호화 과정에 의한 영상데이터 압축장치이고,1 is a conventional image data compression apparatus by a single variable length encoding process,

도 2는 종래의 영상데이터 압축장치에 의한 영상데이터 압축변환 처리과정을 도시한 것이고,2 illustrates a process of compressing and converting image data by a conventional image data compression apparatus.

도 3은 종래의 가변장부호화 테이블의 제1 실시예를 도시한 것이고Figure 3 shows a first embodiment of a conventional variable length encoding table

도 4는 본 발명에 따른 복수의 가변장부호화테이블을 이용한 영상데이터 압축장치의 제1 실시예를 도시한 것이고,4 shows a first embodiment of an image data compression apparatus using a plurality of variable length encoding tables according to the present invention.

도 5는 본 발명에 따른 또 다른 제2 실시예로써 양자화 변환 후 저주파성분과 상대적 고주파성분을 분리하여 재 그룹핑한 후 복수의 가변장부호화 테이블을 이용하여 영상데이터를 압축하는 또 다른 실시예를 도시한 것이고,FIG. 5 illustrates another embodiment of compressing image data using a plurality of variable length encoding tables after separating and regrouping low frequency components and relative high frequency components after quantization conversion according to another second embodiment according to the present invention. One,

도 6은 본 발명에 따른 또 다른 실시예인 도 5의 재 그룹핑 동작에 대한 처리과정을 개념적으로 도시한 것이다.FIG. 6 conceptually illustrates a process of the regrouping operation of FIG. 5 according to another embodiment of the present invention.

※ 도면의 주요부분에 대한 부호의 설명※ Explanation of code for main part of drawing

1,11,101: 직교변환 부 2,12,102: 스캔너(Scanner)1,11,101: Orthogonal Conversion Unit 2,12,102: Scanner

3,13,103: 양자기(Q: Quantizer) 4,14,104: 양자화 부3,13,103: Quantizer (Q) 4,14,104: Quantizer

5,15: 가변장부호화 부 105,109: 가변장부호화 부5,15 variable variable encoding unit 105,109 variable variable encoding unit

6,16,106: 메모리 부 17,107: 제어 부6,16,106: memory section 17,107: control section

108: 재 그룹핑 부(RO:Re-Ordering)108: Re-Ordering

상기와 같은 목적을 달성하기 위한 본 발명에 따른 복수의 가변장부호화 테이블을 이용한 영상데이터 압축장치는 복수의 서로 다른 가변부호화 테이블을 구비하여 양자화된 영상데이터를 상기 서로 다른 가변장부호화 테이블로 가변장 부호화 처리하고 그 결과 출력되는 복수의 영상데이터 중 데이터의 길이 즉, 부호의 길이 짧은, 즉 고 압축된 영상데이터를 자동으로 선택 저장 또는 송출되도록 제어하는 것에 그 특징이 있는 것이다.An image data compression apparatus using a plurality of variable length encoding tables according to the present invention for achieving the above object is provided with a plurality of different variable encoding tables to convert the quantized image data into different variable length encoding tables It is characterized by controlling to automatically select, store, or transmit the length of the data, that is, the length of the code, that is, the highly compressed image data, among the plurality of image data that is encoded and output as a result.

또한, 본 발명에 따른 복수의 가변장부호화 테이블을 이용한 영상데이터 압축장치는 양자화된 영상데이터 값 중에서 다시 저주파성분과 상대적 고주파성분의 영상데이터를 구분하여 다시 각각 한 화소블록단위의 영상데이터로 재 그룹핑(Grouping하고 그룹핑 수 및 주파수성분에 해당하는 가변장부호화 테이블을 더 구비하여 전술한 바와 같이 각각 가변장부호화 처리하고 그 결과를 비교하여 데이터 길이가 짧은 임의의 한 영상데이터를 자동으로 선택 저장 또는 송출되도록 제어하는 것에 또 다른 특징이 있는 것이다.In addition, the image data compression apparatus using the plurality of variable length encoding tables according to the present invention divides the low frequency component and the relatively high frequency component image data among the quantized image data values and regroups the image data in one pixel block unit. (Grouping, and further comprising a variable length coding table corresponding to the number of groupings and frequency components, and variable length coding processing as described above, and comparing the results to automatically select and store or transmit any one image data of short data length There is another feature in controlling as much as possible.

이하, 본 발명에 따른 복수의 가변장부호화 테이블을 이용한 영상데이터 압축장치의 바람직한 실시예에 대해 상세히 설명한다.Hereinafter, a preferred embodiment of an image data compression apparatus using a plurality of variable length encoding tables according to the present invention will be described in detail.

도 4는 본 발명의 제1 실시예를 개략적으로 나타낸 것으로서, 화소블록단위로 입력되는 영상데이터를 직교변환하는 직교변환부(11)와, 상기 직교변환된 영상데이터를 임의의 스캔방식 및 양자화 테이블을 이용하여 양자화하는 양자화부(14)와, 상기 양자화된 영상데이터를 각각의 서로 다른 가변장부호화 테이블에 의해 복수의 가변장 부호화처리된 영상데이터로 출력하는 가변장부호화부(15)와, 상기 가변장 부호화처리된 복수의 영상데이터 길이에 따라 임의의 한 영상데이터를 선택하도록 제어신호를 출력하는 제어부(17)를 포함하여 구성됨을 특징으로 한다.FIG. 4 schematically illustrates a first embodiment of the present invention, wherein an orthogonal transform unit 11 orthogonally transforms image data input in pixel block units, and an arbitrary scan method and quantization table for the orthogonal transformed image data. A quantization unit 14 for quantizing using the quantization unit, a variable length encoding unit 15 for outputting the quantized image data as a plurality of variable length encoded image data by different variable length encoding tables, and And a control unit 17 for outputting a control signal to select any one image data according to a plurality of variable length encoded image data lengths.

상기와 같이 구성된 본 발명에 따른 복수의 가변장부호화 테이블을 이용한 영상데이터 압축장치의 동작설명을 도 4를 참조하여 상세히 설명한다.An operation description of the image data compression apparatus using the plurality of variable length encoding tables according to the present invention configured as described above will be described in detail with reference to FIG. 4.

먼저, 일례로 미 도시된 자연영상의 한 프레임 영상데이터 (화소: 352 X 288)중 임의의 한 화소블록 즉, 하나의 워드( Word, 화소: 8 X 8 )가 입력되면 영상데이터의 공간주파수특성에 근거하여 DCT 동작을 수행하는 직교변환부(11)에 의하여 도 2에서 도시한 바와 같이 저주파성분과 고주파성분이 각각 좌측 상단부분과 우측 하단부분으로 편중 분포되어 진다.First, if any one pixel block of one frame image data (pixel: 352 X 288) of a natural image, that is, one word (Word, pixel: 8 X 8), is shown as an example, the spatial frequency characteristic of the image data is input. As shown in FIG. 2, low-frequency components and high-frequency components are biased into the upper left and lower right portions, respectively, by the orthogonal transform unit 11 performing the DCT operation.

이후 각각 다른 영역으로 편중 분포된 영상데이터의 고주파성분 제거를 위하여 양자화부(14)내의 스캐너(12)는 지그재그(Zigzag) 스캔동작과, 양자기(13)에서 수행되는 미리 설정된 양자화 테이블에 의한 양자화 과정에 의해 도 2의 (C)와 같은 저주파성분만이 존재하는 양자화된 영상데이터로 변환 출력한다.Afterwards, the scanner 12 in the quantization unit 14 performs a zigzag scan operation and a quantization by a preset quantization table performed by the quantizer 13 to remove high frequency components of the image data distributed in different regions. The process converts and outputs the quantized image data having only the low frequency components as shown in FIG.

상기 저주파성분만이 존재하는 영상데이터는 다시 전술한 바 있는 도 3의 가변장 부호화테이블을 적어도 2개이상 구비한 가변장 부호화부(15)에 의하여 각각 부호화처리 된다.The image data having only the low frequency component is encoded by the variable length encoder 15 having at least two variable length encoding tables of FIG. 3 as described above.

이때, 상기 가변장 부호화부(15)는 도 4의 경우 각각 상이한 가변장부호화 테이블인 VLC1과 VLC2를 구비하여 상기 양자화부(14)의 출력 데이터인 양자화변환 영상데이터를 동시에 각각 부호화처리 하는 데 전술한 바와 같이 상기 VLC1과 VLC2는 입력 영상데이터의 발생확률이 서로 상이함을 전제로 하여 해당하는 할당부호의 비트 수를 달리 하도록 설정되어 있어서 동일한 영상데이터를 서로 다른 길이의 가변장 부호로 출력하게 된다.In this case, the variable length encoder 15 has different variable length encoding tables VLC1 and VLC2 in FIG. 4 to simultaneously encode and process quantized transform image data which is output data of the quantization unit 14. As described above, the VLC1 and the VLC2 are set to have different numbers of bits of corresponding allocation codes on the premise that the occurrence probability of the input image data is different from each other, thereby outputting the same image data with variable length codes having different lengths. .

이와 같이 서로 다른 가변장 부호길이를 갖는 2개의 영상데이터를 출력하는 상기 가변장부호화부(15)의 출력은 저장 및 송출을 위한 메모리부(16)로 입력되는데 이때 상기 메모리부(16)는 저장 및 송출동작을 제어하고 또한 상기 가변장 부호화 처리된 2개의 영상데이터 평균부호길이를 서로 비교하여 그중 상대적으로 데이터의 길이가 짧은 임의의 한 영상데이터를 판별하여 해당하는 영상데이터가 메모리부(16)에 저장되도록 제어하는 제어부(17)의 동작에 의해 제어된다.In this way, the output of the variable length encoder 15 for outputting two image data having different variable length code lengths is input to the memory unit 16 for storing and transmitting, wherein the memory unit 16 is stored. And controlling the transmission operation and comparing the average code lengths of the two video data subjected to the variable length encoding with each other to discriminate any one video data having a relatively short data length from the memory unit 16. It is controlled by the operation of the control unit 17 for controlling to be stored in.

도 5와 도 6은 본 발명의 또 다른 실시예인 제2 실시예를 개략적으로 나타낸 것으로서 화소블록으로 입력되는 영상데이터를 직교 변환하는 직교변환부(101)와, 상기 직교 변환된 영상데이터를 임의의 스캔방식 및 양자화테이블을 이용하여 양자 화하는 양자화부(104)와, 상기 양자화 된 영상데이터의 주파수성분에 따라 복수개의 그룹으로 재 그룹핑 하는 재 그룹핑부(108)와, 상기 재 그룹핑 된 복수개의 영상데이터를 주파수성분에 따라 각각 서로 다른 가변장부호화 테이블에 의해 가변장 부호화 처리한 후 하나의 영상데이터로 출력하는 제1 가변장부호화부(105)와, 상기 양자화된 영상데이터를 상기 제1 가변장부호화부와, 또 다른 가변장부호화 테이블에 의해 가변장 부호화 처리하여 영상데이터를 출력하는 제2 가변장부호화부(109)와, 상기 제1 제2 가변장 부호화부에 의해 가변장 부호화 처리된 복수의 영상데이터 길이에 따라 임의의 한 영상데이터를 선택하도록 제어신호를 출력하는 제어부(107)를 포함하여 구성되어 있다.5 and 6 schematically show a second embodiment as another embodiment of the present invention. An orthogonal transform unit 101 orthogonally transforms image data inputted to a pixel block. A quantization unit 104 to quantize using a scan method and a quantization table, a regrouping unit 108 to regroup into a plurality of groups according to frequency components of the quantized image data, and the plurality of regrouped images A first variable length encoding unit 105 for performing variable length encoding processing according to different variable length encoding tables according to frequency components and outputting the same as one image data, and converting the quantized image data into the first variable length. A second variable length encoding unit 109 for variable length encoding processing by another encoding unit and another variable length encoding table to output image data, and the first second variable. And a control unit 107 for outputting a control signal to select any one video data according to the plurality of video data lengths variable-coded by the long coding unit.

상기와 같이 구성된 본 발명의 제2 실시예인 복수의 가변장부호화 테이블을 이용한 영상데이터 압축장치의 동작설명을 도 5와 6을 참조하여 상세히 설명한다.An operation description of the image data compression apparatus using the plurality of variable length encoding tables as the second embodiment of the present invention configured as described above will be described in detail with reference to FIGS. 5 and 6.

도 5에서 보듯이 직교변환 및 양자화된 영상데이터는 전술한 바와 같이 고주파성분이 제거되고 저주파성분으로만 편중 분포된 영상데이터로써 도시된 재 그룹핑부(108)에 입력되는 데 상기 재 그룹핑부에 입력되는 영상데이터는 전체적으로는 저주파성분들이지만 그 영상데이터간에는 상대적으로 고주파성분인 영상데이터가 존재한다.As shown in FIG. 5, the orthogonal transformed and quantized image data is input to the regrouping unit 108 shown as image data in which high frequency components have been removed and are unilaterally distributed only with low frequency components. Although the image data is low frequency components as a whole, there is relatively high frequency component image data between the image data.

예로 양자화된 영상데이터가 C1~C10 이였다면 C6~C10은 C1~C5 보다 상대적으로 고주파성분의 영상데이터인 것이다. 따라서 재 그룹핑부는 도6에서 보듯이 한 워드의 영상데이터와 그 이후 입력되는 한 워드의 영상데이터로부터 각각 저주파성분과 상대적 고주파성분의 영상데이터를 구분하여 그룹핑하는 동작을 수행한다.For example, if the quantized image data is C1 to C10, C6 to C10 are relatively high frequency image data than C1 to C5. Thus, as shown in FIG. 6, the regrouping unit performs an operation of dividing the low frequency component and the high frequency component image data from the image data of one word and the image data of one word input thereafter.

보다 상세히 설명하면 상기 순차 입력되는 각각의 한 워드에 해당하는 영상데이터를 저주파성분의 영상데이터와 상대적 고주파성분의 영상데이터로 각각의 구분하여 주파수성분이 서로 상이한 2개의 워드를 생성하는 것이다.In detail, two words having different frequency components are generated by dividing the image data corresponding to each word sequentially input into the image data of the low frequency component and the image data of the relative high frequency component.

이렇게 재 그룹핑되어 생성된 2개의 워드는 저주파성분의 영상데이터에 해당하는 발생확률에 근거하여 설정된 VLC1과 고주파성분의 영상데이터에 해당하는 발생확률에 근거하여 설정된 VLC2 을 구비한 제1 가변장 부호화부(105)에 의해 가변장 부호화 처리된다.The two words generated by regrouping are the first variable length encoder having VLC1 set based on the probability of occurrence of the image data of the low frequency component and VLC2 set based on the probability of occurrence of the image data of the high frequency component. Variable length encoding is performed by 105.

한편, 상기 재 그룹핑부(108)에 입력되는 양자화된 영상데이터는 통상의 가변장부호화테이블이 구비된 제2 가변장부호화부(109)에 의해 가변장부호화 처리되며 이러한 동작을 통해 얻어진 각각의 영상데이터는 저장 및 송출을 위한 메모리부(106)로 입력된다.On the other hand, the quantized image data input to the regrouping unit 108 is subjected to variable length encoding by a second variable length encoding unit 109 having a conventional variable length encoding table, and each image obtained through such an operation. Data is input to the memory unit 106 for storage and transmission.

이때 상기 메모리부(106)는 상기 제1 가변장부호화부(105)의 출력 데이터인 제1 영상데이터와 상기 제2 가변장부호화부(106)의 출력 데이터인 제2 영상데이터의 평균부호길이를 비교하여 상대적으로 짧은 부호길이를 갖는 영상데이터를 판별하고 상기 메모리부에 저장되는 영상데이터가 상기 짧은 부호길이를 갖는 영상데이터가 되도록 상기 메모리부를 제어하는 제어부(107)에 의해 제어된다.In this case, the memory unit 106 determines an average code length between the first image data which is the output data of the first variable length encoder 105 and the second image data which is the output data of the second variable length encoder 106. The control unit 107 controls the memory unit so as to discriminate image data having a relatively short code length and compare the image data stored in the memory unit to be image data having the short code length.

한편, 재 그룹핑부의 그룹핑 동작에 소요되는 지연시간 및 제1, 제2 가변장 부호화부간의 타이밍은 통상의 동조기술로써 충분히 실시 가능한 바 본 상세 설명에서는 생략하기로 한다.On the other hand, the delay time required for the grouping operation of the regrouping unit and the timing between the first and second variable-length encoders can be sufficiently implemented by a general tuning technique, and thus the detailed description thereof will be omitted.

상기와 같은 구성 및 동작에 의해 이루어지는 본 발명에 따른 복수의 가변장부호화테이블을 이용한 영상데이터 압축장치는 다양한 자연영상에 최적한 가변장부호화테이블을 적어도 2개이상 구비하여 가변장 부호화처리하고 그 결과 평균부호화길이가 짧은 고 압축 영상데이터를 자동으로 선택 저장 및 송출함으로써 대용량의 영상데이터 압축 율 향상에 크게 기여하는 매우 유용한 발명인 것이다.An image data compression apparatus using a plurality of variable length encoding tables according to the present invention by the above-described configuration and operation is provided with at least two variable length encoding tables that are optimal for various natural images, and the result is variable length encoding. It is a very useful invention that greatly contributes to the improvement of the compression ratio of large-capacity image data by automatically storing and transmitting high-compression image data having a short average encoding length.

Claims (4)

화소블록단위로 입력되는 영상데이터를 직교변환하는 직교변환부와,An orthogonal transform unit which orthogonally transforms image data input in pixel block units; 상기 직교 변환된 영상데이터를 임의의 스캔방식 및 양자화테이블을 이용하여 양자화하는 양자화부와,A quantization unit for quantizing the orthogonal transformed image data using an arbitrary scan method and a quantization table; 상기 양자화된 영상데이터를 각각의 서로 다른 가변장부호화 테이블에 의해 복수의 가변장 부호화 처리된 영상데이터로 출력하는 가변장부호화부와,A variable length encoder for outputting the quantized image data as a plurality of variable length coded image data by different variable length encoding tables; 상기 가변장 부호화 처리된 복수의 영상데이터 크기에 따라 임의의 한 영상데이터를 선택출력하는 제어부를 포함하여 구성됨을 특징으로 하는 복수의 가변장부호화테이블을 이용한 영상데이터 압축장치.And a control unit for selectively outputting any one image data according to the plurality of image data sizes subjected to the variable length encoding process. 제1항에 있어서,The method of claim 1, 상기 제어부는 가변장 부호화 처리된 복수의 영상데이터의 크기중 상대적으로 작은 임의의 한 영상데이터를 선택 출력함을 특징으로 하는 복수의 가변장부호화테이블을 이용한 영상데이터 압축장치.And the controller selects and outputs one image data having a relatively small size among a plurality of variable length coded image data. 화소블록단위로 입력되는 영상데이터를 직교 변환하는 직교변환부와,An orthogonal conversion unit for orthogonally converting image data input in pixel block units; 상기 직교 변환된 영상데이터를 임의의 스캔방식 및 양자화테이블을 이용하여 양자화하는 양자화부와,A quantization unit for quantizing the orthogonal transformed image data using an arbitrary scan method and a quantization table; 상기 양자화된 영상데이터의 주파수성분에 따라 복수개의 그룹으로 재 그룹핑하는 재 그룹핑부와,A regrouping unit for regrouping into a plurality of groups according to frequency components of the quantized image data; 상기 재 그룹핑된 복수개의 영상데이터를 각각 서로 다른 가변장부호화 테이블에 의해 가변장 부호화 처리한 후 하나의 영상데이터로 출력하는 제1 가변장부호화부와,A first variable length encoder for variable length encoding the plurality of regrouped image data using different variable length encoding tables and outputting the same as one image data; 상기 양자화된 영상데이터를 상기 제1 가변장부호화부와 또 다른 가변장부호화 테이블에 의해 가변장 부호화 처리하여 영상데이터를 출력하는 제2 가변장 부호화부와,A second variable length encoder for variable length encoding the quantized image data by the first variable length encoder and another variable length encoding table to output image data; 상기 제1 제2 가변장 부호화부에 의해 가변장 부호화 처리된 복수의 영상데이터 크기에 따라 임의의 한 영상데이터를 선택출력하는 제어부를 포함하여 구성됨을 특징으로 하는 복수의 가변장부호화테이블을 이용한 영상데이터 압축장치.And a control unit for selectively outputting one arbitrary image data according to the plurality of image data sizes variable-length encoded by the first second variable length encoder. Data Compressor. 제3항에 있어서,The method of claim 3, 상기 재 그룹핑부는 저주파성분과 고주파성분으로 구분하여 각각 하나의 화소블록단위의 영상데이터로 재 그룹핑함을 특징으로 하는 복수의 가변장부호화테이블을 이용한 영상데이터 압축장치.The regrouping unit is divided into a low frequency component and a high frequency component and the image data compression apparatus using a plurality of variable length encoding table, characterized in that each re-grouping by one pixel block unit image data.
KR1019980030768A 1998-07-25 1998-07-25 Image data compression device using multiple variable encoding tables KR100295802B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980030768A KR100295802B1 (en) 1998-07-25 1998-07-25 Image data compression device using multiple variable encoding tables

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980030768A KR100295802B1 (en) 1998-07-25 1998-07-25 Image data compression device using multiple variable encoding tables

Publications (2)

Publication Number Publication Date
KR20000010066A true KR20000010066A (en) 2000-02-15
KR100295802B1 KR100295802B1 (en) 2001-10-26

Family

ID=19545736

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980030768A KR100295802B1 (en) 1998-07-25 1998-07-25 Image data compression device using multiple variable encoding tables

Country Status (1)

Country Link
KR (1) KR100295802B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100472040B1 (en) * 2000-12-27 2005-03-08 닛본 덴끼 가부시끼가이샤 Data compression method and device, and computer-readable recording medium of storing a control program for controlling the data compression

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100472040B1 (en) * 2000-12-27 2005-03-08 닛본 덴끼 가부시끼가이샤 Data compression method and device, and computer-readable recording medium of storing a control program for controlling the data compression

Also Published As

Publication number Publication date
KR100295802B1 (en) 2001-10-26

Similar Documents

Publication Publication Date Title
US5604498A (en) Huffman decoder
US5654706A (en) System for variable length decoding digital transmission data which has been compressed by selecting a scanning pattern
KR101622450B1 (en) Video encoding and decoding using transforms
KR100530681B1 (en) How to send and receive coded video images
CA2498384C (en) Context-based adaptive variable length coding for adaptive block transforms
US5831559A (en) Encoding/decoding video signals using multiple run-val mapping tables
EP0861003B1 (en) Code-amount control device and video coding device including the code-amount control device
JPH06225286A (en) Method and apparatus for adaptively coding variable length
JPH099261A (en) Signal compression device
US5742342A (en) Apparatus for encoding an image signal using vector quantization technique
JP2010226532A (en) Image compression apparatus and image decompression apparatus
US6011499A (en) Encoding/decoding video signals using multiple run-val mapping tables
KR20020026189A (en) Efficient video data access using fixed ratio compression
KR100295802B1 (en) Image data compression device using multiple variable encoding tables
US6084913A (en) Method for compressing dynamic image information and system and device therefor
JP3624450B2 (en) Image data encoding method and image data encoding apparatus
US20060149801A1 (en) Method of encoding a signal into a bit stream
JP4041245B2 (en) Image encoding device
KR100245788B1 (en) Video coding apparatus
KR0148148B1 (en) Variable length coding method of image signal using variable length coding table
JPH02161887A (en) System and device for encoding image signal
KR0134358B1 (en) Coding and decoding system of variable scan method
KR19980076041A (en) Run-level symbol decoding method and apparatus
KR100202957B1 (en) Quantizatizer
KR100327364B1 (en) Image compression device using multiple huffman table

Legal Events

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

Payment date: 20080319

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee