KR20200020915A - Image data encoding method and apparatus and Image data decoding method and apparatus - Google Patents

Image data encoding method and apparatus and Image data decoding method and apparatus Download PDF

Info

Publication number
KR20200020915A
KR20200020915A KR1020207002490A KR20207002490A KR20200020915A KR 20200020915 A KR20200020915 A KR 20200020915A KR 1020207002490 A KR1020207002490 A KR 1020207002490A KR 20207002490 A KR20207002490 A KR 20207002490A KR 20200020915 A KR20200020915 A KR 20200020915A
Authority
KR
South Korea
Prior art keywords
node
division
mode
splitting
preset
Prior art date
Application number
KR1020207002490A
Other languages
Korean (ko)
Other versions
KR102320023B1 (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 KR1020217034782A priority Critical patent/KR102478441B1/en
Publication of KR20200020915A publication Critical patent/KR20200020915A/en
Application granted granted Critical
Publication of KR102320023B1 publication Critical patent/KR102320023B1/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/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
    • 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/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/146Data rate or code amount at the encoder output
    • H04N19/147Data rate or code amount at the encoder output according to rate distortion criteria
    • 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
    • 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/172Methods 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 picture, frame or field
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/182Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a pixel
    • 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/184Methods 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 bits, e.g. of the compressed video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder

Landscapes

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

Abstract

본 출원의 실시예는 화상 데이터 인코딩 방법 및 장치 및 화상 데이터 디코딩 방법 및 장치를 개시하며, 화상 처리 분야에 관한 것이며, 비교적 높은 코딩 복잡도의 문제를 해결한다. 상기 디코딩 방법은: 화상 데이터를 포함하는 비트스트림을 획득하는 단계; 상기 비트스트림을 파싱하여 제1-레벨 코딩 트리의 노드 분할 모드 정보 및 상기 비트스트림을 파싱하여 제2-레벨 코딩 트리의 노드 분할 모드 정보를 획득하는 단계를 획득하는 단계 - 상기 제2-레벨 코딩 트리의 상기 노드 분할 모드 정보는 상기 제2-레벨 코딩 트리의 제1 노드에 대응하는 분할 모드를 나타내고, 상기 제1 노드에 대응하는 상기 분할 모드는 상기 제1 노드에 대응하는 후보-분할-모드 세트 내의 하나의 모드이며, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 제1 사전 설정 분할 조건에 따라 결정되고, 상기 제1 사전 설정 분할 조건은 상기 제1 노드가 목표 분할 모드에서 분할되는 것을 제한할지를 나타내는 데 사용됨 - ; 상기 제1 노드에 대응하는 분할 모드가 비 추가 분할(no further splitting)이면, 상기 비트스트림을 파싱하여 상기 제1 노드의 인코딩 정보를 획득하는 단계; 및 상기 제1 노드의 인코딩 정보에 기초하여 상기 코딩 유닛을 디코딩 및 재구성하여 상기 화상 데이터에 대응하는 화상을 획득하는 단계를 포함한다.Embodiments of the present application disclose an image data encoding method and apparatus, and an image data decoding method and apparatus, which relate to the field of image processing and solve the problem of relatively high coding complexity. The decoding method comprises: obtaining a bitstream comprising picture data; Obtaining the node split mode information of the first-level coding tree by parsing the bitstream and obtaining the node split mode information of the second-level coding tree by parsing the bitstream-the second level coding The node splitting mode information of the tree indicates a splitting mode corresponding to a first node of the second-level coding tree, and the splitting mode corresponding to the first node is a candidate-split-mode corresponding to the first node. One mode in the set, wherein the candidate-division-mode set corresponding to the first node is determined according to a first preset dividing condition, wherein the first preset dividing condition is determined by the first node in a target dividing mode. Used to indicate whether to restrict splitting; If the splitting mode corresponding to the first node is no further splitting, parsing the bitstream to obtain encoding information of the first node; And decoding and reconstructing the coding unit based on the encoding information of the first node to obtain a picture corresponding to the picture data.

Description

화상 데이터 인코딩 방법 및 장치 및 화상 데이터 디코딩 방법 및 장치Image data encoding method and apparatus and Image data decoding method and apparatus

본 출원의 실시예는 화상 처리 분야에 관한 것임, 특히 화상 데이터 인코딩 방법 및 장치 및 화상 데이터 디코딩 방법 및 장치에 관한 것이다.Embodiments of the present application relate to the field of image processing, and in particular, to a method and apparatus for encoding image data and a method and apparatus for decoding image data.

비디오 코덱 표준 H.265에서, 화상 프레임은 서로 겹치지 않는 코딩 트리 유닛(Coding Tree Unit, CTU)으로 분할되고, 각각의 CTU는 쿼드트리(Quad-Tree, QT)의 루트 노드(root node)로 사용된다. 각 CTU는 QT 구조에 따라 재귀적으로 여러 개의 리프 노드로 분할된다. QT 구조의 각 노드는 하나의 화상 영역에 대응한다. 노드가 더 이상 분할되지 않으면, 노드를 리프 노드라고 하며, 해당 노드에 대응하는 화상 영역은 코딩 유닛(Coding Unit, CU)을 형성한다. 따라서 H.265는 CTU를 하나의 CU 그룹으로 분할하는 과정이라고 생각할 수 있다. CTU를 CU 그룹으로 분할하는 분할 모드는 하나의 코딩 트리(coding tree)에 대응한다.In video codec standard H.265, picture frames are divided into coding tree units (CTUs) that do not overlap each other, and each CTU is used as a root node of a quad-tree (QT). do. Each CTU is recursively divided into multiple leaf nodes according to the QT structure. Each node of the QT structure corresponds to one picture region. When a node is no longer split, the node is called a leaf node, and the picture region corresponding to that node forms a coding unit (CU). Therefore, H.265 can be considered as a process of dividing the CTU into one CU group. The splitting mode for dividing the CTU into CU groups corresponds to one coding tree.

미래 비디오 코딩에 관한 공동 탐색 팀(Joint Exploration team on Future Video Coding, JVET)에 의한 공동 탐색 모델(Joint Exploration Model, JEM)은 QTBT 분할 모드를 제안한다. 구체적으로, 제1-레벨 코딩 트리의 노드는 QT 분할 모드를 사용하고, 제2-레벨 코딩 트리의 노드는 2진 트리(Binary Tree, BT) 분할 모드를 사용한다(BT 분할 모드는 "수평 2진 분할(horizontal binary split)" 및 "수직 2진 분할(vertical binary split)"을 포함한다). 구체적으로, CTU는 QT 분할 모드에서 먼저 분할되어 몇몇 QT 리프 노드를 획득하고; QT 리프 노드는 BT 분할 모드에서 분할될 수 있다. QTBT 분할 모드에서는 CU 형상이 더욱 다양해져서 로컬 화상의 내용에 더 잘 적응할 수 있다.Joint Exploration Model (JEM) by Joint Exploration team on Future Video Coding (JVET) proposes QTBT splitting mode. Specifically, the nodes of the first-level coding tree use the QT splitting mode, and the nodes of the second-level coding tree use the binary tree (BT) splitting mode. Binary binary split "and" vertical binary split ". Specifically, the CTU is partitioned first in the QT partitioning mode to obtain some QT leaf nodes; The QT leaf node may be split in the BT split mode. In QTBT splitting mode, the CU shape is more versatile to better adapt to the content of the local picture.

그렇지만, 각각의 노드에 대해, 인코더 장치는 일반적으로 노드에 의해 사용될 수 있는 각각의 분할 모드의 레이트 왜곡 비용(Rate Distortion cost, RD 비용)을 계산하고, 계산된 RD 비용을 비교하고, 최소 RD 비용에 대응하는 분할 모드를 그 노드의 분할 모드로서 결정해야 한다. 따라서, 각 노드에 대해, 인코더 장치는 복수의 분할 모드의 RD 비용을 계산할 필요가 있으며, 결과적으로 인코딩 복잡도는 비교적 높다.However, for each node, the encoder device generally calculates the rate distortion cost (RD cost) of each split mode that can be used by the node, compares the calculated RD cost, and compares the minimum RD cost. The split mode corresponding to must be determined as the split mode of the node. Thus, for each node, the encoder device needs to calculate the RD costs of the plurality of split modes, and consequently the encoding complexity is relatively high.

본 출원의 실시예는 화상 데이터 인코딩 방법 및 장치 및 화상 데이터 디코딩 방법 및 장치를 제공하여 비교적 높은 코딩 복잡도의 문제를 해결한다.Embodiments of the present application provide an image data encoding method and apparatus and an image data decoding method and apparatus to solve the problem of relatively high coding complexity.

전술한 목적을 달성하기 위해, 본 출원의 실시예에서 이하의 기술적 솔루션이 사용된다.In order to achieve the above object, the following technical solutions are used in the embodiments of the present application.

제1 관점에 따르면, 화상 데이터 디코딩 방법이 제공된다. 화상 데이터를 포함하는 비트스트림을 획득한 후, 디코더 장치는 비트스트림을 파싱하여 제1-레벨 코딩 트리의 노드 분할 모드 정보 및 제2-레벨 코딩 트리의 노드 분할 모드 정보를 획득한다. 레벨 코딩 트리는 제2-레벨 코딩 트리의 제1 노드에 대응하는 분할 모드를 나타내고, 제1 노드에 대응하는 분할 모드는 제1 노드에 대응하는 후보-분할-모드 세트 내의 하나의 모드이며, 제1 노드에 대응하는 후보-모드 세트는 제1 사전 설정 분할 조건에 따라 결정되고, 제1 사전 설정 분할 조건은 제1 노드가 목표 분할 모드에서 분할되는 것을 제한하는지를 나타내는 데 사용되며, 목표 분할 모드는 수평 2진 분할, 수평 3진 분할, 수직 2진 분할 및 수직 3진 분할 중 적어도 하나를 포함한다. 제1 노드에 대응하는 분할 모드가 비 추가 분할이면, 디코더 장치는 비트스트림을 파싱하여 제1 노드의 인코딩 정보를 획득하며, 여기서 제1 노드는 하나의 코딩 유닛(CU)에 대응한다. 이러한 방식으로, 디코더 장치는 제1 노드의 인코딩 정보에 기초하여 코딩 유닛을 디코딩 및 재구성하여 화상 데이터에 대응하는 화상을 얻을 수 있다. 본 출원에서, 제1-레벨 코딩 트리의 루트 노드는 하나의 CTU에 대응하고, 제1-레벨 코딩 트리의 루트 노드는 제1-레벨 코딩 트리의 루트 노드 및 제1-레벨 코딩 트리의 노드 분할 정보에 대응하는 노드 분할 모드를 사용하여 식별된다. 제2-레벨 코딩 트리의 루트 노드는 제1-레벨 코딩 트리의 리프 노드이다.According to a first aspect, a method of decoding image data is provided. After acquiring the bitstream including the image data, the decoder device parses the bitstream to obtain node dividing mode information of the first-level coding tree and node dividing mode information of the second-level coding tree. The level coding tree indicates a split mode corresponding to the first node of the second-level coding tree, the split mode corresponding to the first node is one mode in the candidate-split-mode set corresponding to the first node, and the first The candidate-mode set corresponding to the node is determined according to the first preset splitting condition, the first preset splitting condition is used to indicate whether the first node restricts splitting in the target splitting mode, and the target splitting mode is horizontal. At least one of binary division, horizontal ternary division, vertical binary division, and vertical ternary division. If the splitting mode corresponding to the first node is non-additional splitting, the decoder device parses the bitstream to obtain encoding information of the first node, where the first node corresponds to one coding unit (CU). In this way, the decoder device can decode and reconstruct the coding unit based on the encoding information of the first node to obtain a picture corresponding to the picture data. In the present application, the root node of the first-level coding tree corresponds to one CTU, and the root node of the first-level coding tree is a node split of the root node of the first-level coding tree and the first-level coding tree. It is identified using the node splitting mode corresponding to the information. The root node of the second-level coding tree is a leaf node of the first-level coding tree.

본 출원의 이 실시예에서, 제2-레벨 코딩 트리의 제1 노드에 대응하는 분할 모드는 제1 사전 설정 분할 조건에 따라 결정된 분할 모드 중 하나이며, 제1 사전 설정 분할 조건은 제1 노드는 목표 분할 모드에서 분할되고, 목표 분할 모드는 수평 2진 분할, 수평 3진 분할, 수직 2진 분할 및 수직 3진 분할 중 적어도 하나를 포함한다. 제1 사전 설정 분할 조건에 의해 제1 노드에 대응하는 분할 모드의 수량이 감소되어, 디코딩 복잡도를 효과적으로 감소시킨다.In this embodiment of the present application, the splitting mode corresponding to the first node of the second-level coding tree is one of splitting modes determined according to the first preset splitting condition, and the first preset splitting condition is determined by the first node. Split in the target division mode, the target division mode includes at least one of horizontal binary division, horizontal ternary division, vertical binary division, and vertical ternary division. The first preset partitioning condition reduces the quantity of partitioning modes corresponding to the first node, effectively reducing the decoding complexity.

선택적으로, 본 출원의 가능한 구현에서, 제1-레벨 코딩 트리에 대응하는 노드 분할 모드는 제2-레벨 코딩 트리에 대응하는 노드 분할 모드와 상이하다. 제1-레벨 코딩 트리에 대응하는 노드 분할 모드는 쿼드트리 분할을 포함하고, 제2-레벨 코딩 트리에 대응하는 노드 분할 모드는 2진 트리 분할 및 3진 트리 분할을 포함한다.Optionally, in a possible implementation of the present application, the node splitting mode corresponding to the first-level coding tree is different from the node splitting mode corresponding to the second-level coding tree. The node splitting mode corresponding to the first-level coding tree includes quadtree splitting, and the node splitting mode corresponding to the second-level coding tree includes binary tree splitting and ternary tree splitting.

선택적으로, 본 출원의 다른 가능한 구현에서, 제1 사전 설정 분할 조건은 제1 사전 설정 분할 하위 조건, 제2 사전 설정 분할 하위 조건, 제3 사전 설정 분할 하위 조건, 제4 사전 설정 분할 하위 조건, 제5 사전 설정 분할 하위 조건, 제6 사전 설정 분할 하위 조건, 제7 사전 설정 분할 하위 조건, 제8 사전 설정 분할 하위 조건 및 제9 사전 설정 분할 하위 조건 중 적어도 하나를 포함한다. 제1 사전 설정 분할 하위 조건은 다음과 같다: 상기 제1 노드에 대응하는 화상 영역의 폭 대 높이 비(width-to-height ratio)가 제1 사전 설정 임계치보다 크거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수평 2진 분할 또는 상기 수평 3진 분할을 포함하지 않는다. 상기 제1 노드에 대응하는 상기 화상 영역의 상기 폭 대 높이 비는 상기 제1 노드에 대응하는 상기 화상 영역의 폭 대 상기 제1 노드에 대응하는 상기 화상 영역의 높이의 비이다. 제2 사전 설정 분할 하위 조건은 다음과 같다: 상기 제1 노드에 대응하는 상기 화상 영역의 높이 대 폭 비가 제2 사전 설정 임계치보다 크거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수직 2진 분할 또는 상기 수직 3진 분할을 포함하지 않는다. 상기 제1 노드에 대응하는 상기 화상 영역의 상기 높이 대 폭 비는 상기 제1 노드에 대응하는 상기 화상 영역의 높이 대 상기 제1 노드에 대응하는 상기 화상 영역의 폭의 비이다. 제3 사전 설정 분할 하위 조건은 다음과 같다: 상기 제1 노드가 속하는 상기 제1-레벨 코딩 트리의 상기 리프 노드에 대응하는 화상 영역의 면적에 대한 상기 제1 노드에 대응하는 상기 화상 영역의 면적의 비가 제3 사전 설정 임계치보다 작거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수평 2진 분할, 상기 수평 3진 분할, 상기 수직 2진 분할 또는 상기 수직 3진 분할을 포함하지 않는다. 제4 사전 설정 분할 하위 조건은 다음과 같다: 상기 제1 노드에 대응하는 상기 분할 모드가 제1 분할 모드를 포함하면, 상기 제1 노드의 제1 자식 노드의 디코딩은 상기 제1 노드의 제2 자식 노드의 디코딩보다 늦으며, 제2 자식 노드에 대응하는 분할 모드는 상기 제1 분할 모드이고, 상기 제1 자식 노드에 대응하는 후보-분할-모드 세트는 상기 제1 분할 모드를 포함하지 않는다. 상기 제1 분할 모드는 상기 수평 2진 분할 또는 상기 수직 2진 분할이다. 제5 미리 설정된 분할 하위 조건은 다음과 같다: 상기 제1 노드에 대응하는 상기 분할 모드가 제2 분할 모드를 포함하고, 상기 제1 노드의 상기 제1 자식 노드에 대응하는 화상 영역의 면역이 상기 제1 노드의 3개의 자식 노드에 대응하는 화상 영역의 면역 중에서 가장 작으면, 상기 제1 자식 노드에 대응하는 상기 후보-분할-모드 세트는 상기 제2 분할 모드를 포함하지 않는다. 상기 제2 분할 모드는 상기 수평 3진 분할 또는 상기 수직 3진 분할이다. 제6 사전 설정 분할 하위 조건은 다음과 같다: 상기 제1 노드에 대응하는 상기 분할 모드가 상기 제2 분할 모드를 포함하고, 상기 제1 노드의 상기 제1 자식 노드에 대응하는 상기 화상 영역의 면역이 상기 제1 노드의 상기 3개의 자식 노드에 대응하는 상기 화상 영역의 면역 중에서 가장 크면, 상기 제1 자식 노드에 대응하는 상기 후보-분할-모드 세트는 상기 제2 분할 모드를 포함하지 않는다. 제7 사전 설정 분할 하위 조건은 다음과 같다: 상기 제1 노드에 대응하는 상기 화상 영역의 폭 대 최소 CU의 사전 설정 측 길이(preset side length)의 비가 제3 사전 설정 임계치보다 작거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수직 3진 분할을 포함하지 않거나, 또는 상기 제1 노드에 대응하는 상기 화상 영역의 높이 대 상기 최소 CU의 상기 사전 설정 측 길이의 비가 상기 제3 사전 설정 임계치보다 작거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수평 3진 분할을 포함한다. 제8 사전 설정 분할 하위 조건은 다음과 같다: 상기 제1 노드에 대응하는 상기 화상 영역의 면역이 제4 사전 설정 임계치보다 작거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수평 2진 분할, 상기 수평 3진 분할, 상기 수직 2진 분할 또는 상기 수직 3진 분할을 포함하지 않는다. 제9 사전 설정 분할 하위 조건은 다음과 같다: 상기 제1 노드에 대응하는 상기 분할 모드가 상기 제2 분할 모드이고, 상기 제1 노드의 상기 제1 자식 노드에 대응하는 상기 화상 영역의 면역이 상기 제1 노드의 상기 3개의 자식 노드에 대응하는 상기 화상 영역의 면역 중에서 가장 크면, 상기 제1 자식 노드에 대응하는 상기 후보-분할-모드 세트는 상기 제1 분할 모드를 포함하지 않는다. 상기 제1 분할 모드의 분할 방향은 상기 제2 분할의 분할 방향과 동일하다.Optionally, in another possible implementation of the present application, the first preset splitting subcondition, the first preset splitting subcondition, the second preset splitting subcondition, the third preset splitting subcondition, the fourth preset splitting subcondition, And at least one of a fifth preset division sub-condition, a sixth preset division sub-condition, a seventh preset division sub-condition, an eighth preset division sub-condition, and a ninth preset division sub-condition. A first preset division sub-condition is as follows: if the width-to-height ratio of the picture area corresponding to the first node is greater than or equal to a first preset threshold, The corresponding candidate-division-mode set does not include the horizontal binary division or the horizontal ternary division. The width to height ratio of the image area corresponding to the first node is a ratio of the width of the image area corresponding to the first node to the height of the image area corresponding to the first node. A second preset division subcondition is as follows: if the height-to-width ratio of the picture area corresponding to the first node is greater than or equal to a second preset threshold, the candidate-division-mode corresponding to the first node. The set does not include the vertical binary division or the vertical ternary division. The height to width ratio of the image area corresponding to the first node is a ratio of the height of the image area corresponding to the first node to the width of the image area corresponding to the first node. A third preset division subcondition is as follows: an area of the picture area corresponding to the first node with respect to an area of the picture area corresponding to the leaf node of the first-level coding tree to which the first node belongs. If the ratio of the ratio is less than or equal to a third preset threshold, the candidate-division-mode set corresponding to the first node is the horizontal binary division, the horizontal ternary division, the vertical binary division, or the vertical ternary division. Does not include A fourth preset partitioning subcondition is as follows: if the partitioning mode corresponding to the first node includes a first partitioning mode, decoding of the first child node of the first node is performed by the second node of the first node. Later than decoding of the child node, the splitting mode corresponding to the second child node is the first splitting mode, and the candidate-split-mode set corresponding to the first child node does not include the first splitting mode. The first division mode is the horizontal binary division or the vertical binary division. The fifth preset division sub-condition is as follows: the division mode corresponding to the first node includes a second division mode, and the immunity of the image region corresponding to the first child node of the first node is increased. If the smallest among the immunities of the picture regions corresponding to the three child nodes of the first node, the candidate-division-mode set corresponding to the first child node does not include the second division mode. The second division mode is the horizontal ternary division or the vertical ternary division. A sixth preset partitioning subcondition is as follows: the partitioning mode corresponding to the first node includes the second partitioning mode, and the immunity of the picture region corresponding to the first child node of the first node. If the immunity of the picture region corresponding to the three child nodes of the first node is the largest, the candidate-division-mode set corresponding to the first child node does not include the second division mode. A seventh preset division sub-condition is as follows: if the ratio of the width of the picture area corresponding to the first node to a preset side length of a minimum CU is less than or equal to a third preset threshold, the The candidate-division-mode set corresponding to the first node does not include the vertical ternary division, or the ratio of the height of the picture area corresponding to the first node to the preset side length of the minimum CU is If less than or equal to a third preset threshold, the candidate-division-mode set corresponding to the first node includes the horizontal ternary division. An eighth preset partitioning subcondition is as follows: if the immunity of the picture region corresponding to the first node is less than or equal to a fourth preset threshold, the candidate-division-mode set corresponding to the first node is The horizontal binary division, the horizontal ternary division, the vertical binary division, or the vertical ternary division. A ninth preset divisional subcondition is as follows: the division mode corresponding to the first node is the second division mode, and the immunity of the image region corresponding to the first child node of the first node is If the immunity of the picture region corresponding to the three child nodes of the first node is the largest, the candidate-division-mode set corresponding to the first child node does not include the first partitioning mode. The division direction of the first division mode is the same as the division direction of the second division.

선택적으로, 본 출원의 다른 가능한 구현에서, 제2-레벨 코딩 트리의 노드 분할 모드 정보는 제1 정보, 제2 정보 및 제3 정보를 포함한다. 제1 정보는 제1 노드를 추가로 분할할지를 나타내는 데 사용되고, 제2 정보는 제1 노드가 분할되는 방향을 나타내는 데 사용되고, 제3 정보는 제1 노드가 분할되는 모드를 나타내는 데 사용된다. 이 시나리오에서, "비트스트림을 파싱하여 제2-레벨 코딩 트리의 노드 분할 모드 정보를 획득하는" 방법은 다음과 같다: 비트스트림은 제1 사전 설정 분할 조건에 따라 제1 노드에 대응하는 후보-분할-모드 세트를 결정하기 위해 파싱되고; 비트스트림은 제1 노드에 대응하는 후보-분할-모드 세트에 기초하여 파싱되어 제1 정보, 제2 정보 및 제3 정보를 결정한다.Optionally, in another possible implementation of the present application, node splitting mode information of the second-level coding tree includes first information, second information, and third information. The first information is used to indicate whether to further split the first node, the second information is used to indicate the direction in which the first node is split, and the third information is used to indicate the mode in which the first node is split. In this scenario, the method of "parsing the bitstream to obtain node splitting mode information of the second-level coding tree" is as follows: The bitstream is a candidate corresponding to the first node according to the first preset splitting condition. Parsed to determine a split-mode set; The bitstream is parsed based on the candidate-division-mode set corresponding to the first node to determine the first information, the second information, and the third information.

제1 노드에 대응하는 후보-분할-모드 세트에 기초하여 디코더 장치에 의해 제1 정보, 제2 정보 및 제3 정보를 획득하는 파싱 방법에 따르면, 제1 정보의 값, 제2 정보의 값, 제3 정보의 값은 비트스트림으로부터 파싱되거나 시스템에 의해 미리 설정될 수 있다.According to a parsing method of obtaining first information, second information and third information by a decoder device based on a candidate-division-mode set corresponding to a first node, the parsing method includes: a value of the first information, a value of the second information, The value of the third information may be parsed from the bitstream or preset by the system.

선택적으로, 본 출원의 다른 가능한 구현에서, "제1 노드에 대응하는 후보-분할-모드 세트에 기초하여 비트스트림을 파싱하여 제1 정보, 제2 정보 및 제3 정보를 결정하는 방법"은 구체적으로 다음과 같다: 제1 숫자 값이 먼저 결정된다. 제1 숫자 값은 제1 노드에 대응하는 후보-분할-모드 세트에 포함된 분할 모드의 수량이다. 그런 다음, 비트스트림은 제1 숫자 값에 기초하여 파싱되어 제1 정보, 제2 정보 및 제3 정보를 결정한다.Optionally, in another possible implementation of the present application, "method of parsing the bitstream based on the candidate-division-mode set corresponding to the first node to determine the first information, the second information and the third information" is specifically As follows: The first numeric value is determined first. The first numeric value is the quantity of splitting modes included in the candidate-split-mode set corresponding to the first node. The bitstream is then parsed based on the first numeric value to determine the first information, second information, and third information.

제2-레벨 코딩 트리의 노드에 대응하는 후보-모드 세트는 최대 15개의 분할 모드를 포함할 수 있다. 15개의 분할 모드 중 몇몇 분할 모드에 대해, 제1 정보, 제2 정보 및 제3 정보를 획득하는 방법은 동일하거나 유사하다. 따라서, 디코더 장치는 제1 노드에 대응하는 후보-모드 세트에 포함된 분할 모드의 수량(즉, 제1 숫자 값)에 기초하여 제1 정보, 제2 정보 및 제3 정보를 결정할 수 있다. 이러한 방식으로, 디코더 장치는 제2-레벨 코딩 트리의 노드 분할 모드 정보를 보다 신속하게 결정할 수 있다.The candidate-mode set corresponding to the node of the second-level coding tree may include up to 15 splitting modes. For some of the fifteen split modes, the method of obtaining the first information, the second information and the third information is the same or similar. Accordingly, the decoder device may determine the first information, the second information, and the third information based on the quantity of split modes (ie, the first numeric value) included in the candidate-mode set corresponding to the first node. In this way, the decoder device can more quickly determine node split mode information of the second-level coding tree.

선택적으로, 본 출원의 다른 가능한 구현에서, 제2-레벨 코딩 트리에 대응하는 노드 분할 모드는 쿼드트리 분할을 더 포함한다. 이 경우, "비트스트림을 파싱하여 제2-레벨 코딩 트리의 노드 분할 모드 정보를 획득하는" 방법은 다음과 같다: 비트스트림은 제2-레벨 코딩 트리의 노드 분할 모드 정보를 얻기 위해 파싱된다. 제2-레벨 코딩 트리의 노드 분할 모드 정보는 제2-레벨 코딩 트리의 제1 노드에 대응하는 분할 모드를 나타내며, 제1 노드에 대응하는 분할 모드는 제1 노드에 대응하는 후보-분할-모드 세트 내의 하나의 모드이고, 제1 노드에 대응하는 후보-모드 세트는 제1 사전 설정 분할 조건 및 제2 사전 설정 분할 조건에 따라 결정되고, 제2 사전 설정 분할 조건은 제1 노드가 쿼드트리 분할에 기초하여 분할되는 것을 제한하는지를 나타내는 데 사용된다.Optionally, in another possible implementation of the present application, the node splitting mode corresponding to the second-level coding tree further includes quadtree splitting. In this case, the method of "parsing the bitstream to obtain node split mode information of the second-level coding tree" is as follows: The bitstream is parsed to obtain node split mode information of the second-level coding tree. The node splitting mode information of the second-level coding tree indicates a splitting mode corresponding to the first node of the second-level coding tree, and the splitting mode corresponding to the first node is a candidate-split-mode corresponding to the first node. One mode in the set, the candidate-mode set corresponding to the first node is determined according to the first preset splitting condition and the second preset splitting condition, and the second preset splitting condition is determined by the first node by quadtree splitting. It is used to indicate whether to restrict the split based on.

선택적으로, 본 출원의 다른 가능한 구현에서, 제2 사전 설정 분할 조건은 제10 사전 설정 분할 하위 조건 및 제11 사전 설정 분할 하위 조건 중 적어도 하나를 포함한다. 제10 사전 설정 분할 하위 조건은 다음과 같다: 상기 제2-레벨 코딩 트리에서 상기 제1 노드의 깊이가 상기 제2-레벨 코딩 트리에서 사전 설정된 최대 깊이보다 작으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 쿼드트리 분할을 포함하지 않는다. 제11 사전 설정 분할 하위 조건은 다음과 같다: 상기 제1 노드에 대응하는 상기 화상 영역의 폭 대 높이 비가 제5 사전 설정 임계치보다 크면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 쿼드트리 분할을 포함하지 않는다.Optionally, in another possible implementation of the present application, the second preset partitioning condition includes at least one of the tenth preset partitioning subcondition and the eleventh preset partitioning subcondition. The tenth preset partitioning subcondition is as follows: if the depth of the first node in the second-level coding tree is less than a preset maximum depth in the second-level coding tree, the corresponding node corresponds to the first node. The candidate-division-mode set does not include the quadtree splitting. The eleventh preset division subcondition is as follows: if the width-to-height ratio of the picture area corresponding to the first node is greater than a fifth preset threshold, the candidate-division-mode set corresponding to the first node is determined. It does not include the quadtree splitting.

선택적으로, 본 출원의 다른 가능한 구현에서, 제2-레벨 코딩 트리의 노드 분할 모드 정보는 제4 정보를 더 포함하고, 제4 정보는 쿼드트리 분할에 기초하여 제1 노드를 분할할지를 나타내는 데 사용된다. 이에 대응하여, "비트스트림을 파싱하여 제2-레벨 코딩 트리의 노드 분할 모드 정보를 획득하는" 방법은 다음과 같다: 비트스트림은 제1 사전 설정 분할 조건 및 제2 사전 설정 분할 조건에 따라, 제1 노드에 대응하는 후보-분할-모드 세트를 결정한다. 비트스트림은 제1 정보, 제2 정보, 제3 정보 및 제4 정보를 결정하기 위해 제1 노드에 대응하는 분할 모드에서 파싱된다.Optionally, in another possible implementation of the present application, node splitting mode information of the second-level coding tree further includes fourth information, and the fourth information is used to indicate whether to split the first node based on quadtree splitting. do. Correspondingly, a method of "parsing the bitstream to obtain node splitting mode information of the second-level coding tree" is as follows: The bitstream is in accordance with the first preset splitting condition and the second preset splitting condition. Determine a candidate-division-mode set corresponding to the first node. The bitstream is parsed in the split mode corresponding to the first node to determine the first information, second information, third information and fourth information.

제2 관점에 따르면, 디코더 장치가 제공된다. 디코더 장치는 획득 모듈, 파싱 모듈, 및 디코딩 및 재구성 모듈을 포함한다. 획득 모듈은 화상 데이터를 포함하는 비트스트림을 획득하도록 구성된다. 파싱 모듈은: 획득 모듈에 의해 획득된 비트스트림을 파싱하여, 제1-레벨 코딩 트리의 노드 분할 모드 정보를 획득하고, 여기서 제1-레벨 코딩 트리의 루트 노드는 하나의 코딩 트리 유닛(CTU)에 대응하고, 제1-레벨 코딩 트리의 리프 노드는 제1-레벨 코딩 트리의 루트 노드 및 제1-레벨 코딩 트리의 노드 분할 모드 정보에 대응하는 노드 분할 모드를 사용하여 식별되며; 비트스트림을 파싱하여 제2-레벨 코딩 트리의 노드 분할 모드 정보를 획득하고, 여기서 제2-레벨 코딩 트리의 노드 분할 모드 정보는 제2-레벨 코딩 트리의 제1 노드에 대응하는 분할 모드를 나타내며, 분할 모드 제1 노드에 대응하는 후보-분할-모드 세트 내의 제1 노드에 대응하는 하나의 모드이고, 제1 노드에 대응하는 후보-모드 세트는 제1 사전 설정 분할 조건에 따라 결정되고, 제1 사전 설정 분할 조건은 제1 노드가 목표 분할 모드에서 분할되는 것을 제한할지를 나타내는 데 사용되며, 목표 분할 모드는 수평 2진 분할, 수평 3진 분할, 수직 2진 분할 및 수직 3진 분할 중 적어도 하나를 포함하며, 여기서 제2-레벨 코딩 트리의 루트 노드는 제1-레벨 코딩 트리의 리프 노드이며; 그리고 제1 노드에 대응하는 분할 모드가 더 이상 분할되지 않으면, 비트스트림을 분석하여 제1 노드의 인코딩 정보를 획득하도록 구성되어 있으며, 여기서 제1 노드는 하나의 코딩 유닛(CU)에 대응한다. 디코딩 및 재구성 모듈은 파싱 모듈에 의해 획득된 제1 노드의 인코딩 정보에 기초하여 코딩 유닛을 디코딩 및 재구성하여 화상 데이터에 대응하는 화상을 획득하도록 구성된다.According to a second aspect, a decoder device is provided. The decoder apparatus includes an acquisition module, a parsing module, and a decoding and reconstruction module. The obtaining module is configured to obtain a bitstream including the image data. The parsing module: parses the bitstream obtained by the acquiring module to obtain node splitting mode information of the first-level coding tree, where the root node of the first-level coding tree is one coding tree unit (CTU). And a leaf node of the first-level coding tree is identified using the node split mode corresponding to the root node of the first-level coding tree and the node split mode information of the first-level coding tree; Parse the bitstream to obtain node split mode information of the second-level coding tree, wherein the node split mode information of the second-level coding tree indicates a split mode corresponding to the first node of the second-level coding tree. Is one mode corresponding to the first node in the candidate-division-mode set corresponding to the split mode first node, and the candidate-mode set corresponding to the first node is determined according to the first preset partitioning condition; The 1 preset splitting condition is used to indicate whether the first node is restricted from splitting in the target splitting mode, wherein the target splitting mode is at least one of horizontal binary splitting, horizontal ternary splitting, vertical binary splitting, and vertical ternary splitting. Wherein the root node of the second-level coding tree is a leaf node of the first-level coding tree; And if the splitting mode corresponding to the first node is no longer split, analyzing the bitstream to obtain encoding information of the first node, where the first node corresponds to one coding unit (CU). The decoding and reconstruction module is configured to decode and reconstruct the coding unit based on the encoding information of the first node obtained by the parsing module to obtain a picture corresponding to the picture data.

선택적으로, 본 출원의 가능한 구현에서, 제1-레벨 코딩 트리에 대응하는 노드 분할 모드는 제2-레벨 코딩 트리에 대응하는 노드 분할 모드와 상이하다. 제1-레벨 코딩 트리에 대응하는 노드 분할 모드는 쿼드트리 분할을 포함하고, 제2-레벨 코딩 트리에 대응하는 노드 분할 모드는 2진 트리 분할 및 3진 트리 분할을 포함한다.Optionally, in a possible implementation of the present application, the node splitting mode corresponding to the first-level coding tree is different from the node splitting mode corresponding to the second-level coding tree. The node splitting mode corresponding to the first-level coding tree includes quadtree splitting, and the node splitting mode corresponding to the second-level coding tree includes binary tree splitting and ternary tree splitting.

선택적으로, 본 출원의 다른 가능한 구현에서, 제1-레벨 코딩 트리에 대응하는 노드 분할 모드는 쿼드트리 분할을 포함하고, 제2-레벨 코딩 트리에 대응하는 노드 분할 모드는 2진 트리 분할 및 3진 트리 분할을 포함한다.Optionally, in another possible implementation of the present application, the node splitting mode corresponding to the first-level coding tree includes quadtree splitting, and the node splitting mode corresponding to the second-level coding tree includes binary tree splitting and three. Includes true tree splits.

선택적으로, 본 출원의 다른 가능한 구현에서, 제2-레벨 코딩 트리의 노드 분할 모드 정보는 제1 정보, 제2 정보 및 제3 정보를 포함한다. 제1 정보는 제1 노드를 추가로 분할할지를 나타내는 데 사용되고, 제2 정보는 제1 노드가 분할되는 방향을 나타내는 데 사용되고, 제3 정보는 제1 노드가 분할되는 모드를 나타내는 데 사용된다. 이에 대응하여, 파싱 모듈은 구체적으로: 비트스트림을 파싱하여 제1 사전 설정 분할 조건에 따라, 제1 노드에 대응하는 후보-분할-모드 세트를 결정하고; 그리고 제1 노드에 대응하는 후보-분할-모드 세트에 기초하여 비트스트림을 파싱하여 제1 정보, 제2 정보 및 제3 정보를 결정하도록 구성된다.Optionally, in another possible implementation of the present application, node splitting mode information of the second-level coding tree includes first information, second information, and third information. The first information is used to indicate whether to further split the first node, the second information is used to indicate the direction in which the first node is split, and the third information is used to indicate the mode in which the first node is split. Correspondingly, the parsing module specifically: parses the bitstream to determine, according to the first preset partitioning condition, a candidate-division-mode set corresponding to the first node; And parse the bitstream based on the candidate-division-mode set corresponding to the first node to determine first information, second information, and third information.

선택적으로, 본 출원의 다른 가능한 구현에서, 파싱 모듈은 구체적으로: 제1 숫자 값을 결정하고, 여기서 제1 숫자 값은 제1 노드에 대응하는 후보-분할-모드 세트에 포함된 분할 모드의 수량이고; 그리고 제1 숫자 값에 기초하여 비트스트림을 파싱하여 제1 정보, 제2 정보 및 제3 정보를 결정하도록 구성된다.Optionally, in another possible implementation of the present application, the parsing module specifically determines: a first numeric value, where the first numeric value is a quantity of partitioning modes included in the candidate-division-mode set corresponding to the first node. ego; And parse the bitstream based on the first numeric value to determine first information, second information, and third information.

선택적으로, 본 출원의 다른 가능한 구현에서, 제2-레벨 코딩 트리에 대응하는 노드 분할 모드는 쿼드트리 분할을 더 포함한다. 이에 대응하여, 파싱 모듈은 구체적으로 비트스트림을 파싱하여 제2-레벨 코딩 트리의 노드 분할 모드 정보를 획득하도록 구성되며, 여기서 제2-레벨 코딩 트리의 노드 분할 모드 정보는 제2-레벨 코딩 트리의 제1 노드에 대응하는 분할 모드를 나타내며, 제1 노드에 대응하는 분할 모드는 제1 노드에 대응하는 후보-분할-모드 세트 내의 하나의 모드이고, 제1 노드에 대응하는 후보-모드 세트는 제1 사전 설정 분할 조건 및 제2 사전 설정 분할 조건에 따라 결정되며, 제2 사전 설정 분할 조건은 쿼드트리 분할에 기초하여 제1 노드가 분할되는 것을 제한할지를 나타내는 데 사용된다.Optionally, in another possible implementation of the present application, the node splitting mode corresponding to the second-level coding tree further includes quadtree splitting. Correspondingly, the parsing module is specifically configured to parse the bitstream to obtain node split mode information of the second-level coding tree, wherein the node split mode information of the second-level coding tree is a second-level coding tree. Indicates a splitting mode corresponding to the first node of, wherein the splitting mode corresponding to the first node is one mode in the candidate-split-mode set corresponding to the first node, and the candidate-mode set corresponding to the first node is Determined according to the first preset split condition and the second preset split condition, the second preset split condition is used to indicate whether to limit the splitting of the first node based on the quadtree split.

선택적으로, 본 출원의 다른 가능한 구현에서, 제2-레벨 코딩 트리의 노드 분할 모드 정보는 제4 정보를 더 포함하고, 제4 정보는 쿼드트리 분할에 기초하여 제1 노드를 분할할지를 나타내는 데 사용된다. 이에 대응하여, 파싱 모듈은 구체적으로: 제1 사전 설정 분할 조건 및 제2 사전 설정 분할 조건에 따라, 제1 노드에 대응하는 후보-분할-모드 세트를 결정하기 위해 비트스트림을 파싱하고; 그리고 상기 제1 노드에 대응하는 분할 모드에서 비트스트림을 파싱하여, 상기 제1 정보, 상기 제2 정보, 상기 제3 정보 및 상기 제4 정보를 결정하도록 구성된다.Optionally, in another possible implementation of the present application, node splitting mode information of the second-level coding tree further includes fourth information, and the fourth information is used to indicate whether to split the first node based on quadtree splitting. do. Correspondingly, the parsing module specifically: parses the bitstream to determine a candidate-division-mode set corresponding to the first node according to the first preset division condition and the second preset division condition; And parsing the bitstream in a split mode corresponding to the first node to determine the first information, the second information, the third information, and the fourth information.

제2 관점의 제1 사전 설정 분할 조건에 대해서는 제1 관점의 제1 사전 설정 분할 조건에 관한 설명을 참조한다. 유사하게, 제2 관점의 제2 사전 설정 분할 조건에 대해서는 제1 관점의 제2 사전 설정 분할 조건에 관한 설명을 참조한다.For a first preset dividing condition of the second aspect, reference is made to the description of the first preset dividing condition of the first aspect. Similarly, for the second preset division condition of the second aspect, refer to the description of the second preset division condition of the first aspect.

제3 측면에 따르면, 디코더 장치가 제공된다. 디코더 장치는 하나 이상의 프로세서, 메모리 및 통신 인터페이스를 포함한다. 메모리 및 통신 인터페이스는 하나 이상의 프로세서에 연결된다. 메모리는 컴퓨터 프로그램 코드를 저장하도록 구성된다. 컴퓨터 프로그램 코드는 명령을 포함한다. 하나 이상의 프로세서가 명령을 실행할 때, 디코더 장치는 제1 관점 또는 제1 관점의 가능한 구현 중 어느 하나에서의 화상 데이터 디코딩 방법을 수행한다.According to a third aspect, a decoder device is provided. The decoder device includes one or more processors, memory and a communication interface. Memory and communication interfaces are coupled to one or more processors. The memory is configured to store computer program code. Computer program code includes instructions. When one or more processors execute an instruction, the decoder device performs the method of decoding image data in either the first aspect or a possible implementation of the first aspect.

제4 관점에 따르면, 컴퓨터 판독 가능 저장 매체가 제공된다. 컴퓨터 판독 가능 저장 매체는 명령을 저장한다. 명령이 디코더 장치에서 실행될 때, 디코더 장치는 제1 관점 또는 제1 관점의 가능한 구현 중 어느 하나에서의 화상 데이터 디코딩 방법을 수행할 수 있다.According to a fourth aspect, a computer readable storage medium is provided. Computer-readable storage media store instructions. When the instruction is executed at the decoder device, the decoder device may perform the method of decoding image data in either the first aspect or a possible implementation of the first aspect.

제5 관점에 따르면, 명령을 포함하는 컴퓨터 프로그램 제품이 제공된다. 컴퓨터 프로그램 제품이 디코더 장치에서 실행될 때, 디코더 장치는 제1 관점 또는 제1 관점의 가능한 구현 중 어느 하나에서의 화상 데이터 디코딩 방법을 수행할 수 있다.According to a fifth aspect, a computer program product comprising instructions is provided. When the computer program product is executed in the decoder device, the decoder device may perform the method of decoding image data in either the first aspect or a possible implementation of the first aspect.

본 출원에서, 제2 관점, 제3 관점, 제4 관점, 제5 관점 및 제2 관점, 제3 관점, 제4 관점 및 제5 관점의 구현에 대한 상세한 설명은 제1 관점 및 제1 관점의 구현에 대한 상세한 설명을 참조한다. 또한, 제2 관점, 제3 관점, 제4 관점, 제5 관점 및 제2 관점, 제3 관점, 제4 관점 및 제5 관점의 구현의 유익한 효과에 대해서는, 제1 관점 및 제1 관점의 구현의 이점의 효과의 분석을 참조한다. 세부 사항은 여기서 다시 설명하지 않는다.In the present application, detailed descriptions of the implementations of the second, third, fourth, fifth, and second aspects, the third, fourth, and fifth aspects of the present invention are directed to the first and first aspects. See the detailed description of the implementation. Moreover, regarding the beneficial effect of implementing 2nd viewpoint, 3rd viewpoint, 4th viewpoint, 5th viewpoint and 2nd viewpoint, 3rd viewpoint, 4th viewpoint, and 5th viewpoint, implementation of a 1st viewpoint and a 1st viewpoint See the analysis of the effects of the benefits. Details are not described here again.

본 출원에서, 전술한 디코더 장치의 명칭은 장치 또는 기능 모듈에 대한 어떠한 제한도 구성하지 않는다. 실제 구현에서 장치 또는 기능 모듈은 다른 이름으로 나타날 수 있다. 장치 또는 기능 모듈의 기능이 본 출원에서 설명된 것과 유사하다면, 각 장치 또는 기능 모듈은 본 출원에서 청구 범위 및 그와 동등한 기술로 정의된 범위 내에 속한다.In the present application, the name of the decoder device described above does not constitute any limitation on the device or the functional module. In actual implementations, devices or functional modules may appear under different names. If the functionality of an apparatus or a functional module is similar to that described in this application, each apparatus or functional module is within the scope defined by the claims and equivalent techniques herein.

제6 관점에 따르면, 화상 데이터 디코딩 방법이 제공된다. 인코딩될 화상 블록에 대응하는 CTU를 결정한 후, 인코더 장치는 CTU를 제1-레벨 코딩 트리에 대응하는 노드 분할 모드로 분할하여 제1-레벨 코딩 트리의 리프 노드를 획득한다. 제1-레벨 코딩 트리의 루트 노드는 CTU에 대응한다. 인코더 장치는 제2-레벨 코딩 트리의 제1 노드에 대응하는 후보-분할-모드 세트를 결정한다. 제1 노드에 대응하는 후보-분할-모드 세트는 제1 노드가 목표 분할 모드에서 분할되는 것을 제한할지를 나타내는 데 사용되는 제1 사전 설정 분할 조건을 만족하고, 목표 분할 모드는 수평 2진 분할, 수평 3진 분할, 수직 2진 분할 및 수직 3진 분할 중 적어도 하나를 포함하며, 제2-레벨 코딩 트리의 루트 노드는 제1-레벨 코딩 트리의 리프 노드이다. 제1 노드에 대응하는 후보-분할-모드 세트가 비 추가 분할을 포함하면, 인코더 장치는 제1 노드에 대응하는 코딩 유닛을 인코딩하여, 코딩 유닛에 대응하는 코딩 유닛 비트스트림을 획득한다.According to a sixth aspect, a method of decoding image data is provided. After determining the CTU corresponding to the picture block to be encoded, the encoder device divides the CTU into the node partitioning mode corresponding to the first-level coding tree to obtain a leaf node of the first-level coding tree. The root node of the first-level coding tree corresponds to the CTU. The encoder apparatus determines a candidate-division-mode set corresponding to the first node of the second-level coding tree. The candidate-division-mode set corresponding to the first node satisfies a first preset partitioning condition used to indicate whether the first node is to be restricted from splitting in the target splitting mode, and the target splitting mode is horizontal binary splitting, horizontally. And at least one of ternary division, vertical binary division, and vertical ternary division, wherein the root node of the second-level coding tree is a leaf node of the first-level coding tree. If the candidate-division-mode set corresponding to the first node includes non-additional division, the encoder device encodes the coding unit corresponding to the first node to obtain a coding unit bitstream corresponding to the coding unit.

본 출원의 이 실시예에서의 제1 사전 설정 분할 조건은 제2-레벨 코딩 트리의 노드의 분할 모드를 제한하여, 제2-레벨 코딩 트리의 노드를 분할하는 복잡도를 크게 줄이고 코딩 복잡도를 감소시킨다.The first preset splitting condition in this embodiment of the present application limits the splitting mode of the nodes of the second-level coding tree, greatly reducing the complexity of splitting the nodes of the second-level coding tree and reducing the coding complexity. .

선택적으로, 본 출원의 가능한 구현에서, 제1-레벨 코딩 트리에 대응하는 노드 분할 모드는 쿼드트리 분할을 포함하고, 제2-레벨 코딩 트리에 대응하는 노드 분할 모드는 2진 트리 분할 및 3진 트리 분할을 포함한다.Optionally, in a possible implementation of the present application, the node splitting mode corresponding to the first-level coding tree includes quadtree splitting, and the node splitting mode corresponding to the second-level coding tree includes binary tree splitting and ternary. Includes tree splitting.

선택적으로, 본 출원의 다른 가능한 구현에서, 제2-레벨 코딩 트리에 대응하는 노드 분할 모드는 쿼드트리 분할을 더 포함한다. 이 경우, "제2-레벨 코딩 트리의 제1 노드에 대응하는 후보-분할-모드 세트를 결정하는" 방법은 다음과 같다: 제1 노드에 대응하는 후보-분할-모드 세트가 결정된다. 제1 노드에 대응하는 후보-분할-모드 세트는 제1 사전 설정 분할 조건 및 제2 사전 설정 제한 조건을 만족하고, 제2 사전 설정 분할 조건은 쿼드트리 분할에 기초하여 제1 노드가 분할되는 것을 제한할지를 나타내는 데 사용된다.Optionally, in another possible implementation of the present application, the node splitting mode corresponding to the second-level coding tree further includes quadtree splitting. In this case, the method of "determining the candidate-division-mode set corresponding to the first node of the second-level coding tree" is as follows: The candidate-division-mode set corresponding to the first node is determined. The candidate-division-mode set corresponding to the first node satisfies the first preset splitting condition and the second preset constraint, and the second preset splitting condition indicates that the first node is split based on the quadtree splitting. Used to indicate whether to limit.

선택적으로, 본 출원의 다른 가능한 구현에서, 제1 노드에 대응하는 후보-분할-모드 세트가 비 추가 분할이 아닌 다른 분할 모드를 포함하면, 제1 노드에 이용 가능한 각각의 분할 모드의 레이트 왜곡 비용이 계산되고; 최소 레이트 왜곡 비용에 대응하는 분할 모드는 제1 노드에 대응하는 목표 분할 모드로서 결정되고; 그리고 제1 노드는 제1 노드에 대응하는 목표 분할 모드를 사용하여 분할된다.Optionally, in another possible implementation of the present application, if the candidate-division-mode set corresponding to the first node includes a division mode other than non additional division, the rate distortion cost of each division mode available to the first node Is calculated; The splitting mode corresponding to the minimum rate distortion cost is determined as the target splitting mode corresponding to the first node; The first node is partitioned using the target partitioning mode corresponding to the first node.

제6 관점의 제1 사전 설정 분할 조건에 대해서는 제1 관점의 제1 사전 설정 분할 조건에 관한 설명을 참조한다. 유사하게, 제6 관점의 제2 사전 설정 분할 조건에 대해서는, 제1 관점의 제2 사전 설정 분할 조건에 관한 설명을 참조한다.For the first preset dividing condition in the sixth aspect, reference is made to the description regarding the first preset dividing condition in the first aspect. Similarly, for the second preset division condition of the sixth aspect, reference is made to the description regarding the second preset division condition of the first aspect.

제7 관점에 따르면, 인코더 장치가 제공된다. 인코더 장치는 결정 모듈, 분할 모듈 및 인코딩 모듈을 포함한다. 결정 모듈은 인코딩될 화상 블록에 대응하는 코딩 트리 유닛 CTU를 결정하도록 구성된다. 분할 모듈은 결정 모듈에 의해 결정된 CTU를 제1-레벨 코딩 트리에 대응하는 노드 분할 모드에서 분할하여 제1-레벨 코딩 트리의 리프 노드를 획득하도록 구성된다. 제1-레벨 코딩 트리의 루트 노드는 CTU에 대응한다. 결정 모듈은 또한 제2-레벨 코딩 트리의 제1 노드에 대응하는 후보-분할-모드 세트를 결정하도록 구성된다. 제1 노드에 대응하는 후보-분할-모드 세트는 제1 사전 설정 분할 조건을 만족하고, 제1 사전 설정 분할 조건은 제1 노드가 목표 분할 모드에서 분할되는 것을 제한할지를 나타내는 데 사용되고, 제2-레벨 코딩 트리의 루트 노드는 제1-레벨 코딩 트리의 리프 노드이고, 목표 분할 모드는 수평 2진 분할, 수평 3진 분할, 수직 2진 분할 및 수직 3진 분할 중 적어도 하나를 포함한다. 인코딩 모듈은: 제1 노드에 대응하고 결정 모듈에 의해 결정된 후보-분할-모드 세트가 비 추가 분할을 포함하면, 제1 노드에 대응하는 코딩 유닛(CU)을 인코딩하여 코딩 유닛에 대응하는 코딩-유닛 비트스트림을 획득하도록 구성된다.According to a seventh aspect, an encoder device is provided. The encoder apparatus includes a decision module, a segmentation module and an encoding module. The determining module is configured to determine a coding tree unit CTU corresponding to the picture block to be encoded. The splitting module is configured to split the CTU determined by the determining module in the node splitting mode corresponding to the first-level coding tree to obtain a leaf node of the first-level coding tree. The root node of the first-level coding tree corresponds to the CTU. The determining module is also configured to determine a candidate-division-mode set corresponding to the first node of the second-level coding tree. The candidate-division-mode set corresponding to the first node satisfies the first preset dividing condition, the first preset dividing condition is used to indicate whether the first node is to be restricted from splitting in the target dividing mode, and the second The root node of the level coding tree is a leaf node of the first-level coding tree, and the target division mode includes at least one of horizontal binary division, horizontal ternary division, vertical binary division, and vertical ternary division. The encoding module: if the candidate-division-mode set corresponding to the first node and determined by the determining module includes non-additional division, encoding the coding unit corresponding to the coding unit by encoding a coding unit (CU) corresponding to the first node- Configured to obtain a unit bitstream.

선택적으로, 본 출원의 가능한 구현에서, 제1-레벨 코딩 트리에 대응하는 노드 분할 모드는 쿼드트리 분할을 포함하고, 제2-레벨 코딩 트리에 대응하는 노드 분할 모드는 2진 트리 분할 및 3진 트리 분할을 포함한다. .Optionally, in a possible implementation of the present application, the node splitting mode corresponding to the first-level coding tree includes quadtree splitting, and the node splitting mode corresponding to the second-level coding tree includes binary tree splitting and ternary. Includes tree splitting. .

선택적으로, 본 출원의 가능한 구현에서, 제2-레벨 코딩 트리에 대응하는 노드 분할 모드는 쿼드트리 분할을 더 포함한다. 이에 대응하여, 결정 모듈은 구체적으로 제1 노드에 대응하는 후보-분할-모드 세트를 결정하도록 구성된다. 제1 노드에 대응하는 후보-분할-모드 세트는 제1 사전 설정 분할 조건 및 제2 사전 설정 제한 조건을 만족하고, 제2 사전 설정 분할 조건은 쿼드트리 분할에 기초하여 제1 노드가 분할되는 것을 제한할지를 나타내는 데 사용된다.Optionally, in a possible implementation of the present application, the node splitting mode corresponding to the second-level coding tree further includes quadtree splitting. Correspondingly, the determining module is specifically configured to determine a candidate-division-mode set corresponding to the first node. The candidate-division-mode set corresponding to the first node satisfies the first preset splitting condition and the second preset constraint, and the second preset splitting condition indicates that the first node is split based on the quadtree splitting. Used to indicate whether to limit.

선택적으로, 본 출원의 가능한 구현에서, 본 출원의 이 실시예에 의해 제공되는 인코더 장치는 계산 모듈을 더 포함한다. 계산 모듈은, 제1 노드에 대응하고 결정 모듈에 의해 결정된 후보-분할-모드 세트가 비 추가 분할이 아닌 다른 분할 모드를 포함하면, 제1 노드에 대해 이용 가능한 각각의 분할 모드의 레이트 왜곡 비용을 계산하도록 구성된다. 이에 대응하여, 결정 모듈은 또한 최소 레이트 왜곡 비용에 대응하는 분할 모드를 제1 노드에 대응하는 목표 분할 모드로서 결정하도록 구성된다. 분할 모듈은 구체적으로 제1 노드에 대응하고 결정 모듈에 의해 결정되는 목표 분할 모드에서 제1 노드를 분할하도록 구성된다.Optionally, in a possible implementation of the present application, the encoder device provided by this embodiment of the present application further includes a calculation module. The calculating module calculates the rate distortion cost of each partitioning mode available for the first node if the candidate-divisioning-mode set corresponding to the first node and determined by the determining module includes a partitioning mode other than non-additional partitioning. Configured to calculate. Correspondingly, the determining module is further configured to determine the splitting mode corresponding to the minimum rate distortion cost as the target splitting mode corresponding to the first node. The splitting module is specifically configured to split the first node in the target splitting mode corresponding to the first node and determined by the determining module.

제7 관점의 제1 사전 설정 분할 조건에 대해서는 제1 관점의 제1 사전 설정 분할 조건에 관한 설명을 참조한다. 유사하게, 제7 관점의 제2 사전 설정 분할 조건에 대해서는, 제1 관점의 제2 사전 설정 분할 조건에 관한 설명을 참조한다.For the first preset dividing condition in the seventh aspect, reference is made to the description regarding the first preset dividing condition in the first aspect. Similarly, for the second preset dividing condition of the seventh aspect, reference is made to the description regarding the second preset dividing condition of the first aspect.

제8 관점에 따르면, 인코더 장치가 제공된다. 인코더 장치는 하나 이상의 프로세서, 메모리 및 통신 인터페이스를 포함한다. 메모리 및 통신 인터페이스는 하나 이상의 프로세서에 연결된다. 메모리는 컴퓨터 프로그램 코드를 저장하도록 구성된다. 컴퓨터 프로그램 코드는 명령을 포함한다. 하나 이상의 프로세서가 명령을 실행할 때, 인코더 장치는 제6 관점 또는 제6 관점의 가능한 구현 중 어느 하나에서의 화상 데이터 인코딩 방법을 수행한다.According to an eighth aspect, an encoder device is provided. The encoder device includes one or more processors, memory and communication interface. Memory and communication interfaces are coupled to one or more processors. The memory is configured to store computer program code. Computer program code includes instructions. When one or more processors execute an instruction, the encoder apparatus performs the method of encoding image data in either the sixth aspect or a possible implementation of the sixth aspect.

제9 관점에 따르면, 컴퓨터 판독 가능 저장 매체가 제공된다. 컴퓨터 판독 가능 저장 매체는 명령을 저장한다. 명령이 인코더 장치에서 실행될 때, 인코더 장치는 제6 관점 또는 제6 관점의 가능한 구현 중 어느 하나에서의 화상 데이터 인코딩 방법을 수행할 수 있다.According to a ninth aspect, a computer readable storage medium is provided. Computer-readable storage media store instructions. When the instruction is executed in the encoder device, the encoder device may perform the method of encoding image data in either the sixth aspect or a possible implementation of the sixth aspect.

제10 관점에 따르면, 명령을 포함하는 컴퓨터 프로그램 제품이 제공된다. 컴퓨터 프로그램 제품이 인코더 장치에서 실행될 때, 인코더 장치는 제6 관점 또는 제6 관점의 가능한 구현 중 어느 하나에서의 화상 데이터 인코딩 방법을 수행할 수 있다.According to a tenth aspect, a computer program product comprising instructions is provided. When the computer program product is executed in the encoder device, the encoder device may perform the method of encoding picture data in either the sixth aspect or a possible implementation of the sixth aspect.

제7 관점, 제8 관점, 제9 관점, 제10 관점 및 제7 관점, 제8 관점, 제9 관점 및 제10 관점의 구현에 대한 구체적인 설명은 제7 관점 및 제7 관점의 구현의 상세한 설명을 참조한다. 또한, 제7 관점, 제8 관점, 제9 관점, 제10 관점 및 제7 관점, 제8 관점, 제9 관점 및 제10 관점의 구현의 유익한 효과에 대해서는, 제6 관점 및 제6 관점의 구현의 유익한 효과의 분석을 참조한다. 세부 사항은 여기서 다시 설명하지 않는다.Detailed descriptions of the implementation of the seventh, eighth, ninth, tenth, and seventh, eighth, ninth, and tenth aspects are detailed descriptions of the implementation of the seventh and seventh aspects. See. In addition, regarding the beneficial effects of the implementation of the seventh, eighth, ninth, tenth and seventh, eighth, ninth, and tenth aspects, the sixth and sixth aspects are implemented. See the analysis of the beneficial effects of. Details are not described here again.

본 출원에서, 인코더 장치의 명칭은 장치 또는 기능 모듈에 대한 어떠한 제한도 구성하지 않는다. 실제 구현에서 장치 또는 기능 모듈은 다른 이름으로 나타날 수 있다. 장치 또는 기능 모듈의 기능이 본 출원에서 설명된 것과 유사하다면, 각 장치 또는 기능 모듈은 본 출원에서 청구 범위 및 그와 동등한 기술로 정의된 범위 내에 속한다.In the present application, the name of the encoder device does not constitute any limitation on the device or the functional module. In actual implementations, devices or functional modules may appear under different names. If the functionality of an apparatus or a functional module is similar to that described in this application, each apparatus or functional module is within the scope defined by the claims and equivalent techniques herein.

본 출원에서의 이러한 관점 또는 다른 관점은 이하의 설명에서 더 간결하고 이해 가능하다.These or other aspects in the present application are more concise and understandable in the following description.

도 1은 본 출원의 실시예에 따른 상이한 분할 모드의 개략적인 구조도이다.
도 2는 본 출원의 실시예에 따른 쿼드트리의 깊이의 개략적인 구조도이다.
도 3은 본 출원의 실시예에 따른 쿼드트리 분할 및 2진 트리 분할의 결합된 분할의 개략도이다.
도 4는 본 출원의 실시예에 따른 화상 처리 시스템의 개략적인 구조도이다.
도 5는 본 출원의 실시예에 따른 이동 전화의 하드웨어 구조의 개략도이다.
도 6은 본 출원의 실시예에 따른 화상 데이터 디코딩 방법의 제1 개략적인 흐름도이다.
도 7은 본 출원의 실시예에 따른 화상 데이터 디코딩 방법의 제2 개략적인 흐름도이다.
도 8은 본 출원의 실시예에 따른 화상 데이터 인코딩 방법의 개략적인 흐름도이다.
도 9는 본 출원의 실시예에 따른 디코더 장치의 개략적인 구조도이다.
도 10은 본 출원의 실시예에 따른 인코더 장치의 개략적인 구조도이다.
1 is a schematic structural diagram of different partitioning modes according to an embodiment of the present application.
2 is a schematic structural diagram of a depth of a quadtree according to an embodiment of the present application.
3 is a schematic diagram of combined partitioning of quadtree partitioning and binary tree partitioning according to an embodiment of the present application.
4 is a schematic structural diagram of an image processing system according to an embodiment of the present application.
5 is a schematic diagram of a hardware structure of a mobile telephone according to an embodiment of the present application.
6 is a first schematic flowchart of a method of decoding image data according to an embodiment of the present application.
7 is a second schematic flowchart of a method of decoding image data according to an embodiment of the present application.
8 is a schematic flowchart of an image data encoding method according to an embodiment of the present application.
9 is a schematic structural diagram of a decoder device according to an embodiment of the present application.
10 is a schematic structural diagram of an encoder device according to an embodiment of the present application.

본 출원의 명세서, 청구 범위 및 첨부 도면에서, "제1", "제2", "제3" 및 "제4"와 같은 용어는 상이한 객체를 구별하도록 의도되었지만 특정 순서를 나타내지는 않는다.In the specification, claims and appended drawings of this application, terms such as "first", "second", "third" and "fourth" are intended to distinguish different objects but do not indicate a particular order.

본 출원의 실시예에서, "예" 또는 "예를 들어"와 같은 단어는 예, 설명 또는 서술을 제공하기 위해 사용된다. 본 출원의 실시예들에서 "예" 또는 "예를 들어"로 설명된 임의의 실시예 또는 설계 방식은 다른 실시예 또는 설계 방식보다 바람직하거나 더 많은 이점을 가지는 것으로 해석되어서는 안 된다. 정확하게, "예" 또는 "예를 들어와 같은 단어는 특정 방식으로 관련 개념을 제시하는 데 사용된다.In the embodiments of the present application, words such as "yes" or "for example" are used to provide an example, description or description. Any embodiment or design manner described as "example" or "for example" in the embodiments of the present application should not be construed as having the desired or more advantages over other embodiments or design approaches. Exactly, words such as "yes" or "for example" are used to present related concepts in a particular way.

본 출원의 실시예들을 이해하기 쉽게 하기 위해, 본 출원의 실시예들에서의 관련 요소들이 먼저 설명된다.In order to facilitate understanding of the embodiments of the present application, the relevant elements in the embodiments of the present application are described first.

코딩 트리 유닛(Coding Tree Unit, CTU): 화상은 복수의 CTU를 포함한다. CTU는 일반적으로 하나의 정사각형 그림 영역에 해당한다. 도 1(a)에 도시된 바와 같이, 화상(10)는(CTU A, CTU B, CTU C 등을 포함하는) 복수의 CTU를 포함한다. CTU에 대응하는 인코딩 정보는 CTU에 대응하는 정사각형 화상 영역에서 픽셀의 휘도 값 및/또는 색차 값을 포함한다. 또한, CTU에 대응하는 인코딩 정보는 신택스 요소를 더 포함할 수 있다. 신택스 요소는 CTU를 적어도 하나의 CU로 분할하고 각각의 CU를 디코딩하여 재구성된 화상을 획득하는 방법을 나타낸다.Coding Tree Unit (CTU): A picture includes a plurality of CTUs. CTU generally corresponds to one square plot area. As shown in FIG. 1A, the image 10 includes a plurality of CTUs (including CTU A, CTU B, CTU C, etc.). The encoding information corresponding to the CTU includes luminance values and / or chrominance values of the pixels in the square image area corresponding to the CTU. In addition, the encoding information corresponding to the CTU may further include a syntax element. The syntax element represents a method of dividing a CTU into at least one CU and decoding each CU to obtain a reconstructed picture.

하나의 CTU에 대응하는 화상 영역은 64 x 64, 128 x 128 또는 256 x 256 픽셀을 포함할 수 있다. 예에서, 64 x 64 픽셀을 포함하는 CTU는 64열 및 64행의 픽셀을 가지는 직사각형 픽셀 매트릭스를 포함하고, 각 픽셀은 휘도 성분 및/또는 색차 성분을 포함한다.The picture area corresponding to one CTU may include 64 x 64, 128 x 128 or 256 x 256 pixels. In an example, a CTU comprising 64 x 64 pixels includes a rectangular pixel matrix having 64 columns and 64 rows of pixels, each pixel comprising a luminance component and / or a chrominance component.

CTU는 대안으로 직사각형 화상 영역 또는 다른 형상의 화상 영역에 대응할 수도 있고, 하나의 CTU에 대응하는 화상 영역은 대안으로 수평의 픽셀 수가 수평 인 화상 영역일 수도 있음을 이해해야 한다. 방향은 수직 방향으로 픽셀의 수량과 다르며, 예를 들어 64 x 128 픽셀을 포함한다.It should be understood that a CTU may alternatively correspond to a rectangular picture area or another shape of picture area, and that a picture area corresponding to one CTU may alternatively be a picture area with a horizontal number of pixels. The direction differs from the number of pixels in the vertical direction and includes, for example, 64 x 128 pixels.

코딩 유닛(coding unit, CU): 코딩 유닛은 일반적으로 하나의 AxB 직사각형 영역에 대응하고, 여기서 A는 직사각형의 폭이고, B는 직사각형의 높이이다. 본 출원의 실시예에서의 폭은 도 1에 도시된 2차원 직교 좌표계 XoY에서 X 축 방향(수평 방향)의 길이이다. 도 1에 도시된 2차원 직교 좌표계 XoY에서의 높이는 Y 축 방향(수직 방향)의 길이이다. 여기서, A 및 B의 값은 동일하거나 상이할 수 있다. A 및 B의 값은 일반적으로 256, 128, 64, 32, 16, 8 또는 4와 같은 2의 정수 거듭제곱이다. AxB 직사각형 영역의 재구성된 화상 블록은 CU의 디코딩 처리를 통해 획득될 수 있다. 디코딩 처리는 일반적으로 예측(prediction), 역 양자화(dequantization) 및 역변환(inverse transform)과 같은 처리를 포함하고, 예측된 화상 및 잔차가 생성되고, 예측된 화상 및 잔차가 중첩되어 재구성된 화상 블록을 획득한다. 최종 재구성된 화상은 복수의 재구성된 화상 블록을 사용하여 획득될 수 있다.Coding Unit (CU): A coding unit generally corresponds to one AxB rectangular area, where A is the width of the rectangle and B is the height of the rectangle. The width in the embodiment of the present application is the length in the X axis direction (horizontal direction) in the two-dimensional rectangular coordinate system XoY shown in FIG. 1. The height in the two-dimensional rectangular coordinate system XoY shown in FIG. 1 is the length in the Y axis direction (vertical direction). Here, the values of A and B may be the same or different. The values of A and B are generally integer powers of two, such as 256, 128, 64, 32, 16, 8 or 4. The reconstructed picture block of the AxB rectangular area can be obtained through the decoding process of the CU. Decoding processes generally include processing such as prediction, dequantization, and inverse transform, where predicted pictures and residuals are generated, and predicted pictures and residuals are superimposed and reconstructed picture blocks. Acquire. The final reconstructed picture can be obtained using a plurality of reconstructed picture blocks.

쿼드트리(Quad-Tree, QT): 쿼드트리는 트리형 구조이며, 노드는 4개의 자식 노드로 분할될 수 있다. 예를 들어, 비디오 코덱 표준 H.265에서는 쿼드트리 기반 CTU 분할 모드가 사용된다. CTU는 루트 노드로 사용된다. 각 노드는 하나의 정사각형 화상 영역에 해당한다. 노드는 더 분할되지 않을 수 있거나(이 경우, 노드에 대응하는 정사각형 화상 영역은 CU이다); 또는 4개의 하위 레벨 노드로 분할될 수 있고, 즉, 노드에 대응하는 정사각형 화상 영역은 4개의 동일한 정사각형 영역으로 분할되고(정사각형 영역의 폭 및 높이는 각각 분할 전 영역의 절반 폭 및 반 높이이다), 각 영역은 하나의 노드에 해당한다. 도 1(b)에 도시된 바와 같이, CTU A는 루트 노드이고, CTU A는 4개의 노드 a, b, c 및 d로 분할된다. 노드 a가 비 추가 분할이면, 노드 a에 대응하는 정사각 화상 영역은 하나의 CU에 대응한다.Quad-Tree (QT): A quadtree is a tree structure, and nodes may be divided into four child nodes. For example, in the video codec standard H.265, quadtree-based CTU splitting mode is used. CTU is used as the root node. Each node corresponds to one square picture area. The node may not be further divided (in this case, the square picture area corresponding to the node is a CU); Or divided into four lower level nodes, that is, the square image area corresponding to the node is divided into four identical square areas (the width and height of the square area are each half width and half height of the pre-division area), Each zone corresponds to one node. As shown in Fig. 1 (b), CTU A is the root node, and CTU A is divided into four nodes a, b, c and d. If node a is non-additional division, the square picture area corresponding to node a corresponds to one CU.

2진 트리(Binary Tree, BT): 2진 트리는 나무와 같은 구조이다. 노드는 2개의 자식 노드로 분할될 수 있다. 2진 트리 구조의 노드는 더 이상 분할되지 않거나 2개의 하위-레벨 노드로 분할될 수 있다. 2진 트리 분할 모드에는 다음 중 하나가 포함될 수 있다.Binary Tree (BT): A binary tree is a tree-like structure. The node may be divided into two child nodes. Nodes in the binary tree structure may no longer be split or may be split into two lower-level nodes. Binary tree splitting mode may include one of the following.

(1) 수평 2진 분할(1) horizontal binary division

노드에 대응하는 화상 영역은 동일한 크기를 가지는 상부 영역 및 하부 영역으로 분할된다. 구체적으로, 분할을 통해 얻어진 화상 영역에 대해, 폭은 변하지 않고 높이는 분할 화상 영역의 절반이 된다. 분할을 통해 획득된 각각의 화상 영역은 하나의 자식 노드에 대응한다. 도 1(c)에 도시된 바와 같이, 노드 b는 수평 2진 트리 분할 모드에서 분할되어 노드 e 및 노드 f를 생성한다.The picture area corresponding to the node is divided into an upper area and a lower area having the same size. Specifically, for the image area obtained through division, the width does not change and the height is half of the divided image area. Each picture area obtained through the division corresponds to one child node. As shown in Fig. 1 (c), node b is partitioned in horizontal binary tree splitting mode to produce node e and node f.

(2) 수직 2진 분할(2) vertical binary division

노드에 대응하는 영역은 동일한 크기를 가지는 왼쪽 영역과 오른쪽 영역으로 분할된다. 구체적으로, 분할을 통해 획득된 화상 영역에 있어서, 높이는 변하지 않고 폭은 분할 화상 영역의 절반이다. 분할을 통해 획득된 각각의 화상 영역은 하나의 자식 노드에 대응한다. 도 1(d)에 도시된 바와 같이, 노드 d는 수직 2진 분할 모드에서 분할되어 노드 g 및 노드 h를 생성한다.The area corresponding to the node is divided into a left area and a right area having the same size. Specifically, in the image area obtained through division, the height does not change and the width is half of the divided image area. Each picture area obtained through the division corresponds to one child node. As shown in Fig. 1 (d), node d is split in vertical binary division mode to produce node g and node h.

수평 2진 분할 및 수직 2진 분할은 2진 트리 분할 모드의 예인 것으로 이해될 수 있다. 노드에 대응하는 화상 영역은 다른 모드에서 2개의 하위 영역으로 분할될 수 있다. 예를 들어, 수평 분할을 통해 높이가 다른 두 개의 하위 영역을 얻거나 수직 분할을 통해 너비가 다른 두개의 영역을 얻는다.Horizontal binary division and vertical binary division can be understood as examples of binary tree division modes. The picture area corresponding to the node may be divided into two sub areas in different modes. For example, you can get two subregions with different heights through horizontal divisions, or two regions with different widths through vertical divisions.

3진 트리(Ternary Tree, TT): 3진 트리는 나무와 같은 구조이다. 노드는 세 개의 자식 노드로 분할될 수 있다. 3진 트리 구조의 노드는 더 이상 분할되지 않거나 3개의 하위 레벨 노드로 분할될 수 있다. 3진 트리 분할 모드는 다음 중 하나를 포함할 수 있다.Ternary Tree (TT): A ternary tree is a tree-like structure. The node can be divided into three child nodes. Nodes in the ternary tree structure may no longer be split or may be split into three lower level nodes. The ternary tree splitting mode may include one of the following.

(1) 수평 3진 분할(1) horizontal ternary division

노드에 대응하는 화상 영역은 3개의 영역, 즉 상부 영역, 중간 영역 및 하부 영역으로 분할되며, 각 영역은 하나의 자식 노드에 대응한다. 일례에서, 상부 영역, 중간 영역 및 하부 영역의 높이는 각각 분할 전의 화상 영역 높이의 1/4, 1/2 및 1/4이다. 도 1(e)에 도시된 바와 같이, 노드 c는 수평 3진 분할 모드에서 분할되어 노드 j, 노드 k 및 노드 m을 생성한다. 노드 j에 대응하는 화상 영역의 높이는 노드 c에 대응하는 화상 영역의 높이의 1/4이고, 노드 k에 대응하는 화상 영역의 높이는 노드 c에 대응하는 화상 영역의 높이의 1/2이고, 노드 m에 대응하는 화상 영역의 높이는 노드 c에 대응하는 화상 영역의 높이의 1/4이다. 다른 예에서, 상부 영역, 중간 영역 및 하부 영역의 높이는 각각 분할 전의 화상 영역 높이의 1/3, 1/3 및 1/3이다. 구체적으로, 노드에 대응하는 화상 영역은 도 1에 도시된 2차원 직교 좌표계 XoY에서 X 축 방향으로 3개의 영역으로 균등하게 분할된다. 도 1(f)에 도시된 바와 같이, 노드 c는 수평 3진 분할 모드에서 분할되어 노드 j, 노드 k 및 노드 m을 생성하고; 노드 j에 대응하는 화상 영역의 높이, 노드 k에 대응하는 화상 영역의 높이, 및 노드 m에 대응하는 화상 영역의 높이는 모두 노드 c에 대응하는 화상 영역의 높이의 1/3이다.The image area corresponding to the node is divided into three areas, namely, an upper area, an intermediate area and a lower area, each area corresponding to one child node. In one example, the heights of the upper region, the middle region and the lower region are respectively 1/4, 1/2 and 1/4 of the height of the image region before dividing. As shown in Fig. 1 (e), node c is partitioned in the horizontal ternary partitioning mode to generate node j, node k and node m. The height of the image area corresponding to node j is 1/4 of the height of the image area corresponding to node c, the height of the image area corresponding to node k is 1/2 of the height of the image area corresponding to node c, and node m The height of the image area corresponding to is 1/4 of the height of the image area corresponding to node c. In another example, the heights of the upper region, the middle region and the lower region are 1/3, 1/3 and 1/3 of the height of the image region before dividing, respectively. Specifically, the image region corresponding to the node is equally divided into three regions in the X-axis direction in the two-dimensional rectangular coordinate system XoY shown in FIG. As shown in Fig. 1 (f), node c is partitioned in the horizontal ternary partitioning mode to generate node j, node k and node m; The height of the image region corresponding to the node j, the height of the image region corresponding to the node k, and the height of the image region corresponding to the node m are all 1/3 of the height of the image region corresponding to the node c.

(2) 수직 3진 분할(2) vertical ternary division

노드에 대응하는 화상 영역은 3개의 영역, 즉 왼쪽 영역, 중간 영역 및 오른쪽 영역으로 분할되며, 각 영역은 하나의 자식 노드에 대응한다. 일례에서, 왼쪽 영역, 중간 영역 및 오른쪽 영역의 폭은 각각 분할 전 화상 영역 폭의 1/4, 1/2 및 1/4이다. 도 1(g)에 도시된 바와 같이, 노드 c는 수직 3진 분할 모드로 분할되어 노드 p, 노드 q 및 노드 x를 생성한다. 노드 p에 대응하는 화상 영역의 폭은 노드 c에 대응하는 화상 영역의 폭의 1/4이고, 노드 q에 대응하는 화상 영역의 폭은 노드 c에 대응하는 화상 영역의 폭의 1/2이고, 노드 x에 대응하는 화상 영역의 폭은 노드 c에 대응하는 화상 영역의 폭의 1/4이다. 다른 예에서, 왼쪽 영역, 중간 영역 및 오른쪽 영역의 높이는 각각 분할 전의 화상 영역 높이의 1/3, 1/3 및 1/3이다. 구체적으로, 노드에 대응하는 화상 영역은 도 1에 도시된 2차원 직교 좌표계 XoY에서 X 축 방향으로 3개의 영역으로 균등하게 분할된다. 도 1(h)에 도시된 바와 같이, 노드 c는 수직 3진 분할 모드에서 분할되어 노드 p, 노드 q 및 노드 x를 생성하고; 노드 p에 대응하는 화상 영역의 폭, 노드 q에 대응하는 화상 영역의 폭, 및 노드 x에 대응하는 화상 영역의 폭은 모두 노드 c에 대응하는 화상 영역의 폭의 1/3이다.The image area corresponding to the node is divided into three areas, that is, the left area, the middle area and the right area, each area corresponding to one child node. In one example, the widths of the left region, the middle region and the right region are 1/4, 1/2 and 1/4 of the width of the image region before dividing, respectively. As shown in Fig. 1 (g), node c is divided into vertical ternary partitioning modes to produce node p, node q and node x. The width of the image region corresponding to the node p is 1/4 of the width of the image region corresponding to the node c, the width of the image region corresponding to the node q is 1/2 the width of the image region corresponding to the node c, The width of the image area corresponding to node x is 1/4 of the width of the image area corresponding to node c. In another example, the heights of the left region, the middle region and the right region are 1/3, 1/3 and 1/3 of the height of the image region before dividing, respectively. Specifically, the image region corresponding to the node is equally divided into three regions in the X-axis direction in the two-dimensional rectangular coordinate system XoY shown in FIG. As shown in Fig. 1 (h), node c is partitioned in the vertical ternary partitioning mode to generate node p, node q and node x; The width of the image region corresponding to the node p, the width of the image region corresponding to the node q, and the width of the image region corresponding to the node x are all 1/3 of the width of the image region corresponding to the node c.

이미지 인코딩(image encoding): 이미지 인코딩은 화상 시퀀스가 비트스트림으로 압축되는 처리 프로세스이다.Image encoding: Image encoding is a processing process in which a picture sequence is compressed into a bitstream.

이미지 디코딩(이미지 디코딩): 이미지 디코딩은 비트스트림이 특정 파싱 규칙 및 특정 처리 방법에 따라 재구성된 화상으로 복원되는 처리 프로세스이다.Image Decoding (Image Decoding): Image decoding is a processing process in which a bitstream is reconstructed into a picture reconstructed according to a specific parsing rule and a specific processing method.

비디오 코덱 표준 H.265에서 CTU는 QT 분할 모드로 분할된다. 특히, CTU는 QT 구조의 루트 노드(root node)로 사용되며, CTU는 QT 분할 모드에서 여러 리프 노드(leaf node)로 재귀적으로 분할된다. 노드가 더 이상 분할되지 않으면 노드를 리프 노드라고 한다. 전술한 설명으로부터 화상은 복수의 CTU를 포함하고, 하나의 CTU는 하나의 정사각형 화상 영역에 대응한다는 것을 알 수 있다. 즉, 하나의 CTU는 하나의 화상 블록에 해당한다. 각 리프 노드는 하나의 CU에 해당한다. 각각의 CU는 CTU에 대응하는 화상 블록 내의 자식 화상 블록과 동등하며, 자식 화상 블록은 QT 분할 모드에서 더 이상 분할될 수 없다. 노드가 추가로 분할될 필요가 있는 경우, 노드에 대응하는 화상 영역은 동일한 크기의 4개의 화상 영역으로 분할된다. 도 1(b)을 참조하면, 노드에 대응하는 화상 영역이 분할된 후, 분할 후에 생성된 각 화상 영역은 하나의 노드에 대응하고, 이들 노드가 추가로 분할되는지를 추가로 결정해야 한다. 노드 분할 여부는 비트스트림에서 노드에 해당하는 분할 플래그 비트(예를 들어, split_cu_flag)로 식별된다. QT 구조에서 루트 노드의 깊이(QT depth로 약칭)는 0이고, QT 분할 모드에서 생성된 자식 노드의 QT 깊이는 자식 노드의 부모 노드의 QT 깊이에 1을 더한 값이다.In the video codec standard H.265, the CTU is split into QT split mode. In particular, the CTU is used as the root node of the QT structure, and the CTU is recursively divided into several leaf nodes in the QT partitioning mode. When a node is no longer split, the node is called a leaf node. It can be seen from the above description that an image includes a plurality of CTUs, and one CTU corresponds to one square image area. That is, one CTU corresponds to one picture block. Each leaf node corresponds to one CU. Each CU is equivalent to a child picture block in the picture block corresponding to the CTU, and the child picture block can no longer be split in the QT split mode. If the node needs to be further divided, the picture area corresponding to the node is divided into four picture areas of the same size. Referring to Fig. 1 (b), after the image region corresponding to the node is divided, each image region generated after the division corresponds to one node, and it must be further determined whether these nodes are further divided. Whether to split the node is identified by a split flag bit (eg, split_cu_flag) corresponding to the node in the bitstream. In the QT structure, the depth of the root node (abbreviated as QT depth) is 0, and the QT depth of the child node generated in the QT partitioning mode is 1 plus the QT depth of the parent node of the child node.

예를 들어, 노드의 분할 플래그 비트는 split_cu_flag로 표시된다. split_cu_flag = 0이면 노드가 더 이상 분리되지 않음을 나타내거나, 또는 split_cu_flag = 1이면 노드가 추가로 분할됨을 나타낸다. 도 2에 도시된 바와 같이, (QT 깊이가 0인) 64x64 CTU 노드의 split_cu_flag의 값이 1이면, CTU 노드는(QT 깊이가 1인) 4개의 32x32 노드로 분할되고, 4개의 32x32 노드는 각각 노드 A1, 노드 A2, 노드 A3 및 노드 A4이다. 4개의 32x32 노드 각각은 노드에 대응하는 split_cu_flag에 기초하여 분할되거나 분할되지 않을 수 있다. 노드 A1의 split_cu_flag의 값이 1이면, 노드 A1은(QT 깊이가 2인) 4개의 16x16 노드로 추가로 분할되고, 4개의 16x16 노드는 각각 노드 B1, 노드 B2, 노드 B3 및 노드 B4 등이며 노드가 더 이상 분할되지 않을 때까지 계속된다. 이러한 방식으로 하나의 CTU가 CU 그룹으로 분할된다. 동일한 QT 구조에서, 모든 CU의 최소 크기(즉, CU의 최솟값)는 동일하며, CU의 최소 크기는 비트스트림의 시퀀스 파라미터 세트(Sequence Parameter Set, SPS)에서 식별된다. 예를 들어, 8x8 CU는 최소 CU이다. 전술한 재귀 분할 프로세스에서, 노드의 크기가 CU의 최소 크기와 동일하면, 노드가 더 이상 분할되지 않고 노드의 분할 플래그가 비트스트림에 포함될 필요가 없는 것으로 결정된다.For example, the split flag bit of the node is indicated by split_cu_flag. split_cu_flag = 0 indicates that the node is no longer split, or split_cu_flag = 1 indicates that the node is split further. As shown in FIG. 2, if the value of split_cu_flag of a 64x64 CTU node (with a QT depth of 0) is 1, the CTU node is split into four 32x32 nodes (with a QT depth of 1), and four 32x32 nodes each. Nodes A1, node A2, node A3 and node A4. Each of the four 32x32 nodes may or may not be split based on the split_cu_flag corresponding to the node. If the value of split_cu_flag of node A1 is 1, node A1 is further divided into four 16x16 nodes (QT depth 2), and the four 16x16 nodes are node B1, node B2, node B3, and node B4, respectively. Continue until no longer split. In this way, one CTU is divided into CU groups. In the same QT structure, the minimum size of all CUs (ie, the minimum value of a CU) is the same, and the minimum size of the CU is identified in a sequence parameter set (SPS) of the bitstream. For example, an 8x8 CU is the minimum CU. In the above recursive partitioning process, if the size of the node is equal to the minimum size of the CU, it is determined that the node is no longer split and the splitting flag of the node need not be included in the bitstream.

CTU가 CU의 그룹으로 분할되는 분할 모드는 하나의 코딩 트리에 대응한다. 도 3(a)은 코딩 트리의 예이다. 코딩 트리는 하나의 분할 모드, 예를 들어 쿼드트리 분할 모드에 대응하거나 복수의 분할 모드, 예를 들어 전술한 QTBT 구조 및 후술하는 QT-BT/TT 구조에 대응할 수 있다.The splitting mode in which the CTU is divided into groups of CUs corresponds to one coding tree. 3 (a) is an example of a coding tree. The coding tree may correspond to one splitting mode, eg, quadtree splitting mode, or may correspond to a plurality of splitting modes, for example, the above-described QTBT structure and the below-described QT-BT / TT structure.

제1-레벨 코딩 트리, 제2-레벨 코딩 트리, 제3-레벨 코딩 트리, ... 및 N번째 레벨 코딩 트리는 상이한 분할 모드 세트에 대응하며, 여기서 N은 상이한 분할 모드 세트는 트리의 유형, 예를 들어, 3진 트리, 2진 트리 또는 쿼드트리일 수 있거나; 또는 동일한 유형의 트리, 예를 들어 수평 2진 분할 또는 수직 2진 분할에서 분할 모드 세트일 수 있거나; 또는 이들의 조합일 수 있다. 코딩 트리는 반드시 전술한 모든 복수의 코딩 트리를 상이한 레벨로 포함할 필요는 없음이 이해될 수 있다. 예를 들어, 코딩 트리는 제1-레벨 코딩 트리만을 포함할 수 있거나; 또는 코딩 트리는 제1-레벨 코딩 트리 및 제2-레벨 코딩 트리를 포함할 수 있거나; 또는 코딩 트리는 제1-레벨 코딩 트리, 제2-레벨 코딩 트리 및 제3-레벨 코딩 트리를 포함할 수 있다.The first-level coding tree, the second-level coding tree, the third-level coding tree, ... and the N-th level coding tree correspond to different split mode sets, where N is the different split mode set, the type of tree, For example, it can be a ternary tree, binary tree or quadtree; Or a split mode set in the same type of tree, eg, horizontal binary division or vertical binary division; Or combinations thereof. It can be appreciated that the coding tree does not necessarily need to include all the plurality of coding trees described above at different levels. For example, the coding tree may include only the first-level coding tree; Or the coding tree may comprise a first-level coding tree and a second-level coding tree; Alternatively, the coding tree may include a first-level coding tree, a second-level coding tree and a third-level coding tree.

일례에서, 제1-레벨 코딩 트리는 쿼드트리 분할을 포함할 수 있고, 제2-레벨 코딩 트리는 2진 트리 분할 및 3진 트리 분할을 포함할 수 있다.In one example, the first-level coding tree can include quadtree splitting, and the second-level coding tree can include binary tree splitting and ternary tree splitting.

일례에서, 제1-레벨 코딩 트리는 쿼드트리 분할을 포함할 수 있고, 제2-레벨 코딩 트리는 2진 트리 분할, 3진 트리 분할 및 쿼드트리 분할을 포함할 수 있다.In one example, the first-level coding tree can include quadtree splitting, and the second-level coding tree can include binary tree splitting, ternary tree splitting, and quadtree splitting.

일례에서, 제1-레벨 코딩 트리는 쿼드트리 분할 및 2진 트리 분할을 포함할 수 있고, 제2-레벨 코딩 트리는 3진 트리 분할을 포함한다.In one example, the first-level coding tree may comprise quadtree splitting and binary tree splitting, and the second-level coding tree comprises ternary tree splitting.

일례에서, 제1-레벨 코딩 트리는 쿼드트리 분할을 포함할 수 있고, 제2-레벨 코딩 트리는 2진 트리 분할을 포함할 수 있고, 제3-레벨 코딩 트리는 3진 트리 분할을 포함할 수 있다.In one example, the first-level coding tree can include quadtree splitting, the second-level coding tree can include binary tree splitting, and the third-level coding tree can include ternary tree splitting.

일례에서, 제1-레벨 코딩 트리는 수평 2진 분할을 포함할 수 있고, 제2-레벨 코딩 트리는 수직 2진 분할 및 쿼드트리 분할을 포함할 수 있고, 제3-레벨 코딩 트리는 수직 3진 분할 및 수평 3진 분할을 포함할 수 있다.In one example, the first-level coding tree may comprise a horizontal binary division, the second-level coding tree may comprise a vertical binary division and a quadtree division, and the third-level coding tree may comprise a vertical ternary division and It may include a horizontal ternary split.

제2-레벨 코딩 트리는 다른 분할 모드를 더 포함할 수 있으며, 이는 본 출원의 실시예에서 특별히 제한되지 않는다.The second-level coding tree may further include other splitting modes, which are not particularly limited in the embodiments of the present application.

인코더 장치는 일반적으로 레이트 왜곡 최적화(Rate Distortion Optimization, RDO) 속도 기술을 사용하여 인코딩을 위해 CTU에서 사용하는 특정 코딩 트리를 결정한다. 구체적으로, 각 노드에 대해, 인코더 장치는 노드에 의해 사용될 수 있는 각각의 분할 모드의 레이트 왜곡 비용(Rate Distortion cost, RD 비용)을 계산하고, 계산된 RD 비용을 비교하고, 최소 RD 비용에 대응하는 분할 모드를 노드의 분할 모드로 결정한다.The encoder device generally uses Rate Distortion Optimization (RDO) rate technology to determine the particular coding tree to use in the CTU for encoding. Specifically, for each node, the encoder device calculates the rate distortion cost (RD cost) of each split mode that can be used by the node, compares the calculated RD cost, and corresponds to the minimum RD cost. The split mode is determined as the split mode of the node.

QT 구조에서와 유사하게, BT 구조에서 노드의 깊이는 BT 깊이로 지칭되고, BT 분할 모드에서 생성된 자식 노드의 BT 깊이는 부모 노드의 BT 깊이이다. 노드의 BT 깊이가 최대 BT 깊이와 같으면 노드가 더 이상 분할되지 않은 것으로 결정된다. BT 구조의 최대 BT 깊이는 일반적으로 SPS에서 식별된다.Similar to the QT structure, the depth of the node in the BT structure is referred to as the BT depth, and the BT depth of the child node created in the BT split mode is the BT depth of the parent node. If the node's BT depth equals the maximum BT depth, it is determined that the node is no longer split. The maximum BT depth of the BT structure is usually identified in the SPS.

예를 들어, BT 분할 모드가 QT 분할 모드에 추가되어 도입된다. QT 분할 모드와 BT 분할 모드는 캐스케이드되어 분할 모드를 얻는다. 이 분할 모드를 QTBT 분할 모드라고 한다. 구체적으로, CTU는 QT 분할 모드에서 분할되고, QT 리프 노드는 BT 분할 모드에서 추가로 분할될 수 있다. 다시 말해서, 제1-레벨 코딩 트리는 QT이고, 제2-레벨 코딩 트리는 BT이다.For example, the BT splitting mode is introduced in addition to the QT splitting mode. QT split mode and BT split mode are cascaded to obtain split mode. This split mode is called QTBT split mode. Specifically, the CTU may be split in the QT splitting mode, and the QT leaf node may be split further in the BT splitting mode. In other words, the first-level coding tree is QT and the second-level coding tree is BT.

도 3(a)에 도시된 바와 같이, 각각의 종점은 노드를 나타내고, 실선은 QT 분할 모드에서 노드가 분할됨을 나타내고, 점선은 노드가 BT 분할 모드에서 분할됨을 나타내고, A 내지 M은 13개의 리프 노드이며, 각 리프 노드는 하나의 CU에 해당한다. BT 구조에서 10은 수직 2진 분할을 나타내고 11은 수평 2진 분할을 나타낸다. 도 3(b)은 도 3(a)에 도시된 분할 모드에서 분할된 CTU에 대응하는 화상 영역을 도시한다.As shown in Fig. 3 (a), each endpoint represents a node, a solid line indicates a node is split in QT split mode, a dotted line indicates a node is split in BT split mode, and A to M are 13 leaves It is a node, and each leaf node corresponds to one CU. In the BT structure, 10 represents vertical binary division and 11 represents horizontal binary division. FIG. 3 (b) shows an image area corresponding to the divided CTU in the division mode shown in FIG. 3 (a).

QTBT 분할 모드에서, 각 CU는 QT 깊이 및 BT 깊이를 가진다. QTBT 분할 모드의 CU에 있어서, CU의 QT 깊이는 CU가 속하는 QT 리프 노드의 QT 깊이이고, CU의 BT 깊이는 CU가 속하는 BT 리프 노드의 BT 깊이이다. CTU가 분할되지 않는 경우, 즉 CU가 하나뿐이면, CU의 QT 깊이는 0이고 CU의 BT 깊이는 0이다.In QTBT split mode, each CU has a QT depth and a BT depth. In a CU of QTBT split mode, the QT depth of the CU is the QT depth of the QT leaf node to which the CU belongs, and the BT depth of the CU is the BT depth of the BT leaf node to which the CU belongs. If the CTU is not split, i.e. there is only one CU, the QT depth of the CU is zero and the BT depth of the CU is zero.

예를 들어, 도 3(a)에서 A와 B의 QT 깊이는 1이고 A와 B의 BT 깊이는 2이다. C, D 및 E의 QT 깊이는 1이고, C, D 및 E의 BT 깊이는 1이고; F, K 및 L의 QT 깊이는 2이고, F, K 및 L의 BT 깊이는 1이며; I 및 J의 QT 깊이는 2이고, I 및 J의 BT 깊이는 0이며; G 및 H의 QT 깊이는 2이고, G 및 H의 BT 깊이는 2이고, M의 QT 깊이는 1이고, M의 BT 깊이는 0이다.For example, in FIG. 3A, the QT depths of A and B are 1 and the BT depths of A and B are 2. The QT depths of C, D and E are 1, and the BT depths of C, D and E are 1; The QT depths of F, K and L are 2, and the BT depths of F, K and L are 1; The QT depths of I and J are 2, and the BT depths of I and J are 0; The QT depths of G and H are 2, the BT depth of G and H is 2, the QT depth of M is 1, and the BT depth of M is 0.

QTBT 분할 모드의 CU 형상이 더 다양해져서 이것은 로컬 화상의 내용에 더 잘 적응할 수 있다. 표준 H.265에서, QT 분할 모드에 기초하여 분할을 통해 획득된 모든 CU는 사각형일 수 있으며, 즉 CU의 폭(width)은 CU의 높이(height)와 동일할 수 있다. QT 분할 모드에 추가하여 BT 분할 모드가 도입된 후, CU의 폭 및 높이는 서로 다를 수 있다. 예를 들어, 너비 대 높이 비율(너비 대 높이 비율의 숫자 값은 너비를 높이로 나눈 값과 같다)은 2, 4, 8, 16, 1/2, 1/4, 1/8 또는 1/16이다. 확실히, QTBT 분할 모드에서, 각 CU의 폭 및 높이는 최소 CU의 측면 길이보다 작을 수 없다(예를 들어, 최소 CU는 4 x 4로 설정될 수 있다). 비디오 스트림의 SPS는 일반적으로 최소 CU의 크기 정보를 포함한다.The CU shape of the QTBT splitting mode is more diversified, which can better adapt to the content of the local picture. In standard H.265, all CUs obtained through splitting based on the QT splitting mode may be rectangular, that is, the width of the CU may be equal to the height of the CU. After the BT splitting mode is introduced in addition to the QT splitting mode, the width and height of the CU may be different. For example, the width-to-height ratio (the numeric value of the width-to-height ratio equals the width divided by the height) is 2, 4, 8, 16, 1/2, 1/4, 1/8, or 1/16. to be. Certainly, in the QTBT splitting mode, the width and height of each CU cannot be smaller than the side length of the minimum CU (eg, the minimum CU can be set to 4 × 4). The SPS of the video stream generally contains the size information of the minimum CU.

QTBT에 더하여, QT-BT/TT 분할 모드가 더 포함될 수 있다. 구체적으로, 제1-레벨 코딩 트리의 노드는 QT 분할 모드를 사용하고, 제2-레벨 코딩 트리의 노드는 BT 분할 모드 또는 TT 분할 모드를 사용할 수 있다. 구체적으로, CTU는 제1-레벨 코딩 트리의 루트 노드이고, CTU는 QT 분할 모드에서 분할되어 제1-레벨 코딩 트리의 여러 리프 노드를 생성한다. 그런 다음, 제1-레벨 코딩 트리의 리프 노드는 제2-레벨 코딩 트리의 루트 노드로서 사용되고, 제2-레벨 코딩 트리의 노드는(수평 2진 분할 및 수직 2진 분할 포함하는) BT 분할 모드 또는(수평 3진 분할 및 수직 3진 분할 포함하는) TT 분할 모드에서 분할되어, 제2-레벨 코딩 트리의 여러 리프 노드를 생성한다.In addition to the QTBT, a QT-BT / TT splitting mode may be further included. Specifically, nodes of the first-level coding tree may use the QT splitting mode, and nodes of the second-level coding tree may use the BT splitting mode or the TT splitting mode. Specifically, the CTU is the root node of the first-level coding tree, and the CTU is split in QT splitting mode to generate several leaf nodes of the first-level coding tree. Then, the leaf nodes of the first-level coding tree are used as root nodes of the second-level coding tree, and the nodes of the second-level coding tree are BT splitting modes (including horizontal binary splitting and vertical binary splitting). Or split in TT splitting mode (including horizontal ternary splitting and vertical ternary splitting) to create several leaf nodes of the second-level coding tree.

그렇지만, 각각의 노드에 있어서, 인코더 장치는 일반적으로 노드에 의해 사용될 수 있는 각각의 분할 모드의 RD 비용을 계산하고, 계산된 RD 비용을 비교하고, 최소 RD 비용에 대응하는 분할 모드를 노드의 분할 모드로 결정한다. QT-BT/TT 분할 모드에서, BT 분할 모드 또는 TT 분할 모드는 제2-레벨 코딩 트리의 노드에 대해 사용될 수 있기 때문에, 제2-레벨 코딩 트리의 각 노드에 대해 인코더 장치는 4개의 분할 모드(수평 2진 분할, 수직 2진 분할, 수평 3진 분할 및 수직 3진 분할)의 RD 비용을 계산하여 제2-레벨 코딩 트리의 노드에 의해 실제로 사용되는 분할 모드를 결정한다. 결과적으로, 인코딩 복잡도는 비교적 높다.However, for each node, the encoder device generally calculates the RD cost of each splitting mode that can be used by the node, compares the calculated RD costs, and splits the splitting mode corresponding to the minimum RD cost. Determine the mode. In the QT-BT / TT splitting mode, since the BT splitting mode or the TT splitting mode can be used for the nodes of the second-level coding tree, for each node of the second-level coding tree, the encoder apparatus is divided into four splitting modes. RD costs of (horizontal binary division, vertical binary division, horizontal ternary division and vertical ternary division) are calculated to determine the partition mode actually used by the nodes of the second-level coding tree. As a result, the encoding complexity is relatively high.

전술한 문제점을 고려하여, 본 출원의 실시예는 화상 데이터 디코딩 방법을 제공한다. 화상 데이터를 포함하는 비트스트림을 획득한 후, 디코더 장치는 비트스트림을 파싱하여 제1-레벨 코딩 트리의 노드 분할 모드 정보 및 제2-레벨 코딩 트리의 노드 분할 모드 정보를 획득한다. 제2-레벨 코딩 트리의 노드 분할 모드 정보는 제2-레벨 코딩 트리의 제1 노드에 대응하는 분할 모드를 나타내며, 제1 노드에 대응하는 분할 모드는 제1 노드에 대응하는 후보-분할-모드 세트 내의 하나의 모드이고, 제1 노드에 대응하는 후보-모드 세트는 제1 사전 설정 분할 조건에 따라 결정되고, 제1 사전 설정 분할 조건은 제1 노드가 목표 분할 모드에서 분할되도록 제한할지를 나타내는 데 사용되며, 목표 분할 모드는 수평 2진 분할, 수평 3진 분할, 수직 2진 분할 및 수직 3진 분할 중 적어도 하나를 포함한다. 제1 노드에 대응하는 분할 모드가 비 추가 분할이면, 디코더 장치는 비트스트림을 파싱하여 제1 노드의 인코딩 정보를 획득한다. 제1 노드는 하나의 코딩 유닛(CU)에 대응한다. 이러한 방식으로, 디코더 장치는 제1 노드의 인코딩 정보에 기초하여 코딩 유닛을 디코딩 및 재구성하여 화상 데이터에 대응하는 화상을 얻을 수 있다. 본 출원에서, 제1-레벨 코딩 트리의 루트 노드는 CTU에 대응하고, 제1-레벨 코딩 트리의 루트 노드는 제1-레벨 코딩 트리의 루트 노드 및 제1-레벨 코딩 트리의 노드 분할 모드 정보에 대응하는 노드 분할 모드를 사용하여 식별되고, 제2-레벨 코딩 트리의 루트 노드는 제1-레벨 코딩 트리의 리프 노드이다. 본 출원의 이 실시예에서, 제2-레벨 코딩 트리의 제1 노드에 대응하는 분할 모드는 제1 사전 설정 분할 조건에 따라 결정된 분할 모드 중 하나이며, 제1 사전 설정 분할 조건은 제1 노드가 목표 분할 모드에서 분할되는 것을 제한할지를 나타내는 데 사용되고, 목표 분할 모드는 수평 2진 분할, 수평 3진 분할, 수직 2진 분할 및 수직 3진 분할 중 적어도 하나를 포함한다. 제1 사전 설정 분할 조건에 의해 제1 노드에 대응하는 분할 모드의 수량이 감소되어, 디코딩 복잡도를 효과적으로 감소시킨다.In view of the above problem, an embodiment of the present application provides a method of decoding image data. After acquiring the bitstream including the image data, the decoder device parses the bitstream to obtain node dividing mode information of the first-level coding tree and node dividing mode information of the second-level coding tree. The node splitting mode information of the second-level coding tree indicates a splitting mode corresponding to the first node of the second-level coding tree, and the splitting mode corresponding to the first node is a candidate-split-mode corresponding to the first node. One mode in the set, and the candidate-mode set corresponding to the first node is determined according to the first preset splitting condition, wherein the first preset splitting condition indicates whether to limit the first node to split in the target splitting mode. The target division mode includes at least one of horizontal binary division, horizontal ternary division, vertical binary division, and vertical ternary division. If the splitting mode corresponding to the first node is non-additional splitting, the decoder device parses the bitstream to obtain encoding information of the first node. The first node corresponds to one coding unit CU. In this way, the decoder device can decode and reconstruct the coding unit based on the encoding information of the first node to obtain a picture corresponding to the picture data. In the present application, the root node of the first-level coding tree corresponds to the CTU, and the root node of the first-level coding tree is the root node of the first-level coding tree and the node split mode information of the first-level coding tree. The root node of the second-level coding tree is identified using the node splitting mode corresponding to the leaf node of the first-level coding tree. In this embodiment of the present application, the splitting mode corresponding to the first node of the second-level coding tree is one of splitting modes determined according to the first preset splitting condition, and the first preset splitting condition is determined by the first node. Used to indicate whether to limit the division in the target division mode, the target division mode includes at least one of horizontal binary division, horizontal ternary division, vertical binary division, and vertical ternary division. The first preset partitioning condition reduces the quantity of partitioning modes corresponding to the first node, effectively reducing the decoding complexity.

이에 대응하여, 본 출원의 실시예는 화상 데이터 인코딩 방법을 추가로 제공한다. 인코딩될 화상 블록에 대응하는 CTU를 결정한 후, 인코더 장치는 CTU를 제1-레벨 코딩 트리에 대응하는 노드 분할 모드로 분할하여 제1-레벨 코딩 트리의 리프 노드를 획득한다. 제1-레벨 코딩 트리의 루트 노드는 CTU에 대응한다. 인코더 장치는 제2-레벨 코딩 트리의 제1 노드에 대응하는 후보-분할-모드 세트를 결정한다. 제1 노드에 대응하는 후보-분할-모드 세트는 제1 노드가 목표 분할 모드에서 분할되는 것을 제한할지를 나타내는 데 사용되는 제1 사전 설정 분할 조건을 만족하고, 목표 분할 모드는 수평 2진 분할, 수평 3진 분할, 수직 2진 분할 및 수직 3진 분할중 적어도 하나를 포함하며, 제2-레벨 코딩 트리의 루트 노드는 제1-레벨 코딩 트리의 리프 노드이다. 제1 노드에 대응하는 후보-분할-모드 세트가 비 추가 분할을 포함하면, 인코더 장치는 제1 노드에 대응하는 코딩 유닛을 인코딩하여, 코딩 유닛에 대응하는 코딩 유닛 비트스트림을 획득한다. 본 출원의 이 실시예에서의 제1 사전 설정 분할 조건은 제2-레벨 코딩 트리의 노드의 분할 모드를 제한하여, 제2-레벨 코딩 트리의 노드를 분할하는 복잡성을 크게 감소시키고 코딩 복잡성을 감소시킨다.Correspondingly, an embodiment of the present application further provides a method of encoding image data. After determining the CTU corresponding to the picture block to be encoded, the encoder device divides the CTU into the node partitioning mode corresponding to the first-level coding tree to obtain a leaf node of the first-level coding tree. The root node of the first-level coding tree corresponds to the CTU. The encoder apparatus determines a candidate-division-mode set corresponding to the first node of the second-level coding tree. The candidate-division-mode set corresponding to the first node satisfies a first preset partitioning condition used to indicate whether the first node is to be restricted from splitting in the target splitting mode, and the target splitting mode is horizontal binary splitting, horizontally. And at least one of ternary division, vertical binary division, and vertical ternary division, wherein the root node of the second-level coding tree is a leaf node of the first-level coding tree. If the candidate-division-mode set corresponding to the first node includes non-additional division, the encoder device encodes the coding unit corresponding to the first node to obtain a coding unit bitstream corresponding to the coding unit. The first preset splitting condition in this embodiment of the present application limits the splitting mode of the nodes of the second-level coding tree, greatly reducing the complexity of splitting the nodes of the second-level coding tree and reducing the coding complexity. Let's do it.

본 출원의 실시예들에 의해 제공되는 화상 데이터 인코딩 방법 및 화상 데이터 디코딩 방법은 화상 처리 시스템에 모두 적용 가능하다. 도 4는 본 출원의 실시예에 따른 화상 처리 시스템의 개략적인 구조도이다. 도 4에 도시된 바와 같이, 화상 처리 시스템은 인코더 장치(40) 및 디코더 장치(41)를 포함한다. 인코더 장치(40) 및 디코더 장치(41)는 개별적으로 배치되거나 하나의 장치에 통합될 수 있다. 이것은 본 출원의 이 실시예에서 특별히 제한되지 않는다. 예를 들어, 도 1에서, 인코더 장치(40)와 디코더 장치(41)는 별도로 배치된다. 설명의 편의를 위해, 인코더 장치와 디코더 장치가 별도로 배치된 예를 사용하여 이하에서 설명이 제공된다.The image data encoding method and the image data decoding method provided by the embodiments of the present application are applicable to both an image processing system. 4 is a schematic structural diagram of an image processing system according to an embodiment of the present application. As shown in FIG. 4, the image processing system includes an encoder device 40 and a decoder device 41. The encoder device 40 and the decoder device 41 may be individually arranged or integrated into one device. This is not particularly limited in this embodiment of the present application. For example, in FIG. 1, the encoder device 40 and the decoder device 41 are arranged separately. For convenience of description, the description is provided below using an example in which the encoder device and the decoder device are arranged separately.

구체적으로, 비디오를 캡처한 후, 인코더 장치(40)는 비디오의 각 화상에 대응하는 CTU를 제1-레벨 코딩 트리의 분할 모드 및 제2-레벨 코딩 트리의 분할 모드에서 처리한다. 제2-레벨 코딩 트리의 제1 노드에 대응하는 후보-분할-모드 세트가 비 추가 분할을 포함하면, 인코더 장치(40)는 제1 노드에 대응하는 코딩 유닛을 인코딩하여 코딩 유닛에 대응하는 코딩 유닛 비트스트림을 획득한다. 제2-레벨 코딩 트리의 각 노드에 대응하는 코딩 유닛 비트스트림을 획득한 후, 인코더 장치(40)는 CTU 비트스트림을 획득하고, CTU 비트스트림을 디코더 장치(41)에 전송한다. 디코더 장치(41)는 디코더 장치(41)는 제2-레벨 코딩 트리의 노드 분할 모드 정보를 획득하고, 재구성된 화상을 획득하기 위해 제2-레벨 코딩 트리의 노드 분할 모드 정보에 기초하여 대응하는 처리를 수행한다.Specifically, after capturing the video, the encoder device 40 processes the CTU corresponding to each picture of the video in the split mode of the first-level coding tree and the split mode of the second-level coding tree. If the candidate-division-mode set corresponding to the first node of the second-level coding tree includes non-additional partitioning, the encoder device 40 encodes the coding unit corresponding to the first node to code the corresponding coding unit. Acquire a unit bitstream. After obtaining the coding unit bitstream corresponding to each node of the second-level coding tree, the encoder device 40 obtains the CTU bitstream and sends the CTU bitstream to the decoder device 41. The decoder device 41 obtains the node split mode information of the second-level coding tree, and corresponds to the decoder device 41 based on the node split mode information of the second-level coding tree to obtain a reconstructed picture. Perform the process.

인코더 장치(40) 및 디코더 장치(41)는 카메라(예를 들어, 전면 카메라 또는 후면 카메라)를 구비한 다양한 장치일 수 있다. 예를 들어, 인코더 장치 및 디코더 장치는 웨어러블 전자 장치(예를 들어, 스마트 워치) 또는 인스턴트 카메라일 수도 있고; 도 5에 도시된 이동 전화일 수도 있으며, 태블릿 컴퓨터, 데스크톱 컴퓨터, 가상현실 장치, 노트북 컴퓨터, 울트라 모바일 개인용 컴퓨터(Ultra-mobile Personal Computer, UMPC), 개인용 디지털 어시스턴트(Personal Digital Assistant, PDA) 등일 수도 있다. 인코더 장치(40) 및 디코더 장치(41)의 특정 형태는 본 출원의 이 실시예에서 특별히 제한되지 않는다.Encoder device 40 and decoder device 41 may be various devices having a camera (eg, a front camera or a rear camera). For example, the encoder device and decoder device may be a wearable electronic device (eg a smart watch) or an instant camera; The mobile phone shown in FIG. 5 may be a tablet computer, a desktop computer, a virtual reality device, a notebook computer, an ultra-mobile personal computer (UMPC), a personal digital assistant (PDA), or the like. have. The specific form of the encoder device 40 and the decoder device 41 is not particularly limited in this embodiment of the present application.

도 4를 참조하면, 도 5에 도시된 바와 같이, 본 실시예에서 인코더 장치(40) 및 디코더 장치(41)는 모두 이동 전화일 수 있다. 이하에서는 이동 전화를 예로 들어 본 실시예를 구체적으로 설명한다.Referring to FIG. 4, as shown in FIG. 5, in this embodiment, both the encoder device 40 and the decoder device 41 may be mobile phones. Hereinafter, the present embodiment will be described in detail using a mobile phone as an example.

도 5에 도시된 이동 전화는 인코더 장치(40) 및 디코더 장치(41)의 일례일 뿐이며, 이동 전화는 도 5에 도시된 구성 요소보다 많거나 적은 구성 요소를 포함할 수 있으며, 둘 이상의 구성 요소를 결합하거나 상이한 구성 요소 구성을 가질 수 있다는 것을 이해해야 한다. 도 5에 도시된 구성 요소는 하나 이상의 신호 프로세서 및/또는 주문형 집적 회로, 소프트웨어, 또는 하드웨어와 소프트웨어의 조합을 포함하는 하드웨어로 구현될 수 있다.The mobile phone shown in FIG. 5 is only one example of the encoder device 40 and the decoder device 41, and the mobile phone may include more or less components than those shown in FIG. 5, and two or more components. It is to be understood that the combinations or the configurations may have different component configurations. The components shown in FIG. 5 may be implemented in hardware, including one or more signal processors and / or application specific integrated circuits, software, or a combination of hardware and software.

도 5에 도시된 바와 같이, 이동 전화는 무선 주파(Radio Frequency, RF) 회로(50), 메모리(51), 입력 유닛(52), 디스플레이 유닛(53), 센서(54), 오디오 회로(55), 무선 충실도(Wi-Fi) 모듈(56), 프로세서(57), 블루투스 모듈(58) 및 전원(59과 같은 구성 요소를 포함한다. 당업자는 도 5에 도시된 이동 전화의 구조가 이동 전화에 대한 제한을 구성하지 않으며, 이동 전화는 도 5에 도시된 것보다 많거나 적은 구성 요소를 포함할 수 있고, 일부 구성 요소를 결합하거나 상이한 구성 요소 배열을 가질 수 있다는 것을 이해할 수 있다.As shown in FIG. 5, the mobile telephone includes a radio frequency (RF) circuit 50, a memory 51, an input unit 52, a display unit 53, a sensor 54, and an audio circuit 55. ), A wireless fidelity (Wi-Fi) module 56, a processor 57, a Bluetooth module 58, and a power supply 59. Those skilled in the art will appreciate that the structure of the mobile telephone shown in Figure 5 is a mobile telephone. It is to be understood that a mobile telephone may include more or fewer components than shown in FIG. 5, and may combine some components or have a different component arrangement than does not constitute a limitation to.

다음은 도 5를 참조하여 이동 전화의 구성 요소를 구체적으로 설명한다.Next, the components of the mobile telephone will be described in detail with reference to FIG. 5.

RF 회로(50)는 정보 송수신 프로세스 또는 호출 프로세스에서 신호를 송수신하도록 구성될 수 있다. RF 회로(310)는 기지국으로부터 다운 링크 정보를 수신한 다음, 처리를 위해 다운 링크 정보를 프로세서(57)에 송신할 수 있고; 업링크 데이터를 기지국으로 전송하도록 구성된다. RF 회로는 일반적으로 안테나, 적어도 하나의 증폭기, 트랜시버, 커플러, 저잡음 증폭기 및 듀플렉서와 같은 장치를 포함하지만 이에 제한되지는 않는다. 또한, RF 회로(50)는 무선 통신을 통해 네트워크 및 다른 모바일 장치와 추가로 통신할 수 있다. 무선 통신은 이동 통신을 위한 글로벌 시스템, 일반 패킷 무선 서비스, 코드 분할 다중 액세스, 광대역 코드 분할 다중 액세스, 장기 진화, 이메일, 단문 메시지 서비스 등을 포함하지만 이에 제한되지 않는 임의의 통신 표준 또는 프로토콜을 사용할 수 있다.The RF circuit 50 may be configured to transmit and receive signals in an information transceiving process or a calling process. The RF circuit 310 may receive the downlink information from the base station and then transmit the downlink information to the processor 57 for processing; And transmit uplink data to the base station. RF circuitry generally includes, but is not limited to, devices such as antennas, at least one amplifier, transceivers, couplers, low noise amplifiers, and duplexers. In addition, the RF circuit 50 may further communicate with the network and other mobile devices via wireless communication. Wireless communications may use any communication standard or protocol, including but not limited to global systems for mobile communications, general packet radio services, code division multiple access, broadband code division multiple access, long-term evolution, email, short message services, and the like. Can be.

메모리(51)는 소프트웨어 프로그램 및 데이터를 저장하도록 구성될 수 있다. 프로세서(57)는 소프트웨어 프로그램 및 메모리(51)에 저장된 데이터를 실행하여 이동 전화(110)의 다양한 기능을 수행하고 데이터를 처리한다. 메모리(51)는 주로 프로그램 저장 영역 및 데이터 저장 영역을 포함할 수 있다. 프로그램 저장 영역은 운영 체제, 적어도 하나의 기능(예를 들어, 오디오 재생 기능 및 사진 재생 기능)에 필요한 응용 프로그램 등을 저장할 수 있다. 데이터 저장 영역은 이동 전화의 사용에 따라 생성된 데이터(오디오 데이터, 전화 번호부 및 비디오 등)를 저장할 수 있다. 또한, 메모리(51)는 고속 랜덤 액세스 메모리를 포함할 수 있고, 비휘발성 메모리, 예를 들어 적어도 하나의 자기 디스크 저장 장치, 플래시 메모리 장치 또는 다른 휘발성 고체 상태 저장 장치를 더 포함할 수 있다. 이하의 실시예에서, 메모리(51)는 이동 전화를 실행할 수 있는 운영 체제, 예를 들어 Apple이 개발한 iOS® 운영 체제, Google이 개발한 Android® 오픈 소스 운영 체제 및 Microsoft가 개발한 Windows® 운영 체제를 저장한다.The memory 51 may be configured to store software programs and data. The processor 57 executes data stored in the software program and the memory 51 to perform various functions of the mobile phone 110 and process the data. The memory 51 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required for at least one function (for example, an audio reproduction function and a photo reproduction function). The data storage area can store data (audio data, phone book and video, etc.) generated according to the use of the mobile phone. In addition, the memory 51 may include fast random access memory and may further include nonvolatile memory, such as at least one magnetic disk storage device, flash memory device or other volatile solid state storage device. In the following embodiments, the memory 51 is an operating system capable of running a mobile phone, such as an iOS® operating system developed by Apple, an Android® open source operating system developed by Google, and a Windows® operating system developed by Microsoft. Save your system.

입력 유닛(52)(예를 들어, 터치 스크린)은 입력 숫자 또는 문자 정보를 수신하고, 이동 전화의 사용자 설정 및 기능 제어와 관련된 신호 입력을 생성하도록 구성될 수 있다. 구체적으로, 입력 유닛(52)은 터치 스크린(521) 및 다른 입력 장치(522)를 포함할 수 있다. 터치 스크린이라고도 하는 터치 스크린(521)은 터치 스크린(521) 상에서 또는 그 근처에서 사용자에 의해 수행되는 터치 조작(예를 들어, 사용자가 손가락 또는 스타일러스와 같은 임의의 적합한 물체 또는 액세서리를 사용하여 터치 스크린(521) 상에서 또는 그 근처에서 수행되는 조작)을 수집할 수 있고, 사전 설정된 프로그램에 따라 대응하는 연결 장치를 구동한다. 선택적으로, 터치 스크린(521)은 터치 검출 장치 및 터치 제어기(도 5에 도시되지 않음)의 두 가지 구성 요소를 포함할 수 있다. 터치 검출 장치는 사용자의 터치 위치를 검출하고, 터치 조작에 의해 생성된 신호를 검출하고, 그 신호를 터치 제어기에 전달한다. 터치 제어기는 터치 검출 장치로부터 터치 정보를 수신하고, 터치 정보를 접촉 좌표로 변환하고, 접촉 좌표를 프로세서(57)로 전송하고, 프로세서(57)에 의해 전송된 명령을 수신 및 실행할 수 있다. 또한, 터치 스크린(521)은 저항 타입, 용량 타입, 적외선 타입, 표면 탄성파 타입과 같은 다양한 타입으로 구현된다.The input unit 52 (eg, touch screen) may be configured to receive input numeric or text information and to generate signal inputs related to user settings and function control of the mobile phone. In detail, the input unit 52 may include a touch screen 521 and another input device 522. Touch screen 521, also referred to as touch screen, is a touch operation performed by a user on or near touch screen 521 (e.g., the user touches the touch screen using any suitable object or accessory, such as a finger or a stylus). Operation performed on or near 521) to drive the corresponding connection device according to a preset program. Optionally, the touch screen 521 may include two components, a touch detection device and a touch controller (not shown in FIG. 5). The touch detection device detects a touch position of a user, detects a signal generated by a touch operation, and transfers the signal to the touch controller. The touch controller may receive touch information from the touch detection device, convert the touch information into contact coordinates, transmit the contact coordinates to the processor 57, and receive and execute a command sent by the processor 57. In addition, the touch screen 521 may be implemented in various types such as a resistance type, a capacitance type, an infrared type, and a surface acoustic wave type.

디스플레이 유닛(53)(즉, 디스플레이 스크린)은 사용자에 의해 입력된 정보 또는 사용자에게 제공된 정보, 및 이동 전화의 다양한 메뉴의 그래픽 사용자 인터페이스(Graphical User Interface, GUI)를 표시하도록 구성될 수 있다. 디스플레이 유닛(53)은 이동 전화의 전면에 배치된 디스플레이 패널(531)을 포함할 수 있다. 선택적으로, 디스플레이 패널(531)은 액정 디스플레이(Liquid Crystal Display, LCD) 또는 유기 발광 다이오드(Organic Light-Emitting Diode, OLED)와 같은 형태로 구성될 수 있다. 또한, 터치 스크린(521)은 디스플레이 패널(531)을 덮을 수 있다. 터치 스크린(521)에서 또는 터치 스크린 근처에서 터치 동작을 감지한 후, 터치 스크린(131)은 터치 동작을 프로세서(57)로 전달하여 터치 이벤트 유형을 결정한다. 그리고 프로세서(57)는 터치 이벤트 유형에 기초하여 디스플레이 패널(531) 상에 대응하는 시각적 출력을 제공한다. 도 5에서, 터치 스크린(521)과 디스플레이 패널(531)은 이동 전화의 입력 및 출력 기능을 구현하기 위해 별도의 구성 요소로서 사용된다. 그렇지만, 일부 실시예에서, 터치 스크린(521) 및 디스플레이 패널(531)은 이동 전화의 입력 및 출력 기능을 구현하도록 통합될 수 있다.The display unit 53 (ie, display screen) may be configured to display information input by the user or information provided to the user, and a graphical user interface (GUI) of various menus of the mobile phone. The display unit 53 may include a display panel 531 disposed on the front of the mobile phone. Alternatively, the display panel 531 may be configured in the form of a liquid crystal display (LCD) or an organic light-emitting diode (OLED). In addition, the touch screen 521 may cover the display panel 531. After detecting the touch action on or near the touch screen 521, the touch screen 131 transfers the touch action to the processor 57 to determine the touch event type. The processor 57 then provides a corresponding visual output on the display panel 531 based on the touch event type. In FIG. 5, the touch screen 521 and the display panel 531 are used as separate components to implement input and output functions of the mobile phone. However, in some embodiments, touch screen 521 and display panel 531 may be integrated to implement the input and output functions of a mobile phone.

다른 실시예들에서, 압력 센서가 또한 터치 스크린(521) 상에 구성될 수 있다. 이러한 방식으로, 사용자가 터치 스크린에 대한 터치 조작을 수행할 때, 터치 스크린은 터치 조작에 의해 야기된 압력을 추가로 검출할 수 있어, 이동 전화가 터치 조작을 더 정확하게 검출할 수 있다.In other embodiments, a pressure sensor may also be configured on the touch screen 521. In this way, when the user performs a touch operation on the touch screen, the touch screen can further detect the pressure caused by the touch operation, so that the mobile phone can detect the touch operation more accurately.

이동 전화는 적어도 하나의 센서(54), 예를 들어, 광 센서, 모션 센서 및 다른 센서를 더 포함할 수 있다. 구체적으로, 광 센서는 주변 광 센서 및 근접 센서를 포함할 수 있다. 주변 광 센서는 주변 광의 밝기에 기초하여 디스플레이 패널(531)의 휘도를 조정할 수 있다. 근접 센서는 이동 전화의 전면에 배치된다. 이동 전화가 귀로 이동할 때, 이동 전화는 근접 센서의 검출에 기초하여 디스플레이 패널(531)의 전원을 끄고, 이동 전화는 전력을 더 절약할 수 있다. 모션 센서로서, 가속도계 센서는 모든 방향(보통 3개의 축)에서 가속도 크기를 검출할 수 있고, 가속도계 센서가 정지 상태일 때 중력 및 방향을 검출할 수 있고, 이동 전화 자세 애플리케이션(예를 들어, 풍경 모드와 초상화 모드, 관련 게임 및 자력계 자세 교정 간의 화면 전환), 및 진동 인식(예를 들어, 만보계 또는 노크)과 관련된 기능 등을 인식하도록 구성될 수 있다. 자이로스코프, 기압계, 습도계, 온도계 및 적외선 센서와 같은 다른 센서가 이동 전화에 추가로 구성될 수 있다. 자세한 내용은 여기에 설명되어 있지 않는다.The mobile phone may further comprise at least one sensor 54, for example an optical sensor, a motion sensor and another sensor. In detail, the optical sensor may include an ambient light sensor and a proximity sensor. The ambient light sensor may adjust the brightness of the display panel 531 based on the brightness of the ambient light. Proximity sensors are placed in front of the mobile phone. When the mobile phone moves to the ear, the mobile phone turns off the display panel 531 based on the detection of the proximity sensor, and the mobile phone can save more power. As a motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), detect gravity and direction when the accelerometer sensor is stationary, and can be used for mobile phone posture applications (e.g., landscapes). Screen switching between mode and portrait mode, associated game and magnetometer posture correction, and functions associated with vibration recognition (eg, pedometer or knock). Other sensors such as gyroscopes, barometers, hygrometers, thermometers and infrared sensors may be further configured in the mobile phone. Details are not described here.

오디오 회로(55), 스피커(551) 및 마이크로폰(552)은 사용자와 이동 전화 사이의 오디오 인터페이스를 제공할 수 있다. 오디오 회로(55)는 수신된 오디오 데이터로부터 변환된 전기 신호를 스피커(551)에 송신할 수 있고, 스피커(551)는 전기 신호를 출력을 위한 사운드 신호로 변환한다. 또한, 마이크로폰(552)은 수집된 사운드 신호를 전기 신호로 변환하고, 오디오 회로(55)는 전기 신호를 수신한 후 전기 신호를 오디오 데이터로 변환하고, 그런 다음 오디오 데이터를 RF 회로(50)로 출력하여 오디오 데이터를 예를 들어 다른 이동 전화로 보내거나, 추가 처리를 위해 오디오 데이터를 메모리(51)에 출력한다.Audio circuitry 55, speaker 551, and microphone 552 may provide an audio interface between a user and a mobile phone. The audio circuit 55 may transmit an electrical signal converted from the received audio data to the speaker 551, which converts the electrical signal into a sound signal for output. In addition, the microphone 552 converts the collected sound signal into an electrical signal, and the audio circuit 55 receives the electrical signal and then converts the electrical signal into audio data, and then converts the audio data into the RF circuit 50. The audio data is sent to another mobile phone, for example, or the audio data is output to the memory 51 for further processing.

Wi-Fi는 근거리 무선 전송 기술이다. Wi-Fi 모듈(56)을 사용함으로써, 이동 전화는 사용자가 이메일을 송수신하고, 웹 페이지를 탐색하고, 스트리밍 매체에 액세스하는 등을 도울 수 있다. Wi-Fi는 사용자에게 무선 광대역 인터넷 액세스를 제공한다.Wi-Fi is a near field transmission technology. By using the Wi-Fi module 56, the mobile phone can help the user to send and receive email, browse web pages, access streaming media, and the like. Wi-Fi provides users with wireless broadband Internet access.

프로세서(57)는 이동 전화(110)의 제어 센터이며, 다양한 인터페이스 및 회선을 사용하여 이동 전화 전체의 구성 요소에 연결된다. 프로세서(57)는 메모리(51)에 저장된 소프트웨어 프로그램을 실행 또는 실행하고, 메모리(51)에 저장된 데이터를 호출함으로써, 이동 전화의 다양한 기능을 수행하고 데이터를 처리하여 이동 전화에 대한 전반적인 모니터링을 수행한다. 일부 실시예들에서, 프로세서(57)는 하나 이상의 처리 유닛을 포함할 수 있다. 프로세서(57)는 응용 프로세서 및 모뎀 프로세서를 더 통합할 수 있다. 응용 프로세서는 주로 운영 체제, 사용자 인터페이스, 응용 프로그램 등을 처리한다. 모뎀 프로세서는 주로 무선 통신을 처리한다. 모뎀 프로세서는 또한 개별적으로 배치될 수 있는 것으로 이해될 수 있다.Processor 57 is the control center of mobile phone 110 and is connected to the components of the mobile phone as a whole using various interfaces and lines. The processor 57 executes or executes a software program stored in the memory 51 and calls data stored in the memory 51 to perform various functions of the mobile phone and process the data to perform overall monitoring of the mobile phone. do. In some embodiments, processor 57 may include one or more processing units. The processor 57 may further integrate an application processor and a modem processor. Application processors mainly handle operating systems, user interfaces, and applications. The modem processor mainly handles wireless communications. It is to be understood that the modem processor may also be deployed separately.

블루투스 모듈(58)은 블루투스와 같은 근거리 통신 프로토콜을 사용하여 다른 장치와 정보를 교환하도록 구성된다. 예를 들어, 이동 전화는 블루투스 모듈(58)을 사용하여 블루투스 모듈을 가지는 웨어러블 전자 장치(예를 들어, 스마트 워치)에 대한 블루투스 연결을 설정하여 데이터를 교환할 수 있다.The Bluetooth module 58 is configured to exchange information with another device using a short range communication protocol such as Bluetooth. For example, the mobile phone can use the Bluetooth module 58 to establish a Bluetooth connection to a wearable electronic device (eg, smart watch) having a Bluetooth module to exchange data.

이동 전화는 부품에 전력을 공급하는 전원(59)(예를 들어, 배터리)을 더 포함한다. 전원 관리 시스템을 사용하여 전원이 프로세서(57)에 논리적으로 연결되어, 전원 관리 시스템을 사용하여 충전 및 방전 관리 및 전력 소비 관리와 같은 기능을 구현할 수 있다.The mobile phone further includes a power source 59 (eg, a battery) that powers the component. Power can be logically connected to the processor 57 using a power management system, so that functions such as charge and discharge management and power consumption management can be implemented using the power management system.

특정 실시예를 참조하여, 이하에서는 본 출원의 실시예에 따른 화상 데이터 인코딩 방법 및 화상 데이터 디코딩 방법을 상세하게 설명한다.With reference to a specific embodiment, the following describes in detail the image data encoding method and the image data decoding method according to an embodiment of the present application.

도 6은 본 출원의 실시예에 따른 화상 데이터 디코딩 방법의 개략적인 흐름도이다. 디코딩 방법은 도 4에 도시된 화상 처리 시스템에 적용될 수 있다.6 is a schematic flowchart of an image data decoding method according to an embodiment of the present application. The decoding method can be applied to the image processing system shown in FIG.

도 6에 도시된 바와 같이, 화상 데이터 디코딩 방법은 다음 단계들을 포함한다.As shown in Fig. 6, the image data decoding method includes the following steps.

S600. 디코더 장치는 화상 데이터를 포함하는 비트스트림을 획득한다.S600. The decoder device obtains a bitstream containing the image data.

선택적으로, 화상 데이터를 포함하고 디코더 장치에 의해 획득되는 비트스트림은 시퀀스 파라미터 세트(Sequence Parameter Set, SPS), 화상 파라미터 세트(Picture Parameter Set, PPS), 슬라이스 헤더(slice header) 또는 슬라이스 세그먼트 헤더(slice segment header) 및 CTU 비트스트림을 포함한다. CTU 비트스트림은 화상 데이터를 운반한다.Optionally, the bitstream including the picture data and obtained by the decoder device may be a sequence parameter set (SPS), picture parameter set (PPS), slice header or slice segment header ( slice segment header) and a CTU bitstream. The CTU bitstream carries picture data.

S601. 디코더 장치는 디코더 장치에 의해 획득된 비트스트림을 디코딩하여 제1-레벨 코딩 트리의 노드 분할 모드 정보를 획득한다.S601. The decoder device decodes the bitstream obtained by the decoder device to obtain node division mode information of the first-level coding tree.

제1-레벨 코딩 트리의 루트 노드는 하나의 CTU에 대응하고, 제1-레벨 코딩 트리의 루트 노드 및 노드 분할에 대응하는 노드 분할 모드를 사용하여 제1-레벨 코딩 트리의 리프 노드가 식별된다. 제1-레벨 코딩 트리의 모드 정보. 제1-레벨 코딩 트리에 대응하는 노드 분할 모드는 쿼드트리 분할을 포함한다.The root node of the first-level coding tree corresponds to one CTU, and the leaf nodes of the first-level coding tree are identified using the node split mode corresponding to the root node and node splitting of the first-level coding tree. . Mode information of the first-level coding tree. The node splitting mode corresponding to the first-level coding tree includes quadtree splitting.

비트스트림을 획득한 후, 디코더 장치는 비트스트림에서 CTU 비트스트림을 파싱하여 제1-레벨 코딩 트리의 노드 분할 정보를 획득한다.After obtaining the bitstream, the decoder device parses the CTU bitstream from the bitstream to obtain node partitioning information of the first-level coding tree.

선택적으로, 제1-레벨 코딩 트리의 노드 분할 정보를 획득하기 위해 디코더 장치에 의해 CTU 비트스트림을 파싱하는 방법은 다음과 같을 수 있다: 디코더 장치는 CTU를 제1의 루트 노드로서 사용함으로써 CTU 비트스트림의 신택스 요소에 포함되어 있으면서 CTU를 적어도 하나의 CU로 분할하는 방법을 나타내는 데 사용되는 제1 식별자(예를 들어, SplitFlag)를 획득하며, 즉 제1 식별자는 제1-레벨 코딩 트리의 노드 분할 모드 정보를 나타낸다. 예에서, 특정 SplitFlag의 숫자 값이 0이면, 이는 특정 SplitFlag에 대응하는 노드가 제1-레벨 코딩 트리의 리프 노드임을 나타낸다. SplitFlag의 숫자 값이 1이면, 특정 SplitFlag에 대응하는 노드의 4개의 자식 노드의 SplitFlag가 제1-레벨 코딩 트리의 모든 리프 노드에 관한 정보가 결정될 때까지 추가로 획득된다.Optionally, a method for parsing a CTU bitstream by a decoder device to obtain node partitioning information of the first-level coding tree may be as follows: The decoder device may use the CTU bit by using the CTU as the first root node. Obtain a first identifier (eg, SplitFlag) that is included in the syntax element of the stream and used to indicate how to split the CTU into at least one CU, i.e., the first identifier is a node of the first-level coding tree. Indicates split mode information. In an example, if the numeric value of the particular SplitFlag is 0, this indicates that the node corresponding to the particular SplitFlag is a leaf node of the first-level coding tree. If the numerical value of SplitFlag is 1, SplitFlag of four child nodes of the node corresponding to the specific SplitFlag is further obtained until information on all leaf nodes of the first-level coding tree is determined.

노드에 대응하는 화상 영역의 폭이 제1 임계치와 동일하면(예를 들어, 제1 임계치가 8 또는 16이면), 노드는 제1-레벨 코딩 트리의 리프 노드이며, 노드에 대응하는 SplitFlag의 숫자 값은 0이다.If the width of the picture area corresponding to the node is equal to the first threshold (eg, if the first threshold is 8 or 16), then the node is a leaf node of the first-level coding tree, and the number of SplitFlags corresponding to the node. The value is zero.

선택적으로, 제1-레벨 코딩 트리의 노드 분할 정보를 획득하기 위해 디코더 장치에 의해 CTU 비트스트림을 파싱하는 방법은 또한 다음과 같을 수 있다: 디코더 장치는 CTU를 제1-레벨 코딩 트리의 루트 노드로서 사용함으로써 CTU 비트스트림을 파싱하여, CTU 비트스트림의 신택스 요소에 포함되면서 제1-레벨 코딩 트리의 노드를 분할할지를 나타내는 데 사용되는 제2 식별자(예를 들어, NSFlag)를 획득한다. 제2 식별자의 숫자 값이 제1 값(예를 들어, 1)이면, 이는 제2 식별자에 대응하는 노드가 제1-레벨 코딩 트리의 리프 노드이고 또한 제2-레벨 코딩 트리의 리프 노드임을 나타내거나; 또는 제2 식별자의 숫자 값이 제2 값(예를 들어, 0)이면, 신택스 요소에 포함된 제3 식별자(예를 들어, QTSplitFlag)가 획득된다. 제3 식별자의 숫자 값이 제3 값(예를 들어, 0)이면, 제3 식별자에 대응하는 노드는 제1-레벨 코딩 트리의 리프 노드이지만 제2-레벨 코딩 트리의 리프 노드는 아님을 나타내거나; 또는 제3 식별자의 숫자 값이 제4 값(예를 들어, 1) 이면, 제1-레벨 코딩 트리의 모든 리프 노드에 관한 정보가 결정될 때까지 제3 식별자에 대응하는 노드의 4개의 자식 노드의 제2 식별자가 추가로 획득된다.Optionally, the method for parsing the CTU bitstream by the decoder device to obtain node partitioning information of the first-level coding tree may also be as follows: The decoder device may determine the CTU as the root node of the first-level coding tree. Parsing the CTU bitstream to obtain a second identifier (eg, NSFlag) used to indicate whether to split a node of the first-level coding tree while being included in the syntax element of the CTU bitstream. If the numeric value of the second identifier is a first value (eg, 1), this indicates that the node corresponding to the second identifier is a leaf node of the first-level coding tree and also a leaf node of the second-level coding tree. Or; Or if the numeric value of the second identifier is a second value (eg, 0), a third identifier (eg, QTSplitFlag) included in the syntax element is obtained. If the numeric value of the third identifier is a third value (eg, 0), it indicates that the node corresponding to the third identifier is a leaf node of the first-level coding tree but not a leaf node of the second-level coding tree. Or; Or if the numeric value of the third identifier is a fourth value (eg, 1), the four child nodes of the node corresponding to the third identifier until information about all leaf nodes of the first-level coding tree is determined. The second identifier is further obtained.

노드에 대응하는 화상 영역의 폭이 제1 임계치와 동일하면(예를 들어, 제1 임계치가 8 또는 16이면), 노드는 제1-레벨 코딩 트리의 리프 노드이며, 노드에 대응하는 제3 식별자의 숫자 값은 제3 값이다. 또한, 노드에 대응하는 화상 영역의 폭 또는 높이가 제2 임계치보다 크고, 노드에 대응하는 제2 식별자의 값이 제2 값이면, 제3 식별자의 숫자 값은 제3 값이거나; 또는 노드에 대응하는 분할 모드가 QT 분할이면, 노드에 대응하는 제2 식별자의 숫자 값은 제2 값이고, 노드에 대응하는 제3 식별자의 숫자 값은 제3 값이다.If the width of the picture area corresponding to the node is equal to the first threshold (eg, if the first threshold is 8 or 16), then the node is a leaf node of the first-level coding tree and a third identifier corresponding to the node. Is a third value. Further, if the width or height of the image area corresponding to the node is greater than the second threshold and the value of the second identifier corresponding to the node is the second value, the numeric value of the third identifier is the third value; Or if the splitting mode corresponding to the node is QT splitting, the numeric value of the second identifier corresponding to the node is the second value, and the numeric value of the third identifier corresponding to the node is the third value.

일례에서, 본 출원의 이 실시예에서 제1-레벨 코딩 트리의 신택스 테이블이 표 1에 도시되어 있다. 표 1에서, coding_quadtree()는 제1-레벨 코딩 트리의 신택스 구조이고, 제1-레벨 코딩 트리의 노드에 관한 정보를 설명한다.In one example, the syntax table of the first-level coding tree in this embodiment of the present application is shown in Table 1. In Table 1, coding_quadtree () is a syntax structure of the first-level coding tree and describes information about nodes of the first-level coding tree.

표 1에서, CTU를 루트 노드로 사용하여 coding_quadtree(xCtb, yCtb, CtbLog2SizeY, 0)를 파싱하며, 여기서 CtbLog2SizeY는 2를 베이스로 하는 CTU의 측면 길이의 로그이고(여기서는 CTU에 대응하는 화상 영역이 정사각형이다), xCtb 및 yCtb는 노드에 대응하는 화상 영역의 좌측 상단 코너에 대하여, CTU에 대응하는 화상 영역의 좌측 상단 코너의 수평 좌표 오프셋 및 수직 좌표 오프셋을 각각 나타내고; x0 및 y0은 CTU에 대응하는 화상 영역의 좌측 상단 코너에 대하여, 노드에 대응하는 화상 영역의 좌측 상단 코너의 수평 좌표 오프셋 및 수직 좌표 오프셋을 각각 나타내고; log2CbSize는 2를 베이스로 하는 노드에 대응하는 화상 영역의 측면 길이의 로그를 나타내고(CTU에 대응하는 화상 영역이 정사각형이고 제1-레벨 코딩 트리는 쿼드트리 분할만을 사용하고, 제1-레벨 코딩 트리의 모든 노드에 대응하는 화상 영역 역시 사각형이고 등가의 폭과 높이를 가지며, 측면 길이만이 식별될 필요가 있으며, 폭과 높이를 구별할 필요가 없다); cqtDepth는 제1-레벨 코딩 트리에서 노드의 깊이를 나타내고; 조건 condA는 제1-레벨 코딩 트리의 노드 분할 정보 신택스 요소 split_cu_flag가 비트스트림으로부터 파싱될 필요가 있는 조건을 나타낸다. 예를 들어, condA는 "노드에 대응하는 화상 영역이 CTU에 대응하는 화상 영역에 있고, 노드에 대응하는 화상 영역의 측면 길이가 임계치보다 크다"이다. split_cu_flag가 0이면, 노드가 쿼드트리에 기초하여 분할되지 않으며 제1 레벨 코딩 트리의 리프 노드임을 나타낸다. 이 경우, 리프 노드는 제2-레벨 코딩 트리의 신택스 구조 coding_second_tree()에 기초하여 파싱되거나; 또는 split_cu_flag가 1이면 노드가 쿼드트리에 기초하여 분할되는 것을 나타낸다. 이 경우, 노드는 4개의 자식 노드로 분할되고, 각 자식 노드에 대응하는 화상 영역의 측면 길이 및 좌표, 및 제1-레벨 코딩 트리에서 각 자식 노드의 깊이가 결정되고, 자식 노드는 coding_quadtree()에 따라 순차적으로 파싱된다. "X >> Y"는 X를 Y 비트만큼 오른쪽으로 이동함을 나타낸다. "X << Y"는 X를 Y 비트만큼 왼쪽으로 이동함을 나타낸다. ae(v)는 CABAC에 기초한 신택스 요소를 파싱하는 것을 나타낸다.In Table 1, the coding_quadtree (xCtb, yCtb, CtbLog2SizeY, 0) is parsed using CTU as the root node, where CtbLog2SizeY is the log of the side length of the CTU based on 2 (where the image area corresponding to the CTU is square XCtb and yCtb represent horizontal coordinate offsets and vertical coordinate offsets of the upper left corner of the image area corresponding to the CTU, respectively, with respect to the upper left corner of the image area corresponding to the node; x0 and y0 respectively indicate a horizontal coordinate offset and a vertical coordinate offset of the upper left corner of the image area corresponding to the node with respect to the upper left corner of the image area corresponding to the CTU; log2CbSize represents the log of the side length of the picture area corresponding to the node based on 2 (the picture area corresponding to the CTU is square and the first-level coding tree uses only quadtree splitting, The image area corresponding to all nodes is also rectangular and has an equivalent width and height, only the side lengths need to be identified, and there is no need to distinguish the width and height); cqtDepth represents the depth of the node in the first-level coding tree; The condition condA indicates a condition under which the node split information syntax element split_cu_flag of the first-level coding tree needs to be parsed from the bitstream. For example, condA is "the picture area corresponding to the node is in the picture area corresponding to the CTU, and the side length of the picture area corresponding to the node is larger than the threshold value." If split_cu_flag is 0, this indicates that the node is not split based on the quadtree and is a leaf node of the first level coding tree. In this case, the leaf node is parsed based on the syntax structure coding_second_tree () of the second-level coding tree; Alternatively, if split_cu_flag is 1, it indicates that the node is split based on the quadtree. In this case, the node is divided into four child nodes, the side lengths and coordinates of the image region corresponding to each child node, and the depth of each child node in the first-level coding tree are determined, and the child node is coding_quadtree (). Are parsed sequentially. "X >> Y" indicates moving X to the right by Y bits. "X << Y" indicates that X is shifted left by Y bits. ae (v) represents parsing a syntax element based on CABAC.

coding_quadtree(x0, y0, log2CbSize, cqtDepth) {coding_quadtree (x0, y0, log2CbSize, cqtDepth) { 설명자 DescriptorDescriptor Descriptor if( condA ) if (condA) split_cu_flag[ x0 ][ y0 ]split_cu_flag [x0] [y0] ae(v)ae (v) if( split_cu_flag[ x0 ][ y0 ] ) {if (split_cu_flag [x0] [y0]) { x1 = x0 +( 1 <<( log2CbSize -1) )x1 = x0 + (1 << (log2CbSize -1)) y1 = y0 +( 1 <<( log2CbSize -1) )y1 = y0 + (1 << (log2CbSize -1)) coding_quadtree(x0, y0, log2CbSize1, cqtDepth +1)coding_quadtree (x0, y0, log2CbSize1, cqtDepth +1) if( x1 < pic_width_in_luma_samples )if (x1 <pic_width_in_luma_samples) coding_quadtree(x1, y0, log2CbSize1, cqtDepth +1)coding_quadtree (x1, y0, log2CbSize1, cqtDepth +1) if( y1 < pic_height_in_luma_samples )if (y1 <pic_height_in_luma_samples) coding_quadtree(x0, y1, log2CbSize1, cqtDepth +1)coding_quadtree (x0, y1, log2CbSize1, cqtDepth +1) if(x1<pic_width_in_luma_sample&&y1<pic_height_in_luma_samples)if (x1 <pic_width_in_luma_sample && y1 <pic_height_in_luma_samples) coding_quadtree(x1, y1, log2CbSize1, cqtDepth +1)coding_quadtree (x1, y1, log2CbSize1, cqtDepth +1) } else} else coding_second_tree(x0, y0, log2CbSize, log2CbSize, 0, cqtDepth)coding_second_tree (x0, y0, log2CbSize, log2CbSize, 0, cqtDepth) }}

S602. 디코더 장치는 디코더 장치에 의해 획득된 비트스트림을 파싱하여, 제2-레벨 코딩 트리의 노드 분할 모드 정보를 획득한다.S602. The decoder device parses the bitstream obtained by the decoder device to obtain node division mode information of the second-level coding tree.

제2-레벨 코딩 트리의 노드 분할 모드 정보는 제2-레벨 코딩 트리의 제1 노드에 대응하는 분할 모드를 나타내고, 제1 노드에 대응하는 분할 모드는 제1 노드에 대응하는 후보-분할-모드 세트 내의 하나의 모드이며, 제1 노드에 대응하는 후보-분할-모드 세트는 제1 사전 설정 분할 조건에 따라 결정되고, 제1 사전 설정 분할 조건은 제1 노드가 목표 분할 모드에서 분할되는 것을 제한할지를 나타내는 데 사용되며, 목표 분할 모드는 수평 2진 분할(horizontal binary split), 수평 3진 분할(horizontal ternary split), 수직 2진 분할(vertical binary split) 및 수직 3진 분할(vertical ternary split) 중 적어도 하나를 포함한다.Node splitting mode information of the second-level coding tree indicates a splitting mode corresponding to the first node of the second-level coding tree, and a splitting mode corresponding to the first node is a candidate-split-mode corresponding to the first node. One mode in the set, the candidate-division-mode set corresponding to the first node is determined according to the first preset division condition, and the first preset division condition restricts the first node from being split in the target division mode. Used to indicate whether or not to split, the target split mode is one of horizontal binary split, horizontal ternary split, vertical binary split, and vertical ternary split. At least one.

제2-레벨 코딩 트리의 루트 노드는 제1-레벨 코딩 트리의 리프 노드이다. 제2-레벨 코딩 트리에 대응하는 노드 분할 모드는 제1-레벨 코딩 트리에 대응하는 노드 분할 모드와 상이하다. 이 실시예에서, 제2-레벨 코딩 트리에 대응하는 노드 분할 모드는 2진 트리 분할 및 3진 트리 분할을 포함하고, 2진 트리 분할은 수평 2진 분할 및 수직 2진 분할을 포함하고, 3진 트리 분할은 수평 3진 분할 및 수직 3진 분할을 포함한다.The root node of the second-level coding tree is a leaf node of the first-level coding tree. The node splitting mode corresponding to the second-level coding tree is different from the node splitting mode corresponding to the first-level coding tree. In this embodiment, the node splitting mode corresponding to the second-level coding tree includes binary tree splitting and ternary tree splitting, the binary tree splitting comprises horizontal binary splitting and vertical binary splitting, Binary tree splitting includes horizontal ternary splitting and vertical ternary splitting.

제1-레벨 코딩 트리의 노드 분할 모드 정보를 획득한 후, 디코더 장치는 제1-레벨 코딩 트리의 루트 노드에 의해 식별된 제1-레벨 코딩 트리의 리프 노드 및 제1-레벨 코딩 트리의 노드 분할 모드 정보에 대응하는 노드 분할 모드를 제2-레벨 코딩 트리의 루트 노드로서 사용하며; 그리고 CTU 비트스트림을 파싱하여 제2-레벨 코딩 트리의 노드 분할 모드 정보를 획득하도록 구성된다.After acquiring node splitting mode information of the first-level coding tree, the decoder device determines the leaf node of the first-level coding tree and the node of the first-level coding tree identified by the root node of the first-level coding tree. Use the node partitioning mode corresponding to the partitioning mode information as the root node of the second-level coding tree; And parse the CTU bitstream to obtain node division mode information of the second-level coding tree.

선택적으로, 제2-레벨 코딩 트리의 노드 분할 모드 정보를 획득하기 위해 디코더 장치에 의해 CTU 비트스트림을 파싱하는 방법은 다음과 같을 수 있다: 디코더 장치는 CTU 비트스트림을 파싱하여 제2-레벨 코딩 트리의 노드를 분할하는 방법을 나타내는 데 사용되는 제4 식별자(예를 들어, STSplitMode)를 획득하며, 즉 제4 식별자는 제2-레벨 코딩 트리의 노드 분할 모드 정보를 나타낸다.Optionally, a method for parsing a CTU bitstream by a decoder device to obtain node split mode information of a second-level coding tree may be as follows: The decoder device parses the CTU bitstream to make second-level coding. Obtain a fourth identifier (eg, STSplitMode) used to indicate how to split the nodes of the tree, i.e., the fourth identifier represents node split mode information of the second-level coding tree.

제4 식별자가 더 이상의 분할을 나타내지 않으면(예를 들어, STSplitMode가 0과 같음), 제4 식별자에 대응하는 노드가 제2-레벨 코딩 트리의 리프 노드임을 나타낸다.If the fourth identifier does not indicate further splitting (eg, STSplitMode is equal to 0), then the node corresponding to the fourth identifier is a leaf node of the second-level coding tree.

제4 식별자가 추가 분할을 나타내는 경우(예를 들어, STSplitMode가 1, 2, 3 또는 4와 동일함), 이는 제4 식별자에 대응하는 노드가 2개 또는 3개의 자식 노드를 포함하고, 인코더 장치가 제2-레벨 코딩 트리의 모든 리프 노드에 관한 정보가 결정될 때까지, 제4 식별자에 대응하는 노드의 자식 노드의 제4 식별자를 추가로 획득한다. 예를 들어, STSplitMode가 1이면, 이는 제4 식별자에 대응하는 노드에 대응하는 분할 모드가 수평 2진 분할임을 나타내고; STSplitMode가 2이면, 이는 제4 식별자에 대응하는 노드에 대응하는 분할 모드가 수직 2진 분할임을 나타내고; STSplitMode가 3이면, 이는 제4 식별자에 대응하는 노드에 대응하는 분할 모드가 수평 3진 분할임을 나타내거나; 또는 STSplitMode가 4이면, 이는 제4 식별자에 대응하는 노드에 대응하는 분할 모드가 수직 3진 분할임을 나타낸다.If the fourth identifier indicates an additional split (eg, STSplitMode is equal to 1, 2, 3 or 4), this means that the node corresponding to the fourth identifier includes two or three child nodes, and the encoder device Further obtains a fourth identifier of the child node of the node corresponding to the fourth identifier until information about all leaf nodes of the second-level coding tree is determined. For example, if STSplitMode is 1, this indicates that the split mode corresponding to the node corresponding to the fourth identifier is horizontal binary division; If STSplitMode is 2, this indicates that the splitting mode corresponding to the node corresponding to the fourth identifier is vertical binary division; If STSplitMode is 3, this indicates that the split mode corresponding to the node corresponding to the fourth identifier is horizontal ternary split; Or STSplitMode is 4, this indicates that the split mode corresponding to the node corresponding to the fourth identifier is vertical ternary split.

선택적으로, 제2-레벨 코딩 트리의 노드 분할 모드 정보를 획득하기 위해 디코더 장치에 의해 CTU 비트스트림을 파싱하는 방법은 또한 다음과 같을 수 있다: 제2-레벨 코딩 트리의 제1 노드에 대해, 디코더 장치는 먼저 비트스트림을 파싱하고 그런 다음, 제1 사전 설정 분할 조건에 따라, 제1 노드에 대응하는 후보-분할-모드 세트를 결정하고, 그런 다음 제1 노드에 대응하는 후보-분할-모드 세트에 기초하여 비트스트림을 파싱하여 제1 노드에 대응하는 분할 모드 정보를 결정한다.Optionally, the method for parsing the CTU bitstream by the decoder apparatus to obtain node split mode information of the second-level coding tree may also be as follows: For the first node of the second-level coding tree, The decoder apparatus first parses the bitstream and then determines, according to the first preset partitioning condition, the candidate-division-mode set corresponding to the first node, and then the candidate-division-mode corresponding to the first node. The bitstream is parsed based on the set to determine split mode information corresponding to the first node.

여기에서, 제1 사전 설정 분할 조건은 제1 사전 설정 분할 하위 조건, 제2 사전 설정 분할 하위 조건, 제3 사전 설정 분할 하위 조건, 제4 사전 설정 분할 하위 조건, 제5 사전 설정 분할 하위 조건, 제6 사전 설정 분할 하위 조건, 제7 사전 설정 분할 하위 조건, 제8 사전 설정 분할 하위 조건 및 제9 사전 설정 분할 하위 조건 중 적어도 하나를 포함한다.Here, the first preset splitting condition may include a first preset splitting subcondition, a second preset splitting subcondition, a third preset splitting subcondition, a fourth preset splitting subcondition, a fifth preset splitting subcondition, And at least one of a sixth preset split subcondition, a seventh preset split subcondition, an eighth preset split subcondition, and a ninth preset split subcondition.

제1 사전 설정 분할 하위 조건은 다음과 같다: 제1 노드에 대응하는 화상 영역의 폭 대 높이 비가 제1 사전 설정 임계치(예컨대, 8 또는 4)보다 크거나 같은 경우, 제1 노드에 대응하는 후보-분할-모드 세트는 수평 2진 분할 또는 수평 3진 분할을 포함하지 않는다. 제1 노드에 대응하는 화상 영역의 폭 대 높이 비는 제1 노드에 대응하는 화상 영역의 높이에 대한 제1 노드에 대응하는 화상 영역의 폭의 비이다.The first preset division subcondition is as follows: if the width-to-height ratio of the picture area corresponding to the first node is greater than or equal to the first preset threshold (eg, 8 or 4), the candidate corresponding to the first node. The split-mode set does not include horizontal binary division or horizontal ternary division. The width-to-height ratio of the image area corresponding to the first node is the ratio of the width of the image area corresponding to the first node to the height of the image area corresponding to the first node.

제2 사전 설정 분할 하위 조건은 다음과 같다: 제1 노드에 대응하는 화상 영역의 높이 대 폭 비가 제2 사전 설정 임계치(예컨대, 8 또는 4)보다 크거나 같은 경우, 후보- 제1 노드에 대응하는 분할 모드 세트는 수직 2진 분할 또는 수직 3진 분할을 포함하지 않는다. 제1 노드에 대응하는 화상 영역의 높이 대 폭 비는 제1 노드에 대응하는 화상 영역의 폭에 대한 제1 노드에 대응하는 화상 영역의 높이의 비이다.The second preset division sub-condition is as follows: if the height-to-width ratio of the picture area corresponding to the first node is greater than or equal to the second preset threshold (eg, 8 or 4), the candidate-corresponding to the first node. The split mode set does not include vertical binary division or vertical ternary division. The height-to-width ratio of the image area corresponding to the first node is the ratio of the height of the image area corresponding to the first node to the width of the image area corresponding to the first node.

제3 사전 설정 분할 하위 조건은 다음과 같다: 제1 노드가 속하는 제1-레벨 코딩 트리의 리프 노드에 대응하는 화상 영역의 면적에 대한 제1 노드에 대응하는 화상 영역의 면적의 비가 제3 사전 설정된 임계치(예를 들어, 16 또는 8)보다 작거나 같으면, 제1 노드에 대응하는 후보-분할-모드 세트는 수평 2진 분할, 수평 3진 분할, 수직 2진 분할 또는 수직 3진 분할을 포함하지 않는다.The third preset division subcondition is as follows: the ratio of the area of the image area corresponding to the first node to the area of the image area corresponding to the leaf node of the first-level coding tree to which the first node belongs is the third preset If less than or equal to a set threshold (eg, 16 or 8), the candidate-division-mode set corresponding to the first node includes horizontal binary division, horizontal ternary division, vertical binary division, or vertical ternary division. I never do that.

제4 사전 설정 분할 하위 조건은 다음과 같다: 제1 노드에 대응하는 분할 모드가 제1 분할 모드를 포함하고, 제1 노드의 제1 자식 노드의 디코딩이 제1 자식 노드의 제2 자식 노드의 디코딩보다 늦은 경우, 제2 자식 노드에 대응하는 분할 모드는 제1 분할 모드이고, 제1 자식 노드에 대응하는 후보-분할-모드 세트는 제1 분할 모드를 포함하지 않는다. 제1 분할 모드는 수평 2진 분할 또는 수직 2진 분할이다.The fourth preset partitioning subcondition is as follows: the partitioning mode corresponding to the first node includes the first partitioning mode, and decoding of the first child node of the first node is performed by the second child node of the first child node. If it is later than decoding, the splitting mode corresponding to the second child node is the first splitting mode, and the candidate-split-mode set corresponding to the first child node does not include the first splitting mode. The first division mode is horizontal binary division or vertical binary division.

예를 들어, 제1 노드 및 제2 자식 노드에 대응하는 분할 모드가 모두 수평 3진 분할이면, 제1 자식 노드에 대응하는 후보-모드 세트는 수평 3진 분할을 포함하지 않으며, 즉 수평 3진 분할 모드의 제1 자식 노드를 분할하는 것은 허용되지 않는다.For example, if the split mode corresponding to the first node and the second child node are both horizontal ternary splits, then the candidate-mode set corresponding to the first child node does not include the horizontal ternary split, i.e., the horizontal ternary. Splitting a first child node in split mode is not allowed.

제5 미리 설정된 분할 하위 조건은 다음과 같다: 제1 노드에 대응하는 분할 모드가 제2 분할 모드를 포함하고, 제1 노드의 제1 자식 노드에 대응하는 화상 영역의 면적이 제1 노드의 3개의 자식 노드에 대응하는 화상 영역의 면적 중에서 가장 작으면, 제1 자식 노드에 대응하는 후보-분할-모드 세트는 제2 분할 모드를 포함하지 않는다. 제2 분할 모드는 수평 3진 분할 또는 수직 3진 분할이다.The fifth preset division sub-condition is as follows: the division mode corresponding to the first node includes the second division mode, and the area of the image area corresponding to the first child node of the first node is 3 of the first node. If the smallest of the areas of the image area corresponding to the child nodes, the candidate-division-mode set corresponding to the first child node does not include the second division mode. The second division mode is horizontal ternary division or vertical ternary division.

예를 들어, 제1 노드에 대응하는 분할 모드가 수평 3진 분할이면, 제1 자식 노드에 대응하는 후보-모드 세트는 수평 3진 분할을 포함하지 않으며, 즉, 수평 3진 분할 모드에서 제1 자식 노드를 분할하는 것은 허용되지 않는다.For example, if the splitting mode corresponding to the first node is a horizontal ternary split, the candidate-mode set corresponding to the first child node does not include the horizontal ternary split, that is, the first in the horizontal ternary split mode. Splitting child nodes is not allowed.

제6 미리 설정된 분할 하위 조건은 다음과 같다: 제1 노드에 대응하는 분할 모드가 제2 분할 모드를 포함하고, 제1 노드의 제1 자식 노드에 대응하는 화상 영역의 면적이 제1 노드의 3개의 자식 노드에 대응하는 화상 영역의 면적 중에서 가장 크면, 제1 자식 노드에 대응하는 후보-분할-모드 세트는 제2 분할 모드를 포함하지 않는다.The sixth preset division sub-condition is as follows: the division mode corresponding to the first node includes the second division mode, and the area of the image area corresponding to the first child node of the first node is 3 of the first node. If the largest of the areas of the image area corresponding to the child nodes, the candidate-division-mode set corresponding to the first child node does not include the second division mode.

제7 사전 설정 분할 하위 조건은 다음과 같다: 제1 노드에 대응하는 화상 영역의 폭 대 최소 CU의 사전 설정 측 길이의 비가 제3 사전 설정 임계치보다 작거나 같으면, 제1 노드에 대응하는 후보-분할-모드 세트는 수직 3진 분할을 포함하지 않거나; 또는 제1 노드에 대응하는 화상 영역의 높이 대 최소 CU의 사전 설정된 측 길이의 비가 제3 사전 설정 임계치보다 작거나 같으면, 제1 노드에 대응하는 후보-분할-모드 세트는 수평 3진 분할을 포함한다.The seventh preset division sub-condition is as follows: if the ratio of the width of the picture area corresponding to the first node to the preset side length of the minimum CU is less than or equal to the third preset threshold, the candidate corresponding to the first node; The split-mode set does not include vertical ternary splits; Or if the ratio of the height of the picture area corresponding to the first node to the preset side length of the minimum CU is less than or equal to the third preset threshold, the candidate-division-mode set corresponding to the first node includes horizontal ternary partitioning. do.

제8 사전 설정 분할 하위 조건은 다음과 같다: 제1 노드에 대응하는 화상 영역의 면적이 제4 사전 설정 임계치 이하이면, 제1 노드에 대응하는 후보-분할-모드 세트는 수평 2진 분할, 수평 3진 분할, 수직 2진 분할 또는 수직 3진 분할을 포함하지 않는다.The eighth preset partitioning subcondition is as follows: if the area of the picture area corresponding to the first node is equal to or less than the fourth preset threshold, the candidate-division-mode set corresponding to the first node is horizontal binary division, horizontal; It does not include ternary splits, vertical binary splits or vertical ternary splits.

제9 사전 설정 분할 하위 조건은 다음과 같다: 제1 노드에 대응하는 분할 모드가 제2 분할 모드이고, 제1 노드의 제1 자식 노드에 대응하는 화상 영역의 면적이 제1 노드의 3개의 자식 노드에 대응하는 화상 영역의 면적 중에서 가장 크면, 제1 자식 노드에 대응하는 후보-분할-모드 세트는 제1 분할 모드를 포함하지 않는다. 제1 분할 모드의 분할 방향은 제2 분할 모드의 분할 방향과 동일하다.The ninth preset divisional subcondition is as follows: the division mode corresponding to the first node is the second division mode, and the area of the image area corresponding to the first child node of the first node is three children of the first node. If the largest of the areas of the image area corresponding to the node is the largest, the candidate-division-mode set corresponding to the first child node does not include the first division mode. The division direction of the first division mode is the same as the division direction of the second division mode.

예를 들어, 제1 노드에 대응하는 분할 모드가 수평 3진 분할이고, 제1 노드의 제1 자식 노드에 대응하는 화상 영역의 면적이 제1 노드의 3개의 자식 노드에 대응하는 화상 영역의 면적 중에서 가장 큰 경우, 제1 자식 노드에 대응하는 후보-모드 세트는 수평 2진 분할을 포함하지 않으며, 즉, 수평 2진 분할 모드에서 제1 자식 노드를 분할하는 것은 허용되지 않는다.For example, the division mode corresponding to the first node is horizontal ternary division, and the area of the image area corresponding to the first child node of the first node is the area of the image area corresponding to the three child nodes of the first node. In the largest case, the candidate-mode set corresponding to the first child node does not include horizontal binary division, that is, splitting the first child node in the horizontal binary division mode is not allowed.

예를 들어, 본 출원의 이 실시예에서 제1 사전 설정 분할 조건은 제3 사전 설정 분할 하위 조건을 포함할 수도 있고; 제4 사전 설정 분할 하위 조건을 포함할 수도 있고, 제5 사전 설정 분할 하위 조건을 포함할 수도 있고; 제1 사전 설정 분할 하위 조건 및 제2 사전 설정 분할 하위 조건을 포함할 수도 있고; 제1 사전 설정 분할 하위 조건, 제2 사전 설정 분할 하위 조건, 제4 사전 설정 분할 하위 조건, 제6 사전 설정 분할 하위 조건 및 제7 사전 설정 분할 하위 조건을 포함할 수도 있고; 제1 사전 설정 분할 하위 조건, 제2 사전 설정 분할 하위 조건, 제3 사전 설정 분할 하위 조건 및 제7 사전 설정 분할 하위 조건을 포함할 수도 있고; 제1 사전 설정 분할 하위 조건, 제2 사전 설정 분할 하위 조건, 제3 사전 설정 분할 하위 조건, 제5 사전 설정 분할 하위 조건 및 제7 사전 설정 분할 하위 조건을 포함할 수도 있고; 제5 사전 설정 분할 하위 조건 및 제7 사전 설정 분할 하위 조건을 포함할 수도 있고; 제3 사전 설정 분할 하위 조건, 제4 사전 설정 분할 하위 조건 및 제7 사전 설정 분할 하위 조건을 포함할 수도 있고; 제1 사전 설정 분할 하위 조건, 제2 사전 설정 분할 하위 조건, 제4 사전 설정 분할 하위 조건 및 제5 사전 설정 분할 하위 조건을 포함할 수도 있다.For example, in this embodiment of the present application, the first preset division condition may include a third preset division sub condition; May include a fourth preset split subcondition, or may include a fifth preset split subcondition; May include a first preset split subcondition and a second preset split subcondition; May include a first preset split subcondition, a second preset split subcondition, a fourth preset split subcondition, a sixth preset split subcondition, and a seventh preset split subcondition; May include a first preset split subcondition, a second preset split subcondition, a third preset split subcondition, and a seventh preset split subcondition; May include a first preset split subcondition, a second preset split subcondition, a third preset split subcondition, a fifth preset split subcondition, and a seventh preset split subcondition; May include a fifth preset split subcondition and a seventh preset split subcondition; May include a third preset split subcondition, a fourth preset split subcondition, and a seventh preset split subcondition; It may also include a first preset split subcondition, a second preset split subcondition, a fourth preset split subcondition, and a fifth preset split subcondition.

확실히, 본 출원의 이 실시예에서 제1 사전 설정 분할 조건은 대안으로 전술한 사전 설정 분할 하위 조건의 다른 조합일 수 있다. 세부 사항은 여기서 다시 설명하지 않는다.Certainly, in this embodiment of the present application, the first preset partitioning condition may alternatively be another combination of the aforementioned preset partitioning subconditions. Details are not described here again.

선택적으로, 인코더 장치는 화상 데이터를 포함하는 비트스트림에서의 SPS, PPS 또는 슬라이스 헤더로부터 제1 사전 설정 임계치, 제2 사전 설정 임계치, 제3 사전 설정 임계치, 제4 사전 설정 임계치, 및 최소 CU의 사전 설정 측면 길이를 획득할 수 있다. 확실히, 제1 사전 설정 임계치, 제2 사전 설정 임계치, 제3 사전 설정 임계치, 제4 사전 설정 임계치, 및 최소 CU의 사전 설정 측 길이는 대안으로 화상 처리 시스템에 의해 사전 설정될 수 있다.Optionally, the encoder device is configured to determine a first preset threshold, a second preset threshold, a third preset threshold, a fourth preset threshold, and a minimum CU from the SPS, PPS, or slice header in the bitstream containing the picture data. A preset side length can be obtained. Certainly, the first preset threshold, the second preset threshold, the third preset threshold, the fourth preset threshold, and the preset side length of the minimum CU may alternatively be preset by the image processing system.

또한, 본 출원의 이 실시예에서의 제1 사전 설정 분할 조건은 제1 사전 설정 분할 하위 조건 내지 제9 사전 설정 분할 하위 조건에 추가하여, 다른 조건을 포함할 수도 있다. 이것은 본 출원의 이 실시예에서 특별히 제한되지 않는다.Further, the first preset division condition in this embodiment of the present application may include other conditions in addition to the first preset division sub condition to the ninth preset division sub condition. This is not particularly limited in this embodiment of the present application.

예를 들어, 제1 사전 설정 분할 조건은 다음 조건 중 어느 하나를 더 포함한다:For example, the first preset splitting condition further includes any of the following conditions:

A. 제2-레벨 코딩 트리에서 제1 노드의 깊이가 제2-레벨 코딩 트리에서 미리 설정된 최대 깊이와 동일한 경우(예를 들어, 제2-레벨 코딩 트리에서 사전 설정된 최대 깊이는 3, 4, 또는 2이다), 제1 노드에 대응하는 후보-분할-모드 세트는 추가 분할 없을 포함한다.A. If the depth of the first node in the second-level coding tree is equal to the maximum depth preset in the second-level coding tree (eg, the maximum depth preset in the second-level coding tree is 3, 4, Or 2), the candidate-division-mode set corresponding to the first node includes no further partitioning.

인코더 장치는 화상 데이터를 포함하는 비트스트림 내의 SPS, PPS, 또는 슬라이스 헤더로부터 미리 설정된 최대 제2-레벨 코딩 트리 레벨을 획득할 수 있다.The encoder apparatus may obtain a preset maximum second-level coding tree level from the SPS, PPS, or slice header in the bitstream including the picture data.

B. 제1 노드에 대응하는 화상 영역의 폭이 미리 설정된 최소 CU의 폭과 동일하면, 제1 노드에 대응하는 후보-분할-모드 세트는 수평 2진 분할을 포함하지 않는다.B. If the width of the picture area corresponding to the first node is equal to the width of the preset minimum CU, the candidate-division-mode set corresponding to the first node does not include horizontal binary division.

C. 제1 노드에 대응하는 화상 영역의 폭 또는 높이가 제5 사전 설정된 임계치(예를 들어, 64 또는 128)보다 큰 경우, 제1 노드에 대응하는 후보-분할-모드 세트는 비 추가 분할을 포함한다.C. If the width or height of the picture area corresponding to the first node is greater than the fifth preset threshold (eg, 64 or 128), the candidate-division-mode set corresponding to the first node may cause non-additional division. Include.

D. 제1 노드에 대응하는 화상 영역의 폭 대 최소 CU의 사전 설정된 측 길이의 비가 제6 사전 설정 임계치보다 작은 경우, 제1 노드에 대응하는 후보-분할-모드 세트는 수직 3진 분할을 포함하지 않거나; 또는 제1 노드에 대응하는 화상 영역의 높이 대 최소 CU의 사전 설정된 측 길이의 비가 제7 사전 설정 임계치보다 작은 경우, 제1 노드에 대응하는 후보-분할-모드 세트는 수평 3진 분할을 포함하지 않는다.D. When the ratio of the width of the picture area corresponding to the first node to the preset side length of the minimum CU is smaller than the sixth preset threshold, the candidate-division-mode set corresponding to the first node includes vertical ternary partitioning. Do not; Or if the ratio of the height of the picture area corresponding to the first node to the preset side length of the minimum CU is smaller than the seventh preset threshold, the candidate-division-mode set corresponding to the first node does not include horizontal ternary partitioning. Do not.

전술한 설명으로부터, 본 출원의 이 실시예에서의 제4 식별자는 제2-레벨 코딩 트리의 노드를 분할하는 방법을 나타내는 데 사용된다는 것을 알 수 있다. 선택적으로, 제4 식별자는 노드를 더 분할할지를 나타내는 데 사용되는 제1 정보, 노드가 분할되는 방향을 나타내는 데 사용되는 제2 정보 및 노드가 분할되는 모드를 나타내는 데 사용되는 제3 정보를 포함할 수 있다.From the foregoing description, it can be seen that the fourth identifier in this embodiment of the present application is used to indicate a method of partitioning nodes of the second-level coding tree. Optionally, the fourth identifier may include first information used to indicate whether to split the node further, second information used to indicate the direction in which the node is split, and third information used to indicate the mode in which the node is split. Can be.

예를 들어, 제1 정보는 STSplitFlag로 표현된다. STSplitFlag의 숫자 값이 0이면 STSplitFlag에 해당하는 노드가 더 이상 분할되지 않음을 나타내거나; 또는 STSplitFlag의 숫자 값이 1과 같으면 STSplitFlag에 해당하는 노드가 더 분할됨을 나타낸다. 제2 정보는 STSplitDir로 표시된다. STSplitDir의 숫자 값이 0과 같으면 STSplitDir에 해당하는 노드가 수평 방향으로 분할됨을 나타내거나; 또는 STSplitDir의 숫자 값이 1이면 STSplitDir에 해당하는 노드가 수직 방향으로 분할됨을 나타낸다. 제3 정보는 STSplitType으로 표시된다. STSplitType의 숫자 값이 0이면 STSplitType에 해당하는 노드에 해당하는 분할 모드가 2진 트리 분할임을 나타낸다. STSplitDir의 숫자 값이 1이면 STSplitType에 해당하는 노드에 해당하는 분할 모드가 3진 트리 분할임을 나타낸다.For example, the first information is represented by STSplitFlag. A numeric value of STSplitFlag indicates that a node corresponding to STSplitFlag is no longer split; Alternatively, if the numerical value of the STSplitFlag is equal to 1, it indicates that the node corresponding to the STSplitFlag is further split. The second information is represented by STSplitDir. If the numerical value of STSplitDir is equal to 0, it indicates that the node corresponding to STSplitDir is split in the horizontal direction; Alternatively, if the numeric value of STSplitDir is 1, it indicates that the node corresponding to STSplitDir is split vertically. The third information is represented by STSplitType. If the numeric value of STSplitType is 0, it indicates that the split mode corresponding to the node corresponding to STSplitType is binary tree split. A numeric value of STSplitDir of 1 indicates that the split mode corresponding to the node corresponding to STSplitType is a ternary tree split.

선택적으로, 본 출원의 이 실시예에서 제4 식별자는 대안으로: 2진 트리 분할 모드에서 제4 식별자에 대응하는 노드를 분할할지를 나타내는 데 사용되는 2진 트리 분할 식별자; 3진 트리 분할 모드에서, 제4 식별자에 대응하는 노드를 분할할지를 나타내는 데 사용되는 3진 트리 분할 식별자; 및 제2 정보를 포함한다(분할 방향 식별자는 전술한 예에서의 분할 방향 식별자와 동일하다).Optionally, in this embodiment of the present application, the fourth identifier may alternatively be: a binary tree splitting identifier used to indicate whether to split a node corresponding to the fourth identifier in binary tree splitting mode; In a ternary tree splitting mode, a ternary tree splitting identifier used to indicate whether to split a node corresponding to the fourth identifier; And second information (the division direction identifier is the same as the division direction identifier in the above-described example).

예를 들어, 2진 트리 분할 식별자는 BTFlag로 표시된다. BTFlag의 숫자 값이 0이면, 이는 제4 식별자에 대응하는 노드에 대응하는 분할 모드가 BT 분할이 아님을 나타내거나; 또는 BTFlag의 숫자 값이 1이면, 이는 제4 식별자에 대응하는 노드에 대응하는 분할 모드가 BT 분할임을 나타낸다. 3진 트리 분할 식별자는 TTFlag이다. TTFlag의 숫자 값이 0이면, 이는 제4 식별자에 대응하는 노드에 대응하는 분할 모드가 TT 분할이 아님을 나타내거나; 또는 TTFlag의 숫자 값이 1이면, 이는 제4 식별자에 대응하는 노드에 대응하는 분할 모드가 TT 분할임을 나타낸다.For example, the binary tree split identifier is represented by BTFlag. If the numeric value of the BTFlag is 0, it indicates that the partitioning mode corresponding to the node corresponding to the fourth identifier is not a BT partitioning; Or, if the numeric value of the BTFlag is 1, this indicates that the split mode corresponding to the node corresponding to the fourth identifier is BT split. The ternary tree partition identifier is TTFlag. If the numeric value of TTFlag is 0, it indicates that the partitioning mode corresponding to the node corresponding to the fourth identifier is not TT partitioning; Alternatively, if the numeric value of the TTFlag is 1, this indicates that the partition mode corresponding to the node corresponding to the fourth identifier is TT partition.

확실히, 본 출원의 이 실시예에서 제4 식별자는 대안으로 제1 정보, 제2 정보 및 제3 정보의 임의의 조합을 포함할 수 있다. 이것은 본 출원의 이 실시예에서 특별히 제한되지 않는다.Certainly, in this embodiment of the present application, the fourth identifier may alternatively include any combination of the first information, the second information, and the third information. This is not particularly limited in this embodiment of the present application.

제2-레벨 코딩 트리에 대응하는 분할 모드가 2진 트리 분할 및 3진 트리 분할 이외의 분할 모드를 더 포함하면, 제4 식별자는 더 많은 정보를 포함할 수 있다는 것이 쉽게 이해된다.It is readily understood that if the splitting mode corresponding to the second-level coding tree further includes splitting modes other than binary tree splitting and ternary tree splitting, then the fourth identifier may include more information.

제4 식별자는 제1 정보, 제2 정보 및 제3 정보를 포함할 수 있다. 따라서, 제1 노드에 대응하는 후보-분할-모드 세트를 결정한 후, 디코더 장치는 제1 노드에 대응하는 후보-분할-모드 세트에 기초하여 제1 정보, 제2 정보 및 제3 정보를 결정한다. 이 경우, 제1 노드에 대응하는 분할 모드 정보가 결정될 수 있다.The fourth identifier may include first information, second information, and third information. Thus, after determining the candidate-division-mode set corresponding to the first node, the decoder device determines the first information, the second information, and the third information based on the candidate-division-mode set corresponding to the first node. . In this case, split mode information corresponding to the first node may be determined.

구체적으로, 디코더 장치는 먼저 제1 사전 설정 분할 조건에 따라 제1 노드의 후보-분할-모드 세트를 결정한다. 그런 다음, 디코더 장치는 제1 노드의 후보-분할-모드 세트에 기초하여, 제1 정보, 제2 정보 및 제3 정보가 비트스트림으로부터 파싱될 수 있는지를 결정한다. 제1 정보, 제2 정보 및 제3 정보 중 어느 하나가 비트스트림으로부터 파싱될 수 없는 경우, 정보의 숫자 값은 시스템 디폴트 값이다.Specifically, the decoder device first determines a candidate-division-mode set of the first node according to the first preset division condition. The decoder apparatus then determines whether the first information, the second information, and the third information can be parsed from the bitstream based on the candidate-division-mode set of the first node. If any of the first information, second information and third information cannot be parsed from the bitstream, the numeric value of the information is a system default value.

예를 들어, 제1 정보는 STSplitFlag로 표현되고, 제2 정보는 STSplitDir로 표현되고, 제3 정보는 STSplitType으로 표현된다. 제1 노드에 대응하는 후보-분할-모드 세트가 수평 2진 분할, 수평 3진 분할, 수직 2진 분할 또는 수직 3진 분할을 포함하지 않으면, 제1 노드에 대응하는 분할 모드는 더 이상 분할되지 않으며, 즉, 비트스트림에서 STSplitFlag, STSplitDir 및 STSplitType을 파싱할 필요가 없으며 STSplitFlag, STSplitDir 및 STSplitType의 숫자 값은 모두 0이다. 제1 노드에 대응하는 후보-분할-모드 세트기 수평 2진 분할, 수평 3진 분할, 수직 2진 분할 및 수직 3진 분할 중 적어도 하나를 포함하면, 디코더 장치는 먼저 비트스트림으로부터 STSplitFlag를 파싱한다. STSplitFlag의 숫자 값이 0이면 STSplitDir 및 STSplitType의 숫자 값은 디폴트에 의해 0이거나; 또는 STSplitFlag의 숫자 값이 1이면 STSplitDir이 추가로 파싱되고(STSplitDir의 파싱 모드는 제1 노드에 대응하는 후보-분할-모드 세트와 관련된다), STSplitType이 STSplitDir의 숫자 값에 기초하여 파싱된다(STSplitType의 파싱 모드는 제1 노드에 대응하는 후보-분할-모드 세트와 관련된다). 제1 노드에 대응하는 후보-분할-모드 세트가 수평 2진 분할, 수평 3진 분할, 수직 2진 분할 및 수직 3진 분할을 포함하면, 디코더 장치는 비트스트림으로부터 순차적으로 STSplitDir 및 STSplitType을 파싱하거나; 또는 제1 노드에 대응하는 후보-분할-모드 세트가 1 내지 3개의 분할 모드를 포함하는 경우, STSplitDir 및 STSplitType 중 적어도 하나는 비트스트림으로부터 파싱되는 대신에 직접 획득될 수 있다.For example, the first information is represented by STSplitFlag, the second information is represented by STSplitDir, and the third information is represented by STSplitType. If the candidate-division-mode set corresponding to the first node does not include horizontal binary division, horizontal ternary division, vertical binary division, or vertical ternary division, the division mode corresponding to the first node is no longer divided. That is, it is not necessary to parse STSplitFlag, STSplitDir and STSplitType in the bitstream, and the numeric values of STSplitFlag, STSplitDir and STSplitType are all zero. If the candidate-division-mode setter corresponding to the first node includes at least one of horizontal binary division, horizontal ternary division, vertical binary division, and vertical ternary division, the decoder device first parses the STSplitFlag from the bitstream. . If the numeric value of STSplitFlag is 0, the numeric values of STSplitDir and STSplitType are 0 by default; Or if the numeric value of the STSplitFlag is 1, the STSplitDir is further parsed (the parsing mode of the STSplitDir is associated with the candidate-split-mode set corresponding to the first node), and the STSplitType is parsed based on the numeric value of the STSplitDir (STSplitType The parsing mode of is associated with the candidate-division-mode set corresponding to the first node). If the candidate-division-mode set corresponding to the first node includes horizontal binary division, horizontal ternary division, vertical binary division, and vertical ternary division, the decoder device parses the STSplitDir and STSplitType sequentially from the bitstream, or ; Or when the candidate-division-mode set corresponding to the first node includes 1 to 3 splitting modes, at least one of STSplitDir and STSplitType may be obtained directly instead of being parsed from the bitstream.

일례에서, 표 2는 본 실시예에서 제1 노드에 대응하는 후보-분할-모드 세트의 모든 가능한 경우를 나타내고, 각 경우에 대응하는 제1 정보, 제2 정보 및 제3 정보를 파싱하는 방법을 도시한다. 표 2에서, 수직 2진 분할(Vertical Binary Tree, VBT)의 숫자 값이 0이면, 이는 제1 노드에 대응하는 후보-분할-모드 세트가 수직 2진 분할을 포함하지 않음을 나타내고; VBT의 숫자 값이 1이면, 이는 제1 노드에 대응하는 후보-분할-모드 세트가 수직 2진 분할을 포함함을 나타내고; 수평 2진 분할(Horizontal Binary Tree, HBT)의 숫자 값이 0이면, 제1 노드에 대응하는 후보-분할-모드 세트가 수평 2진 분할을 포함하지 않음을 나타내고; HBT의 숫자 값이 1이면, 이는 제1 노드에 대응하는 후보-분할-모드 세트가 수평 2진 분할을 포함함을 나타내고; 수직 3진 분할(Vertical Ternary Tree, VTT)의 숫자 값이 0이면, 제1 노드에 대응하는 후보-분할-모드 세트가 수직 3진 분할을 포함하지 않음을 나타내고; VTT의 값이 1이면, 제1 노드에 대응하는 후보-분할-모드 세트가 수직 3진 분할을 포함함을 나타내고; 수평 3진 분할(Horizontal Binary Tree, HTT)의 숫자 값이 0이면, 제1 노드에 대응하는 후보-분할-모드 세트가 수평 3진 분할을 포함하지 않음을 나타내거나; 또는 HTT의 숫자 값이 1이면, 제1 노드에 대응하는 후보-분할-모드 세트가 수평 3진 분할을 포함한다는 것을 나타낸다. a, b 및 c는 각각 STSplitFlag, STSplitDir 및 STSplitType이 비트스트림으로부터 파싱됨을 나타내고; NA(x)는 해당 비트를 기본값 x로 설정하는 것을 나타낸다. 파싱을 통해 STSplitFlag가 0임을 알게 되면, STSplitDir 및 STSplitType의 숫자 값은 디폴트에 의해 0이다. 파싱을 통해 STSplitFlag가 1이라는 것을 알게 되면, STSplitDir을 먼저 파싱한 다음 숫자 값 STSplitDir을 기준으로 STSplitType을 파싱한다. 심볼 !은 논리 NOT 연산이고, "exp? m : n" 표현식은 exp가 true이면 m이 사용됨을 나타내며, 그렇지 않으면 n이 사용된다. 예를 들어, STSplitDir? c : NA(1)은 STSplitDir의 숫자 값이 0이 아닌 경우(즉, STSplitDir의 숫자 값은 1과 같다. 이것은 본 실시예에서 STSplitDir의 숫자 값이 0 또는 1이기 때문이다), STSplitType이 비트스트림으로부터 획득되고; 그렇지 않으면 STSplitType의 숫자 값은 디폴트에 의해 1이다. 다른 예에서, !STSplitDir? NA(0):NA(1)은 STSplitDir의 숫자 값이 0과 같으면, STSplitType의 숫자 값이 디폴트에 의해 0임을 나타내고, 그렇지 않은 경우 STSplitType의 숫자 값은 디폴트에 의해 1이다.In one example, Table 2 shows all possible cases of the candidate-division-mode set corresponding to the first node in this embodiment, and how to parse the first information, the second information and the third information corresponding to each case. Illustrated. In Table 2, if the numeric value of the Vertical Binary Tree (VBT) is 0, this indicates that the candidate-division-mode set corresponding to the first node does not include the vertical binary division; If the numeric value of the VBT is 1, this indicates that the candidate-division-mode set corresponding to the first node includes vertical binary division; If the numeric value of the Horizontal Binary Tree (HBT) is 0, it indicates that the candidate-division-mode set corresponding to the first node does not include the horizontal binary division; If the numeric value of the HBT is 1, this indicates that the candidate-division-mode set corresponding to the first node includes horizontal binary division; If the numeric value of the Vertical Ternary Tree (VTT) is 0, it indicates that the candidate-division-mode set corresponding to the first node does not include the vertical ternary partition; If the value of VTT is 1, it indicates that the candidate-division-mode set corresponding to the first node includes vertical ternary division; If the numeric value of the horizontal binary tree (HTT) is 0, it indicates that the candidate-division-mode set corresponding to the first node does not include the horizontal ternary partition; Or if the numeric value of the HTT is 1, it indicates that the candidate-division-mode set corresponding to the first node includes horizontal ternary division. a, b and c indicate that STSplitFlag, STSplitDir and STSplitType are parsed from the bitstream, respectively; NA (x) indicates setting the corresponding bit to the default value x. If parsing finds that STSplitFlag is 0, then the numeric values of STSplitDir and STSplitType are 0 by default. When parsing finds that STSplitFlag is 1, it first parses STSplitDir and then parses STSplitType based on the numeric value STSplitDir. The symbol! Is a logical NOT operation, and the expression "exp? M: n" indicates that m is used if exp is true, otherwise n is used. For example, STSplitDir? c: NA (1) indicates that if the numeric value of STSplitDir is not 0 (that is, the numeric value of STSplitDir is equal to 1. This is because in this embodiment the numeric value of STSplitDir is 0 or 1), the STSplitType is a bitstream. Obtained from; Otherwise, the numeric value of STSplitType is 1 by default. In another example,! STSplitDir? NA (0): NA (1) indicates that if the numeric value of STSplitDir is equal to 0, the numeric value of STSplitType is 0 by default, otherwise the numeric value of STSplitType is 1 by default.

표 2를 참조하면, 디코더 장치가 제1 노드에 대응하는 후보-분할-모드 세트에 기초하여 STSplitFlag, STSplitDir 및 STSplitType을 결정할 수 있음을 알 수 있다.Referring to Table 2, it can be seen that the decoder device can determine the STSplitFlag, STSplitDir and STSplitType based on the candidate-split-mode set corresponding to the first node.

일례에서, 표 2의 후보-분할-모드 세트 15에 대해, 제1 노드에 대응하는 후보-분할-모드 세트가 수직 2진 분할, 수평 2진 분할, 수평 3진 분할 또는 수직 3진 분할을 포함하지 않는 경우 STSplitFlag, STSplitDir 및 STSplitType의 숫자 값은 디폴트에 의해 모두 0이다.In one example, for candidate-division-mode set 15 of Table 2, the candidate-division-mode set corresponding to the first node includes vertical binary division, horizontal binary division, horizontal ternary division, or vertical ternary division. Otherwise, the numeric values of STSplitFlag, STSplitDir, and STSplitType are all zeros by default.

다른 예에서, 표 2의 후보-분할-모드 세트 12에 대해, 제1 노드에 대응하는 후보-분할-모드 세트가 수평 2진 분할, 수평 3진 분할 또는 수직 3진 분할을 포함하지 않으면, 디코더 장치는 먼저 비트스트림으로부터 STSplitFlag를 파싱하고; STSplitFlag의 숫자 값이 0이면 STSplitDir 및 STSplitType의 숫자 값은 디폴트에 의해 0이거나, 또는 STSplitFlag의 숫자 값이 1이면 STSplitDir의 숫자 값은 디폴트에 의해 1이고 STSplitType의 숫자 값은 디폴트에 의해 0이다.In another example, for candidate-division-mode set 12 of Table 2, if the candidate-division-mode set corresponding to the first node does not include horizontal binary division, horizontal ternary division, or vertical ternary division, then decoder The device first parses the STSplitFlag from the bitstream; If the numeric value of STSplitFlag is 0, the numeric value of STSplitDir and STSplitType is 0 by default, or if the numeric value of STSplitFlag is 1, the numeric value of STSplitDir is 1 by default and the numeric value of STSplitType is 0 by default.

다른 예에서, 표 2의 후보-분할-모드 세트 6에 대해, 제1 노드에 대응하는 후보-분할-모드 세트가 수평 3진 분할 또는 수직 3진 분할을 포함하지 않으면, 디코더 장치는 먼저 비트스트림에서 STSplitFlag를 파싱하고; STSplitFlag의 숫자 값이 0이면 STSplitDir 및 STSplitType의 숫자 값은 디폴트에 의해 0이고, STSplitFlag의 숫자 값이 1이면 디코더 장치는 비트스트림에서 STSplitDir을 파싱하고 STSplitType의 숫자 값을 디폴트에 의해 0으로 설정한다.In another example, for candidate-division-mode set 6 of Table 2, if the candidate-division-mode set corresponding to the first node does not include horizontal ternary division or vertical ternary division, the decoder device first performs a bitstream. Parse the STSplitFlag in the; If the numeric value of STSplitFlag is 0, the numeric value of STSplitDir and STSplitType is 0 by default. If the numeric value of STSplitFlag is 1, the decoder device parses the STSplitDir in the bitstream and sets the numeric value of STSplitType to 0 by default.

후보-분할-모드 세트Candidate-Split-Mode Set 분할 모드Split mode 파싱 모드Parsing mode HBTHBT VBTVBT HTTHTT VTTVTT STSplitFlagSTSplitFlag STSplitDir
(STSplitFlag==1)
STSplitDir
(STSplitFlag == 1)
STSplitType
(STSplitFlag==1)
STSplitType
(STSplitFlag == 1)
1One 1One 1One 1One 1One aa bb cc 22 00 1One 1One 1One aa bb STSplitDir? c : NA(1)STSplitDir? c: NA (1) 33 1One 00 1One 1One aa bb !STSplitDir? c : NA(1)! STSplitDir? c: NA (1) 44 1One 1One 00 1One aa bb STSplitDir? c : NA(0)STSplitDir? c: NA (0) 55 1One 1One 1One 00 aa bb !STSplitDir? c : NA(0)! STSplitDir? c: NA (0) 66 1One 1One 00 00 aa bb NA(0)NA (0) 77 1One 00 1One 00 aa NA(0)NA (0) cc 88 00 1One 00 1One aa NA(1)NA (1) cc 99 1One 00 00 1One aa bb !STSplitDir? NA(0) :NA(1)! STSplitDir? NA (0): NA (1) 1010 00 1One 1One 00 aa bb STSplitDir? NA(0) : NA(1)STSplitDir? NA (0): NA (1) 1111 1One 00 00 00 aa NA(0)NA (0) NA(0)NA (0) 1212 00 1One 00 00 aa NA(1)NA (1) NA(0)NA (0) 1313 00 00 1One 00 aa NA(0)NA (0) NA(1)NA (1) 1414 00 00 00 1One aa NA(1)NA (1) NA(1)NA (1) 1515 00 00 00 00 NA(0)NA (0) NA(0)NA (0) NA(0)NA (0)

다른 예에서, 표 2의 후보-분할-모드 세트 5에 대해, 제1 노드에 대응하는 제1 대응 후보-분할-모드 세트는 수직 3진 분할을 포함하지 않으며, 디코더 장치는 먼저 비트스트림으로부터 STSplitFlag를 파싱한다. STSplitFlag의 숫자 값이 0이면 STSplitDir 및 STSplitType의 숫자 값은 디폴트에 의해 0이거나, 또는 STSplitFlag의 숫자 값이 1이면, 디코더 장치는 비트스트림으로부터 STSplitDir을 파싱한다. STSplitDir의 숫자 값이 1이면 STSplitType의 숫자 값은 디폴트에 의해 0이거나, 또는 STSplitDir의 숫자 값이 0이면, 디코더 장치는 비트스트림으로부터 STSplitType을 파싱한다.In another example, for candidate-division-mode set 5 of Table 2, the first corresponding candidate-division-mode set corresponding to the first node does not include vertical ternary partitioning, and the decoder device first determines the STSplitFlag from the bitstream. Parse If the numeric value of STSplitFlag is 0, the numeric values of STSplitDir and STSplitType are 0 by default, or if the numeric value of STSplitFlag is 1, the decoder device parses the STSplitDir from the bitstream. If the numeric value of STSplitDir is 1, the numeric value of STSplitType is 0 by default, or if the numeric value of STSplitDir is 0, the decoder device parses the STSplitType from the bitstream.

STSplitFlag, STSplitDir 및 STSplitType의 숫자 값을 결정한 후, 디코더 장치는 3개의 숫자 값에 기초하여 제4 식별자 STSplitMode를 결정할 수 있으며, 즉, 제2-레벨 코딩 트리의 제1 노드의 분할 모드 정보를 결정할 수 있다.After determining the numeric values of STSplitFlag, STSplitDir and STSplitType, the decoder device may determine the fourth identifier STSplitMode based on the three numeric values, that is, determine the split mode information of the first node of the second-level coding tree. have.

예를 들어, 디코더 장치는 표 3에 도시된 맵핑 모드에서 STSplitFlag, STSplitDir 및 STSplitType의 숫자 값에 기초하여 STSplitMode의 숫자 값을 결정한다.For example, the decoder device determines the numerical value of the STSplitMode based on the numerical values of STSplitFlag, STSplitDir and STSplitType in the mapping mode shown in Table 3.

STSplitModeSTSplitMode STSplitFlagSTSplitFlag STSplitDirSTSplitDir STSplitTypeSTSplitType 00 00 00 00 1One 1One 00 00 22 1One 1One 00 33 1One 00 1One 44 1One 1One 1One

일례에서, 전술한 예를 참조하여, 제1 노드에 대응하는 STSplitFlag, STSplitDir 및 STSplitType의 숫자 값이 각각 1, 1 및 0이면, STSplitMode의 값은 2, 즉 제1 노드에 대응하는 분할 모드는 수직 2진 분할이다.In one example, referring to the above example, if the numerical values of STSplitFlag, STSplitDir, and STSplitType corresponding to the first node are 1, 1, and 0, respectively, the value of STSplitMode is 2, that is, the split mode corresponding to the first node is vertical. It is a binary division.

선택적으로, 후보-분할-모드 세트는 대안으로 수평 3진 분할 및 수직 3진 분할만을 포함할 수 있고, 수평 2진 분할 또는 수직 2진 분할을 포함하지 않는다. 이 경우에, 디코더 장치는 먼저 비트스트림으로부터 STSplitFlag를 파싱한다. STSplitFlag의 숫자 값이 0이면 STSplitDir 및 STSplitType의 숫자 값은 디폴트에 의해 0이거나, 또는 STSplitFlag의 숫자 값이 1이면 디코더 장치는 비트스트림에서 STSplitDir을 파싱하고 STSplitType의 숫자 값은 디폴트에 의해 1이다.Optionally, the candidate-division-mode set may alternatively include only horizontal ternary partitions and vertical ternary partitions, and does not include horizontal binary partitions or vertical binary partitions. In this case, the decoder device first parses the STSplitFlag from the bitstream. If the numeric value of STSplitFlag is 0, the numeric values of STSplitDir and STSplitType are 0 by default, or if the numeric value of STSplitFlag is 1, the decoder device parses the STSplitDir in the bitstream and the numeric value of STSplitType is 1 by default.

제2-레벨 코딩 트리의 분할 모드가 수평 2진 분할, 수직 2진 분할, 수평 3진 분할 및 수직 3진 분할 이외의 분할 모드를 더 포함하는 경우, 표 2에 도시된 정보 파싱 방법은 확장이 필요하다. 이것은 본 출원의 이 실시예에서 특별히 제한되지 않는다.If the splitting mode of the second-level coding tree further includes splitting modes other than horizontal binary splitting, vertical binary splitting, horizontal ternary splitting, and vertical ternary splitting, the information parsing method shown in Table 2 is extended. need. This is not particularly limited in this embodiment of the present application.

표 2로부터, 15개의 후보-분할-모드 세트 중에서 몇몇 후보-분할-모드 세트에 대응하는 제1 정보, 제2 정보 및 제3 정보를 파싱하기 위한 모드는 동일하거나 유사하다는 것을 알 수 있다. 따라서, 복수의 후보-분할-모드 세트는 하나의 카테고리로 더 결합될 수 있으며, 하나의 파싱 방법이 카테고리마다 사용된다. 이 경우, 제1 정보, 제2 정보 및 제3 정보를 파싱하는 방법은 표 2에 따라 제1 정보, 제2 정보 및 제3 정보를 결정하는 파싱 방법과 동일하지만, 결정 분기(determining branch)는 더 적다.From Table 2, it can be seen that among the 15 candidate-division-mode sets, the modes for parsing the first information, the second information and the third information corresponding to some candidate-division-mode sets are the same or similar. Thus, a plurality of candidate-split-mode sets can be further combined into one category, and one parsing method is used for each category. In this case, the method of parsing the first information, the second information, and the third information is the same as the parsing method of determining the first information, the second information and the third information according to Table 2, but the determining branch is Less

예를 들어, 디코더 장치는 표 4에 도시된 파싱 모드에서 제1 정보 STSplitFlag를 결정하고, 표 5에 도시된 파싱 모드에서 제2 정보 STSplitDir를 결정하고, 표 6에 도시된 파싱 모드에서 제3 정보 STSplitType을 결정할 수 있다. &&는 논리 AND 연산이고, || 논리 OR 연산이며, !는 논리 NOT 연산이다. 표 2와 유사하게, a, b 및 c는 해당 정보가 비트스트림으로부터 파싱될 필요가 있음을 나타내고, NA(x)는 해당 정보의 값이 x로 설정되었음을 각각 나타낸다.For example, the decoder device determines the first information STSplitFlag in the parsing mode shown in Table 4, determines the second information STSplitDir in the parsing mode shown in Table 5, and determines the third information in the parsing mode shown in Table 6. You can determine the STSplitType. && is a logical AND operation, || Is a logical OR operation,! Is a logical NOT operation. Similar to Table 2, a, b, and c indicate that the information needs to be parsed from the bitstream, and NA (x) indicates that the value of the information is set to x, respectively.

NumType > 0NumType> 0 NumType == 0NumType == 0 STSplitFlagSTSplitFlag aa NA(0)NA (0)

표 4에 도시된 바와 같이, 후보-분할-모드 세트에 포함된 분할 모드의 수량(즉, NumType으로 표시되는 제1 숫자 값)이 0보다 큰 경우, 디코더 장치는 비트스트림으로부터 STSplitFlag를 파싱하거나; 또는 NumType의 숫자 값이 0이면 STSplitFlag의 숫자 값은 디폴트에 의해 0이다. STSplitFlag의 숫자 값이 1인 것으로 판정될 때, 디코더 장치는 STSplitDir 및 STSplitType을 계속 파싱하며; 그렇지 않으면 STSplitDir 및 STSplitType의 숫자 값은 디폴트에 의해 0이다.As shown in Table 4, if the quantity of split modes included in the candidate-split-mode set (ie, the first numeric value represented by NumType) is greater than zero, the decoder device parses the STSplitFlag from the bitstream; Or if the numeric value of NumType is 0, the numeric value of STSplitFlag is 0 by default. When it is determined that the numeric value of STSplitFlag is 1, the decoder device continues parsing STSplitDir and STSplitType; Otherwise, the numeric values of STSplitDir and STSplitType are 0 by default.

표 2를 참조하면, 표 2의 후보-분할-모드 세트 1 내지 14에서, 각 후보-분할-모드 세트는 복수의 분할 모드 및 각각에 대응하는 STSplitFlag를 포함함을 알 수 있다. 후보-분할-모드 세트는 비트스트림으로부터 파싱되어야 한다. 이것은 표 4에 도시된 경우에 해당한다. 또한, 표 2의 후보-분할-모드 세트 15는 분할 모드를 포함하지 않으며, 즉 후보-분할-모드 세트 15에 포함된 분할 모드의 수량은 0이다. 후보-분할-모드 세트 15에 해당하는 STSplitFlag의 숫자 값은 디폴트에 의해 NA(0)이며 이는 표 4에 해당한다.Referring to Table 2, in candidate-split-mode sets 1 to 14 of Table 2, it can be seen that each candidate-split-mode set includes a plurality of split modes and corresponding STSplitFlags, respectively. The candidate-split-mode set must be parsed from the bitstream. This corresponds to the case shown in Table 4. In addition, the candidate-division-mode set 15 of Table 2 does not include a division mode, that is, the number of division modes included in the candidate-division-mode set 15 is zero. The numeric value of STSplitFlag corresponding to candidate-split-mode set 15 is NA (0) by default, which corresponds to Table 4.

NumType
>= 3
NumType
> = 3
NumType == 2NumType == 2 NumType
== 1
NumType
== 1
NumType
== 0
NumType
== 0
(HBT && VBT) ||(HBT && VTT) ||(VBT && HTT)(HBT && VBT) || (HBT && VTT) || (VBT && HTT) (HBT && HTT) ||(VBT && VTT)(HBT && HTT) || (VBT && VTT) STSplitDirSTSplitDir bb bb NA(!HBT)NA (! HBT) NA(VBT || VTT)NA (VBT || VTT) NA(0)NA (0)

표 5에 도시된 바와 같이, NumType의 숫자 값이 3보다 크거나 같을 때, NumType의 숫자 값은 2와 같고, NumType의 숫자 값은 1과 같고, NumType의 숫자 값은 0과 같으며, 디코더 장치는 상이한 모드에서 STSplitDir을 결정한다. 또한, NumType의 숫자 값이 2이면, 디코더 장치는 다른 조건에 따라 STSplitDir을 결정하기 위한 특정 모드를 추가로 결정해야 한다.As shown in Table 5, when the numeric value of NumType is greater than or equal to 3, the numeric value of NumType is equal to 2, the numeric value of NumType is equal to 1, the numeric value of NumType is equal to 0, and the decoder device Determines the STSplitDir in different modes. In addition, if the numeric value of NumType is 2, the decoder device must further determine a specific mode for determining the STSplitDir according to other conditions.

예를 들어, NumType의 숫자 값이 3보다 크면, 디코더 장치는 비트스트림을 분석하여 STSplitDir을 획득한다. NumType의 숫자 값이 2이고 조건(HBT && HTT) ||(VBT && VTT)가 충족되면, STSplitDir의 숫자 값이 !HBT로에 설정된다(즉, HBT가 0이면 STSplitDir이 1이거나, 또는 HBT가 1이면 STSplitDir이 0이다).For example, if the numeric value of NumType is greater than 3, the decoder device analyzes the bitstream to obtain STSplitDir. If the numeric value of NumType is 2 and the condition (HBT && HTT) || (VBT && VTT) is satisfied, then the numeric value of STSplitDir is set to! HBT (that is, if HBT is 0, STSplitDir is 1, or HBT is 1 If STSplitDir is 0).

표 2를 참조하면, 표 2의 후보-분할-모드 세트 1 내지 5에서, 각 후보-분할-모드 세트에 포함된 분할 모드의 수량은 3보다 크거나 같으며, 각각의 후보-분할-모드 세트 1 내지 5에 대응하는 STSplitDir은 비트스트림으로부터 파싱될 필요가 있다는 것을 알 수 있다. 이는 표 5에 도시된 경우에 해당한다. 표 2의 후보-분할-모드 세트 6 내지 10에서, 각 후보-분할-모드 세트에 포함된 분할 모드의 수량은 2와 같고, 상이한 조건하에서, 모든 후보-분할-모드 세트 6 내지 10에 대응하는 STSplitDir을 파싱하기 위한 상이한 모드가 존재하며, 이는 표 5에 도시된 경우에 대응한다. 표 2의 후보-분할-모드 세트 11 내지 14에서, 각 후보-분할-모드 세트에 포함된 분할 모드의 수량은 1과 같고, 후보-분할-모드 세트 11 내지 14 각각에 대응하는 STSplitDir의 숫자 값은 디폴트 값 NA(VBT || VTT)이고, 이는 표 5에 도시된 경우에 해당한다. 표 2의 후보-분할-모드 세트 15에 포함된 분할 모드의 수량은 0과 같고, 후보-분할-모드 세트 15에 대응하는 STSplitDir는 디폴트 값 NA(0)이며 이는 표 5에 표시된 경우에 해당한다.Referring to Table 2, in the candidate-split-mode sets 1 to 5 of Table 2, the quantity of split modes included in each candidate-split-mode set is greater than or equal to 3, and each candidate-split-mode set It can be seen that the STSplitDir corresponding to 1 to 5 need to be parsed from the bitstream. This corresponds to the case shown in Table 5. In the candidate-division-mode sets 6 to 10 of Table 2, the quantity of division modes included in each candidate-division-mode set is equal to 2, and under different conditions, corresponding to all candidate-division-mode sets 6 to 10 There are different modes for parsing STSplitDir, which corresponds to the case shown in Table 5. In candidate-division-mode sets 11 to 14 of Table 2, the number of split modes included in each candidate-division-mode set is equal to 1, and the numeric value of STSplitDir corresponding to each of the candidate-division-mode sets 11 to 14 respectively. Is the default value NA (VBT || VTT), which corresponds to the case shown in Table 5. The number of split modes included in candidate split mode-mode set 15 of Table 2 is equal to 0, and the STSplitDir corresponding to candidate split mode-mode set 15 is the default value NA (0), which corresponds to the case shown in Table 5. .

NumType
== 4
NumType
== 4
NumType
== 0
NumType
== 0
NumType == 3NumType == 3
(!HBT || !HTT) && STSplitDir(! HBT ||! HTT) && STSplitDir (!VBT || !VTT) &&
!STSplitDir
(! VBT ||! VTT) &&
! STSplitDir
(!HBT || !HTT)&& !STSplitDir(! HBT ||! HTT) &&! STSplitDir (!VBT || !VTT)&&
STSplitDir
(! VBT ||! VTT) &&
STSplitDir
STSplitTypeSTSplitType cc NA(0)NA (0) cc cc NA(!HBT)NA (! HBT) NA(!VBT)NA (! VBT) NumType == 1NumType == 1 NumType == 2NumType == 2 (!HTT && !VTT)(! HTT &&! VTT) (HBT && HTT) ||(VBT && VTT)(HBT && HTT) || (VBT && VTT) (HBT && VTT)(HBT && VTT) (VBT && HTT)(VBT && HTT) STSplitTypeSTSplitType NA(HBT || VBT)NA (HBT || VBT) NA(0)NA (0) cc NA(STSplitDir)NA (STSplitDir) NA(!STSplitDir)NA (! STSplitDir)

표 6에 도시된 바와 같이, NumType의 숫자 값이 4이고, NumType의 숫자 값은 3이고, NumType의 숫자 값은 2이고, NumType의 숫자 값은 1이며, 숫자 NumType의 값이 0이면, 디코더 장치는 다른 모드에서 STSplitType을 결정한다. 또한, NumType의 숫자 값이 2이고 NumType의 숫자 값이 3이면, 디코더 장치는 다른 조건에 따라 STSplitType을 결정하기 위한 특정 모드를 결정해야 한다. 표 4 및 표 5와 유사하게, 표 6은 또한 표 2에 대응한다.As shown in Table 6, if the numeric value of NumType is 4, the numeric value of NumType is 3, the numeric value of NumType is 2, the numeric value of NumType is 1, and the value of numeric NumType is 0, the decoder device Determines the STSplitType in another mode. Also, if the numeric value of NumType is 2 and the numeric value of NumType is 3, the decoder device must determine a specific mode for determining the STSplitType according to other conditions. Similar to Tables 4 and 5, Table 6 also corresponds to Table 2.

표 6에 따른 디코더 장치에 의해 STSplitType을 결정하는 방법은 표 5에 따라 디코더 장치에 의해 STSplitDir을 결정하는 방법과 유사하므로, 여기서는 다시 설명하지 않는다.Since the method of determining the STSplitType by the decoder device according to Table 6 is similar to the method of determining the STSplitDir by the decoder device according to Table 5, it is not described herein again.

제1-레벨 코딩 트리의 분할 정보가 NSFlag 및 QTSplitFlag로 표현되면, 노드의 NSFlag의 숫자 값이 제1 값일 때, 노드는 제2-레벨 코딩 트리의 리프 노드이고, STSplitFlag의 숫자 값은 디폴트에 의해 0이거나, 또는 노드의 NSFlag의 숫자 값이 제2 값이고 QTSplitFlag의 숫자 값이 제2 값일 때, 노드는 제2-레벨 코딩 트리의 리프 노드가 아니며 STSplitFlag의 숫자 값은 디폴트에 의해 1이다.If the split information of the first-level coding tree is represented by NSFlag and QTSplitFlag, when the numeric value of the NSFlag of the node is the first value, the node is a leaf node of the second-level coding tree, and the numerical value of the STSplitFlag is by default. When the numeric value of the node's NSFlag is the second value and the numeric value of the QTSplitFlag is the second value, the node is not a leaf node of the second-level coding tree and the numeric value of the STSplitFlag is 1 by default.

선택적으로, 본 출원의 이 실시예에서, S601을 수행한 후, 디코더 장치는 S602를 수행하거나; 또는 S601을 수행하는 프로세스에서, 제1-레벨 코딩 트리의 리프 노드에 관한 정보를 획득한 후, 제1-레벨의 마지막 리프 노드가 획득될 때까지, 제1-레벨 코딩 트리의 리프 노드에 기초하여 S602를 즉시 수행할 수 있다.Optionally, in this embodiment of the present application, after performing S601, the decoder device performs S602; Or in the process of performing S601, after obtaining information about leaf nodes of the first-level coding tree, and based on leaf nodes of the first-level coding tree until the last leaf node of the first-level coding tree is obtained. S602 can be performed immediately.

S603. 제2-레벨 코딩 트리의 노드 분할 모드 정보가 제2-레벨 코딩 트리의 제1 노드에 대응하는 분할 모드가 비 추가 분할인 것을 나타내면, 디코더 장치는 비트스트림을 파싱하여 제1 노드의 인코딩 정보를 획득한다.S603. If the node splitting mode information of the second-level coding tree indicates that the splitting mode corresponding to the first node of the second-level coding tree is non-additional splitting, the decoder device parses the bitstream to obtain encoding information of the first node. Acquire.

본 출원의 이 실시예에서, 제2-레벨 코딩 트리의 노드 분할 모드 정보가 제2-레벨 코딩 트리의 제1 노드에 대응하는 분할 모드가 더 이상 분할되지 않음을 나타내면, 이것은 제1 노드가 제2-레벨 코딩 트리의 리프 노드임을 나타낸다.In this embodiment of the present application, if the node splitting mode information of the second-level coding tree indicates that the splitting mode corresponding to the first node of the second-level coding tree is no longer splitted, Indicates that this is a leaf node of a two-level coding tree.

전술한 설명으로부터, 더 이상 분할되지 않는 노드는 하나의 CU에 대응한다는 것을 알 수 있다. 이에 대응하여, 제1 노드는 하나의 CU에 대응한다.From the foregoing description, it can be seen that a node that is no longer partitioned corresponds to one CU. Correspondingly, the first node corresponds to one CU.

구체적으로, 디코더 장치는 비트스트림에서 코딩 유닛의 신택스 구조를 파싱하여(예를 들어, H.265의 신택스 구조 coding_unit(). 신택스 구조 coding_unit()에 대한 설명은 이하의 설명을 참조한다) 각 CU의 인코딩 정보를 획득한다. 각각의 CU의 인코딩 정보는 예측 모드 및 CU의 변환 계수와 같은 정보를 포함한다. 여기서, 디코더 장치가 각각의 CU의 인코딩 정보를 획득한다는 것은 디코더 장치가 제2-레벨 코딩 트리의 각 리프 노드의 인코딩 정보를 획득한다는 것을 의미한다.Specifically, the decoder device parses the syntax structure of the coding unit in the bitstream (for example, the syntax structure coding_unit () of H.265. For the description of the syntax structure coding_unit (), see the following description). Obtains encoding information. The encoding information of each CU includes information such as prediction mode and transform coefficients of the CU. Here, that the decoder device obtains encoding information of each CU means that the decoder device obtains encoding information of each leaf node of the second-level coding tree.

선택적으로, 본 출원의 이 실시예에서, S602를 수행하는 프로세스에서, 제2-레벨 코딩 트리의 리프 노드에 관한 정보를 획득한 후, 디코더 장치는 비트스트림을 파싱하여 리프 노드의 인코딩 정보를 획득할 수 있고; 리프 노드의 인코딩 정보를 획득한 후에, 마지막 제2-레벨 코딩 트리가 획득될 때까지 그 다음의 제2-레벨 코딩 트리의 리프 노드 및 그 다음의 제2-레벨 코딩 트리의 리프 노드의 인코딩 정보 등을 계속해서 획득한다.Optionally, in this embodiment of the present application, in the process of performing S602, after obtaining information regarding leaf nodes of the second-level coding tree, the decoder device parses the bitstream to obtain encoding information of the leaf nodes. Can do it; After obtaining the encoding information of the leaf node, encoding information of the leaf node of the next second-level coding tree and the leaf node of the next second-level coding tree until the last second-level coding tree is obtained. Continue to get back.

예를 들어, 본 출원의 이 실시예에서 제2-레벨 코딩 트리의 신택스 테이블이 표 7에 도시되어 있다. coding_second_tree()는 제2-레벨 코딩 트리의 신택스 구조이며, 제2-레벨 코딩 트리의 노드에 대한 정보를 설명한다.For example, the syntax table of the second-level coding tree in this embodiment of the present application is shown in Table 7. coding_second_tree () is a syntax structure of the second-level coding tree and describes information about nodes of the second-level coding tree.

표 7에서, log2CuWidth 및 log2CuHeight는 베이스가 2인 노드에 대응하는 화상 영역의 로그 값 및 베이스가 2인 노드에 대응하는 화상 영역의 높이의 로그 값을 각각 나타내고, stDepth는 제2-레벨 코딩 트리의 리프 노드의 깊이를 나타내고, 조건 condB는 제2-레벨 코딩 트리의 노드 분할 정보의 신택스 요소 STSplitMode가 비트스트림으로부터 파싱될 필요가 있는 조건을 나타낸다. 예를 들어, 조건 condB는 "제2-레벨 코딩 트리에서 노드의 깊이 stDepth는 제2-레벨 코딩 트리에서 미리 설정된 최대 깊이 maxSTDepth보다 작고, 노드에 대응하는 화상 영역의 폭 또는 높이 모두는 임계치 maxSTSize보다 작고, 노드에 대응하는 화상 영역의 폭 또는 높이는 임계치 minSTSize보다 크다". maxSTDepth는 0보다 큰 정수(예를 들어, 2, 3 또는 4)이며 사전 설정되거나 SPS에서 파싱될 수 있고; minSTSize는 0보다 큰 정수(예를 들어, 4 또는 8)이며 사전 설정되거나 SPS에서 파싱될 수 있고; maxSTSize는 minSTSize보다 큰 정수(예를 들어, 64 또는 128)이며 사전 설정되거나 SPS에서 파싱될 수 있다.In Table 7, log2CuWidth and log2CuHeight represent log values of the image area corresponding to the node having a base of 2 and log values of the height of the image area corresponding to the node having a base of 2, respectively, and stDepth represents the log value of the second-level coding tree. Depth of the leaf node, condition condB indicates the condition that the syntax element STSplitMode of the node split information of the second-level coding tree needs to be parsed from the bitstream. For example, the condition condB is " the depth stDepth of the node in the second-level coding tree is less than the preset maximum depth maxSTDepth in the second-level coding tree, and both the width or height of the picture area corresponding to the node is less than the threshold maxSTSize. Small and the width or height of the image area corresponding to the node is greater than the threshold minSTSize ". maxSTDepth is an integer greater than zero (eg, 2, 3 or 4) and can be preset or parsed in the SPS; minSTSize is an integer greater than zero (eg, 4 or 8) and can be preset or parsed in the SPS; maxSTSize is an integer greater than minSTSize (eg, 64 or 128) and can be preset or parsed in the SPS.

STSplitMode의 값 범위는 0, 1, 2, 3 및 4이다. STSplitMode의 숫자 값이 0이면 노드는 제2-레벨 코딩 트리의 리프 노드이며 그 노드는 하나의 CU에 대응한다. 이 경우, 코딩 유닛에 관한 정보는 CU 신택스 구조 coding_unit()에 기초하여 파싱된다. 코딩 유닛에 관한 정보의 신택스 요소를 구성하는 모드는 본 출원의 이 실시예에서 제한되지 않는다. STSplitMode의 숫자 값이 1 내지 4이면 노드는 수평 2진 분할, 수직 2진 분할, 수평 3진 분할 및 수직 3진 분할을 통해 개별적으로 두 개 또는 세 개의 자식 노드로 분할되며, 각 자식 노드에 있어서, 자식 노드에 대응하는 화상 영역의 폭, 높이 및 좌표, 및 제2-레벨 코딩 트리에서의 깊이가 결정되고, 자식 노드는 coding_second_tree()에 기초하여 순차적으로 파싱된다.The range of values for STSplitMode is 0, 1, 2, 3, and 4. If the numeric value of STSplitMode is 0, the node is a leaf node of the second-level coding tree and the node corresponds to one CU. In this case, the information about the coding unit is parsed based on the CU syntax structure coding_unit (). The mode of constructing the syntax element of the information about the coding unit is not limited in this embodiment of the present application. If the numeric value of STSplitMode is 1-4, the node is split into two or three child nodes individually through horizontal binary division, vertical binary division, horizontal ternary division, and vertical ternary division. The width, height and coordinates of the image region corresponding to the child node, and the depth in the second-level coding tree are determined, and the child nodes are parsed sequentially based on coding_second_tree ().

선택적으로, 본 출원의 이 실시예에서, STSplitFlag, STSplitDir 및 STSplitType은 바이 패스(by-pass) 방식으로 인코딩될 수 있거나, 하나의 확률 모델을 사용하여 인코딩될 수 있거나, 확률 모델은 컨텍스트에 기초해서 적응적으로 선택될 수 있다.Optionally, in this embodiment of the present application, the STSplitFlag, STSplitDir and STSplitType may be encoded in a by-pass manner, or may be encoded using one probability model, or the probability model may be based on a context. It can be chosen adaptively.

예를 들어, STSplitFlag의 컨텍스트 모델을 선택하는 방법은 다음과 같다: 노드에 대응하는 화상 영역의 좌측에 대응하는 CU의 사이즈 S1, 노드에 대응하는 화상 영역의 상부 측에 대응하는 CU의 사이즈 S2 및 노드에 대응하는 화상 영역의 크기 S3이 획득된다. S1과 S2가 모두 S3보다 작은 경우 번호 2가 매겨진 컨텍스트 모델이 선택되거나; 또는 S1 및 S2 중 하나만이 S3보다 작은 경우, 번호 1인 매겨진 컨텍스트 모델이 선택되거나; 그렇지 않으면(S1 및 S2 중 어느 것도 S3보다 작으면) 번호 0이 매겨진 컨텍스트 모델이 선택된다. 노드에 대응하는 화상 영역의 좌측은 예를 들어 (x0-1, y0)이고, 노드에 대응하는 화상 영역의 상부 측은 예를 들어(x0, y0-1)이다.For example, the method of selecting the context model of the STSplitFlag is as follows: the size S1 of the CU corresponding to the left side of the picture area corresponding to the node, the size S2 of the CU corresponding to the upper side of the picture area corresponding to the node and The size S3 of the picture area corresponding to the node is obtained. If both S1 and S2 are less than S3, the numbered context model is selected; Or if only one of S1 and S2 is smaller than S3, the numbered context model number 1 is selected; Otherwise (if neither S1 nor S2 is less than S3) the numbered context model is selected. The left side of the image region corresponding to the node is (x0-1, y0), for example, and the upper side of the image region corresponding to the node is (x0, y0-1), for example.

STSplitDir의 콘텍스트 모델을 선택하기 위한 방법은 다음과 같다: 노드에 대응하는 화상 영역의 폭이 높이보다 2배 큰 경우, 번호 0이 매겨진 모델이 사용되며; 노드에 대응하는 화상 영역의 폭이 높이의 2배이면, 번호 1이 매겨진 모델이 사용되며; 노드에 대응하는 화상 영역의 폭이 높이와 동일하면, 번호 2가 매겨진 모델이 사용되며; 노드에 대응하는 화상 영역의 폭이 높이의 1/2과 동일하면, 번호 3이 매겨진 모델이 사용되거나; 또는 노드에 대응하는 화상 영역의 폭이 높이의 1/2보다 작으면, 번호 4가 매겨진 모델이 사용된다.The method for selecting the context model of STSplitDir is as follows: If the width of the picture area corresponding to the node is twice as large as the height, the numbered model is used; If the width of the picture area corresponding to the node is twice the height, the numbered model 1 is used; If the width of the picture area corresponding to the node is equal to the height, the numbered model 2 is used; If the width of the picture area corresponding to the node is equal to 1/2 of the height, the numbered model 3 is used; Or if the width of the image area corresponding to the node is smaller than 1/2 of the height, the model numbered 4 is used.

STSplitType의 콘텍스트 모델을 선택하는 방법은 다음과 같다: 제2-레벨 코딩 트리에서 노드의 깊이가 0이면, 번호 0이 매겨진 모델이 선택되고; 제2-레벨 코딩 트리에서 노드의 깊이가 1이면, 번호 1이 매겨진 모델이 선택되거나; 또는 제2-레벨 코딩 트리에서 노드의 깊이가 1보다 크면, 번호 2가 매겨진 모델이 선택된다.The method of selecting the context model of the STSplitType is as follows: if the depth of the node is zero in the second-level coding tree, the numbered model is selected; If the depth of the node in the second-level coding tree is 1, the numbered model is selected; Or if the depth of the node in the second-level coding tree is greater than one, the numbered model 2 is selected.

전술한 상황 모델의 수는 단지 상이한 상황 모델을 구별하기 위해 사용되며, 컨텍스트 모델의 수는 전술한 예에서의 숫자와 동일한 것으로 제한되지 않는다는 것을 이해해야 한다.It should be understood that the number of context models described above is only used to distinguish different context models, and the number of context models is not limited to the same number as in the above example.

coding_second_tree( x0, y0, log2CuWidth, log2CuHeight, stDepth, qtDepth) {coding_second_tree (x0, y0, log2CuWidth, log2CuHeight, stDepth, qtDepth) { DescriptorDescriptor if( condB )if (condB) STSplitMode[ x0 ][ y0 ]STSplitMode [x0] [y0] ae(v)ae (v) if( STSplitMode[ x0 ][ y0 ] ==1) {  if (STSplitMode [x0] [y0] == 1) { y1 = y0 +( 1 << ( log2CuHeight - 1 ) )    y1 = y0 + (1 << (log2CuHeight-1)) coding_second_tree(x0, y0, log2CuWidth, log2CuHeight1, stDepth+1, qtDepth)   coding_second_tree (x0, y0, log2CuWidth, log2CuHeight1, stDepth + 1, qtDepth) coding_second_tree(x0, y1, log2CuWidth, log2CuHeight1, stDepth+1, qtDepth)   coding_second_tree (x0, y1, log2CuWidth, log2CuHeight1, stDepth + 1, qtDepth) }  } else if(STSplitMode [ x0 ][ y0 ] == 2 ) {  else if (STSplitMode [x0] [y0] == 2) { x1=x0 +(1 <<( log2CuWidth - 1 ) )    x1 = x0 + (1 << (log2CuWidth-1)) coding_second_tree(x0, y0, log2CuWidth1, log2CuHeight, stDepth+1, qtDepth)     coding_second_tree (x0, y0, log2CuWidth1, log2CuHeight, stDepth + 1, qtDepth) coding_second_tree(x1, y0, log2CuWidth1, log2CuHeight, stDepth+1, qtDepth)   coding_second_tree (x1, y0, log2CuWidth1, log2CuHeight, stDepth + 1, qtDepth) }  } else if(STSplitMode [ x0 ][ y0 ] ==3 ) {  else if (STSplitMode [x0] [y0] == 3) { y1 = y0 +( 1 <<( log2CuHeight - 2 ) )    y1 = y0 + (1 << (log2CuHeight-2)) y2 = y1 +( 1 <<( log2CuHeight - 1 ) )    y2 = y1 + (1 << (log2CuHeight-1)) coding_unit(x0, y0, log2CuWidth, log2CuHeight2, stDepth+1, qtDepth) coding_unit (x0, y0, log2CuWidth, log2CuHeight2, stDepth + 1, qtDepth) coding_unit(x0, y0, log2CuWidth, log2CuHeight1, stDepth+1, qtDepth) coding_unit (x0, y0, log2CuWidth, log2CuHeight1, stDepth + 1, qtDepth) coding_unit(x0, y2, log2CuWidth, log2CuHeight2, stDepth+1, qtDepth) coding_unit (x0, y2, log2CuWidth, log2CuHeight2, stDepth + 1, qtDepth) }  } else if(STSplitMode [ x0 ][ y0 ] == 4 ) {  else if (STSplitMode [x0] [y0] == 4) { x1 = x0 +( 1 <<( log2CuWidth - 2 ) )    x1 = x0 + (1 << (log2CuWidth-2)) x2 = x1 +( 1 <<( log2CuWidth - 1 ) )    x2 = x1 + (1 << (log2CuWidth-1)) coding_unit(x0, y0, log2CuWidth 2, log2CuHeight, stDepth+1, qtDepth)coding_unit (x0, y0, log2CuWidth 2, log2CuHeight, stDepth + 1, qtDepth) coding_unit(x1, y0, log2CuWidth 1, log2CuHeight, stDepth+1, qtDepth)coding_unit (x1, y0, log2CuWidth 1, log2CuHeight, stDepth + 1, qtDepth) coding_unit(x2, y0, log2CuWidth 2, log2CuHeight, stDepth+1, qtDepth)coding_unit (x2, y0, log2CuWidth 2, log2CuHeight, stDepth + 1, qtDepth) }  } else  else coding_unit(x0, y0, log2CuWidth, log2CuHeight, stDepth, qtDepth)    coding_unit (x0, y0, log2CuWidth, log2CuHeight, stDepth, qtDepth) }}

S604. 디코더 장치는 제1 노드의 3개의 자식 노드의 인코딩 정보에 기초하여 코딩 유닛을 디코딩 및 재구성하여 화상 데이터에 대응하는 화상을 획득한다.S604. The decoder device decodes and reconstructs the coding unit based on the encoding information of the three child nodes of the first node to obtain an image corresponding to the picture data.

코딩 유닛을 디코딩 및 재구성하는 프로세스는 예측, 역 양자화, 역변환 및 루프 필터링과 같은 프로세싱을 포함한다. 구체적으로, 각각의 코딩 유닛을 디코딩 및 재구성하는 프로세스는 다음 단계를 포함한다:The process of decoding and reconstructing the coding unit includes processing such as prediction, inverse quantization, inverse transform and loop filtering. Specifically, the process of decoding and reconstructing each coding unit includes the following steps:

(1) CU의 예측된 픽셀을 얻기 위해 CU의 인코딩 정보에 포함된 예측 모드에 기초하여 인트라 예측 또는 인터 예측이 선택된다.(1) Intra prediction or inter prediction is selected based on the prediction mode included in the encoding information of the CU to obtain the predicted pixels of the CU.

(2) CU가 변환 계수를 포함하는 경우, 양자화 파라미터 및 변환 모드에 기초하여 CU의 변환 계수에 대해 역 양자화 및 역변환이 수행되어, CU의 재구성된 잔차를 획득하거나; 또는 CU가 변환 계수를 포함하지 않는 경우, CU의 재구성된 잔차는 0이며, 즉 CU에서 각 픽셀의 재구성된 잔차 값은 0이다.(2) if the CU includes transform coefficients, inverse quantization and inverse transform are performed on the transform coefficients of the CU based on the quantization parameter and the transform mode to obtain a reconstructed residual of the CU; Or if the CU does not include transform coefficients, the reconstructed residual of the CU is zero, that is, the reconstructed residual value of each pixel in the CU is zero.

(3) CU의 예측된 픽셀 및 CU의 재구성된 잔차가 추가된 후, 루프 필터링 처리가 수행되어 CU의 재구성된 화상 블록을 얻는다.(3) After the predicted pixel of the CU and the reconstructed residual of the CU are added, a loop filtering process is performed to obtain a reconstructed picture block of the CU.

인코더 장치는 전술한 방법에 따라 각각의 코딩 유닛을 디코딩 및 재구성하여 각 CU의 재구성된 화상 블록을 획득한다. 각각의 CU의 재구성된 화상 블록을 획득한 후, 인코더 장치는 획득된 모든 재구성된 화상 블록에 기초하여 최종 재구성된 화상을 획득하고, 즉 화상 데이터에 대응하는 화상을 획득한다.The encoder apparatus decodes and reconstructs each coding unit according to the method described above to obtain a reconstructed picture block of each CU. After obtaining the reconstructed picture block of each CU, the encoder device obtains the final reconstructed picture based on all the reconstructed picture blocks obtained, that is, obtains a picture corresponding to the picture data.

본 출원의 이 실시예에서, 제2-레벨 코딩 트리의 제1 노드에 대응하는 분할 모드는 제1 사전 설정 분할 조건에 따라 결정된 분할 모드 중 하나이며, 제1 사전 설정 분할 조건은 제1 노드는 목표 분할 모드에서 분할되고, 목표 분할 모드는 수평 2진 분할, 수평 3진 분할, 수직 2진 분할 및 수직 3진 분할 중 적어도 하나를 포함한다. 제1 사전 설정 분할 조건에 의해 제1 노드에 대응하는 분할 모드의 수량이 감소되어, 디코딩 복잡도를 효과적으로 감소시킨다.In this embodiment of the present application, the splitting mode corresponding to the first node of the second-level coding tree is one of splitting modes determined according to the first preset splitting condition, and the first preset splitting condition is determined by the first node. Split in the target division mode, the target division mode includes at least one of horizontal binary division, horizontal ternary division, vertical binary division, and vertical ternary division. The first preset partitioning condition reduces the quantity of partitioning modes corresponding to the first node, effectively reducing the decoding complexity.

도 6에 도시된 실시예에서, 제2-레벨 코딩 트리의 노드 분할 모드 정보를 결정하는 과정에서, 디코더 장치는 제1 정보, 제2 정보 및 제3 정보를 순차적으로 결정할 수 있다. 본 출원의 이 실시예에서의 디코더 장치는 제1 정보, 제3 정보 및 제2 정보의 시퀀스에서 제2-레벨 코딩 트리의 노드 분할 모드 정보를 추가로 결정할 수 있다. 이 시나리오를 이제 설명한다.In the embodiment shown in FIG. 6, in the process of determining node split mode information of the second-level coding tree, the decoder device may sequentially determine the first information, the second information, and the third information. The decoder device in this embodiment of the present application may further determine node division mode information of the second-level coding tree in the sequence of the first information, the third information, and the second information. This scenario is now described.

예를 들어, S602에서, 디코더 장치는 표 8에 도시된 파싱 방법에 따라 제1 정보, 제3 정보 및 제2 정보를 순차적으로 추가로 결정하여 표 3에 도시된 맵핑 모드에 기초한 제2-레벨 코딩 트리의 노드 분할 모드 정보를 획득할 수 있다.For example, in S602, the decoder device further sequentially determines the first information, the third information and the second information according to the parsing method shown in Table 8, so that the second level based on the mapping mode shown in Table 3 is obtained. Node splitting mode information of the coding tree may be obtained.

표 8은 표 2와 유사하다. 상세한 설명은 여기서 다시 설명하지 않는다.Table 8 is similar to Table 2. The detailed description is not described herein again.

표 2에서와 유사하게, 표 8에 도시된 15개의 후보-분할-모드 세트 중에서 몇몇 후보-분할-모드 세트에 대응하는 제1 정보, 제3 정보 및 제2 정보를 파싱하기 위한 모드는 동일하거나 또는 유사하다. 따라서, 그 몇몇 후보-분할-모드 세트는 하나의 카테고리로 더 결합될 수 있으며, 하나의 파싱 방법이 카테고리마다 사용된다. 이 경우, 제1 정보, 제3 정보 및 제2 정보를 파싱하는 방법은 표 8에 따라 제1 정보, 제3 정보 및 제2 정보를 결정하기 위한 파싱 방법과 동일하지만, 결정 분기는 더 적다.Similar to Table 2, among the 15 candidate-division-mode sets shown in Table 8, the modes for parsing the first information, the third information, and the second information corresponding to some candidate-division-mode sets are the same or Or similar. Thus, some of the candidate-division-mode sets can be further combined into one category, and one parsing method is used per category. In this case, the method of parsing the first information, the third information and the second information is the same as the parsing method for determining the first information, the third information and the second information according to Table 8, but with fewer decision branches.

예를 들어, 디코더 장치는 표 4에 도시된 파싱 모드에 기초하여 제1 정보 STSplitFlag를 결정하고, 표 9에 도시된 파싱 모드에 기초하여 제3 정보 STSplitType을 결정하고, 표 10에 도시된 파싱에 기초하여 제2 정보 STSplitDir를 결정할 수 있다.For example, the decoder device determines the first information STSplitFlag based on the parsing mode shown in Table 4, determines the third information STSplitType based on the parsing mode shown in Table 9, and determines the parsing shown in Table 10. Based on the second information STSplitDir can be determined.

후보-분할-모드 세트Candidate-Split-Mode Set 분할 모드Split mode 파싱 모드Parsing mode HBTHBT VBTVBT HTTHTT VTTVTT STSplitFlagSTSplitFlag STSplitType(STSplitFlag==1)STSplitType (STSplitFlag == 1) STSplitDir
(STSplitFlag==1)
STSplitDir
(STSplitFlag == 1)
1One 1One 1One 1One 1One aa cc bb 22 00 1One 1One 1One aa cc STSplitType? b : NA(1)STSplitType? b: NA (1) 33 1One 00 1One 1One aa cc STSplitType? b : NA(0)STSplitType? b: NA (0) 44 1One 1One 00 1One aa cc !STSplitType? b : NA(1)! STSplitType? b: NA (1) 55 1One 1One 1One 00 aa cc !STSplitType? b : NA(0)! STSplitType? b: NA (0) 66 1One 1One 00 00 aa NA(0)NA (0) bb 77 1One 00 1One 00 aa cc NA(0)NA (0) 88 00 1One 00 1One aa cc NA(1)NA (1) 99 1One 00 00 1One aa cc !STSplitType? NA(0) : NA(1)! STSplitType? NA (0): NA (1) 1010 00 1One 1One 00 aa cc STSplitType? NA(0) : NA(1)STSplitType? NA (0): NA (1) 1111 1One 00 00 00 aa NA(0)NA (0) NA(0)NA (0) 1212 00 1One 00 00 aa NA(0)NA (0) NA(1)NA (1) 1313 00 00 1One 00 aa NA(1)NA (1) NA(0)NA (0) 1414 00 00 00 1One aa NA(1)NA (1) NA(1)NA (1) 1515 00 00 00 00 NA(0)NA (0) NA(0)NA (0) NA(0)NA (0)

NumType
>= 3
NumType
> = 3
NumType == 2NumType == 2 NumType
== 1
NumType
== 1
NumType == 0NumType == 0
(HBT && VBT)(HBT && VBT) (HBT && HTT)
||(VBT && VTT)
||(HBT && VTT)
||(VBT && HTT)
(HBT && HTT)
(VBT && VTT)
(HBT && VTT)
(VBT && HTT)
STSplitTypeSTSplitType cc NA(0)NA (0) cc NA(HBT || VBT)NA (HBT || VBT) NA(0)NA (0)

NumType == 4NumType == 4 NumType == 0NumType == 0 NumType == 3NumType == 3 (!HBT || !VBT) && STSplitType(! HBT ||! VBT) && STSplitType (!HTT || !VTT) &&
!STSplitType
(! HTT ||! VTT) &&
! STSplitType
(!HBT || !VBT) &&
!STSplitType
(! HBT ||! VBT) &&
! STSplitType
(!HTT || !VTT) && STSplitType(! HTT ||! VTT) && STSplitType
STSplitDirSTSplitDir bb NA
(0)
NA
(0)
bb bb NA(VBT)NA (VBT) NA(VTT)NA (VTT)
NumType == 1NumType == 1 NumType == 2NumType == 2 (!HTT && !VTT) (! HTT &&! VTT) (HBT && HTT) ||(VBT && VTT)(HBT && HTT) || (VBT && VTT) (HBT && VTT)(HBT && VTT) (VBT && HTT)(VBT && HTT) STSplitDirSTSplitDir NA(HTT || VTT)NA (HTT || VTT) bb NA(VBT)NA (VBT) NA(STSplitType)NA (STSplitType) NA(!STSplitType)NA (! STSplitType)

알 수 있는 바와 같이, 디코더 장치가 제1 정보, 제2 정보 및 제3 정보의 시퀀스에서 제2-레벨 코딩 트리의 노드 분할 모드 정보를 결정하든지, 또는 제1 정보, 제3 정보 및 제2 정보의 시퀀스에서 제2-레벨 코딩 트리의 노드 분할 모드 정보를 결정하는지에 상관없이, 디코더 장치는 제1 사전 설정 분할 조건의 기능으로 고속 디코딩을 수행할 수 있으며 디코딩 복잡도는 상대적으로 낮다.As can be seen, the decoder device determines the node split mode information of the second-level coding tree in the sequence of the first information, the second information and the third information, or the first information, the third information and the second information. Regardless of whether the node split mode information of the second-level coding tree is determined in the sequence of, the decoder device may perform fast decoding as a function of the first preset splitting condition and the decoding complexity is relatively low.

전술한 실시예에서, 제1-레벨 코딩 트리에 대응하는 분할 모드는 쿼드트리 분할을 포함하고, 제2-레벨 코딩 트리에 대응하는 노드 분할 모드는 2진 트리 분할 및 3진 트리 분할을 포함한다. 실제 응용에서, 제2-레벨 코딩 트리에 대응하는 분할 모드는 쿼드트리 분할을 더 포함할 수 있다. 이 경우, 디코더 장치는 제1 사전 설정 분할 조건 및 제2 사전 설정 분할 조건에 따라, 제1 노드에 대응하는 후보-분할-모드 세트를 결정하여, 제1 노드에 대응하는 분할 모드를 결정해야 한다.In the above embodiment, the splitting mode corresponding to the first-level coding tree includes quadtree splitting, and the node splitting mode corresponding to the second-level coding tree includes binary tree splitting and ternary tree splitting. . In a practical application, the splitting mode corresponding to the second-level coding tree may further comprise quadtree splitting. In this case, the decoder apparatus should determine the candidate-division-mode set corresponding to the first node according to the first preset division condition and the second preset division condition, and determine the division mode corresponding to the first node. .

도 7에 도시된 바와 같이, 이 시나리오에서, 본 출원의 이 실시예에서 제공되는 화상 데이터 디코딩 방법은 다음 단계들을 포함한다.As shown in Fig. 7, in this scenario, the image data decoding method provided in this embodiment of the present application includes the following steps.

S700. 디코더 장치는 화상 데이터를 포함하는 비트스트림을 획득한다.S700. The decoder device obtains a bitstream containing the image data.

S700에 대해서는, S600의 전술한 설명을 참조한다. 자세한 내용은 여기에 설명되어 있지 않는다.For S700, refer to the above description of S600. Details are not described here.

S701. 디코더 장치는 디코더 장치에 의해 획득된 비트스트림을 디코딩하여 제1-레벨 코딩 트리의 노드 분할 모드 정보를 획득한다.S701. The decoder device decodes the bitstream obtained by the decoder device to obtain node division mode information of the first-level coding tree.

S701에 대해서는, 전술한 S601의 설명을 참조한다. 세부 사항은 여기서 다시 설명하지 않는다.For S701, the description of S601 described above is referred to. Details are not described here again.

S702. 디코더 장치는 디코더 장치에 의해 획득된 비트스트림을 파싱하여, 제2-레벨 코딩 트리의 노드 분할 모드 정보를 획득한다.S702. The decoder device parses the bitstream obtained by the decoder device to obtain node division mode information of the second-level coding tree.

제2-레벨 코딩 트리의 노드 분할 모드 정보는 제2-레벨 코딩 트리의 제1 노드에 대응하는 분할 모드를 나타내고, 제1 노드에 대응하는 분할 모드는 제1 노드에 대응하는 후보-분할-모드 세트 내의 하나의 모드이며, 제1 노드에 대응하는 후보-분할-모드 세트는 제1 사전 설정 분할 조건 및 제2 사전 설정 분할 조건에 따라 결정되고, 제1 사전 설정 분할 조건은 제1 노드가 목표 분할 모드에서 분할되는 것을 제한할지를 나타내는 데 사용되며, 목표 분할 모드는 수평 2진 분할(horizontal binary split), 수평 3진 분할(horizontal ternary split), 수직 2진 분할 및 수직 3진 분할 중 적어도 하나를 포함하며, 제2 사전 설정 분할 조건은 제1 노드가 쿼드트리 분할에 기초하여 분할되는 것을 제한할지를 나타내는 데 사용된다.Node splitting mode information of the second-level coding tree indicates a splitting mode corresponding to the first node of the second-level coding tree, and a splitting mode corresponding to the first node is a candidate-split-mode corresponding to the first node. One mode in the set, and the candidate-division-mode set corresponding to the first node is determined according to the first preset splitting condition and the second preset splitting condition, wherein the first preset splitting condition is determined by the first node. Used to indicate whether to restrict splitting in split mode, the target split mode may include at least one of a horizontal binary split, a horizontal ternary split, a vertical binary split, and a vertical ternary split. And a second preset splitting condition is used to indicate whether the first node is to be restricted from splitting based on quadtree splitting.

제2-레벨 코딩 트리의 루트 노드는 제1-레벨 코딩 트리의 리프 노드이다. 제2-레벨 코딩 트리에 대응하는 노드 분할 모드는 제1-레벨 코딩 트리에 대응하는 노드 분할 모드와 상이하다. 이 실시예에서, 제2-레벨 코딩 트리에 대응하는 노드 분할 모드는 2진 트리 분할, 3진 트리 분할, 및 쿼드트리 분할을 포함하고, 2진 트리 분할은 수평 2진 분할 및 수직 2진 분할을 포함하고, 3진 트리 분할은 수평 3진 분할 및 수직 3진 분할을 포함한다.The root node of the second-level coding tree is a leaf node of the first-level coding tree. The node splitting mode corresponding to the second-level coding tree is different from the node splitting mode corresponding to the first-level coding tree. In this embodiment, the node splitting mode corresponding to the second-level coding tree includes binary tree splitting, ternary tree splitting, and quadtree splitting, wherein the binary tree splitting is horizontal binary splitting and vertical binary splitting. And a ternary tree split includes a horizontal ternary split and a vertical ternary split.

S602와는 달리, 본 실시예의 디코더 장치는 제1 사전 설정 분할 조건 및 제2 사전 설정 분할 조건에 따라, 제1 노드에 대응하는 후보-분할-모드 세트를 결정해야 한다.Unlike S602, the decoder apparatus of this embodiment must determine the candidate-division-mode set corresponding to the first node according to the first preset division condition and the second preset division condition.

제1 사전 설정 분할 조건은 도 6에 도시된 실시예의 제1 사전 설정 분할 조건과 동일하다. 제2 사전 설정 분할 조건은 다음의 사전 설정 분할 하위 조건:The first preset dividing condition is the same as the first preset dividing condition of the embodiment shown in FIG. The second preset split condition is a preset split subcondition:

제10 사전 설정 분할 하위 조건: 상기 제2-레벨 코딩 트리에서 상기 제1 노드의 깊이가 상기 제2-레벨 코딩 트리에서 사전 설정된 최대 깊이보다 작으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 쿼드트리 분할을 포함하지 않는 조건; 및10th preset partitioning subcondition: if the depth of the first node in the second-level coding tree is less than a preset maximum depth in the second-level coding tree, the candidate-division corresponding to the first node. A condition set does not include the quadtree splitting; And

제11 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 화상 영역의 폭 대 높이 비가 제5 사전 설정 임계치보다 크면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 쿼드트리 분할을 포함하지 않는 조건Eleventh preset partitioning subcondition: if the width-to-height ratio of the picture area corresponding to the first node is greater than a fifth preset threshold, the candidate-division-mode set corresponding to the first node is divided into the quadtrees. Conditions that do not include

중 적어도 하나를 포함한다.At least one of the.

S602의 그것과 유사하게, 본 실시예의 디코더 장치는 먼저 제1 사전 설정 분할 조건 및 제2 사전 설정 분할 조건에 따라, 제1 노드에 대응하는 후보-분할-모드 세트를 결정하고, 제1 노드에 대응하는 분할 모드에서 비트스트림을 파싱하여 제2-레벨 코딩 트리에 대응하는 노드 분할 모드 정보를 결정한다.Similar to that of S602, the decoder apparatus of the present embodiment first determines, according to the first preset division condition and the second preset division condition, the candidate-division-mode set corresponding to the first node, The bitstream is parsed in the corresponding partitioning mode to determine node partitioning mode information corresponding to the second-level coding tree.

이 실시예에서 제2-레벨 코딩 트리에 대응하는 노드 분할 모드는 이 실시예에서, 도 6에서의 설명에 기초하여 쿼드트리 분할을 더 포함하며, 제4 식별자(STSplitMode)의 숫자 값은 또한 5일 수 있고, 즉 STSplitMode = 5일 수 있으며, 이는 제4 식별자에 대응하는 노드에 대응하는 분할 모드가 쿼드트리 분할임을 나타낸다.The node splitting mode corresponding to the second-level coding tree in this embodiment further includes quadtree splitting in this embodiment, based on the description in FIG. 6, and the numeric value of the fourth identifier STSplitMode is also 5 May be STSplitMode = 5, which indicates that the split mode corresponding to the node corresponding to the fourth identifier is quadtree split.

이에 상응하여, 본 실시예의 제4 식별자는 제4 정보를 더 포함하고(본 명세서에서 제4 정보는 STQTSplitFlag로 표시된다), 제4 정보는 쿼드트리 분할에 기초하여 제1 노드를 분할할지를 나타내는 데 사용된다. 다시 말해, 본 실시예의 제4 식별자는 제1 정보, 제2 정보, 제3 정보 및 제4 정보를 포함한다. 이 실시예에서, STQTSplitFlag의 숫자 값이 1이면, 이는 제4 식별자에 대응하는 노드에 대응하는 분할 모드가 쿼드트리 분할을 포함한다는 것을 나타내거나; 또는 STQTSplitFlag의 숫자 값이 0이면, 이는 제4 식별자에 대응하는 노드에 대응하는 후보-분할-모드 세트가 쿼드트리 분할을 포함하지 않음을 나타낸다.Correspondingly, the fourth identifier of the present embodiment further includes fourth information (in this specification, the fourth information is represented by STQTSplitFlag), and the fourth information indicates whether to split the first node based on quadtree splitting. Used. In other words, the fourth identifier of the present embodiment includes first information, second information, third information, and fourth information. In this embodiment, if the numeric value of STQTSplitFlag is 1, it indicates that the splitting mode corresponding to the node corresponding to the fourth identifier includes quadtree splitting; Or if the numeric value of STQTSplitFlag is 0, this indicates that the candidate-split-mode set corresponding to the node corresponding to the fourth identifier does not include quadtree splitting.

구체적으로, 디코더 장치는 제2-레벨 코딩 트리에 대응하는 노드 분할 모드 정보를 결정하기 위해 제1 정보, 제2 정보, 제3 정보 및 제4 정보를 순차적으로 결정한다.In detail, the decoder device sequentially determines the first information, the second information, the third information, and the fourth information to determine the node division mode information corresponding to the second-level coding tree.

도 6의 실시예에서의 그것과 유사하게, 본 실시예의 디코더 장치는 도 6에서의 실시예에서의 제1 숫자 값 및 제4 정보의 내용에 기초하여 제1 정보를 결정하여, 제2 정보 및 제3 정보를 결정할 수 있다.Similarly to that in the embodiment of FIG. 6, the decoder device of the present embodiment determines the first information based on the content of the first numeric value and the fourth information in the embodiment of FIG. The third information can be determined.

예를 들어, 디코더 장치는 표 11에 도시된 파싱 모드에서 제1 정보 STSplitFlag를 결정하고, 표 12에 도시된 파싱 모드에서 제4 정보 STQTSplitFlag를 결정할 수 있다. 표 11에서, QT의 숫자 값 1이면, QT 분할 모드에서 제1 노드가 분할된다는 것을 나타내거나; 또는 QT의 숫자 값이 0이면, QT 분할 모드에서 제1 노드 분할이 허용되지 않음을 나타낸다. "NumType> 0 || QT"가 만족되면, 디코더 장치는 비트스트림으로부터 STSplitFlag를 파싱하고; 그렇지 않으면(즉, "NumType == 0 &&! QT"가 충족되면), STSplitFlag의 숫자 값은 디폴트에 의해 0이다. STSplitFlag의 숫자 값이 1이면, 디코더 장치는 STQTSplitFlag를 계속 파싱하고; 그렇지 않으면 STQTSplitFlag, STSplitDir 및 STSplitType의 숫자 값은 디폴트에 의해 모두 0이다.For example, the decoder device may determine the first information STSplitFlag in the parsing mode shown in Table 11, and determine the fourth information STQTSplitFlag in the parsing mode shown in Table 12. In Table 11, if the numerical value of QT is 1, it indicates that the first node is split in the QT splitting mode; Or if the numerical value of QT is 0, it indicates that the first node split is not allowed in the QT split mode. If "NumType> 0 QT" is satisfied, the decoder device parses the STSplitFlag from the bitstream; Otherwise (ie, if "NumType == 0 &&! QT" is satisfied), the numeric value of STSplitFlag is 0 by default. If the numeric value of STSplitFlag is 1, the decoder device continues parsing STQTSplitFlag; Otherwise, the numeric values of STQTSplitFlag, STSplitDir, and STSplitType are all zeros by default.

표 12로부터, 제1 노드에 대응하는 분할 모드가 쿼드트리 분할을 포함할 때, 디코더 장치는 비트스트림으로부터 STQTSplitFlag를 파싱하고; 그렇지 않으면, STQTSplitFlag의 숫자 값은 디폴트에 의해 0이다는 것을 알 수 있다. STQTSplitFlag의 숫자 값이 0이면, STSplitDir 및 STSplitType은 계속해서 순차적으로 파싱되며, 그렇지 않으면 STSplitDir 및 STSplitType의 숫자 값은 디폴트에 의해 0이다.From Table 12, when the splitting mode corresponding to the first node includes quadtree splitting, the decoder device parses the STQTSplitFlag from the bitstream; Otherwise, it can be seen that the numeric value of STQTSplitFlag is 0 by default. If the numeric value of STQTSplitFlag is 0, the STSplitDir and STSplitType continue to be parsed sequentially, otherwise the numeric value of STSplitDir and STSplitType is 0 by default.

이 실시예에서, STSplitDir 및 STSplitType을 파싱하는 모드는 도 6의 실시예에서의 STSplitDir 및 STSplitType을 파싱하는 모드와 동일하다. 세부 사항은 여기서 다시 설명하지 않는다.In this embodiment, the mode of parsing STSplitDir and STSplitType is the same as the mode of parsing STSplitDir and STSplitType in the embodiment of FIG. Details are not described here again.

NumType > 0 || QTNumType> 0 || QT NumType == 0 && !QTNumType == 0 &&! QT STSplitFlagSTSplitFlag aa NA(0)NA (0)

QTQT !QT! QT STQTSplitFlagSTQTSplitFlag aa NA(0)NA (0)

STSplitFlag, STSplitDir, STSplitType 및 STQTSplitFlag의 숫자 값을 결정한 후, 디코더 장치는 4개의 숫자 값에 기초하여 제4 식별자(STSplitMode)를 결정할 수 있으며, 즉, 제2-레벨 코딩 트리의 제1 노드의 분할 모드 정보를 결정할 수 있다.After determining the numerical values of STSplitFlag, STSplitDir, STSplitType, and STQTSplitFlag, the decoder device may determine the fourth identifier STSplitMode based on the four numerical values, that is, the split mode of the first node of the second-level coding tree. Information can be determined.

예를 들어, 디코더 장치는 표 13에 도시된 맵핑 모드에서 STSplitFlag, STSplitDir, STSplitType 및 STQTSplitFlag의 숫자 값에 기초하여 STSplitMode의 숫자 값을 결정한다.For example, the decoder device determines the numerical value of STSplitMode based on the numerical values of STSplitFlag, STSplitDir, STSplitType, and STQTSplitFlag in the mapping mode shown in Table 13.

STSplitModeSTSplitMode STSplitFlagSTSplitFlag STQTSplitFlagSTQTSplitFlag STSplitDirSTSplitDir STSplitTypeSTSplitType 00 00 00 00 00 1One 1One 00 00 00 22 1One 00 1One 00 33 1One 00 00 1One 44 1One 00 1One 1One 55 1One 1One 00 00

다른 정보와 마찬가지로, 이 실시예에서의 STQTSplitFlag는 바이 패스 모드로 인코딩되거나 하나 이상의 확률 모델을 사용하여 인코딩될 수도 있다.As with other information, the STQTSplitFlag in this embodiment may be encoded in bypass mode or encoded using one or more probability models.

S703. 제2-레벨 코딩 트리의 노드 분할 모드 정보가 제2-레벨 코딩 트리의 제1 노드에 대응하는 분할 모드가 비 추가 분할인 것을 나타내면, 디코더 장치는 비트스트림을 파싱하여 제1 노드의 인코딩 정보를 획득한다.S703. If the node splitting mode information of the second-level coding tree indicates that the splitting mode corresponding to the first node of the second-level coding tree is non-additional splitting, the decoder device parses the bitstream to obtain encoding information of the first node. Acquire.

S703에 대해서는 S603을 참조한다. 세부 사항은 여기서 다시 설명하지 않는다.See S603 for S703. Details are not described here again.

디코더 장치는 제1 노드의 3개의 자식 노드의 인코딩 정보에 기초하여 코딩 유닛을 디코딩 및 재구성하여 화상 데이터에 대응하는 화상을 획득한다.The decoder device decodes and reconstructs the coding unit based on the encoding information of the three child nodes of the first node to obtain an image corresponding to the picture data.

S704에 대해서는 S604를 참조한다. 세부 사항은 여기서 다시 설명하지 않는다.See S604 for S704. Details are not described here again.

도 6의 실시예와 비교하면, 본 실시예에서, 제2-레벨 코딩 트리에 대응하는 분할 모드는 쿼드트리 분할을 더 포함하고, 제1 노드에 대응하는 후보-분할-모드 세트에 포함된 분할 모드는 더 제한된다. 이러한 방식으로, 디코더 장치의 디코딩 효율이 더 개선될 수 있다.Compared with the embodiment of FIG. 6, in this embodiment, the splitting mode corresponding to the second-level coding tree further includes quadtree splitting, and the splitting included in the candidate-split-mode set corresponding to the first node. The mode is more limited. In this way, the decoding efficiency of the decoder device can be further improved.

또한, 본 출원의 실시예는 화상 데이터 인코딩 방법을 추가로 제공한다. 인코딩 방법은 도 4에 도시된 화상 처리 시스템에 적용될 수 있다.In addition, embodiments of the present application further provide a method of encoding image data. The encoding method can be applied to the image processing system shown in FIG.

도 8에 도시된 바와 같이, 본 출원의 이 실시예에 의해 제공되는 화상 데이터 인코딩 방법은 다음 단계를 포함한다.As shown in Fig. 8, the image data encoding method provided by this embodiment of the present application includes the following steps.

S800. 인코더 장치는 인코딩될 화상 블록에 대응하는 CTU를 결정한다.S800. The encoder device determines the CTU corresponding to the picture block to be encoded.

전술한 설명으로부터, 화상은 복수의 CTU를 포함하고, 하나의 CTU는 일반적으로 하나의 정사각형 화상 영역에 대응한다는 것을 알 수 있다. 화상을 획득한 후, 인코더 장치는 화상의 각 CTU를 인코딩한다.From the foregoing description, it can be seen that an image includes a plurality of CTUs, and one CTU generally corresponds to one square image area. After obtaining the picture, the encoder device encodes each CTU of the picture.

인코더 장치에 의해 모든 CTU를 인코딩하는 프로세스는 동일하다. 따라서, 인코더 장치가 하나의 CTU를 인코딩하는 예를 사용함으로써 본 출원의 이 실시예에서 설명이 제공된다.The process of encoding all CTUs by the encoder device is the same. Thus, a description is provided in this embodiment of the present application by using an example in which the encoder device encodes one CTU.

S801. 인코더 장치는 제1-레벨 코딩 트리에 대응하는 노드 분할 모드에서 CTU를 분할하여 제1-레벨 코딩 트리의 리프 노드를 획득한다.S801. The encoder apparatus obtains a leaf node of the first-level coding tree by dividing the CTU in the node division mode corresponding to the first-level coding tree.

제1-레벨 코딩 트리의 루트 노드는 CTU에 대응하고, 제1-레벨 코딩 트리에 대응하는 노드 분할 모드는 쿼드트리 분할이다.The root node of the first-level coding tree corresponds to the CTU, and the node splitting mode corresponding to the first-level coding tree is quadtree splitting.

구체적으로, 인코더 장치는 CTU를 제1-레벨 코딩 트리의 루트 노드로서 결정하고, QT 분할 모드에서 CTU를 적어도 하나의 리프 노드로 재귀적으로 분할한다.Specifically, the encoder apparatus determines the CTU as the root node of the first-level coding tree, and recursively splits the CTU into at least one leaf node in the QT partitioning mode.

제1-레벨 코딩 트리의 적어도 하나의 리프 노드를 획득한 후, 인코더 장치는 제1-레벨 코딩 트리의 각 리프 노드를 제2-레벨 코딩 트리의 루트 노드로 결정하고, 제2-레벨 코딩 트리의 모든 리프 노드에 대한 정보가 획득될 때까지, 제2-레벨 코딩 트리의 각 루트 노드에 대해 다음의 단계를 순차적으로 수행한다. 인코더 장치가 제2-레벨 코딩 트리의 제1 노드를 처리하는 예를 사용함으로써 본 출원의 이 실시예에서 설명이 제공된다.After obtaining at least one leaf node of the first-level coding tree, the encoder apparatus determines each leaf node of the first-level coding tree as the root node of the second-level coding tree, and the second-level coding tree The following steps are sequentially performed for each root node of the second-level coding tree until information for all leaf nodes of is obtained. Description is provided in this embodiment of the present application by using an example in which the encoder apparatus processes a first node of a second-level coding tree.

S802. 인코더 장치는 제2-레벨 코딩 트리의 제1 노드에 대응하는 후보-분할-모드 세트를 결정하며, 제1 노드에 대응하는 후보-분할-모드 세트는 제1 사전 설정 분할 조건을 만족한다.S802. The encoder apparatus determines a candidate-division-mode set corresponding to the first node of the second-level coding tree, and the candidate-division-mode set corresponding to the first node satisfies the first preset division condition.

제1 사전 설정 분할 조건은 제1 노드가 목표 분할 모드에서 분할되고, 제2-레벨 코딩 트리의 루트 노드는 제1-레벨 코딩 트리의 리프 노드이고, 목표 분할 모드는 수평 2진 분할, 수평 3진 분할, 수직 2진 분할 및 수직 3진 분할 중 적어도 하나를 포함한다.The first preset splitting condition is that the first node is split in the target splitting mode, the root node of the second-level coding tree is a leaf node of the first-level coding tree, and the target splitting mode is horizontal binary splitting, horizontal 3 At least one of binary division, vertical binary division, and vertical ternary division.

일반적으로, 제1 노드의 분할에 대한 제약이 없는 경우, 제1 노드에 이용 가능한 분할 모드는 비 추가 분할(no further splitting), 수평 2진 분할, 수평 3진 분할, 수직 2진 분할, 수직 3진 분할 및 쿼드트리 분할을 포함한다. 이 경우, 인코더 장치는 6개의 분할 모드의 RD 비용을 순차적으로 계산해야 하므로, 비교적 높은 인코딩 복잡성을 야기한다.In general, if there are no restrictions on the splitting of the first node, the splitting modes available for the first node are no further splitting, horizontal binary splitting, horizontal ternary splitting, vertical binary splitting, vertical 3 It includes binary partitioning and quadtree partitioning. In this case, the encoder device must calculate the RD costs of the six split modes sequentially, resulting in a relatively high encoding complexity.

본 출원의 이 실시예는 제1 노드에 이용 가능한 분할 모드를 제한하기 위한 제1 사전 설정 분할 조건을 제안한다. 제1 사전 설정 분할 조건은 도 6에 도시된 실시예에서 설명된 제1 사전 설정 분할 조건과 동일하다. 세부 사항은 여기서 다시 설명하지 않는다.This embodiment of the present application proposes a first preset partitioning condition for limiting the partitioning mode available to the first node. The first preset dividing condition is the same as the first preset dividing condition described in the embodiment shown in FIG. Details are not described here again.

제1 노드에 대응하는 후보-분할-모드 세트에 포함된 분할 모드의 수량은 제1 사전 설정 분할 조건에 의해 제한된다. 이러한 방식으로, 인코더 장치는 대부분의 경우 제1 노드에 대한 6개의 분할 모드의 RD 비용을 계산할 필요가 없으므로 인코딩 복잡성을 감소시킨다.The quantity of splitting modes included in the candidate-split-mode set corresponding to the first node is limited by the first preset splitting condition. In this way, the encoder device reduces the encoding complexity since in most cases it is not necessary to calculate the RD cost of the six split modes for the first node.

S803. 제1 노드에 대응하는 후보-분할-모드 세트가 비 추가 분할을 포함하면, 인코더 장치는 제1 노드에 대응하는 CU를 인코딩하여 CU에 대응하는 코딩 유닛 비트스트림을 획득한다.S803. If the candidate-division-mode set corresponding to the first node includes non-additional division, the encoder device encodes the CU corresponding to the first node to obtain a coding unit bitstream corresponding to the CU.

제1 노드에 대응하는 후보-분할-모드 세트가 비 추가 분할을 포함하면, 이는 제1 노드가 제2-레벨 코딩 트리의 리프 노드이고 제1 노드는 하나의 CU에 대응한다는 것을 나타낸다. 인코더 장치는 제1 노드에 대응하는 CU를 인코딩하여 CU에 대응하는 코딩 유닛 비트스트림을 획득한다.If the candidate-division-mode set corresponding to the first node includes non-additional splitting, this indicates that the first node is a leaf node of the second-level coding tree and the first node corresponds to one CU. The encoder device encodes a CU corresponding to the first node to obtain a coding unit bitstream corresponding to the CU.

구체적으로, CU 인코딩은 예측(prediction), 변환(transform), 양자화(quantization) 및 엔트로피 코딩(entropy coding)과 같은 절차를 포함한다. CU의 경우, 인코더 장치가 CU를 인코딩하여 CU에 대응하는 CU 비트스트림을 획득하는 프로세스는 주로 다음 단계를 포함한다:Specifically, CU encoding includes procedures such as prediction, transform, quantization, and entropy coding. In the case of a CU, the process by which the encoder device encodes a CU to obtain a CU bitstream corresponding to the CU mainly includes the following steps:

(1) 인코더 장치는 예측 모드에 기초하여 인트라 예측 또는 인터 예측을 선택하여 CU의 예측된 픽셀을 획득한다.(1) The encoder apparatus selects intra prediction or inter prediction based on the prediction mode to obtain predicted pixels of the CU.

(2). 인코더 장치는 CU의 원래 픽셀과 CU의 예측된 픽셀 사이의 잔차를 변경 및 양자화하여 변환 계수를 획득하고, 획득된 변환 계수에 대한 역 양자화 및 역변환 처리를 수행하여 CU의 재구성된 잔차를 획득한다.(2). The encoder device obtains transform coefficients by changing and quantizing the residual between the original pixel of the CU and the predicted pixel of the CU, and performs inverse quantization and inverse transform processing on the obtained transform coefficients to obtain a reconstructed residual of the CU.

(3) CU의 예측된 픽셀 및 CU의 재구성된 잔차를 추가한 후, 인코더 장치는 루프 필터링 처리를 수행하여 CU의 재구성된 픽셀을 획득한다.(3) After adding the predicted pixels of the CU and the reconstructed residual of the CU, the encoder device performs a loop filtering process to obtain the reconstructed pixels of the CU.

(4) 인코더 장치는 예측 모드 및 CU의 변환 계수와 같은 정보에 대해 엔트로피 코딩을 수행하여 CU의 비트스트림을 획득한다.(4) The encoder device performs entropy coding on information such as a prediction mode and transform coefficients of the CU to obtain a bitstream of the CU.

인코더 장치가 CU를 인코딩하여 CU의 CU 비트스트림을 획득하는 상세한 프로세스에 대해서는 기존의 CU 비트스트림 생성 방법을 참조하고, 세부 사항은 여기서 다시 설명되지 않는다.For the detailed process of the encoder device encoding the CU to obtain the CU bitstream of the CU, refer to the existing CU bitstream generation method, and details are not described herein again.

S804. 제1 노드에 대응하는 후보-분할-모드 세트가 비 추가 분할을 포함하지 않으면, 인코더 장치는 제1 노드에 대응하는 후보-분할-모드 세트에서 각각의 분할 모드의 RD 비용을 계산한다.S804. If the candidate-division-mode set corresponding to the first node does not include non-additional division, the encoder apparatus calculates the RD cost of each division mode in the candidate-division-mode set corresponding to the first node.

제1 노드에 대응하는 후보-분할-모드 세트 중 하나의 후보-분할-모드 세트에 대해, 인코더 장치는 이 분할 모드에서 제1 노드를 분할하고, 제1 노드가 이 분할 모드에서 분할된 후에 획득된 모든 CU를 획득한다. 인코더 장치는 각 CU의 RD 비용을 계산하고 모든 CU의 RD 비용의 합을 이 분할 모드의 RD 비용으로 결정한다.For one candidate-division-mode set of one of the candidate-division-mode sets corresponding to the first node, the encoder apparatus divides the first node in this division mode, and obtains after the first node is divided in this division mode. Get all CUs. The encoder device calculates the RD cost of each CU and determines the sum of the RD costs of all CUs as the RD cost of this split mode.

선택적으로, 임의의 CU에 대해, CU의 RD 비용은 CU에 포함된 픽셀의 재구성 왜곡의 제곱 오차의 합(Sum of Squared Errors, SSE)과 CU에 대응하는 비트스트림에서의 비트의 수량의 추정된 값의 가중 합(weighted sum)과 동일하다.Optionally, for any CU, the RD cost of the CU is estimated by the sum of the squared errors (SSE) of the reconstruction distortion of the pixels included in the CU and the quantity of bits in the bitstream corresponding to the CU. Equivalent to the weighted sum of the values.

S805. 인코더 장치는 최소 레이트 왜곡 비용에 대응하는 분할 모드를 제1 노드에 대응하는 목표 분할 모드로 결정한다.S805. The encoder apparatus determines the division mode corresponding to the minimum rate distortion cost as the target division mode corresponding to the first node.

S806. 인코더 장치는 제1 노드에 대응하는 목표 분할 모드에서 제1 노드를 분할한다.S806. The encoder device splits the first node in the target splitting mode corresponding to the first node.

제1 노드에 대응하는 목표 분할 모드에서 제1 노드를 분할한 후, 인코더 장치는 제2-레벨 코딩 트리의 모든 리프 노드가 획득될 때까지 제1 노드의 각 자식 노드에 대해 S802 내지 S806을 순차적으로 수행한다.After dividing the first node in the target splitting mode corresponding to the first node, the encoder apparatus sequentially processes S802 to S806 for each child node of the first node until all leaf nodes of the second-level coding tree are obtained. To be done.

제2-레벨 코딩 트리의 각 리프 노드는 하나의 CU에 대응한다. 제2-레벨 코딩 트리의 모든 리프 노드를 획득한 후, 인코더 장치는 제2-레벨 코딩 트리의 각 리프 노드에 대응하는 CU를 획득할 수 있다. S803으로부터, 인코더 장치는 CU를 인코딩하여 CU에 대응하는 CU 비트스트림을 획득할 수 있다는 것을 알 수 있다. 따라서, 인코더 장치는 적어도 하나의 CU 비트스트림을 획득할 수 있다. 이러한 방식으로, 인코더 장치는 적어도 하나의 CU 비트스트림, 제1-레벨 코딩 트리에 대응하는 노드 분할 모드 정보 및 제2-레벨 코딩 트리에 대응하는 노드 분할 모드 정보에 기초하여 CTU 비트스트림을 획득하여 화상 데이터를 포함하는 비트스트림 생성할 수 있다.Each leaf node of the second-level coding tree corresponds to one CU. After obtaining all leaf nodes of the second-level coding tree, the encoder apparatus can obtain a CU corresponding to each leaf node of the second-level coding tree. From S803, it can be seen that the encoder device can obtain a CU bitstream corresponding to the CU by encoding the CU. Thus, the encoder device may obtain at least one CU bitstream. In this way, the encoder apparatus obtains the CTU bitstream based on at least one CU bitstream, node split mode information corresponding to the first-level coding tree, and node split mode information corresponding to the second-level coding tree. A bitstream including image data can be generated.

또한, 본 출원의 이 실시예에서의 인코더 장치는 제2 사전 설정 분할 조건에 따라, 제1 노드에 대응하는 후보-분할-모드 세트를 추가로 결정할 수 있다.In addition, the encoder apparatus in this embodiment of the present application may further determine a candidate-division-mode set corresponding to the first node according to the second preset division condition.

여기서, 제2 사전 설정 분할 조건은 다음과 같은 사전 설정 분할 하위 조건 중 적어도 하나를 포함할 수 있다.Here, the second preset splitting condition may include at least one of the following preset splitting subconditions.

제10 사전 설정 분할 하위 조건: 제2-레벨 코딩 트리에서 제1 노드의 깊이가 제2-레벨 코딩 트리에서 사전 설정된 최대 깊이보다 작으면, 제1 노드에 대응하는 후보-분할-모드 세트는 쿼드트리 분할을 포함하지 않는다.10th preset partitioning subcondition: if the depth of the first node in the second-level coding tree is less than the preset maximum depth in the second-level coding tree, the candidate-division-mode set corresponding to the first node is quad. Does not include tree splitting.

제11 사전 설정 분할 하위 조건: 제1 노드에 대응하는 화상 영역의 폭 대 높이 비가 제5 사전 설정 임계치보다 크면, 제1 사전 설정에 대응하는 후보-분할-모드 세트는 쿼드트리 분할을 포함하지 않는다.Eleventh Preset Split Subcondition: If the width-to-height ratio of the picture region corresponding to the first node is greater than the fifth preset threshold, the candidate-division-mode set corresponding to the first preset does not include quadtree splitting. .

본 출원의 이 실시예에서, 제2-레벨 코딩 트리의 노드의 분할은 제1 사전 설정 조건에 의해 제한된다. 이러한 방식으로, 제2-레벨 코딩 트리의 노드를 분할하는 복잡성이 크게 감소되고, 인코딩 복잡성이 감소된다.In this embodiment of the present application, the partitioning of the nodes of the second-level coding tree is limited by the first preset condition. In this way, the complexity of splitting the nodes of the second-level coding tree is greatly reduced, and the encoding complexity is reduced.

본 출원의 실시예는 디코더 장치를 제공한다. 디코더 장치는 전술한 화상 데이터 디코딩 방법에서 디코더 장치에 의해 수행되는 단계들을 수행하도록 구성된다. 본 출원의 이 실시예에 의해 제공되는 디코더 장치는 해당 단계에 대응하는 모듈을 포함할 수 있다.An embodiment of the present application provides a decoder device. The decoder device is configured to perform the steps performed by the decoder device in the above-described image data decoding method. The decoder device provided by this embodiment of the present application may include a module corresponding to the corresponding step.

본 출원의 이 실시예에서, 디코더 장치의 기능 모듈의 분할은 전술한 방법의 예에 따라 수행될 수 있다. 예를 들어, 기능 모듈의 분할은 기능에 대응하여 수행될 수 있거나, 둘 이상의 기능이 하나의 처리 모듈에 통합될 수 있다. 통합 모듈은 하드웨어 형태로 구현되거나 소프트웨어 기능 모듈 형태로 구현될 수 있다. 본 출원의 이 실시예에서, 모듈 분할은 예시일 뿐이고 논리적 기능 분할일 뿐이며, 실제 구현에서 다른 분할일 수 있다.In this embodiment of the present application, the division of the functional module of the decoder device may be performed according to the example of the above-described method. For example, partitioning of function modules may be performed in correspondence with functions, or two or more functions may be integrated into one processing module. The integrated module may be implemented in the form of hardware or in the form of a software function module. In this embodiment of the present application, the module division is merely an example, logical function division, and may be other division in actual implementation.

기능에 대응하여 기능 모듈의 분할이 수행될 때, 도 9는 전술한 실시예에서의 단말 장치의 가능한 개략적인 구조도이다. 도 9에 도시된 바와 같이, 디코더 장치는 획득 모듈(900), 파싱 모듈(901), 및 디코딩 및 재구성 모듈(910)을 포함한다. 획득 모듈(900)은 전술한 실시예들에서 S600, S700 등을 수행함에 있어서 디코더 장치를 지원하도록 구성되며, 및/또는 본 출원에서 설명된 기술의 다른 프로세스를 수행하도록 구성된다. 파싱 모듈(901)은 전술한 실시예들에서 S601, S602, S603, S701, S702, S703 등을 수행함에 있어서 디코더 장치를 지원하도록 구성되고, 및/또는 본 출원에서 설명된 기술의 다른 프로세스를 수행하도록 구성된다. 디코딩 및 재구성 모듈(910)은 전술한 실시예에서 S604, S704 등을 수행함에 있어서 디코더 장치를 지원하도록 구성되고, 및/또는 본 출원에서 설명된 기술의 다른 프로세스를 수행하도록 구성된다. 전술한 방법 실시예들에서의 단계들의 모든 관련 내용은 대응하는 기능 모듈의 기능 설명에서 인용될 수 있으며, 세부 사항은 여기서 다시 설명되지 않는다. 확실히, 본 출원의 이 실시예에 의해 제공되는 디코더 장치는 전술한 모듈을 포함하지만 이에 제한되지는 않는다. 예를 들어, 디코더 장치는 저장 모듈(911)을 더 포함할 수 있다. 저장 모듈(911)은 디코더 장치의 프로그램 코드 및 데이터를 저장하도록 구성될 수 있다.When division of the function module is performed corresponding to the function, FIG. 9 is a schematic structural diagram of the terminal device in the above-described embodiment. As shown in FIG. 9, the decoder apparatus includes an acquisition module 900, a parsing module 901, and a decoding and reconstruction module 910. The acquisition module 900 is configured to support the decoder device in performing S600, S700, etc. in the above-described embodiments, and / or is configured to perform other processes of the techniques described in this application. The parsing module 901 is configured to support the decoder device in performing S601, S602, S603, S701, S702, S703, etc. in the above-described embodiments, and / or performs other processes of the techniques described in this application. It is configured to. The decoding and reconstruction module 910 is configured to support the decoder device in performing S604, S704, etc. in the above-described embodiment, and / or is configured to perform other processes of the techniques described in this application. All relevant details of the steps in the foregoing method embodiments may be cited in the functional description of the corresponding functional module, and details are not described herein again. Certainly, the decoder device provided by this embodiment of the present application includes, but is not limited to, the aforementioned module. For example, the decoder device may further include a storage module 911. The storage module 911 may be configured to store program code and data of the decoder device.

통합 유닛이 사용될 때, 본 출원의 이 실시예에서 파싱 모듈(901) 및 디코딩 및 재구성 모듈(910)은 도 5에서의 프로세서(57)일 수 있다. 획득 모듈(900)은 도 5에서의 RF 회로(50)일 수 있고, RF 회로(50)에 연결된 안테나 및 저장 모듈(911)은 도 5에서의 메모리(51)일 수 있다.When an integrated unit is used, the parsing module 901 and the decoding and reconstruction module 910 in this embodiment of the present application may be the processor 57 in FIG. 5. The acquisition module 900 may be the RF circuit 50 in FIG. 5, and the antenna and storage module 911 connected to the RF circuit 50 may be the memory 51 in FIG. 5.

디코더 장치가 실행될 때, 디코더 장치는 도 6 또는 도 7에 도시된 실시예에서 화상 데이터 디코딩 방법을 수행한다. 특정 화상 데이터 디코딩 방법에 대해서는, 도 6 또는 도 7에 도시된 전술한 실시예의 관련 설명을 참조한다. 세부 사항은 여기서 다시 설명하지 않는다.When the decoder device is executed, the decoder device performs the image data decoding method in the embodiment shown in Fig. 6 or 7. For a specific picture data decoding method, refer to the related description of the above-described embodiment shown in FIG. 6 or FIG. 7. Details are not described here again.

본 출원의 다른 실시예는 컴퓨터 판독 가능 저장 매체를 추가로 제공한다. 컴퓨터 판독 가능 저장 매체는 하나 이상의 프로그램 코드 그룹을 포함하고, 하나 이상의 프로그램은 명령을 포함한다. 디코더 장치 내의 프로세서가 프로그램 코드를 실행할 때, 디코더 장치는 도 6 또는 도 7에 도시된 화상 데이터 디코딩 방법을 수행한다.Another embodiment of the present application further provides a computer readable storage medium. Computer-readable storage media includes one or more program code groups, and one or more programs include instructions. When the processor in the decoder device executes the program code, the decoder device performs the image data decoding method shown in FIG. 6 or 7.

본 출원의 다른 실시예는 컴퓨터 프로그램 제품을 추가로 제공한다. 컴퓨터 프로그램 제품은 컴퓨터 실행 가능 명령을 포함하고, 컴퓨터 실행 가능 명령은 컴퓨터 판독 가능 저장 매체에 저장된다. 디코더 장치의 적어도 하나의 프로세서가 컴퓨터 판독 가능 저장 매체로부터 컴퓨터 실행 가능 명령을 읽을 수 있는 경우, 적어도 하나의 프로세서는 컴퓨터 실행 가능 명령을 실행하므로, 디코더 장치는 도 6 또는 도 7에 도시된 화상 데이터 디코딩 방법에서 디코더 장치의 단계를 수행한다.Another embodiment of the present application further provides a computer program product. The computer program product includes computer executable instructions, and the computer executable instructions are stored in a computer readable storage medium. When at least one processor of the decoder device is capable of reading computer executable instructions from a computer readable storage medium, the at least one processor executes the computer executable instructions, so that the decoder device is capable of the image data shown in FIG. 6 or 7. Performing the steps of the decoder device in the decoding method.

본 출원의 실시예는 인코더 장치를 제공한다. 인코더 장치는 전술한 화상 데이터 디코딩 방법에서 인코더 장치에 의해 수행되는 단계들을 수행하도록 구성된다. 본 출원의 이 실시예에 의해 제공되는 인코더 장치는 대응하는 단계에 대응하는 모듈을 포함할 수 있다.An embodiment of the present application provides an encoder device. The encoder apparatus is configured to perform the steps performed by the encoder apparatus in the above-described image data decoding method. The encoder device provided by this embodiment of the present application may comprise a module corresponding to the corresponding step.

본 출원의 이 실시예에서, 기능 모듈의 분할은 전술한 방법의 예에 따른 인코더 장치에서 수행될 수 있다. 예를 들어, 기능 모듈의 분할은 기능에 대응하여 수행될 수 있거나, 둘 이상의 기능이 하나의 처리 모듈에 통합될 수 있다. 통합 모듈은 하드웨어 형태로 구현되거나 소프트웨어 기능 모듈 형태로 구현될 수 있다. 본 출원의 이 실시예에서, 모듈 분할은 예시일 뿐이고 논리적 기능 분할일 뿐이며, 실제 구현에서 다른 분할일 수 있다.In this embodiment of the present application, the division of the functional module may be performed in the encoder apparatus according to the example of the above-described method. For example, partitioning of function modules may be performed in correspondence with functions, or two or more functions may be integrated into one processing module. The integrated module may be implemented in the form of hardware or in the form of a software function module. In this embodiment of the present application, the module division is merely an example, logical function division, and may be other division in actual implementation.

기능에 대응하여 기능 모듈의 분할이 수행될 때, 도 10은 전술한 실시예에서의 단말 장치의 가능한 개략적인 구조도이다. 도 10에 도시된 바와 같이, 인코더 장치는 결정 모듈(1000), 분할 모듈(1001), 인코딩 모듈(1010) 및 계산 모듈(1011)을 포함한다. 결정 모듈(1000)은 전술한 실시예에서 S800, S802, S805 등을 수행함에 있어서 인코더 장치를 지원하고 및/또는 본 명세서에 설명된 기술에서 다른 프로세스를 수행하도록 구성된다. 분할 모듈(1001)은 전술한 실시예에서 S801, S806 등을 수행함에 있어서 인코더 장치를 지원하고 및/또는 본 명세서에 설명된 기술에서 다른 프로세스를 수행하도록 구성된다. 인코딩 모듈(1010)은 전술한 실시예에서 S803을 수행함에 있어서 인코더 장치를 지원하고 및/또는 본 명세서에 설명된 기술에서 다른 프로세스를 수행하도록 구성된다. 계산 모듈(1011)은 전술한 실시예에서 S804를 수행함에 있어서 인코더 장치를 지원하고 및/또는 본 명세서에 설명된 기술에서 다른 프로세스를 수행하도록 구성된다. 전술한 방법 실시예에서의 단계들의 모든 관련 내용은 대응하는 기능 모듈의 기능 설명에서 인용될 수 있으며, 세부 사항은 여기서 다시 설명되지 않는다. 확실히, 본 출원의 이 실시예에 의해 제공되는 인코더 장치는 전술한 모듈을 포함하지만 이에 제한되지는 않는다. 예를 들어, 인코더 장치는 저장 모듈(1002), 전송 모듈(1003) 및 수신 모듈(1004)을 더 포함할 수 있다. 저장 모듈(1002)은 인코더 장치의 프로그램 코드 및 데이터를 저장하도록 구성될 수 있다. 전송 모듈(1003) 및 수신 모듈(1004)은 다른 장치와 통신하도록 구성된다.When division of the function module is performed corresponding to the function, FIG. 10 is a possible schematic structural diagram of the terminal device in the above-described embodiment. As shown in FIG. 10, the encoder apparatus includes a determination module 1000, a division module 1001, an encoding module 1010, and a calculation module 1011. The determination module 1000 is configured to support the encoder device in performing S800, S802, S805, etc. in the above-described embodiments and / or to perform other processes in the techniques described herein. The splitting module 1001 is configured to support the encoder device in performing S801, S806, etc. in the above-described embodiment and / or to perform other processes in the techniques described herein. The encoding module 1010 is configured to support the encoder device in performing S803 in the above-described embodiment and / or to perform other processes in the techniques described herein. The calculation module 1011 is configured to support the encoder device in performing S804 in the above-described embodiment and / or to perform other processes in the techniques described herein. All relevant details of the steps in the foregoing method embodiments may be cited in the functional description of the corresponding functional module, and details are not described herein again. Certainly, the encoder device provided by this embodiment of the present application includes, but is not limited to, the module described above. For example, the encoder device may further include a storage module 1002, a transmission module 1003, and a reception module 1004. The storage module 1002 may be configured to store program code and data of the encoder device. The transmitting module 1003 and the receiving module 1004 are configured to communicate with other devices.

본 출원의 이 실시예에서 통합 유닛이 사용될 때, 결정 모듈(1000), 분할 모듈(1001), 인코딩 모듈(1010) 및 계산 모듈(1011)은 도 5에서의 프로세서(57)일 수 있다. 전송 모듈(1003) 및 수신 모듈(1004)은 도 5에서의 RF 회로(50)일 수 있다. RF 회로(50)에 연결된 안테나 및 저장 모듈(1002)은 도 5에서의 메모리(51)일 수 있다.When the integration unit is used in this embodiment of the present application, the determination module 1000, the division module 1001, the encoding module 1010 and the calculation module 1011 may be the processor 57 in FIG. 5. The transmitting module 1003 and the receiving module 1004 may be the RF circuit 50 in FIG. 5. The antenna and storage module 1002 coupled to the RF circuit 50 may be the memory 51 in FIG. 5.

인코더 장치가 실행될 때, 인코더 장치는 도 1에 도시된 실시예에서 화상 데이터 디코딩 방법을 수행한다. 특정 화상 데이터 디코딩 방법에 대해서는, 도 8에 도시된 전술한 실시예의 관련 설명을 참조한다. 상세한 내용은 여기서 다시 설명하지 않는다.When the encoder device is executed, the encoder device performs the image data decoding method in the embodiment shown in FIG. For a specific picture data decoding method, refer to the related description of the above-described embodiment shown in FIG. Details are not described herein again.

본 출원의 다른 실시예는 컴퓨터 판독 가능 저장 매체를 추가로 제공한다. 컴퓨터 판독 가능 저장 매체는 하나 이상의 프로그램 코드 그룹을 포함하고, 하나 이상의 프로그램은 명령을 포함한다. 인코더 장치의 프로세서가 프로그램 코드를 실행할 때, 인코더 장치는 도 8에 도시된 화상 데이터 디코딩 방법을 수행한다.Another embodiment of the present application further provides a computer readable storage medium. Computer-readable storage media includes one or more program code groups, and one or more programs include instructions. When the processor of the encoder device executes the program code, the encoder device performs the image data decoding method shown in FIG.

본 출원의 다른 실시예에서, 컴퓨터 프로그램 제품이 추가로 제공된다. 컴퓨터 프로그램 제품은 컴퓨터 실행 가능 명령어를 포함하고, 컴퓨터 실행 가능 명령어는 컴퓨터 판독 가능 저장 매체에 저장된다. 인코더 장치의 적어도 하나의 프로세서는 컴퓨터 판독 가능 저장 매체로부터 컴퓨터 실행 가능 명령을 판독할 수 있고, 적어도 하나의 프로세서는 컴퓨터 실행 가능 명령을 실행하여, 인코더 장치는 도 8에 도시된 화상 데이터 디코딩 방법에서 인코더 장치의 단계들을 수행한다.In another embodiment of the present application, a computer program product is further provided. The computer program product includes computer executable instructions, and the computer executable instructions are stored in a computer readable storage medium. At least one processor of the encoder device may read computer executable instructions from a computer readable storage medium, and the at least one processor executes the computer executable instructions so that the encoder device may be used in the image data decoding method shown in FIG. Perform the steps of the encoder device.

전술한 실시예의 전부 또는 일부는 소프트웨어, 하드웨어, 펌웨어 또는 이들의 임의의 조합을 사용하여 구현될 수 있다. 실시예를 구현하기 위해 소프트웨어 프로그램이 사용될 때, 실시예는 컴퓨터 프로그램 제품의 형태로 완전히 또는 부분적으로 구현될 수 있다. 컴퓨터 프로그램 제품은 하나 이상의 컴퓨터 명령을 포함한다. 컴퓨터 프로그램 명령이 컴퓨터에 로딩되어 실행될 때, 본 출원의 실시예에 따른 절차 또는 기능은 모두 또는 부분적으로 생성된다. 컴퓨터는 범용 컴퓨터, 특수 목적 컴퓨터, 컴퓨터 네트워크 또는 다른 프로그램 가능한 장치일 수 있다. 컴퓨터 명령은 컴퓨터 판독 가능형 저장 매체에 저장될 수 있거나 컴퓨터 판독 가능형 저장 매체로부터 다른 컴퓨터 판독 가능 저장 매체로 전송될 수 있다. 예를 들어, 컴퓨터 명령은 유선 방식(예를 들어, 동축 케이블, 광섬유 또는 디지털 가입자 회선(DLS))으로, 또는 무선 방식(예를 들어, 적외선, 라디오 또는 마이크로웨이브)으로 웹 사이트, 컴퓨터, 서버 또는 데이터 센터로부터 다른 웹 사이트, 컴퓨터, 서버 또는 데이터 센터로 전송될 수 있다. 컴퓨터 판독 가능형 저장 매체는 컴퓨터에 의해 액세스 가능한 임의의 사용 가능한 매체, 또는 하나 이상의 사용 가능한 매체를 통합하는 서버 또는 데이터 센터와 같은 데이터 저장 장치일 수 있다. 사용 가능한 매체는 자기 매체(예를 들어, 플로피 디스크, 하드 디스크 또는 자기 테이프), 광학 매체(예를 들어, DVD), 반도체 매체(예를 들어, 솔리드 스테이트 디스크(SSD)) 등이 될 수 있다.All or part of the above-described embodiments may be implemented using software, hardware, firmware or any combination thereof. When a software program is used to implement an embodiment, the embodiment may be fully or partially implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When computer program instructions are loaded into a computer and executed, procedures or functions in accordance with embodiments of the present application are generated in whole or in part. The computer may be a general purpose computer, special purpose computer, computer network or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from the computer readable storage medium to another computer readable storage medium. For example, computer instructions may be wired (e.g., coaxial cable, optical fiber, or digital subscriber line (DLS)), or wireless (e.g., infrared, radio, or microwave) for a website, computer, server. Or from a data center to another web site, computer, server, or data center. Computer-readable storage media can be any available media that can be accessed by a computer, or a data storage device such as a server or data center incorporating one or more available media. Usable media can be magnetic media (eg, floppy disks, hard disks or magnetic tape), optical media (eg, DVD), semiconductor media (eg, solid state disks (SSD)), and the like. .

전술한 구현에 대한 설명으로, 당업자는 설명의 편의 및 간결성을 위해 전술한 기능 모듈의 분할이 단지 설명의 예로서 사용됨을 명확하게 이해할 수 있다. 실제 응용에서, 전술한 기능은 필요에 따라 구현하기 위해 상이한 기능 모듈에 할당될 수 있으며, 즉, 장치의 내부 구조는 전술한 기능의 전부 또는 일부를 구현하기 위해 상이한 기능 모듈로 분할된다.With the description of the foregoing implementations, those skilled in the art can clearly understand that the division of the above-described functional modules is used only as an example of description for convenience and brevity of description. In practical application, the above-described functions may be assigned to different function modules to implement as needed, that is, the internal structure of the apparatus is divided into different function modules to implement all or part of the above-described functions.

본 출원에서 제공하는 수개의 실시예에서, 전술한 시스템, 장치, 및 방법은 다른 방식으로도 실현될 수 있다는 것은 물론이다. 예를 들어, 설명된 장치 실시예는 단지 예시에 불과하다. 예를 들어, 유닛의 분할은 단지 일종의 논리적 기능 분할일 뿐이며, 실제의 실행 동안 다른 분할 방식으로 있을 수 있다. 예를 들어, 복수의 유닛 또는 구성요소를 다른 시스템에 결합 또는 통합할 수 있거나, 또는 일부의 특징은 무시하거나 수행하지 않을 수도 있다. 또한, 도시되거나 논의된 상호 커플링 또는 직접 결합 또는 통신 접속은 일부의 인터페이스를 통해 실현될 수 있다. 장치 또는 유닛 간의 간접 결합 또는 통신 접속은 전자식, 기계식 또는 다른 형태로 실현될 수 있다.In the several embodiments provided in this application, it goes without saying that the system, apparatus, and method described above can be realized in other ways as well. For example, the described device embodiments are merely illustrative. For example, the division of units is merely a sort of logical function division, and may be in a different division manner during actual execution. For example, a plurality of units or components may be combined or integrated into another system, or some features may be ignored or not performed. In addition, the illustrated or discussed mutual couplings or direct couplings or communication connections may be realized through some interfaces. Indirect coupling or communication connections between devices or units may be realized in electronic, mechanical or other forms.

별도의 부분으로 설명된 유닛들은 물리적으로 별개일 수 있고 아닐 수도 있으며, 유닛으로 도시된 부분은 물리적 유닛일 수도 있고 아닐 수도 있으며, 한 위치에 위치할 수도 있고, 복수의 네트워크 유닛에 분산될 수도 있다. 유닛 중 일부 또는 전부는 실제의 필요에 따라 선택되어 실시예의 솔루션의 목적을 달성할 수 있다.Units described as separate parts may or may not be physically separate, and parts shown as units may or may not be physical units, may be located in one location, or may be distributed across a plurality of network units. . Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.

또한, 본 발명의 실시예에서의 기능 유닛은 하나의 프로세싱 유닛으로 통합될 수 있거나, 각각의 유닛이 물리적으로 단독으로 존재할 수도 있거나, 2개 이상의 유닛이 하나의 유닛으로 통합될 수도 있다. 통합 유닛은 하드웨어의 형태로 실현될 수도 있고, 소프트웨어 기능 유닛의 형태로 실현될 수도 있다.In addition, the functional units in the embodiment of the present invention may be integrated into one processing unit, each unit may exist physically alone, or two or more units may be integrated into one unit. The integration unit may be realized in the form of hardware or in the form of a software functional unit.

통합 유닛이 소프트웨어 기능 유닛의 형태로 실현되어 독립 제품으로 시판되거나 사용되면, 이 통합 유닛은 컴퓨터 판독 가능형 저장 매체에 저장될 수 있다. 이러한 이해를 바탕으로, 본 발명의 필수적인 기술적 솔루션 또는 종래기술에 기여하는 부분, 또는 기술적 솔루션의 일부는 소프트웨어 제품의 형태로 실현될 수 있다. 컴퓨터 소프트웨어 제품은 저장 매체에 저장되고, 본 발명의 실시예에 설명된 방법의 단계 중 일부 또는 전부를 수행하도록 컴퓨터 장치(이것은 퍼스널 컴퓨터, 서버, 또는 네트워크 장치 등이 될 수 있다)에 명령하는 수개의 명령어를 포함한다. 전술한 저장 매체는: 프로그램 코드를 저장할 수 있는 임의의 저장 매체, 예를 들어, USB 플래시 디스크, 휴대형 하드디스크, 리드 온리 메모리(Read Only Memory, ROM), 랜덤 액세스 메모리(Random Access Memory, RAM), 자기디스크 또는 광디스크를 포함한다.If the integrated unit is realized in the form of a software functional unit and is marketed or used as a standalone product, the integrated unit can be stored in a computer readable storage medium. Based on this understanding, the essential technical solution of the present invention or the part contributing to the prior art, or part of the technical solution can be realized in the form of a software product. The computer software product may be stored on a storage medium and instruct a computer device (which may be a personal computer, a server, or a network device, etc.) to perform some or all of the steps of the method described in embodiments of the present invention. Contains two commands. The above-mentioned storage medium may be any storage medium capable of storing program code, for example, a USB flash disk, a portable hard disk, a read only memory (ROM), a random access memory (RAM). Magnetic disks or optical disks.

전술한 설명은 단지 본 발명의 특정한 실행 방식에 불과하며, 본 발명의 보호 범위를 제한하려는 것이 아니다. 본 발명에 설명된 기술적 범위 내에서 당업자가 용이하게 실현하는 모든 변형 또는 대체는 본 발명의 보호 범위 내에 있게 된다. 그러므로 본 발명의 보호 범위는 특허청구범위의 보호 범위에 있게 된다.The foregoing descriptions are merely specific implementation manners of the present invention, but are not intended to limit the protection scope of the present invention. All variations or replacements readily realized by those skilled in the art within the technical scope described in the present invention shall fall within the protection scope of the present invention. Therefore, the protection scope of the present invention shall fall within the protection scope of the claims.

Claims (28)

화상 데이터 디코딩 방법으로서,
상기 화상 데이터 디코딩 방법은:
화상 데이터를 포함하는 비트스트림을 획득하는 단계;
상기 비트스트림을 파싱하여 제1-레벨 코딩 트리의 노드 분할 모드 정보를 획득하는 단계 - 상기 제1-레벨 코딩 트리의 루트 노드(root node)는 하나의 코딩 트리 유닛(coding tree unit, CTU)에 대응하고, 상기 제1-레벨 코딩 트리의 리프 노드(leaf node)는 상기 제1-레벨 코딩 트리의 상기 루트 노드 및 상기 제1-레벨 코딩 트리의 상기 노드 분할 모드 정보에 대응하는 노드 분할 모드를 사용하여 식별됨 - ;
상기 비트스트림을 파싱하여 제2-레벨 코딩 트리의 노드 분할 모드 정보를 획득하는 단계 - 상기 제2-레벨 코딩 트리의 상기 노드 분할 모드 정보는 상기 제2-레벨 코딩 트리의 제1 노드에 대응하는 분할 모드를 나타내고, 상기 제1 노드에 대응하는 상기 분할 모드는 상기 제1 노드에 대응하는 후보-분할-모드 세트 내의 하나의 모드이며, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 제1 사전 설정 분할 조건에 따라 결정되고, 상기 제1 사전 설정 분할 조건은 상기 제1 노드가 목표 분할 모드에서 분할되는 것을 제한할지를 나타내는 데 사용되며, 상기 목표 분할 모드는 수평 2진 분할(horizontal binary split), 수평 3진 분할(horizontal ternary split), 수직 2진 분할 및 수직 3진 분할 중 적어도 하나를 포함하고, 상기 제2-레벨 코딩 트리의 루트 노드는 상기 제1-레벨 코딩 트리의 리프 노드임 - ;
상기 제1 노드에 대응하는 분할 모드가 비 추가 분할(no further splitting)이면, 상기 비트스트림을 파싱하여 상기 제1 노드의 인코딩 정보를 획득하는 단계 - 상기 제1 노드는 하나의 코딩 유닛(coding unit, CU)에 대응함 - ; 및
상기 제1 노드의 인코딩 정보에 기초하여 상기 코딩 유닛을 디코딩 및 재구성하여 상기 화상 데이터에 대응하는 화상을 획득하는 단계
를 포함하는 화상 데이터 디코딩 방법.
An image data decoding method,
The image data decoding method is:
Obtaining a bitstream including image data;
Parsing the bitstream to obtain node split mode information of the first-level coding tree, wherein a root node of the first-level coding tree is assigned to one coding tree unit (CTU). And a leaf node of the first-level coding tree corresponds to a node split mode corresponding to the root node of the first-level coding tree and the node split mode information of the first-level coding tree. -Identified using;
Parsing the bitstream to obtain node division mode information of a second-level coding tree, wherein the node division mode information of the second-level coding tree corresponds to a first node of the second-level coding tree. Indicating a splitting mode, wherein the splitting mode corresponding to the first node is one mode in the candidate-split-mode set corresponding to the first node, and wherein the candidate-split-mode set corresponding to the first node is Determined according to a first preset partitioning condition, wherein the first preset partitioning condition is used to indicate whether the first node is to be restricted from splitting in a target partitioning mode, wherein the target partitioning mode is a horizontal binary partition. and at least one of a horizontal ternary split, a vertical binary split, and a vertical ternary split, wherein the root node of the second-level coding tree is the first-first. Leaf nodes of the tree, being Coding Bell;
If the splitting mode corresponding to the first node is no further splitting, parsing the bitstream to obtain encoding information of the first node, wherein the first node comprises one coding unit , Corresponding to CU)-; And
Decoding and reconstructing the coding unit based on the encoding information of the first node to obtain an image corresponding to the image data
Image data decoding method comprising a.
제1항에 있어서,
상기 제1-레벨 코딩 트리에 대응하는 상기 노드 분할 모드는 쿼드트리 분할(quadtree split)을 포함하고, 상기 제2-레벨 코딩 트리에 대응하는 노드 분할 모드는 2진 트리 분할(binary tree split) 및 3진 트리 분할(ternary tree split)을 포함하는, 화상 데이터 디코딩 방법.
The method of claim 1,
The node splitting mode corresponding to the first-level coding tree includes a quadtree split, and the node splitting mode corresponding to the second-level coding tree includes binary tree split and A method of decoding picture data comprising a ternary tree split.
제1항 또는 제2항에 있어서,
상기 제1 사전 설정 분할 조건은 다음의 사전 설정 분할 하위 조건:
제1 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 화상 영역의 폭 대 높이 비(width-to-height ratio)가 제1 사전 설정 임계치보다 크거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수평 2진 분할 또는 상기 수평 3진 분할을 포함하지 않고, 여기서 상기 제1 노드에 대응하는 상기 화상 영역의 상기 폭 대 높이 비는 상기 제1 노드에 대응하는 상기 화상 영역의 폭 대 상기 제1 노드에 대응하는 상기 화상 영역의 높이의 비인 조건;
제2 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 화상 영역의 높이 대 폭 비가 제2 사전 설정 임계치보다 크거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수직 2진 분할 또는 상기 수직 3진 분할을 포함하지 않고, 여기서 상기 제1 노드에 대응하는 상기 화상 영역의 상기 높이 대 폭 비는 상기 제1 노드에 대응하는 상기 화상 영역의 높이 대 상기 제1 노드에 대응하는 상기 화상 영역의 폭의 비인 조건;
제3 사전 설정 분할 하위 조건: 상기 제1 노드가 속하는 상기 제1-레벨 코딩 트리의 상기 리프 노드에 대응하는 화상 영역의 면적에 대한 상기 제1 노드에 대응하는 상기 화상 영역의 면적의 비가 제3 사전 설정 임계치보다 작거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수평 2진 분할, 상기 수평 3진 분할, 상기 수직 2진 분할 또는 상기 수직 3진 분할을 포함하지 않는 조건;
제4 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 분할 모드가 제1 분할 모드를 포함하면, 상기 제1 노드의 제1 자식 노드의 디코딩은 상기 제1 노드의 제2 자식 노드의 디코딩보다 늦으며, 제2 자식 노드에 대응하는 분할 모드는 상기 제1 분할 모드이고, 상기 제1 자식 노드에 대응하는 후보-분할-모드 세트는 상기 제1 분할 모드를 포함하지 않고, 여기서 상기 제1 분할 모드는 상기 수평 2진 분할 또는 상기 수직 2진 분할인 조건;
제5 미리 설정된 분할 하위 조건: 상기 제1 노드에 대응하는 상기 분할 모드가 제2 분할 모드를 포함하고, 상기 제1 노드의 상기 제1 자식 노드에 대응하는 화상 영역의 면역이 상기 제1 노드의 3개의 자식 노드에 대응하는 화상 영역의 면역 중에서 가장 작으면, 상기 제1 자식 노드에 대응하는 상기 후보-분할-모드 세트는 상기 제2 분할 모드를 포함하지 않고, 여기서 상기 제2 분할 모드는 상기 수평 3진 분할 또는 상기 수직 3진 분할인 조건;
제6 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 분할 모드가 상기 제2 분할 모드를 포함하고, 상기 제1 노드의 상기 제1 자식 노드에 대응하는 상기 화상 영역의 면역이 상기 제1 노드의 상기 3개의 자식 노드에 대응하는 상기 화상 영역의 면역 중에서 가장 크면, 상기 제1 자식 노드에 대응하는 상기 후보-분할-모드 세트는 상기 제2 분할 모드를 포함하지 않는 조건;
제7 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 화상 영역의 폭 대 최소 CU의 사전 설정 측 길이(preset side length)의 비가 제3 사전 설정 임계치보다 작거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수직 3진 분할을 포함하지 않거나, 또는 상기 제1 노드에 대응하는 상기 화상 영역의 높이 대 상기 최소 CU의 상기 사전 설정 측 길이의 비가 상기 제3 사전 설정 임계치보다 작거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수평 3진 분할을 포함하는 조건;
제8 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 화상 영역의 면역이 제4 사전 설정 임계치보다 작거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수평 2진 분할, 상기 수평 3진 분할, 상기 수직 2진 분할 또는 상기 수직 3진 분할을 포함하지 않는 조건; 그리고
제9 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 분할 모드가 상기 제2 분할 모드이고, 상기 제1 노드의 상기 제1 자식 노드에 대응하는 상기 화상 영역의 면역이 상기 제1 노드의 상기 3개의 자식 노드에 대응하는 상기 화상 영역의 면역 중에서 가장 크면, 상기 제1 자식 노드에 대응하는 상기 후보-분할-모드 세트는 상기 제1 분할 모드를 포함하지 않으며, 여기서 상기 제1 분할 모드의 분할 방향은 상기 제2 분할의 분할 방향과 동일한 조건
중 적어도 하나를 포함하는, 화상 데이터 디코딩 방법.
The method according to claim 1 or 2,
The first preset splitting condition is a preset splitting subcondition:
First preset division sub-condition: if the width-to-height ratio of the picture area corresponding to the first node is greater than or equal to a first preset threshold, the candidate corresponding to the first node; The split-mode set does not include the horizontal binary division or the horizontal ternary division, wherein the width-to-height ratio of the image area corresponding to the first node is the image area corresponding to the first node. A condition that is the ratio of the width of to the height of the image area corresponding to the first node;
Second preset division sub-condition: if the height-to-width ratio of the picture region corresponding to the first node is greater than or equal to a second preset threshold, the candidate-division-mode set corresponding to the first node is the vertical; Not including binary division or the vertical ternary division, wherein the height to width ratio of the image region corresponding to the first node is equal to the height of the image region corresponding to the first node to the first node. A condition that is a ratio of the width of the corresponding image area;
Third preset division subcondition: a ratio of the area of the picture area corresponding to the first node to the area of the picture area corresponding to the leaf node of the first-level coding tree to which the first node belongs; If less than or equal to a preset threshold, the candidate-division-mode set corresponding to the first node does not include the horizontal binary division, the horizontal ternary division, the vertical binary division, or the vertical ternary division. Condition;
Fourth preset partitioning subcondition: if the partitioning mode corresponding to the first node includes a first partitioning mode, decoding of the first child node of the first node is to decode the second child node of the first node. A later splitting mode corresponding to a second child node is the first splitting mode, and the candidate-split-mode set corresponding to the first child node does not include the first splitting mode, where the first splitting mode is present. The splitting mode is the horizontal binary division or the vertical binary division;
Fifth preset division sub-condition: The division mode corresponding to the first node includes a second division mode, and the immunity of the image area corresponding to the first child node of the first node is equal to that of the first node. If the smallest of the immunities of the picture regions corresponding to three child nodes is small, the candidate-division-mode set corresponding to the first child node does not include the second partitioning mode, wherein the second partitioning mode is the A condition that is a horizontal ternary division or the vertical ternary division;
Sixth preset division subcondition: the division mode corresponding to the first node includes the second division mode, and the immunity of the image region corresponding to the first child node of the first node is determined by the first divisional mode. The largest of the immunities of the picture regions corresponding to the three child nodes of the node, the condition that the candidate-division-mode set corresponding to the first child node does not include the second division mode;
Seventh preset division subcondition: if the ratio of the width of the picture area corresponding to the first node to a preset side length of the minimum CU is less than or equal to a third preset threshold, The corresponding candidate-division-mode set does not include the vertical ternary division, or the ratio of the height of the picture region corresponding to the first node to the preset side length of the minimum CU is the third preset. If less than or equal to a threshold, the candidate-division-mode set corresponding to the first node comprises the horizontal ternary division;
Eighth preset partitioning subcondition: if the immunity of the picture region corresponding to the first node is less than or equal to a fourth preset threshold, the candidate-division-mode set corresponding to the first node is the horizontal binary. A condition not including division, the horizontal ternary division, the vertical binary division, or the vertical ternary division; And
9th preset partitioning subcondition: the partitioning mode corresponding to the first node is the second partitioning mode, and the immunity of the image area corresponding to the first child node of the first node is equal to that of the first node. If the immunity of the picture region corresponding to the three child nodes is the largest, the candidate-division-mode set corresponding to the first child node does not include the first partitioning mode, wherein The division direction is the same as the division direction of the second division
And at least one of the following.
제1항 내지 제3항 중 어느 한 항에 있어서,
상기 제2-레벨 코딩 트리의 상기 노드 분할 모드 정보는 제1 정보, 제2 정보 및 제3 정보를 포함하고, 상기 제1 정보는 상기 제1 노드를 추가로 분할할지를 나타내는 데 사용되고, 상기 제2 정보는 상기 제1 노드가 분할되는 방향을 나타내는 데 사용되고, 상기 제3 정보는 상기 제1 노드가 분할되는 모드를 나타내는 데 사용되며; 그리고
상기 비트스트림을 파싱하여 제2-레벨 코딩 트리의 노드 분할 모드 정보를 획득하는 단계는 구체적으로:
상기 비트스트림을 파싱하여, 상기 제1 사전 설정 분할 조건에 따라, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트를 결정하는 단계; 및
상기 제1 노드에 대응하는 후보-분할-모드 세트에 기초하여 상기 비트스트림을 파싱하여, 상기 제1 정보, 상기 제2 정보 및 상기 제3 정보를 결정하는 단계
를 포함하는, 화상 데이터 디코딩 방법.
The method according to any one of claims 1 to 3,
The node division mode information of the second-level coding tree includes first information, second information, and third information, wherein the first information is used to indicate whether to further partition the first node, and the second Information is used to indicate a direction in which the first node is split, and the third information is used to indicate a mode in which the first node is split; And
Parsing the bitstream to obtain node division mode information of a second-level coding tree specifically:
Parsing the bitstream to determine, according to the first preset partitioning condition, the candidate-division-mode set corresponding to the first node; And
Parsing the bitstream based on a candidate-division-mode set corresponding to the first node to determine the first information, the second information, and the third information.
Image data decoding method comprising a.
제4항에 있어서,
상기 제1 노드에 대응하는 후보-분할-모드 세트에 기초하여 상기 비트스트림을 파싱하여, 상기 제1 정보, 상기 제2 정보 및 상기 제3 정보를 결정하는 단계는 구체적으로:
제1 숫자 값을 결정하는 단계 - 상기 제1 숫자 값은 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트에 포함된 분할 모드의 수량임 - ; 및
상기 제1 숫자 값에 기초하여 상기 비트스트림을 파싱하여 상기 제1 정보, 상기 제2 정보 및 상기 제3 정보를 결정하는 단계
를 포함하는, 화상 데이터 디코딩 방법.
The method of claim 4, wherein
Parsing the bitstream based on the candidate-division-mode set corresponding to the first node to determine the first information, the second information, and the third information are specifically:
Determining a first numeric value, wherein the first numeric value is a quantity of partitioning modes included in the candidate-division-mode set corresponding to the first node; And
Determining the first information, the second information, and the third information by parsing the bitstream based on the first numeric value.
Image data decoding method comprising a.
제4항 또는 제5항에 있어서,
상기 제2-레벨 코딩 트리에 대응하는 상기 노드 분할 모드는 상기 쿼드트리 분할을 더 포함하고; 그리고
상기 비트스트림을 파싱하여 제2-레벨 코딩 트리의 노드 분할 모드 정보를 획득하는 단계는 구체적으로:
상기 비트스트림을 파싱하여 상기 제2-레벨 코딩 트리의 상기 노드 분할 모드 정보를 획득하는 단계
를 포함하며, 여기서, 상기 제2-레벨 코딩 트리의 상기 노드 분할 모드 정보는 상기 제2-레벨 코딩 트리의 상기 제1 노드에 대응하는 상기 분할 모드를 나타내고, 상기 제1 노드에 대응하는 모드는 상기 제1 노드는 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트 내의 하나의 모드이고, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 제1 사전 설정 분할 조건 및 제2 사전 설정 분할 조건에 따라 결정되며, 상기 제2 사전 설정 분할 조건은 상기 제1 노드가 상기 쿼드트리 분할에 기초하여 분할되는 것을 제한할지를 나타내는 데 사용되는, 화상 데이터 디코딩 방법.
The method according to claim 4 or 5,
The node splitting mode corresponding to the second-level coding tree further includes the quadtree splitting; And
Parsing the bitstream to obtain node division mode information of a second-level coding tree specifically:
Parsing the bitstream to obtain the node split mode information of the second-level coding tree
Wherein the node splitting mode information of the second-level coding tree indicates the splitting mode corresponding to the first node of the second-level coding tree, and the mode corresponding to the first node The first node is one mode in the candidate-division-mode set corresponding to the first node, and the candidate-division-mode set corresponding to the first node is the first preset division condition and the second. Determined according to a preset dividing condition, wherein the second preset dividing condition is used to indicate whether the first node is to be restricted from splitting based on the quadtree splitting.
제6항에 있어서,
상기 제2 사전 설정 분할 조건은 다음의 사전 설정 분할 하위 조건:
제10 사전 설정 분할 하위 조건: 상기 제2-레벨 코딩 트리에서 상기 제1 노드의 깊이가 상기 제2-레벨 코딩 트리에서 사전 설정된 최대 깊이보다 작으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 쿼드트리 분할을 포함하지 않는 조건; 및
제11 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 화상 영역의 폭 대 높이 비가 제5 사전 설정 임계치보다 크면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 쿼드트리 분할을 포함하지 않는 조건
중 적어도 하나를 포함하는, 화상 데이터 디코딩 방법.
The method of claim 6,
The second preset splitting condition is a preset splitting subcondition:
10th preset partitioning subcondition: if the depth of the first node in the second-level coding tree is less than a preset maximum depth in the second-level coding tree, the candidate-division corresponding to the first node. A condition set does not include the quadtree splitting; And
Eleventh preset partitioning subcondition: if the width-to-height ratio of the picture area corresponding to the first node is greater than a fifth preset threshold, the candidate-division-mode set corresponding to the first node is divided into the quadtrees. Conditions that do not include
And at least one of the following.
제6항 또는 제7항에 있어서,
상기 제2-레벨 코딩 트리의 상기 노드 분할 모드 정보는 제4 정보를 더 포함하고, 상기 제4 정보는 상기 쿼드트리 분할에 기초하여 상기 제1 노드를 분할할지를 나타내는 데 사용되며; 그리고
상기 비트스트림을 파싱하여 제2-레벨 코딩 트리의 노드 분할 모드 정보를 획득하는 단계는 구체적으로:
상기 비트스트림을 파싱하여, 상기 제1 사전 설정 분할 조건 및 상기 제2 사전 설정 분할 조건에 따라, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트를 결정하는 단계; 및
상기 제1 노드에 대응하는 분할 모드에 기초하여 상기 비트스트림을 파싱하여, 상기 제1 정보, 상기 제2 정보, 상기 제3 정보 및 상기 제4 정보를 결정하는 단계
를 포함하는, 화상 데이터 디코딩 방법.
The method according to claim 6 or 7,
The node splitting mode information of the second-level coding tree further includes fourth information, the fourth information being used to indicate whether to split the first node based on the quadtree splitting; And
Parsing the bitstream to obtain node division mode information of a second-level coding tree specifically:
Parsing the bitstream to determine the candidate-division-mode set corresponding to the first node according to the first preset division condition and the second preset division condition; And
Parsing the bitstream based on the split mode corresponding to the first node to determine the first information, the second information, the third information, and the fourth information.
Image data decoding method comprising a.
화상 데이터 인코딩 방법으로서,
상기 화상 인코딩 방법은:
인코딩될 화상 블록에 대응하는 코딩 트리 유닛(coding tree unit, CTU)을 결정하는 단계;
상기 CTU를 제1-레벨 코딩 트리에 대응하는 노드 분할 모드에서 분할하여 상기 제1-레벨 코딩 트리의 리프 노드(leaf node)를 획득하는 단계 - 상기 제1-레벨 코딩 트리의 루트 노드(root node)는 상기 CTU에 대응함 - ;
제2-레벨 코딩 트리의 제1 노드에 대응하는 후보-분할-모드 세트를 결정하는 단계 - 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 제1 사전 설정 분할 조건을 만족하며, 상기 제1 사전 설정 분할 조건은 상기 제1 노드가 목표 분할 모드에서 분할되는 것을 제한할지를 나타내는 데 사용되고, 상기 제2-레벨 코딩 트리의 루트 노드는 상기 제1-레벨 코딩 트리의 리프 노드이고, 상기 목표 분할 모드는 수평 2진 분할, 수평 3진 분할, 수직 2진 분할 및 수직 3진 분할 중 적어도 하나를 포함함 - ; 및
상기 제1 노드에 대응하는 상기 후보-분할-모드 세트가 비 추가 분할을 포함하면, 상기 제1 노드에 대응하는 코딩 유닛(coding unit, CU)을 인코딩하여 상기 코딩 유닛에 대응하는 코딩 유닛 비트스트림을 획득하는 단계
를 포함하는 화상 데이터 인코딩 방법.
As the image data encoding method,
The picture encoding method is:
Determining a coding tree unit (CTU) corresponding to the picture block to be encoded;
Dividing the CTU in a node partitioning mode corresponding to a first-level coding tree to obtain a leaf node of the first-level coding tree-a root node of the first-level coding tree ) Corresponds to the CTU-;
Determining a candidate-division-mode set corresponding to the first node of the second-level coding tree, wherein the candidate-division-mode set corresponding to the first node satisfies a first preset partitioning condition; A first preset splitting condition is used to indicate whether the first node is to be restricted from splitting in a target splitting mode, the root node of the second-level coding tree is a leaf node of the first-level coding tree, and the target The splitting mode includes at least one of horizontal binary division, horizontal ternary division, vertical binary division, and vertical ternary division; And
If the candidate-division-mode set corresponding to the first node includes non-additional division, a coding unit bitstream corresponding to the coding unit by encoding a coding unit (CU) corresponding to the first node. Obtaining
Image data encoding method comprising a.
제9항에 있어서,
상기 제1-레벨 코딩 트리에 대응하는 상기 노드 분할 모드는 쿼드트리 분할을 포함하고, 상기 제2-레벨 코딩 트리에 대응하는 노드 분할 모드는 2진 트리 분할 및 3진 트리 분할을 포함하는, 화상 데이터 인코딩 방법.
The method of claim 9,
The node splitting mode corresponding to the first-level coding tree includes quadtree splitting, and the node splitting mode corresponding to the second-level coding tree includes binary tree splitting and ternary tree splitting. Data encoding method.
제9항 또는 제10항에 있어서,
상기 제1 사전 설정 분할 조건은 다음의 사전 설정 분할 하위 조건:
제1 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 화상 영역의 폭 대 높이 비(width-to-height ratio)가 제1 사전 설정 임계치보다 크거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수평 2진 분할 또는 상기 수평 3진 분할을 포함하지 않고, 여기서 상기 제1 노드에 대응하는 상기 화상 영역의 상기 폭 대 높이 비는 상기 제1 노드에 대응하는 상기 화상 영역의 폭 대 상기 제1 노드에 대응하는 상기 화상 영역의 높이의 비인 조건;
제2 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 화상 영역의 높이 대 폭 비가 제2 사전 설정 임계치보다 크거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수직 2진 분할 또는 상기 수직 3진 분할을 포함하지 않고, 여기서 상기 제1 노드에 대응하는 상기 화상 영역의 상기 높이 대 폭 비는 상기 제1 노드에 대응하는 상기 화상 영역의 높이 대 상기 제1 노드에 대응하는 상기 화상 영역의 폭의 비인 조건;
제3 사전 설정 분할 하위 조건: 상기 제1 노드가 속하는 상기 제1-레벨 코딩 트리의 상기 리프 노드에 대응하는 화상 영역의 면적에 대한 상기 제1 노드에 대응하는 상기 화상 영역의 면적의 비가 제3 사전 설정 임계치보다 작거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수평 2진 분할, 상기 수평 3진 분할, 상기 수직 2진 분할 또는 상기 수직 3진 분할을 포함하지 않는 조건;
제4 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 분할 모드가 제1 분할 모드를 포함하면, 상기 제1 노드의 제1 자식 노드의 디코딩은 상기 제1 노드의 제2 자식 노드의 디코딩보다 늦으며, 제2 자식 노드에 대응하는 분할 모드는 상기 제1 분할 모드이고, 상기 제1 자식 노드에 대응하는 후보-분할-모드 세트는 상기 제1 분할 모드를 포함하지 않고, 여기서 상기 제1 분할 모드는 상기 수평 2진 분할 또는 상기 수직 2진 분할인 조건;
제5 미리 설정된 분할 하위 조건: 상기 제1 노드에 대응하는 상기 분할 모드가 제2 분할 모드를 포함하고, 상기 제1 노드의 상기 제1 자식 노드에 대응하는 화상 영역의 면역이 상기 제1 노드의 3개의 자식 노드에 대응하는 화상 영역의 면역 중에서 가장 작으면, 상기 제1 자식 노드에 대응하는 상기 후보-분할-모드 세트는 상기 제2 분할 모드를 포함하지 않고, 여기서 상기 제2 분할 모드는 상기 수평 3진 분할 또는 상기 수직 3진 분할인 조건;
제6 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 분할 모드가 상기 제2 분할 모드를 포함하고, 상기 제1 노드의 상기 제1 자식 노드에 대응하는 상기 화상 영역의 면역이 상기 제1 노드의 상기 3개의 자식 노드에 대응하는 상기 화상 영역의 면역 중에서 가장 크면, 상기 제1 자식 노드에 대응하는 상기 후보-분할-모드 세트는 상기 제2 분할 모드를 포함하지 않는 조건;
제7 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 화상 영역의 폭 대 최소 CU의 사전 설정 측 길이(preset side length)의 비가 제3 사전 설정 임계치보다 작거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수직 3진 분할을 포함하지 않거나, 또는 상기 제1 노드에 대응하는 상기 화상 영역의 높이 대 상기 최소 CU의 상기 사전 설정 측 길이의 비가 상기 제3 사전 설정 임계치보다 작거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수평 3진 분할을 포함하는 조건;
제8 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 화상 영역의 면역이 제4 사전 설정 임계치보다 작거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수평 2진 분할, 상기 수평 3진 분할, 상기 수직 2진 분할 또는 상기 수직 3진 분할을 포함하지 않는 조건; 그리고
제9 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 분할 모드가 상기 제2 분할 모드이고, 상기 제1 노드의 상기 제1 자식 노드에 대응하는 상기 화상 영역의 면역이 상기 제1 노드의 상기 3개의 자식 노드에 대응하는 상기 화상 영역의 면역 중에서 가장 크면, 상기 제1 자식 노드에 대응하는 상기 후보-분할-모드 세트는 상기 제1 분할 모드를 포함하지 않으며, 여기서 상기 제1 분할 모드의 분할 방향은 상기 제2 분할의 분할 방향과 동일한 조건
중 적어도 하나를 포함하는, 화상 데이터 인코딩 방법.
The method according to claim 9 or 10,
The first preset splitting condition is a preset splitting subcondition:
First preset division sub-condition: if the width-to-height ratio of the picture area corresponding to the first node is greater than or equal to a first preset threshold, the candidate corresponding to the first node; The split-mode set does not include the horizontal binary division or the horizontal ternary division, wherein the width-to-height ratio of the image area corresponding to the first node is the image area corresponding to the first node. A condition that is the ratio of the width of to the height of the image area corresponding to the first node;
Second preset division sub-condition: if the height-to-width ratio of the picture region corresponding to the first node is greater than or equal to a second preset threshold, the candidate-division-mode set corresponding to the first node is the vertical; Not including binary division or the vertical ternary division, wherein the height to width ratio of the image region corresponding to the first node is equal to the height of the image region corresponding to the first node to the first node. A condition that is a ratio of the width of the corresponding image area;
Third preset division subcondition: a ratio of the area of the picture area corresponding to the first node to the area of the picture area corresponding to the leaf node of the first-level coding tree to which the first node belongs; If less than or equal to a preset threshold, the candidate-division-mode set corresponding to the first node does not include the horizontal binary division, the horizontal ternary division, the vertical binary division, or the vertical ternary division. Condition;
Fourth preset partitioning subcondition: if the partitioning mode corresponding to the first node includes a first partitioning mode, decoding of the first child node of the first node is to decode the second child node of the first node. A later splitting mode corresponding to a second child node is the first splitting mode, and the candidate-split-mode set corresponding to the first child node does not include the first splitting mode, where the first splitting mode is present. The splitting mode is the horizontal binary division or the vertical binary division;
Fifth preset division sub-condition: The division mode corresponding to the first node includes a second division mode, and the immunity of the image area corresponding to the first child node of the first node is equal to that of the first node. If the smallest of the immunities of the picture regions corresponding to three child nodes is small, the candidate-division-mode set corresponding to the first child node does not include the second partitioning mode, wherein the second partitioning mode is the A condition that is a horizontal ternary division or the vertical ternary division;
Sixth preset division subcondition: the division mode corresponding to the first node includes the second division mode, and the immunity of the image region corresponding to the first child node of the first node is determined by the first divisional mode. The largest of the immunities of the picture regions corresponding to the three child nodes of the node, the condition that the candidate-division-mode set corresponding to the first child node does not include the second division mode;
Seventh preset division subcondition: if the ratio of the width of the picture area corresponding to the first node to a preset side length of the minimum CU is less than or equal to a third preset threshold, The corresponding candidate-division-mode set does not include the vertical ternary division, or the ratio of the height of the picture region corresponding to the first node to the preset side length of the minimum CU is the third preset. If less than or equal to a threshold, the candidate-division-mode set corresponding to the first node comprises the horizontal ternary division;
Eighth preset partitioning subcondition: if the immunity of the picture region corresponding to the first node is less than or equal to a fourth preset threshold, the candidate-division-mode set corresponding to the first node is the horizontal binary. A condition not including division, the horizontal ternary division, the vertical binary division, or the vertical ternary division; And
9th preset partitioning subcondition: the partitioning mode corresponding to the first node is the second partitioning mode, and the immunity of the image area corresponding to the first child node of the first node is equal to that of the first node. If the immunity of the picture region corresponding to the three child nodes is the largest, the candidate-division-mode set corresponding to the first child node does not include the first partitioning mode, wherein the first partitioning mode The division direction is the same as the division direction of the second division
And at least one of the following.
제10항에 있어서,
상기 제2-레벨 코딩 트리에 대응하는 상기 노드 분할 모드는 상기 쿼드트리 분할을 더 포함하고; 그리고
제2-레벨 코딩 트리의 제1 노드에 대응하는 후보-분할-모드 세트를 결정하는 단계는,
상기 제1 노드에 대응하는 상기 후보-분할-모드 세트를 결정하는 단계
를 더 포함하며,
상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 제1 사전 설정 분할 조건 및 상기 제2 사전 설정 분할 조건을 만족하며, 상기 제2 사전 설정 분할 조건은 상기 제1 노드가 상기 쿼드트리 분할에 기초하여 분할되는 것을 제한할지를 나타내는 데 사용되는, 화상 데이터 인코딩 방법.
The method of claim 10,
The node splitting mode corresponding to the second-level coding tree further includes the quadtree splitting; And
Determining the candidate-division-mode set corresponding to the first node of the second-level coding tree,
Determining the candidate-division-mode set corresponding to the first node
More,
The candidate-division-mode set corresponding to the first node satisfies the first preset partitioning condition and the second preset partitioning condition, wherein the second preset partitioning condition is determined by the first node in the quadtree. Used to indicate whether to restrict the division based on the division.
제12항에 있어서,
상기 제2 사전 설정 분할 조건은 다음의 사전 설정 분할 하위 조건:
제10 사전 설정 분할 하위 조건: 상기 제2-레벨 코딩 트리에서 상기 제1 노드의 깊이가 상기 제2-레벨 코딩 트리에서 사전 설정된 최대 깊이보다 작으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 쿼드트리 분할을 포함하지 않는 조건; 및
제11 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 화상 영역의 폭 대 높이 비가 제5 사전 설정 임계치보다 크면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 쿼드트리 분할을 포함하지 않는 조건
중 적어도 하나를 포함하는, 화상 데이터 인코딩 방법.
The method of claim 12,
The second preset splitting condition is a preset splitting subcondition:
10th preset partitioning subcondition: if the depth of the first node in the second-level coding tree is less than a preset maximum depth in the second-level coding tree, the candidate-division corresponding to the first node. A condition set does not include the quadtree splitting; And
Eleventh preset partitioning subcondition: if the width-to-height ratio of the picture area corresponding to the first node is greater than a fifth preset threshold, the candidate-division-mode set corresponding to the first node is divided into the quadtrees. Conditions that do not include
And at least one of the following.
제9항 내지 제13항 중 어느 한 항에 있어서,
상기 화상 데이터 인코딩 방법은,
상기 제1 노드에 대응하는 상기 후보-분할-모드 세트가 비 추가 분할(no further splitting)이 아닌 분할 모드를 포함하면, 상기 제1 노드에 이용 가능한 각각의 분할 모드의 레이트 왜곡 비용(rate distortion cost)을 계산하는 단계;
최소 레이트 왜곡 비용에 대응하는 분할 모드를 상기 제1 노드에 대응하는 목표 분할 모드로 결정하는 단계; 및
상기 제1 노드에 대응하는 목표 분할 모드에서 상기 제1 노드를 분할하는 단계
를 더 포함하는 화상 데이터 인코딩 방법.
The method according to any one of claims 9 to 13,
The image data encoding method,
If the candidate-division-mode set corresponding to the first node includes a split mode other than no further splitting, then the rate distortion cost of each split mode available to the first node Calculating;
Determining a splitting mode corresponding to a minimum rate distortion cost as a target splitting mode corresponding to the first node; And
Dividing the first node in a target splitting mode corresponding to the first node
Image data encoding method further comprising.
디코더 장치로서,
화상 데이터를 포함하는 비트스트림을 획득하도록 구성되어 있는 획득 모듈;
상기 비트스트림을 파싱하여 제1-레벨 코딩 트리의 노드 분할 모드 정보를 획득하고 - 상기 제1-레벨 코딩 트리의 루트 노드(root node)는 하나의 코딩 트리 유닛(coding tree unit, CTU)에 대응하고, 상기 제1-레벨 코딩 트리의 리프 노드(leaf node)는 상기 제1-레벨 코딩 트리의 상기 루트 노드 및 상기 제1-레벨 코딩 트리의 상기 노드 분할 모드 정보에 대응하는 노드 분할 모드를 사용하여 식별됨 - ; 상기 비트스트림을 파싱하여 제2-레벨 코딩 트리의 노드 분할 모드 정보를 획득하며 - 상기 제2-레벨 코딩 트리의 상기 노드 분할 모드 정보는 상기 제2-레벨 코딩 트리의 제1 노드에 대응하는 분할 모드를 나타내고, 상기 제1 노드에 대응하는 상기 분할 모드는 상기 제1 노드에 대응하는 후보-분할-모드 세트 내의 하나의 모드이며, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 제1 사전 설정 분할 조건에 따라 결정되고, 상기 제1 사전 설정 분할 조건은 상기 제1 노드가 목표 분할 모드에서 분할되는 것을 제한할지를 나타내는 데 사용되며, 상기 목표 분할 모드는 수평 2진 분할(horizontal binary split), 수평 3진 분할(horizontal ternary split), 수직 2진 분할 또는 수직 3진 분할 중 적어도 하나를 포함하고, 상기 제2-레벨 코딩 트리의 루트 노드는 상기 제1-레벨 코딩 트리의 리프 노드임 - ; 그리고 상기 제1 노드에 대응하는 분할 모드가 비 추가 분할(no further splitting)이면, 상기 비트스트림을 파싱하여 상기 제1 노드의 인코딩 정보를 획득하도록 구성되어 있는 파싱 모듈 - 상기 제1 노드는 하나의 코딩 유닛(coding unit, CU)에 대응함 - ; 및
상기 제1 노드의 인코딩 정보에 기초하여 상기 코딩 유닛을 디코딩 및 재구성하여 상기 화상 데이터에 대응하는 화상을 획득하도록 구성되어 있는 디코딩 및 재구성 모듈
을 포함하는 디코더 장치.
As a decoder device,
An acquisition module, configured to acquire a bitstream including the image data;
Parse the bitstream to obtain node split mode information of a first-level coding tree, wherein a root node of the first-level coding tree corresponds to one coding tree unit (CTU) And a leaf node of the first-level coding tree uses a node split mode corresponding to the root node of the first-level coding tree and the node split mode information of the first-level coding tree. Identified by-; Parse the bitstream to obtain node split mode information of a second-level coding tree, wherein the node split mode information of the second-level coding tree corresponds to a first node of the second-level coding tree Indicating a mode, wherein the splitting mode corresponding to the first node is one mode in the candidate-dividing-mode set corresponding to the first node, and wherein the candidate-dividing-mode set corresponding to the first node is the first mode. 1 is determined according to a preset division condition, and the first preset division condition is used to indicate whether the first node is to be restricted from splitting in a target division mode, wherein the target division mode is a horizontal binary split. ), At least one of a horizontal ternary split, a vertical binary split or a vertical ternary split, wherein the root node of the second-level coding tree is the first-level. Leaf node of the tree being coded; And a parsing module, configured to parse the bitstream to obtain encoding information of the first node if the splitting mode corresponding to the first node is no further splitting. Corresponds to a coding unit (CU); And
A decoding and reconstruction module, configured to decode and reconstruct the coding unit based on the encoding information of the first node to obtain a picture corresponding to the picture data
Decoder device comprising a.
제15항에 있어서,
상기 제1-레벨 코딩 트리에 대응하는 상기 노드 분할 모드는 쿼드트리 분할을 포함하고, 상기 제2-레벨 코딩 트리에 대응하는 노드 분할 모드는 2진 트리 분할 및 3진 트리 분할을 포함하는, 디코더 장치.
The method of claim 15,
Wherein the node splitting mode corresponding to the first-level coding tree comprises quadtree splitting and the node splitting mode corresponding to the second-level coding tree comprises binary tree splitting and ternary tree splitting. Device.
제15항 또는 제16항에 있어서,
상기 제1 사전 설정 분할 조건은 다음의 사전 설정 분할 하위 조건:
제1 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 화상 영역의 폭 대 높이 비(width-to-height ratio)가 제1 사전 설정 임계치보다 크거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수평 2진 분할 또는 상기 수평 3진 분할을 포함하지 않고, 여기서 상기 제1 노드에 대응하는 상기 화상 영역의 상기 폭 대 높이 비는 상기 제1 노드에 대응하는 상기 화상 영역의 폭 대 상기 제1 노드에 대응하는 상기 화상 영역의 높이의 비인 조건;
제2 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 화상 영역의 높이 대 폭 비가 제2 사전 설정 임계치보다 크거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수직 2진 분할 또는 상기 수직 3진 분할을 포함하지 않고, 여기서 상기 제1 노드에 대응하는 상기 화상 영역의 상기 높이 대 폭 비는 상기 제1 노드에 대응하는 상기 화상 영역의 높이 대 상기 제1 노드에 대응하는 상기 화상 영역의 폭의 비인 조건;
제3 사전 설정 분할 하위 조건: 상기 제1 노드가 속하는 상기 제1-레벨 코딩 트리의 상기 리프 노드에 대응하는 화상 영역의 면적에 대한 상기 제1 노드에 대응하는 상기 화상 영역의 면적의 비가 제3 사전 설정 임계치보다 작거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수평 2진 분할, 상기 수평 3진 분할, 상기 수직 2진 분할 또는 상기 수직 3진 분할을 포함하지 않는 조건;
제4 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 분할 모드가 제1 분할 모드를 포함하면, 상기 제1 노드의 제1 자식 노드의 디코딩은 상기 제1 노드의 제2 자식 노드의 디코딩보다 늦으며, 제2 자식 노드에 대응하는 분할 모드는 상기 제1 분할 모드이고, 상기 제1 자식 노드에 대응하는 후보-분할-모드 세트는 상기 제1 분할 모드를 포함하지 않고, 여기서 상기 제1 분할 모드는 상기 수평 2진 분할 또는 상기 수직 2진 분할인 조건;
제5 미리 설정된 분할 하위 조건: 상기 제1 노드에 대응하는 상기 분할 모드가 제2 분할 모드를 포함하고, 상기 제1 노드의 상기 제1 자식 노드에 대응하는 화상 영역의 면역이 상기 제1 노드의 3개의 자식 노드에 대응하는 화상 영역의 면역 중에서 가장 작으면, 상기 제1 자식 노드에 대응하는 상기 후보-분할-모드 세트는 상기 제2 분할 모드를 포함하지 않고, 여기서 상기 제2 분할 모드는 상기 수평 3진 분할 또는 상기 수직 3진 분할인 조건;
제6 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 분할 모드가 상기 제2 분할 모드를 포함하고, 상기 제1 노드의 상기 제1 자식 노드에 대응하는 상기 화상 영역의 면역이 상기 제1 노드의 상기 3개의 자식 노드에 대응하는 상기 화상 영역의 면역 중에서 가장 크면, 상기 제1 자식 노드에 대응하는 상기 후보-분할-모드 세트는 상기 제2 분할 모드를 포함하지 않는 조건;
제7 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 화상 영역의 폭 대 최소 CU의 사전 설정 측 길이(preset side length)의 비가 제3 사전 설정 임계치보다 작거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수직 3진 분할을 포함하지 않거나, 또는 상기 제1 노드에 대응하는 상기 화상 영역의 높이 대 상기 최소 CU의 상기 사전 설정 측 길이의 비가 상기 제3 사전 설정 임계치보다 작거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수평 3진 분할을 포함하는 조건;
제8 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 화상 영역의 면역이 제4 사전 설정 임계치보다 작거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수평 2진 분할, 상기 수평 3진 분할, 상기 수직 2진 분할 또는 상기 수직 3진 분할을 포함하지 않는 조건; 그리고
제9 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 분할 모드가 상기 제2 분할 모드이고, 상기 제1 노드의 상기 제1 자식 노드에 대응하는 상기 화상 영역의 면역이 상기 제1 노드의 상기 3개의 자식 노드에 대응하는 상기 화상 영역의 면역 중에서 가장 크면, 상기 제1 자식 노드에 대응하는 상기 후보-분할-모드 세트는 상기 제1 분할 모드를 포함하지 않으며, 여기서 상기 제1 분할 모드의 분할 방향은 상기 제2 분할의 분할 방향과 동일한 조건
중 적어도 하나를 포함하는, 디코더 장치.
The method according to claim 15 or 16,
The first preset splitting condition is a preset splitting subcondition:
First preset division sub-condition: if the width-to-height ratio of the picture area corresponding to the first node is greater than or equal to a first preset threshold, the candidate corresponding to the first node; The split-mode set does not include the horizontal binary division or the horizontal ternary division, wherein the width-to-height ratio of the image area corresponding to the first node is the image area corresponding to the first node. A condition that is the ratio of the width of to the height of the image area corresponding to the first node;
Second preset division sub-condition: if the height-to-width ratio of the picture region corresponding to the first node is greater than or equal to a second preset threshold, the candidate-division-mode set corresponding to the first node is the vertical; Not including binary division or the vertical ternary division, wherein the height to width ratio of the image region corresponding to the first node is equal to the height of the image region corresponding to the first node to the first node. A condition that is a ratio of the width of the corresponding image area;
Third preset division subcondition: a ratio of the area of the picture area corresponding to the first node to the area of the picture area corresponding to the leaf node of the first-level coding tree to which the first node belongs; If less than or equal to a preset threshold, the candidate-division-mode set corresponding to the first node does not include the horizontal binary division, the horizontal ternary division, the vertical binary division, or the vertical ternary division. Condition;
Fourth preset partitioning subcondition: if the partitioning mode corresponding to the first node includes a first partitioning mode, decoding of the first child node of the first node is to decode the second child node of the first node. A later splitting mode corresponding to a second child node is the first splitting mode, and the candidate-split-mode set corresponding to the first child node does not include the first splitting mode, where the first splitting mode is present. The splitting mode is the horizontal binary division or the vertical binary division;
Fifth preset division sub-condition: The division mode corresponding to the first node includes a second division mode, and the immunity of the image area corresponding to the first child node of the first node is equal to that of the first node. If the smallest of the immunities of the picture regions corresponding to three child nodes is small, the candidate-division-mode set corresponding to the first child node does not include the second partitioning mode, wherein the second partitioning mode is the A condition that is a horizontal ternary division or the vertical ternary division;
Sixth preset division subcondition: the division mode corresponding to the first node includes the second division mode, and the immunity of the image region corresponding to the first child node of the first node is determined by the first divisional mode. The largest of the immunities of the picture regions corresponding to the three child nodes of the node, the condition that the candidate-division-mode set corresponding to the first child node does not include the second division mode;
Seventh preset division subcondition: if the ratio of the width of the picture area corresponding to the first node to a preset side length of the minimum CU is less than or equal to a third preset threshold, The corresponding candidate-division-mode set does not include the vertical ternary division, or the ratio of the height of the picture region corresponding to the first node to the preset side length of the minimum CU is the third preset. If less than or equal to a threshold, the candidate-division-mode set corresponding to the first node comprises the horizontal ternary division;
Eighth preset partitioning subcondition: if the immunity of the picture region corresponding to the first node is less than or equal to a fourth preset threshold, the candidate-division-mode set corresponding to the first node is the horizontal binary. A condition not including division, the horizontal ternary division, the vertical binary division, or the vertical ternary division; And
9th preset partitioning subcondition: the partitioning mode corresponding to the first node is the second partitioning mode, and the immunity of the image area corresponding to the first child node of the first node is equal to that of the first node. If the immunity of the picture region corresponding to the three child nodes is the largest, the candidate-division-mode set corresponding to the first child node does not include the first partitioning mode, wherein the first partitioning mode The division direction is the same as the division direction of the second division
A decoder device comprising at least one of.
제15항 내지 제17항 중 어느 한 항에 있어서,
상기 제2-레벨 코딩 트리의 상기 노드 분할 모드 정보는 제1 정보, 제2 정보 및 제3 정보를 포함하고, 상기 제1 정보는 상기 제1 노드를 추가로 분할할지를 나타내는 데 사용되고, 상기 제2 정보는 상기 제1 노드가 분할되는 방향을 나타내는 데 사용되고, 상기 제3 정보는 상기 제1 노드가 분할되는 모드를 나타내는 데 사용되며; 그리고
상기 파싱 모듈은 구체적으로: 상기 비트스트림을 파싱하여, 상기 제1 사전 설정 분할 조건에 따라, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트를 결정하며; 그리고 상기 제1 노드에 대응하는 후보-분할-모드 세트에 기초하여 상기 비트스트림을 파싱하여, 상기 제1 정보, 상기 제2 정보 및 상기 제3 정보를 결정하도록 구성되어 있는, 디코더 장치.
The method according to any one of claims 15 to 17,
The node division mode information of the second-level coding tree includes first information, second information, and third information, wherein the first information is used to indicate whether to further partition the first node, and the second Information is used to indicate a direction in which the first node is split, and the third information is used to indicate a mode in which the first node is split; And
The parsing module specifically: parses the bitstream to determine, according to the first preset partitioning condition, the candidate-division-mode set corresponding to the first node; And parse the bitstream based on a candidate-division-mode set corresponding to the first node to determine the first information, the second information, and the third information.
제18항에 있어서,
상기 파싱 모듈은 구체적으로: 제1 숫자 값을 결정하며 - 상기 제1 숫자 값은 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트에 포함된 분할 모드의 수량임 - ; 그리고 상기 제1 숫자 값에 기초하여 상기 비트스트림을 파싱하여 상기 제1 정보, 상기 제2 정보 및 상기 제3 정보를 결정하도록 구성되어 있는, 디코더 장치.
The method of claim 18,
The parsing module specifically determines: a first numeric value, the first numeric value being a quantity of partitioning modes included in the candidate-division-mode set corresponding to the first node; And parse the bitstream based on the first numeric value to determine the first information, the second information, and the third information.
제18항 또는 제19항에 있어서,
상기 제2-레벨 코딩 트리에 대응하는 상기 노드 분할 모드는 상기 쿼드트리 분할을 더 포함하고; 그리고
상기 파싱 모듈은 구체적으로: 상기 비트스트림을 파싱하여 상기 제2-레벨 코딩 트리의 상기 노드 분할 모드 정보를 획득하도록 구성되어 있으며, 여기서, 상기 제2-레벨 코딩 트리의 상기 노드 분할 모드 정보는 상기 제2-레벨 코딩 트리의 상기 제1 노드에 대응하는 상기 분할 모드를 나타내고, 상기 제1 노드에 대응하는 모드는 상기 제1 노드는 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트 내의 하나의 모드이고, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 제1 사전 설정 분할 조건 및 제2 사전 설정 분할 조건에 따라 결정되며, 상기 제2 사전 설정 분할 조건은 상기 제1 노드가 상기 쿼드트리 분할에 기초하여 분할되는 것을 제한할지를 나타내는 데 사용되는, 디코더 장치.
The method of claim 18 or 19,
The node splitting mode corresponding to the second-level coding tree further includes the quadtree splitting; And
The parsing module is specifically configured to: parse the bitstream to obtain the node split mode information of the second-level coding tree, wherein the node split mode information of the second-level coding tree Indicate the splitting mode corresponding to the first node of a second-level coding tree, wherein the mode corresponding to the first node is one in the candidate-dividing-mode set corresponding to the first node; The candidate-division-mode set corresponding to the first node is determined according to the first preset division condition and the second preset division condition, and the second preset division condition is the first node. Is used to indicate whether to restrict splitting based on the quadtree splitting.
제20항에 있어서,
상기 제2 사전 설정 분할 조건은 다음의 사전 설정 분할 하위 조건:
제10 사전 설정 분할 하위 조건: 상기 제2-레벨 코딩 트리에서 상기 제1 노드의 깊이가 상기 제2-레벨 코딩 트리에서 사전 설정된 최대 깊이보다 작으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 쿼드트리 분할을 포함하지 않는 조건; 및
제11 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 화상 영역의 폭 대 높이 비가 제5 사전 설정 임계치보다 크면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 쿼드트리 분할을 포함하지 않는 조건
중 적어도 하나를 포함하는, 디코더 장치.
The method of claim 20,
The second preset splitting condition is a preset splitting subcondition:
10th preset partitioning subcondition: if the depth of the first node in the second-level coding tree is less than a preset maximum depth in the second-level coding tree, the candidate-division corresponding to the first node. A condition set does not include the quadtree splitting; And
Eleventh preset partitioning subcondition: if the width-to-height ratio of the picture area corresponding to the first node is greater than a fifth preset threshold, the candidate-division-mode set corresponding to the first node is divided into the quadtrees. Conditions that do not include
A decoder device comprising at least one of.
제20항 또는 제21항에 있어서,
상기 제2-레벨 코딩 트리의 상기 노드 분할 모드 정보는 제4 정보를 더 포함하고, 상기 제4 정보는 상기 쿼드트리 분할에 기초하여 상기 제1 노드를 분할할지를 나타내는 데 사용되며; 그리고
상기 파싱 모듈은 구체적으로: 상기 비트스트림을 파싱하여, 상기 제1 사전 설정 분할 조건 및 상기 제2 사전 설정 분할 조건에 따라, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트를 결정하며; 그리고 상기 제1 노드에 대응하는 분할 모드에 기초하여 상기 비트스트림을 파싱하여, 상기 제1 정보, 상기 제2 정보, 상기 제3 정보 및 상기 제4 정보를 결정하도록 구성되어 있는, 디코더 장치.
The method of claim 20 or 21,
The node splitting mode information of the second-level coding tree further includes fourth information, the fourth information being used to indicate whether to split the first node based on the quadtree splitting; And
The parsing module specifically: parses the bitstream to determine the candidate-division-mode set corresponding to the first node according to the first preset division condition and the second preset division condition; And parse the bitstream based on a split mode corresponding to the first node to determine the first information, the second information, the third information, and the fourth information.
인코더 장치로서,
인코딩될 화상 블록에 대응하는 코딩 트리 유닛(coding tree unit, CTU)을 결정하도록 구성되어 있는 결정 모듈;
상기 CTU를 제1-레벨 코딩 트리에 대응하는 노드 분할 모드에서 분할하여 상기 제1-레벨 코딩 트리의 리프 노드(leaf node)를 획득하도록 구성되어 있는 분할 모듈 - 상기 제1-레벨 코딩 트리의 루트 노드(root node)는 상기 CTU에 대응하고, 상기 결정 모듈은 제2-레벨 코딩 트리의 제1 노드에 대응하는 후보-분할-모드 세트를 결정하도록 추가로 구성되어 있으며, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 제1 사전 설정 분할 조건을 만족하며, 상기 제1 사전 설정 분할 조건은 상기 제1 노드가 목표 분할 모드에서 분할되는 것을 제한할지를 나타내는 데 사용되고, 상기 제2-레벨 코딩 트리의 루트 노드는 상기 제1-레벨 코딩 트리의 리프 노드이고, 상기 목표 분할 모드는 수평 2진 분할, 수평 3진 분할, 수직 2진 분할 및 수직 3진 분할 중 적어도 하나를 포함함 - ; 및
상기 제1 노드에 대응하는 상기 후보-분할-모드 세트이면서 또한 상기 결정 모듈에 의해 결정되는 상기 후보-분할-모드 세트가 비 추가 분할을 포함하면, 상기 제1 노드에 대응하는 코딩 유닛(coding unit, CU)을 인코딩하여 상기 코딩 유닛에 대응하는 코딩 유닛 비트스트림을 획득하도록 구성되어 있는 인코딩 모듈
을 포함하는 인코더 장치.
As an encoder device,
A determining module, configured to determine a coding tree unit (CTU) corresponding to the picture block to be encoded;
A splitting module, configured to split the CTU in a node splitting mode corresponding to a first-level coding tree to obtain a leaf node of the first-level coding tree-a root of the first-level coding tree A node (root node) corresponds to the CTU, and the determination module is further configured to determine a candidate-division-mode set corresponding to the first node of the second-level coding tree and corresponding to the first node. Wherein the candidate-division-mode set satisfies a first preset dividing condition, wherein the first preset dividing condition is used to indicate whether the first node is to be restricted from dividing in a target dividing mode, and wherein the second-level The root node of the coding tree is a leaf node of the first-level coding tree, and the target division mode includes at least one of horizontal binary division, horizontal ternary division, vertical binary division, and vertical ternary division. Also; And
A coding unit corresponding to the first node if the candidate-division-mode set corresponding to the first node and the candidate-division-mode set determined by the determining module includes non-additional division. , An encoding module, configured to encode a CU) to obtain a coding unit bitstream corresponding to the coding unit
Encoder device comprising a.
제23항에 있어서,
상기 제1-레벨 코딩 트리에 대응하는 상기 노드 분할 모드는 쿼드트리 분할을 포함하고, 상기 제2-레벨 코딩 트리에 대응하는 노드 분할 모드는 2진 트리 분할 및 3진 트리 분할을 포함하는, 인코더 장치.
The method of claim 23, wherein
The node splitting mode corresponding to the first-level coding tree comprises quadtree splitting, and the node splitting mode corresponding to the second-level coding tree comprises binary tree splitting and ternary tree splitting. Device.
제23항 또는 제24항에 있어서,
상기 제1 사전 설정 분할 조건은 다음의 사전 설정 분할 하위 조건:
제1 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 화상 영역의 폭 대 높이 비(width-to-height ratio)가 제1 사전 설정 임계치보다 크거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수평 2진 분할 또는 상기 수평 3진 분할을 포함하지 않고, 여기서 상기 제1 노드에 대응하는 상기 화상 영역의 상기 폭 대 높이 비는 상기 제1 노드에 대응하는 상기 화상 영역의 폭 대 상기 제1 노드에 대응하는 상기 화상 영역의 높이의 비인 조건;
제2 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 화상 영역의 높이 대 폭 비가 제2 사전 설정 임계치보다 크거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수직 2진 분할 또는 상기 수직 3진 분할을 포함하지 않고, 여기서 상기 제1 노드에 대응하는 상기 화상 영역의 상기 높이 대 폭 비는 상기 제1 노드에 대응하는 상기 화상 영역의 높이 대 상기 제1 노드에 대응하는 상기 화상 영역의 폭의 비인 조건;
제3 사전 설정 분할 하위 조건: 상기 제1 노드가 속하는 상기 제1-레벨 코딩 트리의 상기 리프 노드에 대응하는 화상 영역의 면적에 대한 상기 제1 노드에 대응하는 상기 화상 영역의 면적의 비가 제3 사전 설정 임계치보다 작거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수평 2진 분할, 상기 수평 3진 분할, 상기 수직 2진 분할 또는 상기 수직 3진 분할을 포함하지 않는 조건;
제4 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 분할 모드가 제1 분할 모드를 포함하면, 상기 제1 노드의 제1 자식 노드의 디코딩은 상기 제1 노드의 제2 자식 노드의 디코딩보다 늦으며, 제2 자식 노드에 대응하는 분할 모드는 상기 제1 분할 모드이고, 상기 제1 자식 노드에 대응하는 후보-분할-모드 세트는 상기 제1 분할 모드를 포함하지 않고, 여기서 상기 제1 분할 모드는 상기 수평 2진 분할 또는 상기 수직 2진 분할인 조건;
제5 미리 설정된 분할 하위 조건: 상기 제1 노드에 대응하는 상기 분할 모드가 제2 분할 모드를 포함하고, 상기 제1 노드의 상기 제1 자식 노드에 대응하는 화상 영역의 면역이 상기 제1 노드의 3개의 자식 노드에 대응하는 화상 영역의 면역 중에서 가장 작으면, 상기 제1 자식 노드에 대응하는 상기 후보-분할-모드 세트는 상기 제2 분할 모드를 포함하지 않고, 여기서 상기 제2 분할 모드는 상기 수평 3진 분할 또는 상기 수직 3진 분할인 조건;
제6 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 분할 모드가 상기 제2 분할 모드를 포함하고, 상기 제1 노드의 상기 제1 자식 노드에 대응하는 상기 화상 영역의 면역이 상기 제1 노드의 상기 3개의 자식 노드에 대응하는 상기 화상 영역의 면역 중에서 가장 크면, 상기 제1 자식 노드에 대응하는 상기 후보-분할-모드 세트는 상기 제2 분할 모드를 포함하지 않는 조건;
제7 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 화상 영역의 폭 대 최소 CU의 사전 설정 측 길이(preset side length)의 비가 제3 사전 설정 임계치보다 작거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수직 3진 분할을 포함하지 않거나, 또는 상기 제1 노드에 대응하는 상기 화상 영역의 높이 대 상기 최소 CU의 상기 사전 설정 측 길이의 비가 상기 제3 사전 설정 임계치보다 작거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수평 3진 분할을 포함하는 조건;
제8 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 화상 영역의 면역이 제4 사전 설정 임계치보다 작거나 같으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 수평 2진 분할, 상기 수평 3진 분할, 상기 수직 2진 분할 또는 상기 수직 3진 분할을 포함하지 않는 조건; 그리고
제9 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 분할 모드가 상기 제2 분할 모드이고, 상기 제1 노드의 상기 제1 자식 노드에 대응하는 상기 화상 영역의 면역이 상기 제1 노드의 상기 3개의 자식 노드에 대응하는 상기 화상 영역의 면역 중에서 가장 크면, 상기 제1 자식 노드에 대응하는 상기 후보-분할-모드 세트는 상기 제1 분할 모드를 포함하지 않으며, 여기서 상기 제1 분할 모드의 분할 방향은 상기 제2 분할의 분할 방향과 동일한 조건
중 적어도 하나를 포함하는, 인코더 장치.
The method of claim 23 or 24,
The first preset splitting condition is a preset splitting subcondition:
First preset division sub-condition: if the width-to-height ratio of the picture area corresponding to the first node is greater than or equal to a first preset threshold, the candidate corresponding to the first node; The split-mode set does not include the horizontal binary division or the horizontal ternary division, wherein the width-to-height ratio of the image area corresponding to the first node is the image area corresponding to the first node. A condition that is the ratio of the width of to the height of the image area corresponding to the first node;
Second preset division sub-condition: if the height-to-width ratio of the picture region corresponding to the first node is greater than or equal to a second preset threshold, the candidate-division-mode set corresponding to the first node is the vertical; Not including binary division or the vertical ternary division, wherein the height to width ratio of the image region corresponding to the first node is equal to the height of the image region corresponding to the first node to the first node. A condition that is a ratio of the width of the corresponding image area;
Third preset division subcondition: a ratio of the area of the picture area corresponding to the first node to the area of the picture area corresponding to the leaf node of the first-level coding tree to which the first node belongs; If less than or equal to a preset threshold, the candidate-division-mode set corresponding to the first node does not include the horizontal binary division, the horizontal ternary division, the vertical binary division, or the vertical ternary division. Condition;
Fourth preset partitioning subcondition: if the partitioning mode corresponding to the first node includes a first partitioning mode, decoding of the first child node of the first node is to decode the second child node of the first node. A later splitting mode corresponding to a second child node is the first splitting mode, and the candidate-split-mode set corresponding to the first child node does not include the first splitting mode, where the first splitting mode is present. The splitting mode is the horizontal binary division or the vertical binary division;
Fifth preset division sub-condition: The division mode corresponding to the first node includes a second division mode, and the immunity of the image area corresponding to the first child node of the first node is equal to that of the first node. If the smallest of the immunities of the picture regions corresponding to three child nodes is the smallest, the candidate-division-mode set corresponding to the first child node does not include the second division mode, wherein the second division mode is A condition that is a horizontal ternary division or the vertical ternary division;
Sixth preset division subcondition: the division mode corresponding to the first node includes the second division mode, and the immunity of the image region corresponding to the first child node of the first node is determined by the first divisional mode. The largest of the immunities of the picture regions corresponding to the three child nodes of the node, the condition that the candidate-division-mode set corresponding to the first child node does not include the second division mode;
Seventh preset division subcondition: if the ratio of the width of the picture area corresponding to the first node to a preset side length of the minimum CU is less than or equal to a third preset threshold, The corresponding candidate-division-mode set does not include the vertical ternary division, or the ratio of the height of the picture region corresponding to the first node to the preset side length of the minimum CU is the third preset. If less than or equal to a threshold, the candidate-division-mode set corresponding to the first node comprises the horizontal ternary division;
Eighth preset partitioning subcondition: if the immunity of the picture region corresponding to the first node is less than or equal to a fourth preset threshold, the candidate-division-mode set corresponding to the first node is the horizontal binary. A condition not including division, the horizontal ternary division, the vertical binary division, or the vertical ternary division; And
9th preset partitioning subcondition: the partitioning mode corresponding to the first node is the second partitioning mode, and the immunity of the image area corresponding to the first child node of the first node is equal to that of the first node. If the immunity of the picture region corresponding to the three child nodes is the largest, the candidate-division-mode set corresponding to the first child node does not include the first partitioning mode, wherein the first partitioning mode The division direction is the same as the division direction of the second division
An encoder device comprising at least one of.
제24항에 있어서,
상기 제2-레벨 코딩 트리에 대응하는 상기 노드 분할 모드는 상기 쿼드트리 분할을 더 포함하고; 그리고
상기 결정 모듈은 구체적으로 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트를 결정하도록 구성되어 있으며, 여기서 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 제1 사전 설정 분할 조건 및 상기 제2 사전 설정 분할 조건을 만족하며, 상기 제2 사전 설정 분할 조건은 상기 제1 노드가 상기 쿼드트리 분할에 기초하여 분할되는 것을 제한할지를 나타내는 데 사용되는, 인코더 장치.
The method of claim 24,
The node splitting mode corresponding to the second-level coding tree further includes the quadtree splitting; And
The determining module is specifically configured to determine the candidate-division-mode set corresponding to the first node, wherein the candidate-division-mode set corresponding to the first node is the first preset partitioning condition. And satisfying the second preset splitting condition, wherein the second preset splitting condition is used to indicate whether the first node is to be restricted from splitting based on the quadtree splitting.
제26항에 있어서,
상기 제2 사전 설정 분할 조건은 다음의 사전 설정 분할 하위 조건:
제10 사전 설정 분할 하위 조건: 상기 제2-레벨 코딩 트리에서 상기 제1 노드의 깊이가 상기 제2-레벨 코딩 트리에서 사전 설정된 최대 깊이보다 작으면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 쿼드트리 분할을 포함하지 않는 조건; 및
제11 사전 설정 분할 하위 조건: 상기 제1 노드에 대응하는 상기 화상 영역의 폭 대 높이 비가 제5 사전 설정 임계치보다 크면, 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트는 상기 쿼드트리 분할을 포함하지 않는 조건
중 적어도 하나를 포함하는, 인코더 장치.
The method of claim 26,
The second preset splitting condition is a preset splitting subcondition:
10th preset partitioning subcondition: if the depth of the first node in the second-level coding tree is less than a preset maximum depth in the second-level coding tree, the candidate-division corresponding to the first node. A condition set does not include the quadtree splitting; And
Eleventh preset partitioning subcondition: if the width-to-height ratio of the picture area corresponding to the first node is greater than a fifth preset threshold, the candidate-division-mode set corresponding to the first node is divided into the quadtrees. Conditions that do not include
An encoder device comprising at least one of.
제23항 내지 제27항 중 어느 한 항에 있어서,
상기 인코더 장치는 계산 모듈을 더 포함하며,
상기 계산 모듈은: 상기 제1 노드에 대응하는 상기 후보-분할-모드 세트이면서 또한 상기 결정 모듈에 의해 결정되는 상기 후보-분할-모드 세트가 비 추가 분할(no further splitting)이 아닌 분할 모드를 포함하면, 상기 제1 노드에 이용 가능한 각각의 분할 모드의 레이트 왜곡 비용(rate distortion cost)을 계산하도록 구성되어 있으며,
상기 결정 모듈은 최소 레이트 왜곡 비용에 대응하는 분할 모드를 상기 제1 노드에 대응하는 목표 분할 모드로 결정하도록 추가로 구성되어 있으며, 그리고
상기 분할 모듈은 구체적으로 상기 제1 노드에 대응하는 목표 분할 모드이면서 상기 결정 모듈에 의해 결정되는 목표 분할 모드에서 상기 제1 노드를 분할하도록 구성되어 있는, 인코더 장치.
The method according to any one of claims 23 to 27,
The encoder device further includes a calculation module,
The calculating module comprises: the candidate-split-mode set corresponding to the first node and wherein the candidate-split-mode set determined by the determining module includes a split mode that is not no further splitting. And calculate the rate distortion cost of each splitting mode available to the first node,
The determining module is further configured to determine a splitting mode corresponding to the minimum rate distortion cost as a target splitting mode corresponding to the first node, and
The splitting module is specifically configured to split the first node in a target splitting mode determined by the determining module while being a target splitting mode corresponding to the first node.
KR1020207002490A 2017-06-28 2018-03-09 Image data encoding method and apparatus, and image data decoding method and apparatus KR102320023B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020217034782A KR102478441B1 (en) 2017-06-28 2018-03-09 Method and device for encoding and decoding image data

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201710509138.8A CN109151468B (en) 2017-06-28 2017-06-28 Image data encoding and decoding methods and devices
CN201710509138.8 2017-06-28
PCT/CN2018/078498 WO2019001006A1 (en) 2017-06-28 2018-03-09 Method and device for encoding and decoding image data

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020217034782A Division KR102478441B1 (en) 2017-06-28 2018-03-09 Method and device for encoding and decoding image data

Publications (2)

Publication Number Publication Date
KR20200020915A true KR20200020915A (en) 2020-02-26
KR102320023B1 KR102320023B1 (en) 2021-10-29

Family

ID=64740356

Family Applications (2)

Application Number Title Priority Date Filing Date
KR1020217034782A KR102478441B1 (en) 2017-06-28 2018-03-09 Method and device for encoding and decoding image data
KR1020207002490A KR102320023B1 (en) 2017-06-28 2018-03-09 Image data encoding method and apparatus, and image data decoding method and apparatus

Family Applications Before (1)

Application Number Title Priority Date Filing Date
KR1020217034782A KR102478441B1 (en) 2017-06-28 2018-03-09 Method and device for encoding and decoding image data

Country Status (13)

Country Link
US (4) US10834430B2 (en)
EP (1) EP3637782A4 (en)
JP (3) JP6915105B2 (en)
KR (2) KR102478441B1 (en)
CN (5) CN112601083A (en)
AU (2) AU2018290360B9 (en)
BR (1) BR112019027732A2 (en)
CA (1) CA3068551A1 (en)
PH (1) PH12020500016A1 (en)
RU (1) RU2754870C2 (en)
SG (1) SG11201913535UA (en)
TW (1) TWI674790B (en)
WO (1) WO2019001006A1 (en)

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965894B (en) * 2017-05-27 2021-12-21 华为技术有限公司 Video image coding and decoding method and device
KR102456161B1 (en) 2017-07-06 2022-10-18 삼성전자주식회사 Video coding method and device, video decoding method and device
CN116866607A (en) * 2017-07-06 2023-10-10 Lx 半导体科技有限公司 Image encoding/decoding method, transmitting method, and digital storage medium
JP7422075B2 (en) * 2018-01-02 2024-01-25 サムスン エレクトロニクス カンパニー リミテッド Encoding method and device, decoding method and device
WO2019151268A1 (en) * 2018-01-30 2019-08-08 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Encoding device, decoding device, encoding method, and decoding method
CN114697652B (en) * 2018-03-05 2023-11-14 松下电器(美国)知识产权公司 Decoding device, decoding method, and storage medium
HUE064218T2 (en) 2018-08-28 2024-02-28 Huawei Tech Co Ltd Picture partition method and device
CN112075077B (en) 2019-01-08 2022-01-11 华为技术有限公司 Image prediction method, device, equipment, system and storage medium
DK3915254T3 (en) 2019-03-12 2024-01-08 Beijing Dajia Internet Information Tech Co Ltd VIDEO ENCODING FOR PRE-COMPUTATION OF GEOMETRIC INTER-PARTITION
CN111770337B (en) * 2019-03-30 2022-08-19 华为技术有限公司 Video encoding method, video decoding method and related equipment
WO2020207492A1 (en) 2019-04-12 2020-10-15 Beijing Bytedance Network Technology Co., Ltd. Interaction between matrix-based intra prediction and other coding tools
CN113196764A (en) 2019-04-23 2021-07-30 Oppo广东移动通信有限公司 Image decoding method, decoder, and storage medium
WO2020221372A1 (en) * 2019-05-01 2020-11-05 Beijing Bytedance Network Technology Co., Ltd. Context coding for matrix-based intra prediction
CN111901593B (en) * 2019-05-04 2024-01-02 华为技术有限公司 Image dividing method, device and equipment
JP2022535726A (en) 2019-05-31 2022-08-10 北京字節跳動網絡技術有限公司 Constrained Upsampling Process in Matrix-Based Intra Prediction
CN113950836B (en) 2019-06-05 2024-01-12 北京字节跳动网络技术有限公司 Matrix-based intra-prediction context determination
CN110490845A (en) * 2019-07-26 2019-11-22 北京大米科技有限公司 A kind of image characteristic extracting method, device, storage medium and electronic equipment
CN114762330A (en) * 2019-09-22 2022-07-15 北京字节跳动网络技术有限公司 Sub-picture encoding and decoding of video
CN111507071B (en) * 2020-04-17 2024-02-27 上海电气风电集团股份有限公司 Encoding method and encoding device for wind power plant and computer readable storage medium
CN112511843B (en) * 2020-11-19 2022-03-04 腾讯科技(深圳)有限公司 Video encoding method, video encoding device, terminal device and storage medium
CN113347403B (en) * 2021-04-19 2023-10-27 浙江大学 Image processing method and device
CN113660490A (en) * 2021-06-24 2021-11-16 浙江大华技术股份有限公司 Method for dividing coding unit, coding method, electronic device and storage medium
WO2023197832A1 (en) * 2022-04-13 2023-10-19 Mediatek Inc. Method and apparatus of using separate splitting trees for colour components in video coding system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160067201A (en) * 2012-01-20 2016-06-13 캐논 가부시끼가이샤 Method, apparatus and computer readable storage medium for encoding and decoding at least one coding unit
WO2016091161A1 (en) * 2014-12-10 2016-06-16 Mediatek Singapore Pte. Ltd. Method of video coding using binary tree block partitioning
WO2017088170A1 (en) * 2015-11-27 2017-06-01 Mediatek Inc. Entropy coding the binary tree block partitioning structure

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2418855B1 (en) * 2009-04-08 2017-12-27 Sharp Kabushiki Kaisha Method of selecting a transform size in a video decoding process
DK2991355T3 (en) * 2010-04-13 2018-02-19 Ge Video Compression Llc Inheritance in sampler array multitree subdivision
KR101497845B1 (en) * 2010-07-06 2015-03-02 노키아 코포레이션 Method and apparatus for determining mapping between a syntax element and a code word for variable length coding
US20120170648A1 (en) * 2011-01-05 2012-07-05 Qualcomm Incorporated Frame splitting in video coding
US8494290B2 (en) * 2011-05-05 2013-07-23 Mitsubishi Electric Research Laboratories, Inc. Method for coding pictures using hierarchical transform units
CN102801976B (en) * 2012-08-03 2014-10-22 山东省科学院情报研究所 Inter-frame module selecting method based on three-dimensional wavelet video code
KR20150056811A (en) * 2012-11-13 2015-05-27 인텔 코포레이션 Content adaptive transform coding for next generation video
WO2014120368A1 (en) * 2013-01-30 2014-08-07 Intel Corporation Content adaptive entropy coding for next generation video
EP3886433A3 (en) * 2013-03-07 2021-10-27 Telefonaktiebolaget LM Ericsson (publ) Video transcoding
CN103414891B (en) * 2013-07-19 2016-08-10 北京交通大学 A kind of bottom-up fast quad-tree trimming algorithm of HEVC intraframe coding
US20170118486A1 (en) * 2014-06-11 2017-04-27 Lg Electronics Inc. Method And Apparatus For Encoding And Decoding Video Signal Using Embedded Block Partitioning
KR20170128390A (en) * 2015-03-19 2017-11-22 엘지전자 주식회사 Method for processing video signals and apparatus therefor
CN104853220B (en) * 2015-05-18 2017-08-25 武汉随锐亿山科技有限公司 A kind of HEVC encodes the recursion interpretation method of quaternary tree
WO2017008263A1 (en) * 2015-07-15 2017-01-19 Mediatek Singapore Pte. Ltd. Conditional binary tree block partitioning structure
KR102365165B1 (en) * 2015-11-24 2022-02-18 삼성전자주식회사 Encoding sequence encoding method and apparatus, decoding method and apparatus
CN105721866B (en) * 2016-02-01 2019-02-12 北京奇艺世纪科技有限公司 A kind of coding unit partitioning method and device
US11070801B2 (en) * 2016-12-16 2021-07-20 Sharp Kabushiki Kaisha Image coder/decoder restricting binary tree splitting of target node obtained by ternary tree split
US11539952B2 (en) 2019-03-12 2022-12-27 Qualcomm Incorporated Implicit transform selection in video coding
US20220232255A1 (en) 2019-05-30 2022-07-21 Sharp Kabushiki Kaisha Image decoding apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160067201A (en) * 2012-01-20 2016-06-13 캐논 가부시끼가이샤 Method, apparatus and computer readable storage medium for encoding and decoding at least one coding unit
WO2016091161A1 (en) * 2014-12-10 2016-06-16 Mediatek Singapore Pte. Ltd. Method of video coding using binary tree block partitioning
WO2017088170A1 (en) * 2015-11-27 2017-06-01 Mediatek Inc. Entropy coding the binary tree block partitioning structure

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
J. Chen et al., "Algorithm Description of Joint Exploration Test Model 3," Joint Video Exploration Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 3rd Meeting: Geneva, CH,(2016.06.01.)* *
X. Li et al., "Multi-Type-Tree," Joint Video Exploration Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC29/WG11, 4th Meeting: Chengdu, CN, (2016.10.21.)* *

Also Published As

Publication number Publication date
US20210044837A1 (en) 2021-02-11
JP2021180505A (en) 2021-11-18
US10834430B2 (en) 2020-11-10
US20230370647A1 (en) 2023-11-16
WO2019001006A1 (en) 2019-01-03
CN112601085A (en) 2021-04-02
JP6915105B2 (en) 2021-08-04
PH12020500016A1 (en) 2020-11-09
AU2023201428B2 (en) 2024-02-08
SG11201913535UA (en) 2020-01-30
US20200137424A1 (en) 2020-04-30
AU2018290360B2 (en) 2022-12-08
JP2023029940A (en) 2023-03-07
RU2020103339A (en) 2021-07-28
AU2023201428A1 (en) 2023-04-06
US11277648B2 (en) 2022-03-15
US20220124377A1 (en) 2022-04-21
AU2018290360A1 (en) 2020-01-30
KR20210133320A (en) 2021-11-05
AU2018290360B9 (en) 2023-01-05
EP3637782A1 (en) 2020-04-15
JP7189282B2 (en) 2022-12-13
RU2020103339A3 (en) 2021-07-28
CN112601084A (en) 2021-04-02
JP7437485B2 (en) 2024-02-22
TWI674790B (en) 2019-10-11
KR102320023B1 (en) 2021-10-29
TW201914300A (en) 2019-04-01
EP3637782A4 (en) 2020-07-01
CN112822491A (en) 2021-05-18
CN112822491B (en) 2024-05-03
BR112019027732A2 (en) 2020-08-18
CN109151468A (en) 2019-01-04
CN112601083A (en) 2021-04-02
CN109151468B (en) 2020-12-08
JP2020526128A (en) 2020-08-27
KR102478441B1 (en) 2022-12-15
CA3068551A1 (en) 2019-01-03
US11695968B2 (en) 2023-07-04
RU2754870C2 (en) 2021-09-08

Similar Documents

Publication Publication Date Title
KR102320023B1 (en) Image data encoding method and apparatus, and image data decoding method and apparatus
AU2018282523B2 (en) Intra filtering applied together with transform processing in video coding
AU2012332417B2 (en) Padding of segments in coded slice NAL units
CN109151477B (en) Image data encoding and decoding methods and devices
JP2016026435A (en) Motion vector prediction in video coding
CN113728628B (en) Merging candidate searching method and equipment
CN104159106A (en) Video encoding method and device, and video decoding method and device
BR122024002650A2 (en) METHOD AND APPARATUS FOR CODING IMAGE DATA AND METHOD AND APPARATUS FOR DECODING IMAGE DATA

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant