KR101707164B1 - Video encoding and decoding method and apparatus using the same - Google Patents

Video encoding and decoding method and apparatus using the same Download PDF

Info

Publication number
KR101707164B1
KR101707164B1 KR1020160029803A KR20160029803A KR101707164B1 KR 101707164 B1 KR101707164 B1 KR 101707164B1 KR 1020160029803 A KR1020160029803 A KR 1020160029803A KR 20160029803 A KR20160029803 A KR 20160029803A KR 101707164 B1 KR101707164 B1 KR 101707164B1
Authority
KR
South Korea
Prior art keywords
conversion
block
transform
flag
unit
Prior art date
Application number
KR1020160029803A
Other languages
Korean (ko)
Other versions
KR20160041030A (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 KR1020160029803A priority Critical patent/KR101707164B1/en
Publication of KR20160041030A publication Critical patent/KR20160041030A/en
Application granted granted Critical
Publication of KR101707164B1 publication Critical patent/KR101707164B1/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/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/18Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a set of transform coefficients
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding

Abstract

본 발명에 따른 영상의 복호화 방법은 현재 코딩 유닛의 크기가 변환 생략이 가능한 변환 블록을 포함할 수 있는 경우, 상기 코딩 유닛으로부터 분할되는 변환 블록의 변환 생략 여부를 지시하는 제1 정보를 대표하는 대표 플래그를 상기 코딩 유닛에 대한 정보로 파싱하는 단계와; 상기 대표 플래그에 기초하여 상기 제1 정보의 파싱 여부를 판단하는 단계와; 상기 제1 정보의 파싱이 필요 없는 경우 상기 대표 플래그에 기초하여 상기 제1 정보를 유추하고, 상기 제1 정보의 파싱이 필요한 경우 상기 제1 정보를 파싱하는 단계와; 상기 제1 정보에 따라 상기 변환 블록에 대한 변환을 수행하는 단계를 포함할 수 있다. A method for decoding an image according to the present invention is a method for decoding a video, comprising the steps of: if a size of a current coding unit can include a conversion block capable of omitting conversion, Parsing the flag into information about the coding unit; Determining whether the first information is parsed based on the representative flag; If the parsing of the first information is not necessary, inferring the first information based on the representative flag and parsing the first information when parsing of the first information is necessary; And performing a transform on the transform block according to the first information.

Figure 112016023931807-pat00014
Figure 112016023931807-pat00014

Description

영상의 부호화/복호화 방법 및 이를 이용하는 장치{VIDEO ENCODING AND DECODING METHOD AND APPARATUS USING THE SAME}TECHNICAL FIELD [0001] The present invention relates to a video encoding / decoding method, and a video encoding /

본 발명은 영상의 부호화 및 복호화 처리에 관한 것으로서, 보다 상세하게는 현재 픽쳐를 이용하여 예측 블록을 생성하는 영상의 부/복호화 방법 및 그 장치에 관한 것이다.The present invention relates to an image coding and decoding process, and more particularly, to a method and apparatus for adding / decoding an image to generate a prediction block using a current picture.

최근 HD(High Definition) 해상도를 가지는 방송 서비스가 국내뿐만 아니라 세계적으로 확대되면서, 많은 사용자들이 고해상도, 고화질의 영상에 익숙해지고 있으며 이에 따라 많은 기관들이 차세대 영상기기에 대한 개발에 박차를 가하고 있다. 또한 HDTV와 더불어 HDTV의 4배 이상의 해상도를 갖는 UHD(Ultra High Definition)에 대한 관심이 증대되면서 보다 높은 해상도, 고화질의 영상에 대한 압축기술이 요구되고 있다.Recently, broadcasting service having high definition (HD) resolution has been expanded not only in domestic but also in the world, so that many users are accustomed to high definition and high definition video, and accordingly, many organizations are spurring development for next generation video equipment. In addition, with the increase of interest in UHD (Ultra High Definition) having resolution more than 4 times of HDTV in addition to HDTV, a compression technique for a higher resolution and a higher image quality is required.

영상 압축을 위해, 시간적으로 이전 및/또는 이후의 픽쳐로부터 현재 픽쳐에 포함된 화소값을 예측하는 인터(inter, 화면 내) 예측 기술, 현재 픽쳐 내의 화소 정보를 이용하여 현재 픽쳐에 포함된 화소값을 예측하는 인트라(intra, 화면 간) 예측 기술, 출현 빈도가 높은 심볼(symbol)에 짧은 부호를 할당하고 출현 빈도가 낮은 심볼에 긴 부호를 할당하는 엔트로피 부호화 기술 등이 사용될 수 있다.An inter prediction technique for predicting a pixel value included in a current picture from temporally preceding and / or following pictures for image compression, an intra-picture prediction technique for predicting pixel values included in a current picture using pixel information in the current picture, An intra-picture prediction technique for predicting a short code, an entropy coding technique for assigning a short code to a symbol having a high appearance frequency and allocating a long code to a symbol having a low appearance frequency, or the like.

한편, 영상 복호화 시, 구체적으로 영상에 대한 잔차 신호의 복호화 시 변환 과정을 생략하는 변환 생략 모드가 적용될 수 있다. 현재, 변환 생략 모드는 CBF(coded block flag) 가 1인 모든 4x4 크기의 변환 블록(transform block, TB) 에 적용될 수 있으며, 변환 생략 모드가 적용되는지를 나타내는 플래그 (transform_skip_flag) 정보는 변환 블록마다 시그널링 되고 있다. On the other hand, in the video decoding, a conversion omission mode may be applied to omit the conversion process in decoding the residual signal to the image. At present, the conversion skip mode can be applied to all 4x4 size transform blocks (TB) having a coded block flag (CBF) of 1. The flag (transform_skip_flag) information indicating whether or not the skip conversion mode is applied, .

본 발명은 변환 생략을 시그널링하기 위한 비트량을 감소시키고, 영상 부호화 효율을 증가시키는 영상 부호화/복호화 방법 및 이를 이용하는 장치를 제공한다. The present invention provides a video encoding / decoding method and a device using the same that reduce a bit amount for signaling a conversion omission and increase a video encoding efficiency.

본 발명은 화면 내에서 반복적으로 유사한 패턴이 발생하며, 고주파를 다량 포함하는 잔차 신호가 빈번히 발생하는 경우, 소정의 단위 내의 변환 블록들은 공통적으로 변환 생략 모드가 적용되거나 적용되지 않을 가능성이 존재하므로, 이 경우 이들의 변환 생략 여부를 대표하는 플래그를 시그널링함으로써 부호화 효율을 증가시킬 수 있는 영상 부호화/복호화 방법 및 이를 이용하는 장치를 제공한다. In the present invention, similar patterns occur repeatedly in the screen, and when there is a frequent occurrence of a residual signal containing a large amount of high frequency, there is a possibility that the conversion skip mode is applied or not commonly applied to the conversion blocks within a predetermined unit. In this case, there is provided an image encoding / decoding method and an apparatus using the image encoding / decoding method capable of increasing a coding efficiency by signaling a flag representing whether or not the conversion is omitted.

본 발명의 일 실시예에 따른 영상의 복호화 방법은 현재 코딩 유닛의 크기가 변환 생략이 가능한 변환 블록을 포함할 수 있는 경우, 상기 코딩 유닛으로부터 분할되는 변환 블록의 변환 생략 여부를 지시하는 제1 정보를 대표하는 대표 플래그를 상기 코딩 유닛에 대한 정보로 파싱하는 단계와; 상기 대표 플래그에 기초하여 상기 제1 정보의 파싱 여부를 판단하는 단계와; 상기 제1 정보의 파싱이 필요 없는 경우 상기 대표 플래그에 기초하여 상기 제1 정보를 유추하고, 상기 제1 정보의 파싱이 필요한 경우 상기 제1 정보를 파싱하는 단계와; 상기 제1 정보에 따라 상기 변환 블록에 대한 변환을 수행 또는 생략하는 단계를 포함할 수 있다. In the method of decoding an image according to an embodiment of the present invention, when the size of the current coding unit can include a conversion block capable of omitting conversion, the first information indicating whether to omit conversion of the conversion block divided from the coding unit Parsing the representative flag representative of the coding unit into information on the coding unit; Determining whether the first information is parsed based on the representative flag; If the parsing of the first information is not necessary, inferring the first information based on the representative flag and parsing the first information when parsing of the first information is necessary; And performing or omitting a transformation on the transform block according to the first information.

상기 제1 정보의 파싱 여부를 판단하는 단계는, 상기 대표 플래그가 1이고, 상기 변환 블록이 상기 코딩 유닛으로부터 분할되는 최대 깊이의 변환 유닛에 포함되고, 상기 변환 블록의 크기가 상기 변환 생략이 적용되는 최대 변환 블록 크기 이하인 경우, 상기 제1 정보의 파싱이 필요 없는 것으로 판단하고, 상기 제1 정보를 상기 변환 블록에 변환 생략을 적용하는 것으로 유추할 수 있다. Wherein the step of determining whether to parse the first information includes determining whether the representative flag is 1 and the conversion block is included in the conversion unit of the maximum depth divided from the coding unit, It is determined that parsing of the first information is unnecessary, and it is possible to deduce that the first information is omitting conversion to the conversion block.

상기 제1 정보의 파싱 여부를 판단하는 단계는, 상기 대표 플래그가 1이고, 상기 변환 블록의 크기가 상기 변환 생략이 적용되는 최대 변환 블록 크기 이하인 경우, 상기 제1 정보의 파싱이 필요 없는 것으로 판단하고, 상기 제1 정보를 상기 변환 블록에 변환 생략을 적용하는 것으로 유추할 수 있다.Wherein the step of determining whether to parse the first information includes determining that parsing of the first information is not necessary when the representative flag is 1 and the size of the transform block is equal to or smaller than a maximum transform block size to which the transformation skip is applied And omitting the conversion of the first information into the conversion block.

상기 대표 플래그에 기초하여 변환 유닛의 분할 여부를 나타내는 제2 정보의 파싱 여부를 판단하는 단계와; 상기 제2 정보의 파싱이 필요 없는 경우 상기 대표 플래그에 기초하여 상기 제2 정보를 유추하고, 상기 제2 정보의 파싱이 필요한 경우 상기 제2 정보를 수신하여 파싱하는 단계와; 상기 제2 정보에 따라 상기 변환 유닛에 대한 분할을 수행할 수 있다. Determining whether to parse second information indicating whether or not the conversion unit is divided based on the representative flag; If the parsing of the second information is not necessary, inferring the second information based on the representative flag, and receiving and parsing the second information when parsing of the second information is necessary; And perform the division on the conversion unit according to the second information.

상기 제2 정보의 파싱 여부를 판단하는 단계는, 상기 대표 플래그가 1이고, 상기 변환 유닛에 대한 변환 깊이가 0이면, 상기 제2 정보의 파싱이 필요 없는 것으로 판단하고, 상기 제2 정보를 상기 변환 유닛이 분할되는 것으로 유추할 수 있다.Wherein it is determined that parsing of the second information is unnecessary if the representative flag is 1 and the conversion depth for the conversion unit is 0, It can be deduced that the conversion unit is divided.

상기 제2 정보의 파싱 여부를 판단하는 단계는, 상기 대표 플래그가 1이고, 상기 변환 유닛에 대한 변환 깊이가 0이고, 상기 변환 깊이가 0인 변환 유닛이 포함하는 모든 변환 블록의 크기가 상기 변환 생략이 적용되는 최대 변환 블록 크기보다 큰 경우, 상기 제2 정보의 파싱이 필요 없는 것으로 판단하고, 상기 제2 정보를 상기 변환 유닛이 분할되는 것으로 유추할 수 있다.Wherein the step of determining whether to parse the second information includes the step of determining whether the size of all the transform blocks included in the transform unit having the representative flag of 1, the transform depth for the transform unit being 0, It is determined that the parsing of the second information is not necessary and the second information can be inferred to be that the conversion unit is divided when the skip is larger than the maximum conversion block size to which the skip is applied.

상기 대표 플래그는 상기 코딩 유닛에 적용된 예측 모드에 대응하여 수신될 수 있다. The representative flag may be received corresponding to the prediction mode applied to the coding unit.

상기 대표 플래그는 상기 코딩 유닛의 예측 모드가 현재 픽쳐 내에서 움직임 예측을 수행하여 현재 블록과 유사한 영역을 상기 현재 블록에 대한 예측값으로 설정하는 인트라 블록 카피 예측 모드이면 시그널링될 수 있다. The representative flag may be signaled if the prediction mode of the coding unit is an intra block copy prediction mode in which motion prediction is performed in the current picture and an area similar to the current block is set as a prediction value for the current block.

상기 대표 플래그를 이용하여 상기 변환 생략 여부를 유추하는 기능을 사용하는지 여부를 나타내는 플래그 정보를 더 수신하고, 상기 플래그 정보는 시퀀스 파라미터 세트 또는 픽쳐 파라미터 세트에서 시그널링 될 수 있다. Further receiving flag information indicating whether to use the representative flag to infer whether or not to omit conversion, and the flag information may be signaled in a sequence parameter set or a picture parameter set.

본 발명의 다른 실시예에 따른 영상의 부호화 방법은 코딩의 대상이 되는 코딩 유닛으로부터 분할되는 변환 블록에 변환 생략이 적용되는지 판단하는 단계와; 상기 변환 블록에 변환 생략 여부를 지시하는 제1 정보를 대표하는 대표 플래그를 코딩하고, 상기 대표 플래그를 상기 코딩 유닛에 대한 정보로 시그널링하는 단계와; 상기 대표 플래그에 기초하여 상기 제1 정보의 코딩이 필요한 경우, 상기 제1 정보를 코딩하는 단계를 포함할 수 있다.According to another aspect of the present invention, there is provided a method of coding an image, the method comprising: determining whether a conversion skip is applied to a conversion block that is divided from a coding unit to be coded; Coding a representative flag representative of first information indicating whether or not to omit conversion in the conversion block, and signaling the representative flag with information on the coding unit; And coding the first information when coding of the first information is required based on the representative flag.

본 발명의 일 실시예에 따르면, 변환 생략을 시그널링하기 위한 비트량을 감소시키고, 영상 부호화 효율을 증가시키는 영상 부호화/복호화 방법 및 이를 이용하는 장치가 제공된다. According to an embodiment of the present invention, there is provided an image encoding / decoding method for reducing a bit amount for signaling a conversion omission and increasing image encoding efficiency and an apparatus using the same.

본 발명에 따르면, 화면 내에서 반복적으로 유사한 패턴이 발생하며, 고주파를 다량 포함하는 잔차 신호가 빈번히 발생하는 경우, 소정의 단위 내의 변환 블록들은 공통적으로 변환 생략 모드가 적용되거나 적용되지 않을 가능성이 존재하므로, 이 경우 이들의 변환 생략 여부를 대표하는 플래그를 시그널링함으로써 부호화 효율을 증가 시킬 수 있는 영상 부호화/복호화 방법 및 이를 이용하는 장치가 제공된다. According to the present invention, when a similar pattern repeatedly occurs in the screen and a residual signal including a large amount of high frequency is frequently generated, there is a possibility that the conversion skip mode is commonly applied or not applied to the conversion blocks within a predetermined unit Therefore, in this case, there is provided an image encoding / decoding method and an apparatus using the image encoding / decoding method capable of increasing the encoding efficiency by signaling a flag representing whether or not to omit the conversion.

구체적으로, 이러한 본 발명의 효과는 컴퓨터에 의하여 만들어진 인공 영상의 부호화 및 복호화에서 두드러지게 나타날 수 있다. Specifically, the effect of the present invention can be remarkably exhibited in the encoding and decoding of an artificial image produced by a computer.

도 1은 영상 부호화 장치의 일 실시예에 따른 구성을 나타내는 블록도이다.
도 2는 영상 복호화 장치의 일 실시예에 따른 구성을 나타내는 블록도이다.
도 3은 본 발명의 일 실시예에 따른 영상의 복호화 방법을 설명하기 위한 도면이다
도 4는 본 발명의 일 실시예에 따른 대표 플래그가 대표하는 블록을 설명하기 위한 도면이다.
도 5는 본 발명의 일 실시예에 따라 대표 플래그를 참조하여 분할 플래그의 유추 과정을 설명하는 도면이다.
도 6은 본 발명의 다른 실시예에 따른 대표 플래그 적용 방법을 설명하기 위한 도면이다.
도 7은 본 발명의 다른 실시예에 따른 대표 플래그가 대표하는 블록을 설명하기 위한 도면이다.
도 8은 본 발명의 다른 실시예에 따라 대표 플래그를 참조하여 분할 플래그의 유추 과정을 설명하는 도면이다.
도 9는 본 발명에 따른 IBC 예측을 설명하기 위한 도면이다.
도 10은 본 발명의 일 실시예에 따른 영상의 부호화 방법을 설명하기 위한 도면이다.
1 is a block diagram showing a configuration of an image encoding apparatus according to an embodiment of the present invention.
2 is a block diagram illustrating a configuration of an image decoding apparatus according to an embodiment of the present invention.
3 is a diagram for explaining a method of decoding an image according to an embodiment of the present invention
4 is a diagram for explaining a block represented by a representative flag according to an embodiment of the present invention.
5 is a view for explaining a process of estimating a division flag with reference to a representative flag according to an embodiment of the present invention.
FIG. 6 is a diagram for explaining a representative flag applying method according to another embodiment of the present invention.
7 is a diagram for explaining a block represented by a representative flag according to another embodiment of the present invention.
8 is a view for explaining a process of estimating a segmentation flag with reference to a representative flag according to another embodiment of the present invention.
9 is a diagram for explaining an IBC prediction according to the present invention.
10 is a view for explaining a method of encoding an image according to an embodiment of the present invention.

이하, 도면을 참조하여 본 발명의 실시 형태에 대하여 구체적으로 설명한다. 본 명세서의 실시예를 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 명세서의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the following description of the embodiments of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present disclosure rather unclear.

어떤 구성 요소가 다른 구성 요소에 “연결되어” 있다거나 “접속되어” 있다고 언급된 때에는, 그 다른 구성 요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있으나, 중간에 다른 구성 요소가 존재할 수도 있다고 이해되어야 할 것이다. 아울러, 본 발명에서 특정 구성을 “포함”한다고 기술하는 내용은 해당 구성 이외의 구성을 배제하는 것이 아니며, 추가적인 구성이 본 발명의 실시 또는 본 발명의 기술적 사상의 범위에 포함될 수 있음을 의미한다. It is to be understood that when an element is referred to as being "connected" or "connected" to another element, it may be directly connected or connected to the other element, . In addition, the description of "including" a specific configuration in the present invention does not exclude a configuration other than the configuration, and means that additional configurations can be included in the practice of the present invention or the technical scope of the present invention.

제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다.The terms first, second, etc. may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, the first component may be referred to as a second component, and similarly, the second component may also be referred to as a first component.

또한 본 발명의 실시예에 나타나는 구성부들은 서로 다른 특징적인 기능들을 나타내기 위해 독립적으로 도시되는 것으로, 각 구성부들이 분리된 하드웨어나 하나의 소프트웨어 구성단위로 이루어짐을 의미하지 않는다. 즉, 각 구성부는 설명의 편의상 각각의 구성부로 나열하여 포함한 것으로 각 구성부 중 적어도 두 개의 구성부가 합쳐져 하나의 구성부로 이루어지거나, 하나의 구성부가 복수 개의 구성부로 나뉘어져 기능을 수행할 수 있고 이러한 각 구성부의 통합된 실시예 및 분리된 실시예도 본 발명의 본질에서 벗어나지 않는 한 본 발명의 권리범위에 포함된다.In addition, the components shown in the embodiments of the present invention are shown independently to represent different characteristic functions, which does not mean that each component is composed of separate hardware or software constituent units. That is, each constituent unit is included in each constituent unit for convenience of explanation, and at least two constituent units of the constituent units may be combined to form one constituent unit, or one constituent unit may be divided into a plurality of constituent units to perform a function. The integrated embodiments and separate embodiments of the components are also included within the scope of the present invention, unless they depart from the essence of the present invention.

또한, 일부의 구성 요소는 본 발명에서 본질적인 기능을 수행하는 필수적인 구성 요소는 아니고 단지 성능을 향상시키기 위한 선택적 구성 요소일 수 있다. 본 발명은 단지 성능 향상을 위해 사용되는 구성 요소를 제외한 본 발명의 본질을 구현하는데 필수적인 구성부만을 포함하여 구현될 수 있고, 단지 성능 향상을 위해 사용되는 선택적 구성 요소를 제외한 필수 구성 요소만을 포함한 구조도 본 발명의 권리범위에 포함된다.In addition, some of the components are not essential components to perform essential functions in the present invention, but may be optional components only to improve performance. The present invention can be implemented only with components essential for realizing the essence of the present invention, except for the components used for the performance improvement, and can be implemented by only including the essential components except the optional components used for performance improvement Are also included in the scope of the present invention.

도 1은 영상 부호화 장치의 일 실시예에 따른 구성을 나타내는 블록도이다. 스케일러블(scalable) 비디오 부호화/복호화 방법 또는 장치는 스케일러빌리티(scalability)를 제공하지 않는 일반적인 영상 부호화/복호화 방법 또는 장치의 확장(extension)에 의해 구현될 수 있으며, 도 1의 블록도는 스케일러블 비디오 부호화 장치의 기초가 될 수 있는 영상 부호화 장치의 일 실시예를 나타낸다.1 is a block diagram showing a configuration of an image encoding apparatus according to an embodiment of the present invention. A scalable video encoding / decoding method or apparatus may be implemented by a general image encoding / decoding method or apparatus extension that does not provide scalability, and the block diagram of FIG. 1 is a scalable 1 shows an embodiment of a video encoding apparatus that can be a basis of a video encoding apparatus.

도 1을 참조하면, 상기 영상 부호화 장치(100)는 예측부(110), 감산기(125), 변환부(130), 양자화부(140), 엔트로피 부호화부(150), 역양자화부(160), 역변환부(170), 가산기(175), 필터부(180) 및 참조영상 버퍼(190)를 포함한다.1, the image encoding apparatus 100 includes a prediction unit 110, a subtractor 125, a transform unit 130, a quantization unit 140, an entropy encoding unit 150, an inverse quantization unit 160, An inverse transform unit 170, an adder 175, a filter unit 180, and a reference image buffer 190.

영상 부호화 장치(100)는 입력 영상에 대해 인트라(intra) 모드 또는 인터(inter) 모드로 부호화를 수행하고 비트스트림(bit stream)을 출력할 수 있다. 인트라 예측은 화면 내 예측, 인터 예측은 화면 간 예측을 의미한다. 인트라 모드인 경우 스위치(미도시)가 인트라로 전환되고, 인터 모드인 경우 스위치가 인터로 전환된다. 영상 부호화 장치(100)는 입력 영상의 입력 블록에 대한 예측 블록을 생성한 후, 입력 블록과 예측 블록의 차분을 부호화할 수 있다.The image encoding apparatus 100 may encode an input image in an intra mode or an inter mode and output a bit stream. Intra prediction is intra prediction, and inter prediction is inter prediction. In the intra mode, the switch (not shown) is switched to intra, and in the inter mode, the switch is switched to the inter-switch. The image encoding apparatus 100 may generate a prediction block for an input block of the input image, and may then code the difference between the input block and the prediction block.

예측부는 인트라 예측을 수행하는 인트라 예측부, 인터 예측을 수행하는 움직임 예측부 및 움직임 보상부, 인트라 카피 예측(intra block copy(IBC) prediction)을 수행하는 IBC 예측부를 세부적인 구성 요소로 포함할 수 있다. 또한, 영상 부호화 장치는 도시하지 않은 스위치를 포함할 수 있고, 스위치는 인터 예측부, 인트라 예측부, IBC 예측부 사이에서 전환될 수 있다. The prediction unit may include an intra prediction unit for performing intra prediction, a motion prediction unit and a motion compensation unit for performing inter prediction, and an IBC prediction unit for performing intra-block copy (IBC) prediction. have. Also, the video encoding apparatus may include a switch (not shown), and the switch may be switched between the inter prediction unit, the intra prediction unit, and the IBC prediction unit.

인트라 모드인 경우, 인트라 예측부는 현재 블록 주변의 이미 부호화된 블록의 화소값을 이용하여 공간적 예측을 수행하여 예측 블록을 생성할 수 있다.In the intra mode, the intraprediction unit may generate a prediction block by performing spatial prediction using the pixel value of the already coded block around the current block.

인터 모드인 경우, 움직임 예측부는, 움직임 예측 과정에서 참조 영상 버퍼(190)에 저장되어 있는 참조 영상에서 입력 블록과 가장 매치가 잘 되는 영역을 찾아 움직임 벡터를 구할 수 있다. 움직임 보상부는 움직임 벡터와 참조 영상 버퍼(190)에 저장되어 있는 참조 영상을 이용하여 움직임 보상을 수행함으로써 예측 블록을 생성할 수 있다. In the inter mode, the motion predicting unit can find a motion vector by searching an area of the reference image stored in the reference image buffer 190 that is best matched with the input block. The motion compensation unit may generate a prediction block by performing motion compensation using a motion vector and a reference image stored in the reference image buffer 190.

IBC 예측부는 현재 픽쳐 내에서 움직임 예측, 즉 탐색을 수행하여 현재 블록과 유사한 영역을 판별하여, 현재 블록에 대한 예측값, 블록 벡터를 구할 수 있다. IBC 예측부에 의한 예측은 이하에서 상세히 기술된다. The IBC predicting unit may perform motion prediction, i.e., search, in the current picture to determine an area similar to the current block, and obtain a predicted value and a block vector for the current block. The prediction by the IBC predictor is described in detail below.

감산기(125)는 입력 블록과 생성된 예측 블록의 차분에 의해 잔여 블록(residual block)을 생성할 수 있다. 변환부(130)는 잔여 블록에 대해 변환(transform)을 수행하여 변환 계수(transform coefficient)를 출력할 수 있다. 일부 잔여 블록에 대하여 변환부(130)는 변환(transform)을 생략하도록 구성될 수도 있으며, 이 경우에도 변환부(130)의 출력을 편의상 변환 계수(transform coefficient)라고 부른다. 그리고 양자화부(140)는 입력된 변환 계수를 양자화 파라미터에 따라 양자화하여 양자화된 계수(quantized coefficient)를 출력할 수 있다. The subtractor 125 may generate a residual block by a difference between the input block and the generated prediction block. The transforming unit 130 may perform a transform on the residual block to output a transform coefficient. The transforming unit 130 may be configured to omit a transform for some residual blocks. In this case, the output of the transforming unit 130 is referred to as a transform coefficient for the sake of convenience. The quantization unit 140 may quantize the input transform coefficient according to the quantization parameter to output a quantized coefficient.

엔트로피 부호화부(150)는, 양자화부(140)에서 산출된 값들 또는 부호화 과정에서 산출된 부호화 파라미터 값 등을 기초로, 심볼(symbol)을 확률 분포에 따라 엔트로피 부호화하여 비트스트림(bit stream)을 출력할 수 있다. 엔트로피 부호화 방법은 다양한 값을 갖는 심볼을 입력 받아, 통계적 중복성을 제거하면서, 복호 가능한 2진수의 열로 표현하는 방법이다. The entropy encoding unit 150 entropy-codes a symbol according to a probability distribution based on the values calculated by the quantization unit 140 or the encoding parameter value calculated in the encoding process to obtain a bit stream Can be output. The entropy coding method is a method of receiving symbols having various values and expressing them as decodable binary numbers while eliminating statistical redundancy.

여기서, 심볼이란 부호화/복호화 대상 구문 요소(syntax element) 및 부호화 파라미터(coding parameter), 잔여 신호(residual signal)의 값 등을 의미한다. 부호화 파라미터는 부호화 및 복호화에 필요한 매개변수로서, 구문 요소와 같이 부호화 장치에서 부호화되어 복호화 장치로 전달되는 정보뿐만 아니라, 부호화 혹은 복호화 과정에서 유추될 수 있는 정보를 포함할 수 있으며 영상을 부호화하거나 복호화할 때 필요한 정보를 의미한다. 부호화 파라미터는 예를 들어 인트라/인터 예측모드, 이동/움직임 벡터(motion vector), 참조 영상 색인, 부호화 블록 패턴, 잔여 신호 유무, 변환 계수, 양자화된 변환 계수, 양자화 파라미터, 블록 크기, 블록 분할 정보 등의 값 또는 통계를 포함할 수 있다. 또한 잔여 신호는 원신호와 예측 신호의 차이를 의미할 수 있고, 또한 원신호와 예측 신호의 차이가 변환(transform)된 형태의 신호 또는 원신호와 예측 신호의 차이가 변환되고 양자화된 형태의 신호, 또는 원신호와 예측 신호의 차이 신호 또는 원신호와 예측 신호의 차이 신호가 양자화된 형태의 신호를 의미할 수도 있다. 잔여 신호는 블록 단위에서는 잔여 블록이라 할 수 있다.Here, the symbol means a syntax element to be encoded / decoded, a coding parameter, a value of a residual signal, and the like. The encoding parameter is a parameter necessary for encoding and decoding. The encoding parameter may include information that can be inferred in an encoding or decoding process, as well as information encoded and encoded in a encoding device such as a syntax element, and may be encoded or decoded It means the information that is needed when doing. The coding parameters include, for example, intra / inter prediction mode, motion / motion vector, reference picture index, coding block pattern, residual signal presence, transform coefficients, quantized transform coefficients, quantization parameters, And the like. In addition, the residual signal may mean a difference between the original signal and the prediction signal, or a signal in which the difference between the original signal and the prediction signal is transformed or a difference between the original signal and the prediction signal is transformed and the quantized signal Or a difference signal between the original signal and the prediction signal or a signal in which the difference signal between the original signal and the prediction signal is quantized. The residual signal can be regarded as a residual block in block units.

엔트로피 부호화가 적용되는 경우, 높은 발생 확률을 갖는 심볼에 적은 수의 비트가 할당되고 낮은 발생 확률을 갖는 심볼에 많은 수의 비트가 할당되어 심볼이 표현됨으로써, 부호화 대상 심볼들에 대한 비트열의 크기가 감소될 수 있다. 따라서 엔트로피 부호화를 통해서 영상 부호화의 압축 성능이 높아질 수 있다. When entropy coding is applied, a small number of bits are allocated to a symbol having a high probability of occurrence, and a large number of bits are allocated to a symbol having a low probability of occurrence, so that the size of a bit string for the symbols to be coded Can be reduced. Therefore, the compression performance of the image encoding can be enhanced through the entropy encoding.

엔트로피 부호화를 위해 지수 골룸(exponential golomb), CAVLC(Context-Adaptive Variable Length Coding), CABAC(Context-Adaptive Binary Arithmetic Coding)과 같은 부호화 방법이 사용될 수 있다. 예를 들어, 엔트로피 부호화부(150)에는 가변 길이 부호화(VLC: Variable Lenghth Coding/Code) 테이블과 같은 엔트로피 부호화를 수행하기 위한 테이블이 저장될 수 있고, 엔트로피 부호화부(150)는 저장된 가변 길이 부호화(VLC) 테이블을 사용하여 엔트로피 부호화를 수행할 수 있다. 또한 엔트로피 부호화부(150)는 대상 심볼의 이진화(binarization) 방법 및 대상 심볼/빈(bin)의 확률 모델(probability model)을 도출한 후, 도출된 이진화 방법 또는 확률 모델을 사용하여 엔트로피 부호화를 수행할 수도 있다.For entropy encoding, an encoding method such as exponential golomb, context-adaptive variable length coding (CAVLC), and context-adaptive binary arithmetic coding (CABAC) may be used. For example, a table for performing entropy encoding such as a variable length coding / code (VLC) table may be stored in the entropy encoding unit 150, and the entropy encoding unit 150 may store the stored variable length encoding (VLC) table for performing entropy encoding. Further, the entropy encoding unit 150 derives a binarization method of a target symbol and a probability model of a target symbol / bin, and then performs entropy encoding using the derived binarization method or probability model You may.

양자화된 계수는 역양자화부(160)에서 역양자화되고 역변환부(170)에서 역변환될 수 있다. 일부 블록에 대하여 역변환부(170)는 역변환을 생략하도록 구성될 수도 있으며, 이 경우에도 역변환부(170)의 출력을 편의상 역변환된 계수라고 부른다. 역양자화, 역변환된 계수는 가산기(175)를 통해 예측 블록과 더해지고 복원 블록이 생성될 수 있다. The quantized coefficients can be inversely quantized in the inverse quantization unit 160 and inversely transformed in the inverse transformation unit 170. For some blocks, the inverse transform unit 170 may be configured to omit the inverse transform, and in this case also, the output of the inverse transform unit 170 is referred to as an inverse transformed coefficient for convenience. The inverse quantized and inverse transformed coefficients can be added to the prediction block through the adder 175 and a reconstruction block can be generated.

복원 블록은 필터부(180)를 거치고, 필터부(180)는 디블록킹 필터(deblocking filter), SAO(Sample Adaptive Offset), ALF(Adaptive Loop Filter) 중 적어도 하나 이상을 복원 블록 또는 복원 픽쳐에 적용할 수 있다. 필터부(180)를 거친 복원 블록은 참조 영상 버퍼(190)에 저장될 수 있다.The restoration block passes through the filter unit 180 and the filter unit 180 applies at least one of a deblocking filter, a sample adaptive offset (SAO), and an adaptive loop filter (ALF) can do. The restoration block having passed through the filter unit 180 may be stored in the reference image buffer 190.

도 2는 영상 복호화 장치의 일 실시예에 따른 구성을 나타내는 블록도이다. 도 1에서 상술한 바와 같이 스케일러블 비디오 부호화/복호화 방법 또는 장치는 스케일러빌리티를 제공하지 않는 일반적인 영상 부호화/복호화 방법 또는 장치의 확장에 의해 구현될 수 있으며, 도 2의 블록도는 스케일러블 비디오 복호화 장치의 기초가 될 수 있는 영상 복호화 장치의 일 실시예를 나타낸다.2 is a block diagram illustrating a configuration of an image decoding apparatus according to an embodiment of the present invention. As described above with reference to FIG. 1, the scalable video encoding / decoding method or apparatus may be implemented by expanding a general image encoding / decoding method or apparatus that does not provide scalability, and the block diagram of FIG. 2 illustrates scalable video decoding / 1 shows an embodiment of an image decoding apparatus which can be the basis of the apparatus.

도 2를 참조하면, 상기 영상 복호화 장치(200)는 엔트로피 복호화부(210), 역양자화부(220), 역변환부(230), 예측부(240), 필터부(260) 및 참조 영상 버퍼(270)를 포함한다.2, the image decoding apparatus 200 includes an entropy decoding unit 210, an inverse quantization unit 220, an inverse transform unit 230, a prediction unit 240, a filter unit 260, 270).

영상 복호화 장치(200)는 부호화 장치에서 출력된 비트스트림을 입력 받아 인트라 모드, 인터 모드 또는 IBC 모드로 복호화를 수행하고 재구성된 영상, 즉 복원 영상을 출력할 수 있다. The video decoding apparatus 200 receives the bit stream output from the encoding apparatus and decodes the video stream into an intra mode, an inter mode, or an IBC mode, and outputs a reconstructed video, that is, a reconstructed video.

영상 복호화 장치(200)는 입력 받은 비트스트림으로부터 복원된 잔여 블록(residual block)을 얻고 예측 블록을 생성한 후 복원된 잔여 블록과 예측 블록을 더하여 재구성된 블록, 즉 복원 블록을 생성할 수 있다.The video decoding apparatus 200 may generate a reconstructed block, i.e., a reconstructed block, by obtaining a reconstructed residual block from the input bitstream, generating a predicted block, and adding the reconstructed residual block to the predicted block.

엔트로피 복호화부(210)는, 입력된 비트스트림을 확률 분포에 따라 엔트로피 복호화하여, 양자화된 계수(quantized coefficient) 형태의 심볼을 포함한 심볼들을 생성할 수 있다. 엔트로피 복호화 방법은 2진수의 열을 입력 받아 각 심볼들을 생성하는 방법이다. 엔트로피 복호화 방법은 상술한 엔트로피 부호화 방법과 유사하다.The entropy decoding unit 210 may entropy-decode the input bitstream according to a probability distribution to generate symbols including a symbol of a quantized coefficient type. The entropy decoding method is a method of generating each symbol by receiving a binary sequence. The entropy decoding method is similar to the entropy encoding method described above.

양자화된 계수는 역양자화부(220)에서 역양자화되고 역변환부(230)에서 역변환되며, 양자화된 계수가 역양자화/역변환 된 결과, 복원된 잔여 블록(residual block)이 생성될 수 있다. 일부 블록에 대하여 역변환부(230)는 역변환을 생략하도록 구성될 수도 있다. 또한, 역양자화부(220)도 일부 블록에 대하여 생략되도록 구성될 수 도 있다.The quantized coefficients are inversely quantized in the inverse quantization unit 220 and inversely transformed in the inverse transformation unit 230. As a result that the quantized coefficients are inversely quantized / inverse transformed, reconstructed residual blocks can be generated. For some blocks, the inverse transform unit 230 may be configured to omit the inverse transform. Also, the inverse quantization unit 220 may be configured to omit some blocks.

예측부(240)는 인트라 예측을 수행하는 인트라 예측부, 인터 예측을 수행하는 움직임 예측부 및 움직임 보상부, 인트라 카피 예측(intra block copy(IBC) prediction)을 수행하는 IBC 예측부를 세부적인 구성 요소로 포함할 수 있다.The prediction unit 240 includes an intra prediction unit for performing intra prediction, a motion prediction unit and a motion compensation unit for performing inter prediction, an IBC prediction unit for performing intra-block copy (IBC) prediction, As shown in FIG.

인트라 모드인 경우, 인트라 예측부는 현재 블록 주변의 이미 부호화된 블록의 화소값을 이용하여 공간적 예측을 수행하여 예측 블록을 생성할 수 있다. 인터 모드인 경우, 움직임 보상부는 움직임 벡터 및 참조 영상 버퍼(270)에 저장되어 있는 참조 영상을 이용하여 움직임 보상을 수행함으로써 예측 블록을 생성할 수 있다. In the intra mode, the intraprediction unit may generate a prediction block by performing spatial prediction using the pixel value of the already coded block around the current block. In the inter mode, the motion compensation unit may generate a prediction block by performing motion compensation using a motion vector and a reference image stored in the reference image buffer 270. [

IBC 예측의 경우, IBC 예측부는 현재 픽쳐 내에서 움직임 예측, 즉 탐색을 수행하여 현재 블록과 유사한 영역을 판별하여 현재 블록에 대한 예측값, 블록 벡터를 구할 수 있다. IBC 예측부에 의한 예측은 이하에서 상세히 기술된다.In case of IBC prediction, the IBC predictor can perform a motion prediction, i.e., a search, in the current picture to determine an area similar to the current block to obtain a predicted value and a block vector for the current block. The prediction by the IBC predictor is described in detail below.

복원된 잔여 블록과 예측 블록은 가산기(255)를 통해 더해지고, 더해진 블록은 필터부(260)를 거친다. 필터부(260)는 디블록킹 필터, SAO, ALF 중 적어도 하나 이상을 복원 블록 또는 복원 픽쳐에 적용할 수 있다. 필터부(260)는 재구성된 영상, 즉 복원 영상을 출력한다. 복원 영상은 참조 영상 버퍼(270)에 저장되어 화면 간 예측에 사용될 수 있다.The restored residual block and the prediction block are added through the adder 255, and the added block is passed through the filter unit 260. The filter unit 260 may apply at least one of a deblocking filter, SAO, and ALF to a restoration block or a restored picture. The filter unit 260 outputs a reconstructed image, that is, a reconstructed image. The restored image is stored in the reference image buffer 270 and can be used for inter-view prediction.

상기 영상 복호화 장치(200)에 포함되어 있는 엔트로피 복호화부(210), 역양자화부(220), 역변환부(230), 예측부(240), 필터부(260) 및 참조 영상 버퍼(270) 중 영상의 복호화에 직접적으로 관련된 구성요소들, 예컨대, 엔트로피 복호화부(210), 역양자화부(220), 역변환부(230), 예측부(240) 필터부(260) 등을 다른 구성요소와 구분하여 복호화부 또는 디코딩부로 표현할 수 있다. The entropy decoding unit 210, the inverse quantization unit 220, the inverse transform unit 230, the predictor 240, the filter unit 260, and the reference image buffer 270 included in the image decoding apparatus 200 The entropy decoding unit 210, the inverse quantization unit 220, the inverse transformation unit 230, the prediction unit 240, the filter unit 260, and the like, which are directly related to the decoding of the image, And can be expressed as a decoding unit or a decoding unit.

또한, 영상 복호화 장치(200)는 비트스트림에 포함되어 있는 인코딩된 영상에 관련된 정보를 파싱하는 도시하지 않은 파싱부를 더 포함할 수 있다. 파싱부는 엔트로피 복호화부(210)를 포함할 수도 있고, 엔트로피 복호화부(210)에 포함될 수도 있다. 이러한 파싱부는 또한 디코딩부의 하나의 구성요소로 구현될 수도 있다.In addition, the video decoding apparatus 200 may further include a parsing unit (not shown) for parsing information related to the encoded video included in the bitstream. The parsing unit may include an entropy decoding unit 210 or may be included in the entropy decoding unit 210. Such a parsing unit may also be implemented as one component of the decoding unit.

한편, 기존의 영상 코딩 방법 중에는 고주파 성분을 많이 포함하고 있는 블록에 대하여 변환을 생략하는 변환 생략(Transform Skip)을 적용하고 있다. On the other hand, in the conventional image coding method, a transform skip is applied to a block including a large number of high-frequency components to omit the conversion.

예를 들어, 픽쳐 파라미터 세트(picture parameter set)와 같은 상위 단에서 시그널링되는 transform_skip_enabled_flag에 대한 값이 1이고, 잔차 신호의 부/복호화시, CBF(codedblockflag)가 1인 모든 4x4 크기의 변환 블록(transformblock, TB)에 대하여 변환 생략 여부를 지시하는 플래그(transform_skip_flag )를 개별적으로 시그널링 할 수 있다.For example, when a value for a transform_skip_enabled_flag signaled at an upper end such as a picture parameter set is 1 and a value for CBF (codedblockflag) is 1 at the time of adding / decoding a residual signal, all 4x4- , TB) can be individually signaled with a flag (transform_skip_flag) indicating whether to omit conversion.

또는 transform_skip_enabled_flag에 대한 값이 1이고, 현재 변환 블록의 크기가 픽쳐 파라미터 세트에서 시그널링되는 변환 생략이 적용될 수 있는 변환 블록의 최대 크기를 나타내는 정보(예를 들어, log2_max_transform_skip_block_size_minus2)에 의하여 정의되는 최대 블록 크기보다 작거나 같고, CBF가 1인 모든 변환 블록에 대하여 변환 생략 여부를 지시하는 플래그 (transform_skip_flag )를 개별적으로 시그널링 할 수 있다.Or the value of the transform_skip_enabled_flag is 1 and the size of the current transform block is larger than the maximum block size defined by the information (for example, log2_max_transform_skip_block_size_minus2) indicating the maximum size of the transform block to which the transformation skip signaled in the picture parameter set can be applied A flag (transform_skip_flag) indicating whether or not the conversion is omitted can be individually signaled for all conversion blocks having a CBF of 1 or less.

이러한 변환 생략 시그널링 방법의 경우, CBF가 1인 변환 생략가능한 모든 변환 블록에 대하여 개별적으로 변환 생략 여부를 지시하는 플래그 (transform_skip_flag )정보가 시그널링 되므로 비트량이 증가하는 문제점이 발생할 수 있다. In the case of this conversion omission signaling method, since the flag (transform_skip_flag) indicating the conversion omission is separately signaled to all conversion blocks which can be converted to CBF 1, the bit amount may increase.

이에, 본 발명은 소정 단위(일 실시예에 의하면, 코딩 유닛(coding unit, CU)) 내에 포함된 하나 또는 복수개의 변환 유닛들의 변환 생략 여부를 대표하여 표시하는 정보를 설정하고, 이를 복호화 장치로 시그널링 하는 방법을 제안함으로써, 변환 생략을 시그널링하기 위한 비트량을 감소시키고, 궁극적으로 영상 부호화 효율을 증대시키는 것을 목적으로 한다.Accordingly, the present invention sets information for representing whether to omit conversion of one or a plurality of conversion units included in a predetermined unit (in one embodiment, a coding unit (CU)), The present invention aims at reducing the amount of bits for signaling the omission of the conversion and ultimately increasing the image coding efficiency.

특히, 화면 내에서 반복적으로 유사한 패턴이 발생하거나 고주파를 다량 포함하는 잔차 신호가 빈번히 발생하는 영상의 경우, 소정 단위 내에 속하는 변환 블록들은 모두 변환이 생략되거나 모두 변환이 수행될 가능성이 높으므로, 이 경우 개별 변환 블록별로 변환 생략 여부를 지시하는 플래그를 시그널링하는 대신, 소정 단위의 변환 생략 여부를 대표하는 플래그를 시그널링 함으로써 부호화 효율을 증가시킬 수 있다. Particularly, in the case of an image in which a similar pattern is repeatedly generated in the screen or a residual signal including a large amount of high frequency is frequently generated, all conversion blocks belonging to a predetermined unit are highly likely to be converted or omitted. The encoding efficiency can be increased by signaling a flag representative of whether or not the predetermined unit of conversion is omitted, instead of signaling a flag indicating whether or not to omit conversion for each individual conversion block.

예를 들어, 컴퓨터에 의하여 만들어진 인공 영상의 경우, 반복적인 유사 패턴이 발생하거나 고주파를 포함할 수 있는 경향이 강하므로, 본 발명을 적용할 경우 그 효과가 증대될 수 있다. For example, in the case of an artificial image created by a computer, a repetitive similar pattern may occur or a high frequency may be included, so that the effect of the present invention can be enhanced.

본 발명의 설명에서는 편의상 소정 단위를 구체적으로 코딩 유닛의 용어를 사용하여 기술하나, 본 발명의 소정 단위가 반드시 코딩 유닛으로는 한정되지는 않는다. 한편, 본 발명 명세서에서 사용하는 코딩 유닛, 코딩 블록 (coding block, CB)을 설명하면 다음과 같다. In the description of the present invention, a predetermined unit is specifically described using terms of a coding unit for convenience, but the predetermined unit of the present invention is not necessarily limited to a coding unit. Meanwhile, a coding unit, a coding block (CB) used in the present invention will be described as follows.

코딩 유닛은 하나의 코딩 블록 또는 복수개의 코딩 블록과 이들이 사용하는 신택스 요소정보로 구성된다. 컬러 영상의 경우 일반적으로 세개의 컴포넌트를 가지고 있으므로, 하나의 코딩 유닛은 각 컴포넌트별로 하나의 코딩블록을 가져 총 세개의 코딩 블록(예를 들어 세개의 컴포넌트를 갖는 영상이면서 각 컴포넌트별로 독립적으로 부호화 되지 않을 경우)을 가지거나, 하나의 코딩 블록 (예를 들어, 모노크롬 (Monochrome) 영상의 경우, 또는 컬러 영상이라도 각 컴포넌트별로 독립적으로 부호화될 경우)을 가질 수 있다.A coding unit is composed of one coding block or a plurality of coding blocks and syntax element information used by them. In the case of a color image, since there are generally three components, one coding unit has one coding block for each component, and a total of three coding blocks (for example, an image having three components and being independently encoded for each component (For example, in the case of a monochrome image, or even if a color image is independently encoded for each component).

또한, 변환이 적용되거나 변환 생략이 적용되는 변환 블록(transform block, TB)과, 분할의 단위가 되는 변환 유닛 transform unit, TU)에 대하여 설명하면 다음과 같다. In addition, a transform block (TB) to which a transform is applied or to which a transform omission is applied, and a transform unit transform unit (TU) which is a unit of the dividing will be described as follows.

본 발명에 따른 변환 유닛(transform unit, TU)은 코딩 유닛으로부터 분할될 수 있는 단위이다. 하나의 코딩 유닛은 변환부호화를 위하여 하나 또는 복수개의 변환 유닛으로 분할 될 수 있는데, 구체적으로 어떻게 분할 되는 가는 코딩 유닛을 root로 하는 쿼드트리 정보에 의하여 지시된다. 이를 분할(split 정보 또는 split_transform_flag 정보) 라고 한다. 변환 유닛은 하나의 변환 블록 또는 복수개의 변환 블록과 이들이 사용하는 신택스 요소 정보로 구성된다. 변환 유닛은 각 색상 컴퍼넌트(예를 들어, Y,Cb,Cr)를 구성하는 변환 블록(transform block)들의 집합적인 개념을 가질 수 있으며, 하나의 변환유닛이 갖는 변환 블록의 개수는 색상 포맷에 따라 다를 수 있다A transform unit (TU) according to the present invention is a unit that can be divided from a coding unit. One coding unit may be divided into one or a plurality of conversion units for transcoding, specifically how the being divided is indicated by the quad tree information with root as the coding unit. This is called splitting (split information or split_transform_flag information). The conversion unit is composed of one conversion block or a plurality of conversion blocks and syntax element information used by them. The conversion unit may have a collective concept of transform blocks constituting each color component (for example, Y, Cb, Cr), and the number of conversion blocks of one conversion unit may be determined according to the color format can be different

변환 블록은 변환 및 양자화를 수행하는 기본 단위에 해당한다. The conversion block corresponds to a basic unit for performing conversion and quantization.

세개의 컴포넌트를 가지고 있는 컬러 영상의 경우, 만일 색상 포맷이 4:2:0 또는 4:4:4 일 경우, 하나의 변환 유닛은 세개의 변환 블록 (하나는 루마 컴포넌트에 대한 변환 블록이고, 나머지 두개는 크로마 컴포넌트에 대한 변환블록이다)을 갖는다. 한편, 4:2:2 색상 포멧의 경우, 다섯개의 변환 블록 (하나는 루마 컴포넌트에 대한 변환 블록이고, 나머지 네 개는 크로마 컴포넌트에 대한 변환블록이다)을 가지며, 모노크롬 영상이거나 컬러 영상이라도 각 컴포넌트별로 독립적으로 부호화될 경우, 한개의 변환 블록을 가질 수 있다. For a color image with three components, if the color format is 4: 2: 0 or 4: 4: 4, then one conversion unit will have three conversion blocks (one is the conversion block for the luma component, And two are transform blocks for the chroma component). On the other hand, in the case of the 4: 2: 2 color format, five conversion blocks (one is a conversion block for a luma component and the remaining four are conversion blocks for a chroma component) If they are independently encoded, they can have one transform block.

한편, 색상 포맷이 4:4:4인 경우, 하나의 변환 유닛에 속하는 변환 블록들은 모두 동일한 크기를 가질 수 있다.On the other hand, when the color format is 4: 4: 4, the conversion blocks belonging to one conversion unit may all have the same size.

색상 포맷이 4:2:0인 경우, 루마 변환 블록의 크기는 변환 유닛의 크기와 동일하지만 크로마 변환 블록의 크기는 변환 유닛보다 작을 수 있다. 즉, 동일한 변환 유닛에 속하는 변환 블록이라고 할지라도 루마와 크로마에 따라 변환 블록의 크기는 달라 질 수 있다. 그러나, 예외적으로 8X8 코딩 유닛이 한 차례 쿼드트리로 분할 되어 변환 유닛이 4x4의 크기를 가질 경우, 루마와 크로마 변환블록 모두 4x4의 동일한 크기를 갖도록 할 수 있다. 이것은 너무 작은 (예를 들어 4x4보다 작은) 변환 블록은 실제 응용에 있어서 복잡도 증가대비 효용이 별로 없기 때문이다. If the color format is 4: 2: 0, the size of the luma conversion block is equal to the size of the conversion unit, but the size of the chroma conversion block may be smaller than the conversion unit. That is, the size of the transform block may vary depending on the luma and chroma, even if the transform block belongs to the same transform unit. However, exceptionally, if the 8x8 coding unit is divided into a quad tree once and the transform unit has a size of 4x4, both the luma and the chroma transform block can have the same size of 4x4. This is because transform blocks that are too small (for example, smaller than 4x4) have little utility in terms of increasing complexity in real applications.

도 3은 본 발명의 일 실시예에 따른 영상의 복호화 방법을 설명하기 위한 도면이다. 도 3을 참조하여 본 실시예에 따라 변환 생략이 적용되는 변환 블록에 대한 변환 생략 여부를 대표하는 대표 플래그 (transform_skip_all_ones_in_cu_flag) 및 이에 따라 수행되는 영상의 변환 과정을 설명하면 다음과 같다. 3 is a diagram for explaining a method of decoding an image according to an embodiment of the present invention. Referring to FIG. 3, a representative flag (transform_skip_all_ones_in_cu_flag) representing whether or not the conversion block is omitted for the conversion block to which the conversion is omitted according to the present embodiment, and a conversion process of the image performed according to the representative flag will be described.

우선, 복호화 장치는 현재 코딩 유닛(CU)에 대하여 대표 플래그를 파싱할 것인지를 결정하기 위하여, 대표 플래그 파싱 조건 만족 여부를 판단한다(S310).First, in order to determine whether the representative flag is to be parsed for the current coding unit (CU), the decoding apparatus determines whether the representative flag parsing condition is satisfied (S310).

영상의 부호화 및 복호화 과정에서는 변환 생략이 적용될 수 있는 변환 블록의 크기를 미리 정한 후, 이를 시그널링하고 있다. 예를 들어 변환 생략이 적용될 수 있는 변환 블록의 크기는 4X4로 한정되거나, 변환 생략이 적용될 수 있는 최대 변환 블록의 크기가 정해질 수 있다. 따라서, 현재 코딩 유닛내 변환 블록의 크기가 변환 생략이 적용될 수 있는 크기에 해당하지 않는 경우에는 변환 생략 자체가 원천적으로 발생하지 않으므로, 변환 생략 여부를 대표하여 표시하는 대표 플래그의 파싱자체가 필요없게 된다. In the process of encoding and decoding an image, a size of a conversion block to which the conversion skip can be applied is predetermined and signaled. For example, the size of the transform block to which the transform omission can be applied is limited to 4X4, or the size of the maximum transform block to which the transform omission can be applied can be determined. Therefore, when the size of the conversion block in the current coding unit does not correspond to the size to which the conversion omission can be applied, the conversion omission itself does not occur originally. Therefore, parsing itself of the representative flag do.

본 단계 (S310)는, 현재 코딩 유닛의 크기가 이러한 변환 생략이 적용될 수 있는 크기 조건을 만족하는, 즉, 변환 블록의 변환 생략 여부를 지시하는 플래그(transform_skip_flag)의 파싱이 필요한 변환 블록이 현재 코딩 유닛 내에 존재할 수 있는지의 판단을 포함한다. 변환 생략 여부를 지시하는 플래그는 설명의 편의 상 변환 생략 플래그 (transform_skip_flag) 또는 제1 정보로 표현될 수 있다.In this step S310, a transform block that requires parsing of a flag (transform_skip_flag) indicating whether the size of the current coding unit satisfies a size condition to which such a conversion skip can be applied, i.e., whether or not a conversion block is skipped, And whether or not it can exist in the unit. A flag indicating whether or not to omit conversion may be represented by a translation omission flag (transform_skip_flag) or first information for convenience of explanation.

한편, 본 발명의 일 실시예에 따르면, 대표 플래그를 파싱하기 전에 대표 플래그를 이용하여 변환 생략 여부를 결정하는 기능을 사용하는지 여부를 나타내는 플래그 정보를 더 수신할 수 있다. 대표 플래그를 사용하여 변환 생략을 대표하는 기능을 사용하는지 여부를 지시하는 플래그 정보는 아래 표 1과 같이 시그널링될 수 있으며, 복호화 장치는 이를 수신할 수 있다. According to an embodiment of the present invention, it is possible to further receive flag information indicating whether or not the function of determining whether to omit conversion using the representative flag is used before parsing the representative flag. Flag information indicating whether or not to use the function representing the omission of conversion using the representative flag can be signaled as shown in Table 1 below, and the decoding apparatus can receive it.

Figure 112016023931807-pat00001
Figure 112016023931807-pat00001

또한, 변환 생략기능 자체가 사용되지 않을 경우는 변환 생략 정보를 대표하여 시그널링하는 기능 자체도 필요없게 되므로, 대표 플래그를 사용하여 변환 생략 기능을 사용하는지 여부를 지시하는 플래그 정보인 transform_skip_enabled_flag 정보와 연계하여, 대표 플래그를 사용하여 변환 생략을 대표하는 기능을 사용하는지 여부를 지시하는 플래그 정보는 아래 표 2와 같이 시그널링될 수 있으며, 복호화 장치는 이를 수신한다. In addition, when the conversion skip function itself is not used, the function of signaling on behalf of the conversion skip information becomes unnecessary. Therefore, in association with the transform_skip_enabled_flag information, which is flag information indicating whether or not to use the conversion skip function by using the representative flag , The flag information indicating whether to use the function representing the omission of the conversion using the representative flag can be signaled as shown in Table 2 below and the decoding device receives it.

Figure 112016023931807-pat00002
Figure 112016023931807-pat00002

표 2에 따른 실시예에서 transform_skip_enabled_flag가 0일 경우에는 transform_skip_group_signalling_enabled_flag는 시그널링 되지 않으며, 이때, 복호화 장치는 이 값을 0으로 유추한다.In the embodiment according to Table 2, when the transform_skip_enabled_flag is 0, the transform_skip_group_signalling_enabled_flag is not signaled. In this case, the decoding apparatus deduces this value to be zero.

표 1과 표 2에 개시된 본 발명의 기능 사용 여부를 나타내는 플래그 정보(transform_skip_group_signalling_enabled_flag)는 소정의 파라메터 set()를 사용하여 전송될 수 있다. Flag information (transform_skip_group_signalling_enabled_flag) indicating whether or not the function of the present invention described in Table 1 and Table 2 is used can be transmitted using a predetermined parameter set ().

더욱 구체적으로, 상위 레벨인 시퀀스 파라미터 세트(Sequence parameter set) 또는 픽쳐 파라미터 세트(Picture parameter set)의 익스텐션(extension) 레벨을 통하여 시그널링 될 수 있다. 예를 들어, sps_range_extension (sequence parameter set range extension), sps_scc_extension (sequence parameter set screen content coding extension), pps_range_extension (picture parameter set range extension)또는 pps_range_extension (picture parameter set screen content coding extension)을 통하여 시그널링 될 수 있다.More specifically, it can be signaled through an extension level of a sequence parameter set or a picture parameter set, which is a higher level. For example, it may be signaled through sps_range_extension (sequence parameter set range extension), sps_scc_extension (sequence parameter set screen content coding extension), pps_range_extension (picture parameter set range extension), or pps_range_extension (picture parameter set screen content coding extension).

표 1과 표 2에 개시된 본 발명의 transform_skip_group_signalling_enabled_flag 정보의 동작 설명은 다음과 같다.The operation of the transform_skip_group_signalling_enabled_flag information of the present invention disclosed in Tables 1 and 2 is as follows.

transform_skip_group_signalling_enabled_flag가 1이면 변환 생략을 대표하는 기능을 사용하는 것을 나타내므로 코딩 유닛 레벨에서 대표 플래그가 시그널링 될 수 있다. transform_skip_group_signalling_enabled_flag가 0이면 변환 생략을 대표하는 기능을 사용하지 않는 것을 나타낼 수 있으며, 또는 부호화 장치 및 복호화 장치에서 사전에 설정된 다른 의미로 사용될 수 있다. If the transform_skip_group_signalling_enabled_flag is 1, it indicates that the function representing the skip transformation is used, so that the representative flag can be signaled at the coding unit level. If transform_skip_group_signalling_enabled_flag is 0, it indicates that the function representing the translation omission is not used, or may be used in a different meaning previously set by the encoding apparatus and the decoding apparatus.

변환 생략 정보를 대표하여 시그널링하는 기능이 사용되지 않는 경우, 상기 transform_skip_group_signalling_enabled_flag는 시그널링되지 않을 수 있다.If the function of signaling on the basis of the conversion skip information is not used, the transform_skip_group_signalling_enabled_flag may not be signaled.

본 발명에 따른 대표 플래그는 표 3과 같이 시그널링 될 수 있다. The representative flag according to the present invention can be signaled as shown in Table 3.

Figure 112016023931807-pat00003
Figure 112016023931807-pat00003

표 3를 참조하여 S310 단계에서의 대표 플래그 파싱 조건이 만족되는 경우는 다음을 포함한다. 표 1에서 시그널링되는 transform_skip_group_signalling_enabled_flag가 1이고, 변환 생략의 적용이 가능한지 여부를 지시하는 플래그(transform_skip_enabled_flag)가 1이고, 현재 코딩 유닛이 무손실 부호화 되지 않고(!cu_transquant_bypass_flag), 현재 코딩 유닛에서 분할될 수 있는 최소 크기의 변환 블록이 변환 생략이 적용될 수 있는 최대 변환 블록 크기보다 작거나 같은 경우(if ( ( log2CbSize ? MaxTrafoDepth ? (ChromaArrayType % 3 = = 0 ? 0 : 1 ) )<= Log2MaxTransformSkipSize), 변환 생략 여부를 지시하는 제1 정보를 대표하는 대표 플래그(transform_skip_all_ones_in_cu_flag)를 파싱할 것으로 판단될 수 있다.The case where the representative flag parsing condition in step S310 is satisfied with reference to Table 3 includes the following. The transform_skip_group_signalling_enabled_flag signaled in Table 1 is 1, the flag (transform_skip_enabled_flag) indicating whether or not the application of the transform omission is possible is 1, the current coding unit is not lossless coded (! Cu_transquant_bypass_flag) If the size conversion block is less than or equal to the maximum conversion block size to which the translation skip can be applied (if ((log2CbSize? MaxTrafoDepth? (ChromaArrayType% 3 == 0? 0: 1)) <= Log2MaxTransformSkipSize) It can be determined that the representative flag (transform_skip_all_ones_in_cu_flag) representing the first information to be instructed is parsed.

여기서, 현재 코딩 유닛에서 분할될 수 있는 최소 크기의 변환 블록이라 함은, 최대 깊이(MaxTrafoDepth)로 변환 유닛이 분할되는 것을 포함한다. 또한, 최대 깊이라는 표현에서 깊이란 다음을 의미할 수 있다. 깊이가 0 인 경우는 변환을 위하여 현재 코딩 유닛이 더 이상 분할 되지 않음을 의미할 수 있다. 또한 깊이가 1은, 변환을 위하여 코딩 유닛이 쿼드 트리로 한 단계 분할 된다는 의미할 수 있다. 이때, 분할 후 변환 유닛을 구성하는 특정 변환 블록이 부호화 장치가 미리 정한 최소 변환 블록 크기보다 작아지는 경우는 그 해당 변환 블록은 더 이상 분할 되지 않을 수 있다. 또한 깊이가 1씩 증가할 때 마다, 위와 같이 최소 변환 블록 크기 보다 작아지지 않는다는 조건하에서 쿼드 트리로 한 단계 더 분할될 수 있다. 또한, 본 발명의 설명에서 깊이는, 코딩 유닛이 변환을 위하여 분할 되는 것을 의미하므로, 특별한 설명이 없는 경우 변환 깊이(trafoDepth)라는 용어와 같은 의미로 사용된다.Here, the minimum-size conversion block that can be divided in the current coding unit includes that the conversion unit is divided into a maximum depth (MaxTrafoDepth). Also, in the expression of maximum depth, depth can mean the following. If the depth is zero, it may mean that the current coding unit is not further divided for conversion. Also, a depth of 1 may mean that the coding unit is divided into quad trees one step for conversion. At this time, if the specific transform block constituting the transform unit after the division becomes smaller than the minimum transform block size predetermined by the encoder, the transform block may not be further divided. Also, whenever the depth is increased by 1, it can be further divided into quad trees under the condition that it does not become smaller than the minimum conversion block size as described above. Further, in the description of the present invention, the depth means that the coding unit is divided for conversion, and therefore, unless otherwise specified, the term depth is used in the same meaning as the term "transform depth".

상기 표 3을 참조하여 설명한 대표 플래그 파싱 조건이 만족되는 경우에는 변환 생략 여부를 지시하는 제1 정보를 대표하는 대표 플래그가 파싱 될 수 있다 (S320).  When the representative flag parsing condition described with reference to Table 3 is satisfied, a representative flag representative of the first information indicating whether or not the conversion is omitted may be parsed (S320).

반면, 상기 조건이 만족되지 않는 경우 (예를 들어, 현재 코딩 유닛 내에 변환 생략이 가능한 크기의 변환 블록이 존재할 수 없는 경우, 또는 본 발명의 대표 플래그를 사용하지 않는다고 지시되는 경우등), 대표 플래그 파싱 조건이 만족되지 않은 것으로 판단될 수 있다. 대표 플래그 파싱 조건이 만족 되지 않아 파싱을 안 하는 경우에는 대표 플래그(transform_skip_all_ones_in_cu_flag) 의 값을 0으로 간주하고(S311) 후속 복호화를 수행한다(S315).On the other hand, when the above condition is not satisfied (for example, when there is no conversion block in the current coding unit so that conversion can be omitted, or when the representative flag of the present invention is not used) It can be determined that the parsing condition is not satisfied. If the representative flag parsing condition is not satisfied and parsing is not performed, the value of the representative flag (transform_skip_all_ones_in_cu_flag) is regarded as 0 (S311) and subsequent decoding is performed (S315).

본 발명의 기능 사용 여부를 나타내는 플래그 정보(transform_skip_group_signalling_enabled_flag)가 상기의 표 2에 개시된 것과 같이 시그널링 되는 실현예에서는, 표 3과 연관하여 설명된 상기 조건문의 처음 두 조건, 즉, transform_skip_group_signalling_enabled_flag가 1이고, 변환 생략의 적용이 가능한지 여부를 지시하는 플래그(transform_skip_enabled_flag)가 1이라는 앤드(AND) 조건으로 묶인 두 조건은 실질적으로 transform_skip_group_signalling_enabled_flag로 대체 될 수 있다. 왜냐하면 표 2에서 보는 바와 같이 transform_skip_group_signalling_enabled_flag 값이 1이 되는 것은 transform_skip_enabled_flag 값이 1인 경우에만 가능하기 때문이다.In a realization example in which flag information (transform_skip_group_signalling_enabled_flag) indicating whether or not the function of the present invention is used is signaled as described in Table 2 above, the first two conditions of the condition statement described in connection with Table 3, that is, transform_skip_group_signalling_enabled_flag is 1, Two conditions in which a flag (transform_skip_enabled_flag) indicating whether or not the application of omission can be applied are bundled in an AND condition of 1 can be substantially replaced by transform_skip_group_signalling_enabled_flag. This is because the value of transform_skip_group_signalling_enabled_flag becomes 1 as shown in Table 2 because the transform_skip_enabled_flag value is 1 only.

표 3에서 ChromaArrayType 은 현재 복호화할 영상의 컬러 포멧을 지칭한다ChromaArrayType 은 1,2,3의 값을 가질 수 있으며 그 값 각각의 의미는 색상 포맷이 각각 4:2:0, 4:2:2, 4:4:4인 것을 의미한다. 또한, 주어진 영상이 monochrome 영상의 경우 또는 4:4:4 컬러영상에서 복호화시 각 컬러채널간의 상호 의존 없이 (즉, 복호화시 다른 컬러채널에서의 정보를 사용하지 않는다) 각 컬러 채널을 별개로 부호화(또는 복호화) 할 경우는 ChromaArrayType은 0의 값을 갖는다. 한편, 표 2에서 (ChromaArrayType % 3 = = 0 ? 0 : 1 )의 식은 ChromaArrayType 이 0 또는 3인 경우에는 0의 값을, 그리고 그 이외의 경우는 1의 값을 갖는 것을 의미한다.In Table 3, ChromaArrayType refers to the color format of the image to be decoded. ChromaArrayType can have a value of 1, 2, 3, meaning that the color format is 4: 2: 0, 4: 2: 2, 4: 4: 4. In addition, when a given image is a monochrome image or when decoding in a 4: 4: 4 color image, each color channel is separately encoded without interdependence between the color channels (i.e., information is not used in decoding on a different color channel) (Or decoded), ChromaArrayType has a value of zero. On the other hand, the expression (ChromaArrayType% 3 = = 0? 0: 1) in Table 2 means that the value is 0 when the ChromaArrayType is 0 or 3 and 1 when the ChromaArrayType is 0 or 3.

예를 들어, 코딩 유닛의 크기를 NxN 이며 해당 코딩 유닛에서 분할 가능한 최소 크기의 변환 블록 크기는 (N/4)x(N/4) 이고, 변환 생략이 적용될 수 있는 최대 변환 블록의 크기가 4x4 로 설정된 경우를 가정하자. 이런 경우, 코딩 유닛의 크기가 64x64 이면 (즉, N=64), 코딩 유닛이 가질 수 있는 최소 크기의 변환 블록 크기는 16x16 이다. 따라서 64x64 크기의 코딩 유닛 내에는 변환 생략이 가능한 변환 블록은 존재할 수 없다. 따라서, S310 단계의 대표 플래그 파싱 조건이 만족되지 못하므로, 변환 생략 여부를 지시하는 제1 정보를 대표하는 대표 플래그(transform_skip_all_ones_in_cu_flag)의 파싱은 수행되지 않는다.For example, if the size of the coding unit is NxN, and the minimum size of the transform block size that can be divided by the coding unit is (N / 4) x (N / 4) and the size of the maximum transform block, . &Lt; / RTI &gt; In this case, if the size of the coding unit is 64x64 (i.e., N = 64), the minimum size of the conversion block size that the coding unit can have is 16x16. Therefore, there can not be a conversion block capable of omitting conversion in a 64x64 size coding unit. Therefore, since the representative flag parsing condition in step S310 is not satisfied, parsing of the representative flag (transform_skip_all_ones_in_cu_flag) representing the first information indicating whether or not the conversion is omitted is not performed.

표 3을 참조하여 설명한 본 발명의 실시예에 따르면, 상기 대표 플래그(transform_skip_all_ones_in_cu_flag)는 변환 블록의 제1 정보를 대표할 수 있다. 즉, 표 3을 참조하여 설명한 S310 단계의 대표 플래그 파싱 조건에 따르면, 본 발명의 대표 플래그 (transform_skip_all_ones_in_cu_flag)는 변환 생략이 적용될 수 있는 최대 변환 블록 크기보다 같거나 작은, 현재 코딩 유닛에서 분할되는 최소 크기의 모든 변환 블록에 대한 제1정보를 대표할 수 있다.According to the embodiment of the present invention described with reference to Table 3, the representative flag (transform_skip_all_ones_in_cu_flag) may represent the first information of the transform block. That is, according to the representative flag parsing condition of S310 described with reference to Table 3, the representative flag (transform_skip_all_ones_in_cu_flag) of the present invention is a flag indicating whether or not the transformed skip_all_ones_in_cu_flag is equal to or smaller than the maximum transform block size, Lt; RTI ID = 0.0 &gt; 1 &lt; / RTI &gt;

본 발명의 다른 실시예에 따르면, 상기 대표 플래그(transform_skip_all_ones_in_cu_flag)는 루마 변환 블록의 제1 정보만을 대표할 수 있도록 구성될 수 있다. 즉, 대표 플래그는 코딩 유닛내의 루마 변환 블록의 변환 생략 여부를 지시하는 제1 정보를 대표할 수 있다 (즉, 크로마 변환 블록의 제1 정보는 대표하지 않는다). 이때, 부호화 장치로부터 복호화 장치로 대표 플래그는 표 4와 같이 시그널링 될 수 있다.According to another embodiment of the present invention, the representative flag (transform_skip_all_ones_in_cu_flag) may be configured to represent only the first information of the luma conversion block. That is, the representative flag may represent first information indicating whether to omit conversion of the luma conversion block in the coding unit (i.e., the first information of the chroma conversion block is not represented). At this time, the representative flag from the encoding apparatus to the decoding apparatus can be signaled as shown in Table 4. [

Figure 112016023931807-pat00004
Figure 112016023931807-pat00004

표 4를 참조하면, 표 1 또는 표 2에서 시그널링되는 transform_skip_group_signalling_enabled_flag가 1이고, 변환 생략의 적용이 가능한지 여부를 지시하는 플래그(transform_skip_enabled_flag)가 1이고, 현재 코딩 유닛이 무손실 부호화되지 않고(!cu_transquant_bypass_flag), 현재 코딩 유닛에서 분할될 수 있는 최소 크기의 루마 변환 블록의 크기가 변환 생략이 적용될 수 있는 최대 변환 블록 크기보다 작거나 같은 경우(if ( ( log2CbSize ? MaxTrafoDepth )<= Log2MaxTransformSkipSize), 변환 생략 여부를 지시하는 제1 정보 중 루마 변환 블록의 제1 정보를 대표하는 대표 플래그(transform_skip_all_ones_in_cu_flag)를 파싱할 것으로 판단될 수 있다. 반면, 상기 모든 조건이 만족되지 않는 경우, 대표 플래그의 파싱을 하지 않을 것으로 판단될 수 있다. 대표 플래그가 파싱되지 않는 경우에는 대표 플래그(transform_skip_all_ones_in_cu_flag) 의 값을 0으로 간주하고(S311) 후속 복호화를 수행한다(S315).Referring to Table 4, when the transform_skip_group_signalling_enabled_flag signaled in Table 1 or Table 2 is 1, the flag (transform_skip_enabled_flag) indicating whether or not the application of the translation omission is possible is 1, the current coding unit is not lossless encoded (! Cu_transquant_bypass_flag) (If ((log2CbSize? MaxTrafoDepth) < = Log2MaxTransformSkipSize) &lt; / RTI &gt; if the size of the minimum size luma conversion block that can be divided in the current coding unit is smaller than or equal to the maximum conversion block size It can be determined that the representative flag (transform_skip_all_ones_in_cu_flag) representing the first information of the luma conversion block among the first information to be parsed is not satisfied. On the other hand, when all the above conditions are not satisfied, If the representative flag is not parsed, the representative flag transf orm_skip_all_ones_in_cu_flag) is assumed to be 0 (S311), and subsequent decoding is performed (S315).

단계 S320를 통하여 대표 플래그가 파싱되고 그 값이 1이면(S330), 복호화 장치는 대표 플래그가 대표하는 제1 정보가 적용될 변환 블록인지 여부를 판단하기 위하여 (즉, 만일 제1 정보가 적용될 변환 블록이라면 제1 정보를 파싱하지 않기 위하여), 제1 정보의 파싱 생략 조건이 만족되는지 판단한다(S340). 이는 현재 복호화를 수행하는 코딩 유닛 내에 변환 생략이 적용될 수 있는 여러 크기의 변환블록 (루마 변환 블록, 크로마 변환 블록 포함)이 존재 할 수 있으므로, 각 실현예에 따라, 이 들중 특정 조건에 맞는 변환 블록에 대하여 제1 정보를 대표하도록 실현이 가능하기 때문이다. If the representative flag is parsed through step S320 and the value is 1 (S330), the decoding apparatus decodes the representative flag to determine whether the first information represented by the representative flag is to be applied (i.e., , It is determined whether the parsing omission condition of the first information is satisfied (S340). Since there may be conversion blocks (including luma conversion blocks and chroma conversion blocks) of various sizes that can be applied to the conversion omission in the coding unit that performs the current decoding, depending on each realization example, This is because it is possible to represent the first information with respect to the block.

우선 표 3과 연관된 실현예에 대한, S340의 제1 정보 파싱 생략 조건은 현재 복호화할 변환 블록이 현재 복호화를 수행하는 코딩 유닛이 분할되는 최대 깊이(MaxTrafoDepth)의 변환 유닛에 해당하는지 여부일 수 있다.First, the first information parsing omission condition of S340 for the realization example associated with Table 3 may be whether or not the current transform block to be decoded corresponds to a transform unit of the maximum depth (MaxTrafoDepth) at which the coding unit performing the current decoding is divided .

만약, 복호화할 변환 블록이 단계 S340의 판단 결과, 최대 깊이(MaxTrafoDepth)의 변환 유닛에 해당되는 경우, 복호화 장치는 복호화할 변환 블록에 대한 제1 정보를 파싱하지 않고 제1 정보를 변환생략을 의미하는 1로 유추할 수 있다(S350).If it is determined in step S340 that the transform block to be decoded corresponds to the transform unit of the maximum depth (MaxTrafoDepth), the decoding apparatus does not parse the first information on the transform block to be decoded and does not parse the first information (S350). &Lt; / RTI &gt;

즉, 단계 S340을 만족하면, 복호화 장치는 코딩 유닛으로부터 분할된 최대 깊이의 변환 유닛에 포함되는 변환 블록에 변환 생략이 적용된 것으로 판단하고 변환 생략 플래그인 제1 정보의 파싱이 필요없는 것으로 판단할 수 있다. 물론, 이때, 해당 변환 블록의 크기는 변환 생략이 가능한 최대 변환 블록 크기 이하인 기본 조건을 만족해야한다. 예를 들어, 변환 생략이 적용될 수 있는 최대 변환 블록의 크기가 4x4 이고, 부호화 영상의 색상 포멧이 4:2:0 이며, 32x32 크기의 코딩 유닛에서 분할된 최대 깊이의 변환 유닛인 8x8 크기의 변환 유닛을 복호화 중인 상황을 가정하자. 이때, 현재 변환 유닛은 8x8 크기의 루마 변환 블록과 4x4 크기의 크로마 변환 블록을 가진다. 이때 8x8 크기의 루마 변환 블록은 변환 생략이 가능한 최대 변환 블록 크기보다 크기 때문에 변환 생략 여부가 판단될 필요가 원천적으로 없다. 그러나 크로마 변환 블록은 4x4 크기이기 때문에 변환 생략 여부가 판단될 필요가 있으며, 이들에 대한 제1 정보는 파싱하지 않고 대표 플래그(즉, 1의 값으로)를 통하여 유추될 수 있다.That is, when the step S340 is satisfied, the decoding apparatus judges that the conversion skip is applied to the conversion block included in the conversion unit of the maximum depth divided from the coding unit, and judges that the parsing of the first information which is the conversion skip flag is not necessary have. Of course, at this time, the size of the conversion block must satisfy the basic condition that is equal to or smaller than the maximum conversion block size that can be omitted. For example, if the size of the maximum conversion block to which the conversion skip can be applied is 4x4, the color format of the encoded image is 4: 2: 0, and the conversion unit of 8x8 size, which is the conversion unit of the maximum depth divided by the coding unit of 32x32 size, Suppose you are decrypting a unit. At this time, the current conversion unit has a 8x8 luma conversion block and a 4x4 chroma conversion block. At this time, since the 8x8 luma conversion block is larger than the maximum conversion block size that can be omitted, there is no need to judge whether or not the conversion is omitted. However, since the chroma conversion block is 4x4 in size, it is necessary to determine whether or not the conversion is omitted, and the first information on these can be inferred through a representative flag (i.e., a value of 1) without parsing.

또한, 현재 변환 블록의 CBF는 1인 조건을 만족해야 한다. 즉, 부호화되는 변환블록이어야 한다. CBF가 0인 변환 블록은 해당 블록이 포함하는 영역의 부호화된 잔차신호를 0으로 간주되어 부호화 되지 않으므로 변환 및 변환 생략의 사용 자체가 불필요하고 변환 생략 여부 또한 판단될 필요가 없다.  Also, the CBF of the current transform block must satisfy the condition of 1. That is, it must be a transform block to be encoded. Since the coded residual signal of CBF 0 is not coded because the coded residual signal of the region included in the corresponding block is regarded as 0, the use of the conversion and translation omission itself is unnecessary and it is not necessary to determine whether or not the conversion is omitted.

본 발명의 대표 플래그를 사용하는 실시예들에 있어서, 부호화 장치로부터 복호화 장치로 선택적으로 시그널링되는 변환 생략 플래그 (transform_skip_flag)에 대한 신택스 구조를 나타내면 표 5와 같다. Table 5 shows the syntax structure for the conversion skip flag (transform_skip_flag) selectively signaled from the encoding apparatus to the decoding apparatus in the embodiments using the representative flags of the present invention.

Figure 112016023931807-pat00005
Figure 112016023931807-pat00005

표 5를 참조하는 실시예에 따르면, 대표 플래그는 제1 정보 파싱생략 조건 (S340)을 만족하는 변환 블록들의 변환 생략 플래그를 대표할 수 있다. 따라서, 복호화 장치는 대표 플래그가 1인 경우 제1 정보 파싱생략 조건을 판단함으로써 개별적인 변환 생략 플래그의 파싱 여부를 판단할 수 있다. According to the embodiment that refers to Table 5, the representative flag may represent the conversion omission flag of the conversion blocks that satisfy the first information parsing omission condition (S340). Therefore, the decoding apparatus can determine whether to parse the individual conversion skip flag by judging the first information parsing skip condition when the representative flag is 1.

제1정보 파싱생략 조건은 대표 플래그인 transform_skip_all_ones_in_cu_flag가 1이고, 변환 블록이 코딩 유닛으로부터 분할되는 최대 깊이의 변환 유닛에 포함되는 (log2TrafoSize==Max(2,log2CbSize?MaxTrafoDepth?(ChromaArrayType%3==0?0:(cIdx?1:0))))것을 포함 할 수 있다. 이 파싱 생략 조건을 만족하는 경우 현재 복호화하는 변환블록의 제1 정보는 파싱되지 않고, 대신 변환생략을 의미하는 값인 1로 설정될 수 있다(transform_skip_flag[x0][y0][cIdx]=1).The first information parsing omission condition is such that the representative flag transform_skip_all_ones_in_cu_flag is 1 and the conversion block is included in the conversion unit of maximum depth divided from the coding unit (log2TrafoSize == Max (2, log2CbSize? MaxTrafoDepth? (ChromaArrayType% 3 == 0 ? 0: (cIdx? 1: 0)))). If the parse skip condition is satisfied, the first information of the transform block to be currently decoded is not parsed, but may be set to 1 (transform_skip_flag [x0] [y0] [cIdx] = 1).

S340의 조건 적용은, 기본적으로 기존 기술에서 사용하는 변환 생략 기능이 적용될 수 있는 블록 (예로써, 현재 복호화하는 변환 블록이 변환 생략이 적용되는 최대 변환 블록 크기 이하의 변환 블록으로써, 부호화된 변환계수 정보가 있는 (즉, CBF가 1이라는 의미) 변환 블록)을 대상으로 한다는 것은 기존 기술과 동일하므로, 이곳에서의 중복된 설명은 생략한다.The conditional application of S340 is basically a block to which the conversion skip function used in the existing technology can be applied (for example, a conversion block to be currently decoded is a conversion block equal to or less than the maximum conversion block size to which the conversion skip is applied, The conversion block having information (i.e., CBF = 1)) is the same as the existing technology, so redundant description thereof is omitted here.

본 실시예에 따를 경우, 대표 플래그는 현재 코딩 유닛으로부터 분할될 수 있는 최대 깊이의 분할 유닛에 속하는 변환 블록의 변환 생략을 대표할 수 있다. According to this embodiment, the representative flag may represent the omission of conversion of the transform block belonging to the division unit of the maximum depth that can be divided from the current coding unit.

표 4를 참조하여 설명한 실현예, 즉, 대표 플래그가 루마 변환 블록의 제 1 정보만을 대표하는 실시예에 따라, 부호화 장치로부터 복호화 장치로 전송되는 변환 생략 플래그에 대한 신택스 구조는 표 6과 같이 나타낼 수 있다.According to the embodiment described with reference to Table 4, that is, according to the embodiment in which the representative flag represents only the first information of the luma conversion block, the syntax structure for the translation omission flag transmitted from the encoding apparatus to the decoding apparatus is shown in Table 6 .

Figure 112016023931807-pat00006
Figure 112016023931807-pat00006

표 6을 참조하는 실시예에 따르면, 대표 플래그는 제1정보 파싱 생략 조건을 만족하는 루마 변환 블록들의 변환 생략 플래그를 대표할 수 있다.According to the embodiment with reference to Table 6, the representative flag may represent a translation omission flag of luma conversion blocks satisfying the first information parsing omission condition.

표 6에 따른 제1정보 파싱생략 조건은 대표 플래그인 transform_skip_all_ones_in_cu_flag가 1이고, 루마 변환 블록이고 (cIdx 가 0을 갖음), 변환 블록이 코딩 유닛으로부터 분할되는 최대 깊이의 변환 유닛에 포함되는 (log2TrafoSize==Max(2,log2CbSize?MaxTrafoDepth))것을 포함 할 수 있다. 이 조건을 만족하는 경우, 현재 복호화중인 루마 변환 블록의 제1 정보는 파싱되지 않고 대신 변환 생략을 의미하는 값인 1로 설정될 수 있다(transform_skip_flag[x0][y0][cIdx=0]=1).The first information parsing omission condition according to Table 6 is that the representative flag transform_skip_all_ones_in_cu_flag is 1, the luma conversion block (cIdx has 0), the conversion block is included in the conversion unit of the maximum depth divided from the coding unit (log2TrafoSize = = Max (2, log2CbSize? MaxTrafoDepth)). If this condition is satisfied, the first information of the luma conversion block currently being decoded is not parsed and may be set to 1, which is a value which means to omit conversion (transform_skip_flag [x0] [y0] [cIdx = 0] = 1) .

본 실시예에 대한 여타의 설명은 앞선 실현예와 동일하므로 생략한다.Other descriptions of this embodiment are the same as those of the above-mentioned realization example and thus will be omitted.

본 실시예에 따를 경우, 대표 플래그는 현재 코딩 유닛으로부터 분할될 수 있는 최대 깊이의 분할 유닛에 속하는 루마 변환 블록의 변환 생략을 대표할 수 있다.According to the present embodiment, the representative flag may represent the omission of conversion of the luma conversion block belonging to the maximum depth division unit that can be divided from the current coding unit.

도 4는 본 발명의 일 실시예에 따른 대표 플래그가 대표하는 블록을 설명하기 위한 도면이다. 4 is a diagram for explaining a block represented by a representative flag according to an embodiment of the present invention.

변환 생략이 4X4에서부터 16X16 크기의 변환 블록에 적용되는 것으로 가정하면, 16X16의 코딩 유닛의 경우 최대 깊이로 분할 된 4X4 변환 유닛에 포함된 변환 블록을 대표하는 대표 플래그가 시그널링 될 수 있다.Assuming that the conversion skip is applied to a conversion block of the size from 4X4 to 16X16, in the case of a 16X16 coding unit, a representative flag representative of the conversion block included in the 4X4 conversion unit divided into the maximum depth can be signaled.

즉, 도 4에서 16X16의 코딩 유닛이 최대 깊이를 갖는 변환 유닛으로 분할되고, 최대 깊이에 해당하는 4X4 변환 유닛이 포함하는 부호화 되는 변환 블록의 변환 생략여부 즉, 제1 정보를 대표 플래그가 대표로 시그널링할 수 있다. 도 4에서는 회색으로 도시된 블록들은 대표 플래그가 대표하는 변환 블록을 포함하는 변환 유닛을 나타낸다. That is, in FIG. 4, it is assumed that the coding unit of 16X16 is divided into the conversion units having the maximum depth, and the conversion of the encoded conversion block included in the 4X4 conversion unit corresponding to the maximum depth is omitted, Signaling. In Fig. 4, blocks shown in gray represent conversion units including conversion blocks represented by representative flags.

지금까지의 실시예에 따를 경우, 대표 플래그는 현재 코딩 유닛으로부터 분할될 수 있는 최대 깊이의 분할 유닛에 속하는 변환 블록의 변환 생략을 대표하거나, 현재 코딩 유닛으로부터 분할될 수 있는 최대 깊이의 분할 유닛에 속하는 루마 변환 블록의 변환 생략을 대표할 수 있다. 그러나, 본 발명의 또 다른 실시예에 따르면, 대표 플래그는 최대 깊이를 갖는 변환 유닛이 아닌 특정 깊이를 갖는 변환 유닛의 변환 생략을 대표하도록 할 수도 있다. 이는 도 3의 S340 단계를 변형하여 구현함으로써 쉽게 실현될 수 있다. 이 실현예는 도 6에 나타나 있다. According to the embodiments so far, the representative flag may represent a conversion omission of the conversion block belonging to the division unit of the maximum depth which can be divided from the current coding unit, or a division unit of the maximum depth that can be divided from the current coding unit It can represent the omission of conversion of the luma conversion block to which it belongs. However, according to another embodiment of the present invention, the representative flag may be used to represent omission of conversion of the conversion unit having a certain depth instead of the conversion unit having the maximum depth. This can be easily realized by modifying and implementing step S340 of FIG. This realization example is shown in Fig.

본 실시예에 따른 대표 플래그는 표 3 및 표 4와 같이 시그널링 될 수 있고, 대표 플래그가 파싱되면, 복호화 장치는 대표 플래그에 기초하여 제1 정보의 파싱 여부를 판단할 수 있다. The representative flag according to this embodiment can be signaled as shown in Tables 3 and 4, and when the representative flag is parsed, the decoding apparatus can determine whether or not the first information is parsed based on the representative flag.

만약, 대표 플래그가 1이면(S630), 복호화 장치는 코딩 유닛으로부터 분할될 변환 유닛에 포함되는 변환 블록의 변환 생략 여부를 지시하는 제1 정보를 파싱하지 않고 변환 블록 (또는 다른 실현예에서는 루마 변환 블록)에 대한 제1 정보를 1로 유추할 수 있다(S650). If the representative flag is 1 (S630), the decoding apparatus decodes the first information indicating whether or not the conversion block included in the conversion unit to be divided from the coding unit to be divided is parsed without converting the conversion block (or the luma conversion Block) can be estimated as 1 (S650).

만일 대표 플래그가 0이면 복호화 장치는 변환 블록에 대한 제1 정보를 파싱하고, 이 파싱된 값에 따라 변환 생략(S660)하거나 (제1 정보가 1인 경우), 변환을 수행 (S680)하고 (제1 정보가 0인 경우) 후속 복호화를 수행한다. If the representative flag is 0, the decoding apparatus parses the first information on the conversion block and skips the conversion according to the parsed value (S660) (if the first information is 1), performs the conversion (S680) If the first information is 0), subsequent decoding is performed.

즉, 복호화 장치는 코딩 유닛이 포함하는 부호화되는 변환 블록 (또는 다른 실현예에서는 루마 변환 블록)중 그 블록이 변환 생략이 적용될 수 있는 최대 변환 블록의 크기 보다 크지 않고, 대표 플래그가 1의 값을 갖는 경우 그 블록에 대한 제1 정보의 파싱이 필요없는 것으로 판단하고, 제1 정보는 1로 유추할 수 있다.That is, the decoding apparatus determines that the block of the encoding conversion block (or the luma conversion block in the other realization) included in the coding unit is not larger than the size of the maximum conversion block to which the conversion omission can be applied, It is determined that parsing of the first information for the block is not necessary, and the first information can be deduced to be 1. [

본 실시예에 따르면, 변환 깊이를 고려하지 않고, 복호화중인 코딩 유닛내의 변환 생략이 가능한 조건 (변환 생략이 가능한 블록크기를 갖는 부호화된 변환블록)을 만족하는 변환 블록(또는 다른 실현예에서는 루마 변환 블록)들의 변환 생략 플래그를 대표할 수 있다. According to the present embodiment, without considering the conversion depth, a conversion block (or a coded conversion block having a block size capable of omitting the conversion) satisfying the condition that the conversion can be omitted in the coding unit being decoded Blocks) can be represented.

이 실현예에서 부호화 장치로부터 복호화 장치로 전송되는 신호들의 신택스 구조는 표 7과 같다.Table 7 shows the syntax structure of the signals transmitted from the encoding apparatus to the decoding apparatus in this realization example.

Figure 112016023931807-pat00007
Figure 112016023931807-pat00007

표 7을 참조하면, 대표 플래그 (transform_skip_all_ones_in_cu_flag)가 1이면, 제1 정보는 파싱되지 않고 1로 설정될 수 있다(transform_skip_flag[x0][y0][cIdx]=1).Referring to Table 7, if the representative flag (transform_skip_all_ones_in_cu_flag) is 1, the first information can be set to 1 without being parsed (transform_skip_flag [x0] [y0] [cIdx] = 1).

즉, 본 실시예에 따를 경우, 복호화 장치는 대표 플래그가 1인 경우 변환생략이 적용될 수 있는 변환 블록들이라도 개별적인 변환 생략 플래그를 파싱하지 않는다. That is, in accordance with the present embodiment, the decoding apparatus does not parse the individual conversion skip flags even in the case of the conversion blocks to which the skip conversion can be applied when the representative flag is 1.

도 7은 본 발명의 일 실시예에 따른 대표 플래그가 대표하는 블록을 설명하기 위한 도면이다. 도시된 바와 같이, 16x16의 코딩 유닛은 16x16, 8x8과 4x4의 변환 유닛으로 분할될 수 있다. 변환 생략이 4X4에서부터 16X16 크기의 변환 블록에 적용되는 것으로 가정하면, 16x16, 8x8, 4x4 크기를 갖는 모든 변환 유닛에 변환 생략이 적용될 수 있다. 도 7에서 회색으로 도시된 블록들은 대표 플래그가 적용되는 변환 블록을 포함하는 변환 유닛을 나타낸다. 즉, 대표 플래그가 1로 시그널링 된 경우, 16x16의 코딩 유닛에서 분할된 변환 유닛이 포함하는 부호화된 변환 블록에 변환 생략이 적용될 수 있다. FIG. 7 is a diagram for explaining a block represented by a representative flag according to an embodiment of the present invention. As shown, a 16x16 coding unit can be divided into 16x16, 8x8 and 4x4 conversion units. Assuming that the conversion skip is applied to the conversion blocks of size 4X4 to 16X16, the conversion skip may be applied to all conversion units having a size of 16x16, 8x8, and 4x4. The blocks shown in gray in Fig. 7 represent conversion units including conversion blocks to which representative flags are applied. That is, when the representative flag is signaled as 1, the conversion skip can be applied to the coded conversion block included in the conversion unit divided in the 16x16 coding unit.

만약, 16x16의 코딩 유닛이 8x8의 변환 유닛으로 분할되고 추가적으로 분할되지 않는 경우, 대표 플래그는 4개의 8x8의 변환 유닛 각각이 포함하는 변환 블록의 변환 생략 모두를 대표할 수 있다.If a 16x16 coding unit is divided into 8x8 conversion units and not additionally divided, the representative flag can represent all of the conversion omissions of the conversion blocks included in each of the 4 8x8 conversion units.

제1 정보가 1로 유추되면, 복호화 장치는 상기 제1 정보에 의해 변환 생략여부가 결정되는 변환 블록에 대하여 변환 과정을 수행하지 않고, 즉 변환을 생략하고 후속적인 복호화를 수행할 수 있다(S660).If the first information is deduced to be 1, the decoding apparatus can perform the subsequent decoding without performing the conversion process for the conversion block for which the conversion is skipped by the first information, i.e., omitting the conversion (S660 ).

만약, 단계 S630에서 대표 플래그가 0이면, 복호화 장치는 기존 방법 대로 변환 블록에 대하여 개별적으로 변환 생략 플래그를 파싱한다(S670). If the representative flag is 0 in step S630, the decoding apparatus parses the conversion skip flag individually for the conversion block according to the existing method (S670).

즉, 대표 플래그가 0이면, 각 변환 블록의 transform_skip_flag 파싱을 위한 일련의 과정은 종래의 방법 대로 수행되는 것을 의미한다. 즉, transform_skip_flag 시그널링이 요구되는 변환 블록 마다 제1 정보가 파싱된다. That is, if the representative flag is 0, a series of processes for parsing the transform_skip_flag of each transform block is performed in a conventional manner. That is, the first information is parsed for each transform block for which the transform_skip_flag signaling is required.

만약, 대표 플래그(transform_skip_all_ones_in_cu_flag)가 존재하지 않는 경우, 대표 플래그는 0으로 간주될 수 있다.If the representative flag (transform_skip_all_ones_in_cu_flag) does not exist, the representative flag can be regarded as 0.

제1 정보에 따라 변환 블록은 변환이 수행될 수도 있고, 변환이 생략될 수도 있다. 변환 생략 여부에 따른 변환 과정 및 후속적인 복호화 과정이 수행될 수 있다(S680, S660). According to the first information, the transform block may be transformed, and the transform may be omitted. A conversion process according to whether or not the conversion is omitted and a subsequent decoding process may be performed (S680, S660).

본 발명의 또 다른 실현예는, 변환 깊이를 고려하지 않고, 복호화중인 코딩 유닛내의 변환 생략이 가능한 조건 (예를 들어, 변환 생략이 가능한 블록크기를 갖는 부호화된 변환블록)을 만족하는 루마 변환 블록들의 변환 생략 플래그를 대표할 수 있다. Another realizing example of the present invention is to provide a luma conversion block which satisfies a condition capable of omitting the conversion in the coding unit being decoded (for example, a coded conversion block having a block size capable of omitting conversion) Can be represented by the conversion skip flag.

이 실현예에서 부호화 장치로부터 복호화 장치로 전송되는 신호들의 신택스 구조는 표 8과 같다.Table 8 shows the syntax structure of the signals transmitted from the encoding apparatus to the decoding apparatus in this realization example.

Figure 112016023931807-pat00008
Figure 112016023931807-pat00008

표 8에 따르면, 대표 플래그가 1 일때, 루마 변환 블록(cIdx 가 0을 갖음) 에 대하여, 복호화 장치는 코딩 유닛으로부터 분할될 변환 유닛에 포함되는 루마 변환 블록의 변환 생략 여부를 지시하는 제1 정보를 파싱하지 않고 제1 정보를 1로 유추할 수 있다(S650) (즉, transform_skip_flag[x0][y0][cIdx=0]=1).According to Table 8, for a luma conversion block (cIdx has a value of 0) when the representative flag is 1, the decoding device outputs first information indicating whether or not the luma conversion block included in the conversion unit to be divided from the coding unit is omitted, The transform_skip_flag [x0] [y0] [cIdx = 0] = 1) can be inferred as 1 without parsing the first information (S650).

만일 대표 플래그가 0이면 복호화 장치는 루마 변환 블록에 대한 제1 정보를 파싱하고, 이 파싱된 값에 따라 변환 생략(S660)하거나 (제1 정보가 1인 경우), 변환을 수행 (S680)하고 (제1 정보가 0인 경우) 후속 복호화를 수행한다. If the representative flag is 0, the decoding apparatus parses the first information on the luma conversion block and skips the conversion according to the parsed value (S660) (if the first information is 1) or performs the conversion (S680) (If the first information is 0), and performs subsequent decoding.

즉, 복호화 장치는 코딩 유닛이 포함하는 부호화되는 루마 변환 블록중 그 블록이 변환 생략이 적용될 수 있는 최대 변환 블록의 크기 보다 크지 않고, 대표 플래그가 1의 값을 갖는 경우 그 블록에 대한 제1 정보의 파싱이 필요없는 것으로 판단하고, 제1 정보는 1로 유추할 수 있다. 본 실시예에 대한 여타의 설명은 앞선 실현예와 동일 하므로 생략한다.That is, when the representative flag of the encoded luma conversion block included in the coding unit is not larger than the size of the maximum conversion block to which the conversion omission can be applied and the representative flag has a value of 1, It is determined that the parsing of the first information is not necessary, and the first information can be deduced to be 1. Other descriptions of this embodiment are the same as those of the above-mentioned realization example and thus will be omitted.

*본 실시예에 따를 경우, 대표 플래그는 현재 코딩 유닛으로부터 분할될 수 있는 최대 깊이의 분할 유닛에 속하는 루마 변환 블록의 변환 생략을 대표할 수 있다.According to the present embodiment, the representative flag may represent the omission of conversion of the luma conversion block belonging to the maximum depth division unit that can be divided from the current coding unit.

또는, 대표 플래그는 개별적인 채널에 대한 변환 블록의 변환 생략을 대표할 수도 있다. 이 경우, 대표 플래그에는 대표하는 채널이 표시될 수 있다. 예를 들어 루마 블록을 대표하는 경우, 대표 플래그는 transform_skip_all_ones_in_cu_luma_flag으로 시그널링 되거나 크로마 블록을 대표하는 경우 transform_skip_all_ones_in_cu_chroma_flag으로 시그널링 될 수도 있다. 물론, 색상 채널이 RGB인 경우, 모든 채널을 대표하는 대표 플래그가 시그널링 될 수도 있고, 각 색상인 R,G,B 각각을 대표하는 대표 플래그가 시그널링될 수도 있을 것이다. Alternatively, the representative flags may represent the omission of translation of the translation block for an individual channel. In this case, a representative channel may be displayed in the representative flag. For example, when representing a luma block, the representative flag may be signaled as transform_skip_all_ones_in_cu_luma_flag, or signaled as transform_skip_all_ones_in_cu_chroma_flag if it represents a chroma block. Of course, when the color channel is RGB, a representative flag representing all channels may be signaled, and a representative flag representing each color R, G, B may be signaled.

다시 도 3으로 돌아가, S350 단계에서 제1 정보가 1로 유추되면, 복호화 장치는 해당 변환 블록에 대하여 변환 과정을 수행하지 않고, 즉 변환을 생략하고 후속적인 복호화를 수행할 수 있다(S360).Referring back to FIG. 3, if the first information is found to be 1 in step S350, the decoding apparatus does not perform a conversion process on the corresponding conversion block, that is, skips the conversion and performs subsequent decoding (S360).

만약, 단계 S330에서 대표 플래그가 0이거나, S340의 제1정보 파싱 생략 조건을 만족하지 못하였을 경우, 복호화 장치는 기존 방법 대로 변환 블록에 대하여 개별적으로 변환 생략 플래그를 파싱한다(S370). If the representative flag is 0 in step S330, or if the first information parsing skip condition of S340 is not satisfied, the decoding apparatus parses the conversion skip flag individually for the conversion block according to the conventional method (S370).

즉, 대표 플래그가 0이면, 현재 transform_skip_flag 시그널링을 위한 일련의 과정은 종래의 방법 대로 수행되는 것을 의미하고, 이는 transform_skip_flag 시그널링이 요구되는 변환 블록 마다 제1 정보가 시그널링되는 것을 뜻한다. That is, if the representative flag is 0, a series of processes for current transform_skip_flag signaling is performed in a conventional manner, which means that the first information is signaled for each transform block in which the transform_skip_flag signaling is required.

만약, 대표 플래그(transform_skip_all_ones_in_cu_flag)가 존재하지 않는 경우, 대표 플래그는 0으로 간주될 수 있다.If the representative flag (transform_skip_all_ones_in_cu_flag) does not exist, the representative flag can be regarded as 0.

제1 정보에 따라 변환 블록은 변환이 수행될 수도 있고, 변환이 생략될 수도 있다. 변환 생략 여부에 따른 변환 과정 및 후속적인 복호화 과정이 수행될 수 있다(S360, S380).According to the first information, the transform block may be transformed, and the transform may be omitted. A conversion process according to whether or not the conversion is omitted and a subsequent decoding process may be performed (S360, S380).

지금까지의 변환 생략이라는 용어에서 변환이라 함은 복호화 과정에 수행되는 것이기 때문에 실질적으로 부호화 장치에서 실행한 변환의 역과정인 역변환 (inverse transform)을 의미하지만, 역변환 7역시 변환의 일종이므로 그 실질적인 의미하는 바에 있어 혼동의 소지가 없을 것 이다.Since the conversion is performed in the decoding process, the conversion is an inverse transform, which is an inverse process of the conversion performed by the encoding device. However, since the inverse transform 7 is also a kind of conversion, There will be no confusion in what you do.

도 5는 본 발명의 다른 실시예에 따른 영상의 복호화 방법을 설명하기 위한 도면이다. 구체적으로 도 5는 대표 플래그를 참조하여 분할 플래그를 유추하는 과정을 설명하는 도면이다. 5 is a view for explaining a method of decoding an image according to another embodiment of the present invention. Specifically, FIG. 5 is a diagram for explaining a process of inferring a division flag with reference to a representative flag.

도 5의 단계 S510 및 단계 S530은 도 3의 단계 S310 및 단계 S330과 유사하므로 중복된 설명은 생략한다. 즉, 본 실시예에 따른 대표 플래그는 현재 코딩 유닛으로부터 분할될 수 있는 최대 깊이의 분할 유닛에 속하는 변환 블록의 변환 생략을 대표하고, 이러한 대표 플래그에 기초하여 변환 유닛의 분할 여부가 판단될 수 있다. Step S510 and step S530 in Fig. 5 are similar to step S310 and step S330 in Fig. 3, so duplicate descriptions will be omitted. That is, the representative flag according to the present embodiment represents the omission of conversion of the conversion block belonging to the division unit of the maximum depth that can be divided from the current coding unit, and whether or not the conversion unit is divided based on such representative flag can be determined .

대표 플래그가 파싱되면, 복호화 장치는 대표 플래그에 기초하여 변환 유닛의 분할 여부를 나타내는 제2 정보(split_transform_flag)의 파싱 여부를 판단할 수 있다. 판단 결과, 제2 정보의 파싱이 필요 없는 경우 대표 플래그에 기초하여 제2 정보를 유추하고, 제2 정보의 파싱이 필요한 경우 제2 정보를 파싱할 수 있다. When the representative flag is parsed, the decoding apparatus can determine whether to parse the second information (split_transform_flag) indicating whether or not the conversion unit is divided based on the representative flag. As a result of the determination, if the parsing of the second information is not necessary, the second information may be inferred based on the representative flag, and the second information may be parsed when parsing of the second information is necessary.

만약, 대표 플래그가 1이면, 복호화 장치는 변환 유닛에 대한 변환 깊이가 0인지 여부를 판단할 수 있다(S540). If the representative flag is 1, the decoding apparatus can determine whether the conversion depth for the conversion unit is 0 (S540).

만약, 변환 유닛에 대한 변환 깊이가 0이면, 복호화 장치는 변환 깊이가 0인 변환 유닛에 대한 제2 정보를 파싱하지 않고 제2 정보를 1로 유추할 수 있다(S550).If the conversion depth for the conversion unit is 0, the decoding apparatus can infer the second information to 1 without parsing the second information for the conversion unit having the conversion depth of 0 (S550).

즉, 단계 S540을 만족하면, 복호화 장치는 코딩 유닛의 크기와 동일한 크기를 갖는 변환 유닛의 분할 여부를 지시하는 제2 정보(변환 깊이 0 ? 1 의 분할 여부를 지시하는 split_transform_flag)의 파싱이 필요없는 것으로 판단할 수 있다. In other words, if the step S540 is satisfied, the decoding apparatus does not need to parse the second information (split_transform_flag indicating whether or not to divide the conversion depth 0? 1) indicating whether or not the conversion unit having the same size as the size of the coding unit is divided .

이때, 현재 코딩 유닛의 크기는 분할된 변환 유닛을 가질 수 있는 조건을 만족해야 한다. 예를 들어, 최소 변환 유닛의 크기가 8X8로 설정되어 있고, 현재 코딩 유닛의 크기가 8X8인 경우, 현재 코딩 유닛은 분할된 변환 유닛을 가질 수 없기 때문에 분할 여부가 판단될 필요가 없다.At this time, the size of the current coding unit must satisfy the condition that the divided conversion unit can be obtained. For example, if the size of the minimum conversion unit is set to 8X8, and the size of the current coding unit is 8X8, then the current coding unit can not have a divided conversion unit, so that it does not need to be determined whether or not to divide.

본 실시예에 따라 부호화 장치가 복호화 장치로 제2 정보를 시그널링하는 신택스 구조를 나타내면 표 9와 같다.Table 9 shows a syntax structure in which the coding apparatus signals the second information to the decoding apparatus according to the present embodiment.

Figure 112016023931807-pat00009
Figure 112016023931807-pat00009

표 9를 참조하면, 대표 플래그(transform_skip_all_ones_in_cu_flag)가 1이고, 변환 깊이가 0이면(trafoDepth = 0), 제2 정보는 파싱되지 않고 1로 설정될 수 있다(split_transform_flag[ x0 ][ y0 ][ trafoDepth ] = 1).Referring to Table 9, if the representative flag (transform_skip_all_ones_in_cu_flag) is 1 and the conversion depth is 0 (trafoDepth = 0), the second information can be set to 1 without being parsed (split_transform_flag [x0] [y0] [trafoDepth] = 1).

제2 정보가 1로 유추되면, 복호화 장치는 해당 변환 유닛에 대하여 분할을 수행하고 (S560), 후속적인 복호화를 수행할 수 있다(S580).If the second information is inferred as 1, the decoding apparatus performs division on the conversion unit (S560) and may perform subsequent decoding (S580).

한편, 변환 깊이가 0이 아닌 변환 유닛에 대하여는 기존의 방식과 같이 제2 정보(변환 깊이 0 ? 1 이외의 분할 여부를 지시하는 split_transform_flag)를 파싱하여 변환 유닛의 분할 여부를 판단한다. On the other hand, for a conversion unit whose conversion depth is not 0, the second information (split_transform_flag indicating the division other than the conversion depth 0? 1) is parsed to determine whether or not the conversion unit is divided as in the conventional method.

만약, 단계 S530에서 대표 플래그가 0이거나, 단계 S540에서 변환 유닛의 변환 깊이가 0이 아니면, 복호화 장치는 기존 방법 대로, 제2 정보를 파싱하여 변환 유닛의 분할 여부를 판단한다(S570). If the representative flag is 0 in step S530, or if the conversion depth of the conversion unit is not 0 in step S540, the decoding apparatus parses the second information according to the existing method to determine whether the conversion unit is divided (S570).

제2 정보가 파싱되면, 변환 블록은 분할이 수행(S560)될 수도 있고, 분할이 생략될 수도 있고, 이에 따라 복호화 장치는 후속적인 복호화 과정을 수행할 수 있다(S580). If the second information is parsed, the transform block may be segmented (S560), and the segmentation may be omitted, so that the decoding device may perform a subsequent decoding process (S580).

본 실시예를 정리하면, 대표 플래그가 1인 경우, 코딩 유닛이 최대 변환 깊이까지 분할될 수 있으므로, 변환 깊이가 0인 변환 유닛에 대하여는 분할 플래그를 시그널링 하지 않고 분할 유닛이 분할되는 것으로 유추한다. To summarize this embodiment, when the representative flag is 1, since the coding unit can be divided up to the maximum conversion depth, it is inferred that the division unit is divided without signaling the division flag for the conversion unit having the conversion depth of 0.

도 8은 본 발명의 다른 실시예에 따라 대표 플래그를 참조하여 분할 플래그의 유추 과정을 설명하는 도면이다. 8 is a view for explaining a process of estimating a segmentation flag with reference to a representative flag according to another embodiment of the present invention.

도시된 바와 같이, 도 8은 도 5와 대부분의 단계가 동일하고, 대표 플래그가 1인 경우, 제2 정보를 1로 유추하기 위하여 판단하는 단계(S840)만이 다르다. 중복되는 설명은 생략한다.As shown in FIG. 8, FIG. 8 differs from FIG. 5 in most of the steps, and when the representative flag is 1, only the step S840 of determining the second information to be 1 is different. Duplicate description is omitted.

단계 S840에 따르면, 복호화 장치는 변환 깊이가 0인 변환 유닛, 즉 코딩 유닛과 동일한 크기를 갖는 변환 유닛의 크기가 변환 생략이 적용될 수 없는 크기인지를 판단한다.According to step S840, the decoding apparatus determines whether the size of the conversion unit having the conversion depth of 0, that is, the conversion unit having the same size as the coding unit, is a size to which the conversion omission can not be applied.

판단 결과, 변환 유닛의 크기가 변환 생략이 적용될 수 없는 크기인 경우(즉, 변환 깊이가 0인 변환 유닛에 해당하는 모든 변환 블록의 크기가 변환 생략이 가능한 변환 블록의 최대 크기 보다 큰 경우), 복호화 장치는 변환 깊이가 0인 변환 유닛에 대한 제2 정보(변환 깊이 0 ? 1 의 분할 여부를 지시하는 split_transform_flag)를 파싱하지 않고 제2 정보를 1로 유추할 수 있다(S850).As a result of the determination, if the size of the conversion unit is a size to which the conversion skip can not be applied (i.e., the size of all the conversion blocks corresponding to the conversion unit having the conversion depth of 0 is larger than the maximum size of the conversion blocks, The decoding apparatus can infer the second information to 1 (S850) without parsing the second information (split_transform_flag indicating that the conversion depth 0? 1 is divided) to the conversion unit having the conversion depth of 0.

또 다른 실현에서는, 상기의 1로 유추된 제 2 정보에 따라 변환 유닛을 한 단계 쿼드 트리 분할한 다음의 변환 유닛의 크기가 아직도 변환 생략이 적용될 수 없는 크기인 경우, 복호화 장치는, 이 변환 유닛에 대한 제2 정보(split_transform_flag)를 파싱하지 않고 제2 정보를 1로 또 한번 유추하도록 추가로 구성할 수 있다. 이 추가 구성은 1회 또는 2회 등 소정의 회수만큼으로 제한되거나, 상기의 1로 유추된 제 2 정보에 따라 변환 유닛을 다시 한 단계 쿼드트리 분할 한 다음의 변환 유닛의 크기가 변환 생략이 적용될 수 있는 크기에 도달할 때까지 반복적으로 되도록 구성할 수 있다.In another realization, in the case where the size of the next conversion unit after the one-step quad-tree division of the conversion unit according to the second information inferred to 1 is a size at which the conversion skip can not be applied, The second information (split_transform_flag) may be further parsed so that the second information is again parsed as one. This additional configuration is limited to a predetermined number of times such as once or twice, or the size of the next conversion unit after the conversion unit is once again subjected to one-stage quad-tree division according to the second information inferred to 1 is applied It can be configured to be repeated until reaching a possible size.

한편, 변환 유닛의 변환 깊이가 0이 아니거나, 변환 깊아가 0이더라도 변환유닛의 크기가 변환 생략이 적용될 수 있는 크기이면 기존의 방식과 같이 제2 정보(split_transform_flag)를 파싱하여 변환 유닛의 분할 여부를 판단한다.On the other hand, if the conversion depth of the conversion unit is not 0 or if the conversion depth is 0, if the size of the conversion unit is such that the conversion skip can be applied, the second information (split_transform_flag) .

본 실시예에 따른 부호화 장치로부터 복호화 장치로 전송되는 제2 정보에 대한 신택스 구조를 나타내면 표 10과 같다. The syntax structure for the second information transmitted from the encoding apparatus to the decryption apparatus according to the present embodiment is shown in Table 10.

Figure 112016023931807-pat00010
Figure 112016023931807-pat00010

표 10을 참조하면, 대표 플래그인 transform_skip_all_ones_in_cu_flag가 1이고, 변환 유닛의 크기가 변환 생략이 적용될 수 없는 크기인 경우(Max( 2, log2TrafoSize ? ( ChromaArrayType %3 = = 0 ? 0 : 1 ) ) > Log2MaxTransformSkipSize), 제2 정보는 파싱되지 않고 1로 설정될 수 있다(split_transform_flag[ x0 ][ y0 ][ trafoDepth ] = 1).Referring to Table 10, when the representative flag transform_skip_all_ones_in_cu_flag is 1 and the size of the conversion unit is a size to which the conversion omission can not be applied (Max (2, log2TrafoSize? (ChromaArrayType% 3 = = 0? 0: 1))> Log2MaxTransformSkipSize ), The second information may be set to 1 without being parsed (split_transform_flag [x0] [y0] [trafoDepth] = 1).

한편, 본 발명의 다른 실시예에 따르면, 상술된 대표 플래그는 코딩 유닛에 적용된 예측 모드에 대응하여 적용될 수 있다. 즉, 코딩 유닛에 적용된 특정 예측 모드에 대응하여 대표 플래그의 시그널링 여부가 결정될 수 있다. On the other hand, according to another embodiment of the present invention, the representative flag described above may be applied corresponding to the prediction mode applied to the coding unit. That is, it can be determined whether signaling of the representative flag corresponds to the specific prediction mode applied to the coding unit.

예를 들어, 코딩 유닛의 예측 모드가 미리 약속된 특정 예측 모드인 경우에만 제안된 대표 플래그가 시그널링될 수 있다.For example, the proposed representative flag may be signaled only when the prediction mode of the coding unit is a predetermined prediction mode that is predetermined.

또 다른 예를 들어, 코딩 유닛의 예측 모드가 인트라 모드 또는 IBC 예측 모드인 경우에 제안된 대표 플래그가 시그널링될 수 있다. 이 경우, 복호화 장치는 예측 모드가 인트라 모드 또는 IBC 예측 모드인 경우에만 대표 플래그를 파싱할 수있다. 또는 스크린 컨텐츠에 대한 예측 모드인 경우, 또는 특정 모드를 한정하는 시그널링에 의하여 코딩 유닛의 예측 모드가 한정되는 경우, 해당 예측 모드에만 대표 플래그가 시그널링 될 수 있다.For another example, the proposed representative flag may be signaled if the prediction mode of the coding unit is an intra mode or an IBC prediction mode. In this case, the decoding apparatus can parse the representative flag only when the prediction mode is the intra mode or the IBC prediction mode. Or a prediction mode for the screen content, or if the prediction mode of the coding unit is limited by signaling which defines a particular mode, then a representative flag may only be signaled for that prediction mode.

IBC 예측은 현재 픽쳐 내에서 동일한(또는 유사한) 영역 또는 객체가 존재하는 경우 사용될 수 있는 예측 방법으로, 복호화 장치는 IBC 모드를 사용하여 현재 블록에 대한 예측 값을 생성할 수 있다. The IBC prediction is a prediction method that can be used when the same (or similar) region or object exists in the current picture, and the decoding apparatus can generate a prediction value for the current block using the IBC mode.

도 9는 본 발명의 일 실시예에 따른 IBC 예측을 설명하기 위한 도면이다. 9 is a diagram for explaining IBC prediction according to an embodiment of the present invention.

IBC 예측의 경우, 현재 픽쳐에 있는 특정 영역이 현재 블록의 참조 블록으로 사용될 수 있으며, 이 특정 영역의 위치를 표시하기 위하여 인터 예측에 사용된 움직임 벡터와 유사하게 블록 벡터(block vector, 이하, BV)가 사용될 수 있다. In IBC prediction, a specific area in the current picture can be used as a reference block of the current block, and a block vector (hereinafter referred to as &quot; BV &quot; ) Can be used.

기존의 인터 예측의 경우, 참조 픽쳐는 현재 픽쳐와 다른 이전 픽쳐 또는 이후 픽쳐 이지만, IBC 예측의 경우의 경우 참조 픽쳐는 현재 픽쳐가 되고, 블록 벡터는 현재 픽쳐에서 참조 블록을 지시하는 벡터를 나타낸다.In the case of the conventional inter prediction, the reference picture is a previous picture or a subsequent picture different from the current picture. In the case of IBC prediction, the reference picture is a current picture, and the block vector indicates a vector indicating a reference block in the current picture.

*도시된 바와 같이, 본 발명의 일 예에 따르면 현재 픽쳐 내 현재 예측 블록과 이웃한 좌측의 CTU(coding tree unit)에 존재하는 영역이 현재 예측 블록의 참조 블록으로 선택될 수 있다. As shown, according to an embodiment of the present invention, a region existing in a coding tree unit (CTU) adjacent to a current prediction block in a current picture may be selected as a reference block of a current prediction block.

IBC 예측을 수행할 때 참조 블록의 탐색을 위한 영역이 제한되거나 특정 영역으로 설정될 수 있다. 일 예에 따라 참조 블록은 현재 예측 블록이 속하는 현재 CTU 또는 현재 CTU와 인접한 좌측 CTU 내에서 탐색되는 것으로 한정될 수 있다.When carrying out the IBC prediction, the area for the search of the reference block may be limited or set to a specific area. According to one example, the reference block may be limited to being searched in the current CTU to which the current prediction block belongs or in the left CTU adjacent to the current CTU.

반대로, IBC 예측을 수행할 때 참조 블록의 탐색을 위한 영역을 현재 픽쳐 내에서 현재 코딩 유닛 이전에 복호화가 완료된 모든 영역으로 확장하는 것도 가능할 수 있다. Conversely, when performing IBC prediction, it may also be possible to extend an area for the search of a reference block to all areas in the current picture that have been decoded before the current coding unit.

IBC 예측이 수행되는 예측 블록의 타입은 2Nx2N, 2NxN, Nx2N, NxN 일 수 있다. The type of prediction block in which IBC prediction is performed may be 2Nx2N, 2NxN, Nx2N, NxN.

BV는 움직임 벡터와 유사하게 BV 예측자(BV predictor)와 BV 차이값(BV difference)으로부터 도출될 수 있다. BV can be derived from the BV predictor and BV difference similar to the motion vector.

현재 블록에 대한 BV 예측자는 부호화 장치에서 코딩되어 복호화 장치로 시그널링 될 수 있으며, 특정 영역, 예를 들어 현재 CTU 내에서 이전에 IBC 모드로 예측된 블록의 BV가 예측자로 사용될 수 있으며, 현재 블록과 인접한 블록 중 IBC 모드로 예측된 블록의 BV 또한 예측자로 사용될 수도 있다. The BV predictor for the current block can be coded at the encoder and signaled to the decoder, and BV of a block previously predicted in IBC mode within a particular area, e.g., the current CTU, can be used as a predictor, The BV of the predicted block in the IBC mode among adjacent blocks may also be used as a predictor.

이 때, 영상 처리 중간에 데이트를 리셋하거나 리프레쉬할 필요가 존재하므로 각 CTU 별로 BV 예측자는 (-2*w,0) 또는 (-w,0)와 같은 초기값으로 초기화될 수 있다. 여기서, w는 현재 코딩 유닛(Coding Unit)의 폭(width)일 수 있다. At this time, since there is a need to reset or refresh the data in the middle of image processing, the BV predictor for each CTU can be initialized to an initial value such as (-2 * w, 0) or (-w, 0). Here, w may be the width of the current coding unit.

BV 차이값은 BV와 BV 예측자의 차이를 나타내며, BVdx, BVdy 값으로 부호화 장치에서 코딩되어 복호화 장치로 시그널링 될 수 있다.The BV difference value indicates the difference between the BV and BV predictors and can be coded in the encoder as a BVdx, BVdy value and signaled to the decoder.

상술된 IBC 예측 모드가 적용된 경우에만 대표 플래그가 시그널링 되도록 하는 실현예의 경우, 본 발명과 관련하여 코딩 유닛 레벨에서 부호화 장치가 복호화 장치로 시그널링 하는 신택스를 도시하면 표 11과 같이 표현할 수 있다. In the case of the realization example in which the representative flag is signaled only when the above-described IBC prediction mode is applied, the syntax for signaling to the decoding apparatus by the coding apparatus at the coding unit level according to the present invention can be expressed as shown in Table 11. [

Figure 112016023931807-pat00011
Figure 112016023931807-pat00011

표 11을 참조하면, 코딩 유닛 레벨에서, transform_skip_group_signalling_enabled_flag, transform_skip_enabled_flag가 1이고, 무손실 영상 부호화가 아니고(!cu_transquant_bypass_flag), IBC 예측이 적용되는 경우(intra_bc_flag[ x0 ][ y0 ]), 대표 플래그가 수신될 수 있다. 또한 복호화 장치는 이러한 일련의 조건이 만족되는 경우, 대표 플래그를 파싱할 수 있다. Referring to Table 11, at the coding unit level, when the transform_skip_group_signalling_enabled_flag and transform_skip_enabled_flag are 1, not the lossless image coding (! Cu_transquant_bypass_flag), and the IBC prediction is applied (intra_bc_flag [x0] [y0] have. Further, the decoding apparatus can parse the representative flag when such a series of conditions is satisfied.

물론, 현재 코딩 유닛이 변환 생략이 적용되는 최대 변환 블록의 크기보다 작은 변환 블록을 포함할 수 있다는 조건((log2CbSize ? MaxTrafoDepth ? (ChromaArrayType % 3 = = 0? 0: 1)) <= Log2MaxTransformSkipSize )이 만족되어야 대표 플래그(transform_skip_all_ones_in_cu_flag)가 수신되거나 파싱될 수 있다. Of course, the condition ((log2CbSize? MaxTrafoDepth? (ChromaArrayType% 3 = = 0? 0: 1)) == Log2MaxTransformSkipSize) may be satisfied if the current coding unit may include a conversion block smaller than the size of the maximum conversion block to which the conversion skip is applied The representative flag (transform_skip_all_ones_in_cu_flag) may be received or parsed.

표 11은 상기 도 3 내지 도 8를 참조하여 설명되는 실시예에 적용될 수 있다. 이해를 돕기 위하여 일례를 들면, 도 3의 S310의 대표 플래그 파싱 조건은 transform_skip_group_signalling_enabled_flag, transform_skip_enabled_flag가 1이고, 무손실 영상 부호화가 아니고(!cu_transquant_bypass_flag), IBC 예측이 적용되는 경우(intra_bc_flag[ x0 ][ y0 ]) 일 것을 포함할 수 있다. 한편, 표 2의 실시예처럼 transform_skip_enabled_flag가 0일 경우에는 transform_skip_group_signalling_enabled_flag는 시그널링 되지 않고, 이때 복호화 장치는 이 값을 0으로 유추하는 실시예에서는, 도 3의 S310의 대표 플래그 파싱 조건은 transform_skip_group_signalling_enabled_flag가 1이고, 무손실 영상 부호화가 아니고(!cu_transquant_bypass_flag), IBC 예측이 적용되는 경우(intra_bc_flag[ x0 ][ y0 ]) 일 것을 포함할 수 있다.Table 11 can be applied to the embodiment described with reference to Figs. 3 to 8 above. For example, the representative flag parsing condition in S310 of FIG. 3 is a case where the transform_skip_group_signalling_enabled_flag and the transform_skip_enabled_flag are 1, not the lossless image coding (! Cu_transquant_bypass_flag), and the IBC prediction is applied (intra_bc_flag [x0] [y0] Can be included. 3, the transform_skip_group_signalling_enabled_flag is not signaled. If the transform_skip_group_signalling_enabled_flag is 1, the representative flag parsing condition of S310 in FIG. 3 is 1, and the transform_skip_group_signalling_enabled_flag is 1, (! Cu_transquant_bypass_flag), and when the IBC prediction is applied (intra_bc_flag [x0] [y0]).

도 10은 본 발명의 일 실시예에 따른 영상의 부호화 방법을 설명하기 위한 도면이다. 10 is a view for explaining a method of encoding an image according to an embodiment of the present invention.

우선, 부호화 장치는 코딩의 대상이 되는 코딩 유닛으로부터 분할되는 변환 블록에 변환 생략이 적용되는지 여부를 판단한다(S1010).First, the encoding apparatus determines whether or not the conversion omission is applied to the conversion block that is divided from the coding unit to be coded (S1010).

판단 결과, 도 3 및 도 6을 참조하여 설명된 소정의 조건을 만족하면서 변환 생략이 적용된 변환 블록에 대하여, 변환 생략 여부를 지시하는 제1 정보를 대표하는 대표 플래그를 코딩하고, 대표 플래그를 상기 코딩 유닛에 대한 정보로 시그널링할 수 있다(S1020). As a result of the determination, the representative flag representing the first information indicating whether or not the conversion is omitted is encoded in the conversion block to which the conversion skip is applied while satisfying the predetermined condition described with reference to Figs. 3 and 6, Signaling with information on the coding unit (S1020).

부호화 장치는 코딩 유닛으로부터 분할되는 최대 깊이의 변환 유닛에 해당하는 변환 블록 중 변환 생략이 적용될 수 있는 기본 조건 (즉, 변환 블록의 크기가 변환 생략이 적용되는 최대 변환 블록 크기 이하임과 동시에 부호화되는 변환계수가 존재하여야 함 (즉, CBF가 1임))을 만족하는 모든 변환 블록에 변환 생략이 사용된 경우, 대표 플래그를 1로 코딩할 수 있다. The encoding apparatus is configured so that a basic condition under which conversion skipping can be applied among the conversion blocks corresponding to the conversion unit of the maximum depth divided from the coding unit (i.e., the size of the conversion block is equal to or smaller than the maximum conversion block size to which the conversion skip is applied If the conversion skip is used for all conversion blocks that satisfy the condition that the conversion coefficient should be present (i.e., CBF is 1), the representative flag can be coded as 1. [

또는, 코딩 유닛으로부터 분할되는 변환 유닛이 포함하는 변환 유닛 중, 변환 생략이 적용될 수 있는 기본 조건을 만족하는 모든 변환 블록에 변환 생략이 사용된 경우, 부호화 장치는 대표 플래그를 1로 코딩할 수 있다.Alternatively, in the case where, among the conversion units included in the conversion unit divided from the coding unit, the conversion skip is used for all the conversion blocks satisfying the basic condition to which the skip conversion can be applied, the encoding device can code the representative flag with 1 .

부호화 장치는 대표 플래그가 1이면(S1030), 상기와 같은 조건을 만족하는변환 블록에 대하여는 제1 정보의 코딩을 생략하고, 제1 정보의 코딩이 필요한 변환 블록에 대하여는 제1 정보를 코딩할 수 있다(S1040).If the representative flag is 1 (S1030), coding of the first information is skipped for the conversion block satisfying the above conditions, and coding of the first information is performed for the conversion block requiring coding of the first information (S1040).

또한, 부호화 장치는 대표 플래그에 기초하여 변환 유닛의 분할 여부를 나타내는 제2 정보의 코딩 여부를 판단할 수도 있다. The encoding apparatus may also determine whether to code second information indicating whether or not the conversion unit is divided based on the representative flag.

부호화 장치는 대표 플래그가 1이고 변환 유닛에 대한 변환 깊이가 0이면, 제2 정보의 코딩이 필요 없는 것으로 판단할 수도 있고, 대표 플래그가 1이고 변환 유닛에 대한 변환 깊이가 0이고 변환 유닛의 크기가 상기 변환 생략이 적용되는 최대 변환 블록 크기보다 큰 경우에 제2 정보의 코딩이 필요 없는 것으로 판단할 수도 있다. 이 경우, 변환 깊이가 0인 변환 유닛에 대하여는 제2 정보에 대하여 코딩하지 않을 수 있다. If the representative flag is 1 and the conversion depth for the conversion unit is 0, it may be determined that coding of the second information is not necessary. If the representative flag is 1, the conversion depth for the conversion unit is 0, Is larger than the maximum transform block size to which the transform omission is applied, it may be determined that coding of the second information is not necessary. In this case, for the conversion unit having the conversion depth of 0, the second information may not be coded.

부호화 장치는 제2 정보의 코딩이 필요한 변환 유닛, 즉 변환 깊이가 0 ?1 로 분할되는 분할 유닛 이외의 분할 유닛에 대하여 분할 여부를 지시하는 제2 정보를 코딩한다(S1050).The encoding apparatus codes the second information indicating whether or not to divide a division unit other than the division unit in which the conversion depth is 0-1, which requires coding of the second information (S1050).

단계 S1040 및 S1050는 순차적으로 수행될 수도 있지만, 각각 독립적인 단계로 수행될 수도 있고, 제2 정보에 대한 코딩이 먼저 수행될 수도 있다. 즉, 대표 플래그가 코딩된 이후의 단계의 순서는 도면에 도시한 것에 한정되지 않는다.Steps S1040 and S1050 may be performed sequentially, but may be performed independently of each other, and coding for the second information may be performed first. That is, the order of the steps after the representative flag is coded is not limited to that shown in the drawings.

대표 플래그가 0이면 제1 정보 및 제2 정보를 기존의 코딩 방식대로 코딩되어 시그널링 된다(S1060).If the representative flag is 0, the first information and the second information are coded according to the existing coding scheme and signaled (S1060).

상술된 바와 같이, 본 발명에 따를 경우, 현재 코딩 유닛 내에서 변환 생략이 발생할 수 있는 크기인 경우, 변환 생략 플래그를 대표하는 대표 플래그를 코딩 유닛 별로 시그널링함으로써 비트량을 감소시키고, 이를 통하여 영상 압축시 부호화 효율을 증대시킬 수 있는 방법 및 이를 이용하는 장치가 제공된다.As described above, according to the present invention, when the size of the current coding unit is such that the conversion skip can occur, the representative flag representing the conversion skip flag is signaled for each coding unit to reduce the bit amount, A method for increasing the coding efficiency and an apparatus using the same are provided.

상술한 실시예에서, 방법들은 일련의 단계 또는 블록으로서 순서도를 기초로 설명되고 있으나, 본 발명은 단계들의 순서에 한정되는 것은 아니며, 어떤 단계는 상술한 바와 다른 단계와 다른 순서로 또는 동시에 발생할 수 있다. 또한, 당해 기술 분야에서 통상의 지식을 가진 자라면 순서도에 나타난 단계들이 배타적이지 않고, 다른 단계가 포함되거나, 순서도의 하나 또는 그 이상의 단계가 본 발명의 범위에 영향을 미치지 않고 삭제될 수 있음을 이해할 수 있을 것이다.In the above-described embodiments, the methods are described on the basis of a flowchart as a series of steps or blocks, but the present invention is not limited to the order of steps, and some steps may occur in different orders or in a different order than the steps described above have. It will also be understood by those skilled in the art that the steps depicted in the flowchart illustrations are not exclusive and that other steps may be included or that one or more steps in the flowchart may be deleted without affecting the scope of the invention You will understand.

상술한 실시예는 다양한 양태의 예시들을 포함한다. 다양한 양태들을 나타내기 위한 모든 가능한 조합을 기술할 수는 없지만, 해당 기술 분야의 통상의 지식을 가진 자는 다른 조합이 가능함을 인식할 수 있을 것이다. 따라서, 본 발명은 이하의 특허청구범위 내에 속하는 모든 다른 교체, 수정 및 변경을 포함한다고 할 것이다.The above-described embodiments include examples of various aspects. While it is not possible to describe every possible combination for expressing various aspects, one of ordinary skill in the art will recognize that other combinations are possible. Accordingly, it is intended that the invention include all alternatives, modifications and variations that fall within the scope of the following claims.

100 : 영상 부호화 장치 110: 예측부
130 : 변환부 140 : 양자화부
150 : 엔트로피 부호화부 160 : 역양자화부
170 : 역변환부 180 : 필터부
100: Image encoding device 110:
130: conversion unit 140: quantization unit
150: an entropy encoding unit 160: an inverse quantization unit
170: inverting section 180: filter section

Claims (15)

영상의 복호화 방법에 있어서,
복호화중인 코딩 유닛내의 변환 블록의 크기가 변환 생략이 적용될 수 있는 변환 블록 크기보다 작거나 같은지를 판단하는 단계와;
상기 판단에 따라 상기 변환 블록의 변환 생략 여부를 지시하는 정보를 파싱 하고, 상기 변환 블록의 루마 변환 블록들의 변환을 수행 또는 생략하는 단계; 및
현재 픽쳐 내에서 벡터로 지시되는 블록-상기 블록은 현재 픽춰내의 블록임-을 현재 예측 블록에 대한 예측 블록으로 사용하는 단계를 포함하는 영상의 복호화 방법.
A method of decoding an image,
Determining whether a size of a transform block in a coding unit being decoded is smaller than or equal to a transform block size to which a transform omission can be applied;
Parsing information indicating whether or not to omit conversion of the conversion block according to the determination, and performing or omitting conversion of the luma conversion blocks of the conversion block; And
Using as a prediction block for a current prediction block a block indicated in a current picture as a vector, the block being a block in the current picture.
제1항에 있어서, 상기 현재 픽쳐 내 현재 예측 블록과 이웃한 좌측의 CTU(coding tree unit)에 존재하는 영역을 상기 현재 예측 블록의 예측 블록으로 사용하는 것을 특징으로 하는 영상의 복호화 방법.2. The method of claim 1, wherein an area existing in a coding tree unit (CTU) adjacent to the current prediction block in the current picture is used as a prediction block of the current prediction block. 제1항에 있어서, 상기 현재 예측 블록이 속하는 현재 CTU(coding tree unit) 또는 현재 CTU(coding tree unit)와 인접한 좌측 CTU 내에 존재하는 영역을 상기 현재 예측 블록의 예측 블록으로 사용하는 것을 특징으로 하는 영상의 복호화 방법.The method as claimed in claim 1, wherein a current CTU (coding tree unit) to which the current prediction block belongs or a current CTU (coding tree unit) neighboring the current CTU is used as a prediction block of the current prediction block A method of decoding an image. 제1항에 있어서, 상기 현재 픽쳐 내에서 현재 코딩 유닛 이전에 복호화가 완료된 영역을 상기 현재 예측 블록의 예측 블록으로 사용하는 것을 특징으로 하는 영상의 복호화 방법.2. The method of claim 1, wherein an area decoded before the current coding unit in the current picture is used as a prediction block of the current prediction block. 제1항에 있어서,
상기 벡터는 벡터 예측자(predictor)와 벡터 차이값(difference)으로부터 도출되는 것을 특징으로 하는 영상의 복호화 방법.
The method according to claim 1,
Wherein the vector is derived from a vector predictor and a vector difference value.
제5항에 있어서,
상기 벡터 차이값은 상기 벡터와 상기 벡터 예측자의 차이를 나타내며 부호화 장치에서 코딩되어 복호화 장치로 시그널링 되는 것을 특징으로 하는 영상의 복호화 방법.
6. The method of claim 5,
Wherein the vector difference value indicates a difference between the vector and the vector predictor, and the vector difference value is coded in an encoder and signaled to a decoding apparatus.
제1항에 있어서, 상기 예측 블록으로 사용되는 상기 현재 픽쳐내의 특정 영역은 부호화기로부터 수신되는 상기 벡터로 지시되는 것을 특징으로 하는 영상의 복호화 방법.2. The method of claim 1, wherein the specific region in the current picture used as the prediction block is indicated by the vector received from the encoder. 영상의 복호화 방법에 있어서,
변환 블록의 크기가 변환 생략이 적용될 수 있는 변환 블록 크기보다 작거나 같은지를 판단하는 단계와;
상기 판단에 따라 상기 변환 블록의 변환 생략 여부를 지시하는 정보를 파싱 하는 단계와;
상기 정보에 따라 상기 변환 블록에 대한 변환을 수행 또는 생략하는 단계; 및
현재 픽쳐 내에서 벡터로 지시되는 블록-상기 블록은 현재 픽춰내의 블록임-을 현재 예측 블록에 대한 예측 블록으로 사용하는 단계를 포함하는 영상의 복호화 방법.
A method of decoding an image,
Determining whether the size of the transform block is less than or equal to the transform block size to which the transform skip can be applied;
Parsing information indicating whether the conversion block is omitted in accordance with the determination;
Performing or omitting conversion for the transform block according to the information; And
Using as a prediction block for a current prediction block a block indicated in a current picture as a vector, the block being a block in the current picture.
제8항에 있어서, 상기 예측 블록으로 사용되는 상기 현재 픽쳐내의 특정 영역은 부호화기로부터 수신되는 상기 벡터로 지시되는 것을 특징으로 하는 영상의 복호화 방법.9. The method of claim 8, wherein the specific region in the current picture used as the prediction block is indicated by the vector received from the encoder. 영상의 복호화 방법에 있어서,
현재 코딩 유닛으로부터 분할되는 변환 블록의 변환 생략 여부를 지시하는 정보를 파싱 하는 단계와;
상기 정보에 따라 상기 변환 블록에 대한 변환을 수행 또는 생략하는 단계와;
현재 픽쳐 내에서 벡터로 지시되는 블록-상기 블록은 현재 픽춰내의 블록임-을 현재 예측 블록에 대한 예측 블록으로 사용하는 단계를 포함하되,
상기 변환 블록의 변환 생략 여부를 지시하는 정보를 파싱 하는 단계는 변환 생략의 적용이 가능한지 여부를 지시하는 플래그가 1이고, 상기 현재 코딩 유닛이 무손실 부호화되지 않고, 상기 변환 블록의 크기가 변환 생략이 적용될 수 있는 변환 블록 크기보다 작거나 같은 경우, 상기 변환 생략 여부를 지시하는 정보를 파싱하는 단계인 것을 특징으로 하는 영상의 복호화 방법.
A method of decoding an image,
Parsing information indicating whether or not to omit conversion of the transform block being divided from the current coding unit;
Performing or omitting conversion for the transform block according to the information;
Using as a prediction block for a current prediction block a block indicated in a current picture as a vector, the block being a block in the current picture,
Wherein the step of parsing the information indicating whether or not the conversion block is omitted in the step of parsing the information indicating whether or not the conversion block is to be omitted is performed when the flag indicating whether or not the conversion skip is applicable is 1 and the current coding unit is not lossless coded, And parsing the information indicating whether the conversion is omitted if the conversion block size is smaller than or equal to the applicable conversion block size.
제10항에 있어서, 상기 예측 블록으로 사용되는 상기 현재 픽쳐내의 특정 영역은 부호화기로부터 수신되는 상기 벡터로 지시되는 것을 특징으로 하는 영상의 복호화 방법.11. The method of claim 10, wherein the specific region in the current picture used as the prediction block is indicated by the vector received from the encoder. 영상의 복호화 방법에 있어서,
복호화중인 코딩 유닛내의 변환 블록의 크기가 변환 생략이 적용될 수 있는 변환 블록 크기보다 작거나 같은지를 판단하는 단계와;
상기 판단에 따라 상기 변환 블록의 변환 생략 여부를 지시하는 정보를 파싱 하고, 상기 변환 블록의 루마 변환 블록들의 변환을 수행 또는 생략하는 단계; 및
부호화기로부터 수신된 벡터로 지시되는 현재 픽쳐 내의 특정 영역을 현재 예측 블록에 대한 참조 블록으로 사용하는 단계를 포함하는 영상의 복호화 방법.
A method of decoding an image,
Determining whether a size of a transform block in a coding unit being decoded is smaller than or equal to a transform block size to which a transform omission can be applied;
Parsing information indicating whether or not to omit conversion of the conversion block according to the determination, and performing or omitting conversion of the luma conversion blocks of the conversion block; And
And using the specific region in the current picture indicated by the vector received from the encoder as a reference block for the current prediction block.
영상의 복호화 방법에 있어서,
변환 블록의 크기가 변환 생략이 적용될 수 있는 변환 블록 크기보다 작거나 같은지를 판단하는 단계와;
상기 판단에 따라 상기 변환 블록의 변환 생략 여부를 지시하는 정보를 파싱 하는 단계와;
상기 정보에 따라 상기 변환 블록에 대한 변환을 수행 또는 생략하는 단계; 및
부호화기로부터 수신된 벡터로 지시되는 현재 픽쳐 내의 특정 영역을 현재 예측블록에 대한 참조 블록으로 사용하는 단계를 포함하는 영상의 복호화 방법.
A method of decoding an image,
Determining whether the size of the transform block is less than or equal to the transform block size to which the transform skip can be applied;
Parsing information indicating whether the conversion block is omitted in accordance with the determination;
Performing or omitting conversion for the transform block according to the information; And
And using the specific region in the current picture indicated by the vector received from the encoder as a reference block for the current prediction block.
영상의 복호화 방법에 있어서,
현재 코딩 유닛으로부터 분할되는 변환 블록의 변환 생략 여부를 지시하는 정보를 파싱 하는 단계와;
상기 정보에 따라 상기 변환 블록에 대한 변환을 수행 또는 생략하는 단계와;
부호화기로부터 수신된 벡터로 지시되는 현재 픽쳐 내의 특정 영역을 현재 예측블록에 대한 참조 블록으로 사용하는 단계를 포함하되,
상기 변환 블록의 변환 생략 여부를 지시하는 정보를 파싱 하는 단계는 변환 생략의 적용이 가능한지 여부를 지시하는 플래그가 1이고, 상기 현재 코딩 유닛이 무손실 부호화되지 않고, 상기 변환 블록의 크기가 변환 생략이 적용될 수 있는 변환 블록 크기보다 작거나 같은 경우, 상기 변환 생략 여부를 지시하는 정보를 파싱하는 단계인 것을 특징으로 하는 영상의 복호화 방법.
A method of decoding an image,
Parsing information indicating whether or not to omit conversion of the transform block being divided from the current coding unit;
Performing or omitting conversion for the transform block according to the information;
And using a specific area in the current picture indicated by the vector received from the encoder as a reference block for the current prediction block,
Wherein the step of parsing the information indicating whether or not the conversion block is omitted in the step of parsing the information indicating whether or not the conversion block is to be omitted is performed when the flag indicating whether or not the conversion skip is applicable is 1 and the current coding unit is not lossless coded, And parsing the information indicating whether the conversion is omitted if the conversion block size is smaller than or equal to the applicable conversion block size.
영상의 복호화 방법에 있어서,
복호화중인 코딩 유닛내의 변환 블록의 크기가 변환 생략이 적용될 수 있는 변환 블록 크기보다 작거나 같은지를 판단하는 단계와;
상기 판단에 따라 상기 변환 블록의 변환 생략 여부를 지시하는 정보를 파싱 하고, 상기 변환 블록의 루마 변환 블록들의 변환을 수행 또는 생략하는 단계; 및
부호화기로부터 수신된 벡터로 지시되는 현재 픽쳐 내의 특정 영역을 상기 변환 블록에 대한 참조 블록으로 사용하는 단계를 포함하는 영상의 복호화 방법.
A method of decoding an image,
Determining whether a size of a transform block in a coding unit being decoded is smaller than or equal to a transform block size to which a transform omission can be applied;
Parsing information indicating whether or not to omit conversion of the conversion block according to the determination, and performing or omitting conversion of the luma conversion blocks of the conversion block; And
And using a particular region in the current picture indicated by the vector received from the encoder as a reference block for the transform block.
KR1020160029803A 2016-03-11 2016-03-11 Video encoding and decoding method and apparatus using the same KR101707164B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160029803A KR101707164B1 (en) 2016-03-11 2016-03-11 Video encoding and decoding method and apparatus using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160029803A KR101707164B1 (en) 2016-03-11 2016-03-11 Video encoding and decoding method and apparatus using the same

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020140134255A Division KR101642092B1 (en) 2014-10-06 2014-10-06 Video encoding and decoding method and apparatus using the same

Publications (2)

Publication Number Publication Date
KR20160041030A KR20160041030A (en) 2016-04-15
KR101707164B1 true KR101707164B1 (en) 2017-02-15

Family

ID=55801807

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160029803A KR101707164B1 (en) 2016-03-11 2016-03-11 Video encoding and decoding method and apparatus using the same

Country Status (1)

Country Link
KR (1) KR101707164B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020111749A1 (en) * 2018-11-27 2020-06-04 엘지전자 주식회사 Method and device for coding transform skip flag

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2737845B2 (en) * 2016-07-05 2021-05-19 Kt Corp METHOD AND APPARATUS TO PROCESS VIDEO SIGNAL
US11863798B2 (en) * 2016-07-13 2024-01-02 Electronics And Telecommunications Research Institute Image encoding/decoding method and device
CN110402580A (en) * 2017-01-03 2019-11-01 Lg 电子株式会社 Image processing method and its device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102399795B1 (en) * 2012-07-02 2022-05-23 한국전자통신연구원 Method and apparatus for image encoding/decoding

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Byeungwoo Jeon et al., ‘Non-CE2: Transform skip signalling for intra block copy’, JCT-VC of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 19th Meeting: Strasbourg, FR, 17-24 Oct. 2014, (JCTVC-S0036)
David Flynn, et al., "High Efficiency Video Coding (HEVC) Range Extensions text specification: Draft 7", JCT-VC of of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 17th Meeting: Valencia, ES, 27 Mar*
'High-Efficiency Video Coding', SERIES H: AUDIOVISUAL AND MULTIMEDIA SYSTEMSInfrastructure of audiovisual services - Coding of moving video, ITU-T H.265, (04/2013)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020111749A1 (en) * 2018-11-27 2020-06-04 엘지전자 주식회사 Method and device for coding transform skip flag
US11509903B2 (en) 2018-11-27 2022-11-22 Lg Electronics Inc. Method and device for coding transform skip flag

Also Published As

Publication number Publication date
KR20160041030A (en) 2016-04-15

Similar Documents

Publication Publication Date Title
KR101937213B1 (en) Method for coding/decoding of intra prediction mode and computer readable redording meduim thereof
KR20180082391A (en) Methods of coding block information using quadtree and appararuses for using the same
KR102516821B1 (en) Entrpy decoding method and apparatus for transform skip information
KR101973568B1 (en) Methods and apparatus for video transform encoding/decoding
KR102486026B1 (en) Method and apparatus for parallel entropy encoding/decoding
JP6172162B2 (en) Video encoding apparatus, video decoding apparatus, video encoding method, video decoding method, and program
KR101707164B1 (en) Video encoding and decoding method and apparatus using the same
KR101642092B1 (en) Video encoding and decoding method and apparatus using the same
KR102138197B1 (en) Transform skip signaling method and apparatus for video coding
KR20140081681A (en) Video encoding method and apparatus using the same

Legal Events

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

Payment date: 20200203

Year of fee payment: 4