KR20180011285A - Method of encoding intra mode by choosing most probable mode with high hit rate and apparatus for the same, and method of decoding and apparatus for the same - Google Patents

Method of encoding intra mode by choosing most probable mode with high hit rate and apparatus for the same, and method of decoding and apparatus for the same Download PDF

Info

Publication number
KR20180011285A
KR20180011285A KR1020180005115A KR20180005115A KR20180011285A KR 20180011285 A KR20180011285 A KR 20180011285A KR 1020180005115 A KR1020180005115 A KR 1020180005115A KR 20180005115 A KR20180005115 A KR 20180005115A KR 20180011285 A KR20180011285 A KR 20180011285A
Authority
KR
South Korea
Prior art keywords
mpm
block
intra prediction
current block
mode
Prior art date
Application number
KR1020180005115A
Other languages
Korean (ko)
Other versions
KR101931693B1 (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 주식회사 스카이미디어테크
Publication of KR20180011285A publication Critical patent/KR20180011285A/en
Application granted granted Critical
Publication of KR101931693B1 publication Critical patent/KR101931693B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/11Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
    • 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/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/593Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The present invention, when encoding mode information of a block determined according to an intra prediction mode, selects at least one most probable mode (MPM) candidate group through selection conditions more definite than a conventional method and enhances encoding efficiency, wherein the MPM has the most probability for being selected as an optimal mode among intra prediction modes of neighboring blocks of the block to be currently encoded. The present invention, if one or more MPM candidate groups are selected through definite conditions, has higher probability that the intra prediction mode of the block to be currently encoded is the same as the MPM and if the probability that the intra prediction mode of the current block is the same as the MPM gets higher, shortens length of codes to enhance compression efficiency. The definite conditions mean that criteria for determining how well the neighboring blocks are predicted are presented and the prediction modes well predicted are selected first as the MPM candidate groups in order to enhance hit rate. In addition, the prediction criteria above mentioned can be applied to two, a fixated number, and patterns of the neighboring blocks to be referred to. Besides, the present invention applies the above mentioned prediction criteria to the neighboring blocks positioned in various directions because the prediction has various directionality to set the MPM candidate groups, thereby enhancing the hit rate. An image encoding apparatus detects intra prediction accuracy of the neighboring block encoded prior to a current block of a prediction unit of an input image (S610). The apparatus determines at least one MPM of the current block based on the detected intra prediction accuracy (S620). The device performs intra prediction on the current block based on the determined MPM (S630).

Description

적중률이 높은 MPM을 통한 영상의 부호화 방법 및 장치, 그리고 복호화 방법 및 장치{METHOD OF ENCODING INTRA MODE BY CHOOSING MOST PROBABLE MODE WITH HIGH HIT RATE AND APPARATUS FOR THE SAME, AND METHOD OF DECODING AND APPARATUS FOR THE SAME}BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and an apparatus for encoding an image using an MPM having a high hit ratio and a method and an apparatus for decoding an image using the MPM,

본 발명은 영상의 부호화 방법 및 장치, 그리고 복호화 방법 및 장치에 관한 것으로, 보다 상세하게는 인트라 예측을 통해 영상을 부호화하는 방법 및 장치, 그리고 복호화 방법 및 장치에 관한 것이다. BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for encoding an image, and a decoding method and apparatus. More particularly, the present invention relates to a method and apparatus for encoding an image through intraprediction, and a decoding method and apparatus.

H.264/AVC(Advanced Video Coding)와 같은 영상 압축 방식에서는 영상을 부호화하기 위해서 하나의 픽처(picture)를 여러 개의 매크로 블록(macro block)으로 나누고, 인트라 예측(intra prediction)을 이용해 각각의 매크로 블록을 부호화할 수 있다. In an image compression method such as H.264 / AVC (Advanced Video Coding), a picture is divided into a plurality of macro blocks in order to encode an image, and each intra- The block can be encoded.

인트라 예측은 현재 픽처 내에서 부호화하려는 대상 블록과 공간적으로 인접한 화소값을 참조하여 부호화하려는 현재 블록에 대한 예측값을 계산한 후, 예측값과 현재 블록의 화소값의 차이를 계산하여 잔여 영상을 생성하고, 상기 잔여 영상에 대해 이산 여현 변환(discrete cosine transform, DCT)과 양자화를 거쳐 부호화한다. 여기서, 현재 블록의 화소값을 예측하기 위해 다양한 인트라 예측 모드가 존재하는데, 크게 휘도 성분의 4×4 인트라 예측 모드, 8×8 인트라 예측 모드, 16×16 인트라 예측 모드 및 색차 성분의 인트라 예측 모드로 나뉜다. H.264/AVC의 4×4 인트라 예측 모드의 경우, 인트라 예측을 위한 9가지 예측 모드를 가질 수 있다. Intra prediction is performed by calculating a predicted value for a current block to be encoded referring to pixel values spatially adjacent to a current block to be encoded in a current picture and then calculating a difference between a predicted value and a pixel value of the current block to generate a residual image, The residual image is coded by a discrete cosine transform (DCT) and quantization. Here, there are various intraprediction modes for predicting the pixel values of the current block. The intraprediction modes include a 4x4 intra prediction mode, an 8x8 intra prediction mode, a 16x16 intra prediction mode and a chrominance intra prediction mode . In the 4x4 intra prediction mode of H.264 / AVC, it can have nine prediction modes for intra prediction.

9가지 인트라 예측 모드는 통계적인 사용 빈도수에 따라 각각 0 내지 8의 모드 번호를 가지고 있다. 즉, 0번 모드가 통계적으로 사용되는 빈도수가 가장 많고, 8번 모드가 사용되는 빈도수가 가장 적다.The nine intra prediction modes have mode numbers of 0 to 8, respectively, depending on the frequency of statistical use. That is, the frequency of the 0th mode is statistically used the most, and the frequency of the 8th mode is the least.

인트라 예측 모드에서 다양한 방향으로 예측을 하기 위해 예측 모드의 개수가 늘어나면서 예측 모드를 부호화 하기 위해 많은 비트가 필요하게 된다. 인트라 예측 모드의 부호화를 보다 효율적으로 하기 위해 H.264/AVC 방식에서는 현재 부호화하고자 하는 블록의 주변 블록의 예측 모드들 중 최적의 모드로 선택될 확률이 가장 높은 모드를 최고 확률 모드(Most Probable Mode, MPM)으로 정의하고, 이를 이용한 부호화 과정을 통해 부호화 효율을 높이고자 하였다. In order to predict in various directions in the intra-prediction mode, the number of prediction modes is increased, and many bits are required to encode the prediction mode. In order to efficiently encode the intra prediction mode, in the H.264 / AVC scheme, the mode with the highest probability of selecting the optimal mode among the prediction modes of the neighboring blocks of the current block to be encoded is called the Most Probable Mode , MPM), and to improve the coding efficiency through the encoding process.

도 1은 현재 블록과 주변 블록의 위치를 도시하는 개념도이다. 1 is a conceptual diagram showing the positions of a current block and a neighboring block.

도 1을 참조하면, 상기 H.264/AVC에서 현재 블록(100)의 인트라 예측 방향에 대한 정보는 현재 블록(100)의 상부에 인접한 상부 블록(101) 및 좌측에 인접한 좌측 블록(103)의 인트라 예측 방향을 참조하여 부호화된다. 상부 블록(101) 및 좌측 블록(103)은 현재 블록(100)을 부호화하는 단계 이전에 부호화가 완료되어 각각 인트라 예측 방향에 대한 정보를 가지고 있고, 수신 측에서도 현재 블록을 복호화하는 단계 이전에 복호화가 완료되어 인트라 예측 방향에 대한 정보를 참조하는 것이 가능하다.Referring to FIG. 1, in the H.264 / AVC, information on the intra prediction direction of the current block 100 includes information of an upper block 101 adjacent to the upper portion of the current block 100 and a lower block 101 adjacent to the left side of the current block 100 And is encoded with reference to the intra prediction direction. The upper block 101 and the left block 103 are coded prior to the encoding of the current block 100 and each have information about the intra prediction direction and the decoding is performed before the current block is decoded on the receiving side It is possible to refer to the information about the intra prediction direction.

우선, RD(Rate-Distortion) 비용에 의해 현재 블록(100)의 인트라 예측 모드 번호를 결정한다. 다음으로 상부 블록(101) 및 좌측 블록(103)의 인트라 예측 모드 번호 중 최소값을 MPM으로 정의하고, 현재 블록(100)의 인트라 예측 모드 번호와 비교한다. 상기 인트라 예측 모드 번호는 통계적인 사용 빈도수에 따라 0~8의 번호가 할당되어 있기 때문에, 주변 블록의 인트라 예측 모드 번호 중 최소값이 현재 블록의 인트라 예측 모드 번호와 일치할 확률이 높다.First, the intra prediction mode number of the current block 100 is determined by the rate-distortion (RD) cost. Next, the minimum value among the intra prediction mode numbers of the upper block 101 and the left block 103 is defined as MPM and compared with the intra prediction mode number of the current block 100. Since the intra prediction mode number is assigned a number from 0 to 8 according to the statistical frequency of use, the probability that the minimum intra prediction mode number of the neighboring block matches the intra prediction mode number of the current block is high.

도 2는 MPM을 이용한 영상의 인트라 예측 부호화 과정을 나타내는 개념도이다. 2 is a conceptual diagram illustrating a process of intraprediction encoding an image using an MPM.

도 2에 도시된 바와 같이 인트라 예측 부호화 과정은 주변 블록의 예측 모드를 이용해 MPM을 선택하고 이를 현재 블록에서 결정된 최적 모드와 비교하여 인트라 예측 모드 정보를 부호화 한다. 즉, 최고 확률 모드(MPM) 선택부(210)는 주변 블록들의 예측 모드를 기반으로 MPM을 선택하고, 현재 블록 공간 예측부(220)가 현재 블록(100)에 대해서 인트라 예측을 수행하고, 율-왜곡 최적화부(230)는 현재 블록(100)에 대해 율-왜곡 비용에 의해 현재 블록의 최적 모드를 결정한다. 엔트로피 부호화부(240)에서는 상기 최고 확률 모드(MPM)과 현재 블록의 최적 모드를 기반으로 인트라 예측 모드 정보를 부호화하여, 비트열을 생성한다. As shown in FIG. 2, the intraprediction encoding process selects an MPM using a prediction mode of a neighboring block and compares the MPM with the optimal mode determined in the current block to encode the intra prediction mode information. That is, the maximum probability mode (MPM) selection unit 210 selects the MPM based on the prediction mode of the neighboring blocks, and the current block space prediction unit 220 performs intra prediction on the current block 100, The distortion optimization unit 230 determines the optimal mode of the current block by the rate-distortion cost for the current block 100. [ The entropy encoding unit 240 encodes the intra prediction mode information based on the optimum mode of the current block and the highest probability mode (MPM) to generate a bit stream.

도 3은 H.264/AVC 방식의 1개의 MPM을 이용한 인트라 예측 모드 부호화 방법의 흐름도이다. 3 is a flowchart of an intra prediction mode encoding method using one MPM of the H.264 / AVC scheme.

도 3에 도시된 바와 같이, H.264/AVC에서는 MPM을 하나만 사용하고 있고, MPM은 좌측 블록과 상단 블록의 예측 모드 중 모드 번호가 작은 모드로 결정된다. 모드 번호가 작은 것으로 결정되는 이유는 모드 번호는 통계적인 사용 빈도에 의해 발생 확률이 높은 순서로 모드 번호가 메겨져 있기 때문에 모드 번호가 작은 모드일수록 발생 확률이 더 높기 때문이다. As shown in FIG. 3, only one MPM is used in H.264 / AVC, and the mode number of the prediction mode of the left block and the upper block is determined to be a small mode in the MPM. The reason why the mode number is determined to be small is that the mode number is recorded in the order of higher probability of occurrence due to the statistical frequency of use, so that the smaller the mode number is, the higher the probability of occurrence is.

도 3을 참조하여, H.264/AVC에서의 MPM을 이용한 인트라 예측 모드의 엔트로피 부호화 과정을 설명하면, 주변 블록의 모드 중 모드 번호가 작은 모드인 MPM과 현재 블록에서 율-왜곡 최적화 부에서 결정된 최적 모드가 같은지 여부를 비교하여(S310) 현재 블록 최적 모드가 MPM과 같을 경우 최고 확률 모드와 같음을 의미하는 “1”로 부호화(S330)하고 복호기에 전송된다. MPM과 현재 블록의 최적 모드가 다를 경우에는 MPM과 다름을 의미하는 “0”이 우선 비트열에 삽입되게 되고 그 후 최적 모드를 직접 엔트로피 코딩(S320)하여 전송한다. 이 기법은 각 블록의 인트라 예측 모드가 해당 블록에 존재하는 에지(edge)의 방향성을 표현해준다는 사실에 근거해 현재 블록 주변의 구조에 적합한 MPM을 결정할 수 있지만, 현재 블록의 인트라 예측 모드가 결정된 MPM과 일치하지 않을 경우 정보의 압축 효과가 전혀 없게 된다. Referring to FIG. 3, the entropy encoding process of the intra-prediction mode using the MPM in H.264 / AVC will be described. The MPM in which the mode number of the neighboring blocks is small, (S310). When the current block optimal mode is equal to the MPM, the optimal mode is encoded to " 1 " (S330), which means it is the same as the highest probability mode. If the optimum mode of the current block differs from that of the MPM, " 0 ", which is different from MPM, is inserted in the priority bit string, and then the optimum mode is directly entropy-coded (S320). This technique can determine an MPM suitable for the structure around the current block based on the fact that the intra prediction mode of each block expresses the directionality of an edge present in the corresponding block. However, if the intra prediction mode of the current block is determined If it does not match the MPM, there will be no compression of information at all.

한편, 인트라 예측 모드의 방향이 9개인 H.264/AVC 방식에 비해, 현재 표준화 진행중에 있는 차세대 고효율 압축 비디오 코덱(High Efficient Video Coding, HEVC) 방식에서는 예측 성능을 높이기 위해 인트라 예측 모드의 방향이 최대 34개 까지 늘어남으로써 인트라 예측 모드의 효율적 부호화가 더욱 중요하게 되었다. 따라서, HEVC 방식에서는 현재 블록의 인트라 예측 모드와 MPM이 일치할 확률을 높이기 위해 MPM 후보를 한 개가 아닌 고정된 개수인 2개로 늘리는 방법이 제안되었다.Meanwhile, in the next generation high efficiency video coding (HEVC) scheme, which is currently under standardization, the direction of the intra prediction mode is set to be higher than that of the H.264 / AVC scheme in which the intra prediction mode has a direction of 9 The coding efficiency of the intra prediction mode becomes more important. Accordingly, in the HEVC scheme, a method of increasing the number of MPM candidates to two fixed number instead of one to increase the probability that the intra-prediction mode of the current block matches the MPM has been proposed.

도 4는 HEVC 방식에서 2개의 MPM을 이용한 인트라 예측 모드의 부호화 방법을 나타내는 흐름도이다. 4 is a flowchart showing a method of encoding an intra prediction mode using two MPMs in the HEVC scheme.

도 4에 도시된 바와 같이, 전체적인 과정은 앞서 설명한 H.264/AVC와 같지만, MPM 후보를 한 개가 아닌 두 개로 설정하여 현재 블록의 모드와 MPM이 같을 확률을 높이고자 하였다. MPM 중 첫 번째 후보(MPM[0])는 H.264/AVC와 같이 좌측 블록과 상측 블록의 예측 모드 중 모드 번호가 작은 것으로 설정되고, 두 번째 후보는 모드(MPM[1])는 번호가 큰 것으로 설정된다. 이와 같이 함으로써 좌측 블록과 상측 블록의 예측 모드 모두를 고려함으로써 현재 블록과 MPM이 같을 경우의 수가 더 늘어나게 된다. 두 모드가 일치할 확률이 높을수록 비트열의 길이는 줄어들 수 있으므로 압축 효율 향상을 가져올 수 있다.As shown in FIG. 4, the overall process is the same as the H.264 / AVC described above, but the MPM candidates are set to two instead of one to increase the probability that the mode of the current block and the MPM are the same. The first candidate (MPM [0]) of the MPM is set to have a smaller mode number among the prediction modes of the left block and the upper block, such as H.264 / AVC, and the second candidate MPM [1] . By considering both the prediction mode of the left block and the prediction of the upper block, the number of cases in which the current block and the MPM are equal to each other is increased. The higher the probability that the two modes coincide, the shorter the length of the bit stream, and therefore the compression efficiency can be improved.

도 4를 참조하여, HEVC 방식에서 MPM을 이용한 인트라 예측 모드의 엔트로피 부호화 과정을 설명하면, 주변 블록의 모드 중 모드 번호가 작은 모드인 MPM[0]과 현재 블록에서 율-왜곡 최적화 부에서 결정된 최적 모드가 같은지 여부를 비교하여(S410) 현재 블록 최적 모드가 MPM[0]과 같을 경우 MPM[0]과 같음을 의미하는 “10”으로 부호화(S420)하고 복호기에 전송된다. MPM[0]과 현재 블록의 최적 모드가 다를 경우에는 주변 블록의 모드 중 모드 번호가 큰 모드인 MPM[1]과 현재 블록에서 율-왜곡 최적화 부에서 결정된 최적 모드가 같은지 여부를 비교하여(S430) 현재 블록 최적 모드가 MPM[1]과 같을 경우 MPM[1]과 같음을 의미하는 “11”로 부호화(S440)하고 복호기에 전송한다. 현재 블록 최적 모드가 MPM[1]과 다를 경우, MPM[1]과 다름을 의미하는 “0”이 우선 비트열에 삽입되게 되고 그 후 최적 모드를 직접 엔트로피 코딩(S450)하여 전송한다.Referring to FIG. 4, the entropy encoding process of the intra-prediction mode using the MPM in the HEVC scheme will be described. The entropy encoding process of the MPM [0] (S410). If the current block optimal mode is the same as MPM [0], it is coded to "10" which means the same as MPM [0] (S420), and is transmitted to the decoder. If MPM [0] is different from the optimal mode of the current block, MPM [1], which is a mode having a larger mode number among neighboring blocks, is compared with the optimum mode determined by the rate-distortion optimization unit in the current block ) If the current block optimal mode is the same as MPM [1], it is encoded to "11" which is the same as MPM [1] (S440) and transmitted to the decoder. If the current block optimal mode is different from MPM [1], "0", which is different from MPM [1], is inserted in the priority bit string, and then the optimum mode is directly entropy coded (S450).

하지만 이와 같이 전체적인 통계적 특성에 근거해 정렬되어 있는 모드 번호를 기준으로 MPM 후보군을 설정하는 것에는 약점이 있다. 평균적으로 발생 빈도를 구했을 경우 많이 나오는 예측 모드가 항상 현재 블록의 예측 모드와 일치하지는 않기 때문이다. 예를 들어 좌측 블록이 평균적 발생 빈도가 더 높은 수직 방향이고 상측 블록이 발생 빈도가 낮은 수평 방향일 경우, 현재 블록이 항상 수직 방향의 예측 모드가 되지는 않는다. However, there is a drawback to setting the MPM candidates based on the mode numbers sorted based on the overall statistical characteristics. This is because the prediction mode, which occurs frequently when the occurrence frequency is on average, does not always coincide with the prediction mode of the current block. For example, if the left block is a vertical direction with a higher average frequency of occurrence and the upper block is a horizontal direction with a lower occurrence frequency, the current block is not always the vertical direction prediction mode.

한국 공개 특허 제 10-2009-0052706 호("영상 부호화에서 매크로블록의 인트라 모드 결정 방법", 한양대학교 산학협력단, 2009.05.26 공개)Korean Patent Laid-Open No. 10-2009-0052706 ("Method for Determining Intra Mode of Macroblock in Image Coding ", published by Hanyang University Industry & University Collaboration Foundation, May 25, 2009)

전술한 문제점을 해결하기 위해 본 발명에서는 모드 번호가 최소인 것을 MPM 후보군으로 두는 것이 아니라 주변 블록의 예측 모드가 얼마나 정확히 예측 되었는지 여부를 검출하여 정확하게 예측된 예측 모드를 1개 이상의 MPM 후보군으로 설정함으로써 MPM과 현재 블록의 최적 예측 모드가 동일할 확률을 더욱 높이고자 한다. 더욱 정확하게 예측된 주변 블록을 선택하기 위해서 주변 블록의 잔여 영상의 변환 계수 값의 크기, 0이 아닌 변환 계수의 개수, 부호화 블록 패턴(coded block pattern, CBP) 또는 부호화 블록 플래그(coded block flag, CBF)를 고려하고자 한다.In order to solve the above-mentioned problems, the present invention does not set the minimum mode number to the MPM candidate group but detects whether the prediction mode of the neighboring block is accurately predicted and sets the correctly predicted prediction mode to one or more MPM candidate groups We want to increase the probability that the MPM and the optimal prediction mode of the current block are the same. In order to select a more precisely predicted neighboring block, the size of the transform coefficient of the residual image of the neighboring block, the number of non-zero transform coefficients, the coded block pattern (CBP) or the coded block flag ).

전술한 문제점을 해결하기 위한 본 발명의 목적은 주변 블록의 예측 정확도를 고려함으로써, 보다 높은 적중률을 갖는 MPM을 통해 영상을 부호화하는 장치 및 방법을 제공하는 것이다. An object of the present invention is to provide an apparatus and method for encoding an image through an MPM having a higher hit rate by considering prediction accuracy of neighboring blocks.

본 발명의 다른 목적은 주변 블록의 예측 정확도를 고려함으로써, 보다 높은 적중률을 갖는 MPM을 통해 영상을 복호화하는 장치 및 방법을 제공하는 것이다. It is another object of the present invention to provide an apparatus and method for decoding an image through an MPM having a higher hit rate by considering prediction accuracy of a neighboring block.

전술한 목적을 달성하기 위한 본 발명의 일 실시예에 따른 영상의 부호화 방법은, 입력 영상의 예측 유닛의 현재 블록 이전에 부호화된 주변 블록의 인트라 예측 정확도를 검출하는 단계; 상기 주변 블록의 인트라 예측 정확도를 기반으로 적어도 하나의 상기 현재 블록의 MPM(Most Probable Mode)을 결정하는 단계; 및 상기 MPM을 기반으로 상기 현재 블록을 인트라 예측하는 단계를 포함하는 것을 특징으로 할 수 있다. According to an aspect of the present invention, there is provided a method of encoding an image, the method comprising: detecting intra prediction accuracy of a neighboring block encoded before a current block of a prediction unit of an input image; Determining an MPM (Most Probable Mode) of at least one current block based on intra prediction accuracy of the neighboring block; And intra-prediction of the current block based on the MPM.

본 발명의 다른 목적을 달성하기 위한 본 발명의 일 실시예에 따른 영상의 부호화 장치는 입력 영상의 예측 유닛의 현재 블록 이전에 부호화된 주변 블록의 인트라 예측 정확도를 검출하는 정확도 검출부; 상기 주변 블록의 인트라 예측 정확도를 기반으로 적어도 하나의 상기 현재 블록의 MPM(Most Probable Mode)을 결정하는 MPM 결정부; 및 상기 MPM을 기반으로 상기 현재 블록을 인트라 예측하는 현재 블록 인트라 예측부를 포함하는 것을 특징으로 할 수 있다. According to another aspect of the present invention, there is provided an apparatus for encoding an image, the apparatus comprising: an accuracy detector for detecting intra prediction accuracy of a neighboring block encoded before a current block of a prediction unit of an input image; An MPM determining unit for determining an MPM (Most Probable Mode) of at least one current block based on intra prediction accuracy of the neighboring blocks; And a current block intra predictor for intra-predicting the current block based on the MPM.

본 발명의 다른 목적을 달성하기 위한 본 발명의 일 실시예에 따른 영상의 복호화 방법은 수신된 비트 스트림을 엔트로피 복호화하여 잔여값을 역양자화하고 역변환하여 잔여값을 복원하고 현재 블록 이전에 복호화된 주변 블록의 인트라 예측 정확도를 검출하는 단계; 상기 주변 블록의 인트라 예측 정확도를 기반으로 적어도 하나의 상기 현재 블록의 MPM(Most Probable Mode)을 결정하는 단계; 및 상기 MPM을 기반으로 상기 현재 블록을 인트라 예측하는 단계를 포함하는 것을 특징으로 할 수 있다. 여기서, 상기 정확도를 검출하는 단계는 상기 주변 블록의 잔여 영상의 변환 계수 중 0이 아닌 변환 계수의 수를 검출하고, 상기 MPM을 결정하는 단계는 상기 0이 아닌 변환 계수의 수가 미리 설정한 임계값 이하인 경우 상기 주변 블록을 MPM으로 결정하는 것을 특징으로 할 수 있다. 또한, 상기 정확도를 검출하는 단계는 상기 주변 블록의 잔여 영상의 변환 계수의 평균값을 검출하고, 상기 MPM을 결정하는 단계는 상기 변환 계수의 평균값이 미리 설정한 임계값 이하인 경우 상기 주변 블록을 MPM으로 결정하는 것을 특징으로 할 수 있다. 또는, 상기 정확도를 검출하는 단계는 상기 주변 블록의 잔여 영상의 변환 계수 중 0이 아닌 변환 계수의 존재 여부를 지시하는 부호화 블록 플래그(Coded Block Flag, CBF)를 생성하고, 상기 MPM을 결정하는 단계는 상기 CBF가 0이 아닌 변환 계수가 없음을 지시하는 경우 상기 주변 블록을 MPM으로 결정하는 것을 특징으로 할 수도 있다. 여기서, 상기 주변 블록은 현재 블록의 좌측 블록 및 상부 블록을 포함하는 것을 특징으로 할 수 있고, 상기 주변 블록은 현재 블록의 좌측 블록, 좌측 상부 블록, 상부 블록, 우측 상부 블록 및 좌측 하부 블록을 포함하는 것을 특징으로 할 수도 있다. According to another aspect of the present invention, there is provided a method of decoding an image, the method comprising: entropy decoding a received bitstream to inversely quantize and inverse-transform residual values to recover residual values; Detecting an intra prediction prediction accuracy of the block; Determining an MPM (Most Probable Mode) of at least one current block based on intra prediction accuracy of the neighboring block; And intra-prediction of the current block based on the MPM. Here, the step of detecting the accuracy may include detecting a number of non-zero transform coefficients among the transform coefficients of the residual image of the neighboring block, and the step of determining the MPM may include determining a number of non-zero transform coefficients, The peripheral block is determined as an MPM. The step of detecting the accuracy may include detecting an average value of the transform coefficients of the residual image of the neighboring block, and the step of determining the MPM may include determining the neighboring block as an MPM if the average value of the transform coefficients is less than or equal to a preset threshold value And then determining whether or not the result of the determination is positive. Alternatively, the step of detecting the accuracy may include generating a coded block flag (CBF) indicating whether there is a non-zero transform coefficient among the transform coefficients of the residual image of the neighboring block, and determining the MPM May determine that the neighboring block is an MPM when the CBF indicates that there is no non-zero transform coefficient. Here, the neighboring block may include a left block and an upper block of a current block, and the neighboring block may include a left block, a left upper block, an upper block, a right upper block, and a lower left block of the current block .

본 발명의 다른 목적을 달성하기 위한 본 발명의 일 실시예에 따른 영상의 복호화 장치는 수신된 비트 스트림을 엔트로피 복호화하여 잔여값을 역양자화하고 역변환하여 잔여값을 복원하고 현재 블록 이전에 복호화된 주변 블록의 인트라 예측 정확도를 검출하는 정확도 검출부; 상기 주변 블록의 인트라 예측 정확도를 기반으로 적어도 하나의 상기 현재 블록의 MPM(Most Probable Mode)을 결정하는 MPM 결정부; 및 상기 MPM을 기반으로 상기 현재 블록을 인트라 예측하는 현재 블록 인트라 예측부를 포함하는 것을 특징으로 할 수 있다. 여기서, 상기 정확도 검출부는 상기 주변 블록의 잔여 영상의 변환 계수 중 0이 아닌 변환 계수의 수를 검출하고, 상기 MPM 결정부는 상기 0이 아닌 변환 계수의 수가 미리 설정한 임계값 이하인 경우 상기 주변 블록을 MPM으로 결정하는 것을 특징으로 할 수 있다. 또한, 상기 정확도 검출부는 상기 주변 블록의 잔여 영상의 변환 계수의 평균값을 검출하고, 상기 MPM 결정부는 상기 변환 계수의 평균값이 미리 설정한 임계값 이하인 경우 상기 주변 블록을 MPM으로 결정하는 것을 특징으로 할 수 있다. 또는, 상기 정확도 검출부는 상기 주변 블록의 잔여 영상의 변환 계수 중 0이 아닌 변환 계수의 존재 여부를 지시하는 부호화 블록 플래그(Coded Block Flag, CBF)를 생성하고, 상기 MPM 결정부는 상기 CBF가 0이 아닌 변환 계수가 없음을 지시하는 경우 상기 주변 블록을 MPM으로 결정하는 것을 특징으로 할 수 있다. 여기서, 상기 주변 블록은 현재 블록의 좌측 블록 및 상부 블록을 포함하는 것을 특징으로 할 수 있고, 상기 주변 블록은 현재 블록의 좌측 블록, 좌측 상부 블록, 상부 블록, 우측 상부 블록 및 좌측 하부 블록을 포함하는 것을 특징으로 할 수도 있다. According to another aspect of the present invention, there is provided an apparatus for decoding an image, the apparatus comprising: an entropy decoding unit for entropy decoding a received bitstream to inversely quantize and inverse-transform residual values to recover a residual value; An accuracy detecting unit detecting an intra prediction prediction accuracy of a block; An MPM determining unit for determining an MPM (Most Probable Mode) of at least one current block based on intra prediction accuracy of the neighboring blocks; And a current block intra predictor for intra-predicting the current block based on the MPM. Here, the accuracy detecting unit detects the number of non-zero transform coefficients among the transform coefficients of the residual image of the neighboring block, and the MPM determining unit determines the neighboring block if the number of non-zero transform coefficients is equal to or less than a preset threshold value MPM. ≪ / RTI > The accuracy detector may detect an average value of the transform coefficients of the residual image of the neighboring block, and the MPM determining unit may determine the neighboring block as an MPM if the average value of the transform coefficients is equal to or less than a preset threshold value . Alternatively, the accuracy detector may generate a coded block flag (CBF) indicating whether a non-zero transform coefficient is present in the transform coefficients of the residual image of the neighboring block, and the MPM determining unit may determine whether the CBF is 0 And determines that the neighboring block is an MPM when it indicates that there is no transform coefficient. Here, the neighboring block may include a left block and an upper block of a current block, and the neighboring block may include a left block, a left upper block, an upper block, a right upper block, and a lower left block of the current block .

전술한 적중률이 높은 MPM을 통한 인트라 예측 모드 부호화 방법 및 장치, 그리고 복호화 방법 및 장치에 따르면, 주변 블록의 예측 정확도를 고려함으로써, 보다 높은 적중률을 갖는 MPM을 통해 영상을 부호화 및 복호화 할 수 있다. According to the intra prediction mode encoding method and apparatus and the decoding method and apparatus using the MPM having a high hit rate, the image can be encoded and decoded through the MPM having a higher hit ratio by considering the prediction accuracy of the neighboring blocks.

따라서, 이 방법을 통해 보다 적중율이 높은 MPM 후보군을 제시함으로써 현재 블록의 예측 모드와 MPM이 같을 확률을 높여준다. 이 확률이 높아질수록 MPM을 이용한 인트라 예측 모드 부호화가 많이 이루어지게 되고, 결과적으로 전체 인트라 예측 모드의 비트율을 줄이는 효과를 얻어 전체 압축 효율 증가를 얻을 수 있다.Therefore, by presenting the MPM candidates with higher hit rate through this method, the probability that the prediction mode of the current block and the MPM are the same is increased. As the probability increases, the intraprediction mode encoding using the MPM becomes more frequent. As a result, the bit rate of the entire intra prediction mode is reduced, and the overall compression efficiency can be increased.

도 1은 현재 블록과 주변 블록의 위치를 도시하는 개념도이다.
도 2는 MPM을 이용한 영상의 인트라 예측 부호화 과정을 나타내는 개념도이다.
도 3은 H.264/AVC 방식의 1개의 MPM을 이용한 인트라 예측 모드 부호화 방법의 흐름도이다.
도 4는 HEVC 방식의 2개의 MPM을 이용한 인트라 예측 모드 부호화 방법의 흐름도이다.
도 5는 HEVC 방식의 35가지 인트라 예측 모드의 예시도이다.
도 6은 본 발명의 일 실시예에 따른 영상의 부호화 방법의 흐름도이다.
도 7은 본 발명의 일 실시예에 따른 주변 블록의 예시도이다.
도 8은 본 발명의 다른 실시예에 따른 주변 블록의 예시도이다.
도 9는 본 발명의 일 실시예에 따른 영상의 부호화 장치의 블록도이다.
도 10은 본 발명의 일 실시예에 따른 영상의 복호화 방법의 흐름도이다.
도 11은 본 발명의 일 실시예에 따른 영상의 복호화 장치의 블록도이다.
도 12는 본 발명의 일 실시예에 따른 영상의 부호화 장치의 블록도이다.
도 13은 본 발명의 일 실시예에 따른 영상의 복호화 장치의 블록도이다.
1 is a conceptual diagram showing the positions of a current block and a neighboring block.
2 is a conceptual diagram illustrating a process of intraprediction encoding an image using an MPM.
3 is a flowchart of an intra prediction mode encoding method using one MPM of the H.264 / AVC scheme.
4 is a flowchart of an intra prediction mode coding method using two MPMs of the HEVC scheme.
5 is an exemplary diagram of 35 intra prediction modes according to the HEVC scheme.
6 is a flowchart of a method of encoding an image according to an embodiment of the present invention.
7 is an exemplary diagram of a peripheral block according to an embodiment of the present invention.
8 is an exemplary view of a peripheral block according to another embodiment of the present invention.
9 is a block diagram of an apparatus for encoding an image according to an embodiment of the present invention.
10 is a flowchart of a method of decoding an image according to an embodiment of the present invention.
11 is a block diagram of an apparatus for decoding an image according to an embodiment of the present invention.
12 is a block diagram of an apparatus for encoding an image according to an embodiment of the present invention.
13 is a block diagram of an apparatus for decoding an image according to an embodiment of the present invention.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세하게 설명하고자 한다. While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail.

그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.It should be understood, however, that the invention is not intended to be limited to the particular embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.

본 명세서의 실시예를 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 명세서의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다.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.

제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. And / or < / RTI > includes any combination of a plurality of related listed items or any of a plurality of related listed items.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다. 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, . On the other hand, when an element is referred to as being "directly connected" or "directly connected" to another element, it should be understood that there are no other elements in between.

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used in this application is used only to describe a specific embodiment and is not intended to limit the invention. The singular expressions include plural expressions unless the context clearly dictates otherwise. In the present application, the terms "comprises" or "having" and the like are used to specify that there is a feature, a number, a step, an operation, an element, a component or a combination thereof described in the specification, But do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or combinations thereof.

또한 본 발명의 실시예에 나타나는 구성부들은 서로 다른 특징적인 기능들을 나타내기 위해 독립적으로 도시되는 것으로, 각 구성부들이 분리된 하드웨어나 하나의 소프트웨어 구성단위로 이루어짐을 의미하지 않는다. 즉, 각 구성부는 설명의 편의상 각각의 구성부로 나열하여 포함한 것으로 각 구성부 중 적어도 두 개의 구성부가 합쳐져 하나의 구성부로 이루어지거나, 하나의 구성부가 복수 개의 구성부로 나뉘어져 기능을 수행할 수 있고 이러한 각 구성부의 통합된 실시예 및 분리된 실시예도 본 발명의 본질에서 벗어나지 않는 한 본 발명의 권리범위에 포함된다.In addition, the components shown in the embodiments of the present invention are shown separately to represent different characteristic functions, which do 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.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가진 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with the meaning in the context of the relevant art and are to be interpreted in an ideal or overly formal sense unless explicitly defined in the present application Do not.

이하, 첨부한 도면들을 참조하여, 본 발명의 바람직한 실시예를 보다 상세하게 설명하고자 한다. 본 발명을 설명함에 있어 전체적인 이해를 용이하게 하기 위하여 도면상의 동일한 구성요소에 대해서는 동일한 참조부호를 사용하고 동일한 구성요소에 대해서 중복된 설명은 생략한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In order to facilitate the understanding of the present invention, the same reference numerals are used for the same constituent elements in the drawings and redundant explanations for the same constituent elements are omitted.

이하, 도면을 참조하여 본 발명의 바람직한 실시예들을 보다 상세하게 설명한다. 이하의 실시예는 본 발명에 따른 영상의 인트라 예측 모드 부호화 방법 및 그 장치의 기술적 사상을 실현하기 위한 구체적인 실시 형태를 설명하기 위한 것으로, 본 발명의 기술적 범위가 실시예들에 의해 제한되거나 한정되는 것은 아니다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings. The following embodiments are intended to illustrate specific embodiments for implementing the intra-prediction mode encoding method and the technical idea of the apparatus according to the present invention, and the technical scope of the present invention is limited or limited by the embodiments It is not.

도 5는 HEVC 방식의 35가지 인트라 예측 모드의 예시도이다.5 is an exemplary diagram of 35 intra prediction modes according to the HEVC scheme.

도 5에 도시된 바와 같이 차세대 비디오 코덱 HEVC 방식에서는 인트라 예측의 방향이 최대 35가지로 확장되면서 35가지 모드들 중 적중율이 높은 MPM을 결정하는 것이 중요하게 되었다. 상기 기술적 과제를 해결하기 위해 전체적 통계적 특성에만 근거하지 않고 지역적 통계적 특성에 근거하여 현재 블록에 대한 최적의 인트라 예측 모드와 동일할 확률이 높은, 즉 적중률이 높은 MPM을 적어도 1개 이상을 제시하여 인트라 예측 모드의 부호화 효율을 높이고자 한다. 또한 주변 블록을 참조할 때 좌측 블록와 상단 블록만을 참조할 수도 있고, 또한 다양한 방향성을 띄는 경우에는 다른 위치의 주변 블록과의 상관도가 높을 수 있기 때문에 좌측 상단과 상단 블록을 참조하는 것은 물론, 좌측 상단의 블록과 좌측 하단 블록, 우측 상단의 블록 또한 MPM 결정시 참조할 수 있다.As shown in FIG. 5, in the next generation video codec HEVC scheme, it is important to determine the MPM having the highest hit rate among the 35 modes while extending the direction of the intra prediction to a maximum of 35 directions. In order to solve the above technical problem, based on local statistical characteristics, based on local statistical characteristics, at least one MPM having a high probability of being the same as an optimal intra prediction mode for the current block, Thereby enhancing the coding efficiency of the prediction mode. In addition, when referencing a neighboring block, only the left block and the upper block may be referred to. In addition, when the neighboring block has various directions, since the correlation with neighboring blocks at different positions may be high, The upper block, lower left block, upper right block can also be referenced when determining the MPM.

부호화 방법Coding method

도 6은 본 발명의 일 실시예에 따른 영상의 부호화 방법의 흐름도이다. 먼저 적중률 높은 MPM을 설정하기 위한 기준에 대해서 설명한다. MPM의 적중률을 높이기 위해 현재 블록의 주변 블록이 해당 예측 모드로 얼마나 정확히 예측 되었는지를 기준으로 MPM을 설정한다. 본 발명에서는 기존 방법처럼 전체적 통계적 특성에 근거해 발생 빈도가 높은 예측 모드를 우선 MPM으로 설정하지 않고, 지역적 특성을 고려하기 위해 주변 블록이 해당 모드를 이용해 얼마나 잘 예측이 되었는지를 고려하여 보다 정확히 예측되어있는 주변 블록의 해당 모드를 우선적으로 적어도 1개 이상의 MPM으로 설정하도록 하여 적중율을 높이고자 한다.6 is a flowchart of a method of encoding an image according to an embodiment of the present invention. First, the criteria for setting the MPM with a high hit rate will be described. In order to increase the hit rate of the MPM, the MPM is set based on how accurately the neighboring blocks of the current block are predicted in the corresponding prediction mode. In the present invention, instead of setting the prediction mode having a high frequency of occurrence based on the overall statistical characteristic as an existing method to the MPM first, it is possible to predict more precisely by considering how well the neighboring blocks are predicted using the corresponding mode It is desirable to set the corresponding mode of the neighboring blocks to at least one MPM in order to increase the hit ratio.

도 6에 도시된 바와 같이, 본 발명의 일 실시예에 따른 영상의 부호화 방법은 입력 영상의 예측 유닛의 현재 블록의 이전에 부호화된 주변 블록의 인트라 예측 정확도를 검출하는 단계(S610), 상기 주변 블록의 인트라 예측 정확도를 기반으로 적어도 하나의 상기 현재 블록의 MPM(Most Probable Mode)을 결정하는 단계(S620) 및 상기 MPM을 기반으로 상기 현재 블록을 인트라 예측하는 단계(S630)를 포함할 수 있다. 6, the method of encoding an image according to an exemplary embodiment of the present invention includes detecting (S610) intra prediction accuracy of a previously encoded neighboring block of a current block of a prediction unit of an input image (S610) (S620) of determining at least one MPM (Most Probable Mode) of the current block based on the intra prediction accuracy of the block, and intra-prediction (S630) of the current block based on the MPM .

여기서, 주변 블록이 해당 모드를 이용해 예측이 잘 된 정도를 판단하는 기준, 즉 상기 주변 블록의 인트라 예측 정확도를 검출하는 단계(S610)는 다양한 기준이 적용될 수 있다. Herein, various criteria may be applied to a criterion for determining the degree of prediction of a neighboring block using the corresponding mode, that is, a step S610 of detecting intra prediction accuracy of the neighboring block.

인트라 예측은 현재 픽처 내에서 부호화하려는 대상 블록과 공간적으로 인접한 화소값을 참조하여 부호화하려는 블록에 대한 예측값을 계산한 후, 예측값과 원본 영상의 화소값의 차이를 계산하여 잔여 영상을 생성하고, 상기 잔여 영상에 대해 이산 여현 변환(discrete cosine transform, DCT)과 양자화를 거쳐 부호화한다.Intra prediction is performed by calculating a prediction value for a block to be coded by referring to pixel values spatially adjacent to a current block to be coded in a current picture and then calculating a difference between a predicted value and a pixel value of the original image to generate a residual image, The residual image is coded through discrete cosine transform (DCT) and quantization.

따라서, 예측의 정확도가 높다면, 각 주변 블록을 해당하는 인트라 예측 모드를 통해 예측하여 예측값을 계산한 후 원본 영상과 차를 구한 잔여 영상의 값이 거의 0이 될 것이다. 잔여 영상의 값이 임의로 정해진 임계값 이하일 경우 예측이 잘 되어 인트라 예측 정확도가 높은 것으로 판단하는 기준이 될 수 있다. Therefore, if the prediction accuracy is high, the value of the residual image obtained by predicting each neighboring block through the corresponding intra prediction mode and calculating the difference between the original image and the original image will be almost zero. If the value of the residual image is less than or equal to a predetermined threshold value, the prediction can be performed well, and the reference value can be a criterion for determining that the intra prediction accuracy is high.

복호기 측에서 알 수 있는 값은 상기 잔여 영상을 변환하여 생성된 변환 계수와 예측 모드이기 때문에, 주변 블록의 잔여 영상의 변환 계수들 중 0이 아닌 계수의 수를 검출하여, 0이 아닌 계수의 수가 정해진 임계값 이하인 경우 예측이 잘 되었다고 판단하여 해당 주변 블록을 우선 MPM으로 설정할 수 있다.Since the value that can be known on the decoder side is the transform coefficient generated by transforming the residual image and the prediction mode, the number of non-zero coefficients among the transform coefficients of the residual image of the neighboring block is detected, If it is determined to be equal to or less than the predetermined threshold value, it is determined that the prediction is good, and the corresponding neighboring block can be first set to the MPM.

보다 구체적으로, 상기 정확도를 검출하는 단계(S610)는 상기 주변 블록의 잔여 영상의 변환 계수 중 0이 아닌 변환 계수의 수를 검출할 수 있고, 상기 MPM을 결정하는 단계(S620)는 상기 0이 아닌 변환 계수의 수가 미리 설정한 임계값 이하인 경우 상기 주변 블록을 MPM으로 결정할 수 있다. More specifically, the step of detecting the accuracy (S610) may detect the number of non-zero transform coefficients among the transform coefficients of the residual image of the neighboring block, and the step of determining the MPM (S620) And the number of non-conversion coefficients is equal to or less than a preset threshold value, the neighboring block may be determined as an MPM.

두 번째 기준으로는, 주변 블록의 잔여 영상의 변환 계수의 평균값이 임계값 이하일 경우도 예측이 잘 되었다는 기준이 될 수 있으므로, 이 경우 해당 주변 블록을 우선 MPM으로 설정할 수 있다. As a second criterion, if the average value of the transform coefficients of the residual image of the neighboring block is below the threshold value, it can be a good predictor. In this case, the neighboring block can be set to the MPM first.

보다 구체적으로, 상기 정확도를 검출하는 단계(S610)는 상기 주변 블록의 잔여 영상의 변환 계수의 평균값을 검출하고, 상기 MPM을 결정하는 단계(S620)는 상기 변환 계수의 평균값이 미리 설정한 임계값 이하인 경우 상기 주변 블록을 MPM으로 결정할 수 있다.More specifically, the step of detecting the accuracy (S610) may include detecting an average value of the transform coefficients of the residual image of the neighboring block, and determining the MPM (S620) The neighboring block can be determined as an MPM.

세 번째 기준으로는, 간단하게 부호화 블록 패턴(coded block pattern, CBP) 또는 부호화 블록 플래그(coded block flag, CBF)를 이용해 판단할 수 있다. CBP와 CBF는 잔여 영상의 변환 계수 중 0이 아닌 계수의 존재 여부를 나타내는 플래그로서, 예를 들어 0이 아닌 변환 계수가 있을 경우 1로 설정하고, 모든 변환 계수가 0일 경우는 0으로 설정할 수 있다. 상기 CBP 또는 CBF를 이용하여, 주변 블록의 CBP 또는 CBF가 0일 경우에, 상기 주변 블록을 MPM으로 설정하는 방법이 있을 수 있다.As a third criterion, it can be judged simply by using a coded block pattern (CBP) or a coded block flag (CBF). CBP and CBF are flags indicating whether non-zero coefficients exist in the transform coefficients of the residual image. For example, if CBP and CBF are nonzero, they are set to 1. If all transform coefficients are 0, they can be set to 0 have. When CBP or CBF of the neighboring block is 0, CBP or CBF may be used to set the neighboring block to MPM.

보다 구체적으로, 상기 정확도를 검출하는 단계(S610)는 상기 주변 블록의 잔여 영상의 변환 계수 중 0이 아닌 변환 계수의 존재 여부를 지시하는 부호화 블록 플래그(Coded Block Flag, CBF)를 생성하고, 상기 MPM을 결정하는 단계(S620)는 상기 CBF가 0이 아닌 변환 계수가 없음을 지시하는 경우 상기 주변 블록을 MPM으로 결정할 수 있다. More specifically, the step of detecting the accuracy (S610) may include generating a coded block flag (CBF) indicating whether a non-zero transform coefficient exists in the transform coefficients of the residual image of the neighboring block, The step of determining MPM (S620) may determine the neighboring block as an MPM when the CBF indicates that there is no non-zero transform coefficient.

MPM으로 선택할 주변 블록의 패턴을 다양하게 정의할 수 있다. 도 7은 본 발명의 일 실시예에 따른 주변 블록의 예시도이고, 도 8은 본 발명의 다른 실시예에 따른 주변 블록의 예시도이다. You can define various patterns of the peripheral blocks to be selected by the MPM. FIG. 7 is a diagram illustrating a peripheral block according to an embodiment of the present invention, and FIG. 8 is an exemplary view of a peripheral block according to another embodiment of the present invention.

도 7에 도시된 바와 같이, 기존 방법과 동일하게 좌측 블록(701)과 상단 블록(702)의 예측 모드를 보고 상기의 기준들을 적용하여 보다 적중율이 높은 MPM을 설정할 수 있다. 또는 도 8에 도시된 바와 같이, MPM을 결정하기 위해 주변 블록의 예측 모드를 참조 할 때, 기존 방법과 같은 블록 A(801), 블록 B(802)뿐 아니라 좌측 상단 블록(E, 805), 좌측 하단 블록(C, 803), 우측 상단 블록(D, 804)의 예측 모드를 참조하여 전술한 인트라 예측의 정확도를 기반으로 MPM을 결정하도록 할 수 있다. As shown in FIG. 7, MPMs having higher hit ratios can be set by applying the above-described criteria to the prediction modes of the left block 701 and the upper block 702, as in the conventional method. 8, when referring to the prediction mode of the neighboring block to determine the MPM, the block A (801), the block B (802) as well as the upper left block (E, 805) The MPM can be determined based on the intra prediction accuracy described above with reference to the prediction modes of the left lower block (C 803) and the upper right block (D 804).

즉, 상기 주변 블록은 현재 블록의 좌측 블록 및 상부 블록을 포함하는 것을 특징으로 할 수 있고, 상기 주변 블록은 현재 블록의 좌측 블록, 좌측 상부 블록, 상부 블록, 우측 상부 블록 및 좌측 하부 블록을 포함하는 것을 특징으로 할 수 있다. MPM의 개수는 도 7의 패턴을 사용하는 경우 최대 2가 되고, 도 8의 패턴을 사용하는 경우는 최대 5개의 MPM을 상기 제시한 기준에 따라 결정할 수 있다.That is, the neighboring block includes a left block and an upper block of the current block, and the neighboring block includes a left block, a left upper block, an upper block, a right upper block, and a left lower block of the current block . The number of MPMs is maximum 2 when the pattern of FIG. 7 is used, and up to 5 MPMs when the pattern of FIG. 8 is used can be determined according to the above-mentioned criteria.

HEVC 방식의 경우, HD(High Definition)급 이상의 해상도를 가지는 고해상도에 적용하기 위하여 32x32 픽셀 크기 이상의 확장 매크로 블록(Extended Macroblock) 크기를 이용하여 인트라 예측을 수행할 수 있다. 또한, 순환적인 코딩 유닛(CU)를 사용할 수 있는데, 상기 코딩 유닛은 가변적인 크기의 계층적(hirachy) 구조를 가질 수 있다. In case of the HEVC method, intraprediction can be performed using an extended macro block size of 32x32 pixels or more in order to apply to a high resolution having a resolution of HD (High Definition) or higher. In addition, a cyclic coding unit (CU) may be used, which may have a variable size hirachy structure.

즉, 픽쳐의 부분적 특징에 따라 부호화의 단위가 되는 블록의 크기가 다양하므로, 현재 블록(700)의 좌측 블록(701)이 복수일 수 있다. 따라서, 본 발명의 일 실시예에 따른 인트라 모드 부호화에 있어서, 상기 좌측 블록(701)은 현재 블록(700)의 좌측에 인접한 블록들 중 어느 하나일 수 있으며, 설정에 따라 현재 블록(700)의 좌측에 인접한 블록들 중 최 하단에 위치한 블록을 좌측 블록으로 볼 수도 있다.That is, since the size of a block which is a coding unit varies according to a partial characteristic of a picture, a plurality of left blocks 701 of the current block 700 may be plural. Accordingly, in the intra-mode encoding according to the embodiment of the present invention, the left block 701 may be one of blocks adjacent to the left of the current block 700, A block located at the bottom of the blocks adjacent to the left side may be regarded as a left block.

마찬가지로, 현재 블록(700)의 상부 블록(702) 또한 복수일 수 있다. 따라서, 본 발명의 일 실시예에 따른 인트라 모드 부호화에 있어서, 상기 상부 블록(702)은 현재 블록(700)의 상부에 인접한 블록들 중 어느 하나일 수 있으며, 설정에 따라 현재 블록(700)의 상부에 인접한 블록들 중 최 좌측에 위치한 블록을 상부 블록으로 볼 수도 있다. Likewise, the top block 702 of the current block 700 may also be plural. Accordingly, in the intra-mode encoding according to the embodiment of the present invention, the upper block 702 may be one of blocks adjacent to the upper part of the current block 700, A block located at the leftmost of the blocks adjacent to the upper portion may be regarded as an upper block.

경우에 따라, 상기 복수의 좌측 블록들 또는 상부 블록들 전부에 대해서 인트라 예측의 정확도를 검출하여 판단할 수도 있다. 최대 MPM 수는 상기 주변 블록 전체의 수와 동일할 수 있다. In some cases, the accuracy of the intra prediction may be detected and determined for all of the plurality of left blocks or all of the upper blocks. The maximum number of MPMs may be equal to the total number of neighboring blocks.

상기 주변 블록들 중, 전술한 조건을 만족하는 블록이 복수인 경우, 복수의 MPM이 존재할 수 있다. 상기 MPM은 전술한 조건을 만족하는 주변 블록의 개수에 상응하는 개수의 인덱스를 포함할 수 있다. 주변 블록의 인트라 예측 정확도가 각각의 블록간 우선 순위가 있을 경우, 상기 MPM을 결정하는 단계(S620)는 상기 정확도가 큰 순서대로 상기 주변 블록의 예측 방향을 상기 인덱스 중 하위 인덱스로 할당하는 것을 특징으로 할 수 있다. 여기서, 상기 인덱스는 상기 조건을 만족하는 주변 블록이 복수 개일 경우 상기 주변 블록의 예측 모드 각각을 구분하기 위해 사용되며, 예를 들면 MPM[0], MPM[1] 및 MPM[2]와 같이 표시할 수 있다. 여기서 상기 MPM[0]과 같이 낮은 숫자를 이용하여 표시한 인덱스를 하위 인덱스라고 할 수 있다. 따라서, 예를 들어 주변의 블록 A, 블록 B 및 블록 C가 차례대로 큰 정확도를 가진 경우, 상기 블록 A를 MPM[0]으로, 상기 블록 B를 MPM[1]로, 상기 블록 C를 MPM[2]로 할당할 수 있다. When there are a plurality of blocks that satisfy the above-described condition among the neighboring blocks, a plurality of MPMs may exist. The MPM may include a number of indexes corresponding to the number of neighboring blocks satisfying the above-mentioned condition. When the intra prediction accuracy of the neighboring blocks has priority among the respective blocks, the step of determining the MPM (S620) may allocate the prediction direction of the neighboring blocks to the lower index among the indexes in order of the accuracy . Here, the index is used to distinguish each of the prediction modes of the neighboring blocks when there are a plurality of neighboring blocks satisfying the above condition. For example, the index is displayed as MPM [0], MPM [1] and MPM [2] can do. Here, an index displayed using a lower number such as MPM [0] may be referred to as a lower index. Thus, for example, if neighboring blocks A, B and C have high accuracy in order, the block A to MPM [0], the block B to MPM [1], the block C to MPM [ 2].

본 발명의 일 실시예에 따른 MPM 선택 이후의 부호화 과정은 도 3 내지 도 4을 참조하여 전술한 바와 같다. The encoding process after the selection of the MPM according to an embodiment of the present invention is as described above with reference to FIG. 3 to FIG.

즉, 현재 블록의 인트라 예측 모드 번호가 MPM과 일치하면, 현재 블록에 대한 인트라 예측 방향은 MPM과 같음을 의미하는 '1'로 부호화되어 비트 스트림에 삽입되고 전송된다. That is, if the intra prediction mode number of the current block coincides with the MPM, the intra prediction direction for the current block is encoded as '1', which means that the intra prediction direction is the same as the MPM, and inserted into the bit stream.

그 다음으로 MPM이 여러 가지일 경우, 현재 블록의 인트라 예측 모드가 어떤 MPM과 일치하는지를 알려주는 인덱스가 이진수로 부호화되어 전송된다. 예를 들어, HEVC 인트라 부호화의 경우 MPM이 2가지일 경우 MPM 인덱스를 나타내는 0 또는 1로 나타나는 1비트의 플래그(flag)가 추가로 부호화되어 전송된다. MPM이 4가지일 경우에는 MPM 인덱스를 나타내는 00, 01, 10, 11로 나타나는 2비트의 플래그가 추가로 부호화되어 전송된다.Next, when there are several MPMs, an index indicating the intra-prediction mode of the current block matches with which MPM is encoded and transmitted as binary numbers. For example, in the case of HEVC intra coding, a flag of 1 bit, which is represented by 0 or 1 indicating the MPM index, is further encoded and transmitted when two MPMs are used. When there are four MPMs, a 2-bit flag indicating 00, 01, 10, or 11 indicating the MPM index is additionally encoded and transmitted.

현재 블록의 인트라 예측 모드와 MPM이 일치할 확률이 높기 때문에, 현재 블록의 인트라 예측 방향에 대한 정보도 1비트로 표현될 확률이 높아져 이에 따른 정보의 압축이 이루어진다. 현재 블록의 인트라 예측 방향을 직접적으로 전송하지 않더라도 수신 측에서는 상부 블록과 좌측 블록의 인트라 예측 모드 번호를 참조하여 MPM을 구할 수 있기 때문에, MPM이 가리키는 인트라 예측 방향으로 복호화를 수행하는 것이 가능하다.Since the probability that the intra-prediction mode of the current block coincides with the MPM is high, the information about the intra-prediction direction of the current block also has a high probability of being represented by one bit, so that information is compressed accordingly. The MPM can be obtained by referring to the intra prediction mode number of the upper block and the left block on the receiving side even if the intra prediction direction of the current block is not directly transmitted. Therefore, it is possible to perform decoding in the intra prediction direction indicated by the MPM.

반대로, 현재 블록의 인트라 예측 모드 번호가 MPM과 일치하지 않으면, 현재 블록에 대한 인트라 예측 방향은 MPM과 다름을 의미하는 '0'이 비트 스트림에 삽입된다. 다음으로 35가지의 4x4 인트라 예측 모드 중 MPM을 제외한 나머지 34가지(35-1) 인트라 예측 모드를 5 내지 6비트 크기의 이진수로 구분한다. 즉, 인트라 예측 모드가 32인 경우까지는 5비트로 표현이 가능하며 인트라 예측 모드가 33인 경우 이후로는 6비트로 표현이 가능하다.In contrast, if the intra prediction mode number of the current block does not match the MPM, '0', which means that the intra prediction direction for the current block is different from the MPM, is inserted in the bitstream. Next, among the 35 4x4 intra prediction modes, the remaining 34 (35-1) intra prediction modes excluding the MPM are divided into binary numbers of 5 to 6 bits. That is, the intra prediction mode is represented by 5 bits until the intra prediction mode is 32, and the intra prediction mode is represented by 6 bits after the intra prediction mode is 33.

이 중 현재 블록의 인트라 예측 모드 번호에 해당하는 'XXXXX' 또는 'XXXXXX'를 비트 스트림에 삽입하고 전송한다. 따라서 현재 블록의 인트라 예측 방향에 대한 정보는 총 6 내지 7비트로 표현된다.'XXXXX' or 'XXXXXX' corresponding to the intra prediction mode number of the current block is inserted into the bit stream and is transmitted. Therefore, the information on the intra prediction direction of the current block is expressed by a total of 6 to 7 bits.

부호화 장치Encoding device

도 9는 본 발명의 일 실시예에 따른 인트라 예측 모드 부호화 장치의 블록도이다. 9 is a block diagram of an intra prediction mode encoding apparatus according to an embodiment of the present invention.

도 9에 도시된 바와 같이, 본 발명의 일 실시예에 따른 영상의 인트라 예측 모드 부호화 장치(900)는 현재 블록의 이전에 부호화된 주변 블록의 인트라 예측 정확도를 검출하는 정확도 검출부(910), 상기 주변 블록의 인트라 예측 정확도를 기반으로 적어도 하나의 상기 현재 블록의 MPM(Most Probable Mode)을 결정하는 MPM 결정부(930) 및 상기 MPM을 기반으로 상기 현재 블록을 인트라 예측하는 현재 블록 인트라 예측부(950)를 포함할 수 있다. 9, an intra prediction mode encoding apparatus 900 for an image according to an exemplary embodiment of the present invention includes an accuracy detecting unit 910 for detecting intraprediction accuracy of a previously encoded neighboring block of a current block, An MPM decision unit 930 for determining at least one MPM (Most Probable Mode) of the current block based on intra prediction accuracy of a neighboring block, and a current block intra prediction unit for intra-prediction of the current block based on the MPM 950).

상기 정확도 검출부(910)는 상기 주변 블록의 잔여 영상의 변환 계수 중 0이 아닌 변환 계수의 수를 검출하고, 상기 MPM 결정부(930)는 상기 0이 아닌 변환 계수의 수가 미리 설정한 임계값 이하인 경우 상기 주변 블록을 MPM으로 결정하는 것을 특징으로 할 수 있다. The accuracy detector 910 detects the number of non-zero transform coefficients among the transform coefficients of the residual image of the neighboring block, and the MPM determining unit 930 determines whether the number of non-zero transform coefficients is less than or equal to a predetermined threshold And determines the peripheral block as an MPM.

또한, 상기 정확도 검출부(910)는 상기 주변 블록의 잔여 영상의 변환 계수의 크기를 검출하고, 상기 MPM 결정부(930)는 상기 변환 계수의 크기가 미리 설정한 임계값 이하인 경우 상기 주변 블록을 MPM으로 결정하는 것을 특징으로 할 수 있다. In addition, the accuracy detector 910 detects the magnitude of the transform coefficient of the residual image of the neighboring block, and when the magnitude of the transform coefficient is equal to or less than a preset threshold value, As a result of the determination.

또는, 상기 정확도 검출부(910)는 상기 주변 블록의 잔여 영상의 변환 계수 중 0이 아닌 변환 계수의 존재 여부를 지시하는 부호화 블록 플래그(Coded Block Flag, CBF)를 생성하고, 상기 MPM 결정부(930)는 상기 CBF가 0이 아닌 변환 계수가 없음을 지시하는 경우 상기 주변 블록을 MPM으로 결정하는 것을 특징으로 할 수도 있다. Alternatively, the accuracy detector 910 may generate a coded block flag (CBF) indicating whether a non-zero transform coefficient exists among the transform coefficients of the residual image of the neighboring block, and the MPM determining unit 930 ) Determines that the neighboring block is an MPM when the CBF indicates that there is no non-zero transform coefficient.

여기서, 상기 주변 블록은 현재 블록의 좌측 블록 및 상부 블록을 포함하는 것을 특징으로 할 수 있고, 상기 주변 블록은 현재 블록의 좌측 블록, 좌측 상부 블록, 상부 블록, 우측 상부 블록 및 좌측 하부 블록을 포함하는 것을 특징으로 할 수도 있다. Here, the neighboring block may include a left block and an upper block of a current block, and the neighboring block may include a left block, a left upper block, an upper block, a right upper block, and a lower left block of the current block .

본 발명의 일 실시예에 따른 인트라 예측 모드 부호화 장치(900)의 구체적인 작동은 전술한 본 발명의 일 실시예에 따른 인트라 예측 모드 부호화 방법에 따른다. The concrete operation of the intra-prediction mode encoding apparatus 900 according to an embodiment of the present invention follows the intra-prediction mode encoding method according to an embodiment of the present invention described above.

도 12는 본 발명의 일 실시예에 따른 영상의 부호화 장치의 블록도이다. 12 is a block diagram of an apparatus for encoding an image according to an embodiment of the present invention.

도 12를 참조하면, 영상 부호화 장치는 부호화기(630)를 포함하며, 부호화기(630)는 화면간 예측부(632), 인트라 예측부(635), 감산기(637), 변환부(639), 양자화부(641), 엔트로피 부호화부(643), 역양자화부(645), 역변환부(647), 가산기(649) 및 프레임 버퍼(651)를 포함할 수 있다. 화면간 예측부(632)는 움직임 예측부(631)와 움직임 보상부(633)를 포함한다. 12, the image encoding apparatus includes an encoder 630 and the encoder 630 includes an inter-picture predicting unit 632, an intra-prediction unit 635, a subtractor 637, a transform unit 639, An inverse quantization unit 645, an inverse transform unit 647, an adder 649, and a frame buffer 651. The input unit 641, the entropy encoding unit 643, the inverse quantization unit 645, The inter-picture predicting unit 632 includes a motion predicting unit 631 and a motion compensating unit 633.

입력된 영상은 순환적(recursive) 코딩 유닛(Coding Unit; CU)으로 분할되고, 상기 코딩 유닛은 화면간 예측부(632)에서의 화면간 예측 또는 인트라 예측부(635)에서의 화면내 예측을 위해 예측 유닛(Predition Unit; PU) 단위로 분할된다. 코딩 유닛(CU)은 계층적(hierarchy)으로 분할(partitioning)된다. SCU(smallest CU)는 최소 8x8 픽셀 크기를 가질 수 있으며, LCU(Largest CU)는 64x64 픽셀 크기를 가질 수 있다. SCU와 LCU 관련된 정보는 SPS(Sequence parameter set)으로 디코더로 시그널링 될 수 있다. The input image is divided into a recursive coding unit (CU), and the coding unit performs inter picture prediction in the inter picture prediction unit 632 or in-picture prediction in the intra prediction unit 635 And is divided into Prediction Unit (PU) units. The coding unit (CU) is hierarchically partitioned. A smallest CU (SCU) can have a minimum size of 8x8 pixels, and an LCU (Largest CU) can have a size of 64x64 pixels. Information related to the SCU and LCU can be signaled to the decoder as a sequence parameter set (SPS).

화면간 예측부(632)는 제공된 현재 부호화될 예측 유닛을 움직임을 추정하여 움직임 벡터를 생성한다. The inter-picture predicting unit 632 generates a motion vector by estimating a motion of the supplied predictive unit to be currently coded.

움직임 예측부(631)는 제공된 현재 예측 유닛을 현재 부호화되는 N번째 픽춰의 이전 N-1번째 참조 픽처 및/또는 이후 N+1번째 참조 픽처에서 현재 블록과 유사한 영역을 검색하여 블록 단위로 움직임 벡터를 생성한다. The motion predicting unit 631 searches the provided current prediction unit for an area similar to the current block from the previous N-1th reference picture and / or the (N + 1) th reference picture of the Nth current picture to be coded, .

움직임 보상부(633)는 움직임 예측부(631)로부터 생성된 움직임 벡터와 참조 픽춰를 이용하여 움직임 보상을 수행하여 얻어지는 예측 블록(또는 예측된 예측 유닛)을 생성한다. The motion compensation unit 633 generates a prediction block (or a predicted prediction unit) obtained by performing motion compensation using the motion vector generated from the motion prediction unit 631 and the reference picture.

인트라 예측부(635)는 현재 예측 유닛을 현재 픽춰내의 현재 예측 유닛 주변의 이미 부호화된 화소값으로부터 인트라 모드에 따라 인트라 예측(Intra Prediction)을 수행한다. 전술한 MPM을 결정하고 상기 MPM을 기반으로 현재 블록을 인트라 예측하는 과정은 상기 인트라 예측부(635)에서 진행된다. The intraprediction unit 635 performs intraprediction according to the intra mode from the already-coded pixel values around the current prediction unit in the current picture. The intra prediction unit 635 determines the MPM and intra-prediction of the current block based on the MPM.

감산기(637)는 움직임 보상부(633)에서 제공된 예측 블록(또는 예측된 예측 유닛)과 현재 블록(또는 현재 예측 유닛)을 감산하여 잔차값을 생성하고, 변환부(639) 및 양자화부(641)는 상기 잔차값(residue)을 DCT(Discrete Cosine Transform)변환하고 양자화한다. The subtractor 637 subtracts the current block (or the current prediction unit) from the prediction block (or the predicted prediction unit) provided by the motion compensation unit 633 to generate a residual value and outputs the residual value to the transform unit 639 and the quantization unit 641 ) Performs DCT (Discrete Cosine Transform) conversion and quantizes the residue.

엔트로피 부호화부(643)는 양자화된 DCT 계수들과 움직임 파라미터, SCU와 LCU 관련된 정보등의 정보를 엔트로피 부호화하여 비트 스트림을 생성한다.The entropy encoding unit 643 entropy-codes the quantized DCT coefficients, motion parameters, information related to the SCU and the LCU, and generates a bitstream.

역양자화부(645) 및 역변환부(647)는 양자화부(641)를 통해 양자화된 데이터를 역양자화하고 역변환한다. 가산기(649)는 역변환된 데이터와 움직임 보상부(633)에서 제공된 예측된 예측 유닛을 더하여 영상을 복원하여 프레임 버퍼(651)에 제공하고, 프레임 버퍼(651)는 복원된 영상이 저장된다.The inverse quantization unit 645 and the inverse transformation unit 647 dequantize and inverse-transform the quantized data through the quantization unit 641. [ The adder 649 adds the inversely converted data and the predicted prediction unit provided by the motion compensator 633 to reconstruct the image and provides the reconstructed image to the frame buffer 651. The reconstructed image is stored in the frame buffer 651. [

복호화 방법Decryption method

도 10은 본 발명의 일 실시예에 따른 영상의 복호화 방법의 흐름도이다.10 is a flowchart of a method of decoding an image according to an embodiment of the present invention.

도 10에 도시된 바와 같이, 본 발명의 일 실시예에 따른 영상의 복호화 방법은 수신된 비트 스트림을 엔트로피 복호화하여 잔여값을 역양자화하고 역변환하여 잔여값을 복원하고 현재 블록 이전에 복호화된 주변 블록의 인트라 예측 정확도를 검출하는 단계(S1010), 상기 주변 블록의 인트라 예측 정확도를 기반으로 적어도 하나의 상기 현재 블록의 MPM(Most Probable Mode)을 결정하는 단계(S1020) 및 상기 MPM을 기반으로 상기 현재 블록을 인트라 예측하는 단계(S1030)를 포함할 수 있다.As shown in FIG. 10, in the method of decoding an image according to an embodiment of the present invention, entropy decoding is performed on a received bitstream to inversely quantize and inverse transform residual values to restore residual values, (S1020) of determining at least one current block MPM (Most Probable Mode) based on the intra prediction accuracy of the neighboring block (S1020) And intra-prediction of the block (S1030).

즉, 전술한 부호화 방법과 동일한 과정을 통해 복호화하고자 하는 현재 블록의 MPM을 결정한다. 따라서, 상기 정확도를 검출하는 단계(S1010) 및 MPM을 결정하는 단계(S1020)는 전술한 부호화 방법과 동일하게 정확도를 검출하고, MPM을 결정할 수 있다. That is, the MPM of the current block to be decoded is determined through the same process as the above-described encoding method. Therefore, the step of detecting the accuracy (S1010) and the step of determining the MPM (S1020) can detect the accuracy and determine the MPM like the above-described encoding method.

이후, 현재 블록의 인트라 예측 방향과 MPM이 같은지 다른지에 따라 복호화 과정이 다르게 진행되므로, 이를 구분해 주기 위한 MPM 플래그(flag)를 비트스트림으로부터 복호화한다.Thereafter, since the decoding process proceeds differently depending on whether the intra-prediction direction of the current block and the MPM are different, the MPM flag for distinguishing the decoding is decoded from the bitstream.

부호화 과정에서 현재 블록의 인트라 예측 모드 번호와 MPM 이 일치할 경우, MPM 플래그는 현재 블록에 대한 인트라 예측 방향이 MPM과 같음을 의미하는 ‘1’로 부호화되어 비트 스트림에 삽입된다. 그리고 적어도 하나 이상의 MPM이 존재할 경우, 현재 블록의 인트라 예측 모드가 어떤 MPM과 같은지 표시하는 MPM 인덱스가 MPM 플래그 뒤에 부호화되어 삽입된다. 예를 들어 MPM이 4가지일 경우, MPM 인덱스는 2비트로 부호화된다. 반대로 현재 블록의 인트라 예측 모드 번호가 MPM과 일치하지 않을 경우, MPM 플래그는 '0’으로 부호화되어 비트 스트림에 삽입된다. 그리고 현재 블록의 인트라 예측 모드를 미리 정해진 이진수의 코드워드(codeword)로 부호화된다. If the intra-prediction mode number of the current block coincides with the MPM in the encoding process, the MPM flag is encoded into '1', which means that the intra-prediction direction for the current block is the same as the MPM, and inserted into the bitstream. If there is at least one MPM, an MPM index indicating the intra-prediction mode of the current block is encoded and inserted after the MPM flag. For example, if there are four MPMs, the MPM index is encoded with two bits. Conversely, if the intra prediction mode number of the current block does not match the MPM, the MPM flag is encoded as '0' and inserted into the bitstream. The intraprediction mode of the current block is encoded with a codeword of a predetermined binary number.

복호화 과정에서는 MPM 플래그 가 ‘1’이면 현재 블록의 인트라 예측 모드와 MPM이 같음을 알 수 있다. 그리고 MPM 인덱스를 복호화한다. 예를 들면, MPM이 4가지일 경우, MPM 인덱스를 나타내는 00, 01, 10, 11의 2비트의 플래그로 부호화되었으므로, 복호화 과정에서는 이것을 십진수로 나타내어 0, 1, 2, 3의 MPM 인덱스를 가지고 부호화된 인트라 예측 모드를 복호화 할 수 있다.In the decoding process, if the MPM flag is '1', it is found that the intra-prediction mode of the current block is equal to the MPM. And decodes the MPM index. For example, when there are four MPMs, the MPM indexes are encoded with the two-bit flags 00, 01, 10, and 11. Therefore, in the decoding process, the MPM indexes are represented by decimal numbers and the MPM indexes are 0, 1, The encoded intra prediction mode can be decoded.

복호화 과정에서는 MPM 플래그가 ‘0’이면 현재 블록의 인트라 예측 모드와 MPM이 다름을 알 수 있다. 부호화 과정에서 HEVC의 35가지 4×4 인트라 예측 모드 중 MPM을 제외한 나머지 34가지 인트라 예측 모드를 5~6비트 크기의 이진수로 구분하여 이 중 현재 블록의 인트라 예측 모드 번호에 해당하는 5비트(XXXXX) 혹은 6비트 (XXXXXX)을 비트 스트림으로 전송하였으므로, 복호화 과정에서는 이러한 이진수로 부호화된 5~6비트의 정보를 10진수로 변환하여 얻은 모드 번호를 가지고 부호화된 인트라 예측 모드를 복호화 할 수 있다.In the decoding process, if the MPM flag is '0', it is known that the intra-prediction mode of the current block is different from the MPM. Among the 35 4 × 4 intra prediction modes of the HEVC, the remaining 34 intraprediction modes excluding the MPM are divided into 5-bit to 6-bit binary numbers, and five bits (XXXXX ) Or 6 bits (XXXXXX) is transmitted as a bitstream. Therefore, in the decoding process, the intra prediction mode encoded with the mode number obtained by converting the information of 5 to 6 bits encoded with the binary number into the decimal number can be decoded.

인트라 예측 모드를 복호화하면, 상기 인트라 예측 모드를 기반으로 현재 블록을 인트라 예측한다(S1030).When the intra prediction mode is decoded, the current block is intra-predicted based on the intra prediction mode (S1030).

복호화 장치Decryption device

도 11은 본 발명의 일 실시예에 따른 영상의 복호화 장치에 포함된 인트라 예측부의 블록도이다. 11 is a block diagram of an intra predictor included in an apparatus for decoding an image according to an embodiment of the present invention.

도 11에 도시된 바와 같이, 본 발명의 일 실시예에 따른 영상의 복호화 장치에 포함된 인트라 예측부(1100)는 현재 블록의 이전에 복호화된 주변 블록의 인트라 예측 정확도를 검출하는 정확도 검출부(1110), 상기 주변 블록의 인트라 예측 정확도를 기반으로 적어도 하나의 상기 현재 블록의 MPM(Most Probable Mode)을 결정하는 MPM 결정부(1130) 및 상기 MPM을 기반으로 상기 현재 블록을 인트라 예측하는 현재 블록 인트라 예측부(1150)를 포함하는 것을 특징으로 할 수 있다. 11, an intra predictor 1100 included in an apparatus for decoding an image according to an exemplary embodiment of the present invention includes an accuracy detector 1110 for detecting an intra prediction accuracy of a previously decoded neighboring block of a current block, An MPM decision unit 1130 for determining an MPM (Most Probable Mode) of at least one current block based on the intra prediction accuracy of the neighboring blocks, and a current block intra prediction unit for intra- And a prediction unit 1150. [0086]

본 발명의 일 실시예에 따른 인트라 예측 모드 복호화 장치의 구체적인 작동은 전술한 영상의 복호화 방법에 따른다. The concrete operation of the intra-prediction mode decoding apparatus according to an embodiment of the present invention is based on the image decoding method described above.

도 13은 본 발명의 일 실시예에 따른 영상의 복호화 장치의 블록도이다.13 is a block diagram of an apparatus for decoding an image according to an embodiment of the present invention.

도 13을 참조하면, 본 발명의 일 실시예에 따른 복호화 장치는 엔트로피 복호화부(831), 역양자화부(833), 역변환부(835), 움직임 보상부(837), 인트라 예측부(839), 프레임 버퍼(841) 및 가산부(843)을 포함한다.13, the decoding apparatus according to an embodiment of the present invention includes an entropy decoding unit 831, an inverse quantization unit 833, an inverse transform unit 835, a motion compensation unit 837, an intra prediction unit 839, A frame buffer 841, and an adder 843. [

엔트로피 복호화부(831)는 압축된 비트 스트림을 수신하고 엔트로피 복호화를 수행하여 양자화된 계수를 생성한다. 역양자화부(833) 및 역변환부(835)는 양자화된 계수에 대한 역양자화 및 역변환을 수행하여 잔차값을 복원한다. The entropy decoding unit 831 receives the compressed bitstream and performs entropy decoding to generate quantized coefficients. The inverse quantization unit 833 and the inverse transformation unit 835 perform inverse quantization and inverse transformation on the quantized coefficients to recover the residual value.

움직임 보상부(837)는 엔트로피 복호화부(831)에 의해 비트 스트림으로부터 복호화된 정보를 이용하여 움직임 보상을 수행하여 예측된 예측 유닛을 생성한다. The motion compensation unit 837 performs motion compensation using the information decoded from the bit stream by the entropy decoding unit 831 to generate a predicted prediction unit.

인트라 예측부(839)는 전술한 바와 같이 현재 블록의 MPM을 결정하고 상기 MPM을 기반으로 인트라 모드를 선택하여 현재 예측 유닛을 현재 픽춰내의 현재 예측 유닛 주변의 이미 부호화된 화소값으로부터 인트라 모드에 따라 인트라 예측(Intra Prediction)을 수행한다. The intraprediction unit 839 determines the MPM of the current block and selects the intra mode based on the MPM as described above to select the current prediction unit from the already coded pixel values around the current prediction unit in the current picture according to the intra mode And performs intra prediction.

가산부(843)는 역변환부(835)에서 제공된 잔차값과, 움직임 보상부(837)에서 제공된 예측된 예측 유닛을 더하여 영상을 복원하여 프레임 버퍼(841)에 제공하고, 프레임 버퍼(841)는 복원된 영상을 저장한다. 즉, 복호화기에서는 예측 유닛에 압축된 예측 오차(역변환부에서 제공된 잔차값)를 가산하여 복호화 동작을 수행한다.The addition unit 843 reconstructs the image by adding the residual value provided by the inverse transform unit 835 and the predicted prediction unit provided by the motion compensation unit 837 and provides the restored image to the frame buffer 841. The frame buffer 841 And stores the reconstructed image. That is, the decoder performs a decoding operation by adding a compressed prediction error (residual value provided by the inverse transform unit) to the prediction unit.

100 : 현재 블록
101 : 상부 블록
103 : 좌측 블록
900 : 인트라 예측부
910 : 정확도 검출부
930 : MPM 결정부
950 : 현재 블록 인트라 예측부
1100 : 인트라 예측부
1110 : 정확도 검출부
1130 : MPM 결정부
1150 : 현재 블록 인트라 예측부
100: current block
101: upper block
103: Left block
900: Intra prediction unit
910: Accuracy detector
930: MPM decision unit
950: current block intra prediction unit
1100: Intra prediction unit
1110: Accuracy detector
1130: MPM decision unit
1150: current block intra prediction unit

Claims (6)

영상 복호화 방법에 있어서,
비트스트림으로부터 현재 블록에 대응하는 잔차값을 획득하는 단계;
상기 현재 블록의 MPM (Most Probable Mode) 후보군을 결정하는 단계; 여기서, 상기 MPM 후보군은 복수의 MPM 후보를 포함함,
상기 결정된 MPM 후보군을 기반으로, 상기 현재 블록의 인트라 예측 모드를 결정하는 단계;
상기 현재 블록의 인트라 예측 모드를 기반으로 인트라 예측을 수행하여, 상기 현재 블록의 예측값을 획득하는 단계; 및
상기 획득된 잔차값과 예측값을 이용하여 상기 현재 블록을 복원하는 단계를 포함하되,
상기 MPM 후보군에 속한 MPM 후보의 개수는 3개 또는 그 이상인 영상 복호화 방법.
In the image decoding method,
Obtaining a residual value corresponding to a current block from a bitstream;
Determining a MPM (Most Probable Mode) candidate of the current block; Here, the MPM candidate group includes a plurality of MPM candidates,
Determining an intra prediction mode of the current block based on the determined MPM candidate group;
Performing intra prediction on the basis of the intra prediction mode of the current block to obtain a predicted value of the current block; And
And restoring the current block using the obtained residual value and the predicted value,
Wherein the number of MPM candidates belonging to the MPM candidate group is three or more.
제1항에 있어서,
상기 비트스트림으로부터 MPM 플래그를 복호화하는 단계를 더 포함하되,
상기 현재 블록의 인트라 예측 모드는, 상기 MPM 플래그와 상기 MPM 후보군을 기반으로 결정되는 영상 복호화 방법.
The method according to claim 1,
Further comprising decrypting the MPM flag from the bitstream,
Wherein the intra prediction mode of the current block is determined based on the MPM flag and the MPM candidate group.
제2항에 있어서, 상기 MPM 플래그는,
상기 현재 블록의 인트라 예측 모드가 상기 복수의 MPM 후보 중 어느 하나와 동일한 경우에는 1로 부호화되고,
상기 현재 블록의 인트라 예측 모드가 상기 복수의 MPM 후보와 동일하지 않은 경우에는 0으로 부호화된 영상 복호화 방법.
3. The method of claim 2,
When the intra prediction mode of the current block is identical to any one of the plurality of MPM candidates,
And if the intra prediction mode of the current block is not the same as the plurality of MPM candidates,
제3항에 있어서,
상기 복호화된 MPM 플래그의 값이 0인 경우, 상기 비트스트림으로부터 잔여 모드 정보를 복호화하는 단계를 더 포함하는 영상 복호화 방법.
The method of claim 3,
And decoding residual mode information from the bitstream if the value of the decoded MPM flag is zero.
제4항에 있어서,
상기 잔여 모드 정보는 상기 현재 블록의 인트라 예측 모드를 결정하기 위해 이용되는 영상 복호화 방법.
5. The method of claim 4,
Wherein the residual mode information is used to determine an intra prediction mode of the current block.
제5항에 있어서,
상기 잔여 모드 정보는, 상기 복수의 MPM 후보를 제외한 나머지 인트라 예측 모드를 이용하여 부호화된 모드인 영상 부호화 방법.
6. The method of claim 5,
Wherein the residual mode information is a mode encoded using a residual intra prediction mode excluding the plurality of MPM candidates.
KR1020180005115A 2011-12-14 2018-01-15 Method of encoding intra mode by choosing most probable mode with high hit rate and apparatus for the same, and method of decoding and apparatus for the same KR101931693B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020110134890 2011-12-14
KR20110134890 2011-12-14

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020110135684A Division KR101846250B1 (en) 2011-12-14 2011-12-15 Method of encoding intra mode by choosing most probable mode with high hit rate and apparatus for the same, and method of decoding and apparatus for the same

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020180161033A Division KR20180135836A (en) 2011-12-14 2018-12-13 Method of encoding intra mode by choosing most probable mode with high hit rate and apparatus for the same, and method of decoding and apparatus for the same

Publications (2)

Publication Number Publication Date
KR20180011285A true KR20180011285A (en) 2018-01-31
KR101931693B1 KR101931693B1 (en) 2018-12-21

Family

ID=48864096

Family Applications (7)

Application Number Title Priority Date Filing Date
KR1020110135684A KR101846250B1 (en) 2011-12-14 2011-12-15 Method of encoding intra mode by choosing most probable mode with high hit rate and apparatus for the same, and method of decoding and apparatus for the same
KR1020180005115A KR101931693B1 (en) 2011-12-14 2018-01-15 Method of encoding intra mode by choosing most probable mode with high hit rate and apparatus for the same, and method of decoding and apparatus for the same
KR1020180161033A KR20180135836A (en) 2011-12-14 2018-12-13 Method of encoding intra mode by choosing most probable mode with high hit rate and apparatus for the same, and method of decoding and apparatus for the same
KR1020190136085A KR102076782B1 (en) 2011-12-14 2019-10-30 Method of encoding intra mode by choosing most probable mode with high hit rate and apparatus for the same, and method of decoding and apparatus for the same
KR1020200014339A KR102127380B1 (en) 2011-12-14 2020-02-06 Method of encoding intra mode by choosing most probable mode with high hit rate and apparatus for the same, and method of decoding and apparatus for the same
KR1020200075823A KR102264446B1 (en) 2011-12-14 2020-06-22 Method of encoding intra mode by choosing most probable mode with high hit rate and apparatus for the same, and method of decoding and apparatus for the same
KR1020210073885A KR102304446B1 (en) 2011-12-14 2021-06-08 Method of encoding intra mode by choosing most probable mode with high hit rate and apparatus for the same, and method of decoding and apparatus for the same

Family Applications Before (1)

Application Number Title Priority Date Filing Date
KR1020110135684A KR101846250B1 (en) 2011-12-14 2011-12-15 Method of encoding intra mode by choosing most probable mode with high hit rate and apparatus for the same, and method of decoding and apparatus for the same

Family Applications After (5)

Application Number Title Priority Date Filing Date
KR1020180161033A KR20180135836A (en) 2011-12-14 2018-12-13 Method of encoding intra mode by choosing most probable mode with high hit rate and apparatus for the same, and method of decoding and apparatus for the same
KR1020190136085A KR102076782B1 (en) 2011-12-14 2019-10-30 Method of encoding intra mode by choosing most probable mode with high hit rate and apparatus for the same, and method of decoding and apparatus for the same
KR1020200014339A KR102127380B1 (en) 2011-12-14 2020-02-06 Method of encoding intra mode by choosing most probable mode with high hit rate and apparatus for the same, and method of decoding and apparatus for the same
KR1020200075823A KR102264446B1 (en) 2011-12-14 2020-06-22 Method of encoding intra mode by choosing most probable mode with high hit rate and apparatus for the same, and method of decoding and apparatus for the same
KR1020210073885A KR102304446B1 (en) 2011-12-14 2021-06-08 Method of encoding intra mode by choosing most probable mode with high hit rate and apparatus for the same, and method of decoding and apparatus for the same

Country Status (1)

Country Link
KR (7) KR101846250B1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019164306A1 (en) * 2018-02-23 2019-08-29 인텔렉추얼디스커버리 주식회사 Image encoding method/device, image decoding method/device, and recording medium in which bitstream is stored
WO2019194441A1 (en) * 2018-04-02 2019-10-10 엘지전자 주식회사 Method for image coding on basis of adaptively derived mpm list and device therefor
WO2020050685A1 (en) * 2018-09-07 2020-03-12 김기백 Method and device for coding/decoding image using intra prediction
CN112823515A (en) * 2018-10-07 2021-05-18 韦勒斯标准与技术协会公司 Method and apparatus for processing video signal using MPM configuration method for multiple reference lines

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112672161A (en) * 2018-06-27 2021-04-16 株式会社Kt Method and apparatus for processing video signal
CA3125318A1 (en) 2018-12-28 2020-07-02 B1 Institute Of Image Technology, Inc. Intra prediction-based video encoding/decoding method and device
CN113475065A (en) 2019-02-26 2021-10-01 Lg 电子株式会社 Intra prediction-based image coding method and apparatus using unified MPM list
KR20210137058A (en) * 2019-03-22 2021-11-17 엘지전자 주식회사 Intra prediction-based video decoding method and apparatus in video coding system
WO2020197155A1 (en) * 2019-03-22 2020-10-01 엘지전자 주식회사 Image decoding method and device and image encoding method and device in image coding system
CN113382261B (en) * 2019-06-21 2022-05-20 杭州海康威视数字技术股份有限公司 Method and device for decoding and encoding prediction mode

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008227670A (en) * 2007-03-09 2008-09-25 Victor Co Of Japan Ltd Image coding device
KR100924640B1 (en) 2007-11-21 2009-11-02 한양대학교 산학협력단 Intra mode decision algorithm of macroblock in video coding
JP2009212790A (en) * 2008-03-04 2009-09-17 Mitsubishi Electric Corp Prediction mode selecting apparatus and image coder

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019164306A1 (en) * 2018-02-23 2019-08-29 인텔렉추얼디스커버리 주식회사 Image encoding method/device, image decoding method/device, and recording medium in which bitstream is stored
US11153574B2 (en) 2018-02-23 2021-10-19 Intellectual Discovery Co., Ltd. Image encoding method/device, image decoding method/device, and recording medium in which bitstream is stored
US11812033B2 (en) 2018-02-23 2023-11-07 Intellectual Discovery Co., Ltd. Image encoding method/device, image decoding method/device, and recording medium in which bitstream is stored
WO2019194441A1 (en) * 2018-04-02 2019-10-10 엘지전자 주식회사 Method for image coding on basis of adaptively derived mpm list and device therefor
WO2020050685A1 (en) * 2018-09-07 2020-03-12 김기백 Method and device for coding/decoding image using intra prediction
CN112740675A (en) * 2018-09-07 2021-04-30 有限公司B1影像技术研究所 Method and apparatus for encoding/decoding image using intra prediction
US11917195B2 (en) 2018-09-07 2024-02-27 B1 Institute Of Image Technology, Inc. Method and device for coding/decoding image using intra prediction
CN112823515A (en) * 2018-10-07 2021-05-18 韦勒斯标准与技术协会公司 Method and apparatus for processing video signal using MPM configuration method for multiple reference lines
CN112823515B (en) * 2018-10-07 2024-03-19 三星电子株式会社 Method and apparatus for processing video signal using MPM configuration method for multiple reference lines

Also Published As

Publication number Publication date
KR102127380B1 (en) 2020-06-26
KR20210071905A (en) 2021-06-16
KR20130068479A (en) 2013-06-26
KR20200016316A (en) 2020-02-14
KR102076782B1 (en) 2020-02-12
KR101931693B1 (en) 2018-12-21
KR20190126029A (en) 2019-11-08
KR102304446B1 (en) 2021-09-23
KR20200077490A (en) 2020-06-30
KR20180135836A (en) 2018-12-21
KR102264446B1 (en) 2021-06-14
KR101846250B1 (en) 2018-04-06

Similar Documents

Publication Publication Date Title
KR101931693B1 (en) Method of encoding intra mode by choosing most probable mode with high hit rate and apparatus for the same, and method of decoding and apparatus for the same
US9288493B2 (en) Method of deriving motion information
JP6023842B2 (en) Video encoding device in merge mode
KR101605852B1 (en) Image encoder and decoder using unidirectional prediction
US8948243B2 (en) Image encoding device, image decoding device, image encoding method, and image decoding method
KR101483750B1 (en) Method and apparatus for image encoding, and method and apparatus for image decoding
CN103380622A (en) Intra prediction mode encoding/decoding method and apparatus for same
US8228985B2 (en) Method and apparatus for encoding and decoding based on intra prediction
KR20120080552A (en) Video coding and decoding method and apparatus using adaptive motion vector coding/encoding
KR101238012B1 (en) Method and device for encoding prediction motion vector
KR101618766B1 (en) Method and apparatus for image decoding
KR101662741B1 (en) Method for image decoding
KR101366088B1 (en) Method and apparatus for encoding and decoding based on intra prediction
KR101934036B1 (en) Method of adaptive intra prediction mode encoding and apparatus for the same, and method of decoding and apparatus for the same
KR101618214B1 (en) Method for image decoding
KR101489222B1 (en) Method and apparatus for image encoding, and method and apparatus for image decoding
KR101525015B1 (en) Method and apparatus for image encoding, and method and apparatus for image decoding
KR20190000868A (en) Method of adaptive intra prediction mode encoding and apparatus for the same, and method of decoding and apparatus for the same
KR20080068278A (en) Method and apparatus for encoding and decoding based on intra prediction
KR20130090856A (en) Image encoder using unidirectional prediction
KR20130090857A (en) Image encoder and decoder using unidirectional prediction

Legal Events

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