KR0134324B1 - Variable length method of data compression - Google Patents

Variable length method of data compression

Info

Publication number
KR0134324B1
KR0134324B1 KR1019930031624A KR930031624A KR0134324B1 KR 0134324 B1 KR0134324 B1 KR 0134324B1 KR 1019930031624 A KR1019930031624 A KR 1019930031624A KR 930031624 A KR930031624 A KR 930031624A KR 0134324 B1 KR0134324 B1 KR 0134324B1
Authority
KR
South Korea
Prior art keywords
variable length
data
bitplane
encoding
bit
Prior art date
Application number
KR1019930031624A
Other languages
Korean (ko)
Other versions
KR950022189A (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 KR1019930031624A priority Critical patent/KR0134324B1/en
Publication of KR950022189A publication Critical patent/KR950022189A/en
Application granted granted Critical
Publication of KR0134324B1 publication Critical patent/KR0134324B1/en

Links

Classifications

    • 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/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

Abstract

본 발명은 디지탈 영상데이타를 부호화하는 방법에 관한 것으로, 주파수영역의 계수로 양자화된 N비트단위의 영상데이타를 MSB에서 LSB까지의 각 비트플레인 단위별로 구분하고 각 비트플레인이 갖는 특성을 고려하여 가변장부호화테이블을 비트플레인 단위별로 적용함으로써 최적의 영상데이타압축을 행할 수 있는 가변장부호화방법에 관한 것이다.The present invention relates to a method of encoding digital image data, wherein the image data of N-bit units quantized by coefficients in a frequency domain is classified for each bit plane unit from MSB to LSB and is variable in consideration of characteristics of each bit plane. The present invention relates to a variable length coding method capable of performing optimal image data compression by applying a long coding table for each bit plane.

Description

데이타압축을 위한 비트단위 가변장부호화방법Bitwise Variable Length Encoding Method for Data Compression

제1도는 종래의 영상데이타 부호화장치의 일예를 나타내는 블록도.1 is a block diagram showing an example of a conventional video data encoding apparatus.

제2도는 종래의 가변장부호화방법을 설명하기 위한 설명도.2 is an explanatory diagram for explaining a conventional variable length encoding method.

제3도는 본 발명의 부호화방법을 설명하기 위한 개념도.3 is a conceptual diagram for explaining an encoding method of the present invention.

제4도는 본 발명에 따른 가변장부호화방법의 흐름도.4 is a flowchart of a variable length coding method according to the present invention.

제5도는 제3도의 i번째 비트플레인에 대한 예시도.5 is an exemplary diagram of the i th bitplane of FIG.

제6도는 본 발명의 스캔방법의 예들을 각각 나타낸 개략도.6 is a schematic diagram each showing examples of the scanning method of the present invention.

본 발명은 디지탈 영상데이타를 부호화하는 방법에 관한 것으로, 특히 N비트단위의 데이타들을 받아들여 무손실데이타압축을 위해 가변장부호화하는 방법에 있어서 각 비트플랜의 특성을 고려하여 가변장부호화하는 방법에 관한 것이다.The present invention relates to a method of encoding digital image data, and more particularly, to a method of variable length encoding in consideration of characteristics of each bit plan in a method of receiving variable length encoding for lossless data compression by receiving data in units of N bits. will be.

일반적으로 영상 및 음향을 송수신하는 시스템에서 영상신호 및 음성신호를 디지탈신호로 부호화하여 전송하거나 저장부에 저장하고, 이를 다시 복호화하여 재생하는 방식이 주로 사용되고 있다. 이러한 영상신호의 부호화를 위해 사용되고 있는 방식에는 변환부호화방식, 차분펄스부호변조방식, 벡터양자화방식 및 가변장부호화방식등이 있다. 이 부호화방식들은 디지탈영상신호에 포함되어 있는 용장성데이타(Redundancy data)를 제거하는 전체데이타량을 압축시키기 위해 사용된다.In general, in a system for transmitting and receiving video and sound, a video signal and an audio signal are encoded and transmitted as digital signals or stored in a storage unit, and then decoded and reproduced. Methods used for encoding such video signals include a transform encoding method, a differential pulse code modulation method, a vector quantization method, and a variable length encoding method. These coding methods are used to compress the total amount of data for removing redundancy data included in the digital video signal.

제1도는 일반적인 디지탈신호의 부호화장치를 나타낸 블록도로서, K×K블록에 대해 DCT(Discrete Cosine Transform)방식의 변환을 수행한 후 변환계수를 양자화시키는 수단과, 양자화된 데이타를 가변장부호화하여 데이타량을 더욱 압축시키는 수단과, 양자화된 데이타를 역양자화 및 역변환하여 동보상을 수행하는 수단으로 구성된다.FIG. 1 is a block diagram showing a general digital signal encoding apparatus. The method of transforming a KxK block by DCT (Discrete Cosine Transform) is used to quantize transform coefficients and to perform variable length encoding on quantized data. Means for further compressing the data amount, and means for performing inverse compensation by inverse quantization and inverse transformation of the quantized data.

제1도에서, 입력단(10)을 통해 입력되는 영상신호는 K×K변환부(11)에서 K×K 블럭단위로 주파수 영역의 신호로 변환되고, 이 변환된 변환계수의 에너지는 주로 저주파쪽으로 모이게 된다. 각 블록에 대해 데이타변환은 DCT외의 WHT(Walsh-Hadamard Transform), DFT(Discrete Fouier Transform) 및 DST(Discrete Sine Transform) 등의 방법을 사용할 수도 있다. 양자화부(12)는 변환계수들을 일정레벨의 대표값들로 바꾸어준다. 가변장부호화부(13)는 상기 대표값들의 통계적특성을 살려 가변장부호화함으로써 데이타를 더욱 압축시킨다.In FIG. 1, an image signal input through the input terminal 10 is converted into a signal in the frequency domain in units of K × K blocks by the K × K converter 11, and the energy of the converted conversion coefficient is mainly directed toward the low frequency side. Are gathered. For each block, data conversion may use methods such as a Walsh-Hadamard Transform (WHT), a Discrete Fouier Transform (DFT), and a Discrete Sine Transform (DST). The quantization unit 12 converts the transform coefficients into representative values of a predetermined level. The variable length coding unit 13 further compresses the data by variable length coding using the statistical characteristics of the representative values.

한편, 가변장부호화된 데이타가 저장되는 버퍼(14)의 상태에 따라 변환되는 양자화스텝사이즈(QSS)는 양자화부를 제어하여 전송비트를 조절하고, 수신측으로도 전송되어 부호화장치에 사용된다.On the other hand, the quantization step size (QSS), which is converted according to the state of the buffer 14 in which the variable length coded data is stored, controls the quantization unit to adjust the transmission bit, and is also transmitted to the receiving side for use in the encoding apparatus.

또한, 일반적으로 화면과 화면간에는 유사한 부분이 많으므로, 움직임이 있는 화면인 경우 그 움직임을 추정하여 동벡터(MV)를 산출하고, 이 동 벡터를 이용하여 데이타를 보상하여 주면 인접한 화면간의 차신호는 매우 작으므로 전송데이타를 더욱 압축시킬 수 있다. 이러한 동보상을 수행하기 위해 역양자화부(15) 및 K×K역변환부(16)는 양자화부(12)에서 출력되는 양자화데이타를 역양자화시킨 다음 역변환시켜 공간영역의 영상신호로 변환시킨다. 역변환부(16)에서 출력되는 영상신호는 프레임메모리(17)에서 프레임 단위로 저장되고, 동추정부(18)는 프레임메모리(17)에 저장된 프레임데이타에서 입력단(10)의 K×K블록데이타와 가장 유사한 패턴의 블록을 찾아 양블록간의 움직임을 나타내는 동벡터(MV)를 산출한다. 이 동벡터는 수신측으로 전송되어 복호화장치에서 사용되고 아울러 동부상부(19)로 전송된다. 동보상부(19)는 동추정부(18)에서 동벡터를 공급받고, 프레임메모리(17)에서 출력되는 이전 프레임데이타에서 상기 동벡터(MV)에 상응하는 K×K블럭을 읽어내어 입력단(10)에 연결된 가산기(A1)로 공급한다. 그러면, 가산기(A1)는 입력단으로 공급되는 K×K블록과 동보상부(19)에서 공급되는 유사패턴의 K×K블록간의 차를 산출하고, 상기 가산기(A1)의 출력데이타는 위에서 설명한 바와 같은 과정을 거쳐 부호화되고, 수신측으로 전송된다. 즉, 처음에는 전체의 영상신호를 전송하고 이후에는 움직임에 의한 차신호만을 전송하게 된다.In addition, since there are many similar parts between screens in general, when the screen is in motion, the motion vector (MV) is calculated by estimating the motion, and when the data is compensated using the motion vector, the difference signal between adjacent screens. Is very small, which can further compress the transmission data. In order to perform such dynamic compensation, the inverse quantization unit 15 and the K × K inverse transform unit 16 inversely quantize the quantization data output from the quantization unit 12 and inversely transform the image signal in the spatial domain. The video signal output from the inverse transform unit 16 is stored in frame units in the frame memory 17, and the synchronization unit 18 stores the K × K block data of the input terminal 10 in the frame data stored in the frame memory 17. The block having the most similar pattern is found to calculate a motion vector (MV) representing the motion between the two blocks. This motion vector is transmitted to the receiving side, used in the decoding apparatus, and transmitted to the upper eastern part 19. The dynamic compensator 19 receives a dynamic vector from the dynamic weighting unit 18, reads a K × K block corresponding to the dynamic vector MV from previous frame data output from the frame memory 17, and then inputs the dynamic vector. Supply to the adder (A1) connected to. Then, the adder A1 calculates the difference between the K × K block supplied to the input terminal and the K × K block of the similar pattern supplied from the dynamic compensator 19, and the output data of the adder A1 is as described above. It is encoded by the process and transmitted to the receiving side. That is, the entire video signal is first transmitted and only the difference signal due to the movement is transmitted afterwards.

한편, 동보상부(19)에서 움직임이 보상된 데이타는 가산기(A2)에서 K×K역변환부(16)로부터 출력되는 영상신호와 가산된 후 프레임메모리(17)에 저장된다. 리프레쉬스위치(SW)는 타제어수단에 의해 수시로 오프(off)되어, 입력영상신호가 PCM(Pulse Code Modulation)모드로 부호화되어 전송되도록 함으로써, 차신호만을 부호화하여 전송함에 따른 부호화에러의 누적을 일정시간간격으로 리프레쉬하고 또한 채널상의 전송에러로부터 수신측이 일정시간내에 벗어나도록 한다.On the other hand, the data whose motion is compensated for in the compensator 19 is added to the video signal output from the KxK inverse transform unit 16 in the adder A2 and then stored in the frame memory 17. The refresh switch SW is turned off from time to time by other control means so that an input video signal is encoded and transmitted in a PCM mode, thereby accumulating encoding errors due to encoding and transmitting only difference signals. Refresh at time intervals and allow the receiving side to deviate from the transmission error on the channel within a certain time.

이와 같이 부호화된 영상데이타는 수신측으로 전송되어 복호화장치를 거쳐 영상신호로 출력되게 된다.The encoded video data is transmitted to the receiver and output as a video signal through a decoding apparatus.

이상 설명한 바와 같은 종래의 영상데이타 부호화시스템에서는 DCT, WHT, DFT, DST등의 방법으로 변환된 데이타를 일정크기의 블록단위로 가변장부호화한다. 그예를 제2도를 참조하여 설명한다.In the conventional video data encoding system as described above, the data converted by DCT, WHT, DFT, DST, etc. is variably encoded in block units of a predetermined size. An example is described with reference to FIG.

제2도는 일정크기를 갖는 블록의 변환된 영상데이타의 일예를 나타낸 것이다. 도시된 바와 같이 영상데이타의 성분값이 서로 동일한 부분도 있고, 서로 다르게 나타나는 부분도 있다. 이 블록내의 성분값들을 화살표로 표시한 순서에 따라 지그재그스캔(Zig-Zag Scan)하여 1차원의 열로 배열하면 150,30,0,0,20,0,10,0,0,25,……와 같이 된다. 여기서 0의 런랭쓰(Run-Length)를 계산하여 런(Run)과 엠프리튜드(Amplitude)의 한쌍으로 표시하면 (0,150),(0,30),(2,20),(1,10),(2,25),……와 같이 된다. 이 (런, 엠프리튜드)쌍에 해당하는 부호를 얻을 수 있고, 이 블록전체에 대한 가변장부호화를 할 수 있게 된다. 물론 허프만테이블은 블록의 특성을 고려하여 미리 작성되어져 있어야 하고, 일반적으로 발생확률이 높은 쌍에는 짧은 길이의 부호화가 할당되고 발생확률이 낮은 쌍에는 긴 길이의 부호가 할당되어 전체적인 부호길이의 평균치를 줄일 수 있도록 되어 있다. 위와같은 방법을 사용하는 경우 변환된 영상데이타를 어느 정도 압출할 수는 있다. 하지만, 위와같은 가변장부호화방법에서는 제2도에 나타나 있는 바와같은 변환된 영상데이타의 각 성분들을 2진비트로 표시하면, 최상위비트인 MSB(Most Significant Bit)에서 최하위비트인 LSB(Least Significant Bit)에 이르기까지 동일수준의 비트들로 이루어진 각 비트플레인(Bit Plane)마다 0과 1이 나타나는 출현통계적 성질이 상이한데, 그 출현통계적 성질차를 충분하게 이용할 수 없는 결점이 있다.2 illustrates an example of transformed image data of a block having a predetermined size. As shown in the drawing, the component values of the image data may be the same or may be different from each other. When the component values in this block are arranged in a one-dimensional column by zigzag scanning in the order indicated by the arrows, 150, 30, 0, 0, 20, 0, 10, 0, 0, 25,... … Becomes Here, the run-length of 0 can be calculated and expressed as a pair of run and amplitude (0,150), (0,30), (2,20), (1,10), (2,25),... … Becomes The sign corresponding to this (run, mpretude) pair can be obtained, and variable length coding can be performed for the entire block. Of course, the Huffman table should be prepared in consideration of the characteristics of the block.In general, a short length encoding is assigned to a pair with a high probability of occurrence and a long length code is assigned to a pair with a low probability of occurrence. It is to be reduced. Using the above method, the converted image data can be extruded to some extent. However, in the variable length coding method described above, when each component of the converted image data as shown in FIG. Up to, each of the bit planes of the same level of bits (Bit Plane) is different from the appearance statistical properties appearing 0, 1, there is a drawback that can not fully exploit the difference.

따라서, 본 발명의 목적은 압축하고자 하는 데이타의 MSB에서 LSB에 이르는 각 비트플레인단위로 가변장부호화함으로써, 각각의 비트플레인상에 상이하게 출현하는 0과 1의 출현통계적 성질을 충분히 활용하여 가장 효율적인 가변장부호화를 갖능케 하는 가변장부호화방법을 제공하는데 있다.Accordingly, an object of the present invention is to efficiently utilize the appearance statistical properties of 0 and 1 that appear differently on each bitplane by variably length coding each bitplane unit from MSB to LSB of data to be compressed. The present invention provides a variable length coding method for enabling variable length coding.

이와 같은 본 발명의 목적은, 소정의 블록크기를 갖는 영상데이타를 주파수영역의 변환계수로 변환시키고 양자화시킨 다음 소정방향으로 스캔하여 가변장부호화하는 방법에 있어서, 각 비트플레인의 0과 1의 출현통계적 성질을 고려하여 가변장부호화테이블을 준비하는 단계 및 상기 양자화된 데이타를 2진 비트로 표시하여 N개의 비트플레인으로 구분하는 단계 및 상기 비트플레인들을 스캔하여 0의 런과 1의 앰프리튜드의 쌍으로 표시하는 단계 및 상기 가변장부호화테이블을 이용하여 비트플레인을 가변장부호화하는 단계를 포함하는 것을 특징으로 하는 가변장부호화방법에 의하여 달성될 수 있다.The object of the present invention is to convert the quantized image data having a predetermined block size into a transform coefficient of the frequency domain, and then scan in a predetermined direction to variably code the length of each bit plane. Preparing a variable length encoding table in consideration of statistical properties, dividing the quantized data into binary bits, dividing the data into N bitplanes, and scanning the bitplanes to perform a pair of zero runs and one ampli- tude. And a variable length encoding method using the variable length encoding table.

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

제3도는 영상데이타의 성분값들을 3차원 공간사에 2진비트로 표시한 것이다. K개의 성분계수를 갖는 세로방향의 각 데이타열은 일정크기를 갖는 블록의 영상데이타를 지그재그스캔등의 방법으로 스캔하여 종방향으로 배열하고 각 성분들을 2진비트로 표시한 것이다. 즉 M개의 블록에 대한 영상데이타를 소정의 스캔방법으로 스캔하여 2진데이타화 한것이다. 각 데이타의 성분들은 N비트로 구성되어 있으며 전체적으로 MSB에서 LSB까지 각 비트들이 모여서 N개의 비트플레인을 구성한다.3 shows binary values of component values of image data in three-dimensional spatial yarns. Each data column in the vertical direction having K component coefficients is a vertically scanned image data of a block having a certain size by a zigzag scan method, and each component is displayed in binary bits. That is, binary data is obtained by scanning image data of M blocks by a predetermined scan method. Each data component consists of N bits, and each bit from the MSB to the LSB gathers to form N bit planes.

비트의 크기 N은 가장 큰 성분값의 비트수에 의해 정해지고, N비트보다 작은 비트수로 구성되는 성분값의 나머지 비트부분은 0의 비트들로 구성된다. 예를 들어 영상데이타의 가장 큰 성분값이 150이고, 그 영상데이타중의 하나의 성분값이 30이면, N은 8이 되고, '150은 10010110으로 표시되며, 30은 11110으로 표시된다.The size of the bit N is determined by the number of bits of the largest component value, and the remaining bits of the component value composed of bits smaller than N bits are composed of zero bits. For example, if the largest component value of the image data is 150 and one component value of the image data is 30, N is 8, '150 is represented by 10010110, and 30 is represented by 11110.

각각의 비트플레인은 0과 1만으로 표현되고, 0과 1이 나타나는 출현통계적 성질은 상이하다. 일반적으로 MSB측의 비트플레인은 LSB측의 비트플레인에 비해 '1보다는 0이 나타날 확률이 높으며, 0 또는 1이 나타나는 출현통계적 성질이 비슷한 비트플레인이 있을 수도 있다.Each bitplane is represented by 0 and 1 only, and the appearance statistics of 0 and 1 are different. In general, a bitplane on the MSB side has a higher probability of appearing than '1' than a bitplane on the LSB side, and there may be a bitplane having similar appearance statistics.

따라서, 영상데이타의 MSB에서 LSB까지의 N비트들이 각각 이루는 N개의 비트플레인에 대해 각각 독립적으로 가변장부호화데이블을 준비하고, 각 비트플레인마다 가변장부호화를 한다면 종래의 방법에서보다 더 많은 데이타압축을 할 수 있음을 알 수 있다. 각 비트플레인에 대한 가변장부호화 테이블을 각 비트플레인의 0과 1의 출현통계적 성질을 고려하여 작성한다. 즉, 각 비트플레인에 대해 선택된 하나의 스캔방법으로 스캔하여 보면, 각 비트플레인은 0과 1의 출현통계적 성질이 상이한 것이 많으므로, 0'의 런랭쓰의 통계적성질이 상이한 것도 많을 것이다. 따라서 각 비트플레인마다 0의 런랭쓰의 통계적성질을 고려하여 가변장부호화테이블을 작성한다. 물론 각 비트프레인의 처리순서에 있어서는, MSB측에서 LSB까지 차례대로 처리하던지, LSB측에서 MSB까지 차례대로 처리하던지 아니면 또 다른 임의의 순서로 하여도 된다.Therefore, if variable length coding is prepared independently for each of the N bit planes composed of the N bits from the MSB to the LSB of the image data, and the variable length coding is performed for each bit plane, more data compression is performed than in the conventional method. It can be seen that. A variable length encoding table for each bitplane is created by considering the appearance statistics of 0 and 1 of each bitplane. That is, when scanning by one scanning method selected for each bitplane, since each bitplane is often different in appearance statistics of 0 and 1, the statistical properties of the run length of 0 'will be different. Therefore, a variable length encoding table is created by considering the statistical properties of zero runlengths for each bitplane. Of course, in the processing order of each bit plane, processing may be performed sequentially from the MSB side to the LSB, sequentially from the LSB side to the MSB, or in another arbitrary order.

각 비트플레인에 대한 가변장부호화방법의 흐름을 제4도에 도시하였다. 양자화된 데이타가 구성하는 N개의 비트플레인(단계 40)에 대하여 비트플레인을 스캔하는 순서를 결정하고(단계 41), 첫번째 가변장부호화할 비트플레인을 지정하여 준다(단계 42). 이에 따라, 각 비트플레인에 해당하는 가변장부호화테이블(46)을 이용하여 첫번째 비트플레인에 대한 가변장부호화후 그다음 가변장부호화할 비트플레인을 순차적으로 지정하여(단계 47) 첫번째 비트플레인에서부터 시작하여 마지막 비트플레인까지 순차적으로 가변장부호화를 실행한다(단계 43). 이때 해당비트플레인에 대한 가변장부호화후, 그 비트플레인이 가변장부호화할 마지막 비트플레인인가를 판단하여(단계 44) 그 비트플레인이 가변장부호화할 마지막 비트플레인이 아닐 경우 나머지 비트플레인에 대한 위의 과정을 반복하고 그 비트플레인이 가변장부호화할 마지막 비트플레인인 경우, 모든 비트플레인에 대한 가변장부호화과정을 종료한다(단계 45). 상기 흐름도의 임의의 i번째 비트플레인의 가변장부호화에 관하여 좀더 상세히 설명한다.The flow of the variable length coding method for each bitplane is shown in FIG. The order in which the bitplanes are scanned is determined for the N bitplanes (step 40) of the quantized data (step 41), and the bitplanes to be first variable-length coded are designated (step 42). Accordingly, the variable length encoding table 46 corresponding to each bitplane is used to sequentially specify the bitplanes to be variable-coded after the variable-length encoding for the first bitplane (step 47), and then start from the first bitplane. Variable-length encoding is executed in sequence up to the last bitplane (step 43). In this case, after variable length encoding on the corresponding bit plane, it is determined whether the bit plane is the last bit plane to be variable length coded (step 44), and if the bit plane is not the last bit plane to be variable length coded, If the bitplane is repeated and the bitplane is the last bitplane to be variable-coded, the variable-length encoding process for all bitplanes is terminated (step 45). Variable length encoding of any i th bitplane in the above flow chart will be described in more detail.

제5도는 i번째 비트플레인을 나타낸 것이다. 제5도에서 i번째 비트플레인은 세로로 K개 가로로 M개의 블록을 가지는 K×M의 크기를 갖는다. 이 비트플레인에 대하여 선택되어진 스캔방법으로, 1차원상의 비트열로 배열한다. 비트플레인을 스캔하는 방법의 예들이 제6도에 도시되어 있다. 제6(가)도는 비트플레인의 행단위로 스캔하는 방법을 도시한 것이고, 제6(나)도는 비트플레인의 열단위로스캔하는 방법을 도시한 것이다. 비트플레인의 스캔방법에 있어서 제6(가)도와 제6(나)도에에 도시한 방법 한하는 것이 아니고 다른 여타의 방법을 사용할 수도 있다. 이 비트열에 대하여 0의 런과 1의 엠프리튜드의 쌍으로 재배열하고, i번째 비트플레인의 0과 1의 출현통계적 특성르 고려하여 작성된 가변장부호화테이블상에서 그 쌍에 해당하는 부호를 찾으면, i번째 비트플레인에 대한 가변장부호화를 할 수 있게 된다.5 shows the i-th bitplane. In FIG. 5, the i-th bitplane has a size of K × M having K blocks vertically and M blocks horizontally. The scanning method selected for this bit plane is arranged in one-dimensional bit strings. Examples of how to scan a bitplane are shown in FIG. FIG. 6A illustrates a method of scanning bit by row of a bitplane, and FIG. 6B illustrates a method of scanning bit by column of a bitplane. The scanning method of the bitplane is not limited to the method shown in FIG. 6 (a) and 6 (b) but other methods may be used. If the sequence of bits is rearranged into a pair of zero run and one mpretude of the bit string, and the code corresponding to the pair is found on the variable-length encoding table prepared by considering the appearance statistical characteristics of the 0 and 1 of the i-th bitplane, i Variable length coding for the first bitplane can be performed.

물론 여기서 0과 1의 출현통계적 성질이 비슷한 비트플레인들이 여러개 존재하는 경우, 공통되는 부호화테이블을 사용하여 여러개의 비트플레인을 작은 단위로 묶어서 처리하여도 된다.Of course, when there are several bit planes with similar appearance statistics of 0 and 1, a plurality of bit planes may be processed in small units using a common encoding table.

이상 설명한 바와 같이 MSB에서 LSB에 이르는 각 비트플레인을 분리하여 각 비트플레인단위로 가변장부호화함으로써 각 비트플레인에 대한 0과 1의 출현통계적 성질을 충분히 이용할 수 있으므로 최적의 가변장부호화를 할 수 있다. 뿐만아니라, 가변장부호화기가 비트플레인상에서 0과 1만을 고려하면 되므로 단순화가 가능하다는 효과도 있다.As described above, the variable length coding of each bitplane from the MSB to the LSB is separated and encoded in each bitplane unit so that the optimal variable length coding can be performed because the statistical appearance characteristics of 0 and 1 for each bitplane can be sufficiently used. . In addition, since the variable length encoder needs to consider only 0s and 1s on the bitplane, there is an effect that it can be simplified.

Claims (4)

소정의 블록크기를 갖는 영상데이타를 주파수영역의 변환계수로 변환시키고 양자화시킨 다음 소정방향으로 스캔하여 가변장부호화하는 방법에 있어서, 각 비트플레인상의 0과 '1의 출현통계적 성질을 고려하여 가변장부호화테이블을 준비하는 단계 및 상기 양장화된 데이타를 2진비트로 표시하여 N개의 비트플레인으로 구분하는 단계 및 상기 비트플레인을 스캔하여 0의 런과 '1의 앰프리튜드의 쌍으로 표시하는 단계 및 상기 가변장부호화테이블을 이용하여 비트플레인을 가변장부호화하는 단계를 포함하는 것을 특징으로 하는 가변장부호화방법.A method of converting image data having a predetermined block size into a transform coefficient of a frequency domain, quantizing, scanning in a predetermined direction, and variable length encoding, wherein the variable length is considered in consideration of the appearance statistics of 0 and '1 on each bitplane. Preparing an encoding table, displaying the amplified data as binary bits, dividing the data into N bitplanes, scanning the bitplanes, and displaying them as a pair of zero runs and an '1' ampli- tude; and And variable length encoding the bit plane using the variable length encoding table. 제1항에 있어서, 각각의 비트플레인마다 가변장부호화하는 것을 특징으로 하는 가변장부호화방법.The variable length coding method of claim 1, wherein the variable length coding is performed for each bit plane. 제1항에 있어서, 0과 1의 출현통계적 성질이 비슷한 상기 비트플레인들에 대해 공통의 가변장부호화테이블을 준비하는 것을 특징으로 하는 가변장부호화방법.The variable length coding method of claim 1, wherein a common variable length coding table is prepared for the bit planes having similar appearance statistics of zeros and ones. 제3항에 있어서, 상기 공통의 부호화테이블을 이용하여 공통되는 비트플레인끼리 묶어서 가변장부호화하는 것을 특징으로 하는 가변장부호화방법.4. The variable length encoding method according to claim 3, wherein common bit planes are grouped and variable length encoded using the common encoding table.
KR1019930031624A 1993-12-30 1993-12-30 Variable length method of data compression KR0134324B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930031624A KR0134324B1 (en) 1993-12-30 1993-12-30 Variable length method of data compression

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930031624A KR0134324B1 (en) 1993-12-30 1993-12-30 Variable length method of data compression

Publications (2)

Publication Number Publication Date
KR950022189A KR950022189A (en) 1995-07-28
KR0134324B1 true KR0134324B1 (en) 1998-04-29

Family

ID=19374562

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930031624A KR0134324B1 (en) 1993-12-30 1993-12-30 Variable length method of data compression

Country Status (1)

Country Link
KR (1) KR0134324B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100480785B1 (en) * 2002-05-23 2005-04-06 삼성전자주식회사 Method of bitplane encoding and decoding using graycode and apparatus using thereof

Also Published As

Publication number Publication date
KR950022189A (en) 1995-07-28

Similar Documents

Publication Publication Date Title
KR950010913B1 (en) Vlc & vld system
KR0129558B1 (en) Adaptive variable length coding method and apparatus
KR0155784B1 (en) Adaptable variable coder/decoder method of image data
JP2633793B2 (en) Method and apparatus for variable length encoding / decoding of video data
US5714950A (en) System for variable-length-coding and variable-length-decoding digitaldata
US5719961A (en) Adaptive technique for encoder and decoder signal transformation
US6912318B2 (en) Method and system for compressing motion image information
JP2003018601A (en) Image encoding method
KR940008487A (en) Image Coder Using Adaptive Frame / Field Transform Coding
KR940008477A (en) Video encoder with adaptive frequency converter
KR0134324B1 (en) Variable length method of data compression
KR100242635B1 (en) A system for variable-length-coding and variable-length-decoding digital data
JPH06292184A (en) Coding system
KR0157463B1 (en) Adaptive variable length encoding/decoding method for image data
KR100565707B1 (en) Modified vlc table and method of coding by modified vlc table
KR0134359B1 (en) Coding and decoding system of variable scan region
KR0134358B1 (en) Coding and decoding system of variable scan method
JPH06245200A (en) Method and device for scanning two-dimensional data by energy distribution
KR0152025B1 (en) Encoding method and apparatus of e.o.b block data
KR0129796B1 (en) Encoding device of moving picture
KR100212327B1 (en) Method and device for quantizing digital video signals
KR100245788B1 (en) Video coding apparatus
KR0148155B1 (en) Esc coding apparatus and method of image coding
JP2833235B2 (en) Orthogonal transform coding device
JPH0669812A (en) Information compression-encoding device and information expansion-decoding device

Legal Events

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

Payment date: 20101129

Year of fee payment: 14

LAPS Lapse due to unpaid annual fee