KR20070011050A - Method for modeling coding information of a video signal to compress/decompress the information - Google Patents

Method for modeling coding information of a video signal to compress/decompress the information Download PDF

Info

Publication number
KR20070011050A
KR20070011050A KR1020050126784A KR20050126784A KR20070011050A KR 20070011050 A KR20070011050 A KR 20070011050A KR 1020050126784 A KR1020050126784 A KR 1020050126784A KR 20050126784 A KR20050126784 A KR 20050126784A KR 20070011050 A KR20070011050 A KR 20070011050A
Authority
KR
South Korea
Prior art keywords
coding information
block
model
information
coding
Prior art date
Application number
KR1020050126784A
Other languages
Korean (ko)
Inventor
윤도현
박승욱
전병문
박지호
김동석
엄성현
Original Assignee
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Publication of KR20070011050A publication Critical patent/KR20070011050A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/13Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/184Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being bits, e.g. of the compressed video stream

Abstract

A modeling method for compressing/decompressing coding information of video signals is provided to adaptively perform modeling for binarization using coding information correlated to the coding information of the video signal to improve a data compression rate. A modeling method includes a step of selecting one of a plurality of models to be applied to binarization or inverse-binarization of coding information about an image block on the basis of coding information of a co-located block, which has correlation with the coding information about the image block. The coding information of the co-located block having correlation with the coding information about the image block is identical to the coding information of the image block. The co-located block is adjacent to the left and top of the image block on an image frame decoded prior to the current block.

Description

영상 신호의 코딩정보를 압축/해제하기 위해 모델링하는 방법 {Method for modeling coding information of a video signal to compress/decompress the information}Method for modeling coding information of a video signal to compress / decompress the information}

도 1은 본 발명에 따른 컨텍스트 모델링을 수행하는, 엔코더내의 CABAC 수행부의 구성 블록을 도시한 것이고,1 illustrates a configuration block of a CABAC execution unit in an encoder for performing context modeling according to the present invention.

도 2는, 본 발명에 따른, 입력되는 코딩정보에 대해서 적응적으로(adaptively) 이진화하기 위한 모델링의 예를 나타낸 것이고,2 illustrates an example of modeling for adaptively binarizing an input coding information according to the present invention.

도 3은 임의의 코딩정보의 확률(산술)코딩을 위한 컨텍스트 모델링 방식을 도식적으로 나타낸 것이고,3 schematically illustrates a context modeling method for probabilistic (arithmetic) coding of arbitrary coding information.

도 4는 본 발명에 따른 컨텍스트 모델링을 수행하는, 디코더내의 CABAC 수행부의 구성 블록을 도시한 것이다.4 is a block diagram of a CABAC execution unit in a decoder for performing context modeling according to the present invention.

<도면의 주요부분에 대한 부호의 설명> <Description of Symbols for Main Parts of Drawings>

100, 102: 컨텍스트 모델러 101: 이진화부100, 102: context modeler 101: binarization unit

103: 일반 코딩엔진 104: 우회 코딩엔진103: general coding engine 104: bypass coding engine

110: 산술코더 201: 역 이진화부110: Arithmetic coder 201: Inverse binarization unit

202: 컨텍스트 모델러 203: 일반 디코딩 엔진202: Context Modeler 203: Generic Decoding Engine

204: 우회 디코딩 엔진 210: 산술 디코더204: bypass decoding engine 210: arithmetic decoder

본 발명은, 영상신호의 코딩정보를 압축(compression)하거나 압축된 정보를 해제(decompression)하기 위해 그 정보를 모델링하는 방법에 관한 것이다. The present invention relates to a method of modeling information for compressing coding information of a video signal or for decompressing compressed information.

스케일러블 영상 코덱(SVC:Scalable Video Codec) 방식은 영상신호를 엔코딩함에 있어, 최고 화질로 엔코딩하되, 그 결과로 생성된 픽처 시퀀스의 부분 시퀀스( 시퀀스 전체에서 간헐적으로 선택된 프레임의 시퀀스 )를 디코딩해 사용해도 저화질의 영상 표현이 가능하도록 하는 방식이다. The scalable video codec (SVC) method encodes a video signal at the highest quality and decodes a partial sequence of the resulting picture sequence (a sequence of intermittently selected frames throughout the sequence). Even if it is used, it is a way to enable a low-quality video representation.

SVC는 AVC(Advanced Video Codec: 'H.264'라고도 한다. )로부터 확장된 코덱으로서, AVC에서 코딩된 영상신호를 압축하기 위해 사용하도록 제안된 엔트로피(entropy) 코딩방식의 하나인 CABAC( Context-Adaptive Binary Arithmatic Coding )을 데이터 압축을 위해 사용할 수 있다. SVC is an extended codec from AVC (Advanced Video Codec: 'H.264'), and is one of the entropy coding schemes proposed for use in compressing video signals coded in AVC. Adaptive Binary Arithmatic Coding) can be used for data compression.

CABAC은, 특정 신택스 엘리먼트(syntax element)인 코딩정보에 대해, 지정된 방식에 따라 이진화(binarization)한 후, 이웃 매크로 블록의 동일 코딩정보를 사용하여 그 이진화된 비트들에 대해 확률코딩을 위한 모델링을 한다. 각 비트가 갖 는 값의 확률에 따른 적절한 모델링이 이루어지면 이후의 산술코딩에 의한 압축율은 높아진다.CABAC binarizes coding information that is a specific syntax element according to a specified scheme, and then uses the same coding information of a neighboring macroblock to perform modeling for probability coding on the binarized bits. do. When proper modeling is performed according to the probability of each bit value, the compression rate is increased by subsequent arithmetic coding.

그런데, 확률코딩을 위한 모델링뿐만 아니라, 이진화 방법도 이후의 압축율에 영향을 끼친다. 예를 들어, 특정 신택스 엘리먼트가 여섯가지 경우의 값을 가지며 그 여섯가지 경우에 대해 0, 100, 101, 110000, 110001, 110010과 같이 비트열을 할당한다면, 가능하면 가장 높은 발생 확률을 갖는 경우에 대해 적은 비트수의 비트열, 즉, 0이 할당되도록 하는 것이 압축율을 높이게 된다. However, in addition to modeling for probability coding, the binarization method also affects the compression rate. For example, if a particular syntax element has values in six cases and assigns a bit string such as 0, 100, 101, 110000, 110001, 110010 for those six cases, For example, a small bit number of bits, i.e., zero, is allocated to increase the compression rate.

그런데, 임의 매크로 블록의 코딩에 있어서, 특정 신택스 엘리먼트가 높은 발생 확률을 갖는 경우는 변할 수 있다. 그럼에도, 신택스 엘리먼트가 주어지면 그 신택스 엘리먼트에 대해서 이진화하는 방법이 획일적으로 지정되므로, 후단의 산술코딩에서 최선의 압축율를 얻을 수 없다.However, in the coding of an arbitrary macroblock, the case where a specific syntax element has a high probability of occurrence may change. Nevertheless, given a syntax element, the method of binarization is uniformly specified for the syntax element, so that the best compression ratio cannot be obtained in the arithmetic coding at the later stage.

따라서, 본 발명은, 데이터 압축율을 향상시키기 위해 코딩정보를 이진화함에 있어서 그 코딩정보와 상관성이 있는 코딩정보를 이용하여 이진화를 위한 모델을 적응적으로 행하는 방법을 제공하는 데 그 목적이 있다.Accordingly, an object of the present invention is to provide a method for adaptively performing a model for binarization by using coding information correlated with the coding information in binarizing coding information to improve data compression ratio.

또한, 본 발명은, 코딩정보의 이진화에 적용된 모델링 정보를, 그 코딩정보의 비트열에 대한 확률코딩을 위한 모델링의 근거로 사용하는 방법을 제공하는 데 다른 목적이 있다.Another object of the present invention is to provide a method of using modeling information applied to binarization of coding information as a basis for modeling for probability coding on a bit string of the coding information.

또한, 본 발명은, 인코딩시의 적응적 모델링에 대응하여, 압축된 코딩정보를 해제하는 데 적용하는 적응적 모델링 방법을 제공하는 데 또 다른 목적이 있다.Another object of the present invention is to provide an adaptive modeling method applied to release compressed coding information in response to adaptive modeling during encoding.

상기한 목적을 달성하기 위한 본 발명에 따른 모델링 방법은, 영상 블록에 대한 코딩정보에 대해, 상기 코딩정보와 상관성이 있는 인접 블록의 코딩정보에 근거하여, 그 코딩정보의 이진화(binarization) 또는 역이진화(inverse-binarization)에 적용할 복수의 모델에서 하나의 모델을 선정하는 단계를 포함하며, 상기 복수의 모델은 상기 인접 블록의 코딩정보의 경우에 따라 상호 구분되어 있는 것에 그 특징이 있다.The modeling method according to the present invention for achieving the above object, based on the coding information of the adjacent block correlated with the coding information for the coding information for the image block, the binarization or inverse of the coding information And selecting one model from a plurality of models to be applied to inverse-binarization, wherein the plurality of models are distinguished from each other according to coding information of the adjacent block.

본 발명에 따른 일 실시예에서는, 상기 코딩정보와 상관성이 있는 인접 블록의 코딩정보는, 상기 영상블록의 코딩정보와 동일한 코딩정보이다.In one embodiment according to the present invention, the coding information of an adjacent block correlated with the coding information is the same coding information as that of the video block.

본 발명에 따른 일 실시예에서는, 상기 인접 블록은 현재 블록보다 앞서 디코딩되는, 영상 프레임상에서 좌측과 상단에 인접한 블록이다.In one embodiment according to the invention, the neighboring block is a block adjacent to the left and top of the video frame, which is decoded before the current block.

본 발명에 따른 일 실시예에서는, 상기 복수의 모델내의 각 모델은, 상기 인접블록의 코딩정보에 따라 상기 영상블록의 코딩정보가 가질 수 있는 확률이 높은 경우에 대해 적은 수의 비트가 할당되도록 하는 비트 변환 구조를 갖는다.In one embodiment according to the present invention, each model in the plurality of models is configured to allocate a small number of bits for a case where the probability that the coding information of the image block has high according to the coding information of the neighboring block. It has a bit conversion structure.

본 발명에 따른 일 실시예에서는, 상기 이진화를 위해 선정된 모델 정보를, 상기 이진화된 상기 영상블록에 대한 코딩정보를 확률코딩하기 위한 모델을 결정하는 데 사용한다.In one embodiment according to the present invention, the model information selected for the binarization is used to determine a model for probability coding the coding information for the binarized image block.

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

도 1은 본 발명의 바람직한 일 실시예에 따른 CABAC 수행부의 구성 블록을 도시한 것이다. 도 1의 구성은, 이진화되지 않은 코딩정보에 대해서, 입력된 해당 코딩정보에 대해, 이웃한 매크로 블록의 코딩정보(10)에 따라 이진화를 위한 모델링을 수행하는 제 1컨텍스트 모델러(100)와, 상기 제 1컨텍스트 모델러(100)에 의해 정해진 모델에서 지정된 방식에 따라, 입력된 코딩정보를 이진화(binarizing)하는 이진화부(101)와, 이진화된 코딩정보의 각 비트에 대해, 인접된 블록의 코딩정보 및/또는 상기 제 1컨텍스트 모델러(100)에 의해 모델링된 정보(11) 에 근거하여 모델링하는 제 2컨텍스트(context) 모델러(102)와, 설정된 모델에 근거하여 입력 비트를 산술(arithmetic) 코딩하는 산술코더(110)를 포함한다.1 is a block diagram of a CABAC execution unit according to an embodiment of the present invention. The configuration of FIG. 1 includes a first context modeler 100 that performs modeling for binarization based on coding information 10 of a neighboring macroblock with respect to inputted corresponding coding information. The binarization unit 101 for binarizing the input coding information according to a method specified by the model determined by the first context modeler 100, and coding of an adjacent block for each bit of the binarized coding information. Arithmetic coding of input bits based on information and / or a second context modeler 102 modeling based on information 11 modeled by the first context modeler 100 It includes an arithmetic coder 110.

상기 산술코더(110)는, 상기 제 2컨텍스트 모델러(102)에 의해 모델링된 변수( 확률함수와 초기값 )에 근거하여 코딩정보의 각 비트를 산술코딩하는 일반(regular) 코딩엔진(103)과, 비트의 0과 1의 발생확률이 거의 균등하여 모델링의 잇점이 없는 코딩정보 자체에 대한 산술코딩을 수행하는 우회 코딩엔진(104)을 내부적으로 포함한다.The arithmetic coder 110 includes a regular coding engine 103 for arithmetically coding each bit of coding information based on variables (probability function and initial value) modeled by the second context modeler 102. It includes internally the bypass coding engine 104 which performs arithmetic coding on the coding information itself, which has no advantage of modeling since the probability of occurrence of bits 0 and 1 is almost equal.

본 발명은, 입력되는 코딩정보에 대한 모델링에 대한 것으로서, 모델링된 변수에 따른 산술코딩 과정은 본 발명과 직접적 관련성이 없다. 따라서, 이하의 설명에서 본 발명의 이해를 돕기 위해 필요한 내용이 아닌 상기 산술코더(110)에 관련된 비트 압축동작( 엔트로피 코딩 )에 대한 설명은 생략한다.The present invention relates to modeling of input coding information, and the arithmetic coding process according to the modeled variable is not directly related to the present invention. Therefore, in the following description, a description of the bit compression operation (entropy coding) related to the arithmetic coder 110, which is not necessary to aid the understanding of the present invention, will be omitted.

도 1의 CABAC 수행부는, 입력되는 코딩정보가 이진화되지 않은 경우에는, 상 기 제 1컨텍스트 모델러(100)에서 그 코딩정보에 대해 수행할 이진화를 위한 모델을 설정한다. 모델링의 한가지 예가 도 2에 제시되어 있다.When the input coding information is not binarized, the CABAC execution unit of FIG. 1 sets a model for binarization to be performed on the coding information in the first context modeler 100. One example of modeling is shown in FIG. 2.

도 2의 예에서 사용된 코딩정보, 즉 신택스 엘리먼트는 매크로 블록 타입(mb_type)에 대한 것으로, 각 타입(Direct,Intra,P_16x16,P_16x8,P_8x16, 그리고 P_8x8)에 대해 비트열을 할당할 모델이 5개 제시되어 있으며, 각 모델은, 현재 모델링할 매크로 블록 타입의 블록(X)의 인접블록(A,B)의 매크로 블록 타입에 따라 상호 구분되어 있다. 도 2의 예에서 구분 제시된 각 모델은, 단순히 인접 블록의 매크로 블록 타입에 따라, 현재 블록(X)의 매크로 블록 타입에 할당할 모델이 달라진다는 것을 보여주기 위한 것일 뿐, 인접 블록(A,B)의 매크로 블록 타입에 따른 경우를 좀 더 세분화함으로써 다른 모델을 더 추가하거나 또는 경우를 좀 더 포괄적으로 구분함으로써 모델 수를 축소할 수도 있다.The coding information used in the example of FIG. 2, that is, the syntax element is for a macro block type (mb_type), and a model to allocate a bit string for each type (Direct, Intra, P_16x16, P_16x8, P_8x16, and P_8x8) is 5 Each model is distinguished from each other according to the macroblock types of the adjacent blocks A and B of the block X of the macroblock type to be currently modeled. Each model presented separately in the example of FIG. 2 is merely to show that the model to be allocated to the macroblock type of the current block (X) varies according to the macroblock type of the neighboring block. The number of models can be reduced by further subdividing the case according to the macro block type of) or by adding more models or by dividing the case more comprehensively.

도 2의 예는, 인접 블록(A,B)이 인트라(Intra) 모드이면, 현재 블록(X)도 인트라 모드일 확률이 높을 것으로 예측할 수 있으므로 인트라 모드에 가장 적은 비트수, 즉 한 비트의 0이 할당되는 모델(2a)이 선택되고, 만약, 인접 블록(A,B)이 Direct 또는 P_16x16 모드이면 현재 블록(X)이 인트라 모드일 확률이 가장 낮을 것으로 예측할 수 있으므로 인트라 모드에 대해서 비트수가 가장 많고 비트 변화도 가장 많이 할당되는 모델(2b 또는 2c)이 선택되는 것을 보여준다.In the example of FIG. 2, if the adjacent blocks A and B are Intra mode, it can be predicted that the current block X is also likely to be Intra mode. This allocated model 2a is selected, and if the adjacent blocks A and B are in Direct or P_16x16 mode, it is predicted that the probability that the current block X is the intra mode is the lowest, so that the number of bits for the intra mode is the most. It shows that the model (2b or 2c) that has the most and most bit changes is selected.

도 2에서 제시된, 하나의 모델내에서의 매크로 블록 타입의 각 경우에 대해 할당한 방식은, 인접 블록의 매크로 블록(A,B)의 타입에 따라 현재 매크로 블록(X)의 타입이 가질 확률이 높을 것으로 추정되는 경우의 순으로 배치한 예일 뿐, 도 2 에서 제시된 각 모델내에서의 순서와 상이한 순서로 비트열 할당 순서를 바꿀 수도 있다. The scheme allocated for each case of the macroblock type in one model, as shown in FIG. 2, has a probability that the type of the current macroblock X will have according to the type of the macroblocks A and B of the adjacent block. It is only an example of arrangement in the case of being estimated to be high, and the bit string allocation order may be changed in a different order from the order within each model shown in FIG.

상기 제 1컨텍스트 모델러(100)에 의해 하나의 모델이 선택되면, 그 선택된 모델에 대한 정보는 상기 제 2컨텍스트 모델러(102)에 제공되고, 상기 이진화부(101)는 선택된 모델에 따라, 입력된 매크로 블록 타입에 대해 이진화 값을 할당한다. When a model is selected by the first context modeler 100, information about the selected model is provided to the second context modeler 102, and the binarization unit 101 is input according to the selected model. Assign binarization values to macro block types.

상기의 설명에서는, 코딩정보로서 매크로 블록 타입을 예를 들었지만, 다른 코딩정보에 대해서도 다른 인접 블록의 코딩정보에 근거하여 적응적으로 이진화를 위한 모델을 선택하는 방법을 물론 적용할 수 있다. 또한, 임의의 코딩정보에 대해, 인접 블록의 동일한 코딩정보만을 이진화 모델 선정의 근거로 사용하지 않고 현재 블록의 코딩정보와 상관성이 있는 다른 코딩정보도 이진화 모델 선정의 근거로 사용할 수도 있다.In the above description, although the macroblock type is taken as the coding information, the method of adaptively selecting a model for binarization can also be applied to other coding information based on the coding information of another adjacent block. In addition, for any coding information, instead of using only the same coding information of the adjacent block as the basis of the binarization model selection, other coding information correlated with the coding information of the current block may be used as the basis of the binarization model selection.

상기와 같이 이진화된 비트열은 비트압축을 위해 후단의 산술코더(110)에 인가되는 데, 이 때, 비트의 값이 0과 1의 어느 한쪽으로 치우치지 않고 균등하게 분포할 확률을 갖는 비트는 상기 우회 산술코더(104)로 바로 인가되고, 0과 1의 어느 한쪽으로 치우치는 확률을 갖는 코딩정보의 비트는 상기 제 2컨텍스트 모델러(102)에 인가되어 모델링의 과정을 먼저 거치게 된다.The binarized bit string as described above is applied to the arithmetic coder 110 at the rear end for bit compression. At this time, a bit having a probability that the value of the bit is evenly distributed without biasing to either one of 0 and 1 A bit of coding information which is directly applied to the bypass arithmetic coder 104 and has a probability of biasing to either one of 0 and 1 is applied to the second context modeler 102 to undergo a modeling process first.

상기 제 2컨텍스트 모델러(102)는 인가되는 비트열에 대해, 인접된 매크로 블록의 동일 코딩정보 및 상기 제 1컨텍스트 모델러(100)가 모델링한 정보(11)에 근거하여, 모델링(modeling)을 수행한다. 모델링은 확률함수의 선택과 그 확률함수 에서의 초기값을 결정하는 것으로서, 도 3에 예시된 바와 같이, 코딩정보의 종류에 따라 offset값(,k-1,k,k+1,)이 결정되어 확률함수(,fk-1,fk,fk+1,)가 먼저 선정되고, 인접 블록의 동일 코딩정보 및 상기 제 1컨텍스트 모델러(100)가 모델링한 정보(11)에 따라 그 offset값에서 인덱스 변수(ctxIdxInc)의 값이 결정된다. The second context modeler 102 performs modeling on the applied bit string based on the same coding information of the adjacent macro block and the information 11 modeled by the first context modeler 100. . Modeling determines the selection of a probability function and an initial value in the probability function. As illustrated in FIG. 3, an offset value (, k-1, k, k + 1,) is determined according to the type of coding information. And a probability function (, f k-1 , f k , f k + 1 ,) is first selected, and its offset is determined according to the same coding information of the adjacent block and the information 11 modeled by the first context modeler 100. The value of the index variable (ctxIdxInc) is determined from the value.

상기 제 2컨텍스트 모델러(102)가 임의의 코딩정보에 대한 모델링을 할 때, 인접 블록의 동일 코딩정보를, 상기 제 1컨텍스트 모델러(100)와 동일한 경우수로 구분하는 경우에는 직접 인접 블록의 코딩정보를 참조하지 않고 상기 제 1컨텍스트 모델러(100)로부터 제공되는 모델링 정보(11)만을 참조하여 인덱스 변수의 값을 결정할 수도 있다. 그러나, 상기 제 1컨텍스 모델러(100)와 제 2컨텍스트 모델러(102)가 동일 코딩정보에 대한 모델링에 있어서 인접 블록의 코딩정보를 서로 다른 경우수로 구분하는 경우, 예를 들어, 상기 제 1컨텍스트 모델러(100)는 인접 블록의 코딩정보에 따른 경우수 구분을 대략적으로 하여 모델수를 적게하고, 상기 제 2컨텍스트 모델러(102)는 인접 블록의 코딩정보에 따른 경우수 구분을 보다 상세히 하여 모델 수를 더 많이 갖게 할 수 있다. 이와 같은 경우에는 상기 제 2컨텍스트 모델러(102)는 상기 제 1컨텍스트 모델러(100)가 모델링한 정보(11)와 인접 블록의 코딩정보를 모두 참조하여 인덱스 변수(ctxIdxInc)를 결정하게 된다.When the second context modeler 102 models arbitrary coding information, when the same coding information of an adjacent block is divided into the same number of cases as the first context modeler 100, the coding of the adjacent block is directly performed. The value of the index variable may be determined by referring only to the modeling information 11 provided from the first context modeler 100 without referring to the information. However, when the first context modeler 100 and the second context modeler 102 classify the coding information of adjacent blocks into different cases in modeling the same coding information, for example, the first context modeler 100 and the second context modeler 102. The context modeler 100 reduces the number of models by roughly classifying the number of cases according to coding information of an adjacent block, and the second context modeler 102 models the number of cases according to coding information of an adjacent block in more detail. You can have more. In this case, the second context modeler 102 determines the index variable ctxIdxInc by referring to both the information 11 modeled by the first context modeler 100 and the coding information of the adjacent block.

다르게는, 코딩정보와 상기 제 1컨텍스트 모델러(100)가 모델링한 정보(11)의 값에 따라 offset값이 결정되어 확률함수가 선정되고, 해당 코딩정보와 상관성이 있는 인접 블록의 코딩정보에 따라 그 결정된 offset값에서 인덱스 변수 (ctxIdxInc)의 값을 결정할 수도 있다.Alternatively, the offset value is determined according to the coding information and the value of the information 11 modeled by the first context modeler 100 to select a probability function, and according to the coding information of the adjacent block having correlation with the coding information. The value of the index variable (ctxIdxInc) may be determined from the determined offset value.

인덱스 변수가 결정되면 확률함수에 대해 적용할 초기값(valMPS,pStateIdx)을 결정( 도 3에 도시된 바와 같이, pStateIdx의 초기값이 정해지면, 그에 따라 LPS( 또는 MPS )의 초기 확률값이 정해진다. )함으로써 후단의 일반 코딩엔진(103)이 결정된 확률함수와 양 초기값(valMPS,pStateIdx)을 출발점으로 하여 입력비트들을 코딩(압축)하게 된다. When the index variable is determined, an initial value (valMPS, pStateIdx) to be applied to the probability function is determined (as shown in FIG. 3, when an initial value of pStateIdx is determined, an initial probability value of LPS (or MPS) is determined accordingly). In this case, the general coding engine 103 of the rear stage encodes (compresses) the input bits using the determined probability function and both initial values (valMPS, pStateIdx) as starting points.

지금까지의 설명은, 엔코더에서의 코딩정보의 압축과정을 전제로 한 것이나, 압축된 데이터를 해제하기 위한, 도 4의 CABAC 디코더에 대해서도 앞서 설명한 모델링 방법이 동일하게 적용될 수 있다.The above description is based on the compression process of coding information in the encoder, but the modeling method described above may be equally applied to the CABAC decoder of FIG. 4 for releasing the compressed data.

도 4의 CABAC 디코더의 컨텍스트 모델러(202)도, 도 1의 CABAC 코더에서의 제 2컨텍스트 모델러(102)가 임의 코딩정보에 대해, 확률코딩을 위한 모델링에서 채택한 방식과 동일한 방식으로, 인접 블록의 상관성이 있는 코딩정보(20)를 근거로 모델링하여 후단의 일반(regular) 디코딩 엔진(203)에 그 초기값을 넘겨주게 된다. 모델링을 할 때, 인접 블록의 코딩정보에 따른 현재 블록의 이진화 모델도 함께 파악하여 그 파악된 모델에 대한 정보(21)를 후단에 있는 역이진화부(201)에 전달한다. 물론, 역이진화를 위해 필요한 이진화 모델을 파악하기 위한 별도의 컨텍스트 모델러가 상기 역이진화부(201)에 전단에 배치될 수도 있다. 또한, 인접 블록의 코딩정보는, 현재 블록보다 앞서 상기 역이진화부(201)에 의해 역이진화되어 코딩정보의 경우가 파악된 후, 상기 컨텍스트 모델러(202)가 현재 블록의 이진화 모델 결정에 참조하도록 전달된다(22).The context modeler 202 of the CABAC decoder of FIG. 4 also uses the neighboring block of the adjacent block in the same manner as the second context modeler 102 in the CABAC coder of FIG. 1 employs in modeling for probability coding. The initial value is passed to the regular decoding engine 203 at a later stage by modeling based on the correlated coding information 20. When modeling, the binarization model of the current block according to the coding information of the adjacent block is also grasped and the information 21 of the identified model is transmitted to the inverse binarization unit 201 at the rear end. Of course, a separate context modeler for identifying the binarization model required for inverse binarization may be disposed at the front end of the inverse binarization unit 201. In addition, the coding information of the adjacent block is inversely binarized by the inverse binarization unit 201 prior to the current block, so that the context modeler 202 may refer to the determination of the binarization model of the current block. Delivered (22).

상기 일반 디코딩 엔진(203)은 임의 코딩정보의 비트에 대해서 엔코더의 일반 코딩 엔진(103)에서 출발한 초기값과 동일 값으로부터 출발하여 입력되는 압축된 비트들을 비압축 비트열로 변환하게 된다. 그리고, 후단의 역이진화부(201)는 변환된 비트열에 대해, 수신된 이진화 모델에 대한 정보(21)에 근거하여 해당 코딩정보의 값을 확인한다. 즉, 도 2의 매크로 블록 타입에 대한 모델링 예에서, 압축해제된 비트열이 "100"인 경우, 상기 컨텍스트 모델러(202)가 전달한 이진화 모델에 대한 정보(21)가 모델 2a에 대한 값이면, P_8x8 모드로, 모델 2b에 대한 값이면 P_16x16 모드로, 모델 2c에 대한 값이면 Direct 모드로, 모델 2d에 대한 값이면 P_8x16 모드로, 모델 2e에 대한 값이면 P_16x8로 확인하게 되는 것이다.The general decoding engine 203 converts the compressed bits inputted from the same value as the initial value starting from the general coding engine 103 of the encoder for bits of arbitrary coding information into an uncompressed bit string. The inverse binarization unit 201 checks the value of the corresponding coding information with respect to the transformed bit string based on the received information about the binarization model 21. That is, in the modeling example of the macroblock type of FIG. 2, when the decompressed bit string is "100", when the information 21 about the binarization model delivered by the context modeler 202 is a value for model 2a, In P_8x8 mode, the value for model 2b is P_16x16 mode, the value for model 2c is Direct mode, the value for model 2d is P_8x16 mode, and the value for model 2e is P_16x8.

전술한 방법에 따라 코딩정보에 대해 모델링하는 컨텍스트 모델러를 포함하는 디코더는, 이동통신 단말기 등에 실장되거나 또는 기록매체를 재생하는 장치에 실장될 수 있다.The decoder including a context modeler for modeling coding information according to the above-described method may be mounted in a mobile communication terminal or the like or in an apparatus for reproducing a recording medium.

본 발명은 전술한 전형적인 바람직한 실시예에만 한정되는 것이 아니라 본 발명의 요지를 벗어나지 않는 범위 내에서 여러 가지로 개량, 변경, 대체 또는 부가하여 실시할 수 있는 것임은 당해 기술분야에 통상의 지식을 가진 자라면 용이하게 이해할 수 있을 것이다. 이러한 개량, 변경, 대체 또는 부가에 의한 실시가 이하의 첨부된 특허청구범위의 범주에 속하는 것이라면 그 기술사상 역시 본 발명에 속하는 것으로 보아야 한다. It is to be understood that the present invention is not limited to the above-described exemplary preferred embodiments, but may be embodied in various ways without departing from the spirit and scope of the present invention. If you grow up, you can easily understand. If the implementation by such improvement, change, replacement or addition falls within the scope of the appended claims, the technical idea should also be regarded as belonging to the present invention.

제한된 실시예로써 상술한 바와 같이, 본 발명은, 인접 블록의 코딩정보에 근거하여 현재의 코딩정보에 대한 이진화 모델을 적응적으로 행함으로써, 확률적으로 높은 코딩정보의 값에 적은 비트수의 비트열이 할당되도록 한다. 또한 이러한 적응적 이진화 모델은, 코딩정보가 특정 비트값( 0 또는 1 )으로 치우칠 확률을, 획일적 비트 할당방법에 비해 보다 더 높게 만든다. 이는 이진화 후에 수행되는 확률 코딩에 의한 압축률을 보다 향상시키게 된다.As described above in a limited embodiment, the present invention adaptively performs a binarization model for the current coding information based on the coding information of the adjacent block, thereby reducing the number of bits of bits in the value of the probabilistic high coding information. Allow the column to be allocated. In addition, this adaptive binarization model makes the probability that the coding information is biased to a specific bit value (0 or 1) is higher than that of the uniform bit allocation method. This further improves the compression ratio by probability coding performed after binarization.

Claims (8)

영상신호의 코딩정보를 압축하기 위해 모델링하는 방법에 있어서,In the method for modeling to compress the coding information of the video signal, 영상 블록에 대한 코딩정보에 대해, 상기 코딩정보와 상관성이 있는 인접 블록의 코딩정보에 근거하여, 그 코딩정보의 이진화(binarization)에 적용할 복수의 모델에서 하나의 모델을 선정하는 단계를 포함하여 이루어지되,Selecting one model from a plurality of models to be applied to binarization of the coding information, based on the coding information of an adjacent block correlated with the coding information, with respect to the coding information of the image block. It's done, 상기 복수의 모델은 상기 인접 블록의 코딩정보의 경우에 따라 상호 구분되어 있는 것임을 특징으로 하는 방법.And the plurality of models are distinguished from each other according to the case of coding information of the adjacent block. 제 1항에 있어서,The method of claim 1, 상기 코딩정보와 상관성이 있는 인접 블록의 코딩정보는, 상기 영상블록의 코딩정보와 동일한 코딩정보인 것을 특징으로 하는 방법.And coding information of an adjacent block correlated with the coding information is the same coding information as that of the video block. 제 1항에 있어서,The method of claim 1, 상기 선정된 모델에 근거하여 이진화된 상기 영상블록에 대한 코딩정보를 산술코딩하기 위한 모델을 결정하는 단계를 더 포함하되, Determining a model for arithmetic coding the coding information for the binarized image block based on the selected model; 상기 이진화를 위해 선정된 모델 정보를 상기 산술코딩을 위한 모델 결정을 위한 근거로 사용하는 것을 특징으로 하는 방법.And using the model information selected for the binarization as a basis for model determination for the arithmetic coding. 제 1항에 있어서,The method of claim 1, 상기 복수의 모델내의 각 모델은, 상기 인접블록의 코딩정보에 따라 상기 영상블록의 코딩정보가 가질 수 있는 확률이 높은 경우에 대해 적은 수의 비트가 할당되도록 하는 모델임을 특징으로 하는 방법.Wherein each model in the plurality of models is a model that allows a small number of bits to be allocated for a case where the coding information of the image block has a high probability according to the coding information of the neighboring block. 압축된 영상신호의 코딩정보를 해제하기 위한 방법에 있어서,A method for releasing coding information of a compressed video signal, 영상 블록에 대한 이진화된 코딩정보에 대해, 상기 코딩정보와 상관성이 있는 인접 블록의 코딩정보에 근거하여, 그 코딩정보의 역이진화(inverse-binarization)에 적용할 복수의 모델에서 하나의 모델을 선정하는 단계를 포함하여 이루어지되,For the binarized coding information for an image block, one model is selected from a plurality of models to be applied to inverse-binarization of the coding information based on the coding information of an adjacent block correlated with the coding information. Including, but not limited to, 상기 복수의 모델은 상기 인접 블록의 코딩정보의 경우에 따라 상호 구분되어 있는 것임을 특징으로 하는 방법.And the plurality of models are distinguished from each other according to the case of coding information of the adjacent block. 제 5항에 있어서,The method of claim 5, 상기 코딩정보와 상관성이 있는 인접 블록의 코딩정보는, 상기 영상블록의 코딩정보와 동일한 코딩정보인 것을 특징으로 하는 방법.And coding information of an adjacent block correlated with the coding information is the same coding information as that of the video block. 제 5항에 있어서,The method of claim 5, 상기 인접 블록은, 상기 영상블록에 앞서 그 코딩정보가 역이진화되는 블록인 것을 특징으로 하는 방법.The adjacent block is a block in which the coding information is inversely binarized prior to the video block. 제 5항에 있어서,The method of claim 5, 상기 복수의 모델내의 각 모델은, 상기 인접블록의 코딩정보에 따라 상기 영상블록의 코딩정보가 가질 수 있는 확률이 높은 경우에 대해 적은 수의 비트가 할당되도록 하는 모델임을 특징으로 하는 방법.Wherein each model in the plurality of models is a model that allows a small number of bits to be allocated for a case where the coding information of the image block has a high probability according to the coding information of the neighboring block.
KR1020050126784A 2005-07-18 2005-12-21 Method for modeling coding information of a video signal to compress/decompress the information KR20070011050A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US69985805P 2005-07-18 2005-07-18
US60/699,858 2005-07-18

Publications (1)

Publication Number Publication Date
KR20070011050A true KR20070011050A (en) 2007-01-24

Family

ID=38012163

Family Applications (2)

Application Number Title Priority Date Filing Date
KR1020050126784A KR20070011050A (en) 2005-07-18 2005-12-21 Method for modeling coding information of a video signal to compress/decompress the information
KR1020050126790A KR20070011051A (en) 2005-07-18 2005-12-21 Method for changing a probability state in entropy coding/decoding

Family Applications After (1)

Application Number Title Priority Date Filing Date
KR1020050126790A KR20070011051A (en) 2005-07-18 2005-12-21 Method for changing a probability state in entropy coding/decoding

Country Status (1)

Country Link
KR (2) KR20070011050A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10410114B2 (en) 2015-09-18 2019-09-10 Samsung Electronics Co., Ltd. Model training method and apparatus, and data recognizing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10410114B2 (en) 2015-09-18 2019-09-10 Samsung Electronics Co., Ltd. Model training method and apparatus, and data recognizing method

Also Published As

Publication number Publication date
KR20070011051A (en) 2007-01-24

Similar Documents

Publication Publication Date Title
KR100878827B1 (en) Method for modeling coding information of a video signal to compress/decompress the information
KR101158439B1 (en) Method for modeling coding information of video signal for compressing/decompressing coding information
KR100878826B1 (en) Method for modeling coding information of video signal for compressing/decompressing coding information
KR102631388B1 (en) Context initialization in entropy coding
US9313498B2 (en) Sign hiding techniques for quantized transform coefficients in video coding
US20080219578A1 (en) Method and apparatus for context adaptive binary arithmetic coding and decoding
JP7389898B2 (en) Method and apparatus for coding residuals and coefficients
WO2013067334A2 (en) Intra-mode video coding
KR101041973B1 (en) Flag encoding method, flag decoding method, and apparatus thereof
US7348903B2 (en) Method and apparatus for enhancing performance of entropy coding, and video coding method and apparatus using the entropy coding performance enhancing method
US11695962B2 (en) Encoding and decoding methods and corresponding devices
KR101983441B1 (en) Acceleration of context adaptive binary arithmetic coding (cabac) in video codecs
JP2021520087A (en) Methods and equipment for video coding and decoding based on CABAC&#39;s neural network implementation
KR20070011050A (en) Method for modeling coding information of a video signal to compress/decompress the information
CN113225567A (en) Method and device for encoding and decoding residual error coefficients of video data and electronic equipment
CN117426090A (en) Video decoding and encoding method and device and storage medium

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination