KR20180041576A - Image encoding method/apparatus, image decoding method/apparatus and and recording medium for storing bitstream - Google Patents

Image encoding method/apparatus, image decoding method/apparatus and and recording medium for storing bitstream Download PDF

Info

Publication number
KR20180041576A
KR20180041576A KR1020170127939A KR20170127939A KR20180041576A KR 20180041576 A KR20180041576 A KR 20180041576A KR 1020170127939 A KR1020170127939 A KR 1020170127939A KR 20170127939 A KR20170127939 A KR 20170127939A KR 20180041576 A KR20180041576 A KR 20180041576A
Authority
KR
South Korea
Prior art keywords
block
partitioning
division
target block
binary tree
Prior art date
Application number
KR1020170127939A
Other languages
Korean (ko)
Other versions
KR102511611B1 (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 CN201780063610.8A priority Critical patent/CN109937570B/en
Priority to PCT/KR2017/011213 priority patent/WO2018070786A1/en
Priority to CN202310596456.8A priority patent/CN116489406A/en
Priority to CN202310508607.XA priority patent/CN116389726A/en
Priority to CN202310511201.7A priority patent/CN116405669A/en
Priority to CN202310596009.2A priority patent/CN116489405A/en
Priority to CN202310512086.5A priority patent/CN116320404A/en
Priority to CN202310594159.XA priority patent/CN116489394A/en
Priority to CN202310511853.0A priority patent/CN116320403A/en
Priority to CN202310595313.5A priority patent/CN116489400A/en
Priority to CN202310595418.0A priority patent/CN116489402A/en
Priority to CN202310595869.4A priority patent/CN116489404A/en
Priority to CN202310595151.5A priority patent/CN116489398A/en
Priority to CN202310593832.8A priority patent/CN116489393A/en
Priority to CN202310512074.2A priority patent/CN116405670A/en
Priority to US16/341,792 priority patent/US11057624B2/en
Priority to CN202310595082.8A priority patent/CN116489396A/en
Priority to CN202310595129.0A priority patent/CN116489397A/en
Priority to CN202310595161.9A priority patent/CN116489399A/en
Priority to CN202310595383.0A priority patent/CN116489401A/en
Priority to CN202310595849.7A priority patent/CN116489403A/en
Priority to CN202310592033.9A priority patent/CN116489392A/en
Priority to CN202310594432.9A priority patent/CN116489395A/en
Publication of KR20180041576A publication Critical patent/KR20180041576A/en
Priority to US17/328,273 priority patent/US11659178B2/en
Priority to US17/818,650 priority patent/US20220400258A1/en
Priority to KR1020230033494A priority patent/KR20230042236A/en
Application granted granted Critical
Publication of KR102511611B1 publication Critical patent/KR102511611B1/en
Priority to US18/313,281 priority patent/US11778184B1/en
Priority to US18/468,561 priority patent/US11909971B2/en
Priority to US18/468,547 priority patent/US11902521B2/en
Priority to US18/468,555 priority patent/US11909970B2/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/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • H04N19/14Coding unit complexity, e.g. amount of activity or edge presence estimation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/119Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/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/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/563Motion estimation with padding, i.e. with filling of non-object values in an arbitrarily shaped picture block or region for estimation purposes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/80Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
    • H04N19/82Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation involving filtering within a prediction loop
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/96Tree coding, e.g. quad-tree coding

Landscapes

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

Abstract

The present invention provides an image encoding method and an image decoding method. The image encoding method according to the present invention includes a first division step of dividing a current image into a plurality of blocks and a second division step of dividing a division target block including the boundary of the current image among the plurality of blocks into a plurality of lower blocks. The second division step is recursively performed by using the lower block including the boundary of the current image as the division target block until there is not the lower block including the boundary of the current image among the lower blocks. Accordingly, the present invention can improve the compression efficiency of the image.

Description

영상 부호화 방법/장치, 영상 복호화 방법/장치 및 비트스트림을 저장한 기록 매체{IMAGE ENCODING METHOD/APPARATUS, IMAGE DECODING METHOD/APPARATUS AND AND RECORDING MEDIUM FOR STORING BITSTREAM}BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image encoding method / apparatus, an image decoding method / apparatus, and a recording medium storing a bitstream.

본 발명은 영상 부호화/복호화 방법 및 장치에 관한 것이다. 특히, 영상 부호화/복호화에 있어서의 영상 경계 처리 방법 및 장치에 관한 것이다. 더욱 상세하게는, 영상의 패딩 및 트리 구조에서 영상의 경계를 효율적으로 처리하기 위한 방법 및 장치에 관한 것이다.The present invention relates to an image encoding / decoding method and apparatus. And more particularly, to a method and apparatus for processing image boundaries in image encoding / decoding. More particularly, the present invention relates to a method and apparatus for efficiently processing boundaries of an image in a padding and tree structure of an image.

최근, 인터넷에서는 동영상과 같은 멀티미디어 데이터의 수요가 급격히 증가하고 있다. 하지만 채널(Channel)의 대역폭(Bandwidth)이 발전하는 속도는 급격히 증가하고 있는 멀티미디어 데이터의 양을 따라가기 힘든 상황이다. 이러한 추세의 일환으로 국제 표준화 기구인 ITU-T의 VCEG(Video Coding Expert Group)과 ISO/IEC의 MPEG(Moving Picture Expert Group)에서는 꾸준한 공동 연구를 통하여 동영상 압축 표준을 연구하는 중이다.In recent years, demand for multimedia data such as video has been rapidly increasing on the Internet. However, the rate at which the bandwidth of a channel develops is hard to follow the amount of multimedia data that is rapidly increasing. As part of this trend, Video Coding Expert Group (VCEG) of the International Organization for Standardization (ITU-T) and MPEG (Moving Picture Expert Group) of ISO / IEC are studying video compression standards through cooperative research.

동영상 압축은 크게 화면 내 예측, 화면 간 예측, 변환, 양자화, 엔트로피(Entropy coding) 부호화, 인루프 필터(In-loop filter)로 구성된다. 이 중, 화면 내 예측은 현재 블록 주변에 존재하는 복원된 화소들을 이용하여 현재 블록을 위한 예측 블록을 생성하는 기술을 말한다. 이 때 부호화 과정이 블록 단위로 수행되기 때문에 영상의 크기가 블록 크기의 배수가 되지 않는다면 블록 단위로 부호화가 수행되기 어렵다는 문제점이 존재한다.The video compression consists largely of intra-picture prediction, inter-picture prediction, transform, quantization, entropy coding, and an in-loop filter. Among them, intra prediction is a technique of generating a prediction block for a current block using reconstructed pixels existing around the current block. In this case, since the encoding process is performed on a block-by-block basis, if the size of the image does not become a multiple of the block size, there is a problem that encoding is not performed on a block-by-block basis.

본 발명은 영상의 부호화/복호화에 있어서, 블록 단위로 영상의 크기를 맞추기 위한 패딩 방법 및 장치를 제공하는 것을 목적으로 한다.An object of the present invention is to provide a padding method and apparatus for adjusting the size of an image on a block-by-block basis in coding / decoding an image.

또한, 본 발명은 영상의 부호화/복호화에 있어서, 영상 경계 처리에 효율적인 블록 분할 방법 및 장치를 제공하는 것을 목적으로 한다.It is another object of the present invention to provide a method and an apparatus for efficiently dividing a block into a plurality of blocks.

또한, 본 발명은 본 발명에 따른 영상 부호화 방법/장치에 의해 생성된 비트스트림을 저장하는 컴퓨터 판독 가능한 기록 매체를 제공하는 것을 목적으로 한다.It is another object of the present invention to provide a computer-readable recording medium storing a bitstream generated by a video encoding method / apparatus according to the present invention.

본 발명에 따른 영상 부호화 방법은, 현재 영상을 복수의 블록들로 분할하는 제1 분할 단계, 및 상기 복수의 블록들 중 상기 현재 영상의 경계를 포함하는 분할 대상 블록을 복수의 하위 블록들로 분할하는 제2 분할 단계를 포함하고, 상기 제2 분할 단계는, 상기 하위 블록들 중 상기 현재 영상의 경계를 포함하는 하위 블록이 존재하지 않을 때까지, 상기 현재 영상의 경계를 포함하는 하위 블록을 상기 분할 대상 블록으로하여 재귀적으로 수행될 수 있다.A method of encoding an image according to the present invention includes a first dividing step of dividing a current image into a plurality of blocks and a division target block including a boundary of the current image among the plurality of blocks into a plurality of sub- And a second subdivision step of dividing the subblock including the boundary of the current image into a plurality of subblocks, It can be recursively performed as a division target block.

본 발명에 따른 영상 부호화 방법에 있어서, 상기 제1 분할 단계는, 상기 현재 영상을 동일한 크기의 복수의 최대 블록으로 분할하는 단계일 수 있다.In the image encoding method according to the present invention, the first segmentation step may be a step of dividing the current image into a plurality of maximum blocks having the same size.

본 발명에 따른 영상 부호화 방법에 있어서, 상기 제2 분할 단계는, 상기 분할 대상 블록에 대해 쿼드 트리 분할 또는 이진 트리 분할을 수행하는 단계일 수 있다.In the image encoding method according to the present invention, the second segmentation step may be a step of performing a quadtree segmentation or a binary tree segmentation on the segmentation target block.

본 발명에 따른 영상 부호화 방법에 있어서, 상기 분할 대상 블록이 상기 쿼드 트리 분할이 가능한 크기인 경우, 상기 제2 분할 단계는 상기 분할 대상 블록에 대해 상기 쿼드 트리 분할을 수행하고, 상기 분할 대상 블록이 상기 쿼드 트리 분할이 가능하지 않은 크기인 경우, 상기 제2 분할 단계는 상기 분할 대상 블록에 대해 상기 이진 트리 분할을 수행할 수 있다.In the image coding method according to the present invention, when the partitioning target block is of a size that can be quad-tree partitioned, the second partitioning step performs the quadtree partitioning on the partitioning target block, If the quadtree partitioning is not possible, the second partitioning step may perform the binary tree partitioning on the partitioning target block.

본 발명에 따른 영상 부호화 방법에 있어서, 상기 제2 분할 단계에서 상기 분할 대상 블록에 대해 상기 쿼드 트리 분할 또는 상기 이진 트리 분할이 수행된 경우, 상기 분할 대상 블록이 쿼드 트리 분할되는지의 여부를 나타내는 제1 분할 정보 또는 상기 분할 대상 블록이 이진 트리 분할되는지의 여부를 나타내는 제2 분할 정보는 부호화되지 않을 수 있다.In the image coding method according to the present invention, when the quadtree partitioning or the binary tree partitioning is performed on the partitioning target block in the second partitioning step, The first division information indicating whether or not the division target block is divided into binary trees may not be coded.

본 발명에 따른 영상 부호화 방법에 있어서, 상기 제2 분할 단계에서 상기 분할 대상 블록에 대해 상기 이진 트리 분할이 수행된 경우, 상기 이진 트리 분할의 분할 방향은, 상기 분할 대상 블록에 포함되고 동시에 상기 현재 영상의 경계 내의 영역인 부호화 대상 블록의 형태에 기초하여 결정될 수 있다.In the image coding method according to the present invention, when the binary tree segmentation is performed on the segmentation target block in the second segmentation step, the dividing direction of the binary tree segmentation is included in the segmentation object block, Can be determined based on the type of the block to be coded which is an area within the boundary of the image.

본 발명에 따른 영상 부호화 방법에 있어서, 상기 제2 분할 단계에서 상기 분할 대상 블록에 대해 상기 이진 트리 분할이 수행된 경우, 상기 이진 트리 분할의 분할 방향을 나타내는 분할 방향 정보는 부호화되지 않을 수 있다.In the image encoding method according to the present invention, when the binary tree segmentation is performed on the segmentation target block in the second segmentation step, the segmentation direction information indicating the segmentation direction of the binary tree segmentation may not be encoded.

본 발명에 따른 영상 부호화 방법에 있어서, 상기 제2 분할 단계는, 상기 분할 대상 블록에 포함되고 동시에 상기 현재 영상의 경계 밖의 영역인 남은 영역의 크기와 소정의 임계값을 비교하는 단계를 더 포함하고, 상기 비교 결과에 기초하여, 상기 분할 대상 블록에 대해 상기 쿼드 트리 분할 및 상기 이진 트리 분할 중 하나를 수행할 수 있다.In the image encoding method according to the present invention, the second segmenting step may further include a step of comparing a size of a remaining area included in the segmentation target block and outside the boundary of the current image with a predetermined threshold value And perform one of the quadtree partitioning and the binary tree partitioning on the partitioning target block based on the comparison result.

본 발명에 따른 영상 부호화 방법에 있어서, 상기 남은 영역의 크기는 상기 남은 영역의 가로 길이 및 세로 길이 중 작은 쪽이고, 상기 제2 분할 단계는, 상기 남은 영역의 크기가 상기 소정의 임계값보다 큰 경우, 상기 분할 대상 블록에 대해 상기 쿼드 트리 분할을 수행하고, 상기 남은 영역의 크기가 상기 소정의 임계값보다 작은 경우, 상기 분할 대상 블록에 대해 상기 이진 트리 분할을 수행할 수 있다.In the image coding method according to the present invention, the size of the remaining area may be smaller than the width and the length of the remaining area, and the second dividing step may be performed such that the size of the remaining area is larger than the predetermined threshold value The quadtree partitioning may be performed on the partitioning target block and the binary tree partitioning may be performed on the partitioning target block when the size of the remaining area is smaller than the predetermined threshold value.

본 발명에 따른 영상 부호화 방법에 있어서, 상기 제2 분할 단계는, 상기 분할 대상 블록에 대해 이진 트리 분할을 수행하는 단계이고, 상기 이진 트리 분할의 분할 방향은, 상기 분할 대상 블록에 포함되고 동시에 상기 현재 영상의 경계 밖의 영역인 남은 영역의 형태에 기초하여 결정될 수 있다.In the image coding method according to the present invention, the second dividing step is a step of performing a binary tree division on the partitioning target block, and the partitioning direction of the binary tree partitioning is included in the partitioning object block, And can be determined based on the shape of the remaining area which is an area outside the boundary of the current image.

본 발명에 따른 영상 부호화 방법에 있어서, 상기 이진 트리 분할의 분할 방향은, 상기 남은 영역의 형태가 세로로 긴 블록인 경우, 세로 방향이고, 상기 남은 영역의 형태가 가로로 긴 블록인 경우, 가로 방향일 수 있다.In the image coding method according to the present invention, the dividing direction of the binary tree division may be a vertical direction when the shape of the remaining area is a vertically long block, a horizontal direction when the shape of the remaining area is a horizontally long block, Direction.

본 발명에 따른 영상 복호화 방법은, 현재 영상을 복수의 블록들로 분할하는 제1 분할 단계, 및 상기 복수의 블록들 중 상기 현재 영상의 경계를 포함하는 분할 대상 블록을 복수의 하위 블록들로 분할하는 제2 분할 단계를 포함하고, 상기 제2 분할 단계는, 상기 하위 블록들 중 상기 현재 영상의 경계를 포함하는 하위 블록이 존재하지 않을 때까지, 상기 현재 영상의 경계를 포함하는 하위 블록을 상기 분할 대상 블록으로하여 재귀적으로 수행될 수 있다.A method of decoding an image according to the present invention includes a first dividing step of dividing a current image into a plurality of blocks, and a dividing step of dividing a division target block including the boundary of the current image among the plurality of blocks into a plurality of sub- And a second subdivision step of dividing the subblock including the boundary of the current image into a plurality of subblocks, It can be recursively performed as a division target block.

본 발명에 따른 영상 복호화 방법에 있어서, 상기 제2 분할 단계는, 상기 분할 대상 블록에 대해 쿼드 트리 분할 또는 이진 트리 분할을 수행하는 단계일 수 있다.In the image decoding method according to the present invention, the second segmentation step may be a step of performing a quadtree segmentation or a binary tree segmentation on the segmentation target block.

본 발명에 따른 영상 복호화 방법에 있어서, 상기 분할 대상 블록이 상기 쿼드 트리 분할이 가능한 크기인 경우, 상기 제2 분할 단계는 상기 분할 대상 블록에 대해 상기 쿼드 트리 분할을 수행하고, 상기 분할 대상 블록이 상기 쿼드 트리 분할이 가능하지 않은 크기인 경우, 상기 제2 분할 단계는 상기 분할 대상 블록에 대해 상기 이진 트리 분할을 수행할 수 있다.In the image decoding method according to the present invention, when the partitioning target block is of a size that can be quad-tree partitioned, the second partitioning step performs the quadtree partitioning on the partitioning target block, If the quadtree partitioning is not possible, the second partitioning step may perform the binary tree partitioning on the partitioning target block.

본 발명에 따른 영상 복호화 방법에 있어서, 상기 제2 분할 단계에서 상기 분할 대상 블록에 대해 상기 쿼드 트리 분할 또는 상기 이진 트리 분할이 수행된 경우, 상기 분할 대상 블록이 쿼드 트리 분할되는지의 여부를 나타내는 제1 분할 정보 또는 상기 분할 대상 블록이 이진 트리 분할되는지의 여부를 나타내는 제2 분할 정보는 비트스트림으로부터 복호화되지 않고, 소정의 값으로 유도될 수 있다.In the image decoding method according to the present invention, when the quadtree partitioning or the binary tree partitioning is performed on the partitioning target block in the second partitioning step, The second division information indicating whether the first division information or the division target block is binary tree-divided is not decoded from the bit stream but may be derived to a predetermined value.

본 발명에 따른 영상 복호화 방법에 있어서, 상기 제2 분할 단계에서 상기 분할 대상 블록에 대해 상기 이진 트리 분할이 수행된 경우, 상기 이진 트리 분할의 분할 방향은, 상기 분할 대상 블록에 포함되고 동시에 상기 현재 영상의 경계 내의 영역인 복호화 대상 블록의 형태에 기초하여 결정될 수 있다.In the image decoding method according to the present invention, when the binary tree segmentation is performed on the segmentation target block in the second segmentation step, the dividing direction of the binary tree segmentation is included in the segmentation object block, And can be determined based on the type of the block to be decoded which is an area within the boundary of the image.

본 발명에 따른 영상 복호화 방법에 있어서, 상기 제2 분할 단계에서 상기 분할 대상 블록에 대해 상기 이진 트리 분할이 수행된 경우, 상기 이진 트리 분할의 분할 방향을 나타내는 분할 방향 정보는 비트스트림으로부터 복호화되지 않고, 소정의 값으로 유도될 수 있다.In the image decoding method according to the present invention, when the binary tree division is performed on the partitioning target block in the second partitioning step, the partitioning direction information indicating the partitioning direction of the binary tree partitioning is not decoded from the bitstream , And can be derived to a predetermined value.

본 발명에 따른 영상 복호화 방법에 있어서, 상기 제2 분할 단계는, 상기 분할 대상 블록에 포함되고 동시에 상기 현재 영상의 경계 밖의 영역인 남은 영역의 크기와 소정의 임계값을 비교하는 단계를 더 포함하고, 상기 비교 결과에 기초하여, 상기 분할 대상 블록에 대해 상기 쿼드 트리 분할 및 상기 이진 트리 분할 중 하나를 수행할 수 있다.In the image decoding method according to the present invention, the second dividing step may further include a step of comparing a size of a remaining area included in the dividing target block and outside the boundary of the current image with a predetermined threshold value And perform one of the quadtree partitioning and the binary tree partitioning on the partitioning target block based on the comparison result.

본 발명에 따른 영상 복호화 방법에 있어서, 상기 남은 영역의 크기는 상기 남은 영역의 가로 길이 및 세로 길이 중 작은 쪽이고, 상기 제2 분할 단계는, 상기 남은 영역의 크기가 상기 소정의 임계값보다 큰 경우, 상기 분할 대상 블록에 대해 상기 쿼드 트리 분할을 수행하고, 상기 남은 영역의 크기가 상기 소정의 임계값보다 작은 경우, 상기 분할 대상 블록에 대해 상기 이진 트리 분할을 수행할 수 있다.In the image decoding method according to the present invention, the size of the remaining area is a smaller one of a horizontal length and a vertical length of the remaining area, and in the second dividing step, the size of the remaining area is larger than the predetermined threshold value The quadtree partitioning may be performed on the partitioning target block and the binary tree partitioning may be performed on the partitioning target block when the size of the remaining area is smaller than the predetermined threshold value.

본 발명에 따른 영상 복호화 방법에 있어서, 상기 제2 분할 단계는, 상기 분할 대상 블록에 대해 이진 트리 분할을 수행하는 단계이고, 상기 이진 트리 분할의 분할 방향은, 상기 분할 대상 블록에 포함되고 동시에 상기 현재 영상의 경계 밖의 영역인 남은 영역의 형태에 기초하여 결정될 수 있다.In the image decoding method according to the present invention, the second dividing step is a step of performing a binary tree division on the partitioning target block, and the dividing direction of the binary tree partitioning is included in the partitioning object block, And can be determined based on the shape of the remaining area which is an area outside the boundary of the current image.

본 발명에 따른 영상 복호화 방법에 있어서, 상기 이진 트리 분할의 분할 방향은, 상기 남은 영역의 형태가 세로로 긴 블록인 경우, 세로 방향이고, 상기 남은 영역의 형태가 가로로 긴 블록인 경우, 가로 방향일 수 있다.In the image decoding method according to the present invention, the dividing direction of the binary tree division may be a vertical direction when the shape of the remaining area is a vertically long block, a horizontal direction when the shape of the remaining area is a horizontally long block, Direction.

본 발명에 따른 컴퓨터 판독 가능한 기록 매체는, 본 발명에 따른 영상 부호화 방법에 의해 생성된 비트스트림을 저장할 수 있다.The computer readable recording medium according to the present invention can store a bit stream generated by the image encoding method according to the present invention.

본 발명에 따르면, 영상의 부호화/복호화에 있어서, 블록 단위로 영상의 크기를 맞추기 위한 패딩 방법 및 장치가 제공될 수 있다. According to the present invention, in coding / decoding an image, a padding method and apparatus for adjusting the size of an image on a block-by-block basis can be provided.

또한, 본 발명에 따르면, 영상의 부호화/복호화에 있어서, 영상 경계 처리에 효율적인 블록 분할 방법 및 장치가 제공될 수 있다.Further, according to the present invention, a block dividing method and an apparatus for efficient image boundary processing in image coding / decoding can be provided.

또한, 본 발명에 따르면, 본 발명에 따른 영상 부호화 방법/장치에 의해 생성된 비트스트림을 저장하는 컴퓨터 판독 가능한 기록 매체를 제공될 수 있다.According to another aspect of the present invention, there is provided a computer-readable recording medium storing a bit stream generated by a video encoding method / apparatus according to the present invention.

본 발명에 따른 패딩 방법 및 장치 또는 블록 분할 방법 및 장치를 이용하여 영상의 압축 효율을 향상시킬 수 있다.The compression efficiency of the image can be improved by using the padding method and apparatus or the block dividing method and apparatus according to the present invention.

도 1은 본 발명의 일 실시예에 따른 영상 부호화 장치를 간략하게 나타낸 블록 구성도이다.
도 2는 영상 부호화/복호화 장치에 정의된 화면 내 예측 모드의 종류를 도시한 것이다.
도 3은 평면 모드에 기반한 화면 내 예측 방법을 도시한 것이다.
도 4는 화면 내 예측을 위한 참조 화소를 도시한 것이다.
도 5는 수평 모드와 수직 모드에 기반한 화면 내 예측 방법을 도시한 것이다.
도 6은 본 발명의 일 실시예에 따른 영상 복호화 장치를 간략하게 나타낸 블록 구성도이다.
도 7은 본 발명의 일 실시예에 따른 패딩 과정을 설명하기 위한 도면이다.
도 8a 및 8b는 본 발명에 따른 패딩 과정을 설명하기 위한 도면이다.
도 9는 도 1의 영상 분할부(101)의 동작을 설명하기 위한 도면이다.
도 10은 본 발명에 따른 복호화기에서의 동작을 설명하기 위한 도면이다.
도 11은 현재 영상의 크기가 최대 블록의 크기의 배수가 아닌 경우를 예시적으로 도시한 도면이다.
도 12a 내지 도 12e는 본 발명에 일 실시예 따른 영상 분할 방법을 설명하기 위한 예시도이다.
도 13a 내지 도 13e는 본 발명에 다른 실시예 따른 영상 분할 방법을 설명하기 위한 예시도이다.
1 is a block diagram schematically illustrating an image encoding apparatus according to an embodiment of the present invention.
FIG. 2 shows the types of intra prediction modes defined in the image encoding / decoding apparatus.
FIG. 3 illustrates an in-screen prediction method based on a planar mode.
Fig. 4 shows reference pixels for intra-frame prediction.
FIG. 5 illustrates an intra prediction method based on a horizontal mode and a vertical mode.
FIG. 6 is a block diagram of a video decoding apparatus according to an embodiment of the present invention. Referring to FIG.
7 is a diagram for explaining a padding process according to an embodiment of the present invention.
8A and 8B are views for explaining a padding process according to the present invention.
Fig. 9 is a diagram for explaining the operation of the image divider 101 of Fig.
FIG. 10 is a diagram for explaining an operation in the decoder according to the present invention.
11 is a diagram illustrating a case where the size of the current image is not a multiple of the maximum block size.
12A to 12E are diagrams for explaining an image dividing method according to an embodiment of the present invention.
13A to 13E are diagrams for explaining an image dividing method according to another 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. Like reference numerals are used for like elements in describing each drawing.

제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.

이하, 첨부한 도면들을 참조하여, 본 발명의 실시예들을 상세하게 설명한다. 이하, 도면상의 동일한 구성요소에 대해서는 동일한 참조부호를 사용하고 동일한 구성요소에 대해서 중복된 설명은 생략한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. Hereinafter, the same reference numerals will be used for the same constituent elements in the drawings, and redundant explanations for the same constituent elements will be omitted.

도 1은 본 발명의 일실시예에 따른 영상 부호화 장치를 나타낸 블록도이다.1 is a block diagram illustrating an image encoding apparatus according to an embodiment of the present invention.

도 1을 참조하면, 영상 부호화 장치(100)는 영상 분할부(101),화면 내 예측부(102), 화면 간 예측부(103), 감산부(104), 변환부(105), 양자화부(106), 엔트로피 부호화부(107), 역양자화부(108), 역변환부(109), 증산부(110), 필터부(111) 및 메모리(112)를 포함할 수 있다.1, an image encoding apparatus 100 includes an image division unit 101, an intra-frame prediction unit 102, an inter-frame prediction unit 103, a subtraction unit 104, a conversion unit 105, An inverse transform unit 106, an entropy encoding unit 107, an inverse quantization unit 108, an inverse transformation unit 109, a multiplication unit 110, a filter unit 111, and a memory 112.

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

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

영상 분할부(100)는 입력된 영상을 적어도 하나의 블록으로 분할할 수 있다. 이 때, 입력된 영상은 픽처, 슬라이스, 타일, 세그먼트 등 다양한 형태와 크기를 가질 수 있다. 블록은 부호화 단위(CU), 예측 단위(PU) 또는 변환 단위(TU)를 의미할 수 있다. 상기 분할은 쿼드 트리(Quadtree) 또는 바이너리 트리(Biniary tree) 중 적어도 하나에 기반하여 수행될 수 있다. 쿼드 트리는 상위 블록을 너비와 높이가 상위 블록의 절반인 하위 블록으로 사분할하는 방식이다. 바이너리 트리는 상위 블록을 너비 또는 높이 중 어느 하나가 상위 블록의 절반인 하위 블록으로 이분할하는 방식이다. 전술한 바이너리 트리 기반의 분할을 통해, 블록은 정방형뿐만 아니라 비정방형의 형태를 가질 수 있다.The image divider 100 may divide the input image into at least one block. At this time, the input image may have various shapes and sizes such as a picture, a slice, a tile, and a segment. A block may mean a coding unit (CU), a prediction unit (PU), or a conversion unit (TU). The partitioning may be performed based on at least one of a quadtree or a binary tree. The quad tree is a method of dividing the upper block into sub-blocks whose width and height are half of the upper block. A binary tree is a method of dividing an upper block into sub-blocks, either width or height, which is half of the upper block. Through the binary tree-based partitioning described above, a block can have a square as well as a non-square shape.

이하, 본 발명의 실시예에서는 부호화 단위는 부호화를 수행하는 단위의 의미로 사용할 수도 있고, 복호화를 수행하는 단위의 의미로 사용할 수도 있다.Hereinafter, in the embodiment of the present invention, a coding unit may be used as a unit for performing coding, or may be used as a unit for performing decoding.

예측부(102, 103)는 인터 예측을 수행하는 화면 간 예측부(103)와 인트라 예측을 수행하는 화면 내 예측부(102)를 포함할 수 있다. 예측 단위에 대해 인터 예측을 사용할 것인지 또는 인트라 예측을 수행할 것인지를 결정하고, 각 예측 방법에 따른 구체적인 정보(예컨대, 인트라 예측 모드, 모션 벡터, 참조 픽쳐 등)를 결정할 수 있다. 이때, 예측이 수행되는 처리 단위와 예측 방법 및 구체적인 내용이 정해지는 처리 단위는 다를 수 있다. 예컨대, 예측의 방법과 예측 모드 등은 예측 단위로 결정되고, 예측의 수행은 변환 단위로 수행될 수도 있다.The predicting units 102 and 103 may include an inter-picture predicting unit 103 for performing inter-prediction and an intra-picture predicting unit 102 for performing intra-prediction. It is possible to determine whether to use inter prediction or intra prediction for a prediction unit and to determine concrete information (e.g., intra prediction mode, motion vector, reference picture, etc.) according to each prediction method. At this time, the processing unit in which the prediction is performed may be different from the processing unit in which the prediction method and the concrete contents are determined. For example, the method of prediction, the prediction mode and the like are determined as a prediction unit, and the execution of the prediction may be performed in a conversion unit.

생성된 예측 블록과 원본 블록 사이의 잔차값(잔차 블록)은 변환부(105)로 입력될 수 있다. 또한, 예측을 위해 사용한 예측 모드 정보, 모션 벡터 정보 등은 잔차값과 함께 엔트로피 부호화부(107)에서 부호화되어 복호화기에 전달될 수 있다. 특정한 부호화 모드를 사용할 경우, 예측부(102, 103)를 통해 예측 블록을 생성하지 않고, 원본 블록을 그대로 부호화하여 복호화부에 전송하는 것도 가능하다.The residual value (residual block) between the generated prediction block and the original block can be input to the conversion unit 105. In addition, the prediction mode information, motion vector information, and the like used for prediction can be encoded by the entropy encoding unit 107 and transmitted to the decoder along with the residual value. When a specific encoding mode is used, it is also possible to encode the original block as it is without generating a prediction block through the predicting units 102 and 103, and to transmit it to the decoding unit.

화면 내 예측부(102)는 현재 픽쳐 내의 화소 정보인 현재 블록 주변의 참조 픽셀 정보를 기초로 예측 블록을 생성할 수 있다. 인트라 예측이 수행될 현재 블록의 주변 블록의 예측 모드가 인터 예측인 경우, 인터 예측이 적용된 주변 블록에 포함되는 참조 픽셀을, 인트라 예측이 적용된 주변의 다른 블록 내의 참조 픽셀로 대체될 수 있다. 즉, 참조 픽셀이 가용하지 않는 경우, 가용하지 않은 참조 픽셀 정보를, 가용한 참조 픽셀 중 적어도 하나의 참조 픽셀로 대체하여 사용할 수 있다.The intra prediction unit 102 can generate a prediction block based on reference pixel information around the current block which is pixel information in the current picture. If the prediction mode of the neighboring block of the current block in which intra prediction is to be performed is inter prediction, a reference pixel included in a neighboring block to which inter prediction is applied may be replaced with a reference pixel in another neighboring block to which intra prediction is applied. That is, when the reference pixel is not available, the reference pixel information that is not available may be replaced with at least one reference pixel of the available reference pixels.

인트라 예측에서 예측 모드는 참조 픽셀 정보를 예측 방향에 따라 사용하는 방향성 예측 모드와 예측을 수행시 방향성 정보를 사용하지 않는 비방향성 모드를 가질 수 있다. 휘도 정보를 예측하기 위한 모드와 색차 정보를 예측하기 위한 모드가 상이할 수 있고, 색차 정보를 예측하기 위해 휘도 정보를 예측하기 위해 사용된 인트라 예측 모드 정보 또는 예측된 휘도 신호 정보를 활용할 수 있다.In intra prediction, the prediction mode may have a directional prediction mode in which reference pixel information is used according to a prediction direction, and a non-directional mode in which direction information is not used in prediction. The mode for predicting the luminance information may be different from the mode for predicting the chrominance information and the intra prediction mode information or predicted luminance signal information used for predicting the luminance information may be utilized to predict the chrominance information.

화면 내 예측부(102)는 AIS(Adaptive Intra Smoothing) 필터, 참조 화소 보간부, DC 필터를 포함할 수 있다. AIS 필터는 현재 블록의 참조 화소에 필터링을 수행하는 필터로써 현재 예측 단위의 예측 모드에 따라 필터의 적용 여부를 적응적으로 결정할 수 있다. 현재 블록의 예측 모드가 AIS 필터링을 수행하지 않는 모드일 경우, AIS 필터는 적용되지 않을 수 있다.The intra prediction unit 102 may include an Adaptive Intra Smoothing (AIS) filter, a reference pixel interpolator, and a DC filter. The AIS filter is a filter that performs filtering on the reference pixels of the current block and can adaptively determine whether to apply the filter according to the prediction mode of the current prediction unit. When the prediction mode of the current block is a mode in which AIS filtering is not performed, the AIS filter may not be applied.

화면 내 예측부(102)의 참조 화소 보간부는 예측 단위의 인트라 예측 모드가 참조 화소를 보간한 화소값을 기초로 인트라 예측을 수행하는 예측 단위일 경우, 참조 화소를 보간하여 분수 단위 위치의 참조 화소를 생성할 수 있다. 현재 예측 단위의 예측 모드가 참조 화소를 보간하지 않고 예측 블록을 생성하는 예측 모드일 경우 참조 화소는 보간되지 않을 수 있다. DC 필터는 현재 블록의 예측 모드가 DC 모드일 경우 필터링을 통해서 예측 블록을 생성할 수 있다.When the intra prediction mode of the intra prediction unit 102 is a prediction unit that performs intra prediction on the basis of the pixel value obtained by interpolating the reference pixel, the reference pixel interpolator 102 interpolates the reference pixel, Lt; / RTI > The reference pixel may not be interpolated in the prediction mode in which the prediction mode of the current prediction unit generates the prediction block without interpolating the reference pixel. The DC filter can generate a prediction block through filtering when the prediction mode of the current block is the DC mode.

예측부(102, 103)에서 생성된 예측 단위와 예측 단위의 원본 블록 간의 차이값인 잔차값(Residual) 정보를 포함하는 잔차 블록이 생성될 수 있다. 생성된 잔차 블록은 변환부(130)로 입력되어 변환될 수 있다. A residual block including residue information that is a difference value between the prediction unit generated by the prediction units 102 and 103 and the original block of the prediction unit can be generated. The generated residual block may be input to the conversion unit 130 and converted.

도 2는 인트라 예측 모드의 일 예를 설명하기 위한 도면이다. 도 2에 도시된 인트라 예측 모드는 총 35가지의 모드를 가지고 있다. 0번 모드는 평면 모드(Planar mode), 1번 모드는 DC 모드, 2 내지 34번 모드는 각도 모드(Angular mode)를 나타낸다. 2 is a diagram for explaining an example of the intra prediction mode. The intra prediction mode shown in FIG. 2 has a total of 35 modes. The 0-th mode represents a planar mode, the 1-th mode represents a DC mode, and the 2-th to 34-th modes represent an angular mode.

도 3은 평면 모드의 화면 내 예측을 설명하기 위한 도면이다. 3 is a diagram for explaining intra-picture prediction in the planar mode.

도 3은 평면 모드를 설명하기 위한 도면이다. 현재 블록 내의 첫 번째 화소 P1의 예측값을 생성하기 위해 Y축으로 같은 위치에 있는 복원된 화소와 현재 블록의 우측 상단에 존재하는 복원된 화소 T를 도시된 바와 같이 선형 보간 하여 생성한다. 마찬가지로 두 번째 화소 P2의 예측값을 생성하기 위해 X축으로 같은 위치에 있는 복원된 화소와 현재 블록의 좌측 하단에 존재하는 복원된 화소 L을 도시된 바와 같이 선형 보간 하여 생성한다. 두 개의 예측 화소 P1과 P2를 평균한 값이 최종적인 예측 화소가 된다. 평면 모드에서는 위와 같은 방식으로 예측 화소들을 유도하여 현재 블록의 예측 블록을 생성한다. 3 is a diagram for explaining the planar mode. The reconstructed pixel at the same position in the Y-axis and the reconstructed pixel T at the upper right of the current block are generated by linear interpolation as shown in the figure to generate a predicted value of the first pixel P1 in the current block. Similarly, in order to generate the predicted value of the second pixel P2, the reconstructed pixel at the same position in the X axis and the reconstructed pixel L at the lower left of the current block are generated by linear interpolation as shown in the figure. A value obtained by averaging two prediction pixels P1 and P2 becomes a final prediction pixel. In the planar mode, prediction blocks are derived in the same manner as described above to generate a prediction block of the current block.

도 4는 DC 모드를 설명하기 위한 도면이다. 현재 블록 주변의 복원된 화소들의 평균을 계산한 다음, 그 평균 값을 현재 블록 내의 모든 화소들의 예측값으로 이용한다.4 is a diagram for explaining the DC mode. Calculates the average of the restored pixels around the current block, and uses the average value as a predicted value of all the pixels in the current block.

도 5는 도 2의 10번 모드(수평 모드)와 26번 모드(수직 모드)를 이용하여 예측 블록을 생성하는 일 예를 설명하기 위한 도면이다. 10번 모드를 이용하는 경우, 현재 블록의 좌측에 접하는 각 참조화소를 오른쪽 방향으로 복사하여 현재 블록의 예측 블록을 생성한다. 마찬가지로 26번 모드는, 현재 블록의 상측에 접하는 각 참조 화소를 아래쪽 방향으로 복사하여 현재 블록의 예측 블록을 생성한다.5 is a diagram for explaining an example of generating a prediction block using mode 10 (horizontal mode) and mode 26 (vertical mode) in FIG. In the case of using the 10th mode, each reference pixel tangent to the left side of the current block is copied in the right direction to generate a prediction block of the current block. Similarly, in the 26th mode, each reference pixel tangent to the upper side of the current block is copied downward to generate a prediction block of the current block.

다시 도 1을 참조하면, 화면 간 예측부(103)는 현재 픽쳐의 이전 픽쳐 또는 이후 픽쳐 중 적어도 하나의 픽쳐의 정보를 기초로 예측 단위를 예측할 수도 있고, 경우에 따라서는 현재 픽쳐 내의 부호화가 완료된 일부 영역의 정보를 기초로 예측 단위를 예측할 수도 있다. 화면 간 예측부(103)는 참조 픽쳐 보간부, 모션 예측부, 움직임 보상부를 포함할 수 있다. Referring again to FIG. 1, the inter-picture predicting unit 103 may predict a prediction unit based on information of at least one of a previous picture or a following picture of the current picture. In some cases, The prediction unit may be predicted on the basis of information of a certain area. The inter-picture predicting unit 103 may include a reference picture interpolating unit, a motion predicting unit, and a motion compensating unit.

참조 픽쳐 보간부에서는 메모리(112)로부터 참조 픽쳐 정보를 제공받고 참조 픽쳐에서 정수 화소 이하의 화소 정보를 생성할 수 있다. 휘도 화소의 경우, 1/4 화소 단위로 정수 화소 이하의 화소 정보를 생성하기 위해 필터 계수를 달리하는 DCT 기반의 8탭 보간 필터(DCT-based Interpolation Filter)가 사용될 수 있다. 색차 신호의 경우 1/8 화소 단위로 정수 화소 이하의 화소 정보를 생성하기 위해 필터 계수를 달리하는 DCT 기반의 4탭 보간 필터(DCT-based Interpolation Filter)가 사용될 수 있다.In the reference picture interpolating unit, reference picture information is supplied from the memory 112 and pixel information of an integer pixel or less can be generated in the reference picture. In the case of a luminance pixel, a DCT-based interpolation filter having a different filter coefficient may be used to generate pixel information of an integer number of pixels or less in units of quarter pixels. In the case of a color difference signal, a DCT-based 4-tap interpolation filter having a different filter coefficient may be used to generate pixel information of an integer number of pixels or less in units of 1/8 pixel.

모션 예측부는 참조 픽쳐 보간부에 의해 보간된 참조 픽쳐를 기초로 모션 예측을 수행할 수 있다. 모션 벡터를 산출하기 위한 방법으로 FBMA(Full search-based Block Matching Algorithm), TSS(Three Step Search), NTS(New Three-Step Search Algorithm) 등 다양한 방법이 사용될 수 있다. 모션 벡터는 보간된 화소를 기초로 1/2 또는 1/4 화소 단위의 모션 벡터값을 가질 수 있다. 모션 예측부에서는 모션 예측 방법을 다르게 하여 현재 예측 단위를 예측할 수 있다. 모션 예측 방법으로 스킵(Skip) 방법, 머지(Merge) 방법, AMVP(Advanced Motion Vector Prediction) 방법 등 다양한 방법이 사용될 수 있다.The motion prediction unit may perform motion prediction based on the reference picture interpolated by the reference picture interpolating unit. Various methods such as Full Search-based Block Matching Algorithm (FBMA), Three Step Search (TSS), and New Three-Step Search Algorithm (NTS) can be used as methods for calculating motion vectors. The motion vector may have a motion vector value of 1/2 or 1/4 pixel unit based on the interpolated pixel. The motion prediction unit can predict the current prediction unit by making the motion prediction method different. Various methods such as a skip method, a merge method, and an AMVP (Advanced Motion Vector Prediction) method can be used as the motion prediction method.

감산부(104)는, 현재 부호화하려는 블록과 화면 내 예측부(102) 혹은 화면 간 예측부(103)에서 생성된 예측 블록을 감산하여 현재 블록의 잔차 블록을 생성한다.The subtracting unit 104 subtracts the current block to be encoded from the intra prediction unit 102 or the inter prediction unit 103 to generate a residual block of the current block.

변환부(105)에서는 잔차 데이터를 포함한 잔차 블록을 DCT, DST, KLT(Karhunen Loeve Transform) 등과 같은 변환 방법을 사용하여 변환시킬 수 있다. 이때 변환 방법은 잔차 블록을 생성하기 위해 사용된 예측 단위의 인트라 예측 모드에 기반하여 결정될 수 있다. 예를 들어, 인트라 예측 모드에 따라, 가로 방향으로는 DCT를 사용하고, 세로 방향으로는 DST를 사용할 수도 있다.The transforming unit 105 can transform the residual block including the residual data by using a conversion method such as DCT, DST, Karhunen Loeve Transform (KLT), or the like. At this time, the conversion method can be determined based on the intra prediction mode of the prediction unit used to generate the residual block. For example, depending on the intra prediction mode, DCT may be used in the horizontal direction, and DST may be used in the vertical direction.

양자화부(106)는 변환부(105)에서 주파수 영역으로 변환된 값들을 양자화할 수 있다. 블록에 따라 또는 영상의 중요도에 따라 양자화 계수는 변할 수 있다. 양자화부(106)에서 산출된 값은 역양자화부(108)와 엔트로피 부호화부(107)에 제공될 수 있다.The quantization unit 106 may quantize the values converted into the frequency domain by the conversion unit 105. The quantization factor may vary depending on the block or the importance of the image. The values calculated by the quantization unit 106 may be provided to the inverse quantization unit 108 and the entropy coding unit 107. [

상기 변환부(105) 및/또는 양자화부(106)는, 영상 부호화 장치(100)에 선택적으로 포함될 수 있다. 즉, 영상 부호화 장치(100)는, 잔차 블록의 잔차 데이터에 대해 변환 또는 양자화 중 적어도 하나를 수행하거나, 변환 및 양자화를 모두 스킵하여 잔차 블록을 부호화할 수 있다. 영상 부호화 장치(100)에서 변환 또는 양자화 중 어느 하나가 수행되지 않거나, 변환 및 양자화 모두 수행되지 않더라도, 엔트로피 부호화부(107)의 입력으로 들어가는 블록을 통상적으로 변환 블록이라 일컫는다. The transforming unit 105 and / or the quantizing unit 106 may be selectively included in the image encoding apparatus 100. That is, the image encoding apparatus 100 can perform at least one of conversion or quantization on the residual data of the residual block, or may skip both the conversion and the quantization, thereby encoding the residual block. A block entering the input of the entropy encoding unit 107 is generally referred to as a transform block even though either the transform or the quantization is not performed in the image coding apparatus 100 or both the transform and the quantization are not performed.

엔트로피 부호화부(107)는 입력 데이터를 엔트로피 부호화한다. 엔트로피 부호화는 예를 들어, 지수 골롬(Exponential Golomb), CAVLC(Context-Adaptive Variable Length Coding), CABAC(Context-Adaptive Binary Arithmetic Coding)과 같은 다양한 부호화 방법을 사용할 수 있다.The entropy coding unit 107 entropy-codes the input data. For entropy encoding, various encoding methods such as Exponential Golomb, Context-Adaptive Variable Length Coding (CAVLC), and Context-Adaptive Binary Arithmetic Coding (CABAC) may be used.

엔트로피 부호화부(107)는 예측부(102, 103)로부터 부호화 단위의 잔차값 계수 정보 및 블록 타입 정보, 예측 모드 정보, 분할 단위 정보, 예측 단위 정보 및 전송 단위 정보, 모션 벡터 정보, 참조 프레임 정보, 블록의 보간 정보, 필터링 정보 등 다양한 정보를 부호화할 수 있다. 엔트로피 부호화부(107)에서, 변환 블록의 계수는, 변환 블록 내 부분 블록 단위로, 0이 아닌 계수, 절대값이 1 또는 2보다 큰 계수, 그리고 계수의 부호 등을 나타내는 여러 종류의 플래그를 부호화될 수 있다. 상기 플래그만으로 부호화되지 않는 계수는, 플래그를 통해 부호화된 계수와 실제 변환 블록의 계수 간의 차이의 절대값을 통해 부호화될 수 있다. 역양자화부(108) 및 역변환부(109)에서는 양자화부(106)에서 양자화된 값들을 역양자화하고 변환부(105)에서 변환된 값들을 역변환한다. 역양자화부(108) 및 역변환부(109)에서 생성된 잔차값(Residual)은 예측부(102, 103)에 포함된 움직임 추정부, 움직임 보상부 및 화면 내 예측부(102)를 통해서 예측된 예측 단위와 합쳐져 복원 블록(Reconstructed Block)을 생성할 수 있다. 증산기(110)는, 예측부(102, 103)에서 생성된 예측 블록과, 역 변환부(109)를 통해 생성된 잔차 블록을 증산하여 복원 블록을 생성한다.The entropy encoding unit 107 receives the residual value coefficient information of the encoding unit and the block type information, the prediction mode information, the division unit information, the prediction unit information, the transmission unit information, the motion vector information, the reference frame information , Block interpolation information, filtering information, and the like. In the entropy encoding unit 107, the coefficient of the transform block is encoded in units of partial blocks in the transform block by encoding a non-zero coefficient, a coefficient having an absolute value of 1 or larger than 2, . The coefficient that is not encoded with only the flag can be encoded through the absolute value of the difference between the coefficient encoded through the flag and the coefficient of the actual conversion block. The inverse quantization unit 108 and the inverse transformation unit 109 dequantize the quantized values in the quantization unit 106 and inversely transform the values converted in the conversion unit 105. The residual value generated in the inverse quantization unit 108 and the inverse transformation unit 109 is predicted through the motion estimation unit, the motion compensation unit and the intra prediction unit 102 included in the prediction units 102 and 103 A reconstructed block can be created by combining with prediction units. The multiplier 110 generates a reconstruction block by multiplying the prediction block generated by the prediction units 102 and 103 and the residual block generated through the inverse transform unit 109. [

필터부(111)는 디블록킹 필터, 오프셋 보정부, ALF(Adaptive Loop Filter)중 적어도 하나를 포함할 수 있다.The filter unit 111 may include at least one of a deblocking filter, an offset correction unit, and an Adaptive Loop Filter (ALF).

디블록킹 필터는 복원된 픽쳐에서 블록간의 경계로 인해 생긴 블록 왜곡을 제거할 수 있다. 디블록킹을 수행할지 여부를 판단하기 위해 블록에 포함된 몇 개의 열 또는 행에 포함된 픽셀을 기초로 현재 블록에 디블록킹 필터 적용할지 여부를 판단할 수 있다. 블록에 디블록킹 필터를 적용하는 경우 필요한 디블록킹 필터링 강도에 따라 강한 필터(Strong Filter) 또는 약한 필터(Weak Filter)를 적용할 수 있다. 또한 디블록킹 필터를 적용함에 있어 수직 필터링 및 수평 필터링 수행시 수평 방향 필터링 및 수직 방향 필터링이 병행 처리되도록 할 수 있다.The deblocking filter can remove block distortion caused by the boundary between the blocks in the reconstructed picture. It may be determined whether to apply a deblocking filter to the current block based on pixels included in a few columns or rows included in the block to determine whether to perform deblocking. When a deblocking filter is applied to a block, a strong filter or a weak filter may be applied according to the deblocking filtering strength required. In applying the deblocking filter, horizontal filtering and vertical filtering may be performed concurrently in performing vertical filtering and horizontal filtering.

오프셋 보정부는 디블록킹을 수행한 영상에 대해 픽셀 단위로 원본 영상과의 오프셋을 보정할 수 있다. 특정 픽쳐에 대한 오프셋 보정을 수행하기 위해 영상에 포함된 픽셀을 일정한 수의 영역으로 구분한 후 오프셋을 수행할 영역을 결정하고 해당 영역에 오프셋을 적용하는 방법 또는 각 픽셀의 에지 정보를 고려하여 오프셋을 적용하는 방법을 사용할 수 있다.The offset correction unit may correct the offset of the deblocked image with respect to the original image in units of pixels. In order to perform offset correction for a specific picture, pixels included in an image are divided into a predetermined number of areas, and then an area to be offset is determined and an offset is applied to the area. Alternatively, Can be used.

ALF(Adaptive Loop Filtering)는 필터링한 복원 영상과 원래의 영상을 비교한 값을 기초로 수행될 수 있다. 영상에 포함된 픽셀을 소정의 그룹으로 나눈 후 해당 그룹에 적용될 하나의 필터를 결정하여 그룹마다 차별적으로 필터링을 수행할 수 있다. ALF를 적용할지 여부에 관련된 정보는 휘도 신호는 부호화 단위(Coding Unit, CU) 별로 전송될 수 있고, 각각의 블록에 따라 적용될 ALF 필터의 모양 및 필터 계수는 달라질 수 있다. 또한, 적용 대상 블록의 특성에 상관없이 동일한 형태(고정된 형태)의 ALF 필터가 적용될 수도 있다. Adaptive Loop Filtering (ALF) can be performed based on a comparison between the filtered reconstructed image and the original image. After dividing the pixels included in the image into a predetermined group, one filter to be applied to the group may be determined and different filtering may be performed for each group. The information related to whether to apply the ALF may be transmitted for each coding unit (CU), and the shape and the filter coefficient of the ALF filter to be applied may be changed according to each block. Also, an ALF filter of the same type (fixed form) may be applied irrespective of the characteristics of the application target block.

메모리(112)는 필터부(111)를 통해 산출된 복원 블록 또는 픽쳐를 저장할 수 있고, 저장된 복원 블록 또는 픽쳐는 인터 예측을 수행 시 예측부(102, 103)에 제공될 수 있다.The memory 112 may store the reconstructed block or picture calculated through the filter unit 111 and the reconstructed block or picture stored therein may be provided to the predictor 102 or 103 when the inter prediction is performed.

도 6은 본 발명의 일 실시예에 따른 영상 복호화 장치(600)를 나타낸 블록도이다. 6 is a block diagram illustrating an image decoding apparatus 600 according to an embodiment of the present invention.

도 6을 참조하면, 영상 복호화 장치(600)는 엔트로피 복호화부(601), 역양자화부(602), 역변환부(603), 증산부(604), 필터부(605), 메모리(606) 및 예측부(607, 608)를 포함할 수 있다.6, an image decoding apparatus 600 includes an entropy decoding unit 601, an inverse quantization unit 602, an inverse transformation unit 603, a multiplication unit 604, a filter unit 605, a memory 606, Prediction units 607 and 608, as shown in FIG.

영상 부호화 장치(100)에 의해 생성된 영상 비트스트림이 영상 복호화 장치(600)로 입력되는 경우, 입력된 비트스트림은 영상 부호화 장치(100)에서 수행된 과정과 반대의 과정에 따라 복호될 수 있다.When the image bit stream generated by the image encoding apparatus 100 is input to the image decoding apparatus 600, the input bit stream may be decoded according to a process opposite to that performed by the image encoding apparatus 100 .

엔트로피 복호화부(601)는 영상 부호화 장치(100)의 엔트로피 부호화부(107)에서 엔트로피 부호화를 수행한 것과 반대의 절차로 엔트로피 복호화를 수행할 수 있다. 예를 들어, 영상 부호화기에서 수행된 방법에 대응하여 지수 골롬(Exponential Golomb), CAVLC(Context-Adaptive Variable Length Coding), CABAC(Context-Adaptive Binary Arithmetic Coding)과 같은 다양한 방법이 적용될 수 있다. 엔트로피 복호화부(601)에서, 변환 블록의 계수는, 변환 블록 내 부분 블록 단위로, 0이 아닌 계수, 절대값이 1 또는 2보다 큰 계수, 그리고 계수의 부호 등을 나타내는 여러 종류의 플래그를 기반으로 복호화될 수 있다. 상기 플래그만으로 표현되지 않는 계수는, 플래그를 통해 표현되는 계수와 시그날링된 계수의 합을 통해 복호화될 수 있다.The entropy decoding unit 601 can perform entropy decoding in a procedure opposite to that in which the entropy encoding unit 107 of the image encoding apparatus 100 performs entropy encoding. For example, various methods such as Exponential Golomb, Context-Adaptive Variable Length Coding (CAVLC), and Context-Adaptive Binary Arithmetic Coding (CABAC) may be applied in accordance with the method performed by the image encoder. In the entropy decoding unit 601, the coefficient of the transform block is based on a non-zero coefficient, a coefficient whose absolute value is 1 or larger than 2, and various kinds of flags indicating the sign of a coefficient, etc., Lt; / RTI > A coefficient not represented by only the flag can be decoded through a sum of a coefficient represented by a flag and a signaled coefficient.

엔트로피 복호화부(601)에서는 부호화기에서 수행된 인트라 예측 및 인터 예측에 관련된 정보를 복호화할 수 있다.역 양자화부(602)는 양자화된 변환 블록에 역 양자화를 수행하여 변환 블록을 생성한다. 도 1의 역 양자화부(108)와 실질적으로 동일하게 동작한다.The entropy decoding unit 601 can decode information related to the intra prediction and the inter prediction performed in the encoder. The inverse quantization unit 602 performs inverse quantization on the quantized transform block to generate a transform block. And operates substantially the same as the inverse quantization unit 108 of FIG.

역 변환부(603)은 변환 블록에 역 변환을 수행하여 잔차 블록을 생성한다. 이때, 변환 방법은 예측 방법(인터 또는 인트라 예측), 블록의 크기 및/또는 형태, 인트라 예측 모드 등에 관한 정보를 기반으로 결정될 수 있다. 도 1의 역 변환부(109)와 실질적으로 동일하게 동작한다. The inverse transform unit 603 performs inverse transform on the transform block to generate a residual block. At this time, the conversion method can be determined on the basis of the prediction method (inter or intra prediction), the size and / or type of the block, the intra prediction mode, and the like. And operates substantially the same as the inverse conversion unit 109 of Fig.

증산부(604)는, 화면 내 예측부(607) 혹은 화면 간 예측부(608)에서 생성된 예측 블록과 역 변환부(603)를 통해 생성된 잔차 블록를 증산하여 복원 블록을 생성한다. 도 1의 증산부(110)과 실질적으로 동일하게 동작한다.The multiplication unit 604 generates a reconstruction block by multiplying the prediction block generated by the intra prediction unit 607 or the inter prediction unit 608 and the residual block generated through the inverse transform unit 603. And operates substantially the same as the vaporization section 110 of FIG.

필터부(605)는, 복원된 블록들에 발생하는 여러 종류의 노이즈를 감소시킨다.The filter unit 605 reduces various types of noise occurring in the restored blocks.

필터부(605)는 디블록킹 필터, 오프셋 보정부, ALF를 포함할 수 있다.The filter unit 605 may include a deblocking filter, an offset correction unit, and an ALF.

영상 부호화 장치(100)로부터 해당 블록 또는 픽쳐에 디블록킹 필터를 적용하였는지 여부에 대한 정보 및 디블록킹 필터를 적용하였을 경우, 강한 필터를 적용하였는지 또는 약한 필터를 적용하였는지에 대한 정보를 제공받을 수 있다. 영상 복호화 장치(600)의 디블록킹 필터에서는 영상 부호화 장치(100)에서 제공된 디블록킹 필터 관련 정보를 제공받고 영상 복호화 장치(600)에서 해당 블록에 대한 디블록킹 필터링을 수행할 수 있다. When information on whether or not a deblocking filter has been applied to the corresponding block or picture from the image encoding apparatus 100 and a deblocking filter are applied, information on whether a strong filter or a weak filter is applied can be provided. In the deblocking filter of the video decoding apparatus 600, the deblocking filter related information provided from the video encoding apparatus 100 is provided, and the video decoding apparatus 600 can perform deblocking filtering on the corresponding block.

오프셋 보정부는 부호화시 영상에 적용된 오프셋 보정의 종류 및 오프셋 값 정보 등을 기초로 복원된 영상에 오프셋 보정을 수행할 수 있다.The offset correction unit may perform offset correction on the reconstructed image based on the type of offset correction applied to the image and the offset value information during encoding.

ALF는 영상 부호화 장치(100)로부터 제공된 ALF 적용 여부 정보, ALF 계수 정보 등을 기초로 부호화 단위에 적용될 수 있다. 이러한 ALF 정보는 특정한 파라미터 셋에 포함되어 제공될 수 있다. 필터부(605)는 도 1의 필터부(111)와 실질적으로 동일하게 동작한다.The ALF may be applied to an encoding unit based on ALF application information, ALF coefficient information, and the like provided from the image encoding apparatus 100. Such ALF information may be provided in a specific set of parameters. The filter unit 605 operates substantially the same as the filter unit 111 of Fig.

메모리(606)는 증산부(604)에 의해 생성된 복원 블록을 저장한다. 도 1의 메모리(112)와 실질적으로 동일하게 동작한다.The memory 606 stores the reconstruction block generated by the multiplication unit 604. And operates substantially the same as the memory 112 of Fig.

예측부(607, 608)는 엔트로피 복호화부(601)에서 제공된 예측 블록 생성 관련 정보와 메모리(606)에서 제공된 이전에 복호화된 블록 또는 픽쳐 정보를 기초로 예측 블록을 생성할 수 있다. The prediction units 607 and 608 may generate a prediction block based on the prediction block generation related information provided by the entropy decoding unit 601 and the previously decoded block or picture information provided in the memory 606. [

예측부(607, 608)는 화면 내 예측부(607) 및 화면 간 예측부(608)를 포함할 수 있다. 별도로 도시되지는 아니하였으나, 예측부(607, 608)는 예측 단위 판별부를 더 포함할 수 있다. 예측 단위 판별부는 엔트로피 복호화부(601)에서 입력되는 예측 단위 정보, 인트라 예측 방법의 예측 모드 정보, 인터 예측 방법의 모션 예측 관련 정보 등 다양한 정보를 입력 받고 현재 부호화 단위에서 예측 단위를 구분하고, 예측 단위가 인터 예측을 수행하는지 아니면 인트라 예측을 수행하는지 여부를 판별할 수 있다. 화면 간 예측부(608)는 영상 부호화 장치(100)에서 제공된 현재 예측 단위의 인터 예측에 필요한 정보를 이용해 현재 예측 단위가 포함된 현재 픽쳐의 이전 픽쳐 또는 이후 픽쳐 중 적어도 하나의 픽쳐에 포함된 정보를 기초로 현재 예측 단위에 대한 인터 예측을 수행할 수 있다. 또는, 현재 예측 단위가 포함된 현재 픽쳐 내에서 기-복원된 일부 영역의 정보를 기초로 인터 예측을 수행할 수도 있다.The prediction units 607 and 608 may include an intra prediction unit 607 and an inter prediction unit 608. [ Although not shown separately, the prediction units 607 and 608 may further include a prediction unit determination unit. The prediction unit determination unit receives various information such as prediction unit information input from the entropy decoding unit 601, prediction mode information of the intra prediction method, motion prediction related information of the inter prediction method, and identifies prediction units in the current coding unit. It is possible to determine whether the unit performs inter prediction or intra prediction. The inter picture prediction unit 608 uses the information necessary for inter prediction of the current prediction unit provided by the image coding apparatus 100 to generate information on at least one of the previous picture of the current picture including the current prediction unit or the following picture The inter prediction of the current prediction unit can be performed. Alternatively, the inter prediction may be performed on the basis of the information of the partial region previously reconstructed in the current picture including the current prediction unit.

화면 간 예측을 수행하기 위해 부호화 단위를 기준으로 해당 부호화 단위에 포함된 예측 단위의 모션 예측 방법이 스킵 모드(Skip Mode), 머지 모드(Merge 모드), AMVP 모드(AMVP Mode) 중 어떠한 방법인지 여부를 판단할 수 있다.In order to perform the inter-picture prediction, whether the motion prediction method of the prediction unit included in the coding unit based on the coding unit is a skip mode, a merge mode, or an AMVP mode Can be determined.

화면 내 예측부(607)는, 현재 부호화하려는 블록 주변에 위치한, 그리고 기 복원된 화소들을 이용하여 예측 블록을 생성한다. Intra prediction unit 607 generates a prediction block using the pixels located near the current block to be coded and the previously reconstructed pixels.

화면 내 예측부(607)는 AIS(Adaptive Intra Smoothing) 필터, 참조 화소 보간부, DC 필터를 포함할 수 있다. AIS 필터는 현재 블록의 참조 화소에 필터링을 수행하는 필터로써 현재 예측 단위의 예측 모드에 따라 필터의 적용 여부를 적응적으로 결정할 수 있다. 영상 부호화 장치(100)에서 제공된 예측 단위의 예측 모드 및 AIS 필터 정보를 이용하여 현재 블록의 참조 화소에 AIS 필터링을 수행할 수 있다. 현재 블록의 예측 모드가 AIS 필터링을 수행하지 않는 모드일 경우, AIS 필터는 적용되지 않을 수 있다.The intra prediction unit 607 may include an Adaptive Intra Smoothing (AIS) filter, a reference pixel interpolator, and a DC filter. The AIS filter is a filter that performs filtering on the reference pixels of the current block and can adaptively determine whether to apply the filter according to the prediction mode of the current prediction unit. AIS filtering can be performed on the reference pixels of the current block using the prediction mode of the prediction unit and the AIS filter information provided by the image coding apparatus 100. [ When the prediction mode of the current block is a mode in which AIS filtering is not performed, the AIS filter may not be applied.

화면 내 예측부(607)의 참조 화소 보간부는 예측 단위의 예측 모드가 참조 화소를 보간한 화소값을 기초로 인트라 예측을 수행하는 예측 단위일 경우, 참조 화소를 보간하여 분수 단위 위치의 참조 화소를 생성할 수 있다. 생성된 분수 단위 위치의 참조 화소가 현재 블록 내의 화소의 예측 화소로 이용될 수 있다. 현재 예측 단위의 예측 모드가 참조 화소를 보간하지 않고 예측 블록을 생성하는 예측 모드일 경우 참조 화소는 보간되지 않을 수 있다. DC 필터는 현재 블록의 예측 모드가 DC 모드일 경우 필터링을 통해서 예측 블록을 생성할 수 있다.The intra-picture prediction unit 607 interpolates the reference pixels to interpolate the reference pixels in the fractional unit position when the prediction mode of the prediction unit is a prediction unit that performs intra-prediction based on the pixel value obtained by interpolating the reference pixels Can be generated. The reference pixel at the generated fractional unit position can be used as the predictive pixel of the pixel in the current block. The reference pixel may not be interpolated in the prediction mode in which the prediction mode of the current prediction unit generates the prediction block without interpolating the reference pixel. The DC filter can generate a prediction block through filtering when the prediction mode of the current block is the DC mode.

화면 내 예측부(607)는 도 1의 화면 내 예측부(102)와 실질적으로 동일하게 동작한다.Intra prediction section 607 operates substantially the same as intraframe prediction section 102 in FIG.

화면 간 예측부(608)는, 메모리(606)에 저장된 참조 픽처, 움직임 정보를 이용하여 인터 예측 블록을 생성한다. 화면 간 예측부(608)는 도 1의 화면 간 예측부(103)와 실질적으로 동일하게 동작한다.The inter-picture prediction unit 608 generates an inter-prediction block using the reference picture and the motion information stored in the memory 606. The inter-picture predicting unit 608 operates substantially the same as the inter-picture predicting unit 103 of Fig.

본 발명은, 특히 패딩 및 영상의 경계 처리에 관한 것으로서, 이하에 본 발명의 다양한 실시예들을 도면들을 참조하면서 보다 상세하게 설명한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention relates in particular to padding and edge processing of images, and various embodiments of the present invention will now be described in more detail with reference to the drawings.

본 발명의 일 실시예에 따르면, 부호화 대상 영상이 도 1의 영상 분할부(101)에 입력되기 전에 전처리 과정이 수행될 수 있다. 부호화 대상 영상은 화소 단위의 다양한 가로 및 세로 크기를 가질 수 있다. 그러나, 영상의 부호화 및 복호화는 화소 단위가 아닌 임의의 블록 단위로 수행되기 때문에, 부호화 대상 영상의 크기를 블록 단위로 맞추기 위한 패딩 과정이 필요할 수 있다. According to an embodiment of the present invention, a preprocessing process may be performed before the image to be encoded is input to the image divider 101 of FIG. The encoding target image may have various horizontal and vertical sizes in pixel units. However, since the encoding and decoding of an image are performed in units of blocks rather than pixels, a padding process may be required to adjust the size of an object image to be coded on a block-by-block basis.

도 7은 본 발명의 일 실시예에 따른 패딩 과정을 설명하기 위한 도면이다.7 is a diagram for explaining a padding process according to an embodiment of the present invention.

도 7에 도시된 예에서, 부호화 대상 영상은 블록 영역과 비블록 영역을 포함한다. 상기 부호화 대상 영상에 대해 상기 전처리 과정이 수행됨으로써, 패딩된 영역이 추가될 수 있다. 패딩된 영역이 추가된 상기 부호화 대상 영상은 도 1의 영상 분할부(101)에 입력될 수 있다. In the example shown in Fig. 7, the to-be-encoded image includes a block area and a non-block area. The preprocessing process is performed on the image to be encoded, so that a padded area can be added. The encoding target image to which the padded region is added can be input to the image divider 101 of FIG.

도 7에 도시된 예에서, 최소 블록의 단위는 4x4일 수 있다. 블록의 가로 또는 세로의 길이는 2n일 수 있다. 따라서, 예를 들어, 부호화 대상 영상의 가로 및 세로의 길이가 각각 9인 경우, 상기 부호화 대상 영상의 우측 1열 및 하단 1행은 블록 영역에 포함되지 않는 비블록 영역이 될 수 있다. 이와 같이, 부호화 대상 영상이 비블록 영역을 포함하는 경우, 상기 최소 블록의 크기를 고려하여, 패딩을 수행할 수 있다. 이와 같이, 블록의 크기를 고려한 패딩을 수행함으로써, 패딩된 부호화 대상 영상은 비블록 영역을 포함하지 않게 된다. 패딩된 부호화 대상 영상은 도 1의 영상 분할부(101)에 입력되어 복수의 블록으로 분할됨으로써, 블록 단위의 부호화가 수행될 수 있다. In the example shown in FIG. 7, the unit of the minimum block may be 4x4. The horizontal or vertical length of the block may be 2 < n >. Thus, for example, when the lengths of the horizontal and vertical lengths of the video to be coded are 9, respectively, the right one column and the bottom one row of the video to be coded may be non-block areas not included in the block area. In this manner, when the current picture to be coded includes a non-block area, padding can be performed in consideration of the size of the minimum block. Thus, by performing the padding considering the size of the block, the padded encoding object image does not include the non-block region. The padded encoding target image is input to the image divider 101 of FIG. 1 and is divided into a plurality of blocks, whereby block-based encoding can be performed.

도 8a 및 8b는 본 발명에 따른 패딩 과정을 설명하기 위한 도면이다.8A and 8B are views for explaining a padding process according to the present invention.

먼저, 패딩해야할 화소에 가장 인접한 화소를 이용하여 가로 방향으로 패딩을 수행할 수 있다. 도 8a에 도시된 예에서, 가장 상단의 3개의 패딩 대상 화소는 좌측에 인접한 비블록 영역의 화소 A를 이용하여 패딩될 수 있다.First, padding can be performed in the horizontal direction by using the pixel closest to the pixel to be padded. In the example shown in FIG. 8A, the three uppermost padding target pixels can be padded using the pixel A of the non-block area adjacent to the left.

이후, 패딩해야할 화소에 가장 인접한 화소를 이용하여 세로 방향으로 패딩을 수행할 수 있다. 도 8b에 도시된 예에서, 가장 좌측의 3개의 패딩 대상 화소는 상단에 인접한 비블록 영역의 화소 I를 이용하여 패딩될 수 있다.Thereafter, padding can be performed in the vertical direction using the pixel closest to the pixel to be padded. In the example shown in FIG. 8B, the leftmost three padding target pixels can be padded using the pixel I of the non-block area adjacent to the top.

상기 예에서, 가로 방향에서 세로 방향으로의 패딩 과정을 설명하였으나, 이에 한정되지 않으며, 세로 방향에서 가로 방향으로의 패딩이 수행될 수도 있다. 상기 최소 블록의 크기는 도 9를 참조하여 설명할 블록 단위일 수도 있으며 서브 블록 단위일 수도 있다.In the above example, the padding process from the horizontal direction to the vertical direction has been described, but the present invention is not limited to this, and padding from the vertical direction to the horizontal direction may be performed. The size of the minimum block may be a block unit to be described with reference to FIG. 9 or a sub-block unit.

도 9는 도 1의 영상 분할부(101)의 동작을 설명하기 위한 도면이다.Fig. 9 is a diagram for explaining the operation of the image divider 101 of Fig.

입력 영상은 복수의 최대 블록으로 분할될 수 있다. 최대 블록의 크기는 기설정되거나 비트스트림을 통해 시그널링될 수 있다. 예를 들어, 입력 영상의 크기는 128x128이고, 최대 블록의 크기는 64x64일 경우, 입력 영상은 4개의 최대 블록으로 분할될 수 있다. The input image may be divided into a plurality of maximum blocks. The size of the largest block may be preset or signaled via a bitstream. For example, if the size of the input image is 128x128 and the size of the largest block is 64x64, the input image can be divided into four maximum blocks.

각각의 최대 블록은 도 1의 영상 분할부(101)에 입력되어, 복수의 블록으로 분할될 수 있다. 입력 영상은 복수의 최대 블록으로 분할되지 않고, 곧바로 영상 분할부(101)에 입력될 수도 있다. 분할된 블록의 최소 크기 및/또는 서브 블록으로 분할될 수 있는 블록의 최대 크기는 기설정되거나, 블록의 상위 레벨의 헤더에서 시그널링될 수도 있다. 상기 상위 레벨은 비디오, 시퀀스, 픽쳐, 슬라이스, 타일, 촤대 부호화 유닛(LCU; Largest Coding Unit) 중 적어도 하나일 수 있다.Each maximum block is input to the image divider 101 of Fig. 1 and can be divided into a plurality of blocks. The input image may not be divided into a plurality of maximum blocks but may be input to the image divider 101 immediately. The minimum size of the partitioned block and / or the maximum size of the block that can be divided into sub-blocks may be preset or may be signaled in the header of the upper level of the block. The upper level may be at least one of a video, a sequence, a picture, a slice, a tile, and a large coding unit (LCU).

현재 블록은 4개의 서브 블록으로 분할되거나 2개의 서브 블록으로 분할될 수 있다. The current block may be divided into four sub-blocks or two sub-blocks.

현재 블록이 4개의 서브 블록으로 분할되는 것을 쿼드 트리(quad-tree) 분할이라 할 수 있다. 현재 블록은 쿼드 트리 분할에 의해 동일한 크기를 갖는 4개의 서브 블록으로 분할될 수 있다. 제1 분할 정보는 현재 블록이 쿼드 트리 분할되는지의 여부를 나타내는 정보이다. 제1 분할 정보는 예컨대, 1비트의 플래그일 수 있다.The division of the current block into four sub-blocks can be referred to as a quad-tree partition. The current block can be divided into four sub-blocks having the same size by quad tree partitioning. The first division information is information indicating whether the current block is quad-tree divided. The first division information may be, for example, a flag of 1 bit.

현재 블록이 2개의 서브 블록으로 분할되는 것을 이진 트리(binary-tree) 분할이라 할 수 있다. 현재 블록은 이진 트리 분할에 의해 동일하거나 상이한 크기를 갖는 2개의 서브 블록으로 분할될 수 있다. 제2 분할 정보는 현재 블록이 이진 트리 분할되는지의 여부를 나타내는 정보이다. 제2 분할 정보는 예컨대, 1비트의 플래그일 수 있다. 현재 블록이 이진 트리 분할되는 경우, 분할 방향 정보가 더 시그널링될 수 있다. 분할 방향 정보는 현재 블록의 분할이 가로 방향의 분할인지 세로 방향의 분할인지를 나타낼 수 있다. 분할 방향 정보는 예컨대, 1비트의 플래그일 수 있다. 현재 블록이 상이한 크기를 갖는 2개의 서브 블록으로 분할되는 경우, 분할 형태 정보가 더 시그널링될 수 있다. 분할 형태 정보는 2개의 서브 블록의 분할 비율을 나타낼 수 있다.The division of the current block into two sub-blocks can be referred to as a binary-tree segmentation. The current block may be divided into two sub-blocks having the same or different size by binary tree segmentation. The second division information is information indicating whether or not the current block is divided into binary trees. The second division information may be, for example, a flag of 1 bit. If the current block is binary tree segmented, the partition direction information can be further signaled. The division direction information may indicate whether the division of the current block is a division in a horizontal direction or a division in a vertical direction. The dividing direction information may be, for example, a flag of 1 bit. If the current block is divided into two subblocks having different sizes, the partition type information can be further signaled. The division type information can represent the division ratio of two sub-blocks.

현재 블록은 쿼드 트리 분할과 이진 트리 분할을 이용하여 재귀적으로 분할될 수 있다. 예컨대, 현재 블록이 4개의 서브 블록으로 쿼드 트리 분할되는 경우, 각각의 서브 블록은 재귀적으로 쿼드 트리 분할되거나, 이진 트리 분할되거나, 분할되지 않을 수 있다. 현재 블록이 2개의 서브 블록으로 이진 트리 분할되는 경우, 각각의 서브 블록은 재귀적으로 쿼드 트리 분할되거나, 이진 트리 분할되거나, 분할되지 않을 수 있다. 또는, 이진 트리 분할에 의해 생성된 서브 블록에 대해서는 쿼드 트리 분할이 수행되지 않을 수 있다. The current block can be recursively partitioned using quadtree partitioning and binary tree partitioning. For example, when the current block is quad-tree-divided into four sub-blocks, each sub-block may be recursively quad-tree divided, binary tree-divided, or not partitioned. If the current block is binary tree divided into two subblocks, each subblock may be recursively quad-tree divided, binary tree divided, or not partitioned. Or, quad tree partitioning may not be performed for the sub-blocks generated by the binary tree partitioning.

부호화기는 입력된 현재 블록에 대해 쿼드 트리 분할 여부를 결정할 수 있다. 상기 결정에 기초하여 제1 분할 정보를 부호화할 수 있다(S901). 현재 블록이 쿼드 트리 분할되는 경우(S902에서 Yes), 현재 블록은 4개의 블록으로 쿼드 트리 분할될 수 있다(S903). 쿼드 트리 분할에 의해 생성된 4개의 블록의 각각은 소정의 순서에 따라 단계 S901에 다시 입력될 수 있다(S904, S916). 상기 소정의 순서는 Z-스캔 순서일 수 있다. 단계 S904에서, 상기 4개의 블록 중 상기 소정의 순서에 따른 첫번째 블록이 특정되어, 단계 S901에 현재 블록으로서 입력될 수 있다.The encoder may determine whether to partition the quad tree with respect to the input current block. The first division information can be coded based on the determination (S901). If the current block is quad-tree divided (Yes in S902), the current block can be quad-tree divided into four blocks (S903). Each of the four blocks generated by the quadtree division may be inputted again to the step S901 in a predetermined order (S904, S916). The predetermined order may be a Z-scan order. In step S904, the first block in the predetermined order among the four blocks is specified and input as the current block in step S901.

현재 블록이 쿼드 트리 분할되지 않는 경우(S902에서 No), 부호화기는 현재 블록에 대해 이진 트리 분할 여부를 결정할 수 있다. 상기 결정에 기초하여 제2 분할 정보를 부호화할 수 있다(S905). 현재 블록이 이진 트리 분할되는 경우(S906에서 Yes), 부호화기는 현재 블록을 가로 분할할지 세로 분할할지를 결정하고, 상기 결정에 기초하여 분할 방향 정보를 부호화할 수 있다(S907). 현재 블록이 가로 분할되는 경우(S908에서 Yes), 현재 블록에 대한 가로 방향의 분할이 수행될 수 있다(S909). 그렇지 않은 경우(S908에서 No), 현재 블록에 대한 세로 방향의 분할이 수행될 수 있다(S910). 현재 블록에 대한 이진 트리 분할이 비대칭 분할인 경우, 분할 비율이 결정되어 분할 형태 정보가 더 부호화될 수 있다. 이 경우, 단계 S909 및 S910는 분할 형태 정보를 고려하여 수행될 수 있다. 이진 트리 분할에 의해 생성된 2개의 서브 블록의 각각은 소정의 순서에 따라 단계 S905에 다시 입력될 수 있다(S911, S914). 상기 소정의 순서는 좌측에서 우측, 또는 상단에서 하단일 수 있다. 단계 S911에서, 상기 2개의 서브 블록 중 상기 소정의 순서에 따른 첫번째 서브 블록이 특정되어, 단계 S905에 현재 블록으로서 입력될 수 있다. 이진 트리 분할에 의해 생성된 서브 블록에 대해 다시 쿼드 트리 분할이 허용되는 경우라면, 이진 트리 분할에 의해 생성된 2개의 블록의 각각은 소정의 순서에 따라 단계 S901로 입력될 수도 있다.If the current block is not quad-tree-divided (No in S902), the encoder can determine whether to divide the binary tree for the current block. Based on the determination, the second division information can be encoded (S905). If the current block is divided into binary trees (Yes in S906), the encoder determines whether the current block is to be horizontally divided or vertically divided, and the division direction information can be encoded based on the determination (S907). If the current block is horizontally divided (Yes in S908), the horizontal division of the current block may be performed (S909). Otherwise (No in S908), vertical division of the current block may be performed (S910). If the binary tree division for the current block is an asymmetric division, the division ratio is determined and the division type information can be further encoded. In this case, steps S909 and S910 may be performed in consideration of the partition type information. Each of the two sub-blocks generated by the binary tree division may be input again to the step S905 in a predetermined order (S911, S914). The predetermined order may be left to right, or bottom to top. In step S911, the first sub-block in the predetermined order among the two sub-blocks is identified and input as the current block in step S905. If quad tree partitioning is again allowed for the sub-blocks generated by the binary tree partitioning, each of the two blocks generated by the binary tree partitioning may be input to step S901 in a predetermined order.

현재 블록이 이진 트리 분할되지 않는 경우(S906에서 No), 현재 블록 또는 현재 서브 블록에 대한 부호화가 수행될 수 있다(S912). 단계 S912의 부호화는 예측, 변환, 양자화 등을 포함할 수 있다.If the current block is not divided into binary trees (No in S906), encoding of the current block or the current sub-block may be performed (S912). The encoding in step S912 may include prediction, conversion, quantization, and the like.

단계 S912에서 부호화된 서브 블록이 이진 트리 분할에 의해 생성된 마지막 서브 블록이 아닌 경우(S913에서 No), 이진 트리 분할에 의해 생성된 다음 서브 블록이 특정되어, 단계 S905에 현재 블록으로서 입력될 수 있다(S914).If the sub-block encoded in step S912 is not the last sub-block generated by the binary tree division (No in step S913), the next sub-block generated by the binary tree segmentation is specified, (S914).

단계 S912에서 부호화된 서브 블록이 이진 트리 분할에 의해 생성된 마지막 서브 블록인 경우(S913에서 Yes), 상기 부호화된 서브 블록이 속한 블록이 쿼드 트리 분할에 의해 생성된 블록들 중 마지막 블록인지 여부가 판단될 수 있다(S915). 마지막 블록인 경우(S915에서 Yes), 단계 S901에 입력된 최대 블록 또는 현재 영상에 대한 부호화를 종료할 수 있다. 마지막 블록이 아닌 경우(S915에서 No), 쿼드 트리 분할에 의해 생성된 다음 블록이 특정되어, 단계 S901에 현재 블록으로서 입력될 수 있다(S916).If the subblock encoded in step S912 is the last subblock generated by the binary tree division (Yes in S913), it is determined whether or not the block to which the encoded subblock belongs is the last one of the blocks generated by the quadtree division (S915). If it is the last block (Yes in S915), the encoding of the maximum block or the current image input in step S901 can be ended. If it is not the last block (No in S915), the next block generated by the quadtree segmentation is specified and may be input as the current block in step S901 (S916).

도 10은 본 발명에 따른 복호화기에서의 동작을 설명하기 위한 도면이다.FIG. 10 is a diagram for explaining an operation in the decoder according to the present invention.

복호화기는 입력된 현재 블록의 제1 분할 정보를 복호화할 수 있다(S1001). 현재 블록이 쿼드 트리 분할되는 경우(S1002에서 Yes), 현재 블록은 4개의 블록으로 쿼드 트리 분할될 수 있다(S1003). 쿼드 트리 분할에 의해 생성된 4개의 블록의 각각은 소정의 순서에 따라 단계 S1001에 다시 입력될 수 있다(S1004, S1016). 상기 소정의 순서는 Z-스캔 순서일 수 있다. 단계 S1004에서, 상기 4개의 블록 중 상기 소정의 순서에 따른 첫번째 블록이 특정되어, 단계 S1001에 현재 블록으로서 입력될 수 있다.The decoder may decode the first division information of the input current block (S1001). If the current block is quad-tree divided (Yes in S1002), the current block can be quad-tree divided into four blocks (S1003). Each of the four blocks generated by the quadtree division may be input again to the step S1001 in a predetermined order (S1004, S1016). The predetermined order may be a Z-scan order. In step S1004, the first block in the predetermined order among the four blocks is specified and can be input as a current block in step S1001.

현재 블록이 쿼드 트리 분할되지 않는 경우(S1002에서 No), 복호화기는 현재 블록의 제2 분할 정보를 복호화할 수 있다(S1005). 현재 블록이 이진 트리 분할되는 경우(S1006에서 Yes), 복호화기는 분할 방향 정보를 복호화할 수 있다(S1007). 현재 블록이 가로 분할되는 경우(S1008에서 Yes), 현재 블록에 대한 가로 방향의 분할이 수행될 수 있다(S1009). 그렇지 않은 경우(S1008에서 No), 현재 블록에 대한 세로 방향의 분할이 수행될 수 있다(S1010). 현재 블록에 대한 이진 트리 분할이 비대칭 분할인 경우, 분할 형태 정보가 더 복호화될 수 있다. 이 경우, 단계 S1009 및 S1010는 분할 형태 정보를 고려하여 수행될 수 있다. 이진 트리 분할에 의해 생성된 2개의 서브 블록의 각각은 소정의 순서에 따라 단계 S1005에 다시 입력될 수 있다(S1011, S1014). 상기 소정의 순서는 좌측에서 우측, 또는 상단에서 하단일 수 있다. 단계 S1011에서, 상기 2개의 서브 블록 중 상기 소정의 순서에 따른 첫번째 서브 블록이 특정되어, 단계 S1005에 현재 블록으로서 입력될 수 있다. 이진 트리 분할에 의해 생성된 서브 블록에 대해 다시 쿼드 트리 분할이 허용되는 경우라면, 이진 트리 분할에 의해 생성된 2개의 블록의 각각은 소정의 순서에 따라 단계 S1001로 입력될 수도 있다.If the current block is not quad-tree-divided (No in S1002), the decoder can decode the second division information of the current block (S1005). When the current block is divided into binary trees (Yes in S1006), the decoder can decode the dividing direction information (S1007). If the current block is horizontally divided (Yes in S1008), the horizontal division of the current block may be performed (S1009). Otherwise (No in S1008), the vertical division of the current block may be performed (S1010). If the binary tree partition for the current block is an asymmetric partition, the partition type information can be further decoded. In this case, steps S1009 and S1010 may be performed in consideration of the partition type information. Each of the two sub-blocks generated by the binary tree division may be input again to step S1005 in a predetermined order (S1011, S1014). The predetermined order may be left to right, or bottom to top. In step S1011, the first sub-block in the predetermined order among the two sub-blocks is identified and input as a current block in step S1005. If quad tree partitioning is again allowed for the sub-blocks generated by the binary tree partitioning, each of the two blocks generated by the binary tree partitioning may be input to step S1001 in a predetermined order.

현재 블록이 이진 트리 분할되지 않는 경우(S1006에서 No), 현재 블록 또는 현재 서브 블록에 대한 복호화가 수행될 수 있다(S1012). 단계 S1012의 복호화는 예측, 역양자화, 역변환 등을 포함할 수 있다.If the current block is not divided into binary trees (No in S1006), decoding of the current block or the current sub-block may be performed (S1012). Decoding in step S1012 may include prediction, dequantization, inverse transform, and the like.

단계 S1012에서 복호화된 서브 블록이 이진 트리 분할에 의해 생성된 마지막 서브 블록이 아닌 경우(S1013에서 No), 이진 트리 분할에 의해 생성된 다음 서브 블록이 특정되어, 단계 S1005에 현재 블록으로서 입력될 수 있다(S1014).If the sub-block decoded in step S1012 is not the last sub-block generated by the binary tree division (No in step S1013), the next sub-block generated by the binary tree division is specified, (S1014).

단계 S1012에서 복호화된 서브 블록이 이진 트리 분할에 의해 생성된 마지막 서브 블록인 경우(S1013에서 Yes), 상기 복호화된 서브 블록이 속한 블록이 쿼드 트리 분할에 의해 생성된 블록들 중 마지막 블록인지 여부가 판단될 수 있다(S1015). 마지막 블록인 경우(S1015에서 Yes), 단계 S1001에 입력된 최대 블록 또는 현재 영상에 대한 복호화를 종료할 수 있다. 마지막 블록이 아닌 경우(S1015에서 No), 쿼드 트리 분할에 의해 생성된 다음 블록이 특정되어, 단계 S1001에 현재 블록으로서 입력될 수 있다(S1016).If the sub-block decoded in step S1012 is the last sub-block generated by the binary tree division (Yes in S1013), whether the block to which the decoded sub-block belongs is the last one among the blocks generated by the quadtree division (S1015). If it is the last block (Yes in S1015), the decoding of the maximum block or the current image input in the step S1001 can be ended. If the block is not the last block (No in S1015), the next block generated by the quadtree partitioning is specified and input as the current block in step S1001 (S1016).

도 11은 현재 영상의 크기가 최대 블록의 크기의 배수가 아닌 경우를 예시적으로 도시한 도면이다. 11 is a diagram illustrating a case where the size of the current image is not a multiple of the maximum block size.

도 11에 도시된 바와 같이, 현재 영상을 복수의 최대 블록으로 분할하는 경우, 현재 영상의 우측 또는 하단에는 최대 블록 크기의 일부에 해당하는 영역이 남게 된다. 즉, 최대 블록 2, 최대 블록 5, 최대 블록 6, 최대 블록 7 또는 최대 블록 8의 경우, 일부 영역에 대해서만 현재 영상의 화소가 존재한다.As shown in FIG. 11, when dividing the current image into a plurality of maximum blocks, a region corresponding to a portion of the maximum block size is left on the right or bottom of the current image. That is, in the case of the maximum block 2, the maximum block 5, the maximum block 6, the maximum block 7, or the maximum block 8, only the pixels of the current image exist in some areas.

이하에서는, 도 11에 도시된 바와 같은 현재 영상을 효율적으로 분할하기 위한 본 발명에 따른 영상 분할 방법을 설명한다.Hereinafter, an image dividing method according to the present invention for efficiently dividing a current image as shown in FIG. 11 will be described.

도 12a 내지 도 12e는 본 발명에 일 실시예 따른 영상 분할 방법을 설명하기 위한 예시도이다. 이하에서는, 도 12a 내지 도 12e를 참조하여, 도 11의 최대 블록 2의 분할 방법 및/또는 분할 정보의 부호화에 대해 설명한다. 도 12a 내지 도 12e를 참조한 이하의 설명에서, 현재 영상의 크기는 146x146, 최대 블록의 크기는 64x64, 쿼드 트리 분할될 수 있는 블록의 최소 크기는 16x16, 서브 블록의 최소 크기는 2x2인 것으로 가정한다.12A to 12E are diagrams for explaining an image dividing method according to an embodiment of the present invention. Hereinafter, with reference to Figs. 12A to 12E, a description will be given of a dividing method of the maximum block 2 and / or a coding of division information in Fig. 12A to 12E, it is assumed that the size of the current image is 146x146, the size of the maximum block is 64x64, the minimum size of the block that can be quad-tree divided is 16x16, and the minimum size of the sub-block is 2x2 .

도 12a는 최대 블록 2를 확대한 것으로서, 굵은 선으로 둘러싸인 부분은 현재 영상 내의 영역이다. 최대 블록 2는 도 9를 참조하여 설명한 분할 대상 블록일 수 있다. 도 12a에 도시된 바와 같이, 최대 블록 2의 최우측 위치와 최하단 위치는 현재 영상의 영역에 완전히 포함되지 않는다. 또한, 최대 블록 2의 크기는 64x64로서, 쿼드 트리 분할이 가능한 크기이다. 이 경우, 최대 블록 2는 쿼드 트리 분할될 수 있다(S903). 즉, 최대 블록 2에 대한 단계 S901은 생략될 수 있다. 그 후, 최대 블록 2를 쿼드 트리 분할하여 생성된 4개의 블록들(A0, A1, A2 및 A3) 중 첫번째 블록인 블록 A0에 대한 분할 및 부호화가 수행될 수 있다. 블록 A1과 블록 A3은 현재 영상의 영역에 완전히 포함되지 않으므로, 분할 및 부호화가 생략될 수 있다. 블록 A2는 블록 A0과 마찬가지로 본 발명에 따라 분할 및 부호화될 수 있다.12A is an enlarged view of the maximum block 2, and a portion surrounded by a thick line is an area in the current image. The maximum block 2 may be the block to be divided described with reference to FIG. As shown in Fig. 12A, the rightmost position and the bottommost position of the maximum block 2 are not completely included in the area of the current image. In addition, the maximum block 2 size is 64x64, which is a size that can be divided into quad trees. In this case, the maximum block 2 can be quad-tree divided (S903). That is, step S901 for the maximum block 2 may be omitted. Thereafter, the block A0, which is the first block among the four blocks A0, A1, A2 and A3 generated by dividing the maximum block 2 by a quad tree, can be divided and encoded. Since the block A1 and the block A3 are not completely included in the area of the current image, the division and encoding may be omitted. The block A2 can be divided and coded according to the present invention like the block A0.

도 12b는 도 12a의 블록 A0을 확대한 것으로서, 굵은 선으로 둘러싸인 부분은 현재 영상 내의 영역이다. 블록 A0은 도 9를 참조하여 설명한 분할 대상 블록일 수 있다. 도 12b에 도시된 바와 같이, 블록 A0의 최우측 위치(B1)와 최하단 위치(B3)는 현재 영상의 영역에 완전히 포함되지 않는다. 또한, 블록 A0의 크기는 32x32로서, 쿼드 트리 분할이 가능한 크기이다. 이 경우, 블록 A0은 쿼드 트리 분할될 수 있다(S903). 즉, 블록 A0에 대한 단계 S901은 생략될 수 있다. 그 후, 블록 A0을 쿼드 트리 분할하여 생성된 4개의 블록들(B0, B1, B2 및 B3) 중 첫번째 블록인 블록 B0에 대한 분할 및 부호화가 수행될 수 있다. 블록 B0는 도 9를 참조하여 설명한 방법으로 분할 및 부호화될 수 있다. 즉, 블록 B0는 쿼드 트리 분할 및/또는 이진 트리 분할에 의해 분할되거나 또는 분할되지 않고 부호화될 수 있다. 블록 B2는 블록 B0과 마찬가지로 본 발명에 따라 분할 및 부호화될 수 있다. 블록 B1과 블록 B3은 현재 영상의 영역에 완전히 포함되지 않으므로, 분할 및 부호화가 생략될 수 있다. 블록 B2는 블록 B0과 동일한 방법으로 분할 및 부호화될 수 있다. 즉, 블록 B0과 블록 B2에 대해서는 단계 S901을 생략할 수 없다. 그러나, 블록 B1과 B3에 대해서는 후술하는 바와 같이, 단계 S901을 생략할 수 있다.FIG. 12B is an enlarged view of the block A0 in FIG. 12A, and a portion surrounded by a thick line is an area in the current image. The block A0 may be the block to be divided described with reference to FIG. As shown in Fig. 12B, the rightmost position B1 and the bottommost position B3 of the block A0 are not completely included in the area of the current image. The size of the block A0 is 32x32, which is a size capable of dividing the quadtree. In this case, block A0 may be quad-tree partitioned (S903). That is, step S901 for block A0 may be omitted. Thereafter, the division and encoding of the block B0, which is the first block among the four blocks B0, B1, B2, and B3 generated by dividing the block A0 into quad-trees, can be performed. Block B0 may be segmented and encoded in the manner described with reference to FIG. That is, the block B0 can be coded without being divided or divided by quad tree partitioning and / or binary tree partitioning. The block B2 can be divided and coded according to the present invention like the block B0. Since the block B1 and the block B3 are not completely included in the area of the current image, the division and encoding may be omitted. The block B2 can be divided and coded in the same manner as the block B0. That is, step S901 can not be omitted for the block B0 and the block B2. However, for blocks B1 and B3, step S901 may be omitted as described later.

도 12c는 도 12b의 블록 B1을 확대한 것으로서, 굵은 선으로 둘러싸인 부분은 현재 영상 내의 영역이다. 블록 B1은 도 9를 참조하여 설명한 분할 대상 블록일 수 있다. 도 12c에 도시된 바와 같이, 블록 B1의 최우측 위치와 최하단 위치는 현재 영상의 영역에 완전히 포함되지 않는다. 또한, 블록 B1의 크기는 16x16으로서, 쿼드 트리 분할이 불가능한 크기이다. 이 경우, 블록 B1은 쿼드 트리 분할될 수 없고, 이진 트리 분할될 수 있다. 또한, 부호화 대상 블록은 세로로 긴 직사각형이므로, 분할 방향은 세로 방향으로 결정될 수 있다. 따라서, 블록 B1에 대해서는 단계 S901 내지 S907이 생략될 수 있고, 부호화 대상 블록의 형상에 따라 단계 S909 또는 S910의 이진 트리 분할이 수행될 수 있다. 그 후, 블록 B1을 이진 트리 분할하여 생성된 2개의 블록들(C1 및 C2) 중 첫번째 블록인 블록 C1에 대한 분할 및 부호화가 수행될 수 있다. 블록 C2는 현재 영상의 영역에 완전히 포함되지 않으므로, 분할 및 부호화가 생략될 수 있다. FIG. 12C is an enlarged view of the block B1 in FIG. 12B, and a portion surrounded by a thick line is an area in the current image. The block B1 may be the block to be divided described with reference to Fig. As shown in Fig. 12C, the rightmost position and the bottommost position of the block B1 are not completely included in the area of the current image. Also, the size of the block B1 is 16x16, which is a size in which quad tree partitioning is impossible. In this case, the block B 1 can not be quad-tree-divided and can be binary tree-divided. Further, since the current block to be coded is a vertically long rectangle, the dividing direction can be determined to be the vertical direction. Therefore, steps S901 to S907 may be omitted for the block B1, and the binary tree segmentation of step S909 or S910 may be performed according to the shape of the current block. Thereafter, the division and encoding for block C1, which is the first one of the two blocks C1 and C2 generated by binary tree segmentation of block B1, can be performed. Since the block C2 is not completely contained in the area of the current image, division and encoding may be omitted.

도 12d는 도 12c의 블록 C1을 확대한 것으로서, 굵은 선으로 둘러싸인 부분은 현재 영상 내의 영역이다. 블록 C1은 도 9를 참조하여 설명한 분할 대상 블록일 수 있다. 도 12d에 도시된 바와 같이, 블록 C1의 최우측 위치와 최하단 위치는 현재 영상의 영역에 완전히 포함되지 않는다. 또한, 블록 C1의 상위 블록인 B1에 대해 이진 트리 분할이 적용되었으므로, 블록 C1도 이진 트리 분할될 수 있다. 또한, 부호화 대상 블록은 세로로 긴 직사각형이므로, 분할 방향은 세로 방향으로 결정될 수 있다. 따라서, 블록 C1에 대해서는 단계 S905 내지 S907이 생략될 수 있고, 부호화 대상 블록의 형상에 따라 단계 S909 또는 S910의 이진 트리 분할이 수행될 수 있다. 그 후, 블록 C1을 이진 트리 분할하여 생성된 2개의 블록들(D1 및 D2) 중 첫번째 블록인 블록 D1에 대한 분할 및 부호화가 수행될 수 있다. 블록 D2는 현재 영상의 영역에 완전히 포함되지 않으므로, 분할 및 부호화가 생략될 수 있다. 12D is an enlarged view of the block C1 of FIG. 12C, and a portion surrounded by a thick line is an area in the current image. The block C1 may be the block to be divided described with reference to FIG. As shown in Fig. 12D, the rightmost position and the lowermost position of the block C1 are not completely included in the area of the current image. In addition, since the binary tree division is applied to the upper block B1 of the block C1, the block C1 can also be binary tree divided. Further, since the current block to be coded is a vertically long rectangle, the dividing direction can be determined to be the vertical direction. Therefore, steps S905 to S907 may be omitted for the block C1, and the binary tree segmentation of step S909 or S910 may be performed according to the shape of the current block. Then, the division and encoding of the block D1, which is the first one of the two blocks D1 and D2 generated by binary tree segmentation of the block C1, can be performed. Since the block D2 is not completely contained in the area of the current image, division and encoding may be omitted.

도 12e 는 도 12d의 블록 D1을 확대한 것으로서, 굵은 선으로 둘러싸인 부분은 현재 영상 내의 영역이다. 블록 D1은 도 9를 참조하여 설명한 분할 대상 블록일 수 있다. 도 12e에 도시된 바와 같이, 블록 D1의 최우측 위치와 최하단 위치는 현재 영상의 영역에 완전히 포함되지 않는다. 또한, 블록 D1의 상위 블록인 C1에 대해 이진 트리 분할이 적용되었으므로, 블록 D1도 이진 트리 분할될 수 있다. 또한, 부호화 대상 블록은 세로로 긴 직사각형이므로, 분할 방향은 세로 방향으로 결정될 수 있다. 따라서, 블록 D1에 대해서는 단계 S905 내지 S907이 생략될 수 있고, 부호화 대상 블록의 형상에 따라 단계 S909 또는 S910의 이진 트리 분할이 수행될 수 있다. 그 후, 블록 D1을 이진 트리 분할하여 생성된 2개의 블록들(E1 및 E2) 중 첫번째 블록인 블록 E1에 대한 분할 및 부호화가 수행될 수 있다. 블록 E1의 가로의 크기는 서브 블록의 최소 크기로 가정한 2와 동일하다. 따라서, 블록 E1에 대해서는 세로 분할이 수행될 수 없다. 즉, 블록 E1은 분할되지 않고 부호화되거나, 가로 분할된 후 부호화될 수 있다. 이 경우, 블록 E1에 대해서는 분할 여부에 관한 정보만 시그널링될 수 있다. 블록 E2는 현재 영상의 영역에 완전히 포함되지 않으므로, 분할 및 부호화가 생략될 수 있다. FIG. 12E is an enlarged view of the block D1 of FIG. 12D, and a portion surrounded by a thick line is an area in the current image. The block D1 may be the block to be divided described with reference to FIG. 12E, the rightmost position and the lowermost position of the block D1 are not completely included in the area of the current image. In addition, since the binary tree division is applied to C1 which is the upper block of the block D1, the block D1 can also be divided into binary trees. Further, since the current block to be coded is a vertically long rectangle, the dividing direction can be determined to be the vertical direction. Therefore, steps S905 to S907 may be omitted for the block D1, and the binary tree segmentation of step S909 or S910 may be performed according to the shape of the block to be coded. Then, the division and coding for the block E1, which is the first one of the two blocks E1 and E2 generated by binary tree segmentation of the block D1, can be performed. The width of the block E1 is equal to 2 assuming the minimum size of the sub-block. Therefore, the vertical division can not be performed for the block E1. That is, the block E1 may be encoded without being divided, or may be divided after being horizontally divided. In this case, for block E1, only information regarding whether or not to divide can be signaled. Since block E2 is not completely contained in the area of the current image, segmentation and encoding may be omitted.

도 11에 도시된 최대 블록 2와 최대 블록 5의 분할 정보 생략 방식은 동일할 수 있다. 또한, 최대 블록 6과 최대 블록 7의 분할 정보 생략 방식은 최대 블록 2와 최대 블록 5의 분할 정보 생략 방식과 가로인지 세로인지의 방향에 대한 차이만 있을 뿐 나머지는 동일할 수 있다. 최대 블록 8에 대해서는 가로 혹은 세로로 기설정된 기준을 이용하여 다른 최대 블록과 동일한 방식으로 분할 정보 생략을 수행할 수 있다.The division information abbreviation method of the maximum block 2 and the maximum block 5 shown in FIG. 11 may be the same. The method of omitting the division information of the maximum block 6 and the maximum block 7 may be the same as the method of omitting the division information of the maximum block 2 and the maximum block 5 and the difference in the direction of the width or the length. For the maximum block 8, it is possible to omit the partition information in the same manner as other maximum blocks by using a reference set horizontally or vertically.

이하에서는, 도 12a 내지 도 12e를 참조하여, 도 11의 최대 블록 2의 분할 방법 및/또는 분할 정보의 복호화에 대해 설명한다. Hereinafter, with reference to Figs. 12A to 12E, a method of dividing maximum block 2 and / or decoding of divided information in Fig. 11 will be described.

도 12a는 최대 블록 2를 확대한 것으로서, 굵은 선으로 둘러싸인 부분은 현재 영상 내의 영역이다. 최대 블록 2는 도 9를 참조하여 설명한 분할 대상 블록일 수 있다. 도 12a에 도시된 바와 같이, 최대 블록 2의 최우측 위치와 최하단 위치는 현재 영상의 영역에 완전히 포함되지 않는다. 또한, 최대 블록 2의 크기는 64x64로서, 쿼드 트리 분할이 가능한 크기이다. 이 경우, 최대 블록 2는 쿼드 트리 분할될 수 있다(S1003). 즉, 최대 블록 2에 대한 단계 S1001은 생략될 수 있다. 그 후, 최대 블록 2를 쿼드 트리 분할하여 생성된 4개의 블록들(A0, A1, A2 및 A3) 중 첫번째 블록인 블록 A0에 대한 분할 및 복호화가 수행될 수 있다. 블록 A1과 블록 A3은 현재 영상의 영역에 완전히 포함되지 않으므로, 분할 및 복호화가 생략될 수 있다. 블록 A2는 블록 A0과 마찬가지로 본 발명에 따라 분할 및 복호화될 수 있다.12A is an enlarged view of the maximum block 2, and a portion surrounded by a thick line is an area in the current image. The maximum block 2 may be the block to be divided described with reference to FIG. As shown in Fig. 12A, the rightmost position and the bottommost position of the maximum block 2 are not completely included in the area of the current image. In addition, the maximum block 2 size is 64x64, which is a size that can be divided into quad trees. In this case, the maximum block 2 can be quad-tree divided (S1003). That is, step S1001 for the maximum block 2 may be omitted. Then, the division and decryption of the block A0 which is the first block among the four blocks A0, A1, A2, and A3 generated by dividing the maximum block 2 by the quadtree can be performed. Since the block A1 and the block A3 are not completely contained in the area of the current image, the division and the decoding can be omitted. The block A2 can be divided and decoded according to the present invention like the block A0.

도 12b는 도 12a의 블록 A0을 확대한 것으로서, 굵은 선으로 둘러싸인 부분은 현재 영상 내의 영역이다. 블록 A0은 도 9를 참조하여 설명한 분할 대상 블록일 수 있다. 도 12b에 도시된 바와 같이, 블록 A0의 최우측 위치와 최하단 위치는 현재 영상의 영역에 완전히 포함되지 않는다. 또한, 블록 A0의 크기는 32x32로서, 쿼드 트리 분할이 가능한 크기이다. 이 경우, 블록 A0은 쿼드 트리 분할될 수 있다(S1003). 즉, 블록 A0에 대한 단계 S1001은 생략될 수 있다. 그 후, 블록 A0을 쿼드 트리 분할하여 생성된 4개의 블록들(B0, B1, B2 및 B3) 중 첫번째 블록인 블록 B0에 대한 분할 및 복호화가 수행될 수 있다. 블록 B0는 도 9를 참조하여 설명한 방법으로 분할 및 복호화될 수 있다. 즉, 블록 B0는 쿼드 트리 분할 및/또는 이진 트리 분할에 의해 분할되거나 또는 분할되지 않고 복호화될 수 있다. 블록 B2는 블록 B0과 마찬가지로 본 발명에 따라 분할 및 복호화될 수 있다. 블록 B1과 블록 B3은 현재 영상의 영역에 완전히 포함되지 않으므로, 분할 및 복호화가 생략될 수 있다. 블록 B2는 블록 B0과 동일한 방법으로 분할 및 복호화될 수 있다. 즉, 블록 B0과 블록 B2에 대해서는 단계 S1001을 생략할 수 없다. 그러나, 블록 B1과 B3에 대해서는 후술하는 바와 같이, 단계 S1001을 생략할 수 있다.FIG. 12B is an enlarged view of the block A0 in FIG. 12A, and a portion surrounded by a thick line is an area in the current image. The block A0 may be the block to be divided described with reference to FIG. As shown in Fig. 12B, the rightmost position and the lowermost position of the block A0 are not completely included in the area of the current image. The size of the block A0 is 32x32, which is a size capable of dividing the quadtree. In this case, the block A0 may be quad-tree partitioned (S1003). That is, step S1001 for block A0 may be omitted. Thereafter, division and decryption of the block B0, which is the first block among the four blocks B0, B1, B2, and B3 generated by dividing the block A0 into quad-trees, can be performed. Block B0 may be partitioned and decoded in the manner described with reference to FIG. That is, block B0 may be decoded by quad tree partitioning and / or by binary tree partitioning or not partitioned. The block B2 can be divided and decoded according to the present invention like the block B0. Since the block B1 and the block B3 are not completely included in the area of the current image, division and decoding may be omitted. The block B2 can be divided and decoded in the same manner as the block B0. That is, step S1001 can not be omitted for the block B0 and the block B2. However, for blocks B1 and B3, step S1001 may be omitted as will be described later.

도 12c는 도 12b의 블록 B1을 확대한 것으로서, 굵은 선으로 둘러싸인 부분은 현재 영상 내의 영역이다. 블록 B1은 도 9를 참조하여 설명한 분할 대상 블록일 수 있다. 도 12c에 도시된 바와 같이, 블록 B1의 최우측 위치와 최하단 위치는 현재 영상의 영역에 완전히 포함되지 않는다. 또한, 블록 B1의 크기는 16x16으로서, 쿼드 트리 분할이 불가능한 크기이다. 이 경우, 블록 B1은 쿼드 트리 분할될 수 없고, 이진 트리 분할될 수 있다. 또한, 복호화 대상 블록은 세로로 긴 직사각형이므로, 분할 방향은 세로 방향으로 결정될 수 있다. 따라서, 블록 B1에 대해서는 단계 S1001 내지 S1007이 생략될 수 있고, 복호화 대상 블록의 형상에 따라 단계 S1009 또는 S1010의 이진 트리 분할이 수행될 수 있다. 그 후, 블록 B1을 이진 트리 분할하여 생성된 2개의 블록들(C1 및 C2) 중 첫번째 블록인 블록 C1에 대한 분할 및 복호화가 수행될 수 있다. 블록 C2는 현재 영상의 영역에 완전히 포함되지 않으므로, 분할 및 복호화가 생략될 수 있다. FIG. 12C is an enlarged view of the block B1 in FIG. 12B, and a portion surrounded by a thick line is an area in the current image. The block B1 may be the block to be divided described with reference to Fig. As shown in Fig. 12C, the rightmost position and the bottommost position of the block B1 are not completely included in the area of the current image. Also, the size of the block B1 is 16x16, which is a size in which quad tree partitioning is impossible. In this case, the block B 1 can not be quad-tree-divided and can be binary tree-divided. Further, since the block to be decoded is a vertically long rectangle, the dividing direction can be determined to be the vertical direction. Therefore, steps S1001 to S1007 may be omitted for the block B1, and the binary tree segmentation of step S1009 or S1010 may be performed according to the shape of the block to be decoded. Thereafter, the partitioning and decoding for the block C1, which is the first one of the two blocks C1 and C2 generated by binary tree segmentation of the block B1, can be performed. Since the block C2 is not completely contained in the area of the current image, division and decryption may be omitted.

도 12d는 도 12c의 블록 C1을 확대한 것으로서, 굵은 선으로 둘러싸인 부분은 현재 영상 내의 영역이다. 블록 C1은 도 9를 참조하여 설명한 분할 대상 블록일 수 있다. 도 12d에 도시된 바와 같이, 블록 C1의 최우측 위치와 최하단 위치는 현재 영상의 영역에 완전히 포함되지 않는다. 또한, 블록 C1의 상위 블록인 B1에 대해 이진 트리 분할이 적용되었으므로, 블록 C1도 이진 트리 분할될 수 있다. 또한, 복호화 대상 블록은 세로로 긴 직사각형이므로, 분할 방향은 세로 방향으로 결정될 수 있다. 따라서, 블록 C1에 대해서는 단계 S1005 내지 S1007이 생략될 수 있고, 복호화 대상 블록의 형상에 따라 단계 S1009 또는 S1010의 이진 트리 분할이 수행될 수 있다. 그 후, 블록 C1을 이진 트리 분할하여 생성된 2개의 블록들(D1 및 D2) 중 첫번째 블록인 블록 D1에 대한 분할 및 복호화가 수행될 수 있다. 블록 D2는 현재 영상의 영역에 완전히 포함되지 않으므로, 분할 및 복호화가 생략될 수 있다. 12D is an enlarged view of the block C1 of FIG. 12C, and a portion surrounded by a thick line is an area in the current image. The block C1 may be the block to be divided described with reference to FIG. As shown in Fig. 12D, the rightmost position and the lowermost position of the block C1 are not completely included in the area of the current image. In addition, since the binary tree division is applied to the upper block B1 of the block C1, the block C1 can also be binary tree divided. Further, since the block to be decoded is a vertically long rectangle, the dividing direction can be determined to be the vertical direction. Therefore, steps S1005 to S1007 may be omitted for block C1, and the binary tree segmentation of step S1009 or S1010 may be performed according to the shape of the block to be decoded. Then, division and decryption of block D1, which is the first one of the two blocks D1 and D2 generated by binary tree segmentation of block C1, can be performed. Since the block D2 is not completely contained in the area of the current image, division and decoding may be omitted.

도 12e는 도 12d의 블록 D1을 확대한 것으로서, 굵은 선으로 둘러싸인 부분은 현재 영상 내의 영역이다. 블록 D1은 도 9를 참조하여 설명한 분할 대상 블록일 수 있다. 도 12e에 도시된 바와 같이, 블록 D1의 최우측 위치와 최하단 위치는 현재 영상의 영역에 완전히 포함되지 않는다. 또한, 블록 D1의 상위 블록인 C1에 대해 이진 트리 분할이 적용되었으므로, 블록 D1도 이진 트리 분할될 수 있다. 또한, 복호화 대상 블록은 세로로 긴 직사각형이므로, 분할 방향은 세로 방향으로 결정될 수 있다. 따라서, 블록 D1에 대해서는 단계 S1005 내지 S1007이 생략될 수 있고, 복호화 대상 블록의 형상에 따라 단계 S1009 또는 S1010의 이진 트리 분할이 수행될 수 있다. 그 후, 블록 D1을 이진 트리 분할하여 생성된 2개의 블록들(E1 및 E2) 중 첫번째 블록인 블록 E1에 대한 분할 및 복호화가 수행될 수 있다. 블록 E1의 가로의 크기는 서브 블록의 최소 크기로 가정한 2와 동일하다. 따라서, 블록 E1에 대해서는 세로 분할이 수행될 수 없다. 즉, 블록 E1은 분할되지 않고 복호화되거나, 가로 분할된 후 복호화될 수 있다. 이 경우, 블록 E1에 대해서는 분할 여부에 관한 정보만 시그널링될 수 있다. 블록 E2는 현재 영상의 영역에 완전히 포함되지 않으므로, 분할 및 복호화가 생략될 수 있다. FIG. 12E is an enlarged view of the block D1 of FIG. 12D, and a portion surrounded by a thick line is an area in the current image. The block D1 may be the block to be divided described with reference to FIG. 12E, the rightmost position and the lowermost position of the block D1 are not completely included in the area of the current image. In addition, since the binary tree division is applied to C1 which is the upper block of the block D1, the block D1 can also be divided into binary trees. Further, since the block to be decoded is a vertically long rectangle, the dividing direction can be determined to be the vertical direction. Therefore, steps S1005 to S1007 may be omitted for block D1, and the binary tree segmentation of step S1009 or S1010 may be performed depending on the shape of the block to be decoded. Then, division and decryption for block E1, which is the first one of the two blocks E1 and E2 generated by binary tree segmentation of block D1, can be performed. The width of the block E1 is equal to 2 assuming the minimum size of the sub-block. Therefore, the vertical division can not be performed for the block E1. That is, the block E1 can be decoded without being divided, decoded after being horizontally divided, and decoded. In this case, for block E1, only information regarding whether or not to divide can be signaled. Since the block E2 is not completely contained in the area of the current image, division and decryption may be omitted.

도 12를 참조하여 설명한 실시예에서, 분할 대상 블록에 대해 쿼드 트리 분할이 수행되다가 소정 조건이 만족되면 이진 트리 분할이 수행될 수 있다. 상기 실시예에서는 분할 대상 블록의 크기가 쿼드 트리 분할이 가능한 크기인지의 여부가 상기 소정 조건에 해당한다. 상기 소정 조건은 쿼드 트리 분할이 가능한 블록과 이진 트리 분할이 가능한 블록의 최소 크기 및/또는 임계값을 이용하여 설정될 수도 있다. In the embodiment described with reference to FIG. 12, the quadtree partitioning is performed on the partitioning target block, and if the predetermined condition is satisfied, the binary tree partitioning can be performed. In the above embodiment, whether or not the size of the block to be divided is a size that can be quad-tree divided corresponds to the predetermined condition. The predetermined condition may be set using a minimum size and / or a threshold of a quad-tree partitionable block and a block capable of binary tree partitioning.

임계값이 이용되는 경우, 분할 대상 블록 중 현재 영상에 완전히 포함되지 않는 영역(이하, “남은 영역”이라 함)의 크기와 임계값을 비교한 결과에 기초하여 쿼드 트리 분할과 이진 트리 분할 중 하나를 수행할 수 있다. 이하의 설명에서, 상기 임계값은 32라고 가정한다. When a threshold value is used, one of the quadtree division and the binary tree division is performed on the basis of the result of comparing the size of a region (hereinafter, referred to as " remaining region " Can be performed. In the following description, it is assumed that the threshold value is 32.

예를 들어, 도 12a에서 부호화 대상 블록의 크기는 18x64이며, 남은 영역의 크기는 46x64이다. 남은 영역이 세로로 긴 직사각형이기 때문에, 남은 영역의 가로 길이와 임계값을 비교할 수 있다. 남은 영역의 가로 길이는 46이고, 이는 상기 임계값 32보다 크기 때문에 64x64 분할 대상 블록에 대해 쿼드 트리 분할을 수행할 수 있다. 도 12b에서는 남은 영역의 가로 길이가 14이고, 이는 상기 임계값 32보다 작기 때문에, 32x32 분할 대상 블록에 대해 이진 트리 분할을 수행할 수 있다. 즉, 분할 대상 블록의 크기가 쿼드 트리 분할이 가능한 크기라고 하더라도, 상기 조건에 따라 쿼드 트리 분할 대신 이진 트리 분할이 수행될 수 있다. 이 때, 이진 트리 분할의 분할 방향은 18x32 부호화 대상 블록의 가로와 세로 중, 작은 쪽을 기준으로 한다. 따라서, 도 12b의 블록 A0은 두 개의 세로로 긴 16x32 블록으로 분할될 수 있다. 이 후, 블록의 크기가 이진 트리 분할이 가능하지 않을 때까지 세로 방향의 이진 트리 분할을 반복적으로 수행할 수 있다.For example, in FIG. 12A, the size of the current block is 18x64, and the size of the remaining area is 46x64. Since the remaining area is a vertically long rectangle, the horizontal length of the remaining area can be compared with the threshold value. The remaining area has a horizontal length of 46, which is larger than the threshold value 32, so that quad tree partitioning can be performed on a 64x64 partitioning target block. In FIG. 12B, since the width of the remaining area is 14, which is smaller than the threshold value 32, binary tree segmentation can be performed on the 32x32 partitioning target block. That is, even if the size of the block to be divided is a size that can be quad-tree partitioned, the binary tree partitioning can be performed instead of quad-tree partitioning according to the above conditions. In this case, the direction of division of the binary tree division is based on the smallest of the horizontal and vertical blocks of the 18x32 encoding target block. Thus, the block A0 in Fig. 12B can be divided into two vertically long 16x32 blocks. Thereafter, the vertical binary tree segmentation can be repeatedly performed until the size of the block can not be split into binary trees.

상기 임계값은 전술한 블록의 상위 레벨의 헤더를 통해 시그널링될 수 있다. 상기 임계값은 쿼드 트리 분할이 가능한 블록의 최대 크기와 최소 크기 사이의 값이어야 한다. 또한, 상기 임계값은 이진 트리 분할이 가능한 블록의 최대 크기보다는 작게 설정될 수 있다. 상기 임계값이 이진 트리 분할이 가능한 블록의 최대 크기보다 크게 설정된 경우, 상기 임계값은 이진 트리 분할이 가능한 블록의 최대 크기로 변경 설정될 수 있다.The threshold value may be signaled through the header of the upper level of the above-mentioned block. The threshold value should be a value between a maximum size and a minimum size of a quad-tree partitionable block. Also, the threshold value may be set to be smaller than a maximum size of a block that can be divided into binary trees. If the threshold value is set to be larger than the maximum size of a block capable of binary tree segmentation, the threshold value may be changed to a maximum size of a block capable of binary tree segmentation.

도 13a 내지 도 13e는 본 발명에 다른 실시예 따른 영상 분할 방법을 설명하기 위한 예시도이다.13A to 13E are diagrams for explaining an image dividing method according to another embodiment of the present invention.

도 13a는 최대 블록 2를 확대한 것으로서, 굵은 선으로 둘러싸인 부분은 현재 영상 내의 영역이다. 최대 블록 2는 도 9를 참조하여 설명한 분할 대상 블록일 수 있다. 도 13a에 도시된 바와 같이, 최대 블록 2의 최우측 위치와 최하단 위치는 현재 영상의 영역에 완전히 포함되지 않는다. 이 경우, 남은 영역의 형태에 기초하여 블록 분할 방식을 선택할 수 있다. 도 13a에서 남은 영역은 세로로 긴 46x64 블록이므로, 최대 블록 2에 대해 세로 방향의 이진 트리 분할을 수행할 수 있다. 즉, 최대 블록 2에 대한 단계 S901 내지 S907이 생략될 수 있고, 남은 영역의 형태에 따라 단계 S909 또는 S910이 수행될 수 있다.13A is an enlarged view of the maximum block 2, and a portion surrounded by a thick line is an area in the current image. The maximum block 2 may be the block to be divided described with reference to FIG. As shown in Fig. 13A, the rightmost position and the bottommost position of the maximum block 2 are not completely included in the area of the current image. In this case, the block dividing method can be selected based on the shape of the remaining area. Since the remaining area in FIG. 13A is a vertically long 46x64 block, it is possible to perform the vertical binary tree division on the maximum block 2. [ That is, steps S901 to S907 for the maximum block 2 may be omitted, and step S909 or S910 may be performed depending on the type of the remaining area.

도 13b는 도 13a의 블록 A0을 확대한 것으로서, 굵은 선으로 둘러싸인 부분은 현재 영상 내의 영역이다. 블록 A0은 도 9를 참조하여 설명한 분할 대상 블록일 수 있다. 도 13b에 도시된 바와 같이, 블록 A0의 최우측 위치와 최하단 위치는 현재 영상의 영역에 완전히 포함되지 않는다. 이 경우, 남은 영역의 형태에 기초하여 블록 분할 방식을 선택할 수 있다. 도 13b에서 남은 영역은 세로로 긴 14x64 블록이므로, 블록 A0에 대해 세로 방향의 이진 트리 분할을 수행할 수 있다. 블록 B0는 현재 영상 영역 내의 블록이므로 서브 블록 분할을 이용하여 부호화될 수 있다. 블록 B0에 대해서는 단계 S905 내지 S908이 생략될 수 없다.FIG. 13B is an enlarged view of the block A0 in FIG. 13A, and a portion surrounded by a thick line is an area in the current image. The block A0 may be the block to be divided described with reference to FIG. As shown in Fig. 13B, the rightmost position and the lowermost position of the block A0 are not completely included in the area of the current image. In this case, the block dividing method can be selected based on the shape of the remaining area. Since the remaining area in Fig. 13B is a vertically long 14x64 block, vertical binary tree division can be performed on the block A0. Since the block B0 is a block in the current image area, it can be encoded using sub-block division. Steps S905 to S908 can not be omitted for the block B0.

도 13c는 도 13b의 블록 B1을 확대한 것으로서, 굵은 선으로 둘러싸인 부분은 현재 영상 내의 영역이다. 블록 B1은 도 9를 참조하여 설명한 분할 대상 블록일 수 있다. 도 13c에 도시된 바와 같이, 블록 B1의 최우측 위치와 최하단 위치는 현재 영상의 영역에 완전히 포함되지 않는다. 이 경우, 남은 영역의 형태에 기초하여 블록 분할 방식을 선택할 수 있다. 도 13c에서 남은 영역은 세로로 긴 14x64 블록이므로, 블록 B1에 대해 세로 방향의 이진 트리 분할을 수행할 수 있다. 즉, 블록 B1에 대한 단계 S901 내지 S907이 생략될 수 있고, 남은 영역의 형태에 따라 단계 S909 또는 S910이 수행될 수 있다. 블록 C2는 현재 영상의 영역에 완전히 포함되지 않으므로, 분할 및 부호화가 생략될 수 있다.FIG. 13C is an enlarged view of the block B1 in FIG. 13B, and a portion surrounded by a thick line is an area in the current image. The block B1 may be the block to be divided described with reference to Fig. As shown in Fig. 13C, the rightmost position and the bottommost position of the block B1 are not completely included in the area of the current image. In this case, the block dividing method can be selected based on the shape of the remaining area. Since the remaining area in Fig. 13C is a vertically long 14x64 block, it is possible to perform the vertical binary tree division on the block B1. That is, steps S901 to S907 for block B1 may be omitted, and step S909 or S910 may be performed depending on the type of the remaining area. Since the block C2 is not completely contained in the area of the current image, division and encoding may be omitted.

도 13d는 도 13c의 블록 C1을 확대한 것으로서, 굵은 선으로 둘러싸인 부분은 현재 영상 내의 영역이다. 블록 C1은 도 9를 참조하여 설명한 분할 대상 블록일 수 있다. 도 13d에 도시된 바와 같이, 블록 C1의 최우측 위치와 최하단 위치는 현재 영상의 영역에 완전히 포함되지 않는다. 이 경우, 남은 영역의 형태에 기초하여 블록 분할 방식을 선택할 수 있다. 도 13c에서 남은 영역은 세로로 긴 6x64 블록이므로, 블록 C1에 대해 세로 방향의 이진 트리 분할을 수행할 수 있다. 즉, 블록 C1에 대한 단계 S901 내지 S907이 생략될 수 있고, 남은 영역의 형태에 따라 단계 S909 또는 S910이 수행될 수 있다. 블록 D2는 현재 영상의 영역에 완전히 포함되지 않으므로, 분할 및 부호화가 생략될 수 있다.FIG. 13D is an enlarged view of block C1 in FIG. 13C, and a portion surrounded by a thick line is an area in the current image. The block C1 may be the block to be divided described with reference to FIG. As shown in FIG. 13D, the rightmost position and the bottommost position of the block C1 are not completely included in the area of the current image. In this case, the block dividing method can be selected based on the shape of the remaining area. Since the remaining area in FIG. 13C is a vertically long 6x64 block, it is possible to perform the vertical binary tree division on the block C1. That is, steps S901 to S907 for block C1 may be omitted, and step S909 or S910 may be performed depending on the type of the remaining area. Since the block D2 is not completely contained in the area of the current image, division and encoding may be omitted.

도 13e는 도 13d의 블록 D1을 확대한 것으로서, 굵은 선으로 둘러싸인 부분은 현재 영상 내의 영역이다. 블록 D1은 도 9를 참조하여 설명한 분할 대상 블록일 수 있다. 도 13e에 도시된 바와 같이, 블록 D1의 최우측 위치와 최하단 위치는 현재 영상의 영역에 완전히 포함되지 않는다. 이 경우, 남은 영역의 형태에 기초하여 블록 분할 방식을 선택할 수 있다. 도 13c에서 남은 영역은 세로로 긴 2x64 블록이므로, 블록 D1에 대해 세로 방향의 이진 트리 분할을 수행할 수 있다. 즉, 블록 D1에 대한 단계 S901 내지 S907이 생략될 수 있고, 남은 영역의 형태에 따라 단계 S909 또는 S910이 수행될 수 있다. 블록 E1의 가로의 크기는 서브 블록의 최소 크기로 가정한 2와 동일하다. 따라서, 블록 E1에 대해서는 세로 분할이 수행될 수 없다. 즉, 블록 E1은 분할되지 않고 부호화되거나, 가로 분할된 후 부호화될 수 있다. 이 경우, 블록 E1에 대해서는 분할 여부에 관한 정보만 시그널링될 수 있다. 블록 E2는 현재 영상의 영역에 완전히 포함되지 않으므로, 분할 및 부호화가 생략될 수 있다. FIG. 13E is an enlarged view of the block D1 in FIG. 13D, and a portion surrounded by a thick line is an area in the current image. The block D1 may be the block to be divided described with reference to FIG. As shown in FIG. 13E, the rightmost position and the lowermost position of the block D1 are not completely included in the area of the current image. In this case, the block dividing method can be selected based on the shape of the remaining area. Since the remaining area in FIG. 13C is a vertically long 2x64 block, it is possible to perform the vertical binary tree division on the block D1. That is, steps S901 to S907 for block D1 may be omitted, and step S909 or S910 may be performed depending on the type of the remaining area. The width of the block E1 is equal to 2 assuming the minimum size of the sub-block. Therefore, the vertical division can not be performed for the block E1. That is, the block E1 may be encoded without being divided, or may be divided after being horizontally divided. In this case, for block E1, only information regarding whether or not to divide can be signaled. Since block E2 is not completely contained in the area of the current image, segmentation and encoding may be omitted.

이하에서는, 도 13a 내지 도 13e를 참조하여, 도 11의 최대 블록 2의 분할 방법 및/또는 분할 정보의 복호화에 대해 설명한다. Hereinafter, with reference to FIG. 13A to FIG. 13E, a description will be given of a dividing method of the maximum block 2 and / or a decoding of divided information shown in FIG.

도 13a는 최대 블록 2를 확대한 것으로서, 굵은 선으로 둘러싸인 부분은 현재 영상 내의 영역이다. 최대 블록 2는 도 9를 참조하여 설명한 분할 대상 블록일 수 있다. 도 13a에 도시된 바와 같이, 최대 블록 2의 최우측 위치와 최하단 위치는 현재 영상의 영역에 완전히 포함되지 않는다. 이 경우, 남은 영역의 형태에 기초하여 블록 분할 방식을 선택할 수 있다. 도 13a에서 남은 영역은 세로로 긴 46x64 블록이므로, 최대 블록 2에 대해 세로 방향의 이진 트리 분할을 수행할 수 있다. 즉, 최대 블록 2에 대한 단계 S1001 내지 S1007이 생략될 수 있고, 남은 영역의 형태에 따라 단계 S1009 또는 S1010이 수행될 수 있다.13A is an enlarged view of the maximum block 2, and a portion surrounded by a thick line is an area in the current image. The maximum block 2 may be the block to be divided described with reference to FIG. As shown in Fig. 13A, the rightmost position and the bottommost position of the maximum block 2 are not completely included in the area of the current image. In this case, the block dividing method can be selected based on the shape of the remaining area. Since the remaining area in FIG. 13A is a vertically long 46x64 block, it is possible to perform the vertical binary tree division on the maximum block 2. [ That is, steps S1001 to S1007 for the maximum block 2 may be omitted, and step S1009 or S1010 may be performed depending on the type of the remaining area.

도 13b는 도 13a의 블록 A0을 확대한 것으로서, 굵은 선으로 둘러싸인 부분은 현재 영상 내의 영역이다. 블록 A0은 도 9를 참조하여 설명한 분할 대상 블록일 수 있다. 도 13b에 도시된 바와 같이, 블록 A0의 최우측 위치와 최하단 위치는 현재 영상의 영역에 완전히 포함되지 않는다. 이 경우, 남은 영역의 형태에 기초하여 블록 분할 방식을 선택할 수 있다. 도 13b에서 남은 영역은 세로로 긴 14x64 블록이므로, 블록 A0에 대해 세로 방향의 이진 트리 분할을 수행할 수 있다. 블록 B0는 현재 영상 영역 내의 블록이므로 서브 블록 분할을 이용하여 복호화될 수 있다. 블록 B0에 대해서는 단계 S1005 내지 S1008이 생략될 수 없다.FIG. 13B is an enlarged view of the block A0 in FIG. 13A, and a portion surrounded by a thick line is an area in the current image. The block A0 may be the block to be divided described with reference to FIG. As shown in Fig. 13B, the rightmost position and the lowermost position of the block A0 are not completely included in the area of the current image. In this case, the block dividing method can be selected based on the shape of the remaining area. Since the remaining area in Fig. 13B is a vertically long 14x64 block, vertical binary tree division can be performed on the block A0. Since the block B0 is a block in the current image area, it can be decoded using sub-block division. Steps S1005 to S1008 can not be omitted for the block B0.

도 13c는 도 13b의 블록 B1을 확대한 것으로서, 굵은 선으로 둘러싸인 부분은 현재 영상 내의 영역이다. 블록 B1은 도 9를 참조하여 설명한 분할 대상 블록일 수 있다. 도 13c에 도시된 바와 같이, 블록 B1의 최우측 위치와 최하단 위치는 현재 영상의 영역에 완전히 포함되지 않는다. 이 경우, 남은 영역의 형태에 기초하여 블록 분할 방식을 선택할 수 있다. 도 13c에서 남은 영역은 세로로 긴 14x64 블록이므로, 블록 B1에 대해 세로 방향의 이진 트리 분할을 수행할 수 있다. 즉, 블록 B1에 대한 단계 S1001 내지 S1007이 생략될 수 있고, 남은 영역의 형태에 따라 단계 S1009 또는 S1010이 수행될 수 있다. 블록 C2는 현재 영상의 영역에 완전히 포함되지 않으므로, 분할 및 복호화가 생략될 수 있다.FIG. 13C is an enlarged view of the block B1 in FIG. 13B, and a portion surrounded by a thick line is an area in the current image. The block B1 may be the block to be divided described with reference to Fig. As shown in Fig. 13C, the rightmost position and the bottommost position of the block B1 are not completely included in the area of the current image. In this case, the block dividing method can be selected based on the shape of the remaining area. Since the remaining area in Fig. 13C is a vertically long 14x64 block, it is possible to perform the vertical binary tree division on the block B1. That is, steps S1001 to S1007 for block B1 may be omitted, and step S1009 or S1010 may be performed depending on the type of the remaining area. Since the block C2 is not completely contained in the area of the current image, division and decryption may be omitted.

도 13d는 도 13c의 블록 C1을 확대한 것으로서, 굵은 선으로 둘러싸인 부분은 현재 영상 내의 영역이다. 블록 C1은 도 9를 참조하여 설명한 분할 대상 블록일 수 있다. 도 13d에 도시된 바와 같이, 블록 C1의 최우측 위치와 최하단 위치는 현재 영상의 영역에 완전히 포함되지 않는다. 이 경우, 남은 영역의 형태에 기초하여 블록 분할 방식을 선택할 수 있다. 도 13c에서 남은 영역은 세로로 긴 6x64 블록이므로, 블록 C1에 대해 세로 방향의 이진 트리 분할을 수행할 수 있다. 즉, 블록 C1에 대한 단계 S1001 내지 S1007이 생략될 수 있고, 남은 영역의 형태에 따라 단계 S1009 또는 S1010이 수행될 수 있다. 블록 D2는 현재 영상의 영역에 완전히 포함되지 않으므로, 분할 및 복호화가 생략될 수 있다.FIG. 13D is an enlarged view of block C1 in FIG. 13C, and a portion surrounded by a thick line is an area in the current image. The block C1 may be the block to be divided described with reference to FIG. As shown in FIG. 13D, the rightmost position and the bottommost position of the block C1 are not completely included in the area of the current image. In this case, the block dividing method can be selected based on the shape of the remaining area. Since the remaining area in FIG. 13C is a vertically long 6x64 block, it is possible to perform the vertical binary tree division on the block C1. That is, steps S1001 to S1007 for block C1 may be omitted, and step S1009 or S1010 may be performed depending on the type of the remaining area. Since the block D2 is not completely contained in the area of the current image, division and decoding may be omitted.

도 13e는 도 13d의 블록 D1을 확대한 것으로서, 굵은 선으로 둘러싸인 부분은 현재 영상 내의 영역이다. 블록 D1은 도 9를 참조하여 설명한 분할 대상 블록일 수 있다. 도 13e에 도시된 바와 같이, 블록 D1의 최우측 위치와 최하단 위치는 현재 영상의 영역에 완전히 포함되지 않는다. 이 경우, 남은 영역의 형태에 기초하여 블록 분할 방식을 선택할 수 있다. 도 13c에서 남은 영역은 세로로 긴 2x64 블록이므로, 블록 D1에 대해 세로 방향의 이진 트리 분할을 수행할 수 있다. 즉, 블록 D1에 대한 단계 S1001 내지 S1007이 생략될 수 있고, 남은 영역의 형태에 따라 단계 S1009 또는 S1010이 수행될 수 있다. 블록 E1의 가로의 크기는 서브 블록의 최소 크기로 가정한 2와 동일하다. 따라서, 블록 E1에 대해서는 세로 분할이 수행될 수 없다. 즉, 블록 E1은 분할되지 않고 복호화되거나, 가로 분할된 후 복호화될 수 있다. 이 경우, 블록 E1에 대해서는 분할 여부에 관한 정보만 시그널링될 수 있다. 블록 E2는 현재 영상의 영역에 완전히 포함되지 않으므로, 분할 및 복호화가 생략될 수 있다. FIG. 13E is an enlarged view of the block D1 in FIG. 13D, and a portion surrounded by a thick line is an area in the current image. The block D1 may be the block to be divided described with reference to FIG. As shown in FIG. 13E, the rightmost position and the lowermost position of the block D1 are not completely included in the area of the current image. In this case, the block dividing method can be selected based on the shape of the remaining area. Since the remaining area in FIG. 13C is a vertically long 2x64 block, it is possible to perform the vertical binary tree division on the block D1. That is, steps S1001 to S1007 for block D1 may be omitted, and step S1009 or S1010 may be performed depending on the type of the remaining area. The width of the block E1 is equal to 2 assuming the minimum size of the sub-block. Therefore, the vertical division can not be performed for the block E1. That is, the block E1 can be decoded without being divided, decoded after being horizontally divided, and decoded. In this case, for block E1, only information regarding whether or not to divide can be signaled. Since the block E2 is not completely contained in the area of the current image, division and decryption may be omitted.

도 13을 참조하여 설명한 실시예에서는, 분할 대상 블록에 대해 이진 트리 분할만이 수행되며, 이진 트리 분할의 방향은 남은 영역의 형상에 따라 결정될 수 있다.In the embodiment described with reference to FIG. 13, only the binary tree division is performed for the block to be divided, and the direction of the binary tree division can be determined according to the shape of the remaining area.

도 9 및 도 10을 참조하여 설명한 실시예에 있어서, 서브 블록 단위 또는 블록 단위로 영상의 경계에 대한 분할 처리를 수행할 수 있다. 어떤 단위로 영상의 경계에 대한 분할 처리를 수행할 지 여부에 관한 정보는 시그널링될 수 있다. 예컨대, 상기 정보는 전술한 블록의 상위 레벨의 헤더를 통해 부호화기에서 복호화기로 시그널링될 수 있다.In the embodiment described with reference to FIG. 9 and FIG. 10, it is possible to perform a dividing process on an image boundary on a sub-block unit or block basis. Information about whether or not to perform the division processing on the boundary of the image in which unit can be signaled. For example, the information may be signaled from the encoder to the decoder through the header of the upper level of the block described above.

본 개시의 예시적인 방법들은 설명의 명확성을 위해서 동작의 시리즈로 표현되어 있지만, 이는 단계가 수행되는 순서를 제한하기 위한 것은 아니며, 필요한 경우에는 각각의 단계가 동시에 또는 상이한 순서로 수행될 수도 있다. 본 개시에 따른 방법을 구현하기 위해서, 예시하는 단계에 추가적으로 다른 단계를 포함하거나, 일부의 단계를 제외하고 나머지 단계를 포함하거나, 또는 일부의 단계를 제외하고 추가적인 다른 단계를 포함할 수도 있다.Although the exemplary methods of this disclosure are represented by a series of acts for clarity of explanation, they are not intended to limit the order in which the steps are performed, and if necessary, each step may be performed simultaneously or in a different order. In order to implement the method according to the present disclosure, the illustrative steps may additionally include other steps, include the remaining steps except for some steps, or may include additional steps other than some steps.

본 개시의 다양한 실시 예는 모든 가능한 조합을 나열한 것이 아니고 본 개시의 대표적인 양상을 설명하기 위한 것이며, 다양한 실시 예에서 설명하는 사항들은 독립적으로 적용되거나 또는 둘 이상의 조합으로 적용될 수도 있다.The various embodiments of the disclosure are not intended to be all-inclusive and are intended to illustrate representative aspects of the disclosure, and the features described in the various embodiments may be applied independently or in a combination of two or more.

또한, 본 개시의 다양한 실시 예는 하드웨어, 펌웨어(firmware), 소프트웨어, 또는 그들의 결합 등에 의해 구현될 수 있다. 하드웨어에 의한 구현의 경우, 하나 또는 그 이상의 ASICs(Application Specific Integrated Circuits), DSPs(Digital Signal Processors), DSPDs(Digital Signal Processing Devices), PLDs(Programmable Logic Devices), FPGAs(Field Programmable Gate Arrays), 범용 프로세서(general processor), 컨트롤러, 마이크로 컨트롤러, 마이크로 프로세서 등에 의해 구현될 수 있다. In addition, various embodiments of the present disclosure may be implemented by hardware, firmware, software, or a combination thereof. In the case of hardware implementation, one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays A general processor, a controller, a microcontroller, a microprocessor, and the like.

본 개시의 범위는 다양한 실시 예의 방법에 따른 동작이 장치 또는 컴퓨터 상에서 실행되도록 하는 소프트웨어 또는 머신-실행가능한 명령들(예를 들어, 운영체제, 애플리케이션, 펌웨어(firmware), 프로그램 등), 및 이러한 소프트웨어 또는 명령 등이 저장되어 장치 또는 컴퓨터 상에서 실행 가능한 비-일시적 컴퓨터-판독가능 매체(non-transitory computer-readable medium)를 포함한다.The scope of the present disclosure is to be accorded the broadest interpretation as understanding of the principles of the invention, as well as software or machine-executable instructions (e.g., operating system, applications, firmware, Instructions, and the like are stored and are non-transitory computer-readable medium executable on the device or computer.

Claims (22)

현재 영상을 복수의 블록들로 분할하는 제1 분할 단계; 및
상기 복수의 블록들 중 상기 현재 영상의 경계를 포함하는 분할 대상 블록을 복수의 하위 블록들로 분할하는 제2 분할 단계를 포함하고,
상기 제2 분할 단계는, 상기 하위 블록들 중 상기 현재 영상의 경계를 포함하는 하위 블록이 존재하지 않을 때까지, 상기 현재 영상의 경계를 포함하는 하위 블록을 상기 분할 대상 블록으로하여 재귀적으로 수행되는 영상 부호화 방법.
A first segmenting step of segmenting the current image into a plurality of blocks; And
A second dividing step of dividing a division target block including the boundary of the current image among the plurality of blocks into a plurality of sub-blocks,
The second dividing step recursively performs a sub-block including the boundary of the current image as the dividing target block until there is no sub-block including the boundary of the current image among the sub-blocks Lt; / RTI >
제1항에 있어서,
상기 제1 분할 단계는,
상기 현재 영상을 동일한 크기의 복수의 최대 블록으로 분할하는 단계인 영상 부호화 방법.
The method according to claim 1,
Wherein the first dividing step comprises:
And dividing the current image into a plurality of maximum blocks of the same size.
제1항에 있어서,
상기 제2 분할 단계는,
상기 분할 대상 블록에 대해 쿼드 트리 분할 또는 이진 트리 분할을 수행하는 단계인 영상 부호화 방법.
The method according to claim 1,
Wherein the second segmentation step comprises:
Performing a quadtree division or a binary tree division on the block to be divided.
제3항에 있어서,
상기 분할 대상 블록이 상기 쿼드 트리 분할이 가능한 크기인 경우, 상기 제2 분할 단계는 상기 분할 대상 블록에 대해 상기 쿼드 트리 분할을 수행하고,
상기 분할 대상 블록이 상기 쿼드 트리 분할이 가능하지 않은 크기인 경우, 상기 제2 분할 단계는 상기 분할 대상 블록에 대해 상기 이진 트리 분할을 수행하는 영상 부호화 방법.
The method of claim 3,
If the partitioning target block is of a size that can be quad-tree partitioned, the second partitioning step performs the quadtree partitioning on the partitioning target block,
Wherein the second partitioning step performs the binary tree partitioning on the partitioning target block when the partitioning target block is of a size in which the quadtree partitioning is not possible.
제4항에 있어서,
상기 제2 분할 단계에서 상기 분할 대상 블록에 대해 상기 쿼드 트리 분할 또는 상기 이진 트리 분할이 수행된 경우, 상기 분할 대상 블록이 쿼드 트리 분할되는지의 여부를 나타내는 제1 분할 정보 또는 상기 분할 대상 블록이 이진 트리 분할되는지의 여부를 나타내는 제2 분할 정보는 부호화되지 않는 영상 부호화 방법.
5. The method of claim 4,
When the quadtree partitioning or the binary tree partitioning is performed on the partitioning target block in the second partitioning step, first division information indicating whether or not the partitioning target block is quad-tree partitioned, Wherein the second division information indicating whether or not the tree is divided is not coded.
제4항에 있어서,
상기 제2 분할 단계에서 상기 분할 대상 블록에 대해 상기 이진 트리 분할이 수행된 경우,
상기 이진 트리 분할의 분할 방향은, 상기 분할 대상 블록에 포함되고 동시에 상기 현재 영상의 경계 내의 영역인 부호화 대상 블록의 형태에 기초하여 결정되는 영상 부호화 방법.
5. The method of claim 4,
When the binary tree segmentation is performed on the partitioning target block in the second partitioning step,
Wherein the division direction of the binary tree division is determined based on a shape of a block to be coded which is included in the division target block and which is an area within the boundary of the current image.
제4항에 있어서,
상기 제2 분할 단계에서 상기 분할 대상 블록에 대해 상기 이진 트리 분할이 수행된 경우,
상기 이진 트리 분할의 분할 방향을 나타내는 분할 방향 정보는 부호화되지 않는 영상 부호화 방법.
5. The method of claim 4,
When the binary tree segmentation is performed on the partitioning target block in the second partitioning step,
Wherein the division direction information indicating the division direction of the binary tree division is not coded.
제3항에 있어서,
상기 제2 분할 단계는,
상기 분할 대상 블록에 포함되고 동시에 상기 현재 영상의 경계 밖의 영역인 남은 영역의 크기와 소정의 임계값을 비교하는 단계를 더 포함하고,
상기 비교 결과에 기초하여, 상기 분할 대상 블록에 대해 상기 쿼드 트리 분할 및 상기 이진 트리 분할 중 하나를 수행하는 영상 부호화 방법.
The method of claim 3,
Wherein the second segmentation step comprises:
Further comprising the step of comparing a predetermined threshold value with a size of a remaining area included in the division target block and which is an area outside the boundary of the current image,
And performing one of the quadtree division and the binary tree division on the division target block based on the comparison result.
제8항에 있어서,
상기 남은 영역의 크기는 상기 남은 영역의 가로 길이 및 세로 길이 중 작은 쪽이고,
상기 제2 분할 단계는,
상기 남은 영역의 크기가 상기 소정의 임계값보다 큰 경우, 상기 분할 대상 블록에 대해 상기 쿼드 트리 분할을 수행하고,
상기 남은 영역의 크기가 상기 소정의 임계값보다 작은 경우, 상기 분할 대상 블록에 대해 상기 이진 트리 분할을 수행하는 영상 부호화 방법.
9. The method of claim 8,
The size of the remaining area is a smaller one of the horizontal length and the vertical length of the remaining area,
Wherein the second segmentation step comprises:
Performing the quadtree partitioning on the partitioning target block when the size of the remaining area is larger than the predetermined threshold value,
And if the size of the remaining area is smaller than the predetermined threshold value, performing the binary tree division on the block to be divided.
제1항에 있어서,
상기 제2 분할 단계는, 상기 분할 대상 블록에 대해 이진 트리 분할을 수행하는 단계이고,
상기 이진 트리 분할의 분할 방향은, 상기 분할 대상 블록에 포함되고 동시에 상기 현재 영상의 경계 밖의 영역인 남은 영역의 형태에 기초하여 결정되는 영상 부호화 방법.
The method according to claim 1,
The second partitioning step is a step of performing a binary tree division on the partitioning target block,
Wherein the division direction of the binary tree division is determined based on a shape of a remaining area included in the division target block and which is an area outside the boundary of the current image.
제10항에 있어서,
상기 이진 트리 분할의 분할 방향은,
상기 남은 영역의 형태가 세로로 긴 블록인 경우, 세로 방향이고,
상기 남은 영역의 형태가 가로로 긴 블록인 경우, 가로 방향인 영상 부호화 방법.
11. The method of claim 10,
The division direction of the binary tree division may be,
If the shape of the remaining area is a vertically long block,
And when the shape of the remaining area is a horizontally long block, the horizontal direction.
현재 영상을 복수의 블록들로 분할하는 제1 분할 단계; 및
상기 복수의 블록들 중 상기 현재 영상의 경계를 포함하는 분할 대상 블록을 복수의 하위 블록들로 분할하는 제2 분할 단계를 포함하고,
상기 제2 분할 단계는, 상기 하위 블록들 중 상기 현재 영상의 경계를 포함하는 하위 블록이 존재하지 않을 때까지, 상기 현재 영상의 경계를 포함하는 하위 블록을 상기 분할 대상 블록으로하여 재귀적으로 수행되는 영상 복호화 방법.
A first segmenting step of segmenting the current image into a plurality of blocks; And
A second dividing step of dividing a division target block including the boundary of the current image among the plurality of blocks into a plurality of sub-blocks,
The second dividing step recursively performs a sub-block including the boundary of the current image as the dividing target block until there is no sub-block including the boundary of the current image among the sub-blocks / RTI >
제12항에 있어서,
상기 제2 분할 단계는,
상기 분할 대상 블록에 대해 쿼드 트리 분할 또는 이진 트리 분할을 수행하는 단계인 영상 복호화 방법.
13. The method of claim 12,
Wherein the second segmentation step comprises:
And performing a quadtree partitioning or a binary tree partitioning on the partitioning target block.
제13항에 있어서,
상기 분할 대상 블록이 상기 쿼드 트리 분할이 가능한 크기인 경우, 상기 제2 분할 단계는 상기 분할 대상 블록에 대해 상기 쿼드 트리 분할을 수행하고,
상기 분할 대상 블록이 상기 쿼드 트리 분할이 가능하지 않은 크기인 경우, 상기 제2 분할 단계는 상기 분할 대상 블록에 대해 상기 이진 트리 분할을 수행하는 영상 복호화 방법.
14. The method of claim 13,
If the partitioning target block is of a size that can be quad-tree partitioned, the second partitioning step performs the quadtree partitioning on the partitioning target block,
Wherein the second partitioning step performs the binary tree partitioning on the partitioning target block when the partitioning target block is of a size that is not capable of partitioning the quadtree.
제14항에 있어서,
상기 제2 분할 단계에서 상기 분할 대상 블록에 대해 상기 쿼드 트리 분할 또는 상기 이진 트리 분할이 수행된 경우, 상기 분할 대상 블록이 쿼드 트리 분할되는지의 여부를 나타내는 제1 분할 정보 또는 상기 분할 대상 블록이 이진 트리 분할되는지의 여부를 나타내는 제2 분할 정보는 비트스트림으로부터 복호화되지 않고, 소정의 값으로 유도되는 영상 복호화 방법.
15. The method of claim 14,
When the quadtree partitioning or the binary tree partitioning is performed on the partitioning target block in the second partitioning step, first division information indicating whether or not the partitioning target block is quad-tree partitioned, Wherein the second division information indicating whether or not a tree is divided is derived from a bit stream and is not decoded but a predetermined value.
제14항에 있어서,
상기 제2 분할 단계에서 상기 분할 대상 블록에 대해 상기 이진 트리 분할이 수행된 경우,
상기 이진 트리 분할의 분할 방향은, 상기 분할 대상 블록에 포함되고 동시에 상기 현재 영상의 경계 내의 영역인 복호화 대상 블록의 형태에 기초하여 결정되는 영상 복호화 방법.
15. The method of claim 14,
When the binary tree segmentation is performed on the partitioning target block in the second partitioning step,
Wherein the dividing direction of the binary tree division is determined based on a type of a block to be decoded which is included in the block to be divided and which is an area within the boundary of the current image.
제14항에 있어서,
상기 제2 분할 단계에서 상기 분할 대상 블록에 대해 상기 이진 트리 분할이 수행된 경우,
상기 이진 트리 분할의 분할 방향을 나타내는 분할 방향 정보는 비트스트림으로부터 복호화되지 않고, 소정의 값으로 유도되는 영상 복호화 방법.
15. The method of claim 14,
When the binary tree segmentation is performed on the partitioning target block in the second partitioning step,
Wherein the dividing direction information indicating the dividing direction of the binary tree division is not decoded from the bit stream but is guided to a predetermined value.
제13항에 있어서,
상기 제2 분할 단계는,
상기 분할 대상 블록에 포함되고 동시에 상기 현재 영상의 경계 밖의 영역인 남은 영역의 크기와 소정의 임계값을 비교하는 단계를 더 포함하고,
상기 비교 결과에 기초하여, 상기 분할 대상 블록에 대해 상기 쿼드 트리 분할 및 상기 이진 트리 분할 중 하나를 수행하는 영상 복호화 방법.
14. The method of claim 13,
Wherein the second segmentation step comprises:
Further comprising the step of comparing a predetermined threshold value with a size of a remaining area included in the division target block and which is an area outside the boundary of the current image,
And performing one of the quadtree partitioning and the binary tree partitioning on the block to be partitioned based on the comparison result.
제18항에 있어서,
상기 남은 영역의 크기는 상기 남은 영역의 가로 길이 및 세로 길이 중 작은 쪽이고,
상기 제2 분할 단계는,
상기 남은 영역의 크기가 상기 소정의 임계값보다 큰 경우, 상기 분할 대상 블록에 대해 상기 쿼드 트리 분할을 수행하고,
상기 남은 영역의 크기가 상기 소정의 임계값보다 작은 경우, 상기 분할 대상 블록에 대해 상기 이진 트리 분할을 수행하는 영상 복호화 방법.
19. The method of claim 18,
The size of the remaining area is a smaller one of the horizontal length and the vertical length of the remaining area,
Wherein the second segmentation step comprises:
Performing the quadtree partitioning on the partitioning target block when the size of the remaining area is larger than the predetermined threshold value,
And if the size of the remaining area is smaller than the predetermined threshold value, performing the binary tree division on the partitioning target block.
제12항에 있어서,
상기 제2 분할 단계는, 상기 분할 대상 블록에 대해 이진 트리 분할을 수행하는 단계이고,
상기 이진 트리 분할의 분할 방향은, 상기 분할 대상 블록에 포함되고 동시에 상기 현재 영상의 경계 밖의 영역인 남은 영역의 형태에 기초하여 결정되는 영상 복호화 방법.
13. The method of claim 12,
The second partitioning step is a step of performing a binary tree division on the partitioning target block,
Wherein the division direction of the binary tree division is determined based on a shape of a remaining area included in the division target block and being a region outside the boundary of the current image.
제20항에 있어서,
상기 이진 트리 분할의 분할 방향은,
상기 남은 영역의 형태가 세로로 긴 블록인 경우, 세로 방향이고,
상기 남은 영역의 형태가 가로로 긴 블록인 경우, 가로 방향인 영상 복호화 방법.
21. The method of claim 20,
The division direction of the binary tree division may be,
If the shape of the remaining area is a vertically long block,
And when the shape of the remaining area is a horizontally long block, the horizontal direction.
영상 부호화 방법에 의해 생성된 비트스트림을 저장하는 컴퓨터 판독 가능한 기록 매체로서,
상기 영상 부호화 방법은,
현재 영상을 복수의 블록들로 분할하는 제1 분할 단계; 및
상기 복수의 블록들 중 상기 현재 영상의 경계를 포함하는 분할 대상 블록을 복수의 하위 블록들로 분할하는 제2 분할 단계를 포함하고,
상기 제2 분할 단계는, 상기 하위 블록들 중 상기 현재 영상의 경계를 포함하는 하위 블록이 존재하지 않을 때까지, 상기 현재 영상의 경계를 포함하는 하위 블록을 상기 분할 대상 블록으로하여 재귀적으로 수행되는 기록 매체.
A computer-readable recording medium storing a bit stream generated by a video encoding method,
The image encoding method includes:
A first segmenting step of segmenting the current image into a plurality of blocks; And
A second dividing step of dividing a division target block including the boundary of the current image among the plurality of blocks into a plurality of sub-blocks,
The second dividing step recursively performs a sub-block including the boundary of the current image as the dividing target block until there is no sub-block including the boundary of the current image among the sub-blocks Lt; / RTI >
KR1020170127939A 2016-10-14 2017-09-29 Image encoding method/apparatus, image decoding method/apparatus and and recording medium for storing bitstream KR102511611B1 (en)

Priority Applications (30)

Application Number Priority Date Filing Date Title
CN202310595129.0A CN116489397A (en) 2016-10-14 2017-10-12 Video decoding/encoding method, method for transmitting bit stream, and recording medium
CN202310596456.8A CN116489406A (en) 2016-10-14 2017-10-12 Video decoding/encoding method, method for transmitting bit stream, and recording medium
CN202310595082.8A CN116489396A (en) 2016-10-14 2017-10-12 Video decoding/encoding method, method for transmitting bit stream, and recording medium
CN202310511201.7A CN116405669A (en) 2016-10-14 2017-10-12 Video decoding/encoding method, method for transmitting bit stream, and recording medium
CN202310596009.2A CN116489405A (en) 2016-10-14 2017-10-12 Video decoding/encoding method, method for transmitting bit stream, and recording medium
CN202310512086.5A CN116320404A (en) 2016-10-14 2017-10-12 Video decoding/encoding method, method for transmitting bit stream, and recording medium
PCT/KR2017/011213 WO2018070786A1 (en) 2016-10-14 2017-10-12 Image encoding method/device, image decoding method/device, and recording medium in which bitstream is stored
CN202310511853.0A CN116320403A (en) 2016-10-14 2017-10-12 Video decoding/encoding method, method for transmitting bit stream, and recording medium
CN202310595313.5A CN116489400A (en) 2016-10-14 2017-10-12 Video decoding/encoding method, method for transmitting bit stream, and recording medium
CN202310595418.0A CN116489402A (en) 2016-10-14 2017-10-12 Video decoding/encoding method, method for transmitting bit stream, and recording medium
CN202310595869.4A CN116489404A (en) 2016-10-14 2017-10-12 Video decoding/encoding method, method for transmitting bit stream, and recording medium
CN202310595151.5A CN116489398A (en) 2016-10-14 2017-10-12 Video decoding/encoding method, method for transmitting bit stream, and recording medium
CN202310595161.9A CN116489399A (en) 2016-10-14 2017-10-12 Video decoding/encoding method, method for transmitting bit stream, and recording medium
CN202310512074.2A CN116405670A (en) 2016-10-14 2017-10-12 Video decoding/encoding method, method for transmitting bit stream, and recording medium
CN201780063610.8A CN109937570B (en) 2016-10-14 2017-10-12 Video encoding method and apparatus, video decoding method and apparatus, and recording medium storing bit stream
CN202310508607.XA CN116389726A (en) 2016-10-14 2017-10-12 Video decoding/encoding method, method for transmitting bit stream, and recording medium
CN202310594159.XA CN116489394A (en) 2016-10-14 2017-10-12 Video decoding/encoding method, method for transmitting bit stream, and recording medium
CN202310593832.8A CN116489393A (en) 2016-10-14 2017-10-12 Video decoding/encoding method, method for transmitting bit stream, and recording medium
CN202310595383.0A CN116489401A (en) 2016-10-14 2017-10-12 Video decoding/encoding method, method for transmitting bit stream, and recording medium
CN202310595849.7A CN116489403A (en) 2016-10-14 2017-10-12 Video decoding/encoding method, method for transmitting bit stream, and recording medium
CN202310592033.9A CN116489392A (en) 2016-10-14 2017-10-12 Video decoding/encoding method, method for transmitting bit stream, and recording medium
CN202310594432.9A CN116489395A (en) 2016-10-14 2017-10-12 Video decoding/encoding method, method for transmitting bit stream, and recording medium
US16/341,792 US11057624B2 (en) 2016-10-14 2017-10-12 Image encoding method/device, image decoding method/device, and recording medium in which bitstream is stored
US17/328,273 US11659178B2 (en) 2016-10-14 2021-05-24 Image encoding method/device, image decoding method/device, and recording medium in which bitstream is stored
US17/818,650 US20220400258A1 (en) 2016-10-14 2022-08-09 Image encoding method/device, image decoding method/device, and recording medium in which bitstream is stored
KR1020230033494A KR20230042236A (en) 2016-10-14 2023-03-14 Image encoding method/apparatus, image decoding method/apparatus and and recording medium for storing bitstream
US18/313,281 US11778184B1 (en) 2016-10-14 2023-05-05 Image encoding method/device, image decoding method/device, and recording medium in which bitstream is stored
US18/468,561 US11909971B2 (en) 2016-10-14 2023-09-15 Image encoding method/device, image decoding method/device, and recording medium in which bitstream is stored
US18/468,547 US11902521B2 (en) 2016-10-14 2023-09-15 Image encoding method/device, image decoding method/device, and recording medium in which bitstream is stored
US18/468,555 US11909970B2 (en) 2016-10-14 2023-09-15 Image encoding method/device, image decoding method/device, and recording medium in which bitstream is stored

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020160133754 2016-10-14
KR20160133754 2016-10-14

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020230033494A Division KR20230042236A (en) 2016-10-14 2023-03-14 Image encoding method/apparatus, image decoding method/apparatus and and recording medium for storing bitstream

Publications (2)

Publication Number Publication Date
KR20180041576A true KR20180041576A (en) 2018-04-24
KR102511611B1 KR102511611B1 (en) 2023-03-20

Family

ID=62084963

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170127939A KR102511611B1 (en) 2016-10-14 2017-09-29 Image encoding method/apparatus, image decoding method/apparatus and and recording medium for storing bitstream

Country Status (1)

Country Link
KR (1) KR102511611B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020004987A1 (en) * 2018-06-27 2020-01-02 한국전자통신연구원 Image encoding/decoding method and device, and recording medium in which bitstream is stored

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110047697A (en) * 2009-10-30 2011-05-09 삼성전자주식회사 Method and apparatus for encoding and decoding coding unit of picture boundary
KR20130006690A (en) * 2010-04-13 2013-01-17 프라운호퍼 게젤샤프트 쭈르 푀르데룽 데어 안겐반텐 포르슝 에. 베. Inter-plane prediction

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110047697A (en) * 2009-10-30 2011-05-09 삼성전자주식회사 Method and apparatus for encoding and decoding coding unit of picture boundary
KR20130006690A (en) * 2010-04-13 2013-01-17 프라운호퍼 게젤샤프트 쭈르 푀르데룽 데어 안겐반텐 포르슝 에. 베. Inter-plane prediction

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Benjamin Bross et al, Proposed Editorial Improvements for High efficiency video coding (HEVC) Text Specification Draft 8, JCT-VC, JCTVC-K0030_v1, 2012-09-12, pp. 1-255 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020004987A1 (en) * 2018-06-27 2020-01-02 한국전자통신연구원 Image encoding/decoding method and device, and recording medium in which bitstream is stored
CN112369022A (en) * 2018-06-27 2021-02-12 韩国电子通信研究院 Image encoding/decoding method and apparatus, and recording medium storing bit stream
US11973944B2 (en) 2018-06-27 2024-04-30 Electronics And Telecommunications Research Institute Image encoding/decoding method and device, and recording medium in which bitstream is stored for block division at picture boundary

Also Published As

Publication number Publication date
KR102511611B1 (en) 2023-03-20

Similar Documents

Publication Publication Date Title
KR101579356B1 (en) Intra prediction method and apparatus using the method
JP7391958B2 (en) Video signal encoding/decoding method and equipment used in the method
US11533470B2 (en) Method and apparatus for encoding/decoding an image signal
KR102061201B1 (en) Methods of transformation based on block information and appratuses using the same
KR101965388B1 (en) Methods of coding quantization parameter and appratuses using the same
US11659178B2 (en) Image encoding method/device, image decoding method/device, and recording medium in which bitstream is stored
KR20190020855A (en) Intra prediction method of chrominance block using luminance sample, and apparatus using same
US20190335173A1 (en) Image encoding method/device, image decoding method/device and recording medium having bitstream stored therein
CN112956194A (en) Image signal encoding/decoding method and apparatus thereof
KR20210008105A (en) Video encoding/decoding method and apparatus
KR20170124079A (en) Method and apparatus for encoding/decoding a video signal
KR20190115426A (en) Method and apparatus for encoding/decoding an image
KR20230118538A (en) Method and apparatus for encoding/decoding an image
KR20170124080A (en) Method and apparatus for encoding/decoding a video signal
US11909970B2 (en) Image encoding method/device, image decoding method/device, and recording medium in which bitstream is stored
KR102389267B1 (en) A method and an apparatus for processing a video signal based on reference between components
KR102511611B1 (en) Image encoding method/apparatus, image decoding method/apparatus and and recording medium for storing bitstream
KR20230042236A (en) Image encoding method/apparatus, image decoding method/apparatus and and recording medium for storing bitstream
KR101938389B1 (en) Intra prediction method and apparatus using the method
KR20220051156A (en) A method and an apparatus for processing a video signal based on reference between components
KR20220007523A (en) Method and apparatus for encoding/decoding an image
KR20170124076A (en) Method and apparatus for encoding and decoding a video signal group
KR20140129419A (en) Method for intra-prediction using residual transform, and apparatus thereof

Legal Events

Date Code Title Description
AMND Amendment
E902 Notification of reason for refusal
AMND Amendment
E90F Notification of reason for final refusal
AMND Amendment
E601 Decision to refuse application
X091 Application refused [patent]
AMND Amendment
X701 Decision to grant (after re-examination)
GRNT Written decision to grant