KR101559824B1 - - Coding Method and Apparatus for B-Transform and Computer-Readable Recording Medium Recording Coded Data Having Structure Therefor - Google Patents

- Coding Method and Apparatus for B-Transform and Computer-Readable Recording Medium Recording Coded Data Having Structure Therefor Download PDF

Info

Publication number
KR101559824B1
KR101559824B1 KR1020080091578A KR20080091578A KR101559824B1 KR 101559824 B1 KR101559824 B1 KR 101559824B1 KR 1020080091578 A KR1020080091578 A KR 1020080091578A KR 20080091578 A KR20080091578 A KR 20080091578A KR 101559824 B1 KR101559824 B1 KR 101559824B1
Authority
KR
South Korea
Prior art keywords
binary
binary symbol
data
symbol
bits
Prior art date
Application number
KR1020080091578A
Other languages
Korean (ko)
Other versions
KR20100032614A (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 KR1020080091578A priority Critical patent/KR101559824B1/en
Priority to PCT/KR2009/005095 priority patent/WO2010032934A2/en
Priority to US13/063,784 priority patent/US8462023B2/en
Publication of KR20100032614A publication Critical patent/KR20100032614A/en
Application granted granted Critical
Publication of KR101559824B1 publication Critical patent/KR101559824B1/en

Links

Images

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/50Conversion to or from non-linear codes, e.g. companding

Abstract

본 발명은 B-변환을 위한 부호화 방법 및 장치와 그를 위한 구조를 가진 데이터를 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것이다.The present invention relates to a coding method and apparatus for B-conversion and a computer-readable recording medium on which data having a structure for the B-transform is recorded.

본 발명은 입력 데이터를 부호화하는 장치에 있어서, 입력 데이터를 B-변환하여 이진 표현을 생성하는 B-변환부; 및 이진 표현에서 하나 이상의 이진 심볼을 제거하고, 하나 이상의 이진 심볼이 제거된 이진 표현을 스캔하여 비트열을 생성하는 부호화부를 포함하는 것을 특징으로 하는 부호화 장치를 제공한다.An apparatus for encoding input data, the apparatus comprising: a B-transform unit for B-transforming input data to generate a binary representation; And an encoding unit for removing one or more binary symbols from the binary representation and generating a bitstream by scanning the binary representation from which one or more binary symbols have been removed.

본 발명에 의하면, 균일 분포 데이터를 효율적으로 부호화할 수 있으며, 균일 분포 데이터를 B-변환 후 생성되는 이진 표현을 B-변환의 특성을 이용하여 부호화함으로써 비트수를 줄일 수 있어 압축 성능을 향상시킬 수 있다.According to the present invention, uniform distribution data can be efficiently encoded, and the number of bits can be reduced by encoding the binary representation generated after the B-transform of the uniform distribution data using the B-transform property, thereby improving the compression performance .

균일, 분포, 데이터, B-변환, 이진 표현, 부호화, 심볼, 대각선 Uniformity, distribution, data, B-transform, binary representation, encoding, symbol, diagonal

Description

B-변환을 위한 부호화 방법 및 장치와 그를 위한 구조를 가진 데이터를 기록한 컴퓨터로 읽을 수 있는 기록매체{Coding Method and Apparatus for B-Transform and Computer-Readable Recording Medium Recording Coded Data Having Structure Therefor}BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a coding method and apparatus for B-conversion, and a computer-readable recording medium storing data having a structure therefor.

본 발명은 B-변환을 위한 부호화 방법 및 장치와 그를 위한 부호화 데이터에 관한 것이다. 더욱 상세하게는, 압축 기술 분야에 있어서 저장 매체와 통신 매체를 를 효과적으로 이용하기 위해 데이터를 부호화하여 압축하는 방법 및 장치에 관한 것이다.The present invention relates to a coding method and apparatus for B-conversion and coded data therefor. More particularly, the present invention relates to a method and apparatus for encoding and compressing data in order to effectively use a storage medium and a communication medium in the field of compression technology.

무작위 데이터를 압축하는 기술로서는 허프만 부호화(Huffman Coding), 산술 부호화(Arithmetic Coding), 런-길이 부호화(Run-Length Coding) 기반의 데이터 압축 기술 등이 있다. 1948년, C. E. Shannon에 의해 엔트로피(Entropy)가 정의되면서 확률 모델에 기반한 효율적인 심볼 코딩의 하한선이 제안되었으며, 제안된 하한선에 근접하는 결과를 얻을 수 있는 허프만 부호화 기술이나 산술 부호화 기술과 같은 다양한 부호화 기술들이 제안되었다. 이러한 부호화 기술들은 엔트로피의 이론상 확률이 소수의 심볼에 치우친 경우에 더욱 높은 부호화 효율을 얻을 수 있기 때문에, 균일한 분포의 데이터를 부호화하는 경우에는 높은 부호화 효율을 얻을 수 없는 문제점이 있다.Examples of techniques for compressing random data include Huffman coding, arithmetic coding, and data compression techniques based on run-length coding. In 1948, entropy was defined by CE Shannon, and the lower limit of efficient symbol coding based on the probability model was proposed. Various encoding techniques such as Huffman coding or arithmetic coding, which can obtain a result close to the proposed lower limit, Were proposed. These encoding techniques have a problem in that a higher encoding efficiency can be obtained when the theoretical probability of entropy is shifted to a small number of symbols, and thus a high encoding efficiency can not be obtained when encoding data of a uniform distribution.

이러한 문제점을 해결하기 위해, 확률이 소수의 심볼에 치우쳐 있지 않고 균일 분포의 확률 모델을 갖는 데이터에 대한 부호화 효율을 높이기 위해, 비선형 B-변환(Nonlinear Bubble-Transform) 기술이 제안되었다. 하지만, 제안된 비선형 B-변환 기술은 균일 분포 데이터의 압축의 상한선을 수학적으로 유도하였을 뿐, 비선형 B-변환으로 인해 발생하는 이진 심볼('0'과 '1')을 효율적으로 부호화하는 방식은 제안하지 않았으며, 아직까지 이에 대한 부호화 방식은 제안되지 않아 부호화에 어려움이 있는 문제점이 있다. 따라서, 비선형 B-변환으로 인해 발생하는 이진 심볼을 효율적으로 부호화하는 기술의 개발이 요구되는 실정이다.In order to solve this problem, a nonlinear Bubble-Transform technique has been proposed in order to increase the coding efficiency for data having a probability distribution model with a uniform probability distribution, where the probability is not on a small number of symbols. However, the proposed nonlinear B-transform technique only mathematically derives the upper limit of compression of uniform distribution data, and the method of efficiently encoding binary symbols ('0' and '1') caused by nonlinear B- However, there is a problem in that the encoding method is not proposed and coding is difficult yet. Therefore, there is a need to develop a technique for efficiently encoding binary symbols generated by non-linear B-transform.

전술한 문제점을 해결하기 위해 본 발명은, 균일 분포 데이터를 B-변환하여 생성되는 이진 표현을 B-변환의 특성을 이용하여 비트수를 줄임으로써 부호화 효율을 높이고 그에 따라 압축 성능을 향상시키는 데 주된 목적이 있다.In order to solve the above-described problems, the present invention is directed to a method for enhancing the coding efficiency by improving the coding efficiency by reducing the number of bits by using the B-conversion characteristic of the binary representation generated by B- There is a purpose.

전술한 목적을 달성하기 위해 본 발명은, 입력 데이터를 부호화하는 장치에 있어서, 입력 데이터를 B-변환하여 이진 표현을 생성하는 B-변환부; 및 이진 표현에서 하나 이상의 이진 심볼을 제거하고, 하나 이상의 이진 심볼이 제거된 이진 표현을 스캔하여 비트열을 생성하는 부호화부를 포함하는 것을 특징으로 하는 부호화 장치를 제공한다.According to an aspect of the present invention, there is provided an apparatus for encoding input data, the apparatus comprising: a B-transform unit for B-converting input data to generate a binary representation; And an encoding unit for removing one or more binary symbols from the binary representation and generating a bitstream by scanning the binary representation from which one or more binary symbols have been removed.

또한, 본 발명의 다른 목적에 의하면, 입력 데이터를 부호화하는 방법에 있 어서, 입력 데이터를 B-변환하여 이진 표현을 생성하는 B-변환 단계; 및 이진 표현에서 하나 이상의 이진 심볼을 제거하고, 하나 이상의 이진 심볼이 제거된 이진 표현을 스캔하여 비트열을 생성하는 부호화 단계를 포함하는 것을 특징으로 하는 부호화 방법을 제공한다.According to another aspect of the present invention, there is provided a method of encoding input data, the method comprising: a B-conversion step of B-converting input data to generate a binary representation; And an encoding step of removing one or more binary symbols in the binary representation and generating a bit stream by scanning the binary representation from which one or more binary symbols have been removed.

또한, 본 발명의 또 다른 목적에 의하면, 부호화 장치가 입력 데이터를 부호화하여 생성하는 데이터에 있어서, B-변환 단계수를 포함하는 단계수 필드; 및 입력 데이터가 B-변환 단계수만큼 B-변환되어 생성된 이진 표현에서 하나 이상의 이진 심볼이 제거되고 스캔되어 생성되는 비트열을 포함하는 데이터 필드를 포함하는 것을 특징으로 하는 부호화 데이터를 제공한다.According to still another aspect of the present invention, there is provided a data processing method including: a step number field including a number of B-conversion steps in data generated by an encoding apparatus encoding encoded input data; And a data field including a bit string in which at least one binary symbol is removed from the binary representation generated by B-transforming the input data by the number of B-conversion steps and is generated by scanning.

이상에서 설명한 바와 같이 본 발명에 의하면, 균일 분포 데이터를 효율적으로 부호화할 수 있으며, 균일 분포 데이터를 B-변환 후 생성되는 이진 표현을 B-변환의 특성을 이용하여 부호화함으로써 비트수를 줄일 수 있어 압축 성능을 향상시킬 수 있을 뿐만 아니라, 별도의 연산 과정이 필요 없기 때문에, 부호화 장치의 구현을 간소화할 수 있다.As described above, according to the present invention, the uniform distribution data can be efficiently encoded, and the number of bits can be reduced by encoding the binary representation generated after B-transforming the uniform distribution data using the B-transform property It is possible to improve the compression performance and to simplify the implementation of the encoding apparatus since no separate calculation process is required.

이하, 본 발명의 일부 실시예들을 예시적인 도면을 통해 상세하게 설명한다. 각 도면의 구성요소들에 참조부호를 부가함에 있어서, 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 또한, 본 발명을 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다.Hereinafter, some embodiments of the present invention will be described in detail with reference to exemplary drawings. It should be noted that, in adding reference numerals to the constituent elements of the drawings, the same constituent elements are denoted by the same reference symbols as possible even if they are shown in different drawings. In the following description of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear.

또한, 본 발명의 구성 요소를 설명하는 데 있어서, 제 1, 제 2, A, B, (a), (b) 등의 용어를 사용할 수 있다. 이러한 용어는 그 구성 요소를 다른 구성 요소와 구별하기 위한 것일 뿐, 그 용어에 의해 해당 구성 요소의 본질이나 차례 또는 순서 등이 한정되지 않는다. 어떤 구성 요소가 다른 구성요소에 "연결", "결합" 또는 "접속"된다고 기재된 경우, 그 구성 요소는 그 다른 구성요소에 직접적으로 연결되거나 접속될 수 있지만, 각 구성 요소 사이에 또 다른 구성 요소가 "연결", "결합" 또는 "접속"될 수도 있다고 이해되어야 할 것이다.In describing the components of the present invention, terms such as first, second, A, B, (a), and (b) may be used. These terms are intended to distinguish the constituent elements from other constituent elements, and the terms do not limit the nature, order or order of the constituent elements. When a component is described as being "connected", "coupled", or "connected" to another component, the component may be directly connected or connected to the other component, Quot; may be "connected," "coupled," or "connected. &Quot;

도 1은 본 발명에 따른 부호화 장치의 구성을 간략하게 나타낸 블록 구성도이다.1 is a block diagram schematically showing a configuration of an encoding apparatus according to the present invention.

본 발명에 따른 부호화 장치(100)는 B-변환부(110) 및 부호화부(120)를 포함하여 구성될 수 있다. 여기서, 부호화 장치(100)는 개인용 컴퓨터(PC: Personal Computer), 노트북 컴퓨터, 개인 휴대 단말기(PDA: Personal Digital Assistant), 휴대형 멀티미디어 플레이어(PMP: Portable Multimedia Player), 플레이스테이션 포터블(PSP: PlayStation Portable), 이동통신 단말기(Mobile Communication Terminal) 등 각종 데이터 부호화하는 장치 일 수 있으며, 각종 기기 또는 유무선 통신망과 통신을 수행하기 위한 통신 모뎀 등의 통신 장치, 데이터를 부호화하기 위한 각종 프로그램과 데이터를 저장하기 위한 메모리, 프로그램을 실행하여 연산 및 제어하기 위한 마이크로프로세서 등을 구비하는 다양한 장치를 의미한다.The encoding apparatus 100 according to the present invention may include a B-transform unit 110 and an encoding unit 120. [ Here, the encoding apparatus 100 may be a personal computer (PC), a notebook computer, a personal digital assistant (PDA), a portable multimedia player (PMP), a PlayStation Portable ), A mobile communication terminal, and the like, and may be a communication device such as a communication modem for performing communication with various devices or wired / wireless communication networks, various programs for encoding data, and data A memory for executing the program, a microprocessor for computing and controlling the program, and the like.

B-변환부(110)는 입력 데이터를 B-변환하여 이진 표현을 생성한다. 여기서, 입력 데이터는 모집합의 데이터를 1개씩 포함하는 균일 분포 데이터일 수 있는데, B-변환은 균일 분포 데이터를 부호화할 때 효율적으로 부호화하기 위해 이진 표현으로 변환하는 기법이다.The B-transform unit 110 B-converts the input data to generate a binary representation. Here, the input data may be uniform distribution data including one piece of the summation sum data, and the B-transform is a technique of converting the uniform distribution data into a binary representation so as to efficiently encode the data.

부호화부(120)는 B-변환부(110)에 의해 변환된 이진 표현에서 하나 이상의 이진 심볼을 제거하고, 하나 이상의 이진 심볼이 제거된 이진 표현을 스캔하여 비트열을 생성한다.The encoding unit 120 removes one or more binary symbols from the binary representation converted by the B-transform unit 110, and generates a bit stream by scanning the binary representation from which one or more binary symbols have been removed.

부호화부(120)는 이진 표현의 이진 심볼들 간의 상관 관계를 분석하여 이진 표현에서 하나 이상의 이진 심볼을 제거할 수 있으며, 하나 이상의 이진 심볼이 제거된 이진 표현을 래스터 스캔(Raster Scan) 방향 또는 대각선 방향으로 스캔하여 비트열을 생성할 수 있다.The encoding unit 120 may analyze one or more binary symbols in the binary representation by analyzing the correlation between binary symbols of the binary representation, and may convert the binary representation from which one or more binary symbols have been removed into a raster scan direction or a diagonal line. Direction to generate a bit stream.

여기서, 이진 표현에서 제거되는 하나 이상의 이진 심볼은 입력 데이터의 심볼열을 i 번째 B-변환을 수행하여 생성되는 이진 표현의 마지막 이진 심볼로부터 i 번째에 위치한 이진 심볼까지의 이진 심볼일 수 있다.Here, one or more binary symbols removed from the binary representation may be binary symbols from the last binary symbol of the binary representation generated by performing the i < th > B-transform on the symbol stream of the input data to the i-th binary symbol.

또한, 이진 표현에서 제거되는 하나 이상의 이진 심볼은 입력 데이터의 심볼열을 i 번째 B-변환하여 생성되는 이진 표현의 j 번째 이진 심볼의 값이 '0'인 경우, i+1 번째 B-변환하여 생성되는 이진 표현의 j-1 번째 이진 심볼일 수 있다. 이 경우, 부호화부(120)는 대각선 방향으로서 135°방향으로 이진 표현을 스캔할 수 있다.The one or more binary symbols removed from the binary representation are subjected to i + 1 th B-conversion when the value of the j-th binary symbol of the binary representation generated by the i < th & May be the j-1 < th > binary symbol of the generated binary representation. In this case, the encoding unit 120 can scan the binary representation in the diagonal direction at 135 degrees.

또한, 이진 표현에서 제거되는 하나 이상의 이진 심볼은 입력 데이터의 심볼열을 i 번째 B-변환하여 생성되는 이진 표현의 j 번째 이진 심볼의 값이 '1'인 경 우, i-1 번째 B-변환하여 생성되는 이진 표현의 j+1 번째 이진 심볼일 수 있다. 이 경우, 부호화부(120)는 대각선 방향으로서 -45°방향으로 이진 표현을 스캔할 수 있다.If the value of the j-th binary symbol of the binary representation generated by the i < th > B-transform of the symbol stream of the input data is '1', the at least one binary symbol removed from the binary representation is 1 < th > binary symbol of the binary representation generated by the < RTI ID = 0.0 > In this case, the encoding unit 120 can scan the binary representation in the -45 direction as the diagonal direction.

또한, 부호화부(120)는 대각선 방향으로 스캔할 때 읽혀지는 '1'의 개수를 부호화함으로써 비트열을 생성할 수 있다. 이 경우, '1'의 개수를 부호화하는 데 소요되는 비트수를 결정하고, 결정된 비트수에 따라 '1'의 개수를 이진수로 표현함으로써 '1'의 개수를 부호화할 수 있으며, '1'의 개수를 표현한 이진수의 최상위 비트가 '1'인 경우, 최상위 비트만을 비트열에 포함할 수 있다.In addition, the encoding unit 120 can generate a bit stream by encoding the number of '1' to be read when scanning in the diagonal direction. In this case, the number of bits required to encode the number of '1' is determined, and the number of '1' can be encoded by expressing the number of '1' as a binary number according to the determined number of bits. When the most significant bit of the binary number representing the number is '1', only the most significant bit can be included in the bit string.

또한, 부호화부(120)는 대각선 방향으로 스캔할 때 읽혀지는 '1'의 개수를 부호화함으로써 비트열을 생성하는 경우, '1'의 개수를 부호화하는 데 소요되는 비트수를 결정하고, 임계값보다 크거나 같은 '1'의 개수를 갖는 정렬 식별자까지는 결정된 비트수로 부호화하며, 임계값보다 크거나 같은 '1'의 개수를 갖는 정렬 식별자부터는 최대 비트수가 소요되는 정렬 식별자의 경우 결정된 비트수로 부호화하고 나머지 정렬 식별자의 경우 결정된 비트수에서 한 개의 비트를 뺀 비트수로 부호화하되, 최대 비트수가 소요되는 정렬 식별자의 위치를 추가로 부호화할 수 있다.The encoding unit 120 determines the number of bits required to encode the number of '1' when a bit string is generated by encoding the number of '1' to be read when scanning in the diagonal direction, And an alignment identifier having a number of '1' that is greater than or equal to '1' is encoded with a determined number of bits. In case of an alignment identifier having a maximum number of bits from an alignment identifier having a number of '1' In the case of the remaining sorting identifier, the number of bits determined by subtracting one bit from the number of bits is encoded, and the position of the sorting identifier requiring a maximum number of bits can be further encoded.

또한, 부호화부(120)는 '1'의 개수를 부호화하는 데 소요되는 비트수를 결정하고, 임계값보다 크거나 같은 '1'의 개수를 갖는 정렬 식별자까지는 결정된 비트수로 부호화하며, 임계값보다 크거나 같은 '1'의 개수를 갖는 정렬 식별자 다음의 정렬 식별자부터는 결정된 비트수에서 한 개의 비트를 뺀 비트수로 부호화할 수 있다. 이때, 임계값보다 크거나 같은 '1'의 개수를 갖는 정렬 식별자가 모든 정렬 식별자의 순서 중에서 마지막 또는 마지막 근처에 위치하는 경우, 줄일 수 있는 비트수가 적은 문제점이 있으므로, 부호화부(120)는 정방향 및 역방향 중 하나의 방향을 적응적으로 결정하여 '1'의 개수를 부호화할 수 있다.Also, the encoding unit 120 determines the number of bits required to encode the number of '1's, encodes it into the determined number of bits up to the sorting identifier having the number of' 1 'that is greater than or equal to the threshold value, The number of bits determined by subtracting one bit from the number of bits determined from the sorting identifier following the sorting identifier having the number of '1s' that is greater than or equal to 1 can be encoded. In this case, when the sorting identifier having the number of '1' equal to or greater than the threshold value is located near the end or the end of all the sorting sequences, the number of bits to be reduced is small. Therefore, 1 " by adaptively determining one direction of " 1 " and " reverse ".

또한, 부호화부는 하나 이상의 이진 심볼이 제거된 이진 표현의 이진 심볼들 중 더 적은 심볼을 최대 가능 심볼(MPS: Most Probable Symbol)로서 결정할 수 있다.Also, the encoding unit may determine fewer of the binary symbols of the binary representation from which one or more binary symbols have been removed as the Most Probable Symbol (MPS).

이하에서는 본 발명에 따라 B-변환의 성질을 이용하여 이진 표현을 부호화하는 구체적인 실시예를 설명한다.Hereinafter, a specific embodiment for encoding a binary representation using B-transform properties according to the present invention will be described.

도 2는 본 발명에 따라 입력 데이터를 B-변환하여 부호화하는 데 사용하는 성질들을 나타낸 예시도이다.FIG. 2 is an exemplary diagram illustrating the properties used to B-transform and encode input data according to the present invention.

B-변환(Bubble-Transform)에서는 발생 심볼열 X에 대한 연속된 M X 번의 B-변환 후 발생하는 이진 심볼의 집합

Figure 112008065700493-pat00001
X에 대한 이진 표현으로 정의된다. 집합
Figure 112008065700493-pat00002
들을 통해 도 1에 도시한 바와 같은 성질 1 내지 성질 3의 성질들이 있음을 알 수 있는데, 이러한 성질들을 이용하면 B-변환 후에 발생하는 X에 대한 이진 표현을 효과적으로 부호화할 수 있다.In the B-transform (Bubble-Transform), a set of binary symbols occurring after successive M X B-transforms on the generated symbol sequence X
Figure 112008065700493-pat00001
Is defined as a binary representation of X. set
Figure 112008065700493-pat00002
1 through 3, it is possible to efficiently encode the binary representation of X that occurs after the B-conversion.

Figure 112008065700493-pat00003
Figure 112008065700493-pat00003

수학식 1에서, n, i, j는 각각 임의의 정수이다.In Equation (1), n, i, j are each an arbitrary integer.

도 1을 참조하면, 성질 1은 이진 데이터의 심볼열 X에 대하여 B-변환을 수행할 때마다 이진 표현의 이진 심볼의 개수를 줄일 수 있음을 나타낸다. 즉, 성질 1은 입력 데이터의 심볼열 X을 i 번째 B-변환을 수행하여 생성되는 이진 표현에서 그 이진 표현의 마지막 이진 심볼에서 마지막 이진 심볼로부터 i 번째에 위치한 이진 심볼까지의 이진 심볼은 항상 '0'값을 가지므로 부호화를 생략할 수 있다는 것을 의미하므로, 성질 1을 이용하면 부호화되는 데이터의 비트를 줄일 수 있다.Referring to FIG. 1, Property 1 indicates that the number of binary symbols in a binary representation can be reduced each time B-transform is performed on a symbol sequence X of binary data. That is, in the binary representation generated by performing the i < th > B-transformation on the symbol sequence X of the input data, the binary symbol from the last binary symbol of the binary representation to the binary symbol located at the ith binary symbol is always & 0 ', it means that coding can be omitted. Therefore, by using the property 1, it is possible to reduce the number of bits of encoded data.

성질 2는 이진 데이터의 심볼열 X를 i 번째 B-변환한 이진 표현의 j 번째 이진 심볼이 '0'이면, i+1 번째 B-변환한 이진 표현의 j-1 번째 이진 심볼은 '0'임을 나타낸다. 즉, 입력 데이터의 심볼열을 B-변환한 이진 표현의 각 이진 심볼들을 B-변환의 단계수에 따라 테이블로 나타내었을 때, 테이블에서 임의의 위치에 있는 이진 심볼이 '0'인 경우, 해당 이진 심볼의 위치에서 대각선 왼쪽 아래 방향에 위치한 나머지 이진 심볼은 모두 '0'임을 의미한다. 따라서, 입력 데이터의 심볼열을 i 번째 B-변환하여 생성되는 이진 표현의 j 번째 이진 심볼의 값이 '0'인 경우, 이진 표현에서 i+1 번째 B-변환하여 생성되는 이진 표현의 j-1 번째 이진 심볼을 생략할 수 있으므로, 성질 2를 이용하면 부호화되는 데이터의 비트를 줄일 수 있다.If the jth binary symbol of the binary representation of the binary representation of the symbol sequence X of the binary data is '0', the j-1 th binary symbol of the (i + 1) th B- Respectively. That is, when each binary symbol of the binary representation in which the symbol stream of the input data is B-transformed is represented by a table according to the number of B-transform steps, when the binary symbol at an arbitrary position in the table is '0' The remaining binary symbols located in the diagonal lower left direction at the position of the binary symbol are all '0'. Therefore, when the value of the j-th binary symbol of the binary representation generated by the i < th > B-transform of the symbol stream of the input data is '0', the j- 1 < th > binary symbol can be omitted, the bit of the data to be encoded can be reduced by using the property 2.

성질 3은 입력 데이터의 심볼열 X를 i 번째 B-변환한 이진 표현의 j 번째 차수의 이진 심볼이 '1'이면, i-1 번째 B-변환한 이진 표현의 j+1 번째 이진 심볼은 '1'임을 나타낸다. 즉, 입력 데이터의 심볼열을 B-변환한 이진 표현의 각 이진 심볼들을 B-변환의 단계수에 따라 테이블로 나타내었을 때, 테이블에서 임의의 위치 에 있는 이진 심볼이 '1'인 경우, 해당 이진 심볼의 위치에서 대각선 오른쪽 위 방향에 위치한 나머지 이진 심볼은 모두 '1'임을 의미한다. 따라서, 입력 데이터의 심볼열을 i 번째 B-변환하여 생성되는 이진 표현의 j 번째 이진 심볼의 값이 '1'인 경우, i-1 번째 B-변환하여 생성되는 이진 표현의 j+1 번째 이진 심볼을 생략할 수 있으므로, 성질 3을 이용하면 부호화되는 데이터의 비트를 줄일 수 있다.The property 3 is that if the binary symbol of the jth order of the binary representation of the symbol sequence X of the input data is '1', then the (j + 1) th binary symbol of the i- 1 '. That is, when each binary symbol of the binary representation in which the symbol stream of the input data is B-transformed is represented by a table according to the number of B-transformation steps, when the binary symbol at an arbitrary position in the table is '1' The remaining binary symbols located in the upper right diagonal direction at the position of the binary symbol are all '1'. Therefore, when the value of the j-th binary symbol of the binary representation generated by the i < th > B-transform of the symbol stream of the input data is '1', the (j + Since the symbol can be omitted, if the property 3 is used, bits of data to be encoded can be reduced.

도 3은 본 발명에 따라 입력 데이터를 B-변환하여 이진 표현을 생성하는 과정을 설명하기 위한 예시도이다.3 is an exemplary diagram illustrating a process of generating a binary representation by B-transforming input data according to the present invention.

모집합 S={1,2,…,16} 내에서 모집합의 데이터가 1개씩 균일하게 분포되도록 발생한 입력 데이터의 심볼열이 X가 {2,5,3,1,11,12,15,8,7,6,16,4,9,10,14,13}이라고 가정하면, 도 3에 도시한 바와 같이, 심볼열 X를 B-변환할 수 있다.Collective sum S = {1,2, ... , 16}, the symbol string of the input data generated so that the data of the summation sum is uniformly distributed one by one, and X is {2,5,3,1,11,12,15,8,7,6,6,16,4,9 , 10, 14, 13}, the symbol sequence X can be B-transformed as shown in FIG.

도 3에서, X는 입력 데이터의 심볼열, X (M1) 는 1 번째 B-변환한 후 재정렬된 입력 데이터의 심볼열, X (M2) 는 2 번째 B-변환한 후 재정렬된 입력 데이터의 심볼열을 나타내며,

Figure 112008065700493-pat00004
는 1 번째 B-변환한 후 생성되는 이진 표현,
Figure 112008065700493-pat00005
는 2 번째 변환한 후 생성되는 이진 표현을 나타낸다. 도 3을 통해 알 수 있듯이, 각 B-변환에 의해 생성되는 이진 표현의 이진 심볼의 개수는 입력 데이터의 심볼열의 개수보다 한 개 작다.In FIG. 3, X denotes a symbol stream of input data, X (M1) denotes a symbol stream of input data rearranged after first B-conversion, X (M2) denotes a symbol of input data rearranged after second B- ≪ / RTI >
Figure 112008065700493-pat00004
Is a binary representation generated after the first B-transform,
Figure 112008065700493-pat00005
Represents a binary representation generated after the second transformation. As can be seen from FIG. 3, the number of binary symbols in the binary representation generated by each B-transform is one less than the number of symbol streams in the input data.

도 3을 참조하여 B-변환하는 과정을 설명하면, 입력 데이터의 심볼열 X의 각 심볼들을 다음 심볼과 차례로 비교하여, 두 개의 심볼이 오름 차순의 순서대로 정렬되어 있으면, 이진 심볼 '0'을 출력하고, 두 개의 심볼이 오름 차순의 순서대로 정렬되어 있지 않으면, 이진 심볼 '1'을 출력한다. 이때, 두 개의 심볼이 오름 차순의 순대로 정렬되어 있지 않아 이진 심볼 '1'을 출력한 경우에는 그 두 개의 심볼의 정렬 순서를 바꾸어 오름 차순으로 정렬하고, 다음 두 개의 심볼을 비교할 때에는 재정렬된 심볼과 다음 심볼을 비교한다.Referring to FIG. 3, the symbol sequence X of the input data symbol sequence is sequentially compared with the next symbols. If two symbols are arranged in ascending order, the binary symbol '0' And outputs the binary symbol '1' if the two symbols are not arranged in ascending order. In this case, when two symbols are not arranged in ascending order, and the binary symbol '1' is outputted, the two symbols are sorted in ascending order by changing the order of the two symbols. When the next two symbols are compared, And the next symbol.

예를 들어, 입력 데이터의 심볼열 X를 1 번 B-변환할 때에는 입력 데이터의 심볼열 X의 첫 번째 심볼 '2'와 두 번째 심볼 '5'를 비교한다. 이때, '2'와 '5'는 오름 차순으로 정렬되어 있기 때문에, 이진 심볼 '0'을 출력한다. 이진 심볼이 '0'으로 출력되었기 때문에, 심볼의 위치를 바꾸지 않는다. 따라서, X (M2) 의 첫 번째 심볼은 '2'가 된다. 이후, 심볼의 위치가 바뀌지 않았으므로, 두 번째 심볼 '5'와 세 번째 심볼 '3'을 비교한다. 이때, '5'와 '2'는 오름 차순으로 정렬되어 있지 않기 때문에, 이진 심볼 '1'을 출력한다. 이 경우, 이진 심볼이 '1'로 출력되었기 때문에, '5'와 '3' 심볼의 위치를 바꾼다. 따라서, X (M2) 의 두 번째 심볼은 '3'이 된다. 다음으로, 심볼의 위치가 바뀌었으므로, 심볼 '5'와 네 번째 심볼 '1'을 비교하여, 오름 차순의 정렬 여부에 따라 이진 심볼을 출력하고 그에 따라 심볼의 위치를 바꾸는 방식으로 모든 심볼들을 비교하여 이진 심볼을 출력함으로써, 1 번째 B-변환을 완료한다. 2 번째 B-변환을 비롯하여 매 B-변환마다 동일한 방식으로 수행한다.For example, when the symbol string X of the input data is B-converted once, the first symbol '2' of the symbol string X of the input data is compared with the second symbol '5'. At this time, since '2' and '5' are arranged in ascending order, a binary symbol '0' is output. Since the binary symbol is output as '0', the position of the symbol is not changed. Therefore, the first symbol of X (M2) becomes '2'. Thereafter, since the position of the symbol is not changed, the second symbol '5' is compared with the third symbol '3'. At this time, since '5' and '2' are not arranged in ascending order, a binary symbol '1' is output. In this case, since the binary symbol is outputted as '1', the positions of the symbols '5' and '3' are changed. Therefore, the second symbol of X (M2) becomes '3'. Next, since the position of the symbol is changed, the symbol '5' is compared with the fourth symbol '1', the binary symbol is outputted according to the ascending order, and the position of the symbol is changed accordingly. And outputs the binary symbol by comparison, thereby completing the first B-conversion. Conversion is performed in the same manner for each B-conversion including the second B-conversion.

도 4는 본 발명에 따라 B-변환한 후 발생하는 이진 표현에 성질 1을 적용하여 테이블의 형태로 나타낸 예시도이다.FIG. 4 is an exemplary diagram showing a table in which a property 1 is applied to a binary expression generated after B-transform according to the present invention.

입력 데이터의 심볼열 X를 도 3을 통해 전술한 방식으로 8 번 B-변환하여, 각 단계의 B-변환으로 인해 발생하는 이진 표현을 성질 1을 적용하여 테이블의 형태로 나타내면, 도 4와 같이 나타낼 수 있다. 도 4를 참조하면, 첫 번째 B-변환 후에 생성되는 이진 표현의 이진 심볼의 총 개수는 15개인데, 두 번째 B-변환 후에 생성되는 이진 표현의 이진 심볼의 총 개수는 14개이며, 마지막 8 번째 B-변환 후에 생성되는 이진 표현의 이진 심볼의 총 개수는 8개이다. 실제로는 B-변환의 단계수와 관계없이 이진 표현의 이진 심볼의 총 개수는 15개이지만, B-변환의 단계수가 증가할수록 생성되는 이진 표현의 이진 심볼 중 마지막 이진 심볼로부터 역순으로 '0'의 값을 갖는 이진 심볼이 증가하므로, B-변환의 단계수에 따라 이진 표현의 마지막 이진 심볼들을 예측할 수 있다. 따라서, B-변환에 따라 발생할 수 있는 이진 심볼 중 일부를 성질 1에 의해서 예측할 수 있으므로, 예측할 수 있는 이진 심볼을 부호화하지 않아도 복원할 수 있으며, 그에 따라 부호화해야 할 이진 심볼의 개수를 줄일 수 있어 비트수를 줄일 수 있다. 도 4에서 d 1 내지 d 15 는 입력 데이터의 심볼열이 B-변환되어 생성되는 이진 표현의 각 이진 심볼을 나타내며, d n 으로 일반화할 수 있다.The symbol sequence X of the input data is B-transformed 8 times in the manner described above through FIG. 3, and the binary representation generated by the B-transformation of each step is expressed in the form of a table by applying the property 1, . Referring to FIG. 4, the total number of binary symbols of the binary representation generated after the first B-conversion is 15. The total number of binary symbols of the binary representation generated after the second B-conversion is 14, The total number of binary symbols in the binary representation generated after the second B-transform is eight. In fact, the total number of binary symbols in the binary representation is 15, regardless of the number of B-transformation steps. However, as the number of steps of the B-transformation increases, As the number of binary symbols increases, the last binary symbols of the binary representation can be predicted according to the number of B-transform steps. Therefore, since some of the binary symbols that can be generated according to the B-transform can be predicted by the property 1, it is possible to restore the predictable binary symbol without encoding the binary symbol, thereby reducing the number of binary symbols to be encoded The number of bits can be reduced. In FIG. 4, d 1 to d 15 represent binary symbols of a binary representation generated by B-transforming a symbol string of input data, and can be generalized as d n .

도 5는 본 발명에 따라 B-변환한 후 생성되는 이진 표현에 성질 2를 적용하여 테이블의 형태로 나타낸 예시도이다.FIG. 5 is an exemplary diagram showing a form of a table by applying a property 2 to a binary representation generated after B-transform according to the present invention.

도 4에 나타낸 이진 데이터에 성질 2를 적용하면, 도 5와 같이 나타낼 수 있다. 성질 2에 따르면, 테이블에서 임의의 위치에 있는 이진 심볼이 '0'인 경우, 해당 이진 심볼의 위치에서 대각선 왼쪽 아래 방향에 위치한 나머지 이진 심볼은 모 두 '0'이라는 것을 예측할 수 있다. 즉, 도 4의 테이블에서 오른쪽 위로부터 왼쪽 아래를 향하는 대각선 방향(예를 들면, 135°)으로 동일한 선상에 위치한 이진 심볼들 중 최초로 '0'의 값을 갖는 이진 심볼 이후의 이진 심볼들은 모두 '0'임을 알 수 있다.If property 2 is applied to the binary data shown in Fig. 4, it can be expressed as shown in Fig. According to property 2, if the binary symbol at an arbitrary position in the table is '0', it can be predicted that all the remaining binary symbols located in the lower left diagonal direction at the position of the corresponding binary symbol are '0'. That is, in the table of FIG. 4, the binary symbols after the binary symbol having the first value of '0' among the binary symbols located on the same line in the diagonal direction (for example, 135 °) 0 ".

따라서, 대각선상에 위치한 이진 심볼들 중 최초로 '0'의 값을 갖는 이진 심볼 이후의 모든 이진 심볼들은 그 값을 '0'으로 예측할 수 있으므로, 도 5에 도시한 바와 같이, 생략할 수 있다. 또한, 생략할 수 있는 이진 심볼들은 부호화하지 않아도 복원할 수 있으며, 그에 따라 부호화해야 할 이진 심볼의 개수를 줄일 수 있어 비트수를 줄일 수 있다.Therefore, all the binary symbols after the binary symbol having the value of '0', which are first among the binary symbols located on the diagonal line, can be predicted as '0', and therefore, they can be omitted as shown in FIG. In addition, binary symbols that can be skipped can be restored without coding, thereby reducing the number of binary symbols to be coded and reducing the number of bits.

도 6은 본 발명에 따라 B-변환 후 생성되는 이진 표현에 성질 2를 적용하고 대각선 방향으로 스캔하는 모습을 나타낸 예시도이다.FIG. 6 is a diagram illustrating a state in which a property 2 is applied to a binary representation generated after B-conversion according to the present invention and scanning is performed in a diagonal direction.

도 5에서 나타낸 이진 표현의 이진 심볼의 총 개수 즉, 비트수는 50이고, 테이블 내의 이진 심볼들을 래스터 스캔(Raster Scan) 방향으로 차례로 스캔하여 스캔된 비트들을 비트열로서 전송하거나, 도 6에 도시한 바와 같이, 135°의 대각선 방향으로 스캔하여 스캔된 비트들을 비트열로서 전송할 수 있으며, 전송된 비트열을 동일한 방식으로 역 스캔하면 원래의 이진 표현을 복원할 수 있다.The total number of binary symbols of the binary representation shown in FIG. 5, that is, the number of bits is 50, and the binary symbols in the table are sequentially scanned in the raster scan direction to transmit the scanned bits as bit strings, As described above, scanned bits scanned in the diagonal direction of 135 DEG can be transmitted as bit strings, and the original binary representation can be restored by inverse scanning the transmitted bit strings in the same manner.

예를 들어, 래스터 스캔 방향으로 스캔하는 경우, 도 5에 도시한 이진 표현의 비트열은 {01100011101111101111111111111111010111110011000111}이 될 수 있다. 또한, 도 6에 도시한 바와 같이, 대각선으로 스캔하는 경우, 도 5에 도시한 이진 표현의 비트열은 {01011100011101111011111001111111111110111101101110}이 될 수 있다. 부호화 장치에서 이와 같은 방식으로 비트열을 생성하여 전송하면, 복호화 장치에서는 수신한 비트열을 해당 스캔 방향에 따라 역 스캔하여 이진 표현의 모든 심볼들을 복원할 수 있다.For example, in the case of scanning in the raster scan direction, the bit string of the binary representation shown in FIG. 5 may be {01100011101111101111111111111111010111110011000111}. In addition, as shown in Fig. 6, when scanning is performed diagonally, the bit string of the binary representation shown in Fig. 5 may be {01011100011101111011111001111111111110111101101110}. When the encoding apparatus generates and transmits a bit stream in this manner, the decoding apparatus can reverse-scan the received bit stream according to the scanning direction to recover all the symbols of the binary representation.

한편, 도 5에 도시한 이진 표현을 도 6에 도시한 대각선 방향으로 스캔하는 경우, 수학식 2와 같은 규칙을 발견할 수 있다. 즉, 도 5 및 도 6을 통해 알 수 있듯이, nMX 보다 같거나 작으면, dn 의 위치에서 가질 수 있는 이진 심볼 즉, 비트의 최대 개수(max_bit(dn ))는 n개임을 알 수 있다. 그리고 nMX 보다 크면, dn 의 위치에서 가질 수 있는 비트의 최대 개수(max_bit(dn ))는 MX 개임을 알 수 있다.On the other hand, when the binary representation shown in FIG. 5 is scanned in the diagonal direction shown in FIG. 6, the rule as shown in Equation 2 can be found. That is, FIG. 5 and as can be seen with reference to FIG. 6, n is, if equal to or smaller than M X, the binary symbols that is, the maximum number of bits which may have in the position of d n (max_ bit (d n)) is n Games . And M n is greater than X, the maximum number (max_ bit (d n)) of bits which may have in the position of d n can know the M X Games.

Figure 112008065700493-pat00006
Figure 112008065700493-pat00006

max_bit(k)는 k 위치에서 최대로 생성될 수 있는 비트를 나타낸다.max_ bit (k) denotes the bits that can be generated with a maximum in the k position.

또한, 도 5에 도시한 이진 표현을 도 6에 도시한 대각선 방향으로 스캔하는 경우, 수학식 3과 같은 규칙을 추가로 발견할 수 있다. 즉, 성질 2에 따라 대각선 방향으로 스캔하여 읽는 과정에서 '0' 값을 갖는 이진 심볼이 발생하면, 그 대각선 방향으로 다음 위치에 있는 다음 이진 심볼을 읽어 들여 부호화할 필요가 없다. 부호화 장치가 다음 이진 심볼을 읽어 들여 부호화할 필요가 없다는 것은, 복호화 장치가 d n 의 위치에서 대각선 방향으로 스캔할 때 읽어들이는 이진 심볼 중 '1' 값을 갖는 이진 심볼의 개수를 알 수 있다면, 도 4에 나타낸 모든 이진 표현을 복원할 수 있다는 것을 의미한다.When the binary representation shown in FIG. 5 is scanned in the diagonal direction shown in FIG. 6, a rule like Equation (3) can be additionally found. That is, when a binary symbol having a value of '0' is generated in the process of scanning in the diagonal direction according to the property 2, it is not necessary to read and code the next binary symbol in the next position in the diagonal direction. The fact that the encoder does not need to read and code the next binary symbol means that the number of binary symbols having a value of '1' among the binary symbols read when the decoding apparatus scans in the diagonal direction at the position of d n , It means that all the binary expressions shown in Fig. 4 can be restored.

따라서, 부호화 장치는 대각선 방향으로 스캔할 때 읽어들이는 이진 심볼 중 '1' 값을 갖는 이진 심볼의 개수만을 부호화하고, 이때 d n 의 위치마다 '1' 값을 갖는 이진 심볼의 개수(bit(d n ))는 수학식 3으로 계산될 수 있다.Therefore, the encoder encodes only the number of binary symbols having to read the binary symbols of the '1' value when scanning a diagonal direction, and wherein the number of binary symbols for each position of the d n has a value of '1' (bit ( d n ) can be calculated by Equation (3).

Figure 112008065700493-pat00007
Figure 112008065700493-pat00007

수학식 3에서, Ceil(x)는 x보다 작거나 같은 수 중에서 가장 큰 정수이다.In Equation (3), Ceil ( x ) is the largest integer in the number less than or equal to x .

도 7은 본 발명에 따라 B-변환 후의 이진 표현을 대각선 방향으로 스캔하는 경우의 부호화에 필요한 비트수를 나타낸 예시도이다.FIG. 7 is an exemplary diagram showing the number of bits necessary for encoding in the case of scanning the binary representation after the B-conversion according to the present invention in the diagonal direction.

수학식 3을 예를 들어 제시한 입력 데이터의 심볼열에 적용하면(즉, N이 16인 경우), d n (1≤n≤16)의 위치에서 '1' 값을 갖는 이진 심볼의 개수를 부호화하는 데 필요한 비트의 개수는 도 7과 같이 나타낼 수 있다. 도 7을 참조하면, 부호화에 필요한 총 비트는 49비트이다. Applying the equation (3) For example, the symbol column of the proposed input data (that is, in the case of N = 16), encoding the number of binary symbols having a value of '1' at the position of d n (1≤ n ≤16) The number of bits required to perform the above operation can be expressed as shown in FIG. Referring to FIG. 7, the total bits required for coding are 49 bits.

이와 같은 부호화에 필요한 총 비트(Total_bit Prop (N))를 N이 16일 때가 아닌 일반적인 경우로 확장하면, 수학식 4를 도출할 수 있다.Expanding the total number of bits (bit Prop _ Total (N)) necessary for this coding in the general case, not when N is 16, it is possible to derive the equation (4).

Figure 112008065700493-pat00008
Figure 112008065700493-pat00008

수학식 4에서, 오른쪽 항의 왼쪽 부분은 n의 범위가 1≤n<

Figure 112008065700493-pat00009
일 때, 생성되는 비트수이며, 오른쪽 항의 오른쪽 부분은 n의 범위가
Figure 112008065700493-pat00010
n<N일 때, 생성되는 비트수이다. 균일 분포 무작위 데이터의 심볼열 X의 길이가 N이면, 엔트로피 기법 등 다양한 부호화 기법을 이용하여 부호화한 경우, 총 비트(Total_bit Entropy (N))는 수학식 5와 같이 구할 수 있다. 수학식 5에서는 엔트로피 부호화를 이용하여 부호화한 경우의 총 비트수를 계산하는 수학식을 나타내었지만, 그 부호화 기법에 따라 다양한 수학식이 도출될 수 있다.In Equation (4), the left part of the right term indicates that the range of n is 1? N <
Figure 112008065700493-pat00009
When, the number of bits to be generated, the right side of the right term is in the range of n
Figure 112008065700493-pat00010
Lt; n < N. If the length of the symbol stream X of uniformly distributed random data N, when the coding is performed using the various entropy coding methods such as techniques, total number of bits (bit Entropy _ Total (N)) can be obtained as shown in equation (5). Equation (5) shows a mathematical expression for calculating the total number of bits when entropy coding is used, but various mathematical expressions can be derived according to the coding method.

Figure 112008065700493-pat00011
Figure 112008065700493-pat00011

따라서, B-변환 후 발생하는 이진 표현을 대각선 스캔을 이용하여 부호화하는 경우, 얻을 수 있는 이득(Gain)은 수학식 6을 통해 계산될 수 있다.Thus, when the binary representation generated after B- transcoding by using a diagonal scan, the gain (Gain) that can be obtained can be calculated by the equation (6).

Figure 112008065700493-pat00012
Figure 112008065700493-pat00012

도 8은 본 발명에 따라 대각선 방향으로 스캔할 때 읽혀지는 '1'의 개수를 부호화하기 위한 이진 표현을 나타낸 예시도이다.FIG. 8 is an exemplary diagram illustrating a binary representation for encoding the number of '1' s to be read when scanning in the diagonal direction according to the present invention.

도 6 및 도 7과 수학식 2 내지 수학식 6을 통해 전술한 방법으로, 도 2에 예시적으로 나타낸 이진 데이터를 부호화하면, 도 8과 같은 순서로 부호화할 수 있다. 즉, 도 2에 나타낸 이진 데이터의 각 d n 의 이진 심볼 값 '1'을 부호화하기 위해 필요한 비트수를 계산하고, 각 d n 에 대해 대각선 방향으로 스캔했을 때 '1'의 개수를 계산한 후, '1'의 개수를 이진수로 변환하여 표현하면, 도 8에 도시한 바와 같이, 새로운 이진 표현이 생성된다.When the binary data exemplarily shown in FIG. 2 is encoded by the method described above with reference to FIGS. 6 and 7 and Equations 2 to 6, the binary data can be encoded in the order shown in FIG. That is, the number of bits necessary for encoding the binary symbol value '1' of each d n of the binary data shown in FIG. 2 is calculated, and the number of '1' is calculated when scanning in the diagonal direction for each d n , And the number of '1' is converted into a binary number, a new binary representation is generated as shown in FIG.

도 8을 참조하면, d 1 의 위치에서 '1'의 개수를 부호화하는 데 필요한 비트수를 수학식 3을 이용하여 계산하면 1개이고, d 1 의 위치에서 대각선 방향으로 스캔할 때 '1'의 개수는 0개이므로, 이를 부호화하기 위한 이진 표현은 '1'로 표현된다. 또한, d 2 의 위치에서 '1'의 개수를 부호화하는 데 필요한 비트수를 수학식 3을 이용하여 계산하면 2개이고, d 2 의 위치에서 대각선 방향으로 스캔할 때 '1'의 개수는 1개이므로, 이를 부호화하기 위한 이진 표현은 '01'로 표현된다. 또한, d 7 의 위치에서 '1'의 개수를 부호화하는 데 필요한 비트수를 수학식 3을 이용하여 계산하면 3개이고, d 7 의 위치에서 대각선 방향으로 스캔할 때 '1'의 개수는 3개이므로, 이를 부호화하기 위한 이진 표현은 '011'로 표현된다. 이와 같은 방식으로 d 1 내지 d 15 를 부호화하면 도 8과 같이 이진 표현이 생성된다. 따라서, 전술한 바와 같이 부호화했을 때, 균일 분포 데이터로서 발생한 심볼열 X는 부호화되어 비트열 {1011100000000001101000101000010000100010000100011}로 표현될 수 있다.Referring to FIG. 8, when the number of bits necessary to encode the number of '1' at the position of d 1 is calculated using Equation (3), and when scanning in the diagonal direction at the position of d 1 , Since the number is zero, the binary representation for encoding it is represented by '1'. When the number of bits required to encode the number of '1' at the position of d 2 is calculated using Equation (3), the number of '1' when scanning in the diagonal direction at the position of d 2 is one , The binary representation for encoding it is represented by '01'. When the number of bits required to encode the number of '1' at the position of d 7 is calculated using Equation (3), the number of '1' when scanning in the diagonal direction at the position of d 7 is 3 , The binary representation for encoding it is represented by '011'. When d 1 to d 15 are coded in this manner, a binary representation is generated as shown in FIG. Therefore, when coding is performed as described above, the symbol sequence X generated as uniform distribution data can be encoded and expressed as a bit string {1011100000000001101000101000010000100010000100011}.

전술한 바와 같이, 각 d n 에 대해 대각선 방향으로 스캔했을 때 '1'의 개수를 계산한 후, '1'의 개수를 이진수로 변환하여 부호화한 후, M X 의 정보를 이용하여 후술하는 바와 같이, 추가로 비트를 제거할 수 있다. 즉, M X 는 B-변환의 단계수인데, 각 d n 의 1의 개수는 M X 보다 클 수 없으므로,

Figure 112008065700493-pat00013
에서 d N 까지의 비트 중 일부분의 비트를 제거할 수 있다.As described above, when the number of '1' s is calculated in the diagonal direction for each d n , the number of '1' is converted into a binary number to be encoded, and then, using the information of M X , Similarly, you can remove the extra bits. That is, M X is the number of stages of the B-conversion. Since the number of 1's of each d n can not be larger than M X ,
Figure 112008065700493-pat00013
Lt; RTI ID = 0.0 &gt; dN. &Lt; / RTI &gt;

예를 들어, 도 4에 나타낸 이진 표현에서 M X 는 8이므로 이진수로 나타내면 '1000'이 된다. 수학식 2에 따르면, d n 의 1의 개수는 M X 보다 클 수 없으므로, d 8 부터 d 15 까지는 M X 보다 작거나 같아야 하기 때문에 '0000'부터 '1000'까지의 값을 가질 수 있다. d 11 의 경우 '1'의 개수는 8이므로 '1000'으로 나타낼 수 있다. 여기서, M X 의 최대값은 '1000'이므로, 최상위 비트(MSB: Most Significant Bit)가 '1'이 된다면, 총 4비트 중 최상위 비트를 제외한 나머지 3 비트는 '000'이 될 수밖에 없다. 따라서, 복호화 장치에서 최상위 비트를 수신하면, 나머지 3비트인 '000'은 수신하지 않아도 원래의 '1'의 개수를 알 수 있고 그에 따른 이진 심볼을 복원할 수 있다. 따라서, 부호화 장치에서도 나머지 3비트 '000'을 전송할 필요가 없으며 그 에 따라 3비트를 더 압축할 수 있다.For example, in the binary representation shown in FIG. 4, M X is 8, so it is '1000' if expressed in binary numbers. According to Equation (2), since the number of 1's of d n can not be greater than M X , d 8 to d 15 can have values from 0000 to 1000 because they must be less than or equal to M x . In the case of d 11 , since the number of '1' is 8, it can be expressed as '1000'. Here, since the maximum value of M X is '1000', if the most significant bit (MSB) is '1', the remaining 3 bits of the total 4 bits are necessarily 000. Accordingly, when the most significant bit is received in the decoding apparatus, the number of the original '1' can be known without restoring the remaining three bits '000', and the corresponding binary symbol can be recovered. Therefore, the encoding apparatus does not need to transmit the remaining 3 bits '000', and accordingly, 3 bits can be further compressed.

도 9는 본 발명에 따라 단계수를 이용하여 줄일 수 있는 비트수를 나타낸 예시도이다.9 is an exemplary diagram illustrating the number of bits that can be reduced using the number of steps according to the present invention.

전술한 예를 N이 16이고 M X 가 8과 같거나 클 경우로 일반화하여 정리하면, 도 9와 같이 나타낼 수 있다. 즉, '1'의 개수가 M X d n 의 경우, 도 9에 나타낸 바와 같이, 비트를 줄일 수 있다. 예를 들어, M X 가 9인 경우, '1'의 개수가 9개인 d n 은 원래의 이진 표현 '1001'에서 '00'을 생략하여 '11'로 표현할 수 있으므로, 2개의 비트를 줄일 수 있다.The above example can be generalized as shown in FIG. 9 when N is 16 and M X is equal to or greater than 8. That is, in the case of d n where the number of '1' is M X , the bit can be reduced as shown in FIG. For example, if M X is 9, then d n with a number of '1' s can be expressed as '11' by omitting '00' from the original binary representation '1001' have.

이와 같이, 각 d n 의 1의 개수는 M X 보다 클 수 없다는 규칙을 이용하여 하나의 정렬 식별자(d n )당 최대 3비트에서 0비트까지 비트를 줄일 수 있다. 이와 같은 방법은 도 9에 나타낸 예에 한정되지 않고,

Figure 112008065700493-pat00014
d N 의 위치에 있는 모든 심볼에 적용할 수 있다.Thus, the bits can be reduced from a maximum of 3 bits to a 0 bit per single alignment identifier ( d n ) using the rule that the number of 1's of each d n can not be greater than M x . Such a method is not limited to the example shown in Fig. 9,
Figure 112008065700493-pat00014
This can be applied to all symbols in position d N.

이뿐만 아니라, 또 다른 방법으로 '1'의 개수를 이진수로 표현한 이진 표현의 심볼들을 후술하는 바와 같이, 생략할 수 있다. 즉, N이 작을 때(예를 들어, N<64인 경우),

Figure 112008065700493-pat00015
에서 d N 까지 중 '1'의 개수가
Figure 112008065700493-pat00016
보다 크거나 같은 d N 은 적다. 도 7에 나타낸 예시에서, d 8 ~d 15 사이에서의 '1'의 개수가 8보다 크거나 같은 경우는 d 11 의 하나의 경우가 있다. 따라서, 실제로 d 8 ~d 15 중에서 d 11 을 제 외하면 3비트로 충분히 '1'의 개수를 표현할 수 있다. 하지만, 복호화 장치에서는 실제 d 8 ~d 15 중에서 d 11 을 제외하면 3비트로 표현할 수 있다는 정보를 부호화해야 하는데, 두 가지 방법이 있다.In addition to this, in another method, binary symbols representing the number of '1's in binary numbers can be omitted, as will be described later. That is, when N is small (for example, N < 64)
Figure 112008065700493-pat00015
In the number of "1" of up to d N
Figure 112008065700493-pat00016
D N less than or equal to. In the example shown in FIG. 7, d 8 ~ d when the number of "1" of between 15 greater than or equal to 8, there is a case of one of the d 11. Accordingly, it is actually when the outer ~ d 8 d 15 d 11 from the fully represent the number of "1" by 3 bits. However, in the decoding apparatus, it is necessary to encode information indicating that the d 8 to d 15 can be represented by 3 bits except d 11, and there are two methods.

첫 번째 방법은 d 11 의 위치를 부호화하는 것이다. 예를 들어, d 8 ~d 15 는 총 8개이므로 3비트로 그 모든 위치를 표현할 수 있다. 따라서, d 8 을 기준점으로 '000'으로 표시하면, d 11 은 '100'으로 그 위치를 표시할 수 있다. 복호화 장치에서는 이 위치를 이용하여 d 8 ,d 9 ,d 10 ,d 12 ,d 13 ,d 14 ,d 15 는 3비트만을 사용하여 복호화하고 d 11 만 4비트를 사용하여 복호화할 수 있다. 이럴 때, 위치를 표시하기 위해, 추가로 3비트가 필요하지만, 그로 인해 7비트를 줄일 수 있으므로 총 4비트를 줄일 수 있다. 하지만, 이러한 예와 같이 8보다 크거나 같은 d n 이 한 개가 아니라 두 개 이상이면 실제 위치를 부호화하는 데 필요한 비트수가 그로 인해 줄일 수 있는 비트수보다 많을 수 있다. The first method is to encode the position of d 11 . For example, since d 8 to d 15 are 8 in total, they can be represented by 3 bits. Therefore, if d 8 is represented as '000' as a reference point, d 11 can display its position as '100'. In the decoding apparatus, d 8 , d 9 , d 10 , d 12 , d 13 , d 14 , and d 15 can be decoded using only 3 bits and decoded using d 1144 bits using this position. In this case, an additional 3 bits are required to indicate the position, but this can be reduced by 7 bits, thus reducing the total of 4 bits. However, as in this example, if there are two or more d n that are equal to or greater than 8, the number of bits required to encode the actual position may be greater than the number of bits that can be reduced accordingly.

즉, 길이가 N인 발생 심볼열 X를 B-변환을 수행한 후 이진 데이터 즉, d 1 부터 d N-1 까지 대각선 방향으로 스캔하여 '1'의 개수를 부호화한다고 가정할 때, 동일한 비트수를 사용하는 구간(즉, 동일한 비트수를 사용하여 부호화되는 정렬 식별자(d n )들)이 있는데, 그 구간의 d의 개수가 K개라고 정의하고(예를 들어, 도 7에서는 d 8 ~d 15 는 동일하게 4비트를 이용하여 '1'의 개수를 표현할 수 있고, 이 구간의 개수는 8개로, K=8이다.), K개의 d중 특정한 하나의 d의 위치를 표현하기 위해서는 T비트가 필요하다. T는 수학식 7을 이용하여 계산할 수 있다.That is, assuming that the generated symbol stream X of length N is encoded in the diagonal direction from the binary data, i.e., d 1 to d N-1 , after performing the B-conversion, the number of '1' (That is, sorting identifiers d n that are encoded using the same number of bits), and the number of ds in the interval is defined as K (for example, in FIG. 7, d 8 to d 15 is the same by using the four bits can represent the number of "1", the number of the interval is eight, is K = 8.), in order to express the position of the K d specific one of the d T bit . T can be calculated using Equation (7).

Figure 112008065700493-pat00017
Figure 112008065700493-pat00017

그리고 이 K중에서 n개의 위치를 표시한다고 가정하면, 필요한 비트는 nT가 된다. 그리고 이것을 제외한 위치는 K-n개가 되고 이 위치마다 1개씩 비트를 줄일 수 있다. 비트를 줄이기 위해서는 수학식 8을 만족해야 한다.Assuming that n positions are displayed in this K , the required bit is nT . The position except for this is Kn , and it is possible to reduce the bit by one for each position. To reduce the bit, Equation (8) must be satisfied.

Figure 112008065700493-pat00018
Figure 112008065700493-pat00018

도 10은 본 발명에 따라 최대 비트수가 소요되는 정렬 식별자의 위치를 부호화할 때 비트를 줄일 수 있는 조건을 나타낸 예시도이다.FIG. 10 is a diagram illustrating a condition for reducing a bit when encoding the position of an alignment identifier requiring a maximum number of bits according to the present invention.

수학식 8을 여러 K에 대해 정리하고, 수학식 8을 만족하는 n을 구하여 나타낸 것이 도 10이다. 도 10에 나타낸 바와 같이, K가 커질수록 허용되는 n의 크기가 커지고, n이 작아질수록 줄일 수 있는 비트의 개수는 커진다. 하지만, n의 개수도 부호화하여 전송해야 하는 부가 정보가 필요하다.10 is obtained by summarizing Equation (8) for several K and obtaining n satisfying Equation (8). 10, the larger the size n of which is greater the more K allows, n is the greater number of bits can be reduced The more smaller. However, additional information that is necessary to encode and transmit the number of n is also needed.

두 번째 방법은 '1'의 개수가

Figure 112008065700493-pat00019
보다 크거나 같은 d n 의 개수만을 전송하고 '1'의 개수가
Figure 112008065700493-pat00020
보다 크거나 같은 d n 을 전송할 때까지는 모든 비트를 전송하며, 그 다음 비트부터는 1비트씩 덜 전송하는 방법이다. 다시 도 7의 예에서의 d 8 ~d 15 를 부호화한다고 가정하면, d 8 ~d 15
Figure 112008065700493-pat00021
보다 크거나 같은 d n d 11 만 존재하므로 개수는 1개이다. '1'을 부호화한 후, 실제 데이터를 순서대로 전송한다. 즉, d 8 은 '0100'으로, d 9 는 '0101'로, d 10 은 '0000'으로, d 11 은 '1000'으로 전송한다. d 11 은 '8'보다 크거나 같은 수이므로(N이 16이므로,
Figure 112008065700493-pat00022
는 '8'이다.), d 12 부터는 '7'보다 작은 수임을 알 수 있고, 3비트로만 부호화할 수 있다는 것을 알 수 있다. 따라서, d 12 는 '100'으로, d 13 은 '100'으로, d 14 는 '010'으로, d 15 는 '011'로 부호화하며, 총 3비트를 줄일 수 있다.In the second method, the number of '1'
Figure 112008065700493-pat00019
Only the number of d n that is greater than or equal to the number of '1'
Figure 112008065700493-pat00020
All bits are transmitted until a greater than or equal to d n is transmitted, and less bits are transmitted from the next bit by one bit. Assuming again encoding d 8 to d 15 in the example of FIG. 7, d 8 to d 15 medium
Figure 112008065700493-pat00021
There is only one d n, because there is only d 11 , which is greater than or equal to d n . After encoding '1', the actual data is transmitted in order. That is, d 8 is transmitted as '0100', d 9 as '0101', d 10 as '0000', and d 11 as '1000'. d 11 is a number equal to or greater than '8' (since N is 16,
Figure 112008065700493-pat00022
Is '8'). From d 12, it is known that the number is smaller than '7', and it can be encoded with only 3 bits. Therefore, d 12 is encoded as '100', d 13 as '100', d 14 as '010' and d 15 as '011', and the total 3 bits can be reduced.

하지만, 두 번째 방법의 문제점은 '1'의 개수가

Figure 112008065700493-pat00023
보다 크거나 같은 d n 의 위치에 따라 비트를 줄일 수 있는 정도의 차이가 매우 크다는 점이다. 만약, '1'의 개수가
Figure 112008065700493-pat00024
보다 크거나 같은 d n 의 위치가 부호화 순서(전송 순서)상 앞에 위치한다면 많은 비트를 줄일 수 있는 반면, 뒤에 위치한다면 줄일 수 있는 비트가 적어지며, 마지막에 위치한다면 줄일 수 있는 비트가 없다.However, the problem with the second method is that the number of '1'
Figure 112008065700493-pat00023
The difference in the degree of bit reduction is very large depending on the position of d n , which is greater than or equal to d n . If the number of '1'
Figure 112008065700493-pat00024
If the position of d n , which is greater than or equal to d n, is placed in front of the coding order (transmission order), many bits can be reduced. On the other hand, there are fewer bits that can be reduced.

따라서, '1'의 개수가

Figure 112008065700493-pat00025
보다 크거나 같은 d n 의 위치가 부호화 순 서상 뒤에 위치하거나 마지막에 위치할 때 비트를 줄일 수 없는 비효율을 줄이기 위해, 역방향 탐색을 사용할 수 있다. 예를 들어, 전술한 예에서, d 15 ,d 14 ,d 13 ,…,d 8 의 순서로 부호화(또는 전송)하는 것이다. 이 경우, 정방향 탐색과 역방향 탐색을 표시하기 위해 1비트가 추가로 전송되어야 한다. 여기서, 정방향 탐색이란 '1'의 개수가
Figure 112008065700493-pat00026
보다 크거나 같은 d n 에 대해 d 8 ,d 9 ,d 10 ,…,d 15 의 순서로 부호화하는 것을 말하며, 역방향 탐색이란 d 15 ,d 14 ,d 13 ,…,d 8 의 순서로 부호화하는 것을 말한다.Therefore, if the number of '1'
Figure 112008065700493-pat00025
In order to reduce the inefficiency that the bit can not be reduced when the position of d n , which is greater than or equal to d n, is located after the coding order or is located at the end, reverse searching can be used. For example, in the above example, d 15 , d 14 , d 13 , ... , and d 8 in this order. In this case, one bit must be further transmitted to indicate the forward search and the reverse search. Here, the forward search means that the number of '1'
Figure 112008065700493-pat00026
D 8 , d 9 , d 10 , ... for d n greater than or equal to ... , d 15 , and the reverse search is to encode d 15 , d 14 , d 13 , ... , and d 8 in this order.

전술한 두 번째 방법에 따라 부호화하는 경우를 일반화하기 위해, 길이가 N인 발생 심볼열 X를 B-변환을 수행한 후 이진 표현 즉, d 1 부터 d N-1 까지 대각선 방향으로 스캔하여 '1'의 개수를 부호화한다고 가정할 때, 동일한 비트수를 사용하는 구간(즉, 동일한 비트수를 사용하는 정렬 식별자(d n ))이 있는데, 그 구간의 d의 개수가 K개라고 정의하고(예를 들어, 도 7에서는 d 8 ~d 15 는 동일하게 4비트를 이용하여 '1'의 개수를 표현할 수 있고, 이 구간의 개수는 8개로, K=8이다.), 이 중 '1'의 개수가

Figure 112008065700493-pat00027
보다 크거나 같은 d n 은 한 개밖에 없다고 가정한다. 이러한 가정하에서, 정방향 탐색만을 수행할 경우, 줄일 수 있는 비트수(Bit Right )는 수학식 9를 이용하여 구할 수 있다.In order to generalize the case of encoding according to the second method described above, a generated symbol sequence X having a length N is subjected to B-conversion and then scanned in a diagonal direction from a binary expression, i.e., d 1 to d N-1 , (That is, an alignment identifier d n using the same number of bits), it is defined that the number of d' s in the interval is K In FIG. 7, d 8 to d 15 can express the number of '1' by using 4 bits in the same manner, and the number of these intervals is 8 and K = 8) Number of
Figure 112008065700493-pat00027
Suppose there is only one d n that is greater than or equal to. Under this assumption, if only the forward search is performed, the number of bits to be reduced ( Bit Right ) can be obtained using Equation (9).

Figure 112008065700493-pat00028
Figure 112008065700493-pat00028

수학식 9에서, n의 분포는 균일 분포(Uniform Distribution)를 갖는다고 가정하였다.In Equation (9), it is assumed that the distribution of n has a uniform distribution.

또한, 정방향 탐색과 역방향 탐색을 적응적으로 수행할 경우, 줄일 수 있는 비트수(Bit Adaptive )는 수학식 10을 이용하여 구할 수 있다.In addition, when the forward search and the backward search are adaptively performed, the number of bits that can be reduced ( Bit Adaptive ) can be obtained using Equation (10).

Figure 112008065700493-pat00029
Figure 112008065700493-pat00029

수학식 9와 수학식 10을 비교해 보면, 적응적으로 방향을 선택하는 경우가 K가 커질수록 더 많은 비트를 줄일 수 있음을 알 수 있다.Comparing Equations (9) and (10), it can be seen that as the K increases, more bits can be reduced when the direction is selected adaptively.

이상에서 전술한 실시예들은 성질 2를 이용하여 대각선 방향의 '0'을 제거하고 '1'의 개수를 세는 방법에 기반한다. 본 발명에서는 성질 2뿐만 아니라 성질 3을 이용하여 비트를 줄일 수 있다.The above embodiments are based on the method of removing the '0' in the diagonal direction and counting the number of '1' using the property 2. In the present invention, bits can be reduced using not only the property 2 but also the property 3.

도 11은 본 발명에 따라 B-변환한 후 생성되는 이진 표현에 성질 3을 적용하여 테이블의 형태로 나타낸 예시도이다.FIG. 11 is an exemplary diagram showing a form of a table in which a property 3 is applied to a binary expression generated after B-transform according to the present invention.

입력 데이터의 심볼열을 B-변환한 후 발생하는 이진 표현을 예시적으로 나타 낸 도 4의 테이블에 성질 3을 적용하면, 도 11에 도시한 바와 같이 나타낼 수 있다. 도 11에 나타낸 이진 심볼들 즉, 비트를 전송하기 위해서는 가장 아래 행의 왼쪽부터 래스터 스캔 방향으로 순서대로 스캔하여 부호화하고 전송하거나 도 12에 도시한 바와 같이, 왼쪽 상단에 있는 이진 심볼부터 -45°의 방향 즉, 대각선으로 스캔하여 부호화하고 전송할 수 있다.Applying Property 3 to the table of FIG. 4, which is an exemplary representation of a binary representation that occurs after B-transforming the symbol string of the input data, can be represented as shown in FIG. In order to transmit the binary symbols shown in FIG. 11, that is, bits are scanned and transmitted in order from the leftmost row to the raster scan direction, or as shown in FIG. 12, I.e., a diagonal line, and can be encoded and transmitted.

도 12는 본 발명에 따라 B-변환 후 생성되는 이진 표현에 성질 3을 적용하고 대각선 방향으로 스캔하는 모습을 나타낸 예시도이다.FIG. 12 is a diagram illustrating a state in which a property 3 is applied to a binary expression generated after B-conversion according to the present invention and scanning is performed in a diagonal direction.

도 12에 도시한 바와 같이, B-변환 후 생성되는 이진 표현에 성질 3을 적용하고 대각선 방향 즉, -45° 방향으로 비트를 스캔하는 경우, 성질 2를 적용한 경우와 같이, 수학식 2에 나타낸 바와 같은 규칙을 발견할 수 있다. 즉, nMX 보다 같거나 작으면, dn 의 위치에서 가질 수 있는 비트의 최대 개수(max_bit(dn ))는 n개임을 알 수 있다. 그리고 nMX 보다 크면, dn 의 위치에서 가질 수 있는 비트의 최대 개수(max_bit(dn ))는 MX 개임을 알 수 있다. 또한, 성질 3에 따라 대각선 방향으로 비트를 스캔하여 읽는 과정에서 '1'이 나올 경우, 그 다음에 나오는 이진 심볼은 '1'이기 때문에 부호화할 필요가 없다. 이는 복호화 장치가 dn 의 위치에서 대각선 방향으로 스캔할 때 읽어들이는 이진 심볼 중 '0'의 개수를 알 수 있다면, 도 4에 나타낸 모든 이진 데이터를 복원할 수 있다는 것을 의미한다.As shown in FIG. 12, in the case of applying the property 3 to the binary representation generated after the B-conversion and scanning the bits in the diagonal direction, that is, in the -45 direction, as in the case where the property 2 is applied, You can find the same rules as. That is, n is equal to or less than M, if X, the maximum number of bits which may have in the position of d n (max_ bit (d n)) is can be seen that n Games. And M n is greater than X, the maximum number (max_ bit (d n)) of bits which may have in the position of d n can know the M X Games. Also, when '1' is found in the process of scanning bits in the diagonal direction according to the property 3, it is not necessary to encode the next binary symbol because it is '1'. This means that all binary data shown in FIG. 4 can be restored if the number of '0's' in binary symbols read when the decoding apparatus scans in the diagonal direction at the position of d n is known.

따라서, 성질 3에 따라 대각선 방향으로 이진 심볼을 스캔하여 부호화하는 경우는, 성질 2에 따라 대각선 방향으로 이진 심볼을 스캔하여 부호화하는 경우와 비교할 때, '1'의 개수가 '0'의 개수로 바뀐 것을 제외하고는 모든 성질이 동일하다. 그러므로 전술한 성질 2에 따라 대각선 방향으로 이진 심볼을 스캔하여 부호화하는 방식에 관한 설명은 성질 3에서도 유사하게 적용될 수 있다.Therefore, when the binary symbol is scanned in the diagonal direction according to the property 3, the number of '1's is' 0' when compared with the case of scanning binary symbols in the diagonal direction according to the property 2 All properties are identical except for the changes. Therefore, a description of a method of scanning and encoding a binary symbol in a diagonal direction according to the above-described property 2 can similarly be applied to the property 3 as well.

이상의 실시예와 같이 입력 데이터의 심볼열 X를 B-변환하여 발생하는 이진 표현을 부호화한 후, 최대 가능 심볼 역 플래그(RF: Reverse Flag)가 결정된다. 기존의 방법은 최대 가능 심볼을 결정하는 데 있어서, B-변환 후 이진 표현에서 '0'과 '1'을 갖는 이진 심볼의 분포를 분석하여 많이 분포된 심볼을 최대 가능 심볼로서 결정한다. 즉, '0'이 많으면 최대 가능 심볼을 '0'으로 결정하고, '1'이 많으면 최대 가능 심볼을 '1'로 결정한다. 하지만, 본 발명에서는 최대 가능 심볼을 '0'과 '1'의 분포에 따라 결정하지 않고, 성질 2와 성질 3을 이용하여 부호화함으로써 비트를 줄인 후 '0'과 '1' 중 더 적게 출현하는 비트를 최대 가능 심볼로서 결정한다.After encoding the binary representation generated by B-converting the symbol sequence X of the input data, the maximum possible symbol reverse flag (RF) is determined as in the above embodiment. In the conventional method, the maximum likelihood symbol is determined by analyzing the distribution of binary symbols having '0' and '1' in the binary representation after B-transform. That is, if the number of '0' is large, the maximum possible symbol is determined as '0', and if the number of '1' is large, the maximum possible symbol is determined as '1'. However, in the present invention, the maximum possible symbols are not determined according to the distribution of '0' and '1', but are encoded using the property 2 and the property 3, And determines the bit as the maximum possible symbol.

마찬가지로, 역 플래그도 정방향 탐색과 역방향 탐색을 모두 수행한 후에 출력되는 비트가 최소가 되는 방향을 역 플래그로 결정한다. 예를 들어, 정방향 탐색을 수행한 후 출력되는 비트가 최소인 경우에는 '0'으로 결정하고, 역방향 탐색을 수행한 후 출력되는 비트가 최소인 경우에는 '1'로 결정할 수 있다.Similarly, the reverse flag also determines the direction in which the output bit becomes minimum after performing both the forward search and the reverse search. For example, if the output bit is minimum after performing the forward search, it is determined as '0', and if the output bit is minimum after performing the reverse search, it can be determined as '1'.

한편, 부호화 장치(100)의 부호화부(120)는 입력 데이터를 부호화하여 데이터를 생성하는데, 생성되는 부호화 데이터는 B-변환 단계수를 포함하는 단계수 필드와 입력 데이터가 B-변환 단계수만큼 B-변환되어 생성된 이진 표현에서 하나 이 상의 이진 심볼이 제거되고 스캔되어 생성되는 비트열을 포함하는 데이터 필드를 포함하여 구성될 수 있다.On the other hand, the encoding unit 120 of the encoding apparatus 100 encodes the input data to generate data. The generated encoded data includes a number of steps field including the number of B-conversion steps and a number of steps field including the number of B- And a data field including a bit string generated by scanning one or more binary symbols from the binary representation generated by the B-transform.

또한, 부호화 데이터는 최대 가능 심볼을 나타내는 플래그를 포함하는 최대 가능 심볼 필드를 추가로 포함할 수 있는데, 최대 가능 심볼은 하나 이상의 이진 심볼이 제거된 이진 표현의 이진 심볼들 중 더 적은 심볼일 수 있다. 또한, 부호화 데이터는 역방향 탐색 여부를 나타내는 플래그를 포함하는 역 플래그 필드를 추가로 포함할 수 있다.In addition, the encoded data may further include a maximum possible symbol field including a flag indicating a maximum possible symbol, where the maximum possible symbol may be fewer of the binary symbols of the binary representation from which one or more binary symbols have been removed . The encoded data may further include an inverse flag field including a flag indicating whether or not to search backward.

도 13은 본 발명에 따라 B-변환 후 발생하는 이진 표현을 부호화한 부호화 데이터의 구조를 나타낸 예시도이다.13 is a diagram illustrating a structure of encoded data obtained by encoding a binary representation generated after B-conversion according to the present invention.

전술한 바와 같은, 부호화 데이터의 구조는 도 13과 같이 나타낼 수 있다. M X 는 B-변환의 단계수를 나타내며, 최대 가능 심볼은 B-변환 후 발생하는 이진 심볼 0과 1중 자주 발생한 이진 심볼을 나타내는데, 이를 통해 이진 데이터의 부호화 순서가 표현된다. 본 발명에서는 이진 심볼의 분포에 따라 최대 가능 심볼이 결정되는 것이 아니라, 본 발명에 따라 성질 2와 성질 3을 적용하여 비트를 줄일 후 드물게 발생하는 심볼을 최대 가능 심볼로 결정한다.The structure of the encoded data as described above can be represented as shown in FIG. M X represents the number of stages of the B-transform, and the maximum possible symbol represents the binary symbol 0 generated frequently after the B-transformation and the binary symbol generated frequently. According to the present invention, not only the maximum possible symbol is determined according to the distribution of binary symbols, but a rarely generated symbol is determined as the maximum possible symbol after reducing the bits by applying the characteristics 2 and 3 according to the present invention.

역 플래그는 발생한 심볼열 X = {x1,x2,…,x N }과 그의 역순을 갖는 새로운 심볼열 X' = {x N ,x N- 1,…,x1} 각각에 대한 두 변환의 단계수 M X M X '의 값 중 작은 값을 선택할 때 어느 값을 사용했는지 여부를 나타낼 수 있는 플래그이다. 본 발명에서 역 플래그는 정방향 탐색과 역방향 탐색을 모두 수행한 후에 출력되는 비트가 최소가 되는 방향을 나타낸다. 도 12에 나타낸 부호화 데이터의 구조에서, 성질 1 내지 성질 3을 이용하여 부호화함에 따라 압축할 수 있는 필드는 데이터(Data) 필드이다.The inverse flag is used to generate the symbol sequence X = {x 1 , x 2 , ... , x N } and a new symbol string X ' = {x N , x N 1 , ... , x 1 } is a flag that can indicate which value was used when selecting a smaller value among the values of the number of steps M X and M X ' of the two conversions for each. In the present invention, the inverse flag indicates the direction in which the output bit becomes minimum after performing both the forward search and the backward search. In the structure of the encoded data shown in FIG. 12, the fields that can be compressed by encoding using the properties 1 to 3 are data fields.

도 14는 본 발명에 따른 부호화 방법을 설명하기 위한 순서도이다.14 is a flowchart for explaining a coding method according to the present invention.

부호화 장치(100)는 입력 데이터의 심볼열을 B-변환하여 이진 표현을 생성하고(S1410), 이진 표현에 성질 1 내지 성질 3을 적용하여 이진 표현에서 하나 이상의 이진 심볼을 제거하며(S1420), 하나 이상의 이진 심볼이 제거된 이진 표현의 각 이진 심볼을 래스터 스캔 방향 또는 대각선 방향으로 스캔하여 비트열을 생성한다(S1430). 이와 같이 생성된 비트열은 단계수와 결합하거나 단계수와 최대 가능 심볼 및 역 플래그 중 하나 이상과 결합하여 부호화 데이터로 생성되어 복호화 장치로 전송될 수 있다. 또한, 부호화 장치(100)는 하나 이상의 이진 심볼이 제거된 이진 표현의 각 이진 심볼을 대각선 방향으로 스캔하여 비트열을 생성할 때, 도 4 내지 도 11을 통해 전술한 다양한 기법을 이용하여 비트수를 더 줄일 수 있다.In operation S1410, the encoding device 100 performs a B-transformation on a symbol string of input data to generate a binary representation (S1410), removes one or more binary symbols from the binary representation by applying a property 1 to a property 3 to the binary representation (S1420) Each binary symbol of the binary representation from which one or more binary symbols are removed is scanned in the raster scan direction or the diagonal direction to generate a bit stream (S1430). The bit stream thus generated may be combined with the number of steps or combined with at least one of the number of steps, the maximum possible symbol and the inverse flag to generate encoded data and transmitted to the decoding apparatus. In addition, when the encoding apparatus 100 scans each binary symbol of the binary representation from which one or more binary symbols have been removed in the diagonal direction to generate a bit string, the encoding apparatus 100 uses the various techniques described above with reference to FIGS. Can be further reduced.

이상에서, 본 발명의 실시예를 구성하는 모든 구성 요소들이 하나로 결합하거나 결합하여 동작하는 것으로 설명되었다고 해서, 본 발명이 반드시 이러한 실시예에 한정되는 것은 아니다. 즉, 본 발명의 목적 범위 안에서라면, 그 모든 구성 요소들이 하나 이상으로 선택적으로 결합하여 동작할 수도 있다. 또한, 그 모든 구성 요소들이 각각 하나의 독립적인 하드웨어로 구현될 수 있지만, 각 구성 요소들의 그 일부 또는 전부가 선택적으로 조합되어 하나 또는 복수 개의 하드웨어에서 조합된 일부 또는 전부의 기능을 수행하는 프로그램 모듈을 갖는 컴퓨터 프로그램 으로서 구현될 수도 있다. 그 컴퓨터 프로그램을 구성하는 코드들 및 코드 세그먼트들은 본 발명의 기술 분야의 당업자에 의해 용이하게 추론될 수 있을 것이다. 이러한 컴퓨터 프로그램은 컴퓨터가 읽을 수 있는 저장매체(Computer Readable Media)에 저장되어 컴퓨터에 의하여 읽혀지고 실행됨으로써, 본 발명의 실시예를 구현할 수 있다. 컴퓨터 프로그램의 저장매체로서는 자기 기록매체, 광 기록매체, 캐리어 웨이브 매체 등이 포함될 수 있다.While the present invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not limited to the disclosed embodiments. That is, within the scope of the present invention, all of the components may be selectively coupled to one or more of them. In addition, although all of the components may be implemented as one independent hardware, some or all of the components may be selectively combined to perform a part or all of the functions in one or a plurality of hardware. As shown in FIG. The codes and code segments constituting the computer program may be easily deduced by those skilled in the art. Such a computer program can be stored in a computer-readable storage medium, readable and executed by a computer, thereby realizing an embodiment of the present invention. As the storage medium of the computer program, a magnetic recording medium, an optical recording medium, a carrier wave medium, or the like may be included.

또한, 이상에서 기재된 "포함하다", "구성하다" 또는 "가지다" 등의 용어는, 특별히 반대되는 기재가 없는 한, 해당 구성 요소가 내재할 수 있음을 의미하는 것이므로, 다른 구성 요소를 제외하는 것이 아니라 다른 구성 요소를 더 포함할 수 있는 것으로 해석되어야 한다. 기술적이거나 과학적인 용어를 포함한 모든 용어들은, 다르게 정의되지 않는 한, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미가 있다. 사전에 정의된 용어와 같이 일반적으로 사용되는 용어들은 관련 기술의 문맥상의 의미와 일치하는 것으로 해석되어야 하며, 본 발명에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Furthermore, the terms "comprises", "comprising", or "having" described above mean that a component can be implanted unless otherwise specifically stated, But should be construed as including other elements. All terms, including technical and scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs, unless otherwise defined. Commonly used terms, such as predefined terms, should be interpreted to be consistent with the contextual meanings of the related art, and are not to be construed as ideal or overly formal, unless expressly defined to the contrary.

이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. 따라서, 본 발명에 개시된 실시예들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 발명의 기술 사상의 범위 가 한정되는 것은 아니다. 본 발명의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.The foregoing description is merely illustrative of the technical idea of the present invention, and various changes and modifications may be made by those skilled in the art without departing from the essential characteristics of the present invention. Therefore, the embodiments disclosed in the present invention are intended to illustrate rather than limit the scope of the present invention, and the scope of the technical idea of the present invention is not limited by these embodiments. The scope of protection of the present invention should be construed according to the following claims, and all technical ideas within the scope of equivalents should be construed as falling within the scope of the present invention.

이상에서 설명한 바와 같이 본 발명은 B-변환을 위한 부호화를 이용한 압축 기술 분야에 적용되어, 균일 분포 데이터를 효율적으로 부호화할 수 있으며, 균일 분포 데이터를 B-변환한 후 생성되는 이진 표현을 B-변환의 특성을 이용하여 부호화함으로써 비트수를 줄일 수 있어 압축 성능을 향상시킬 수 있는 효과를 발생하는 매우 유용한 발명이다.As described above, the present invention can be applied to a compression technique using encoding for B-transform, so that uniform distribution data can be efficiently encoded, and a binary expression generated after B-transforming uniform distribution data is converted into B- It is possible to reduce the number of bits by coding using the characteristics of the conversion and thus it is a very useful invention that can improve the compression performance.

도 1은 본 발명에 따른 부호화 장치의 구성을 간략하게 나타낸 블록 구성도,BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram schematically showing a configuration of an encoding apparatus according to the present invention;

도 2는 본 발명에 따라 입력 데이터를 B-변환하여 부호화하는 데 사용하는 성질들을 나타낸 예시도,FIG. 2 is an exemplary diagram illustrating the properties used to B-transform and encode input data according to the present invention;

도 3은 본 발명에 따라 입력 데이터를 B-변환하여 이진 표현을 생성하는 과정을 설명하기 위한 예시도,FIG. 3 is an exemplary diagram for explaining a process of generating a binary representation by B-transforming input data according to the present invention. FIG.

도 4는 본 발명에 따라 B-변환한 후 발생하는 이진 표현에 성질 1을 적용하여 테이블의 형태로 나타낸 예시도,FIG. 4 is an exemplary diagram showing a table in which a property 1 is applied to a binary expression generated after B-transform according to the present invention,

도 5는 본 발명에 따라 B-변환한 후 생성되는 이진 표현에 성질 2를 적용하여 테이블의 형태로 나타낸 예시도,FIG. 5 is an exemplary diagram showing a table in which a property 2 is applied to a binary expression generated after B-transform according to the present invention,

도 6은 본 발명에 따라 B-변환 후 생성되는 이진 표현에 성질 2를 적용하고 대각선 방향으로 스캔하는 모습을 나타낸 예시도,FIG. 6 is a diagram illustrating a state in which a property 2 is applied to a binary expression generated after B-transform according to the present invention and scanning is performed in a diagonal direction.

도 7은 본 발명에 따라 B-변환 후의 이진 표현을 대각선 방향으로 스캔하는 경우의 부호화에 필요한 비트수를 나타낸 예시도,FIG. 7 is an exemplary view showing the number of bits necessary for encoding in the case of scanning the binary representation after the B-conversion in the diagonal direction according to the present invention;

도 8은 본 발명에 따라 대각선 방향으로 스캔할 때 읽혀지는 '1'의 개수를 부호화하기 위한 이진 표현을 나타낸 예시도,8 is a diagram illustrating a binary representation for encoding the number of '1' s to be read when scanning in the diagonal direction according to the present invention;

도 9는 본 발명에 따라 단계수를 이용하여 줄일 수 있는 비트수를 나타낸 예시도,9 is a diagram illustrating the number of bits that can be reduced using the number of steps according to the present invention.

도 10은 본 발명에 따라 최대 비트수가 소요되는 정렬 식별자의 위치를 부호화할 때 비트를 줄일 수 있는 조건을 나타낸 예시도,FIG. 10 is a diagram illustrating a condition for reducing a bit when encoding a position of an alignment identifier requiring a maximum number of bits according to the present invention;

도 11은 본 발명에 따라 B-변환한 후 생성되는 이진 표현에 성질 3을 적용하여 테이블의 형태로 나타낸 예시도,FIG. 11 is an exemplary diagram showing a form of a table by applying a property 3 to a binary representation generated after B-transform according to the present invention,

도 12는 본 발명에 따라 B-변환 후 생성되는 이진 표현에 성질 3을 적용하고 대각선 방향으로 스캔하는 모습을 나타낸 예시도,12 is a diagram illustrating a state in which a property 3 is applied to a binary expression generated after B-conversion according to the present invention and scanning is performed in a diagonal direction;

도 13은 본 발명에 따라 B-변환 후 발생하는 이진 표현을 부호화한 부호화 데이터의 구조를 나타낸 예시도,13 is a diagram illustrating a structure of encoded data obtained by encoding a binary representation generated after B-conversion according to the present invention.

도 14는 본 발명에 따른 부호화 방법을 설명하기 위한 순서도이다.14 is a flowchart for explaining a coding method according to the present invention.

Claims (21)

모집합의 데이터를 1개씩 포함하는 입력 데이터 리스트를 부호화하는 장치에 있어서,1. An apparatus for encoding an input data list including one set of aggregation agreement data, 상기 입력 데이터 리스트의 변환을 복수 회 수행하여 정렬 데이터를 생성하고 상기 정렬 데이터에 대응되는 이진 심볼 테이블을 생성하는 B-변환부; 및A B-conversion unit for performing the conversion of the input data list a plurality of times to generate alignment data and generating a binary symbol table corresponding to the alignment data; And 상기 이진 심볼 테이블에서 이진 심볼들 간의 상관 관계에 따라 하나 이상의 이진 심볼을 제거하고, 상기 하나 이상의 이진 심볼이 제거된 이진 심볼 테이블을 스캔하여 비트열을 생성하는 부호화부An encoding unit for removing one or more binary symbols according to a correlation between binary symbols in the binary symbol table and generating a bit string by scanning the binary symbol table from which the one or more binary symbols have been removed, 를 포함하고, 상기 변환은,Wherein the conversion comprises: 상기 입력 데이터 리스트의 각 데이터를 순차적으로 다음 데이터와 비교하여 두 개의 데이터가 기설정된 순서로 정렬되어 있는지 확인한 결과, 상기 기설정된 순서로 정렬된 경우에 대해서는 이진 심볼 '1'을 생성하되 상기 두 개의 데이터의 위치를 서로 교환하고, 상기 기설정된 순서로 정렬되지 않은 경우에 대해서는 이진 심볼 '0'을 생성하는 동작이며,When each data of the input data list is sequentially compared with the next data to check whether the two data are arranged in a predetermined order, a binary symbol '1' is generated when the two data are arranged in the predetermined order, Exchanges positions of data, and generates a binary symbol '0' when it is not aligned in the preset order, 상기 이진 심볼 테이블은 이진 심볼 리스트를 복수개 포함하고, 상기 이진 심볼 리스트는 각 변환마다 생성되는 적어도 하나의 이진 심볼을 포함하는 것을 특징으로 하는 부호화 장치.Wherein the binary symbol table includes a plurality of binary symbol lists, and the binary symbol list includes at least one binary symbol generated for each transform. 삭제delete 제 1 항에 있어서, 상기 제거된 하나 이상의 이진 심볼은,2. The method of claim 1, wherein the removed one or more binary symbols comprise: 상기 입력 데이터 리스트를 i 번째 변환을 수행하여 생성되는 이진 심볼 리스트의 마지막 이진 심볼로부터 i 번째에 위치한 이진 심볼까지의 이진 심볼인 것을 특징으로 하는 부호화 장치.Wherein the input data list is a binary symbol from a last binary symbol of a binary symbol list generated by performing an i &lt; th &gt; transformation to a binary symbol located at an ith position. 제 1 항에 있어서, 상기 부호화부는,2. The apparatus of claim 1, 상기 하나 이상의 이진 심볼이 제거된 이진 심볼 테이블을 대각선 방향의 순서로 스캔하는 것을 특징으로 하는 부호화 장치.And the binary symbol table in which the at least one binary symbol is removed is scanned in a diagonal direction. 제 4 항에 있어서, 상기 제거된 하나 이상의 이진 심볼은,5. The method of claim 4, wherein the removed one or more binary symbols 상기 입력 데이터 리스트를 i 번째 변환하여 생성되는 이진 심볼 리스트의 j 번째 이진 심볼의 값이 '0'인 경우, i+1 번째 변환하여 생성되는 이진 심볼 리스트의 j-1 번째 이진 심볼인 것을 특징으로 하는 부호화 장치.Th binary symbol of a binary symbol list generated by i + 1-th conversion when a value of a j-th binary symbol of a binary symbol list generated by i-th transformation of the input data list is '0' . 삭제delete 제 4 항에 있어서, 상기 하나 이상의 이진 심볼은,5. The method of claim 4, wherein the at least one binary symbol comprises: 상기 입력 데이터 리스트를 i 번째 변환하여 생성되는 이진 심볼 리스트의 j 번째 이진 심볼의 값이 '1'인 경우, i-1 번째 변환하여 생성되는 이진 심볼 리스트의 j+1 번째 이진 심볼인 것을 특징으로 하는 부호화 장치.Th binary symbol of the binary symbol list generated by the (i-1) -th transform when the value of the j-th binary symbol of the binary symbol list generated by i-th transformation of the input data list is '1' . 삭제delete 제 5 항에 있어서, 상기 부호화부는,6. The apparatus of claim 5, 상기 대각선 방향으로 스캔할 때 읽혀지는 '1'의 개수를 부호화함으로써 상기 비트열을 생성하는 것을 특징으로 하는 부호화 장치.And generates the bit stream by encoding the number of '1' s to be read when scanning in the diagonal direction. 제 9 항에 있어서, 상기 부호화부는,The apparatus of claim 9, 상기 '1'의 개수를 부호화하는 데 소요되는 비트수를 결정하고, 상기 결정된 비트수에 따라 상기 '1'의 개수를 이진수로 표현함으로써 상기 '1'의 개수를 부호화하는 것을 특징으로 하는 부호화 장치.And the number of '1' is determined by determining the number of bits required to encode the number of '1', and expressing the number of '1' as a binary number according to the determined number of bits. . 제 10 항에 있어서, 상기 부호화부는,11. The apparatus of claim 10, 상기 '1'의 개수를 표현한 이진수의 최상위 비트가 '1'인 경우, 상기 최상위 비트만을 상기 비트열에 포함시키는 것을 특징으로 하는 부호화 장치.And when the most significant bit of the binary number expressing the number of '1's is' 1', only the most significant bit is included in the bit string. 제 9 항에 있어서, 상기 부호화부는,The apparatus of claim 9, 상기 '1'의 개수를 부호화하는 데 소요되는 비트수를 결정하고, 임계값보다 크거나 같은 '1'의 개수를 갖는 정렬 식별자까지는 상기 결정된 비트수로 부호화하며, 임계값보다 크거나 같은 '1'의 개수를 갖는 정렬 식별자부터는 최대 비트수가 소요되는 정렬 식별자의 경우 상기 결정된 비트수로 부호화하고 나머지 정렬 식별자의 경우 상기 결정된 비트수에서 한 개의 비트를 뺀 비트수로 부호화하되, 상기 최대 비트수가 소요되는 정렬 식별자의 위치를 추가로 부호화하는 것을 특징으로 하는 부호화 장치.The number of bits required to encode the number of '1' is determined, and an encoding is performed using the determined number of bits up to an alignment identifier having a number of '1' that is greater than or equal to a threshold value, 'Is encoded with the determined number of bits in the case of an alignment identifier that requires a maximum number of bits from the alignment identifier having the number of bits, and the number of bits is obtained by subtracting one bit from the determined number of bits in the case of the remaining alignment identifier. Wherein the encoding unit further encodes the position of the sorting identifier. 제 9 항에 있어서, 상기 부호화부는,The apparatus of claim 9, 상기 '1'의 개수를 부호화하는 데 소요되는 비트수를 결정하고, 임계값보다 크거나 같은 '1'의 개수를 갖는 정렬 식별자까지는 상기 결정된 비트수로 부호화하며, 상기 임계값보다 크거나 같은 '1'의 개수를 갖는 정렬 식별자 다음의 정렬 식별자부터는 상기 결정된 비트수에서 한 개의 비트를 뺀 비트수로 부호화하는 것을 특징으로 하는 부호화 장치.Determining a number of bits required to encode the number of '1's, encoding an alignment identifier having a number of' 1's' that is greater than or equal to a threshold value to the determined number of bits, 1 'to the number of bits obtained by subtracting one bit from the determined number of bits from an alignment identifier subsequent to the sorting identifier having the number of 1's. 삭제delete 제 1 항에 있어서, 상기 부호화부는,2. The apparatus of claim 1, 상기 입력 데이터 리스트를 i 번째 변환하여 생성되는 이진 심볼 리스트의 j 번째 이진 심볼의 값이 '0'인 경우, i+1 번째 변환하여 생성되는 이진 심볼 리스트의 j-1 번째 이진 심볼을 삭제하여 부호화하는 방법과,If the value of the j-th binary symbol of the binary symbol list generated by the i-th transform of the input data list is '0', the j-1th binary symbol of the binary symbol list generated by the (i + How, 상기 입력 데이터 리스트를 i 번째 변환하여 생성되는 이진 심볼 리스트의 j 번째 이진 심볼의 값이 '1'인 경우, i-1 번째 변환하여 생성되는 이진 심볼 리스트의 j+1 번째 이진 심볼을 삭제하여 부호화하는 방법 중에서,If the value of the j-th binary symbol of the binary symbol list generated by the i-th transform of the input data list is '1', the j + 1-th binary symbol of the binary symbol list generated by the (i- Among them, 하나의 방법을 선택하여 부호화하는 것을 특징으로 하는 부호화 장치.And selecting one method to perform coding. 삭제delete 모집합의 데이터를 1개씩 포함하는 입력 데이터 리스트를 부호화하는 방법에 있어서,A method for encoding an input data list including one set of assignment agreement data, 상기 입력 데이터 리스트의 변환을 복수 회 수행하여 정렬 데이터를 생성하고 상기 정렬 데이터에 대응되는 이진 심볼 테이블을 생성하는 단계; 및Performing the transformation of the input data list a plurality of times to generate alignment data and generating a binary symbol table corresponding to the alignment data; And 상기 이진 심볼 테이블에서 상기 이진 심볼들 간의 상관 관계에 따라 하나 이상의 이진 심볼을 제거하고, 상기 하나 이상의 이진 심볼이 제거된 이진 심볼 테이블을 스캔하여 비트열을 생성하는 부호화 단계An encoding step of removing one or more binary symbols according to a correlation between the binary symbols in the binary symbol table and generating a bit stream by scanning the binary symbol table from which the one or more binary symbols have been removed 를 포함하고, 상기 변환은,Wherein the conversion comprises: 상기 입력 데이터 리스트의 각 데이터를 순차적으로 다음 데이터와 비교하여 두 개의 데이터가 기설정된 순서로 정렬되어 있는지 확인한 결과, 상기 기설정된 순서로 정렬된 경우에 대해서는 이진 심볼 '1'을 생성하되 상기 두 개의 데이터의 위치를 서로 교환하고, 상기 기설정된 순서로 정렬되지 않은 경우에 대해서는 이진 심볼 '0'을 생성하는 동작이며,When each data of the input data list is sequentially compared with the next data to check whether the two data are arranged in a predetermined order, a binary symbol '1' is generated when the two data are arranged in the predetermined order, Exchanges positions of data, and generates a binary symbol '0' when it is not aligned in the preset order, 상기 이진 심볼 테이블은 이진 심볼 리스트를 복수개 포함하고, 상기 이진 심볼 리스트는 각 변환마다 생성되는 적어도 하나의 이진 심볼을 포함하는 것을 특징으로 하는 부호화 방법.Wherein the binary symbol table includes a plurality of binary symbol lists, and the binary symbol list includes at least one binary symbol generated for each transform. 모집합의 데이터를 1개씩 포함하는 입력 데이터 리스트를 정렬하기 위하여 상기 입력 데이터 리스트의 변환을 복수 회 수행한 단계수를 나타내는 단계수 필드; 및A step number field indicating the number of steps of performing the conversion of the input data list a plurality of times in order to arrange an input data list including one of the recruitment agreement data; And 상기 입력 데이터가 상기 단계수만큼 변환되어 생성된 이진 심볼 테이블에서 상기 이진 심볼들 간의 상관 관계에 따라 하나 이상의 이진 심볼이 제거되고 스캔되어 생성되는 비트열을 포함하는 데이터 필드The binary symbol table is generated by transforming the input data by the number of steps, and one or more binary symbols are removed according to the correlation between the binary symbols, 를 포함하고, 상기 변환은,Wherein the conversion comprises: 상기 입력 데이터 리스트의 각 데이터를 순차적으로 다음 데이터와 비교하여 두 개의 데이터가 기설정된 순서로 정렬되어 있는지 확인한 결과, 상기 기설정된 순서로 정렬된 경우에 대해서는 이진 심볼 '1'을 생성하되 상기 두 개의 데이터의 위치를 서로 교환하고, 상기 기설정된 순서로 정렬되지 않은 경우에 대해서는 이진 심볼 '0'을 생성하는 동작이며,When each data of the input data list is sequentially compared with the next data to check whether the two data are arranged in a predetermined order, a binary symbol '1' is generated when the two data are arranged in the predetermined order, Exchanges positions of data, and generates a binary symbol '0' when it is not aligned in the preset order, 상기 이진 심볼 테이블은 이진 심볼 리스트를 복수개 포함하고, 상기 이진 심볼 리스트는 각 변환마다 생성되는 적어도 하나의 이진 심볼을 포함하는 것을 특징으로 하는 구조를 가진 데이터를 기록한 컴퓨터로 읽을 수 있는 기록매체.Wherein the binary symbol table includes a plurality of binary symbol lists, and the binary symbol list includes at least one binary symbol generated for each conversion. &Lt; Desc / Clms Page number 19 &gt; 제 18 항에 있어서, 상기 구조를 가진 데이터는,19. The method of claim 18, 상기 입력 데이터 리스트를 i 번째 변환하여 생성되는 이진 심볼 리스트의 j 번째 이진 심볼의 값이 '0'인 경우, i+1 번째 변환하여 생성되는 이진 심볼 리스트의 j-1 번째 이진 심볼을 삭제하여 부호화하는 방법과,If the value of the j-th binary symbol of the binary symbol list generated by the i-th transform of the input data list is '0', the j-1th binary symbol of the binary symbol list generated by the (i + How, 상기 입력 데이터 리스트를 i 번째 변환하여 생성되는 이진 심볼 리스트의 j 번째 이진 심볼의 값이 '1'인 경우, i-1 번째 변환하여 생성되는 이진 심볼 리스트의 j+1 번째 이진 심볼을 삭제하여 부호화하는 방법 중에서,If the value of the j-th binary symbol of the binary symbol list generated by the i-th transform of the input data list is '1', the j + 1-th binary symbol of the binary symbol list generated by the (i- Among them, 선택된 방법을 나타내는 플래그를 포함하는 심볼 필드를 추가로 포함하는 것을 특징으로 하는 기록매체.Further comprising a symbol field including a flag indicating a selected method. 삭제delete 삭제delete
KR1020080091578A 2008-09-16 2008-09-18 - Coding Method and Apparatus for B-Transform and Computer-Readable Recording Medium Recording Coded Data Having Structure Therefor KR101559824B1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
KR1020080091578A KR101559824B1 (en) 2008-09-18 2008-09-18 - Coding Method and Apparatus for B-Transform and Computer-Readable Recording Medium Recording Coded Data Having Structure Therefor
PCT/KR2009/005095 WO2010032934A2 (en) 2008-09-16 2009-09-09 Encoding method and encoding apparatus for b-transform, and encoded data for same
US13/063,784 US8462023B2 (en) 2008-09-16 2009-09-09 Encoding method and encoding apparatus for B-transform, and encoded data for same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080091578A KR101559824B1 (en) 2008-09-18 2008-09-18 - Coding Method and Apparatus for B-Transform and Computer-Readable Recording Medium Recording Coded Data Having Structure Therefor

Publications (2)

Publication Number Publication Date
KR20100032614A KR20100032614A (en) 2010-03-26
KR101559824B1 true KR101559824B1 (en) 2015-10-14

Family

ID=42181771

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080091578A KR101559824B1 (en) 2008-09-16 2008-09-18 - Coding Method and Apparatus for B-Transform and Computer-Readable Recording Medium Recording Coded Data Having Structure Therefor

Country Status (1)

Country Link
KR (1) KR101559824B1 (en)

Also Published As

Publication number Publication date
KR20100032614A (en) 2010-03-26

Similar Documents

Publication Publication Date Title
US20110181448A1 (en) Lossless compression
CN103458460B (en) Method and device for compressing and decompressing signal data
KR101049699B1 (en) Data Compression Method
CN103067022B (en) A kind of integer data lossless compression method, decompression method and device
KR101496182B1 (en) Methods and apparatuses of generating polar encode with extended minimum distance
CN110021369B (en) Gene sequencing data compression and decompression method, system and computer readable medium
Bedruz et al. Comparison of Huffman Algorithm and Lempel-Ziv Algorithm for audio, image and text compression
KR102118328B1 (en) Coding and decoding of polar codes extended to a length not equal to 2
US20100321218A1 (en) Lossless content encoding
US8532415B2 (en) Data compression method
CN110021368B (en) Comparison type gene sequencing data compression method, system and computer readable medium
US8305244B2 (en) Coding data using different coding alphabets
EP2962396A1 (en) Entropy modifier and method
Al-Bahadily et al. New modified RLE algorithms to compress grayscale images with lossy and lossless compression
JP4000266B2 (en) Data encoding apparatus, data encoding method, and program thereof
KR101559824B1 (en) - Coding Method and Apparatus for B-Transform and Computer-Readable Recording Medium Recording Coded Data Having Structure Therefor
CN110798224A (en) Compression coding, error detection and decoding method
US8754791B1 (en) Entropy modifier and method
US8462023B2 (en) Encoding method and encoding apparatus for B-transform, and encoded data for same
Hameed et al. A new lossless method of Huffman coding for text data compression and decompression process with FPGA implementation
Huang et al. Lossless compression algorithm for multi-source sensor data research
CN109698704B (en) Comparative gene sequencing data decompression method, system and computer readable medium
Rawat et al. Evaluation of Burrows Wheeler Transform based image compression algorithm for multimedia applications
US20160323603A1 (en) Method and apparatus for performing an arithmetic coding for data symbols
Thakur et al. An improved symbol reduction technique based Huffman coder for efficient entropy coding in the transform coders

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E902 Notification of reason for refusal
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20181002

Year of fee payment: 4