KR20150021980A - Method for decoding partitioned block in video decoding and recording medium implementing the same - Google Patents

Method for decoding partitioned block in video decoding and recording medium implementing the same Download PDF

Info

Publication number
KR20150021980A
KR20150021980A KR20150010079A KR20150010079A KR20150021980A KR 20150021980 A KR20150021980 A KR 20150021980A KR 20150010079 A KR20150010079 A KR 20150010079A KR 20150010079 A KR20150010079 A KR 20150010079A KR 20150021980 A KR20150021980 A KR 20150021980A
Authority
KR
South Korea
Prior art keywords
block
sub
blocks
decoding
picture prediction
Prior art date
Application number
KR20150010079A
Other languages
Korean (ko)
Other versions
KR101644967B1 (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 KR1020150010079A priority Critical patent/KR101644967B1/en
Publication of KR20150021980A publication Critical patent/KR20150021980A/en
Application granted granted Critical
Publication of KR101644967B1 publication Critical patent/KR101644967B1/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/107Selection of coding mode or of prediction mode between spatial and temporal predictive coding, e.g. picture refresh
    • 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/174Methods 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 slice, e.g. a line of blocks or a group of blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/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

Abstract

Disclosed are a method of encoding a division block in video encoding and a method of decoding a division block in video decoding. An input picture is divided into encoding unit blocks. The encoding unit block is divided into sub-encoding unit blocks. The sub-encoding unit blocks are encoded by selectively using at least one of intra prediction encoding and inter prediction encoding in the encoding unit block or each sub-encoding unit block. A decoding process is performed through a reverse process of the encoding method. When pixel values of an encoding unit block are encoded in video encoding, the flexibility in selecting an encoding mode is improved, and the efficiency of encoding is improved.

Description

비디오 복호화에서의 분할 블록 복호화 방법 및 이를 구현하는 기록매체 {Method for decoding partitioned block in video decoding and recording medium implementing the same}TECHNICAL FIELD The present invention relates to a method of decoding a divided block in video decoding and a recording medium implementing the same.

본 발명은 비디오 부호화 및 복호화에서 입력화면을 블록단위로 나누고 분할된 블록을 화면내 및 화면간 예측 부호화를 동시에 사용하여 부호화할 수 있는 방법과 복호화할 수 있는 방법에 관한 것으로, 특히 부호화 효율을 향상 향상시킬 수 있으며, 분할 블록의 크기에 따라 정방형(squared) 변환 또는 비정방형(non-squared) 변환을 이용하여 블록 영상 신호를 부호화함으로써 부호화 효율을 더욱 향상 시킬 수 있도록 한 비디오 부호화에서 화면간 및 화면내 예측을 통한 분할 블록 부호화 및 복호화 방법에 관한 것이다.The present invention relates to a method capable of coding an input picture on a block-by-block basis and a method of coding and decoding a divided block using both in-picture and inter-picture prediction coding in video coding and decoding, In addition, in the video coding in which the coding efficiency is further improved by coding the block video signal using a squared or non-squared conversion according to the size of the divided block, And a method of dividing block coding and decoding through intra prediction.

ISO/IEC와 ITU-T에서 공동으로 표준화한 비디오 압축 부호화에 기술인 ISO/IEC 14496-10(MPEG-4 Part 10 Advanced Video Coding) 또는 H.264 및 ISO/IEC 14496-10 어멘드먼트(Amendment) 3(MPEG-4 Scalable Video Coding) 규격, SMPTE 표준인 VC-1, 이밖에 오디오 비디오 코딩 표준(Audio Video coding Standrad, AVS) 규격 등은 비디오 데이터 압축 효율에 있어 많은 전진을 이루었다. ISO / IEC 14496-10 (MPEG-4 Part 10 Advanced Video Coding) or H.264 and ISO / IEC 14496-10 amendments to video compression coding standard jointly standardized by ISO / IEC and ITU-T. (MPEG-4 Scalable Video Coding) standard, the SMPTE standard VC-1, and the Audio Video Coding Standard (AVS) standard have made many advances in video data compression efficiency.

이렇게 비디오 압축 효율의 향상 요인은 여러 가지가 있을 수 있으나, 특히 기존의 비디오 부호화 표준들(MPEG-1 Video, MPEG-2 Video, MPEG-4 Part 2 Visual, H.261, H.263 등)이 부호화하고자 하는 화면의 크기를 매크로 블록(16×16 픽셀) 단위로 분할한 후 이를 예측 부호화 하는 것과는 달리, 매크로 블록을 16×16, 16×8, 8×16, 8×8, 8×4, 4×8, 4×4 단위로 더욱 세분화하여 분할하고 이들 하위 블록에 대해 예측 부호화를 수행하고 율-왜곡 비용의 관점에서 비용 최소화를 발생시키는 블록을 최적의 블록모드로 하여 부호화한다. However, the conventional video coding standards (MPEG-1 Video, MPEG-2 Video, MPEG-4 Part 2 Visual, H.261, H.263, etc.) 16 × 16, 8 × 16, 8 × 8, 8 × 4, 16 × 16, 16 × 16, 16 × 16, 16 × 16, 16 × 16, 16 × 16, and 16 × 16 pixels as compared with the case where the size of a picture to be coded is divided into macroblocks 4 × 8, and 4 × 4 units, performs prediction coding on these sub-blocks, and encodes the block that minimizes cost in terms of rate-distortion cost as an optimal block mode.

이렇게 함으로써 미세한 움직임이나 복잡한 영상의 움직임 예측을 보다 효과적으로 수행하며, 발생되는 잔차 신호를 크게 줄임으로써 압축 효율을 크게 향상시킬 수 있다. By doing so, it is possible to more effectively perform fine motion or complex motion prediction, and significantly reduce the residual signal, thereby greatly improving the compression efficiency.

도 1은 종래 H.264|AVC 부호화기에서 부호화를 위한 16×16 매크로블록 단위 블록의 분할 블록 타입을 도시한 도면으로서, H.264에서 사용되는 7가지의 움직임 예측 블록 분할 타입이 도시되어 있다. FIG. 1 is a diagram showing a divided block type of a 16 × 16 macroblock unit block for coding in the conventional H.264 | AVC encoder, and shows seven types of motion prediction block division types used in H.264.

도 1에 도시된 바와 같이, 통상적으로 블록기반 예측 부호화 방식은 입력 영상을 16×16 크기의 매크로 블록 단위로 분할하여 부호화한다. 특히, ISO/IEC 14496-10(MPEG-4 Advanced Video Coding) 또는 H.264 규격에서는 도 1와 같이 매크로 블록을 7가지의 하위 블록으로 분할하여 율-왜곡 비용을 최소화하는 블록을 최종 선택하여 예측 부호화를 수행한다. As shown in FIG. 1, a block-based predictive coding scheme divides an input image into 16 × 16 macroblocks and encodes the input image. Particularly, in ISO / IEC 14496-10 (MPEG-4 Advanced Video Coding) or H.264 standard, a block which minimizes the rate-distortion cost by dividing a macroblock into seven sub-blocks is finally selected and predicted And performs encoding.

부호화하고자 하는 16×16 매크로 블록에 대해 분할된 하위블록들은 화면내 부호화를 수행할 경우, 매크로 블록은 16×16 픽셀 단위 하나의 크기로 화면내 예측 부호화가 수행되거나, 하위블록으로 분할되어 4개의 8×8 블록의 화면내 예측 부호화 수행, 또는 16개의 4×4 블록의 화면내 예측 부호화를 수행한다. When the intra-picture coding is performed on the sub-blocks divided for the 16x16 macroblock to be coded, the intra-picture prediction coding is performed with a size of one 16x16 pixel unit for each macroblock, Performs intra-picture prediction coding of 8x8 blocks, or intra-picture prediction coding of 16 4x4 blocks.

일반적으로 저해상도의 비디오 부호화에서는 이러한 화면내 예측 부호화 기법이 여러 블록 모드의 경우의 수를 줄이는 측면에서 부호화 효율이 있으나, 고해상도(HD: High Definition)나 초고해상도(UHD: Ultra High Definition) 비디오 부호화에 있어서는 문제가 있다. 즉, 부호화 단위 블록인 16×16 매크로블록을 확장한 32×32 또는 그 이상의 크기를 갖는 수퍼 매크로 블록의 경우에는 기존의 방법과 같이 수퍼 매크로블록 내의 분할된 모든 블록의 모드를 16×16, 8×8, 또는 4×4 블록 기반의 동일한 화면내 예측을 적용하면 부호화 효율을 떨어뜨리는 결과를 초래한다. Generally, in the low-resolution video coding, the intra-picture prediction coding method has a coding efficiency in terms of reducing the number of cases in the multi-block mode. However, in the high definition (HD) or ultra high definition (UHD) There is a problem. That is, in the case of a super macroblock having a size of 32 × 32 or more that is a 16 × 16 macroblock extended as an encoding unit block, the mode of all divided blocks in the super macroblock is 16 × 16, 8 × 8, or 4 × 4 block based on the same intra-picture prediction, the coding efficiency is lowered.

다시 말하면, 종래 분할 블록기반 예측 부호화 방법에서 주목할 것은 분할된 블록이 모두 화면내 또는 화면간 예측 부호화를 통해서만 부호화된다는 것이다. 즉, 분할 블록 화면내 예측 부호화와 화면간 예측 부호화를 모두 적용하지 않고, 어느 하나의 방식만 선택하여 적용하고 있다는 것이다. 이는 화면내 또는 화면간 부호화 중 하나만을 적용함으로서 블록 부호화 모드를 표현하는 신택스의 단순화로 인해 HD 해상도 이하의 이미지 또는 비디오 압축에 있어는 부호화 효율의 이득이 있을 수 있으나, 부호화 단위가 매크로블록 이상의 수퍼 매크로 블록일 경우에는 부호화 효율을 떨어뜨리는 요인으로 작용할 수 있다.In other words, in the conventional divided block-based predictive encoding method, it is to be noted that all of the divided blocks are encoded only by intra picture coding or inter picture prediction coding. That is, only one of the intra-picture prediction coding and the intra-picture prediction coding is selected and applied. This is because, by applying only one of intra-picture coding and inter-picture coding, there is a gain in coding efficiency for image or video compression below HD resolution due to simplification of the syntax for expressing the block coding mode. However, In the case of a macroblock, the coding efficiency may be degraded.

본 발명은 전술한 문제점을 해결하기 위하여 안출된 것으로서, 본 발명의 비디오 부호화 시에 분할된 블록의 하위 분할블록들에 대해 화면내 또는 화면간 예측부호화 선택 방식을 확장하여 화면내 및 화면간 예측 부호화 모드를 모두 선택 가능하도록 확장하며 분할된 블록의 움직임 보상 후의 잔차신호에 대해 블록 크기에 따른 정방형 또는 비정방형 변환 커널을 선택적으로 적용하여 부호화를 수행하여 보다 효과적인 예측 부호화방법을 제공하는데 그 목적이 있다.The present invention has been conceived to solve the above-described problems, and it is an object of the present invention to provide a method and apparatus for expanding an intra picture or inter picture prediction coding selection scheme for sub- Mode encoding method, and selectively applying a square or non-square transformation kernel according to a block size to a residual signal after motion compensation of a divided block, thereby providing a more efficient predictive encoding method .

또한, 본 발명의 다른 목적은 상기 방법이 구현된 컴퓨터에서 읽을 수 있는 기록매체를 제공하는 것이다. Another object of the present invention is to provide a computer readable recording medium on which the above method is implemented.

이와 같은 목적을 달성하기 위한 본 발명은 입력화면을 부호화 단위 블록으로 분할하고, 상기 부호화 단위 블록을 하위 블록으로 분할하고, 상기 각 하위 분할 블록을 화면내 예측 부호화 또는 화면간 예측 부호화 중에서 하나를 선택하여 부호화한다. According to an aspect of the present invention, there is provided a method for coding an input picture by dividing an input picture into coding unit blocks, dividing the coding unit block into sub-blocks, and selecting one of the intra- .

상기 부호화 단위 블록 및 하위 블록을 통한 잔차 신호에 대하여 블록 크기에 따라 가변 변환 커널(Variable transform kernal)을 선택적으로 적용하여 변환하고, 이를 양자화 한 후, 그 결과를 엔트로피 부호화하는 과정을 더 포함할 수 있다. The method may further include a step of selectively applying a variable transform kernal to the residual signal through the coding unit block and the subblock according to a block size, performing quantization on the variable transform kernal, and entropy coding the result have.

상기 하위 블록을 통한 잔차신호에 대해 블록 크기와 부호화 타입에 따라 하나 이상의 블록 경계 완화필터(de-blocking filter)를 선택적으로 적용하여 부호화를 수행할 수 있다. One or more block-based de-blocking filters may be selectively applied to the residual signal through the lower block according to the block size and the encoding type.

상기 부호화 단위 블록의 크기는 N*N 크기의 정방형으로 하며, 상기 부호화 단위 블록을 분할하여 임의 크기의 하나 이상의 정방형(squared) 또는 비정방형(non-squared)인 하위 블록으로 분할할 수 있다. The size of the encoding unit block may be a square of N * N size, and the encoding unit block may be divided into one or more sub-blocks that are squared or non-squared at an arbitrary size.

상기 정방형 또는 비정방형의 하위 블록에 대하여 화면내 예측 부호화를 사용하여 부호화하는 경우, 하나 이상의 화면내 예측 부호화 방법 중에서 하나의 화면내 예측 부호화 방법을 선택하여 부호화를 수행할 수 있다. When encoding the sub-blocks of square or non-square form using intra-picture prediction coding, one intra-picture prediction coding method among the intra-picture intra prediction coding methods may be selected and encoded.

상기 정방형 또는 비정방형의 하위 블록에 대하여 화면내 예측 부호화 또는 화면간 예측 부호화를 수행하는 경우, 블록 크기에 따라 선택된 양자화된 변환 계수를 스캔하여 엔트로피 부호화를 수행할 수 있다. In case of performing intra-picture prediction coding or inter picture prediction coding on the square or non-square sub-blocks, the quantized transform coefficients selected according to the block size may be scanned to perform entropy coding.

상기 정방형의 하위 블록에 대하여 정방형 변환 커널을 적용하여 변환할 수 있다. A square transform kernel can be applied to the sub-blocks of the square.

상기 정방형의 하위 블록에 대하여 정방형 변환 커널을 적용하여 변환시에, 상기 정방형의 하위 블록의 가로 화소수와 세로 화소수를 비교하여 작거나 같은 화소수에 대응하는 정방형 변환 커널을 적용할 수 있다. The square transform kernel may be applied to the square sub-block to compare the number of horizontal pixels of the sub-block of the square with the number of vertical pixels to apply a square transform kernel corresponding to a smaller or equal number of pixels.

상기 비정방형의 하위 블록에 대하여 비정방형 변환 커널을 적용하여 변환할 수 있다. Square conversion kernel can be applied to the non-square sub-block.

상기 비정방형의 하위 블록에 대하여 비정방형 변환 커널을 적용하여 변환시에, 상기 비정방형의 하위 블록의 가로 화소수와 세로 화소수를 비교하여 작거나 같은 화소수에 대응하는 비정방형 변환 커널을 적용할 수 있다. Square conversion kernel is applied to the non-square sub-block, the number of horizontal pixels of the non-square sub-block is compared with the number of vertical pixels to apply a non-square conversion kernel corresponding to the number of pixels smaller or equal .

본 발명의 다른 실시예에 따른 비디오 부호화에서의 분할 블록 부호화 방법은 (a) 부호화 하고자 하는 화면을 입력하는 단계, (b) 입력된 하면을 부호화 단위 블록으로 분할하는 단계, (c) 입력된 각 부호화 단위 블록을 하위 블록으로 분할하는 단계, (d) 상기 부호화 단위 블록 및 그 하위 블록에 대하여 화면내 예측 부호화 및 화면간 예측 부호화를 수행하고, 그 중 하나의 블록 타입을 선정하는 단계 및 (e) 상기 블록 타입의 예측 결과를 이용하여 부호화 단위 블록을 포함하여 그 하위 블록에 대하여 화면내 예측 부호화 및/또는 화면간 예측 부호화를 수행하는 단계를 포함할 수 있다. A divided block coding method in video coding according to another exemplary embodiment of the present invention includes the steps of (a) inputting a picture to be coded, (b) dividing the input bottom into coding unit blocks, (c) Dividing an encoding unit block into sub-blocks, (d) performing intra-picture prediction encoding and inter-picture prediction encoding on the encoding unit block and its sub-blocks, selecting one of the block types, and ) Performing intra-picture prediction coding and / or inter picture prediction coding on the sub-block including the coding unit block using the prediction result of the block type.

본 발명의 다른 실시예에 따른 비디오 부호화에서의 분할 블록 부호화 방법은 (a') 부호화하고자 하는 화면을 입력하는 단계, (b') 입력된 화면을 부호화 단위 블록으로 분할하는 단계, (c') 현재의 입력 화면이 화면간 예측부호화를 수행할 것인지를 판별하는 단계, (d') 현재의 입력 화면이 화면간 예측인 경우에는 입력 화면에서 부호화되는 부호화 단위 블록의 하위 블록의 순서를 초기화하는 단계, (e') 부호화하고자 하는 부호화 단위 블록의 블록 모드를 선택하는 단계, (f') 선택된 블록 모드에 대해 화면내 및 화면간 예측 부호화를 모두 수행할 것인지를 판정하는 단계, (g') 선택된 블록 모드에 대해 화면내 및 화면간 예측 부호화를 모두 수행할 경우, 선택된 블록 모드에 대하여 화면내 및 화면간 예측 부호화를 수행하는 단계, (h') 상기 (g') 단계에서의 예측 부호화 결과 및 율-왜곡 비용값을 저장하는 단계, (i') 선택된 블록 모드가 최종 모드이면, 각 블록 모드에 대한 율-왜곡 비용을 비교하여 부호화 단위 블록에 대해 최종 블록 모드를 선택하여 부호화를 결정하는 단계, (j') 현재 부호화 단위 블록이 현재 입력 화면에서 최종 블록인지를 판별하는 단계 및 (k') 현재 부호화 단위 블록이 현재 입력 화면에서 최종 블록이면, 현재 입력 화면이 최종 화면인지를 판별하여, 현재 입력 화면이 최종 화면이 될 때까지 (a') 내지 (j') 단계를 반복 수행하는 단계를 포함한다.(B ') dividing the input picture into coding unit blocks, (c') compressing the picture into unit blocks, and (c ' (D ') initializing a sequence of sub-blocks of an encoding unit block to be encoded on an input screen when the current input screen is an inter-screen prediction, determining whether the current input picture is to be inter- , (e ') selecting a block mode of a coding unit block to be coded, (f') determining whether to perform both intra picture coding and inter picture prediction coding on the selected block mode, (g ') selecting Performing in-picture and inter-picture predictive coding on the selected block mode when both the in-picture and inter-picture predictive coding are performed on the block mode, (h ') performing the in- (I '). If the selected block mode is the final mode, the rate-distortion cost for each block mode is compared to select the last block mode for the encoding unit block, Determining whether the current encoding unit block is the last block in the current input picture, and (k ') determining whether the current encoding unit block is the last block in the current input picture, And repeating the steps (a ') to (j') until the current input screen becomes the final screen.

상기 (c') 단계 후에, 현재의 입력 화면이 화면간 예측이 아닌 경우, 화면내 예측 부호화를 수행하는 단계를 더 포함할 수 있다. After the step (c '), if the current input picture is not inter-picture prediction, performing intra-picture prediction coding may be further performed.

상기 (f') 단계 후에, 선택된 블록 모드에 대해 화면내 및 화면간 예측 부호화를 모두 수행하지 않는 경우, 선택된 블록 모드에 대해 화면간 예측 부호화를 수행하는 단계를 더 포함할 수 있다. After the step (f '), if the intra-picture prediction and the inter-picture prediction coding are not performed for the selected block mode, the inter-picture prediction coding may be performed for the selected block mode.

상기 (g') 단계 후에, 선택된 블록 모드에 대해 화면간 예측 부호화를 수행할 경우, 움직임 예측과 보상 수행을 통해 잔차 신호를 구하고, 이 잔차신호를 이용하여 선택된 블록을 변환하고, 이를 양자화 한 후, 그 결과를 엔트로피 부호화하는 단계를 더 포함할 수 있다. When the inter-picture prediction coding is performed on the selected block mode after the step (g '), a residual signal is obtained through motion prediction and compensation, the selected block is transformed using the residual signal, , And entropy-encoding the result.

상기 (g') 단계 후에, 선택된 블록 모드에 대해 화면내 예측 부호화를 수행할 경우, 화면내 예측 부호화를 통해 잔차 신호를 구하고, 이 잔차신호를 이용하여 선택된 블록을 변환하고, 이를 양자화 한 후, 그 결과를 엔트로피 부호화하는 단계를 더 포함할 수 있다. In case of performing intra-picture prediction coding on the selected block mode after the step (g '), a residual signal is obtained through intra-picture prediction coding, the selected block is transformed using the residual signal, And entropy-encoding the result.

상기 잔차신호를 이용하여 선택된 블록을 변환시에, 블록의 크기에 따라 선택적으로 변환 커널을 적용하여 변환을 수행하는 단계를 더 포함할 수 있다. And converting the selected block using the residual signal by applying a conversion kernel selectively according to the size of the block.

본 발명의 다른 실시예에 따른 분할 블록 부호화 방법에 의한 비디오 복호 방법은 (A) 복호화 하고자 하는 비트스트림을 입력하는 단계, (B) 입력된 비트스트림이 화면간 예측인지를 판단하는 단계, (C) 입력 비트스트림이 화면내 예측 부호화인 경우, 화면내 예측 부호화를 수행하는 단계, (D) 입력 비트스트림이 화면간 예측인 경우, 슬라이스를 해석하는 단계, (E) 슬라이스 내의 단위 부호화 블록을 해석하는 단계, (F) 단위부호화 블록의 하위분할 블록 부호화 모드를 복호화하는 단계, (G) 하위분할 부호화 블록이 화면간 예측 부호화 블록인지를 해석하는 단계, (H) 상기 하위분할 부호화 블록이 화면간 예측인 경우 화면간 예측 복호화를 수행하는 단계, (I) 상기 하위분할 부호화블록이 화면내 예측인 경우 화면내 예측 복호화를 수행하는 단계, (J) 상기 하위분할 블록 복호화 결과를 단위 복호화 블록 화소로 구성하는 단계, (K) 상기 복호화 단위블록 결과를 슬라이스 화소로 구성하는 단계, (K) 상기 슬라이스 화소 구성 결과를 화면으로 구성하는 단계를 포함할 수 있는 분할 블록 화면내 예측 및/또는 화면간 예측 복호화를 수행할 수 있다.(A) inputting a bitstream to be decoded, (B) determining whether an input bitstream is an inter-picture prediction, (C) (D) interpolating a slice when the input bitstream is inter-picture prediction, (E) interpreting a unit encoded block in the slice, and Decoding the lower divided block coding mode of the unitary coded block, (G) interpreting whether the lower divided coding block is an inter picture predictive coding block, (H) (I) performing intra prediction decoding when the lower-sub-coded block is intra-picture prediction, (J) (K) constructing the decoding unit block result as slice pixels, and (K) constructing the slice pixel configuration result as a screen. Intra-block prediction and / or inter-picture prediction decoding.

상기 (C) 단계에서, 단위부호화 블록이 16x16 매크로블록 크기 이상인 수퍼매크로블록인 경우 해당 크기에 대응하는 하위분할 블록 부호화 모드를 복호화하여 화면내 예측 복호화를 수행하는 단계를 더 포함할 수 있다.In the step (C), if the unit encoding block is a super macroblock having a size of 16x16 macroblocks or more, the step of decoding the lower divided block encoding mode corresponding to the size to perform intra prediction decoding may be performed.

상기 (C) 단계에서, 하위분할 블록의 크기에 대응하는 경계완화필터(de-blocking filter)를 적용하여 화면내 예측 복호화를 수행하는 단계를 더 포함할 수 있다.In step (C), a step of applying intra-picture prediction decoding by applying a de-blocking filter corresponding to the size of the lower sub-block may be performed.

상기 (C) 단계에서, 하위분할 블록의 크기에 따라 경계완화필터(de-blocking filter)를 적용하여 화면내 예측 복호화를 수행하는 단계를 더 포함할 수 있다.In step (C), the intra-picture prediction decoding may be performed by applying a de-blocking filter according to the size of the lower sub-block.

상기 (F) 단계에서, 단위부호화 블록이 16x16 매크로블록 크기 이상인 수퍼매크로블록인 경우 해당 크기에 대응하는 하위분할 블록 부호화 모드를 복호화 하는 단계를 더 포함할 수 있다.In the step (F), if the unit encoding block is a super macroblock having a size of 16 × 16 macroblocks or more, decoding the subdivision block encoding mode corresponding to the size may be further included.

상기 (H) 단계에서, 하위분할 블록의 크기에 대응하는 정방형 또는 비정방형 변활 커널을 적용하여 부호화된 양자화 변환 계수를 복호화하여 화면내 예측 복호화를 수행하는 단계를 더 포함할 수 있다.In the step (H), the step of decoding the quantized transform coefficients by applying a square or non-square transforming kernel corresponding to the size of the sub-block may be performed to perform intra picture prediction decoding.

상기 (H) 단계에서, 하위분할 블록의 크기 및 주변 복호화 블록의 복호화 모드 조건에 따라 역양자화 방법을 적용하여 부호화된 양자화 변환 계수를 복호화하여 화면내 예측 복호화를 수행하는 단계를 더 포함할 수 있다.In step (H), the step of decoding the encoded quantized transform coefficient by applying an inverse quantization method according to the size of the sub-block and the decoding mode condition of the surrounding decoding block may be performed to perform intra prediction decoding .

상기 (H) 단계에서, 하위 블록의 크기에 대응하는 경계완화필터(de-blocking filter)를 적용하여 화면간 예측 복호화를 수행하는 단계를 더 포함할 수 있다.In step (H), the inter-picture prediction decoding may be performed by applying a de-blocking filter corresponding to the size of the lower block.

본 발명의 다른 실시예에서, 상기 방법을 컴퓨터로 실행시킬 수 있는 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다. In another embodiment of the present invention, there is provided a computer-readable recording medium on which a program capable of executing the above method by a computer is recorded.

본 발명은 비디오 부호화에서 부호화 단위 블록 화소값을 부호화함에 있어서, 분할된 하위 블록 또는 그 하위 분할 블록들에 대해 화면내 예측 부호화와 화면간 예측 부호화를 하나 이상 적용하여 부호화함으로써 분할된 하위 블록들이 화면내 또는 화면간 예측 부호화 모드로 부호화 될 수 있도록 하여 부호화 단위 블록 또는 그 하위 분할 블록이 화면내 및 화면간 예측이 모두 사용되어 예측 부호화 되게 함으로써 부호화 모드 선택의 유연성이 증대되어 부호화 효율이 증가 되는 효과가 있다. The present invention encodes a pixel value of an encoding unit block in a video encoding, encodes the divided lower block or its sub-block by applying at least one intra-picture prediction encoding and inter-picture prediction encoding, Or inter-picture prediction coding mode so that the coding unit block or the sub-divided block is predictively coded using both intra picture and inter picture prediction, thereby increasing the flexibility of coding mode selection and increasing the coding efficiency .

또한, 본 발명에서는 분할 블록 기반 예측 부호화에 있어, 각 분할 블록이 하부의 세부 분할 블록들에 대해 화면내 예측과 화면간 예측을 모두 적용할 수 있도록 하고 분할된 블록의 크기에 따라 선택적으로 가변 변환 커널(variable block-size transform kernel) 크기를 적용하여 부호화를 수행함으로써 부호화 효율을 크게 향상시킬 수 있는 효과가 있다. In addition, in the present invention, in the divided block-based predictive coding, each divided block can apply both intra-picture prediction and inter-picture prediction to the sub-divided blocks underneath, and the variable- The coding efficiency is greatly improved by performing coding by applying a variable block-size transform kernel (Kernel) size.

도 1은 종래 H.264|AVC 부호화기에서 부호화를 위한 16×16 매크로블록 단위 블록의 분할 블록 타입을 도시한 도면.
도 2는 본 발명의 일 실시예에 따른 부호화기에서 화면내 또는 화면간 예측 부호화를 위한 수퍼 매크로블록 단위 블록 및 분할 블록 타입을 예시한 도면.
도 3은 본 발명의 일 실시예에 따른 비디오 부호화에서의 분할 블록 부호화 방법을 도시한 흐름도.
도 4는 본 발명의 일 실시예에 따른 비디오의 분할 블록 방법으로 부호화된 비트스트림을 복호화 하는 방법을 도시한 흐름도.
FIG. 1 is a diagram showing a divided block type of a 16 × 16 macroblock unit block for encoding in a conventional H.264 | AVC encoder; FIG.
BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a super macro block and a divided block type for intra-picture or inter-picture prediction coding in an encoder according to an embodiment of the present invention.
3 is a flowchart illustrating a divided block coding method in video coding according to an embodiment of the present invention.
FIG. 4 is a flowchart illustrating a method of decoding a bitstream encoded by a split block method of video according to an embodiment of the present invention; FIG.

이하, 첨부된 도면을 참조해서 본 발명의 실시예를 상세히 설명하면 다음과 같다. 우선 각 도면의 구성 요소들에 참조 부호를 부가함에 있어서, 동일한 구성 요소들에 한해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 그리고, 본 발명을 설명함에 있어서, 관련된 공지 기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the drawings, the same reference numerals are used for the same reference numerals even though they are shown in different drawings. In the following description of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear.

도 2는 본 발명의 일 실시예에 따른 부호화기에서 화면내 또는 화면간 예측 부호화를 위한 수퍼 매크로블록 단위 블록 및 분할 블록 타입을 예시한 도면이다. 도 2는 본 발명의 일 실시예에서 적용된 16×16 픽셀단위 매크로 블록 크기 이상의 수퍼 매크로 블록 및 블록 분할 타입의 일 예를 나타낸 도면이다. FIG. 2 is a diagram illustrating a super macroblock unit block and a split block type for intra picture or inter picture prediction coding in an encoder according to an embodiment of the present invention. Referring to FIG. FIG. 2 is a diagram illustrating an example of a super macroblock and a block division type that are larger than a 16 × 16 pixel unit macroblock size applied in an embodiment of the present invention.

도 2에서 보는 바와 같이, 수퍼 매크로 블록을 하위 블록으로 분할하고 각 분할된 블록에 화면내 또는 화면간 예측 부호화 과정이 수행되어 수퍼매크로 블록은 최종 부호화 모드가 화면내 또는 화면간 예측 부호화 모드가 혼용될 수 있도록 부호화가 수행되게 함으로써 영상의 부호화 효율을 매우 효과적으로 증가 시킬 수 있다. 실제 부호화시에 수학식 1에서와 같이 율-왜곡 비용을 최소화 하는 블록 모드(Mode)를 선택하여 부호화 할 수 있다. As shown in FIG. 2, the super macroblock is divided into sub-blocks and the intra-picture or inter-picture predictive coding process is performed on each divided block, so that the final coding mode is a mixed mode So that the coding efficiency of the image can be increased very effectively. A block mode that minimizes the rate-distortion cost can be selected and encoded in the actual encoding as shown in Equation (1).

Figure pat00001
Figure pat00001

여기서, JMODE는 블록 부호화 모드에 대한 율-왜곡 함수이며, s는 부호화 하고자 하는 원 블록 픽셀 입력이며, r은 참조 영상 픽셀 입력이며, QP는 양자화 파라미터이고,

Figure pat00002
는 모드에 의존적인 라그랑지안 승수이고, MODE는 분할 블록 모드 타입을 나타낸다.Where J MODE is the rate-distortion function for the block coding mode, s is the original block pixel input to be encoded, r is the reference image pixel input, QP is the quantization parameter,
Figure pat00002
Is a mode-dependent Lagrangian multiplier, and MODE represents a split block mode type.

뿐만 아니라 크기가 증가된 수퍼 매크로 블록의 잔차 신호에 대해 변환 부호화(transform coding)를 적용할 경우 기존의 4x4와 8x8 보다 큰 16x16 또는 그 이상 크기의 정방형 변환 커널, 또는 비정방형 변환을 위한 16x8, 또는 8x16, 또는 그 이상 크기의 비정방형 변환 커널을 분할 블록의 크기에 따라 선택적으로 적용하여 부호화 효율을 증가 시킬 수 있다.In addition, when transform coding is applied to the residual signal of the super macroblock whose size has been increased, a square conversion kernel having a size of 16x16 or more, which is larger than the conventional 4x4 and 8x8, or 16x8, The encoding efficiency can be increased by selectively applying the non-square conversion kernel of size 8x16 or more according to the size of the divided block.

수퍼매크로 블록에 16x16 또는 그 이상 크기의 정방형 변환 커널을 적용할 경우, 수학식 2와 같이 계산할 수 있다.If a square transform kernel of 16x16 or more size is applied to the super macro block, it can be calculated as shown in Equation (2).

Figure pat00003
Figure pat00003

여기서 X는 NxN 입력 영상 신호 매트릭스를 나타내고, A는 NxN 정방형 변환 커널 매트릭스를, Y는 변환 계수 매트릭스를 나타낸다. 만약 분할된 하위 블록이 비정방형 블록일 경우, 수학식 3과 같이 변환을 수행한다.Where X denotes an NxN input image signal matrix, A denotes an NxN square transform kernel matrix, and Y denotes a transformation coefficient matrix. If the divided sub-blocks are non-square blocks, the transform is performed as shown in Equation (3).

Figure pat00004
Figure pat00004

여기서, 입력 영상 신호 X가 Mx(M/2) 매트릭스일 경우 A1는 MxM 정방형 변환 커널 매트릭스를, A2는 (M/2)x(M/2) 정방형 변환 커널 매트릭스를 나타내며, Y는 변환 계수 매트릭스를 나타낸다.Here, when the input image signal X is an Mx (M / 2) matrix, A 1 represents an MxM square transform kernel matrix, A 2 represents an (M / 2) x (M / 2) square transform kernel matrix, Represents a coefficient matrix.

본 발명의 일 실시예에서 정방형 또는 비정방형 커널 변환을 적용할 경우 분할 블록의 가로 또는 세로 화소수 둘 중 작은 화소수와 비교하여 크기가 같거나 작은 커널을 적용하여 변환 부호화를 수행하는 것이 바람직하다.In one embodiment of the present invention, when a square or non-square kernel transformation is applied, it is preferable to perform a transcoding by applying a kernel equal to or smaller in size than the number of pixels in the horizontal or vertical pixel of the divided block .

도 3은 본 발명의 일 실시예에 따른 비디오 부호화에서의 분할 블록 부호화 방법을 도시한 흐름도이다. 3 is a flowchart illustrating a divided block coding method in video coding according to an embodiment of the present invention.

도 3을 참조하여 설명하면, 먼저, 부호화를 위한 화면(i) 순서를 초기화(i=0)한다(S101). 그리고, 부호화를 위해 순서에 맞게 화면(i)을 입력한다(S102). Referring to FIG. 3, first, the sequence of the picture (i) for encoding is initialized (i = 0) (S101). Then, the screen i is input in order for encoding (S102).

다음, 입력된 화면(i)을 부호화 단위 블록으로 분할한다(S103). 본 발명의 일 실시예에서 부호화 단위 블록은 매크로 블록 또는 수퍼 매크로 블록이 될 수 있다. Next, the input picture (i) is divided into coding unit blocks (S103). In an embodiment of the present invention, the encoding unit block may be a macroblock or a super macroblock.

다음, 현재의 화면(i)이 화면간 예측부호화를 수행할 것인지를 확인한다(S104). 현재의 화면(i)이 화면간 예측이 아닌 경우 화면내 예측 부호화를 수행하고(S105), 그렇지 않고 현재의 화면(i)이 화면간 예측인 경우에는 한 화면(i)내에서 부호화되는 부호화 단위 블록(j)의 순서를 초기화(j=0)한다(S106).Next, it is confirmed whether or not the current picture (i) is to perform inter picture prediction coding (S104). If the current picture (i) is not inter-picture prediction, intraprediction encoding is performed (S105). Otherwise, if the current picture (i) is inter-picture prediction, the coding unit The sequence of the block j is initialized (j = 0) (S106).

이후에, 부호화하고자 하는 단위 블록(j)에 대해 하위 블록으로 분할한다(S107). 그리고 하위 블록 모드(k)의 순서를 초기화(k=0)한다(S108). 하위 블록 모드(k) 중에서 하나의 블록 모드를 선택한다(S109). Subsequently, the unit block j to be encoded is divided into sub-blocks (S107). Then, the order of the sub-block mode (k) is initialized (k = 0) (S108). One block mode is selected from the sub-block mode (k) (S109).

부호화 단위 블록에서 부호화되는 하위 블록 모드에 대해 화면내 및 화면간 예측 수행 여부를 확인한다(S110). 화면간 및 화면내 예측을 수행할 경우 화면내 및 화면간 부호화를 수행하고(S111), 그렇지 않은 경우에는 화면간 예측 부호화만을 수행한다(S112). 그리고, 부호화 수행 결과인 예측 부호화 결과 및 율-왜곡 비용값을 저장한다(S113). Whether the in-picture and inter-picture prediction are performed for the sub-block mode to be coded in the coding unit block is checked (S110). When inter-picture prediction and intra-picture prediction are performed, in-picture and inter-picture coding are performed (S111), and if not, inter-picture prediction coding is performed only (S112). Then, the prediction encoding result and the rate-distortion cost value, which are encoding results, are stored (S113).

하위 블록 모드(k)가 최종 블록모드인지 확인한다(S114). 하위 블록 모드(k)가 최종 블록모드가 아니면 다음 블록 모드에 대하여 S109 내지 S113 단계를 반복한다. 반면, 하위 블록 모드(k)가 최종 블록 모드이면 최적의 분할 블록 모드를 결정하고 해당 부호화 결과를 최종 선택한다(S115). It is confirmed whether the sub-block mode (k) is the last block mode (S114). If the sub-block mode (k) is not the final block mode, steps S109 to S113 are repeated for the next block mode. On the other hand, if the sub-block mode (k) is the last block mode, the optimal sub-block mode is determined and the corresponding encoding result is finally selected (S115).

그리고, 현재 부호화 단위 블록(j)이 현재 화면(i)에서 최종 블록인지를 판별한다(S116). 현재 부호화 단위 블록(j)이 최종 블록이 아니면 다음 부호화 단위블록을 입력하여 S107 내지 S115 단계를 반복한다. Then, it is determined whether the current encoding unit block j is the last block in the current screen (i) (S116). If the current encoding unit block j is not the last block, the next encoding unit block is input and steps S107 to S115 are repeated.

S116 단계에서 부호화 단위 블록(j)이 현재 화면(i)에서 최종 블록이면 현재 화면(i)이 최종 화면인지 확인한다(S117). 현재 화면(i)이 최종화면이면 알고리즘을 종료하고, 그렇지 않으면 S102 단계로 회귀하여 다음 화면을 입력하고 S102 내지 S116 단계를 반복한다. If the encoding unit block j is the last block in the current screen (i) in step S116, it is checked whether the current screen (i) is the final screen (S117). If the current screen (i) is the final screen, the algorithm is terminated. Otherwise, the flow returns to step S102 to input the next screen, and steps S102 to S116 are repeated.

도 4는 본 발명의 본 발명의 일 실시예에 따른 비디오의 분할 블록 방법으로 부호화된 비트스트림을 복호화 하는 방법을 도시한 흐름도이다. FIG. 4 is a flowchart illustrating a method of decoding a bitstream encoded by a divided block method of a video according to an embodiment of the present invention. Referring to FIG.

도 4를 참조하여 설명하면, 먼저, 복호화를 위한 화면(i) 순서를 초기화(i=0)한다(S201). 그리고, 복호화를 위해 순서에 맞게 화면부호화 비트스트림(i)을 입력한다(S202). Referring to FIG. 4, first, the sequence of the screen (i) for decoding is initialized (i = 0) (S201). Then, a screen encoded bitstream i is input in order to decode (S202).

다음, 입력된 화면 비트스트림(i)이 화면간 예측 부호화인지를 확인한다(S203). 현재의 화면 비트스트림(i)이 화면간 예측 부호화가 아닌 경우 화면내 예측 복호화를 수행하고(S207), 그렇지 않고 현재의 입력 화면 비트스트림(i)이 화면간 예측인 부호화인 경우에는 한 화면(i)내에서 복호화되는 슬라이스(j)의 순서를 초기화(j=0)한다(S204).Next, it is confirmed whether the inputted screen bitstream (i) is inter picture prediction coding (S203). In the case where the current screen bitstream i is not inter picture prediction coding, intraframe prediction decoding is performed (S207). Otherwise, when the current input picture bit stream i is inter-picture prediction coding, (j = 0) of the sequence of the slices j to be decoded in the i-th block (S204).

다음, 입력 화면 비트스트림에 대해 슬라이스 정보를 해석한다(S205). 한 화면(i)내에서 각 슬라이스 내에서 복호화되는 단위 복호화 블록(j)의 순서를 초기화(k=0)한다(S206). 본 발명의 일 실시예에서 복호화 단위 블록은 매크로 블록 또는 수퍼 매크로 블록이 될 수 있다. Next, the slice information is analyzed for the input screen bit stream (S205). The sequence of the unit decoding block j to be decoded in each slice in one screen i is initialized (k = 0) (S206). In an embodiment of the present invention, the decoding unit block may be a macroblock or a super macroblock.

다음, 각 단위 부호화 블록 정보를 해석한 후(S208), 단위 부호화 블록 내의 하위 분할 블록의 순서를 초기화(m=0)한다 (S209). 이후, 단위 부호화 블록 내의 하위 분할 블록의 부호화 모드를 복호화 한다(S210). 하위 분할 블록이 화면간 예측 부호화 블록인지 확인 한 후(S211), 화면간 예측 부호화 블록이면 화면간 예측 복호화를 수행하고(S213), 화면내 예측 부호화 블록이면 모드이면 화면내 예측 부호화를 수행한다(S212). Next, after unit encoding block information is analyzed (S208), the order of the sub-block in the unit encoding block is initialized (m = 0) (S209). Thereafter, the encoding mode of the lower divided block in the unit encoding block is decoded (S210). After determining that the sub-block is an inter-picture predictive coding block (S211), the inter-picture predictive decoding is performed if the inter-picture predictive coding block is performed (S213) S212).

이후, 하위 분할 블록 복호화 결과를 이용하여 하위 분할 블록 화소값을 복원한다 (S214). 이후, 현재 하위 분할블록(m)이 최종 블록인지를 확인한 후(S215), 최종 하위 분할 블록이면 단위 복호화 블록 화소값을 구성하고(S216), 그렇지 않으면 다음 하위 분할 블록에 대한 복호화를 위해 S210 단계로 회귀하여 S210 단계 내지 S214 단계를 수행한다. Subsequently, the lower divided block pixel value is restored using the lower divided block decoding result (S214). If it is determined in step S215 that the current sub-block m is the last block, the unit decoding block pixel value is constructed in step S216. Otherwise, the sub-sub-block m is decoded in step S210 And performs steps S210 to S214.

이후, 현재 단위 부호화 블록(k)이 최종 단위 부호화 블록인지를 확인한 후(S217), 최종 단위부호화 블록이면 슬라이스 화소를 구성하고(S218), 그렇지 않으면 S208 단계로 회귀하여 S208단계 내지 S216 단계를 수행한다. 이후, 현재 슬라이스(j)가 최종 슬라이스 인지 확인한 후(S219), 최종 슬라이스이면 화면 화소를 구성하고(S220), 그렇지 않으면, S205 내지 S218단계를 수행한다. 이후, 현재 화면(i)이 최종 화면인지 판정 한 후(S221), 최종 화면이면 종료하고 그렇지 않으면 S202 단계로 회귀하여 다음 화면 비트스트림을 입력하고 S202 단계 내지 S220 단계를 수행한다. If it is determined that the current unit encoding block k is the last unit encoding block (S217), a slice pixel is formed if it is the last unit encoding block (S218). If not, the process returns to S208 and S208 to S216 are performed do. After confirming that the current slice j is the final slice (S219), if the current slice is the last slice, a screen pixel is constructed (S220). Otherwise, steps S205 to S218 are performed. If it is determined that the current screen (i) is the final screen (S221), the process ends if it is the final screen. Otherwise, the process returns to step S202 to input the next screen bitstream and performs steps S202 and S220.

본 발명의 실시예에 따른 비디오 부호화에서 입력영상을 부호화 단위 블록으로 분할하고, 부호화 단위 블록을 다시 하위 블록으로 분할 한 후, 각 하위 분할 블록을 부호화함에 있어 화면내 예측과 화면간 예측 중 하나 이상을 선택적으로 사용하여 부호화를 수행한다.In video coding according to an embodiment of the present invention, an input image is divided into coding unit blocks, a coding unit block is divided into sub-blocks again, and one or more of intra-picture prediction and inter- To perform coding.

이렇게 함으로써 부호화 단위 블록의 부호화 모드가 화면간 예측과 화면내 예측 하위 분할 블록 모드로 혼용하여 부호화 할 수 있고, 동시에 분할 블록에 따라 가변 커널 변환을 선택적으로 적용함으로써 부호화 효율을 향상 시킬 수 있다. By doing so, the coding mode of the coding unit block can be encoded in a mixed manner in the inter-picture prediction mode and the intra-picture prediction sub-block mode, and at the same time, the coding efficiency can be improved by selectively applying the variable kernel conversion according to the divided block.

뿐만 아니라 본 발명의 실시예에 따른 비디오 복호화는 부호화 과정의 역과정을 수행함으로써 향상된 부호화 효율을 갖는 압축 비트스트림의 복호화를 수행 할 수 있다.In addition, video decoding according to an embodiment of the present invention can perform decoding of a compressed bitstream having an improved coding efficiency by performing an inverse process of a coding process.

본 발명의 다른 실시예로서, 이상에서 설명한 비디오 부호화에서의 하위 분할 블록 부호화 방법을 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로써 구현되는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다.As another embodiment of the present invention, the sub-divided block coding method in the above-described video coding can be implemented as a computer-readable code on a computer-readable recording medium. A computer-readable recording medium includes all kinds of recording apparatuses in which data that can be read by a computer system is stored.

예컨대, 컴퓨터가 읽을 수 있는 기록매체로는 롬(ROM), 램(RAM), 시디-롬(CD-ROM), 자기 테이프, 하드디스크, 플로피디스크, 이동식 저장장치, 비휘발성 메모리(Flash Memory), 광 데이터 저장장치 등이 있으며, 또한 캐리어 웨이브(예를 들면, 인터넷을 통한 전송)의 형태로 구현되는 것도 포함된다.For example, the computer-readable recording medium includes a ROM, a RAM, a CD-ROM, a magnetic tape, a hard disk, a floppy disk, a removable storage device, a nonvolatile memory, , Optical data storage devices, and the like, as well as carrier waves (for example, transmission over the Internet).

또한, 컴퓨터로 읽을 수 있는 기록매체는 컴퓨터 통신망으로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 읽을 수 있는 코드로서 저장되고 실행될 수 있다.In addition, the computer readable recording medium may be distributed and executed in a computer system connected to a computer communication network, and may be stored and executed as a code readable in a distributed manner.

전술한 본 발명에 따른 비디오 부호화에서 화면내 예측 부호화 방법 및/또는 화면간 예측 부호화 방법에 대한 바람직한 실시예에 대한 설명과 이의 역과정인 복호화 방법에 대해여 설명하였지만, 이들 실시예는 예시적인 것이며 한정적인 것이 아니다. 본 발명이 속하는 기술분야에서 통상의 지식을 지닌 자라면 본 발명의 사상과 첨부된 특허청구범위에 제시된 권리범위에서 벗어나지 않으면서 다양한 변화와 수정을 가할 수 있음을 이해할 것이다.In the video coding according to the present invention, the intra-picture prediction coding method and / or the inter-picture prediction coding method are described. However, the embodiments are merely illustrative It is not limited. It will be understood by those skilled in the art that various changes and modifications may be made therein without departing from the spirit of the invention and the scope of the appended claims.

Claims (6)

입력되는 비디오 비트스트림으로부터 복호화 단위 블록으로 분할하는 단계;
상기 복호화 단위 블록으로부터 더 이상 분할되지 않는 하위 블록들로 분할하는 단계;
상기 더 이상 분할되지 않는 하위 블록들 각각에 대해, 하위 블록이 화면내 예측 부호화 모드로 부호화되었는지 화면간 예측 부호화 모드로 부호화되었는지를 나타내는 예측 부호화 모드 정보를 복호화하는 단계;
상기 예측 부호화 모드 정보에 따라, 상기 더 이상 분할되지 않는 하위 블록들 각각에 대해 화면내 예측 또는 화면간 예측 복호화를 수행하는 단계; 및
상기 더 이상 분할되지 않는 하위 블록들 각각에 대한 화면내 예측 또는 화면간 예측 복호화 결과를 이용하여, 상기 더 이상 분할되지 않는 하위 블록들 각각을 복원하는 단계
를 포함하는 것을 특징으로 하는 비디오 복호화에서의 분할 블록 복호화 방법.
Dividing an input video bitstream into decoding unit blocks;
Dividing the decoding unit block into sub-blocks that are not further divided;
Decoding, for each of the sub-blocks not further divided, predictive encoding mode information indicating whether a sub-block is coded in an intra prediction encoding mode or an inter picture prediction encoding mode;
Performing intra-picture prediction or inter-picture prediction decoding on each of the sub-blocks that are not further divided according to the predictive coding mode information; And
Reconstructing each of the sub-blocks that are not further divided using the intra-picture prediction or the inter-picture prediction decoding result for each of the sub-blocks that are not further divided,
And decodes the divided block into a plurality of blocks.
제1항에 있어서,
상기 화면내 예측 또는 화면간 예측 복호화를 수행하는 단계는,
상기 복호화 단위 블록으로부터 분할된 상기 더 이상 분할되지 않는 하위 블록들 중에서, 적어도 하나의 하위 블록의 예측 부호화 모드가 화면내 예측 모드로 복호화된 경우, 상기 적어도 하나의 하위 블록에 대해 화면내 예측을 수행하고,
상기 복호화 단위 블록으로부터 분할된 상기 더 이상 분할되지 않는 하위 블록들 중에서, 나머지 하위 블록의 예측 부호화 모드가 화면간 예측 모드로 복호화된 경우, 상기 나머지 하위 블록에 대해 화면간 예측을 수행하는 것을 특징으로 하는 비디오 복호화에서의 분할 블록 복호화 방법.
The method according to claim 1,
The step of performing intra-picture prediction or inter picture prediction decoding includes:
An intra-picture prediction is performed on the at least one sub-block when the predictive encoding mode of at least one sub-block among the sub-blocks not further divided from the decoded unit block is decoded into the intra-picture prediction mode, and,
And inter-picture prediction is performed on the remaining sub-blocks when the predictive encoding mode of the remaining sub-blocks is decoded in the inter-picture prediction mode from among the sub-blocks not further divided from the decoded unit block A method of decoding a divided block in video decoding.
제1항에 있어서,
상기 더 이상 분할되지 않는 하위 블록들로 분할하는 단계는,
상기 복호화 단위 블록으로부터 화면내 예측 또는 화면간 예측을 위한 예측 부호화 모드가 정해지는 더 이상 분할되지 않는 하위 블록들이 될 때까지 반복적(recursive)으로 분할 과정을 수행하는 것을 특징으로 하는 비디오 복호화에서의 분할 블록 복호화 방법.
The method according to claim 1,
Wherein dividing the sub-blocks into sub-
Wherein a dividing process is performed in a recursive manner until a prediction coding mode for intra-picture prediction or inter-picture prediction is determined from the decoding unit block to be sub-blocks which are not further divided. Block decoding method.
제3항에 있어서,
상기 더 이상 분할되지 않는 하위 블록들은,
상기 복호화 단위 블록으로부터 상기 분할 과정이 한 번 수행될 때마다, 하위 블록 깊이(depth)가 한 단계씩 증가되는 것을 특징으로 하는 비디오 복호화에서의 분할 블록 복호화 방법.
The method of claim 3,
Wherein the subblocks that are not further partitioned further comprise:
Wherein a depth of the sub-block is incremented by one step each time the dividing process is performed from the decoding unit block.
제5항에 있어서,
상기 복호화 단위 블록은 16x16 보다 큰 크기를 가지는 정방형 블록인 것을 특징으로 하는 비디오 복호화에서의 분할 블록 복호화 방법.
6. The method of claim 5,
Wherein the decoding unit block is a square block having a size larger than 16x16.
제6항에 있어서,
상기 더 이상 분할되지 않는 하위 블록들 각각에 대해, 하위 블록 크기와 같거나 2개 이상의 작은 크기의 가변 변환 커널을 사용하여 역변환을 수행하는 단계를 포함하는 것을 특징으로 하는 비디오 복호화에서의 분할 블록 복호화 방법.
The method according to claim 6,
And performing inverse transform by using a variable-size conversion kernel equal to or smaller than the sub-block size for each of the sub-blocks that are not further partitioned, in the video decoding, Way.
KR1020150010079A 2015-01-21 2015-01-21 Method for decoding partitioned block in video decoding and recording medium implementing the same KR101644967B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020150010079A KR101644967B1 (en) 2015-01-21 2015-01-21 Method for decoding partitioned block in video decoding and recording medium implementing the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020150010079A KR101644967B1 (en) 2015-01-21 2015-01-21 Method for decoding partitioned block in video decoding and recording medium implementing the same

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020110088186A Division KR101648123B1 (en) 2011-08-31 2011-08-31 Method for encoding partitioned block in video encoding, method for decoding partitioned block in video decoding and recording medium implementing the same

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020160095460A Division KR101785431B1 (en) 2016-07-27 2016-07-27 Method for decoding partitioned block in video decoding and recording medium implementing the same

Publications (2)

Publication Number Publication Date
KR20150021980A true KR20150021980A (en) 2015-03-03
KR101644967B1 KR101644967B1 (en) 2016-08-03

Family

ID=53020102

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020150010079A KR101644967B1 (en) 2015-01-21 2015-01-21 Method for decoding partitioned block in video decoding and recording medium implementing the same

Country Status (1)

Country Link
KR (1) KR101644967B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113411578A (en) * 2016-05-13 2021-09-17 夏普株式会社 Image decoding device and method, image encoding device and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050089876A (en) * 2003-01-07 2005-09-08 톰슨 라이센싱 소시에떼 아노님 Mixed inter/intra video coding of macroblock partitions
KR20110017719A (en) * 2009-08-14 2011-02-22 삼성전자주식회사 Method and apparatus for video encoding, and method and apparatus for video decoding

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050089876A (en) * 2003-01-07 2005-09-08 톰슨 라이센싱 소시에떼 아노님 Mixed inter/intra video coding of macroblock partitions
KR20110017719A (en) * 2009-08-14 2011-02-22 삼성전자주식회사 Method and apparatus for video encoding, and method and apparatus for video decoding

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
J. Kim, et al. Enlarging MB size for high fidelity video coding beyond HD. ITU-T VCEG. VCEG-AJ21. Oct. 8-10, 2008. pp.1-6* *
P. Chenn, et al. Video Coding Using Extended Block Sizes. ITU SG 16 Contribution 123. COM16-C123-E. Jan. 2009. pp.1-4* *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113411578A (en) * 2016-05-13 2021-09-17 夏普株式会社 Image decoding device and method, image encoding device and method
CN113411578B (en) * 2016-05-13 2024-04-12 夏普株式会社 Image decoding device and method, image encoding device and method

Also Published As

Publication number Publication date
KR101644967B1 (en) 2016-08-03

Similar Documents

Publication Publication Date Title
JP7171646B2 (en) Divided block encoding method in video encoding, divided block decoding method in video decoding, and recording medium realizing the same
KR101250608B1 (en) Method for encoding partitioned block in video encoding
KR101644969B1 (en) Method for decoding partitioned block in video decoding and recording medium implementing the same
KR102398385B1 (en) Method for encoding a partitioned block in video coding
KR102062894B1 (en) Method for decoding partitioned block in video decoding and recording medium implementing the same
KR101644967B1 (en) Method for decoding partitioned block in video decoding and recording medium implementing the same
KR101644970B1 (en) Method for decoding partitioned block in video decoding and recording medium implementing the same
KR101648123B1 (en) Method for encoding partitioned block in video encoding, method for decoding partitioned block in video decoding and recording medium implementing the same
KR101857600B1 (en) Method for decoding partitioned block in video decoding and recording medium implementing the same
KR101857585B1 (en) Method for decoding partitioned block in video decoding and recording medium implementing the same
KR101857591B1 (en) Method for decoding partitioned block in video decoding and recording medium implementing the same
KR101857598B1 (en) Method for decoding partitioned block in video decoding and recording medium implementing the same
KR101857583B1 (en) Method for decoding partitioned block in video decoding and recording medium implementing the same
KR101785431B1 (en) Method for decoding partitioned block in video decoding and recording medium implementing the same
KR102258057B1 (en) Method for decoding partitioned block in video decoding and recording medium implementing the same

Legal Events

Date Code Title Description
A107 Divisional application of patent
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
AMND Amendment
X701 Decision to grant (after re-examination)
A107 Divisional application of patent
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20190625

Year of fee payment: 4