KR101979781B1 - Apparatus and Method of Adaptive Quantization Parameter Encoding and Decoder based on Quad Tree Structure - Google Patents

Apparatus and Method of Adaptive Quantization Parameter Encoding and Decoder based on Quad Tree Structure Download PDF

Info

Publication number
KR101979781B1
KR101979781B1 KR1020180076963A KR20180076963A KR101979781B1 KR 101979781 B1 KR101979781 B1 KR 101979781B1 KR 1020180076963 A KR1020180076963 A KR 1020180076963A KR 20180076963 A KR20180076963 A KR 20180076963A KR 101979781 B1 KR101979781 B1 KR 101979781B1
Authority
KR
South Korea
Prior art keywords
inverse quantization
block
value
quantization parameter
difference value
Prior art date
Application number
KR1020180076963A
Other languages
Korean (ko)
Other versions
KR20180081479A (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 KR1020180076963A priority Critical patent/KR101979781B1/en
Publication of KR20180081479A publication Critical patent/KR20180081479A/en
Application granted granted Critical
Publication of KR101979781B1 publication Critical patent/KR101979781B1/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/124Quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/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/119Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
    • 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/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/189Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding
    • H04N19/196Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards

Abstract

영상 부호화/복호화 방법 및 장치가 개시된다. 본 발명에 따른 영상 복호화 장치는 역양자화 차분 값이 기록되는 블록의 단위를 결정하는 역양자화 차분 값 기록 블록 단위 결정부, 상기 블록에 할당된 역양자화 파라미터를 복호화하기 위해 상기 블록 주변에 위치하는 주변 블록의 위치 정보를 이용하여 역양자화 파라미터 예측에 사용될 블록을 결정하는 역양자화 파라미터 예측 블록 결정부, 역양자화 차분 값과 상기 역양자화 파라미터 예측에 사용될 블록을 기반으로 유도된 역양자화 파라미터 예측값을 이용하여 역양자화 파라미터 값을 구하는 역양자화 파라미터 값 도출부 및 상기 역양자화 파라미터 값을 이용하여 역양자화를 수행하는 역양자화부를 포함한다. A video encoding / decoding method and apparatus are disclosed. An apparatus for decoding an image according to the present invention includes an inverse quantization difference value recording block unit determination unit for determining a unit of a block in which an inverse quantization difference value is to be recorded, An inverse quantization parameter prediction block determining unit for determining a block to be used for prediction of the inverse quantization parameter using the position information of the block, an inverse quantization parameter estimating unit for estimating the inverse quantization parameter based on the inverse quantization difference value, An inverse quantization parameter value deriving unit for obtaining an inverse quantization parameter value, and an inverse quantization unit for performing inverse quantization using the inverse quantization parameter value.

Description

쿼드트리 구조 기반의 적응적 양자화 파라미터 부호화 및 복호화 방법 및 장치{Apparatus and Method of Adaptive Quantization Parameter Encoding and Decoder based on Quad Tree Structure}BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for encoding and decoding an adaptive quantization parameter based on a quad tree structure,

본 발명은 영상 부호화/복호화 장치 및 방법에 관한 것으로서, 보다 상세하게는 LCU 내의 CU들에 대하여 쿼트트리 구조를 기반으로 양자화/역양자화 차분 값을 갖는 블록을 표시하고, 부호화/복호화 하려는 블록의 주변에 위치하는 블록들의 문맥 정보를 이용하여 양자화/역양자화 파라미터 값을 적응적으로 예측/복호하는 영상 부호화/복호화 방법 및 장치에 관한 것이다. The present invention relates to an image encoding / decoding apparatus and method, and more particularly, to an image encoding / decoding apparatus and method for displaying a block having a quantization / dequantization difference value based on a quadtree structure with respect to CUs in an LCU, And a method and apparatus for adaptively predicting / decoding a quantization / dequantization parameter value using context information of blocks located in a block.

HEVC는 입력 영상을 CU(Coding Unit) 단위로 부호화/복호화 한다. 프레임 내에서 최대 크기의 CU를 LCU(Largest Coding Unit)라고 하며, 이러한 LCU는 쿼드트리 분할 정보를 바탕으로 다수의 CU로 분할된 후 부호화/복호화가 수행될 수 있다. HEVC의 양자화 파라미터 값은 LCU 단위에서 하나의 값이 할당되며, 래스터 스캔 순서를 기준으로 이전에 위치하는 LCU에서 현재 부호화하려는 LCU의 양자화 파라미터 값을 예측한다. The HEVC encodes / decodes the input image in units of CU (Coding Unit). The maximum size CU in a frame is called an LCU (Largest Coding Unit). The LCU can be divided into a plurality of CUs based on the quadtree division information, and then encoded / decoded. The quantization parameter values of the HEVC are assigned one value in units of LCU, and the quantization parameter value of the LCU to be encoded is predicted in the LCU located before based on the raster scan order.

H.264/AVC는 매크로블록 단위로 부호화/복호화가 수행되며, 매크로블록 단위로 양자화/역양자화 값을 갖는다. 매크로블록 단위로 할당되는 양자화 파라미터 값은 프레임 내에서 왼쪽에 위치하는 매크로블록의 양자화 파라미터 값으로부터 예측된다. 양자화 파라미터의 값의 예측 과정 후에 발생하는 차분 값에 대하여 부호화하려는 매크로블록에서 해당 값을 적어줌으로써 부호화를 수행한다. 복호화기는 엔트로피 복호화 단계에서 복호된 양자화 파라미터 차분 값과 왼쪽에 위치하는 매크로블록의 양자화 파라미터 값을 더해줌으로써 양자화 파라미터 값을 복호한다.H.264 / AVC is encoded / decoded in units of macroblocks and has quantization / dequantization values in units of macroblocks. The quantization parameter values allocated on a macroblock basis are predicted from the quantization parameter values of macroblocks located on the left in the frame. Encoding is performed by writing the corresponding value in the macroblock to be encoded with respect to the difference value generated after the prediction process of the value of the quantization parameter. The decoder decodes the quantization parameter value by adding the quantization parameter difference value decoded in the entropy decoding step and the quantization parameter value of the macro block located on the left.

그러나 입력 영상의 크기에 비하여 상대적으로 큰 LCU가 할당되는 경우에는 LCU 단위로 기록되는 양자화 파라미터 값를 이용하여 효과적으로 비트레이트 컨트롤을 할 수 없다. 또한, CU 단위로 양자화 파라미터 값을 할당하는 경우에는 주변 CU와의 양자화 파라미터 값의 차이로 인한 주관적 화질이 저하 문제가 발생할 수 있다. 따라서, 입력 영상에 따라 CU에서부터 LCU 단위까지 다양한 블록 크기에 양자화 파라미터 값을 할당 할 수 있고, 부호화하려는 블록의 주변에 위치하는 블록들의 문맥 정보를 이용하여 양자화 파라미터의 예측 방향을 최적화하는 것이 필요하다. However, when a relatively large LCU is allocated as compared with the size of the input image, it is not possible to effectively control the bit rate using quantization parameter values recorded in units of LCUs. In addition, when a quantization parameter value is allocated in units of CU, a problem of lowering subjective image quality due to a difference of quantization parameter values with neighboring CUs may occur. Accordingly, it is necessary to allocate quantization parameter values to various block sizes from CU to LCU according to the input image, and to optimize the prediction direction of the quantization parameter using the context information of the blocks located around the block to be encoded .

본 발명이 해결하고자 하는 과제는 CU의 분할 정보를 바탕으로 다양 쿼드트리 구조 기반의 양자화/역양자화 파라미터 값을 부호화/복호화 하는 방법 및 장치를 제공하는 것이다. 그리고 이러한 양자화/역양자화 파라미터 부호화/복호화 방법 및 장치는 주변 블록의 문맥 정보를 이용하여 양자화/역양자화 파라미터 값을 효과적인 방향에서 예측할 수 있는 방법 및 장치도 제공한다.SUMMARY OF THE INVENTION It is an object of the present invention to provide a method and apparatus for encoding / decoding quantization / dequantization parameter values based on various quad tree structures based on division information of CUs. The quantization / dequantization parameter encoding / decoding method and apparatus also provide a method and apparatus for predicting quantization / dequantization parameter values in an effective direction using context information of neighboring blocks.

본 발명의 해결 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.The present invention has been made in view of the above problems, and it is an object of the present invention to provide an apparatus and method for controlling the same.

상기 과제를 해결하기 위한 본 발명의 실시 예에 따른 영상 부호화 장치는 영상 내의 LCU 가 쿼드트리 형태로 다수의 CU로 분할되거나 또는 단일의 CU로 부호화 되는 경우에 있어서, 양자화 파라미터 차분 값이 기록되는 블록의 단위를 결정하는 양자화 차분 값 기록 블록 단위 결정부, 블록 단위로 할당된 양자화 값을 이용하여 양자화를 수행하는 양자화부, 부호화하려는 블록에서 사용한 양자화 값을 예측하기 위하여 주변의 블록의 문맥 정보를 이용하여 적응적으로 예측 블록을 결정하는 양자화 예측 블록 결정부, 문맥 정보를 기반으로 구한 예측 블록의 양자화 파라미터를 이용하여 부호화하는 블록의 양자화 차분 값을 생성하는 양자화 파라미터 차분 값 생성부, 양자화 차분 값 기록 블록 단위에 대한 분할 정보와 해당 블록에서의 양자화 파라미터 차분 값들을 기록하는 양자화 파라미터 기록부를 포함한다. According to an aspect of the present invention, there is provided an apparatus and method for encoding an image, the method comprising the steps of: A quantization unit for performing quantization using the quantization values allocated on a block-by-block basis, and a quantization unit for determining the quantization value using the context information of neighboring blocks in order to predict a quantization value used in a block to be encoded A quantization parameter difference value generation unit for generating a quantization difference value of a block to be encoded using a quantization parameter of a prediction block obtained based on context information, a quantization parameter difference value generation unit for quantizing a difference value The division information for the block unit and the quantization parameter Minutes and a quantization parameter recording unit operable to record the value.

상기 과제를 해결하기 위한 본 발명의 실시 예에 따른 영상 복호화 장치는 LCU 단위에서 역양자화 파라미터 차분 값을 가지고 있는 블록에 대한 정보를 복호화하는 역양자화 파라미터 차분 값 블록 분할 플래그 도출부, 복호된 역양자화 파라미터 차분 값 블록 분할 플래그를 이용하여 LCU 내에서 역양자화 차분 값이 기록된 블록 단위를 결정하는 역양자화 차분 값 기록 블록 단위 결정부, 역양자화 파라미터 차분 값 블록 분할 플래그에 따라 역양자화 파라미터 차분 값을 복호화하는 역양자화 파라미터 차분 값 도출부, 복호화하려는 블록의 역양자화 파라미터 값을 복호화기 위하여 예측에 사용된 블록을 주변 블록의 문맥 정보를 이용하여 결정하는 역양자화 파라미터 값 예측 블록 결정부, 역양자화 과정에 사용되는 역양자화 파라미터 값을 복호화하는 역양자화 파라미터 값 도출부, 복호화된 역양자화 파라미터 값을 이용하여 역양자화를 수행하는 역양자화부를 포함한다.According to an aspect of the present invention, there is provided an image decoding apparatus including an inverse quantization parameter difference value block division flag derivation unit for decoding information on a block having an inverse quantization parameter difference value in units of LCUs, An inverse quantization difference value block determination unit for determining a block unit in which an inverse quantization difference value is recorded in the LCU by using a parameter difference value block division flag, and an inverse quantization parameter difference value determination unit for determining an inverse quantization parameter difference value An inverse quantization parameter difference value derivation unit for decoding the inverse quantization parameter difference value of the block to be decoded, an inverse quantization parameter value derivation unit for decoding the inverse quantization parameter difference value of the block to be decoded using the context information of the neighboring block, To decode the inverse quantization parameter value Inverse quantization parameter value derivation unit, using the decoded inverse quantization parameter value and comprising an inverse quantizer that performs inverse quantization.

본 발명의 실시 예에 따른 쿼드트리 구조 기반의 적응적 양자화/역양자화 파라미터 부호화 및 복호화 방법 및 장치는 쿼드트리 구조로 블록이 분할된 경우에 다양한 레벨로 양자화 파라미터 차분 값을 할당하는 것을 가능하게 한다. 이런 다양한 레벨의 양자화 파라미터 차분 값 할당은 LCU 단위에서 단일의 양자화 파라미터 값을 할당하는 것에 비하여 보다 세밀한 비트량 조정이 가능해진다. 그리고 블록 단위의 양자화/역양자화 파라미터 값을 예측/복호화 할 때, 쿼드트리 구조를 기반으로 하는 지그재그 스캔 방식뿐만 아니라 주변 블록의 문맥 정보를 이용하여 적응적으로 예측 방향을 결정함으로써 주변 블록과의 양자화 값의 큰 차이로 인하여 발생할 수 있는 주관적 화질 저하 문제도 해결할 수 있다. The quad tree structure based adaptive quantization / dequantization parameter encoding and decoding method and apparatus according to the present invention enable allocation of quantization parameter difference values at various levels when blocks are divided in a quadtree structure . This different level of quantization parameter difference value assignment allows more finer bit amount adjustment than assigning a single quantization parameter value in LCU units. When predicting / decoding the quantization / dequantization parameter value of a block unit, not only a zigzag scanning method based on a quadtree structure but also a quantization process with surrounding blocks is performed by determining a prediction direction adaptively using context information of neighboring blocks, It is possible to solve the subjective image quality degradation problem that may occur due to a large difference in the values.

도 1a는 본 발명의 제1 실시 예로 영상 부호화 장치에서 쿼드트리 구조를 갖는 블록에 대하여 적응적으로 양자화 파라미터 값을 할당하고 이를 부호화하는 방법 및 장치에 관한 것이다.
도 1b는 본 발명의 제1 실시 예로 영상 복호화 장치에서 쿼드트리 구조 기반의 적응적 역양자화 파라미터 복호화 방법 및 장치에 대하여 설명한다.
도 2는 본 발명의 제1 실시 예로 영상 복호화 장치의 구성에 대한 것이다.
도 3은 본 발명의 제1 실시 예에 따른 시퀀스 파라미터 셋에 기록되는 쿼드트리 구조 기반의 양자화 차분 값 제어를 위한 문맥에 대한 것이다.
도 4은 본 발명의 제1 실시 예에 따른 슬라이스 데이터에서 초기 값으로 설정되는 변수들에 대한 것이다.
도 5는 본 발명의 제1 실시 예에 따른 CU 단위로 기록되는 양자화/역양자화 파라미터 차분 값과 해당 차분 값이 존재하는 조건의 문맥에 관한 것이다.
도 6은 본 발명의 실시예에 따른 양자화 차분 값 기록 블록 단위 결정부와 역양자화 차분 값 기록 블록 단위 결정부의 동작에 관한 것이다.
도 7은 본 발명의 제 1 실시예에 따른 양자화 파라미터 값 예측 블록 결정부와 역양자화 파라미터 값 예측 블록 결정부에 관한 것이다.
도 8은 본 발명의 제 2 실시예에 따른 양자화 파라미터 값 예측 블록 결정부와 역양자화 파라미터 값 예측 블록 결정부에 관한 것이다.
도 9는 본 발명의 제 3 실시예에 따른 양자화 파라미터 값 예측 블록 결정부와 역양자화 파라미터 값 예측 블록 결정부에 관한 것이다.
도 10은 본 발명의 제 4 실시예에 따른 양자화 파라미터 값 예측 블록 결정부(102)와 역양자화 파라미터 값 예측 블록 결정부(123)에 관한 것이다.
도 11은 본 발명의 제 5 실시예에 따른 양자화 파라미터 값 예측 블록 결정부와 역양자화 파라미터 값 예측 블록 결정부에 관한 것이다.
FIG. 1A is a first embodiment of the present invention, which relates to a method and apparatus for adaptively assigning quantization parameter values to a block having a quad-tree structure in an image encoding apparatus and encoding the quantized parameter values.
FIG. 1B illustrates a method and an apparatus for decoding an adaptive inverse quantization parameter based on a quad tree structure in a video decoding apparatus according to a first embodiment of the present invention.
2 is a block diagram of a video decoding apparatus according to a first embodiment of the present invention.
FIG. 3 illustrates a context for quantization differential value control based on a quadtree structure recorded in a sequence parameter set according to the first embodiment of the present invention.
FIG. 4 is a diagram illustrating variables set as initial values in the slice data according to the first embodiment of the present invention.
FIG. 5 relates to a quantization / inverse quantization parameter difference value recorded in a unit of CU according to the first embodiment of the present invention and a context of a condition in which the difference value exists.
FIG. 6 illustrates operations of a quantization difference value recording block unit determination unit and an inverse quantization difference value recording block unit determination unit according to an embodiment of the present invention.
7 is a block diagram of a quantization parameter value prediction block determination unit and an inverse quantization parameter value prediction block determination unit according to the first embodiment of the present invention.
8 is a block diagram of a quantization parameter value prediction block determination unit and an inverse quantization parameter value prediction block determination unit according to a second embodiment of the present invention.
9 is a block diagram of a quantization parameter value prediction block determination unit and an inverse quantization parameter value prediction block determination unit according to a third embodiment of the present invention.
FIG. 10 shows a quantization parameter value prediction block determination unit 102 and an inverse quantization parameter value prediction block determination unit 123 according to a fourth embodiment of the present invention.
11 is a block diagram of a quantization parameter value prediction block determination unit and an inverse quantization parameter value prediction block determination unit according to a fifth embodiment of the present invention.

이하, 첨부된 도면들을 참조하여 본 발명의 실시 예에 따른 쿼드트리 구조 기반의 적응적 양자화/역양자화 파라미터 부호화 및 복호화 장치에 대하여 설명한다. Hereinafter, an adaptive quantization / dequantization parameter encoding and decoding apparatus based on a quadtree structure according to an embodiment of the present invention will be described with reference to the accompanying drawings.

도 1a는 본 발명의 제1 실시 예로 영상 부호화 장치에서 쿼드트리 구조를 갖는 블록에 대하여 적응적으로 양자화 파라미터 값을 할당하고 이를 부호화하는 방법 및 장치에 관한 것이다. FIG. 1A is a first embodiment of the present invention, which relates to a method and apparatus for adaptively assigning quantization parameter values to a block having a quad-tree structure in an image encoding apparatus and encoding the quantized parameter values.

도 1a를 참조하면 쿼드트리 구조 기반의 적응적 양자화 파라미터 부호화 방법 및 장치는 양자화 차분 값 기록 블록 단위 결정부(100), 양자화부(101), 양자화 파라미터 값 예측 블록 결정부(102), 양자화 파라미터 차분 값 생성부(103), 양자화 파라미터 기록부(104)를 포함한다. 1A, a method and apparatus for adaptive quantization parameter coding based on a quad tree structure includes a quantization difference value recording block unit determination unit 100, a quantization unit 101, a quantization parameter value prediction block determination unit 102, A difference value generation unit 103, and a quantization parameter recording unit 104. [

양자화 차분 값 기록 블록 단위 결정부(100)는 영상 내의 LCU 단위에서 해당 LCU의 CU 분할 정보에 기반하여 각 CU 단위 또는 여러 개의 CU의 묶음들에 대하여 양자화 차분 값을 기록할 수 있도록 블록 단위를 결정한다. 양자화 차분 값을 기록하는 블록의 정보는 퀴드트리 구조로 구성될 수 있다.The quantization difference value recording block unit determination unit 100 determines a block unit so that a quantization difference value can be recorded for each CU unit or a plurality of sets of CUs based on the CU division information of the corresponding LCU in units of LCUs in an image do. The information of the block for recording the quantization difference value may be constituted by a quadtree structure.

양자화부(101)는 입력 블록에 대하여 블록에 할당된 양자화 파라미터를 값을 이용하여 양자화를 수행한다. The quantization unit 101 quantizes the input block using the quantization parameter assigned to the block.

양자화 파라미터 값 예측 블록 결정부(102)는 각 CU 또는 임의의 CU에 할당된 양자화 값을 효과적으로 부호화하기 위하여 해당 CU의 주변에 위치하는 CU의 문맥 정보를 이용하여 양자화 값의 예측에 사용할 예측 블록을 결정한다. 문맥 정보로는 블록의 크기, 블록의 위치, 블록의 예측 모드 등이 사용될 수 있다.The quantization parameter value prediction block determination unit 102 uses the context information of the CU located in the periphery of the corresponding CU to effectively quantize the quantization values allocated to the respective CUs or arbitrary CUs, . As the context information, a size of a block, a position of a block, a prediction mode of a block, and the like can be used.

양자화 파라미터 차분 값 생성부(103)는 양자화 파라미터 값 예측 블록 결정부(102)에서 결정한 양자화 값 예측 블록의 양자화 파라미터 값에서 현재 블록의 양자화 값을 빼줌으로써 양자화 파라미터 차분 값을 생성한다. The quantization parameter difference value generation unit 103 generates a quantization parameter difference value by subtracting the quantization value of the current block from the quantization parameter value of the quantization value prediction block determined by the quantization parameter value prediction block determination unit 102. [

양자화 파라미터 기록부(104)는 쿼드트리 구조 기반의 적응적 양자화 파라미터 부호화를 위하여 시퀀스 파라미터 셋, 슬라이스 단위로 적용/비적용에 관한 플래그 정보와 LCU에서 양자화 차분 값을 포함하는 블록의 분할 정보를 나타내는데 사용하는 플래그 정보, 및 양자화 파라미터 차분 값을 엔트로피 부호화하는 역할을 한다. The quantization parameter recording unit 104 is used for indicating a sequence parameter set for adaptive quantization parameter coding based on a quad tree structure, flag information on application / non-application in units of slices, and division information of a block including a quantization difference value in the LCU Flag information, and the quantization parameter difference value.

도 1b는 본 발명의 제1 실시 예로 영상 복호화 장치에서 쿼드트리 구조 기반의 적응적 역양자화 파라미터 복호화 방법 및 장치에 대하여 설명한다. FIG. 1B illustrates a method and an apparatus for decoding an adaptive inverse quantization parameter based on a quad tree structure in a video decoding apparatus according to a first embodiment of the present invention.

도 1b를 참조하면 쿼드트리 구조 기반의 적응적 역양자화 파라미터 복호화 방법 및 장치는 역양자화 파라미터 차분 값 블록 분할 플래그 도출부(120), 역양자화 차분 값 기록 블록 단위 결정부(121), 역양자화 파라미터 차분 값 도출부(122), 역양자화 파라미터 값 예측 블록 결정부(123), 역양자화 파라미터 값 도출부(124), 역양자화부(125)를 포함한다. Referring to FIG. 1B, a method and apparatus for decoding an adaptive inverse quantization parameter based on a quad tree structure includes an inverse quantization parameter difference value block division flag derivation unit 120, an inverse quantization difference value recording block unit determination unit 121, A difference value derivation unit 122, an inverse quantization parameter value prediction block determination unit 123, an inverse quantization parameter value derivation unit 124, and an inverse quantization unit 125. [

역양자화 파라미터 차분 값 블록 분할 플래그 도출부(120)는 시퀀스 파라미터 셋, 슬라이스 데이터에서 LCU 단위로 역양자화 파라미터 차분 값을 가지고 있는 블록에 대한 블록 분할 플래그를 복호화한다. The inverse quantization parameter difference value block division flag derivation unit 120 decodes a block division flag for a block having an inverse quantization parameter difference value in LCU units in a sequence parameter set and slice data.

역양자화 차분 값 기록 블록 단위 결정부(121)는 복호화된 역양자화 파라미터 차분 값 블록 분할 플래그와 CU 분할 플래그를 이용하여 역양자화 파라미터 차분 값이 기록되는 블록들을 결정한다. 양자화 차분 값을 기록하는 블록의 정보는 퀴드트리 구조로 구성될 수 있다.The inverse quantization difference value recording block unit determination unit 121 determines the blocks in which the inverse quantization parameter difference value is recorded using the decoded inverse quantization parameter difference value block division flag and the CU division flag. The information of the block for recording the quantization difference value may be constituted by a quadtree structure.

역양자화 파라미터 차분 값 도출부(122)는 상기 역양자화 차분 값 기록 블록 단위 결정부(121)가 결정한 각 블록에 대한 역양자화 파라미터 차분 값을 도출한다.The inverse quantization parameter difference value derivation unit 122 derives an inverse quantization parameter difference value for each block determined by the inverse quantization difference value recording block unit determination unit 121. [

역양자화 파라미터 값 예측 블록 결정부(123)는 역양자화를 수행할 때 주변 블록의 문맥 정보를 이용하여 적응적으로 참조할 블록을 결정한다. 문맥 정보로는 블록의 크기, 블록의 위치, 블록의 예측 모드 등이 사용될 수 있다. The inverse quantization parameter value prediction block determination unit 123 determines a block to be referred to adaptively using the context information of a neighboring block when inverse quantization is performed. As the context information, a size of a block, a position of a block, a prediction mode of a block, and the like can be used.

역양자화 파라미터 값 도출부는(124)는 상기 역양자화 파라미터 값 예측 블록 결정부(123)를 통해서 계산된 예측 블록의 역양자화 파라미터 값과 상기 역양자화 파라미터 차분 값 도출부(122)에서 계산된 역양자화 파라미터 차분 값을 더해줌으로써 역양자부(125)에 사용할 역양자화 파라미터 값을 도출한다. The inverse quantization parameter value derivation unit 124 obtains the inverse quantization parameter value of the prediction block calculated through the inverse quantization parameter value prediction block determination unit 123 and the inverse quantization parameter value derivation unit 122 using the inverse quantization parameter value derivation unit 122. [ The inverse quantization parameter value to be used for the inverse quantization unit 125 is derived by adding the parameter difference value.

역양자화부(125)는 입력 블록에 대하여 상기 역양자화 파라미터 값 도출부(124)에서 계산된 파라미터 등을 이용하여 역양자화를 수행한다. The inverse quantization unit 125 performs inverse quantization on the input block using the parameters calculated in the inverse quantization parameter value derivation unit 124 and the like.

도 2는 본 발명의 제1 실시 예로 영상 복호화 장치의 구성에 대한 것이다. 2 is a block diagram of a video decoding apparatus according to a first embodiment of the present invention.

도 2를 참조하면 영상 복호화 장치는 엔트로피 복호화부(200), 쿼드트리 기반 역양자화 파라미터 도출부(210), 재정렬부(220), 역양자화부(230), 역이산여현변환 부호화부(240), 인트라/인터 예측부(250), 필터링부(260)를 포함한다. 2, the image decoding apparatus includes an entropy decoding unit 200, a quadtree-based dequantization parameter deriving unit 210, a reordering unit 220, an inverse quantization unit 230, an inverse discrete cosine transform encoding unit 240, An intra / inter prediction unit 250, and a filtering unit 260.

엔트로피 복호화부(200)는 쿼드트리 구조 기반의 적응적 역양자화를 위하여 쓰여지는 블록 분할 플래그를 도출하는 역양자화 파라미터 차분 값 블록 분할 플래그 도출부(120), 상기 도출된 블록 분할 플래그로부터 양자화 파리미터를 기록한 블록을 판단하는 역양자화 차분 값 기록 블록 단위 결정부(121), 해당 블록에 기록되는 역양자화 파라미터 차분 값을 복호화하는, 역양자화 파라미터 차분 값 도출부(122)를 포함한다. The entropy decoding unit 200 includes an inverse quantization parameter difference value block division flag derivation unit 120 for deriving a block division flag written for adaptive inverse quantization based on a quad tree structure, An inverse quantization difference value recording block unit determination unit 121 for determining a recorded block, and an inverse quantization parameter difference value derivation unit 122 for decoding the inverse quantization parameter difference value recorded in the corresponding block.

쿼드트리 기반 역양자화 파라미터 도출부(210)는 역양자화 파라미터를 복호화할 때 참조하는 예측 블록을 결정하는 역양자화 파라미터 값 예측 블록 결정부(123)와 예측 블록의 역양자화 파라미터와 도출된 역양자화 파라미터 차분 값을 더하여 역양자화 파라미터를 계산하는 역양자화 파라미터 값 도출부(124)를 포함하며, 해당 블록은 쿼드트리 구조의 블록에 대해서 역양자화 파라미터를 복원하는 역할을 수행한다. The quadtree-based dequantization parameter derivation unit 210 includes an inverse quantization parameter value prediction block determination unit 123 that determines a prediction block to be referred to when decoding the inverse quantization parameter, a dequantization parameter determination unit 123 that determines an inverse quantization parameter And an inverse quantization parameter value derivation unit 124 for computing an inverse quantization parameter by adding the difference value, and the inverse quantization parameter value derivation unit 124 restores the inverse quantization parameter for the block of the quad tree structure.

도 3은 본 발명의 제1 실시 예에 따른 시퀀스 파라미터 셋에 기록되는 쿼드트리 구조 기반의 양자화 차분 값 제어를 위한 문맥에 대한 것이다. FIG. 3 illustrates a context for quantization differential value control based on a quadtree structure recorded in a sequence parameter set according to the first embodiment of the present invention.

시퀀스 파라미터 셋에 cu_qp_delta_enabled_flag(300)값이 1인 경우에는 시퀀스 내의 모든 슬라이스에서 최소 크기의 CU 부터 최대 크기의 CU로 까지 다양한 쿼드트리 블록에 대하여 양자화/역양자화 파라미터 차분 값을 제어 할 수 있다는 것을 의미한다. If the value of cu_qp_delta_enabled_flag (300) in the sequence parameter set is 1, it means that the quantization / dequantization parameter difference value can be controlled for various quad-tree blocks from the minimum size CU to the maximum size CU in all the slices in the sequence do.

도 4a는 본 발명의 제1 실시 예에 따른 슬라이스 데이터에서 초기 값으로 설정되는 변수들에 대한 것이다. FIG. 4A is a diagram illustrating variables set as initial values in the slice data according to the first embodiment of the present invention.

슬라이스가 쿼드트리 구조로 분할되어 부호화/복호화 되는 경우에 최대 크기의 쿼드트리인 LCU 단위로 먼저 분할되고, 해당 LCU들에 대해서 순차 주사 방식의 순서대로 부호화/복호화가 수행된다. 각 LCU를 부호화/복호화하는 경우에 있어서, 해당 LCU는 다시 쿼드트리 구조 기반의 다수의 CU 영역으로 분할될 수 있으며, 이러한 분할은 최소 CU의 크기 전까지 분할 과정이 수행될 수 있다. When a slice is divided into a quad tree structure and is encoded / decoded, the slice is first divided into LCU units of a maximum size quad tree, and the LCUs are encoded / decoded in order of the sequential scanning scheme. In the case of encoding / decoding each LCU, the corresponding LCU can be divided into a plurality of CU regions based on a quadtree structure, and the division can be performed until the minimum CU size.

도 4a에서 isCuQpDeltaCoded(400)는 임의의 CU가 다시 N개의 CU로 쪼개질 때 각 CU에서 기록될 수 있는 양자화/역양자화 파라미터 차분 값을 제어 하기 위한 변수이다. 이 값은 슬라이스에서 각 LCU에 대한 부호화/복호화를 수행하기 전에 항상 0으로 초기화 된다. In FIG. 4A, isCuQpDeltaCoded 400 is a variable for controlling the quantization / dequantization parameter difference value that can be recorded in each CU when an arbitrary CU is again divided into N CUs. This value is always initialized to zero before performing the encoding / decoding for each LCU in the slice.

도 4a에서 coding_tree(401) 함수는 슬라이스 내에서 하나의 LCU에 대한 부호화/복호화를 수행하는 함수이다. 이 함수의 네 번째 인자 값의 의미는 해당 CU 내에서 양자화/역양자화 파라미터 차분 값이 존재하는지에 대한 플래그이며, LCU 단위에서는 최소 한 개의 양자화/역양자화 파라미터 차분 값이 기록되므로 슬라이스 내에서 각 LCU를 부호화/복호화를 수행하기 전에 이 값은 항상 1로 호출된다. In FIG. 4A, the coding_tree (401) function is a function for performing encoding / decoding on one LCU in a slice. The fourth argument of the function is a flag indicating whether a quantization / dequantization parameter difference value exists in the corresponding CU. Since at least one quantization / dequantization parameter difference value is recorded in an LCU unit, This value is always called 1 before encoding / decoding.

도 4b는 본 발명의 제1 실시 예에 따른 코딩 트리 블록에 기록되는 역양자화 파라미터 차분 값 블록 분할에 대한 문맥에 관한 것이다. FIG. 4B relates to the context of the inverse quantization parameter difference value block division recorded in the coding tree block according to the first embodiment of the present invention.

코딩 트리 블록은 CU에 대한 문맥을 표현하는데, 2N×2N 크기의 CU는 split_coding_unit_flag(420)에 따라 N×N 크기를 갖는 네 개의 CU로 분할된 후 부호화/복화화될 수 있다. 또는, 더 이상 더 작은 크기로 CU로 분할되지 않고 현재 크기인 2N×2N의 CU로 부호화/복호화 될 수도 있다. A coding tree block represents a context for a CU. A CU of 2N × 2N size can be divided into four CUs of N × N size according to split_coding_unit_flag (420), and then can be encoded / decoded. Alternatively, it may be encoded / decoded into a 2N x 2N CU that is the current size rather than being divided into CUs with a smaller size.

현재 CU는 상위 수준의 CU에서 양자화/역양자화 파라미터 차분 값이 존재하는지에 대한 플래그인 cu_qp_delta_exist_flag(421)를 입력으로 받는다. 그리고 2N×2N 크기의 현재 CU가 split_coding_unit_flag(420) 값에 따라 다시 N×N 크기의 CU로 분할 되는 경우, split_qp_delta_flag(422)를 추가적으로 부호화/복호화 한다. 이러한 추가적인 분할 정보는 시퀀스 파라미터 셋에 기록되는 cu_qp_delta_enable_flag (300)값과 상위 CU로 부터 입력되는 cu_qp_delta_exist_flag(421)이 1인 경우에만 부호화/복호화된다. split_qp_delta_flag(422)값은 2N×2N 크기의 현재 CU가 N×N으로 분할되는 경우에만 부호화/복호화되며 해당 값은 N×N 크기의 하위 CU 들을 부호화/복호화할 때 cu_qp_delta_exist_flag(421) 값으로 입력된다. The current CU receives a cu_qp_delta_exist_flag (421) as a flag indicating whether a quantization / dequantization parameter differential value exists in a higher level CU. When the current CU of 2N × 2N size is divided into N × N CUs again according to the value of split_coding_unit_flag (420), the split_qp_delta_flag 422 is further encoded / decoded. This additional division information is encoded / decoded only when the cu_qp_delta_enable_flag (300) value recorded in the sequence parameter set and the cu_qp_delta_exist_flag (421) input from the upper CU are 1. The value of the split_qp_delta_flag 422 is encoded / decoded only when the current CU of 2N × 2N size is divided into N × N, and the corresponding value is input as the value of cu_qp_delta_exist_flag (421) when encoding / decoding the N × N lower CUs .

split_qp_detla_flag(422)값이 0인 경우에는 2N×2N 크기의 현재 CU가 N×N 크기의 CU로 분할되지만, 양자화/역양자화 파라미터 차분 값을 기록하는 블록의 크기는 2N×2N에서 N×N 크기의 블록으로 더 이상 분할되지 않음을 의미한다. split_qp_detla_flag(422)값이 0인 경우에는 추가적으로 IsCuQpDeltaCoded(400) 값을 0으로 초기화 해줌으로써 N×N 크기의 CU로 분할된 경우에 첫 번째 N×N CU에만 양자화/역양자화 파라미터 차분 값이 기록되도록 하는 역할을 한다. When the value of the split_qp_detla_flag 422 is 0, the current CU of 2N × 2N size is divided into CU of N × N size, but the size of the block for recording the quantization / inverse quantization parameter difference value is 2N × 2N to N × N size Lt; RTI ID = 0.0 > block < / RTI > If the value of split_qp_detla_flag (422) is 0, the value of IsCuQpDeltaCoded (400) is additionally initialized to 0 so that the quantization / inverse quantization parameter difference value is recorded only in the first NxN CU when divided into NxN CUs .

도 5는 본 발명의 제1 실시 예에 따른 CU 단위로 기록되는 양자화/역양자화 파라미터 차분 값과 해당 차분 값이 존재하는 조건의 문맥에 관한 것이다. FIG. 5 relates to a quantization / inverse quantization parameter difference value recorded in a unit of CU according to the first embodiment of the present invention and a context of a condition in which the difference value exists.

CU가 스킵모드가 아닌 경우에는 해당 CU에 양자화/역양자화 파라미터 차분 값이 기록될 수 있다. cu_qp_delta_exist_flag(500;421)값이 1인 경우는 현재 CU에 양자화/역양자화 파라미터 차분 값이 존재함을 의미하며 이러한 경우에 있어 시퀀스 파라미터 셋에 기록되는 cu_qp_delta_enabled_flag(300)값에 따라 cu_qp_delta(501)값이 CU 단위로 기록될 수 있다. 예를 들어, cu_qp_delta_exist_flag(500;421)값이 1인 경우에 cu_qp_delta_enabed_flag(300)값이 0인 경우에는 cu_qp_delta(501)는 기록되지 않는다. If the CU is not in the skip mode, the quantization / dequantization parameter difference value may be recorded in the corresponding CU. If the value of cu_qp_delta_exist_flag (500; 421) is 1, it means that the quantization / dequantization parameter difference value exists in the current CU. In this case, the cu_qp_delta_enabled_flag (300) value recorded in the sequence parameter set Can be recorded in units of CU. For example, when the value of cu_qp_delta_exist_flag (500; 421) is 1 and the value of cu_qp_delta_enabed_flag (300) is 0, cu_qp_delta (501) is not recorded.

또 다른 경우의 예로, 쿼드트리 구조에서 2N×2N CU가 4개의 N×N CU로 분할될 때 양자화/역양자화 파라미터 차분 값은 단 하나의 값만 기록될 수도 있다. 이러한 경우에는 4개의 CU 중 첫 번째 CU에 양자화/역양자화 파라미터 차분 값이 기록되며, 나머지 3개의 CU에는 양자화/역양자화 파라미터 차분 값이 기록되지 않는다. 이때 2N×2N CU에서 부호화/복호화하는 split_qp_delta_flag(422)값은 0이므로, N×N CU에 입력되는 cu_qp_delta_exist_flag(500)값은 0이 된다. 따라서 분할된 4개의 N×N CU에는 기본적으로 cu_qp_delta(501)가 존재하지 않게 되지만, IsCuQpDeltaCoded 변수를 이용함으로써 첫 번째 N×N CU에는 cu_qp_delta(501)값이 기록될 수 있도록 한다. 나머지 세 개의 CU에 대해서는 첫 번째 CU가 cu_qp_delta(501)를 복호화한 후 IsCuQpDeltaCoded 값을 1로 변경하기 때문에 cu_qp_delta(501)값이 기록되지 않는다. As another example, when a 2N x 2N CU is divided into four N x N CUs in the quadtree structure, only one value of the quantization / dequantization parameter difference value may be recorded. In this case, the quantization / dequantization parameter difference value is recorded in the first CU among the four CUs, and the quantization / dequantization parameter difference value is not recorded in the remaining three CUs. At this time, the value of split_qp_delta_flag (422) for encoding / decoding in 2N × 2N CU is 0, so that the value of cu_qp_delta_exist_flag (500) input to N × N CU becomes zero. Therefore, cu_qp_delta (501) does not exist basically in the four divided NxN CUs, but the value of cu_qp_delta (501) can be recorded in the first NxN CU by using the IsCuQpDeltaCoded variable. For the remaining three CUs, the value of cu_qp_delta (501) is not recorded because the first CU decodes cu_qp_delta (501) and then changes the IsCuQpDeltaCoded value to 1.

이러한 경우에도 시퀀스 파라미터 셋에 기록되는 cu_qp_delta_enabled_flag(300)값의 조건을 동시에 체크하며 해당 값이 1인 경우에만, cu_qp_delta(501)값이 기록될 수 있다. Also in this case, the condition of the value of cu_qp_delta_enabled_flag (300) recorded in the sequence parameter set is simultaneously checked, and the value of cu_qp_delta (501) can be recorded only when the corresponding value is 1.

도 6a는 본 발명의 제1 실시예에 따른 양자화 차분 값 기록 블록 단위 결정부(100)와 역양자화 차분 값 기록 블록 단위 결정부(121)의 동작에 관한 것이다. FIG. 6A illustrates operations of the quantization difference value recording block unit determination unit 100 and the inverse quantization difference value recording block unit determination unit 121 according to the first embodiment of the present invention.

부호화/복호화하려는 2N×2N LCU는 4개의 N×N CU로 분할될 수 있고, 각 CU는 또 다시 분할되어 처리된다. 이렇게 2N×2N 크기의 LCU가 다수의 CU로 분할되어 부호화/복호화 되더라도 도6a와 같이 split_qp_delta_flag(422)값이 0인 경우에는 LCU의 첫 번째 CU에 양자화/역양자화 파라미터 차분 값이 기록된다. LCU의 나머지 CU에는 첫 번째 CU에서 복원한 양자화/역양자화 파라미터 값을 그대로 사용한다. A 2N × 2N LCU to be encoded / decoded can be divided into 4 N × N CUs, and each CU is further divided and processed. Even if the LCU of 2N x 2N size is divided into a plurality of CUs and coded / decoded, when the value of split_qp_delta_flag 422 is 0 as shown in Fig. 6A, the quantization / dequantization parameter difference value is recorded in the first CU of the LCU. The remaining CUs of the LCU use the quantization / dequantization parameter values recovered from the first CU.

도 6b는 본 발명의 제2 실시예에 따른 양자화 차분 값 기록 블록 단위 결정부(100)와 역양자화 차분 값 기록 블록 단위 결정부(121)의 동작에 관한 것이다. FIG. 6B relates to operations of the quantization difference value recording block unit determination unit 100 and the inverse quantization difference value recording block unit determination unit 121 according to the second embodiment of the present invention.

부호화/복호화하려는 2N×2N LCU가 첫 번째 단계에서 네 개의 CU로 분할되고, 해당 CU 중 2번째 CU는 또 다시 분할되는 경우이다. 이러한 경우 첫 번째 단계에서 CU가 분할에 대한 플래그가 부호화/복화화 될 때 추가적으로 양자화/역양자화 파라미터 값에 대한 분할 플래그인 split_qp_delta_flag(422; 630)가 부호화/복호화 된다. 해당 값이 1인 경우에는 분할 된 네 개의 CU들이 모두 양자화/역양자화 파라미터 차분 값을 갖는다는 것을 의미하기 때문에 해당 단계에서 추가적으로 양자화/역양자화 파라미터 값에 대한 분할 플래그 split_qp_delta_flag(422; 631)가 부호화/복호화 된다. The 2N × 2N LCU to be encoded / decoded is divided into four CUs in the first stage, and the second CU of the corresponding CUs is further divided. In this case, when the CU is coded / decoded in the first step, the split_qp_delta_flag (422; 630), which is a division flag for the quantization / dequantization parameter value, is further encoded / decoded. If the corresponding value is 1, it means that all four CUs have a quantization / dequantization parameter difference value. Therefore, the split flag split_qp_delta_flag (422; 631) for the quantization / dequantization parameter value is additionally encoded / Decrypted.

이러한 경우에도 두 번째 N×N CU는 세 번째 단계까지 CU가 분할되지만 양자화/역양자화를 위한 블록 분할 플래그인 split_qp_delta_flag(422; 631)가 0이므로 여러 CU에 단 하나의 양자화/역양자화 파라미터 값이 할당된다. In this case, even though the CU is divided up to the third stage of the second N × N CU, since the split flag of split_qp_delta_flag (422; 631) for quantization / dequantization is 0, only one quantization / dequantization parameter value .

도 6c는 본 발명의 제3 실시예에 따른 양자화 차분 값 기록 블록 단위 결정부(100)와 역양자화 차분 값 기록 블록 단위 결정부(121)의 동작에 관한 것이다. FIG. 6C illustrates operations of the quantization difference value recording block unit determination unit 100 and the inverse quantization difference value recording block unit determination unit 121 according to the third embodiment of the present invention.

도 6c는 부호화/복호화하려는 2N×2N LCU가 첫 번째 단계에서 네 개의 CU로 분할되고, 해당 CU 중 2번째 CU는 또 다시 분할되는 경우이다. 두 번째 CU가 4개의 CU로 다시 분할되고, 분할된 CU가 다시 4개의 CU로 분할 되는 경우에도 split_qp_delta_flag(422; 661)값을 통하여 양자화/역양자화 파라미터 차분 값이 기록되는 블록의 크기를 결정할 수 있다. 도 6c는 CU가 최대 3개의 깊이 정보까지 분할되었지만 상대적으로 양자화/역양자화 파라미터 차분 값은 최대 2개의 깊이 정보를 갖는 것을 보인다. FIG. 6C shows a case in which a 2N × 2N LCU to be encoded / decoded is divided into four CUs in the first stage, and the second CU of the corresponding CUs is further divided. The size of the block in which the quantization / dequantization parameter difference value is recorded can be determined through the value of split_qp_delta_flag (422; 661) even when the second CU is divided again into four CUs and the divided CU is divided again into four CUs have. 6C shows that the CU is divided into a maximum of 3 depth information, but a relatively quantized / dequantized parameter difference value has a maximum of 2 depth information.

도 7a는 본 발명의 제1 실시예에 따른 양자화 파라미터 값 예측 블록 결정부(102)와 역양자화 파라미터 값 예측 블록 결정부(123)에 관한 것이다. FIG. 7A relates to a quantization parameter value prediction block determination unit 102 and an inverse quantization parameter value prediction block determination unit 123 according to the first embodiment of the present invention.

부호화기는 양자화 차분 값 기록 블록 단위 결정부(100)를 통해 결정된 CU 블록들에 양자화 파라미터 값을 할당하며, 나머지 CU 블록에는 이전에 사용된 양자화 파라미터 값을 그대로 사용한다. 이때 양자화 파라미터 값은 이전 CU 블록들의 양자화 파라미터 값에서 예측된 후 양자화 파라미터 차분 값만이 실제로 부호화된다. The encoder allocates the quantization parameter values to the CU blocks determined through the quantization difference value recording block unit determination unit 100 and uses the previously used quantization parameter values as they are for the remaining CU blocks. At this time, the quantization parameter value is predicted from the quantization parameter values of the previous CU blocks, and only the quantization parameter difference value is actually encoded.

복호화기에서는 역양자화 파라미터 차분 값 도출부(122)에서 역양자화 파라미터 차분 값이 복호화된 후 해당 차분 값을 예측에 사용된 블록의 역양자화 파라미터 값과 더하여 역양자화 파라미터 값을 계산한다. In the decoder, the inverse quantization parameter difference value is decoded by the inverse quantization parameter difference value derivation unit 122, and the inverse quantization parameter value is calculated by adding the difference value to the inverse quantization parameter value of the block used for prediction.

양자화 파라미터 값 예측 블록 결정부(102)와 역양자화 파라미터 값 예측 블록 결정부(123)는 각각 부호화기와 복호화기에서 현재 블록의 양자화 파라미터 값을 예측할 때 참조할 주변 블록을 결정하는 역할을 수행한다. The quantization parameter value prediction block determination unit 102 and the inverse quantization parameter value prediction block determination unit 123 respectively determine a neighboring block to be referred to when the quantization parameter value of the current block is predicted in the encoder and the decoder.

도 7a에서 부호화/복호화하는 CU(720)에 양자화/역양자화 파라미터 값이 할당된 경우에 해당 값을 예측하기 위해서 현재 CU(720)의 왼쪽 경계에 인접하여 위치하는 CU들(710,711,712;La,Lb,Lc)와 위쪽 경계에 인접하여 위치하는 CU들(700,701,702;Ta,Tb,Tc)중 각 경계에서 가장 큰 블록 크기를 갖는 CU들(712,702;Lc,Tc)의 양자화 파라미터 값의 평균 값, 최솟값, 최대값 등을 사용한다. 7A, CUs 710, 711, and 712 located adjacent to the left boundary of the current CU 720 to predict the corresponding values when the quantization / dequantization parameter values are assigned to the CU 720 to be encoded / (Lc, Tc) having the largest block size at each border among the CUs (700, 701, 702; Ta, Tb, Tc) located adjacent to the upper border of the CUs , Maximum value, and so on.

도 7b는 본 발명의 제1 실시예에 따른 양자화 파라미터 값 예측 블록 결정부(102)와 역양자화 파라미터 값 예측 블록 결정부(123)에 관한 또 다른 예이다. 7B is another example of the quantization parameter value prediction block determination unit 102 and the inverse quantization parameter value prediction block determination unit 123 according to the first embodiment of the present invention.

LCU 내에서 다수의 CU로 분할되어 부호화/복호화 되는 경우에도 부호화/복호화하려는 현재 CU(750)의 주변에 인접하여 위치하는 CU들 중 가장 큰 블록 크기를 갖는 CU를 왼쪽 경계와 위쪽 경계에서 선택한 후 두 CU가 사용하는 양자화 파라미터 값의 평균값, 최솟값, 최댓값 등을 현재 CU의 양자화 파라미터 값을 예측하는데 사용한다. Even when CUs are divided into a plurality of CUs in the LCU and are decoded, a CU having the largest block size among the CUs located adjacent to the current CU 750 to be encoded / decoded is selected at the left boundary and the upper boundary The mean value, the minimum value, and the maximum value of the quantization parameter values used by the two CUs are used to predict the quantization parameter value of the current CU.

도 8a는 본 발명의 제2 실시예에 따른 양자화 파라미터 값 예측 블록 결정부(102)와 역양자화 파라미터 값 예측 블록 결정부(123)에 관한 것이다. 8A relates to a quantization parameter value prediction block determination unit 102 and an inverse quantization parameter value prediction block determination unit 123 according to a second embodiment of the present invention.

부호화/복호화 하려는 현재 CU(840)의 양자화 파라미터 값을 예측할 때 해당 CU의 주변에 인접하여 위치하는 CU들 중 가장 큰 블록의 CU를 참조한다. 이러한 경우에 있어 최대 크기의 CU가 다수가 존재할 때 왼쪽 경계에서는 가장 위쪽에 인접하여 위치하는 CU(820;La)를 선택하고, 위쪽 경계에서는 가장 왼쪽에 인접하여 위치하는 CU(800;Ta)를 우선적으로 참조하여 해당 CU의 양자화 파라미터 값들의 평균값, 최댓값, 최솟값 등을 사용한다.When predicting the quantization parameter value of the current CU 840 to be encoded / decoded, the CU of the largest block among the CUs adjacent to the periphery of the corresponding CU is referred to. In this case, when there is a large number of CUs of the maximum size, the CU (820; La) positioned at the uppermost position on the left boundary is selected and the CU (800; Ta) positioned on the leftmost position on the upper boundary is selected The average value, the maximum value, and the minimum value of the quantization parameter values of the corresponding CU are used.

도 8b는 본 발명의 제2 실시예에 따른 양자화 파라미터 값 예측 블록 결정부(102)와 역양자화 파라미터 값 예측 블록 결정부(123)에 관한 또 다른 예이다.8B is another example of the quantization parameter value prediction block determination unit 102 and the inverse quantization parameter value prediction block determination unit 123 according to the second embodiment of the present invention.

LCU가 다수의 CU로 분할되어 부호화/복호화 되는 경우에도 부호화/복호화하려는 현재 CU(890)의 주변에 인접하여 위치하는 CU들 중 블록의 크기가 가장 큰 CU들을 참조한다. 이때 왼쪽 경계에서 가장 큰 블록 크기를 갖는 CU가 여러 개가 존재하는 경우 가장 위쪽에 인접하여 위치하는 CU(870;La)를 참조 블록으로 사용한다. 위쪽 경계에서도 가장 큰 블록 크기를 갖는 CU가 여러 개가 존재하는 경우 가장 왼쪽에 인접하여 위치하는 CU(850;Ta)를 참조 블록으로 사용한다. 이렇게 왼쪽과 위쪽 방향에서 참조할 블록을 결정한 후 두 블록의 양자화 값의 최댓값, 최솟값, 평균값 등을 구한 후 해당 값을 이용하여 부호화/복호화 하려는 CU(890)의 양자화 파라미터 값을 예측한다. Even when the LCU is divided into a plurality of CUs and coded / decoded, the CUs having the largest block size among the CUs located adjacent to the current CU 890 to be encoded / decoded are referred to. In this case, when there are a plurality of CUs having the largest block size at the left boundary, the CU (870; La) located at the uppermost position is used as a reference block. If there are several CUs having the largest block size at the upper boundary, the CU (850; Ta) located at the leftmost neighbor is used as a reference block. After determining the block to be referred to in the left and upward directions, the maximum value, the minimum value, and the average value of the quantization values of the two blocks are obtained, and the quantization parameter values of the CU 890 to be encoded / decoded using the corresponding values are predicted.

도 9a는 본 발명의 제3 실시예에 따른 양자화 파라미터 값 예측 블록 결정부(102)와 역양자화 파라미터 값 예측 블록 결정부(123)에 관한 것이다. 9A relates to a quantization parameter value prediction block determination unit 102 and an inverse quantization parameter value prediction block determination unit 123 according to the third embodiment of the present invention.

부호화/복호화 하려는 현재 CU(920)의 양자화 파라미터 값을 예측할 때 해당 CU의 주변에 인접하여 위치하는 참조 가능한 모든 CU(900,901,902,910,911,912;Ta,Tb,Tc,La,Lb,Lc)를 참조 블록으로 선택한다. 이러한 참조 가능한 모든 CU의 양자화 파라미터 값들의 최댓값, 최솟값, 평균값 등을 이용하여 부호화기에서는 부호화하려는 CU(920)의 양자화 파라미터 값을 예측한 후, 양자화 파라미터 차이값을 부호화한다. Tc, La, Lb, and Lc) adjacent to the periphery of the corresponding CU are selected as reference blocks when predicting the quantization parameter values of the current CU 920 to be encoded / decoded . The encoder predicts the quantization parameter value of the CU 920 to be encoded using the maximum value, the minimum value, and the average value of the quantization parameter values of all the referenceable CUs, and then encodes the quantization parameter difference value.

복호화기에서는 복호된 양자화 파라미터 차이값을 참조 가능한 모든 CU의 역양자화 파라미터 값들의 최댓값, 최솟값, 평균값과 더함으로써 복호화하려는 CU(920)의 역양자화 파라미터 값을 복호한다. The decoder decodes the inverse quantization parameter value of the CU 920 to be decoded by adding the decoded quantization parameter difference value to the maximum value, the minimum value and the average value of the inverse quantization parameter values of all the CUs that can be referred to.

도 9b는 본 발명의 제3 실시예에 따른 양자화 파라미터 값 예측 블록 결정부(102)와 역양자화 파라미터 값 예측 블록 결정부(123)에 관한 또 다른 예이다. 9B is another example of the quantization parameter value prediction block determination unit 102 and the inverse quantization parameter value prediction block determination unit 123 according to the third embodiment of the present invention.

부호화/복호화하는 CU(950)가 LCU 내에 위치하는 경우에도 해당 CU의 주변에 인접하여 위치하는 참조 가능한 모든 CU들(930,931,932,940,941,942; La,Lb,Lc,Ta,Tb,Tc) 들을 사용하여 양자화 파라미터 값을 예측한다. Lb, Lc, Ta, Tb, Tc) adjacent to the periphery of the corresponding CU, even when the CU (950) for encoding / decoding is located in the LCU, .

부호화기에서는 부호화하려는 CU(950)의 양자화 파라미터 값을 주변의 참조 가능한 모든 CU들의 양자화 파라미터 값들의 평균값, 최댓값, 최솟값 등에서 예측하고, 그 차이값만을 부호화 한다. The encoder predicts the quantization parameter value of the CU 950 to be encoded based on the average value, the maximum value, the minimum value, and the like of the quantization parameter values of all nearby referenceable CUs, and encodes only the difference value.

복호화기에서는 복호화하려는 CU(950)의 역양자화 파라미터 값을 복원할 때 주변의 참조 가능한 모든 CU들의 역양자화 파라미터 값들의 평균값, 최댓값, 최솟값과 더함으로써 역양자화 파라미터 값을 복호한다. When decoding the inverse quantization parameter value of the CU 950 to be decoded, the decoder decodes the inverse quantization parameter value by adding the average value, the maximum value, and the minimum value of the inverse quantization parameter values of all nearby reference CUs.

도 10a는 본 발명의 제4 실시예에 따른 양자화 파라미터 값 예측 블록 결정부(102)와 역양자화 파라미터 값 예측 블록 결정부(123)에 관한 것이다. FIG. 10A relates to a quantization parameter value prediction block determination unit 102 and an inverse quantization parameter value prediction block determination unit 123 according to a fourth embodiment of the present invention.

LCU 경계에 위치하는 CU(1020)를 부호화/복호화 할 때 해당 CU의 왼쪽 경계에 인접하며 참조 가능한 CU들(1010,1011,1012;La,Lb,Lc) 중 가장 큰 블록 사이즈를 갖는 CU(1012;Tc)를 참조한다. 이때 왼쪽 경계에서 참조 가능한 CU들 중 가장 큰 블록 사이즈를 갖는 CU가 하나 이상 존재하는 경우에는 해당 블록 중에서 가장 위쪽에 인접하여 위치하는 CU를 참조 블록으로 선택한다. When the CU 1020 located at the boundary of the LCU is encoded / decoded, the CU 1012 having the largest block size among the reference CUs 1010, 1011, 1012 (La, Lb, Lc) ; Tc). At this time, if there is at least one CU having the largest block size among the CUs that can be referred to at the left boundary, the CU located at the top of the block is selected as a reference block.

부호화기에서는 부호화하려는 CU(1020)의 양자화 파라미터 값을 왼쪽 경계에서 참조 블록으로 선택된 CU(1012;Tc)의 양자화 파라미터 값으로 예측한 후 그 차이값을 부호화한다. The encoder predicts the quantization parameter value of the CU 1020 to be encoded as the quantization parameter value of the CU 1012 (Tc) selected as the reference block at the left boundary, and then encodes the difference value.

복호화기에서는 복호화하려는 CU(1020)의 역양자화 파라미터 차분 값을 복호한 후 왼쪽 경계에서 참조 블록으로 선택된 CU(1012;Tc)의 역양자화 파라미터 값을 더함으로써 역양자화 파라미터 값을 복호한다. The decoder decodes the inverse quantization parameter differential value of the CU 1020 to be decoded and adds the inverse quantization parameter value of the CU 1012 (Tc) selected as the reference block at the left boundary to decode the inverse quantization parameter value.

도 10b는 본 발명의 제4 실시예에 따른 양자화 파라미터 값 예측 블록 결정부(102)와 역양자화 파라미터 값 예측 블록 결정부(123)에 관한 또 다른 예이다. FIG. 10B is another example of the quantization parameter value prediction block determination unit 102 and the inverse quantization parameter value prediction block determination unit 123 according to the fourth embodiment of the present invention.

LCU가 다수의 CU로 분할되어 부호화/복호화되는 경우 부호화/복호화 하려는 CU(1050)의 왼쪽 경계에 인접하여 위치하는 CU들(1030,1031,1032;La,Lb,Lc) 중 가장 큰 블록 사이즈를 갖는 CU(1030;La)를 참조한다. 이때 왼쪽 경계에서 가장 큰 블록 사이즈를 갖는 CU가 하나 이상 존재하는 경우에는 해당 블록 중에서 가장 위쪽에 인접하여 위치하는 CU(1030,La)를 참조 블록으로 선택한다. When the LCU is divided into a plurality of CUs to be coded / decoded, the largest block size among the CUs 1030, 1031, 1032 (La, Lb, Lc) positioned adjacent to the left border of the CU 1050 to be coded / (CU 1030; At this time, if there is at least one CU having the largest block size at the left boundary, the CU 1030 (La) positioned at the uppermost position among the blocks is selected as a reference block.

부호화기에서는 부호화하려는 CU(1050)의 양자화 파라미터 값을 왼쪽 경계에서 참조 블록으로 선택된 CU(1030;La)의 양자화 파라미터 값으로 예측한 후 그 차이값을 부호화한다. The encoder predicts the quantization parameter value of the CU 1050 to be encoded with the quantization parameter value of the CU 1030 (La) selected as the reference block at the left boundary, and then encodes the difference value.

복호화기에서는 복호화하려는 CU(1050)의 역양자화 파라미터 차분 값을 복호한 후 왼쪽 경계에서 참조 블록으로 선택된 CU(1030;La)의 역양자화 파라미터 값을 더함으로써 역양자화 파라미터 값을 복호한다. The decoder decodes the inverse quantization parameter difference value of the CU 1050 to be decoded and adds the inverse quantization parameter value of the CU 1030 (La) selected as the reference block at the left boundary to decode the inverse quantization parameter value.

도 11a는 본 발명의 제5 실시예에 따른 양자화 파라미터 값 예측 블록 결정부(102)와 역양자화 파라미터 값 예측 블록 결정부(123)에 관한 것이다. 11A relates to a quantization parameter value prediction block determination unit 102 and an inverse quantization parameter value prediction block determination unit 123 according to a fifth embodiment of the present invention.

LCU 경계에 위치하는 CU(1120)를 부호화/복호화 할 때 해당 CU의 왼쪽 경계에 인접하는 참조 가능한 CU들(1110,1111,1112;La,Lb,Lc)을 모두 참조 블록으로 사용한다. When reference is made to the CU 1120 located at the boundary of the LCU, all referenceable CUs 1110, 1111, 1112 (La, Lb, Lc) adjacent to the left boundary of the corresponding CU are used as reference blocks.

부호화기에서는 부호화하려는 CU(1120)의 양자화 파라미터 값을 왼쪽 경계에 인접하는 참조 가능한 CU들(1110,1111,1112;La,Lb,Lc)의 양자화 파라미터 값들의 평균값, 최댓값, 최솟값 등을 이용하여 예측한 후, 그 차이값만을 부호화한다.The encoder predicts the quantization parameter value of the CU 1120 to be encoded using the average value, the maximum value, and the minimum value of the quantization parameter values of the referenceable CUs 1110, 1111, 1112 (La, Lb, Lc) And only the difference value is encoded.

복호화기에서는 복호화하려는 CU(1120)의 역양자화 파라미터 차분 값을 복호한 후 왼쪽 경계에 인접하는 참조 가능한 CU들(1110,1111,1112;La,Lb,Lc)의 역양자화 파라미터 값들의 평균값, 최댓값, 최솟값 등을 더함으로써 복호화하려는 CU(1120)의 역양자화 파라미터 값을 복호한다.The decoder decodes the inverse quantization parameter difference value of the CU 1120 to be decoded and then calculates the average value of the inverse quantization parameter values of the referenceable CUs 1110, 1111, 1112 (La, Lb, Lc) , The minimum value, and the like, thereby decoding the inverse quantization parameter value of the CU 1120 to be decoded.

도 11b는 본 발명의 제5 실시예에 따른 양자화 파라미터 값 예측 블록 결정부(102)와 역양자화 파라미터 값 예측 블록 결정부(123)에 관한 또 다른 예이다.11B is another example of the quantization parameter value prediction block determination unit 102 and the inverse quantization parameter value prediction block determination unit 123 according to the fifth embodiment of the present invention.

LCU가 다수의 CU로 분할되어 부호화/복호화되는 경우 부호화/복호화 하려는 CU(1150)의 왼쪽 경계에 인접하여 위치하는 참조 가능한 모든 CU들을 참조 블록으로 사용한다. When the LCU is divided into a plurality of CUs to be encoded / decoded, all the referenceable CUs located adjacent to the left boundary of the CU 1150 to be encoded / decoded are used as reference blocks.

부호화기에서는 부호화하려는 CU(1150)의 양자화 파라미터 값을 왼쪽 경계에 인접하여 위치하는 참조 가능한 모든 CU들의 양자화 파라미터 값들의 평균값, 최솟값, 최대값 등으로 예측한 후 그 차이값을 부호화한다. The encoder predicts the quantization parameter value of the CU 1150 to be encoded with an average value, a minimum value, a maximum value, etc. of the quantization parameter values of all referenceable CUs located adjacent to the left boundary, and then codes the difference value.

복호화기에서는 복호화하려는 CU(1150)의 역양자화 파라미터 차분 값을 복호한 후 왼쪽 경계에 인접하여 위치하는 참조 가능한 모든 CU들의 양자화 파라미터 값들의 평균값, 최솟값, 최대값 등을 더함으로써 역양자화 파라미터 값을 복호한다.The decoder decodes the inverse quantization parameter difference value of the CU 1150 to be decoded and adds the average value, the minimum value, and the maximum value of the quantization parameter values of all the reference CUs located adjacent to the left boundary to obtain the inverse quantization parameter value .

Claims (12)

부호화 블록이 역양자화 차분값을 갖고 있는지 여부를 결정하는 단계, 상기 부호화 블록이 역양자화 차분값을 갖고 있는 것으로 결정된 경우, 역양자화 차분값이 부호화되었는지 여부와 관련한 파라미터는 제1값으로 설정됨;
상기 부호화 블록이 복수의 서브 블록들로 분할되는지 여부를 나타내는 플래그 정보를 복호화하는 단계, 상기 복수의 서브 블록들은 4개의 서브 블록들임;
상기 부호화 블록에 대한 역양자화 차분값을 획득하는 단계, 상기 파라미터가 상기 제1값을 갖고, 상기 부호화 블록이 복수의 서브 블록들로 분할된 경우, 상기 복수의 서브 블록들 중 제1 서브 블록에 대해서는 상기 역양자화 차분값이 복호화되고, 상기 제1 서브 블록에 대해 상기 역양자화 차분값이 복호화되면, 상기 파라미터는 상기 제1 값에서 제2 값으로 변경되고, 상기 파라미터가 상기 제2 값으로 변경된 이후, 상기 제1 서브 블록을 제외한 잔여 서브 블록에 대해서는 상기 역양자화 차분값이 복호화되지 않음;
상기 부호화 블록의 주변 블록을 이용하여 역양자화 파라미터 예측값을 획득하는 단계, 상기 주변 블록은 상기 부호화 블록 주변에 위치하는 주변 블록의 위치 정보를 이용하여 결정되고, 상기 주변 블록은, 상기 부호화 블록의 좌측에 위치한 좌측 주변 블록 및 상기 부호화 블록의 상측에 위치한 상측 주변 블록을 포함함; 및
상기 역양자화 차분값과 상기 역양자화 파라미터 예측값을 이용하여 상기 역양자화 파라미터를 획득하는 단계를 포함하는, 영상 복호화 방법.
Determining whether an encoding block has an inverse quantization difference value; if the encoding block is determined to have an inverse quantization difference value, a parameter related to whether or not an inverse quantization difference value is encoded is set to a first value;
Decoding flag information indicating whether the encoding block is divided into a plurality of subblocks, the plurality of subblocks being four subblocks;
Obtaining an inverse quantization difference value for the encoding block; if the parameter has the first value and the encoding block is divided into a plurality of subblocks, , The parameter is changed from the first value to the second value and the parameter is changed to the second value when the inverse quantization difference value is decoded for the first sub- Thereafter, the inverse quantization difference value is not decoded for the remaining subblocks except for the first subblock;
Obtaining an inverse quantization parameter prediction value using a neighboring block of the encoding block, the neighboring block being determined using position information of a neighboring block located in the vicinity of the encoding block, And an upper neighboring block located on the upper side of the encoding block; And
And obtaining the inverse quantization parameter using the inverse quantization difference value and the inverse quantization parameter prediction value.
제1항에 있어서,
상기 역양자화 파라미터 예측값은,
상기 좌측 주변 블록의 역양자화 파라미터 및 상기 상측 주변 블록의 역양자화 파라미터를 이용하여 유도되는 것을 특징으로 하는 영상 복호화 방법.
The method according to claim 1,
Wherein the inverse quantization parameter predicted value is obtained by:
The inverse quantization parameter of the left neighboring block and the inverse quantization parameter of the upper neighboring block.
제2항에 있어서,
상기 역양자화 파라미터 예측값은 상기 좌측 주변 블록의 역양자화 파라미터 및 상기 상측 주변 블록의 역양자화 파라미터의 평균값을 기초로 유도되는 것을 특징으로 하는, 영상 복호화 방법.
3. The method of claim 2,
Wherein the inverse quantization parameter prediction value is derived based on an inverse quantization parameter of the left neighboring block and an average value of the inverse quantization parameters of the upper neighboring block.
제1항에 있어서,
상기 부호화 블록이 역양자화 차분값을 갖고 있는지 여부는,
최소 부호화 블록의 크기와 최대 부호화 블록의 크기를 기반으로 결정되는 것을 특징으로 하는 영상 복호화 방법.
The method according to claim 1,
Whether or not the encoded block has an inverse quantization difference value is determined based on the inverse-
Wherein the minimum coding block size and the maximum coding block size are determined based on the minimum coding block size and the maximum coding block size.
부호화 대상 블록에 대해 역양자화 차분값을 부호화할지 여부를 결정하는 단계, 상기 부호화 대상 블록에 대해 역양자화 차분값을 부호화하는 것으로 결정된 경우, 역양자화 차분값이 부호화되는지 여부와 관련한 파라미터는 제1값으로 설정됨;
상기 부호화 대상 블록이 복수의 서브 블록들로 분할되는지 여부를 결정하는 단계, 상기 복수의 서브 블록들은 4개의 서브 블록들임;
상기 부호화 대상 블록의 주변 블록을 이용하여 역양자화 파라미터 예측값을 획득하는 단계, 상기 주변 블록은 상기 부호화 대상 블록 주변에 위치하는 주변 블록의 위치 정보를 이용하여 결정되고, 상기 주변 블록은, 상기 부호화 대상 블록의 좌측에 위치한 좌측 주변 블록 및 상기 부호화 대상 블록의 상측에 위치한 상측 주변 블록을 포함함;
역양자화 파라미터 및 상기 역양자화 파라미터 예측값을 이용하여 상기 부호화 대상 블록에 대한 역양자화 차분값을 획득하는 단계; 및
상기 부호화 대상 블록에 대한 역양자화 차분값을 부호화하는 단계, 상기 파라미터가 상기 제1값을 갖고, 상기 부호화 대상 블록이 복수의 서브 블록들로 분할된 경우, 상기 복수의 서브 블록들 중 제1 서브 블록에 대해서는 상기 역양자화 차분값이 부호화되고, 상기 제1 서브 블록에 대해 상기 역양자화 차분값이 부호화되면, 상기 파라미터는 상기 제1 값에서 제2 값으로 변경되고, 상기 파라미터가 상기 제2 값으로 변경된 이후, 상기 제1 서브 블록을 제외한 잔여 서브 블록에 대해서는 상기 역양자화 차분값이 부호화되지 않음,
를 포함하는 영상 부호화 방법.
A step of determining whether or not an inverse quantization difference value is to be encoded for a current block to be coded; a step of determining whether or not an inverse quantization difference value is to be encoded for the current block, Lt; / RTI >
Determining whether the current block to be coded is divided into a plurality of sub-blocks, the plurality of sub-blocks being four sub-blocks;
Acquiring an inverse quantization parameter predicted value using a neighboring block of the current block, determining the neighboring block using position information of a neighboring block located in the vicinity of the current block, A left neighboring block located on the left side of the block and an upper neighboring block located on the upper side of the current block;
Obtaining an inverse quantization difference value for the current block using the inverse quantization parameter and the inverse quantization parameter prediction value; And
And encoding the inverse quantization difference value for the current block, if the parameter has the first value and the current block is divided into a plurality of subblocks, Block is encoded, and when the inverse quantization difference value is encoded for the first sub-block, the parameter is changed from the first value to a second value, and the parameter is changed from the second value The inverse quantization difference value is not encoded for the remaining subblocks except for the first subblock,
/ RTI >
제5항에 있어서,
상기 역양자화 파라미터 예측값은,
상기 좌측 주변 블록의 역양자화 파라미터 및 상기 상측 주변 블록의 역양자화 파라미터를 이용하여 유도되는 것을 특징으로 하는 영상 부호화 방법.
6. The method of claim 5,
Wherein the inverse quantization parameter predicted value is obtained by:
The inverse quantization parameter of the left neighboring block, and the inverse quantization parameter of the upper neighboring block.
제6항에 있어서,
상기 역양자화 파라미터 예측값은 상기 좌측 주변 블록의 역양자화 파라미터 및 상기 상측 주변 블록의 역양자화 파라미터의 평균값을 기초로 유도되는 것을 특징으로 하는, 영상 부호화 방법.
The method according to claim 6,
Wherein the inverse quantization parameter prediction value is derived based on an inverse quantization parameter of the left neighboring block and an average value of the inverse quantization parameter of the upper neighboring block.
제5항에 있어서,
상기 부호화 대상 블록에 대해 역양자화 차분값을 부호화할지 여부는,
최소 부호화 블록의 크기와 최대 부호화 블록의 크기를 기반으로 결정되는 것을 특징으로 하는 영상 부호화 방법.
6. The method of claim 5,
Wherein whether or not the inverse quantization difference value is to be encoded with respect to the current block,
Wherein the minimum coding block size and the maximum coding block size are determined based on the minimum coding block size and the maximum coding block size.
영상 부호화 방법에 의해 생성된 비트스트림을 저장하는 기록 매체로서, 상기 영상 부호화 방법은,
부호화 대상 블록에 대해 역양자화 차분값을 부호화할지 여부를 결정하는 단계, 상기 부호화 대상 블록에 대해 역양자화 차분값을 부호화하는 것으로 결정된 경우, 역양자화 차분값이 부호화되는지 여부와 관련한 파라미터는 제1값으로 설정됨;
상기 부호화 대상 블록이 복수의 서브 블록들로 분할되는지 여부를 결정하는 단계, 상기 복수의 서브 블록들은 4개의 서브 블록들임;
상기 부호화 대상 블록의 주변 블록을 이용하여 역양자화 파라미터 예측값을 획득하는 단계, 상기 주변 블록은 상기 부호화 대상 블록 주변에 위치하는 주변 블록의 위치 정보를 이용하여 결정되고, 상기 주변 블록은, 상기 부호화 대상 블록의 좌측에 위치한 좌측 주변 블록 및 상기 부호화 대상 블록의 상측에 위치한 상측 주변 블록을 포함함;
역양자화 파라미터 및 상기 역양자화 파라미터 예측값을 이용하여 상기 부호화 대상 블록에 대한 역양자화 차분값을 획득하는 단계; 및
상기 부호화 대상 블록에 대한 역양자화 차분값을 부호화하는 단계, 상기 파라미터가 상기 제1값을 갖고, 상기 부호화 대상 블록이 복수의 서브 블록들로 분할된 경우, 상기 복수의 서브 블록들 중 제1 서브 블록에 대해서는 상기 역양자화 차분값이 부호화되고, 상기 제1 서브 블록에 대해 상기 역양자화 차분값이 부호화되면, 상기 파라미터는 상기 제1 값에서 제2 값으로 변경되고, 상기 파라미터가 상기 제2 값으로 변경된 이후, 상기 제1 서브 블록을 제외한 잔여 서브 블록에 대해서는 상기 역양자화 차분값이 부호화되지 않음,
를 포함하는 비트스트림을 저장하는 기록 매체.
A recording medium storing a bitstream generated by a video encoding method,
A step of determining whether or not an inverse quantization difference value is to be encoded for a current block to be coded; a step of determining whether or not an inverse quantization difference value is to be encoded for the current block, Lt; / RTI >
Determining whether the current block to be coded is divided into a plurality of sub-blocks, the plurality of sub-blocks being four sub-blocks;
Acquiring an inverse quantization parameter predicted value using a neighboring block of the current block, determining the neighboring block using position information of a neighboring block located in the vicinity of the current block, A left neighboring block located on the left side of the block and an upper neighboring block located on the upper side of the current block;
Obtaining an inverse quantization difference value for the current block using the inverse quantization parameter and the inverse quantization parameter prediction value; And
And encoding the inverse quantization difference value for the current block, if the parameter has the first value and the current block is divided into a plurality of subblocks, Block is encoded, and when the inverse quantization difference value is encoded for the first sub-block, the parameter is changed from the first value to a second value, and the parameter is changed from the second value The inverse quantization difference value is not encoded for the remaining subblocks except for the first subblock,
And stores the bit stream.
제9항에 있어서,
상기 역양자화 파라미터 예측값은,
상기 좌측 주변 블록의 역양자화 파라미터 및 상기 상측 주변 블록의 역양자화 파라미터를 이용하여 유도되는 것을 특징으로 하는 비트스트림을 저장하는 기록 매체.
10. The method of claim 9,
Wherein the inverse quantization parameter predicted value is obtained by:
The inverse quantization parameter of the left neighboring block and the inverse quantization parameter of the upper neighboring block.
제10항에 있어서,
상기 역양자화 파라미터 예측값은 상기 좌측 주변 블록의 역양자화 파라미터 및 상기 상측 주변 블록의 역양자화 파라미터의 평균값을 기초로 유도되는 것을 특징으로 하는, 비트스트림을 저장하는 기록 매체.
11. The method of claim 10,
Wherein the inverse quantization parameter prediction value is derived based on an inverse quantization parameter of the left neighboring block and an average value of the inverse quantization parameter of the upper neighboring block.
제9항에 있어서,
상기 부호화 대상 블록에 대해 역양자화 차분값을 부호화할지 여부는,
최소 부호화 블록의 크기와 최대 부호화 블록의 크기를 기반으로 결정되는 것을 특징으로 하는 비트스트림을 저장하는 기록 매체.
10. The method of claim 9,
Wherein whether or not the inverse quantization difference value is to be encoded with respect to the current block,
And the size of the minimum encoding block and the size of the maximum encoding block.
KR1020180076963A 2018-07-03 2018-07-03 Apparatus and Method of Adaptive Quantization Parameter Encoding and Decoder based on Quad Tree Structure KR101979781B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180076963A KR101979781B1 (en) 2018-07-03 2018-07-03 Apparatus and Method of Adaptive Quantization Parameter Encoding and Decoder based on Quad Tree Structure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180076963A KR101979781B1 (en) 2018-07-03 2018-07-03 Apparatus and Method of Adaptive Quantization Parameter Encoding and Decoder based on Quad Tree Structure

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020170154778A Division KR101876379B1 (en) 2017-11-20 2017-11-20 Apparatus and Method of Adaptive Quantization Parameter Encoding and Decoder based on Quad Tree Structure

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020190055606A Division KR102092829B1 (en) 2019-05-13 2019-05-13 Apparatus and Method of Adaptive Quantization Parameter Encoding and Decoder based on Quad Tree Structure

Publications (2)

Publication Number Publication Date
KR20180081479A KR20180081479A (en) 2018-07-16
KR101979781B1 true KR101979781B1 (en) 2019-05-20

Family

ID=63048173

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180076963A KR101979781B1 (en) 2018-07-03 2018-07-03 Apparatus and Method of Adaptive Quantization Parameter Encoding and Decoder based on Quad Tree Structure

Country Status (1)

Country Link
KR (1) KR101979781B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210087078A (en) 2018-11-08 2021-07-09 인터디지털 브이씨 홀딩스 인코포레이티드 Quantization for video encoding or decoding based on the surface of a block

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Muhammed C. et al., "CU-Level QP Prediction", MPEG-MEETING, GENEVA, JCTVC-E391, 2011.03.19..
SATO et al., "Description of Core Experiment 4: Quantization", MPEG-MEETING, GENEVA, JCTVC-E704, 2011.04.15.*
Thomas Wiegand et al., "WD3: Working Draft3 of High-Efficiency Video Coding", MPEG-MEETING, GENEVA, JCTVC-E603, 2011.06.13.*

Also Published As

Publication number Publication date
KR20180081479A (en) 2018-07-16

Similar Documents

Publication Publication Date Title
JP7344343B2 (en) Adaptive quantization parameter encoding and decoding method and apparatus based on quadtree structure
KR101801255B1 (en) Apparatus and Method of Adaptive Quantization Parameter Encoding and Decoder based on Quad Tree Structure
KR102412272B1 (en) Apparatus and Method of Adaptive Quantization Parameter Encoding and Decoder based on Quad Tree Structure
KR101979781B1 (en) Apparatus and Method of Adaptive Quantization Parameter Encoding and Decoder based on Quad Tree Structure
KR101706276B1 (en) Apparatus and Method of Adaptive Quantization Parameter Encoding and Decoder based on Quad Tree Structure
KR101876379B1 (en) Apparatus and Method of Adaptive Quantization Parameter Encoding and Decoder based on Quad Tree Structure
KR101362441B1 (en) Apparatus and Method of Multi-level Quantization for Quad-tree based Macroblock Coding
KR102219262B1 (en) Apparatus and Method of Adaptive Quantization Parameter Encoding and Decoder based on Quad Tree Structure
KR102092829B1 (en) Apparatus and Method of Adaptive Quantization Parameter Encoding and Decoder based on Quad Tree Structure
KR102330155B1 (en) Apparatus and Method of Adaptive Quantization Parameter Encoding and Decoder based on Quad Tree Structure
KR20160053878A (en) Apparatus and Method of Context-Adaptive Quantization and Inverse Quantizationfor IPCM block

Legal Events

Date Code Title Description
A107 Divisional application of patent
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
A107 Divisional application of patent
GRNT Written decision to grant