WO2021162494A1 - 필터 가용 정보를 선택적으로 시그널링 하는 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 - Google Patents
필터 가용 정보를 선택적으로 시그널링 하는 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 Download PDFInfo
- Publication number
- WO2021162494A1 WO2021162494A1 PCT/KR2021/001856 KR2021001856W WO2021162494A1 WO 2021162494 A1 WO2021162494 A1 WO 2021162494A1 KR 2021001856 W KR2021001856 W KR 2021001856W WO 2021162494 A1 WO2021162494 A1 WO 2021162494A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- picture
- information
- flag
- slice
- unit
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 246
- 230000011664 signaling Effects 0.000 title description 21
- 238000001914 filtration Methods 0.000 claims abstract description 132
- 230000011218 segmentation Effects 0.000 abstract description 3
- 238000013139 quantization Methods 0.000 description 82
- 239000000523 sample Substances 0.000 description 78
- OSWPMRLSEDHDFF-UHFFFAOYSA-N methyl salicylate Chemical compound COC(=O)C1=CC=CC=C1O OSWPMRLSEDHDFF-UHFFFAOYSA-N 0.000 description 47
- 241000023320 Luma <angiosperm> Species 0.000 description 46
- 238000010586 diagram Methods 0.000 description 31
- 238000012545 processing Methods 0.000 description 30
- 238000000638 solvent extraction Methods 0.000 description 24
- 230000008569 process Effects 0.000 description 23
- 230000003044 adaptive effect Effects 0.000 description 19
- 239000013074 reference sample Substances 0.000 description 19
- 238000009795 derivation Methods 0.000 description 17
- 239000011449 brick Substances 0.000 description 15
- 239000011159 matrix material Substances 0.000 description 15
- 238000005192 partition Methods 0.000 description 15
- 230000009466 transformation Effects 0.000 description 14
- 230000002123 temporal effect Effects 0.000 description 10
- 230000002093 peripheral effect Effects 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 6
- 230000009977 dual effect Effects 0.000 description 5
- 208000037170 Delayed Emergence from Anesthesia Diseases 0.000 description 4
- 230000006978 adaptation Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 4
- 241000209094 Oryza Species 0.000 description 3
- 235000007164 Oryza sativa Nutrition 0.000 description 3
- 238000003491 array Methods 0.000 description 3
- 230000006835 compression Effects 0.000 description 3
- 238000007906 compression Methods 0.000 description 3
- 238000009877 rendering Methods 0.000 description 3
- 235000009566 rice Nutrition 0.000 description 3
- 230000002146 bilateral effect Effects 0.000 description 2
- 230000001419 dependent effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000003709 image segmentation Methods 0.000 description 2
- 230000007727 signaling mechanism Effects 0.000 description 2
- PXFBZOLANLWPMH-UHFFFAOYSA-N 16-Epiaffinine Natural products C1C(C2=CC=CC=C2N2)=C2C(=O)CC2C(=CC)CN(C)C1C2CO PXFBZOLANLWPMH-UHFFFAOYSA-N 0.000 description 1
- 238000012935 Averaging Methods 0.000 description 1
- 102100027896 Cytochrome b-c1 complex subunit 7 Human genes 0.000 description 1
- 101710147953 Cytochrome b-c1 complex subunit 7 Proteins 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000001151 other effect Effects 0.000 description 1
- 229920000069 polyphenylene sulfide Polymers 0.000 description 1
- 238000012805 post-processing Methods 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 239000010454 slate Substances 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
- 230000000153 supplemental effect Effects 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
- 238000011426 transformation method Methods 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/117—Filters, e.g. for pre-processing or post-processing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/119—Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods 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/17—Methods 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/172—Methods 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods 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/17—Methods 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/174—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a slice, e.g. a line of blocks or a group of blocks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods 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/184—Methods 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods 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/186—Methods 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 colour or a chrominance component
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/46—Embedding additional information in the video signal during the compression process
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/70—Methods 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/80—Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
- H04N19/82—Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation involving filtering within a prediction loop
Definitions
- the present disclosure relates to an image encoding/decoding method and apparatus, and more particularly, an image encoding/decoding method and apparatus for selectively signaling filter availability information, and a bitstream generated by the image encoding method/apparatus of the present disclosure How to transmit.
- HD images high definition (HD) images and ultra high definition (UHD) images
- UHD images ultra high definition
- An object of the present disclosure is to provide an image encoding/decoding method and apparatus with improved encoding/decoding efficiency.
- Another object of the present disclosure is to provide an image encoding/decoding method and apparatus for improving encoding/decoding efficiency by selectively signaling filter availability information.
- Another object of the present disclosure is to provide a method of transmitting a bitstream generated by an image encoding method or apparatus according to the present disclosure.
- Another object of the present disclosure is to provide a recording medium storing a bitstream generated by an image encoding method or apparatus according to the present disclosure.
- Another object of the present disclosure is to provide a recording medium storing a bitstream that is received and decoded by an image decoding apparatus according to the present disclosure and used to restore an image.
- An image decoding method performed by an image decoding apparatus includes: determining the number of tiles in a current picture based on which division of the current picture is not limited; obtaining, from a bitstream, a first flag indicating whether filtering on a tile boundary is available based on the number of tiles in the current picture; and determining whether to perform filtering on a boundary of a tile belonging to the current picture based on the value of the first flag.
- an image decoding apparatus including a memory and at least one processor, wherein the at least one processor is configured to divide a tile in the current picture based on the fact that division of the current picture is not limited. The number is determined, and a first flag indicating whether filtering on a tile boundary is available or not is obtained from a bitstream based on a plurality of tiles in the current picture, and based on the value of the first flag, the current picture It is possible to determine whether to perform filtering on the boundary of a tile belonging to .
- an image encoding method performed by an image encoding apparatus may include determining the number of tiles in the current picture based on that division of the current picture is not limited; determining a value of a first flag indicating whether filtering for a tile boundary is available based on the number of tiles in the current picture; and generating a bitstream including the first flag.
- the transmission method according to an aspect of the present disclosure may transmit a bitstream generated by the image encoding apparatus or the image encoding method of the present disclosure.
- the computer-readable recording medium may store a bitstream generated by the image encoding method or image encoding apparatus of the present disclosure.
- an image encoding/decoding method and apparatus having improved encoding/decoding efficiency may be provided.
- an image encoding/decoding method and apparatus capable of improving encoding/decoding efficiency by selectively signaling filter availability information may be provided.
- a method for transmitting a bitstream generated by an image encoding method or apparatus according to the present disclosure may be provided.
- a recording medium storing a bitstream generated by the image encoding method or apparatus according to the present disclosure may be provided.
- a recording medium storing a bitstream received and decoded by the image decoding apparatus according to the present disclosure and used to restore an image.
- FIG. 1 is a diagram schematically illustrating a video coding system to which an embodiment according to the present disclosure can be applied.
- FIG. 2 is a diagram schematically illustrating an image encoding apparatus to which an embodiment according to the present disclosure can be applied.
- FIG. 3 is a diagram schematically illustrating an image decoding apparatus to which an embodiment according to the present disclosure can be applied.
- FIG. 4 is a diagram illustrating a split structure of an image according to an exemplary embodiment.
- FIG. 5 is a diagram illustrating an embodiment of a block division type according to a multi-type tree structure.
- FIG. 6 is a diagram illustrating a signaling mechanism of block partitioning information in a quadtree with nested multi-type tree structure according to the present disclosure.
- FIG. 7 is a diagram illustrating an embodiment in which a CTU is divided into multiple CUs.
- FIG. 8 is a diagram illustrating a peripheral reference sample according to an embodiment.
- 9 to 10 are diagrams for explaining intra prediction according to an embodiment.
- 11 is a diagram for describing an encoding method using inter prediction according to an embodiment.
- FIG. 12 is a diagram for describing a decoding method using inter prediction according to an embodiment.
- FIG. 13 is a diagram illustrating a block diagram of CABAC according to an embodiment for encoding one syntax element.
- 14 to 17 are diagrams for explaining entropy encoding and decoding according to an embodiment.
- FIGS. 18 and 19 are diagrams illustrating examples of picture decoding and encoding procedures according to an embodiment.
- 20 is a diagram illustrating a hierarchical structure of a coded image according to an embodiment.
- 21 to 24 are diagrams illustrating an embodiment in which a picture is divided using a tile, a slice, and a subpicture.
- 25 to 28 are diagrams illustrating individual examples of syntax for a picture parameter set.
- 29 and 30 are diagrams illustrating an example of a decoding method and an encoding method.
- FIG. 31 is a diagram illustrating a content streaming system to which an embodiment of the present disclosure can be applied.
- a component when it is said that a component is “connected”, “coupled” or “connected” with another component, it is not only a direct connection relationship, but also an indirect connection relationship in which another component exists in the middle. may also include.
- a component when a component is said to "include” or “have” another component, it means that another component may be further included without excluding other components unless otherwise stated. .
- first, second, etc. are used only for the purpose of distinguishing one component from another, and do not limit the order or importance between the components unless otherwise specified. Accordingly, within the scope of the present disclosure, a first component in one embodiment may be referred to as a second component in another embodiment, and similarly, a second component in one embodiment is referred to as a first component in another embodiment. can also be called
- components that are distinguished from each other are for clearly explaining each characteristic, and do not necessarily mean that the components are separated. That is, a plurality of components may be integrated to form one hardware or software unit, or one component may be distributed to form a plurality of hardware or software units. Accordingly, even if not specifically mentioned, such integrated or dispersed embodiments are also included in the scope of the present disclosure.
- components described in various embodiments do not necessarily mean essential components, and some may be optional components. Accordingly, an embodiment composed of a subset of components described in one embodiment is also included in the scope of the present disclosure. In addition, embodiments including other components in addition to components described in various embodiments are also included in the scope of the present disclosure.
- the present disclosure relates to encoding and decoding of an image, and terms used in the present disclosure may have conventional meanings commonly used in the technical field to which the present disclosure belongs unless they are newly defined in the present disclosure.
- video may mean a set of a series of images according to the passage of time.
- a “picture” generally refers to a unit representing one image in a specific time period
- a slice/tile is a coding unit constituting a part of a picture in encoding.
- One picture may consist of one or more slices/tiles.
- a slice/tile may include one or more coding tree units (CTUs). The CTU may be divided into one or more CUs.
- One picture may consist of one or more slices/tiles.
- a tile is a rectangular area existing in a specific tile row and a specific tile column in a picture, and may be composed of a plurality of CTUs.
- a tile column may be defined as a rectangular region of CTUs, may have a height equal to the height of a picture, and may have a width specified by a syntax element signaled from a bitstream part such as a picture parameter set.
- a tile row may be defined as a rectangular area of CTUs, may have a width equal to the width of a picture, and may have a height specified by a syntax element signaled from a bitstream part such as a picture parameter set.
- a tile scan is a certain continuous ordering method of CTUs that divide a picture.
- CTUs may be sequentially ordered according to a CTU raster scan within a tile, and tiles in a picture may be sequentially ordered according to a raster scan order of tiles of the picture.
- a slice may contain an integer number of complete tiles, or it may contain a continuous integer number of complete CTU rows within one tile of one picture.
- a slice may be exclusively included in one single NAL unit.
- One picture may be composed of one or more tile groups.
- One tile group may include one or more tiles.
- a brick may indicate a rectangular area of CTU rows within a tile in a picture.
- One tile may include one or more bricks.
- a brick may represent a rectangular area of CTU rows in a tile.
- One tile may be divided into a plurality of bricks, and each brick may include one or more CTU rows belonging to the tile. Tiles that are not divided into a plurality of bricks may also be treated as bricks.
- one picture may be divided into two or more subpictures.
- a subpicture may be a rectangular region of one or more slices in the picture.
- pixel or “pel” may mean a minimum unit constituting one picture (or image).
- sample may be used as a term corresponding to a pixel.
- the sample may generally represent a pixel or a value of a pixel, may represent only a pixel/pixel value of a luma component, or may represent only a pixel/pixel value of a chroma component.
- a “unit” may indicate a basic unit of image processing.
- the unit may include at least one of a specific region of a picture and information related to the region.
- One unit may include one luma block and two chroma (e.g. Cb, Cr) blocks.
- a unit may be used interchangeably with terms such as “sample array”, “block” or “area” in some cases.
- an MxN block may include samples (or sample arrays) or a set (or arrays) of transform coefficients including M columns and N rows.
- current block may mean one of “current coding block”, “current coding unit”, “coding object block”, “decoding object block”, or “processing object block”.
- current block may mean “current prediction block” or “prediction target block”.
- transform inverse transform
- quantization inverse quantization
- current block may mean “current transform block” or “transform target block”.
- filtering the “current block” may mean a “filtering target block”.
- a “current block” may mean a “luma block of the current block” unless explicitly stated as a chroma block.
- a “chroma block of the current block” may be explicitly expressed including an explicit description of a chroma block, such as a “chroma block” or a “current chroma block”.
- “/” and “,” may be interpreted as “and/or”.
- “A/B” and “A, B” may be interpreted as “A and/or B”.
- “A/B/C” and “A, B, C” may mean “at least one of A, B, and/or C”.
- FIG. 1 illustrates a video coding system according to this disclosure.
- a video coding system may include a source device 10 and a receiving device 20 .
- the source device 10 may transmit encoded video and/or image information or data in a file or streaming form to the receiving device 20 through a digital storage medium or a network.
- the source device 10 may include a video source generator 11 , an encoding apparatus 12 , and a transmitter 13 .
- the reception device 20 may include a reception unit 21 , a decoding apparatus 12 , and a rendering unit 23 .
- the encoding apparatus 12 may be referred to as a video/image encoding apparatus, and the decoding apparatus 12 may be referred to as a video/image decoding apparatus.
- the transmitter 13 may be included in the encoding device 12 .
- the receiver 21 may be included in the decoding device 12 .
- the rendering unit 23 may include a display unit, and the display unit may be configured as a separate device or external component.
- the video source generator 11 may acquire a video/image through a process of capturing, synthesizing, or generating the video/image.
- the video source generating unit 11 may include a video/image capturing device and/or a video/image generating device.
- a video/image capture device may include, for example, one or more cameras, a video/image archive containing previously captured video/images, and the like.
- a video/image generating device may include, for example, a computer, tablet, and smart phone, and may (electronically) generate a video/image.
- a virtual video/image may be generated through a computer, etc. In this case, the video/image capturing process may be substituted for the process of generating related data.
- the encoding apparatus 12 may encode an input video/image.
- the encoding apparatus 12 may perform a series of procedures such as prediction, transformation, and quantization for compression and encoding efficiency.
- the encoding apparatus 12 may output encoded data (encoded video/image information) in the form of a bitstream.
- the transmitting unit 13 may transmit the encoded video/image information or data output in the form of a bitstream to the receiving unit 21 of the receiving device 20 through a digital storage medium or a network in a file or streaming form.
- the digital storage medium may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, and SSD.
- the transmission unit 13 may include an element for generating a media file through a predetermined file format, and may include an element for transmission through a broadcast/communication network.
- the receiving unit 21 may extract/receive the bitstream from the storage medium or network and transmit it to the decoding device 12 .
- the decoding apparatus 12 may decode a video/image by performing a series of procedures such as inverse quantization, inverse transformation, and prediction corresponding to the operation of the encoding apparatus 12 .
- the rendering unit 23 may render the decoded video/image.
- the rendered video/image may be displayed through the display unit.
- FIG. 2 is a diagram schematically illustrating an image encoding apparatus to which an embodiment according to the present disclosure can be applied.
- the image encoding apparatus 100 includes an image segmentation unit 110 , a subtraction unit 115 , a transform unit 120 , a quantization unit 130 , an inverse quantization unit 140 , and an inverse transform unit ( 150 ), an adder 155 , a filtering unit 160 , a memory 170 , an inter prediction unit 180 , an intra prediction unit 185 , and an entropy encoding unit 190 .
- the inter prediction unit 180 and the intra prediction unit 185 may be collectively referred to as a “prediction unit”.
- the transform unit 120 , the quantization unit 130 , the inverse quantization unit 140 , and the inverse transform unit 150 may be included in a residual processing unit.
- the residual processing unit may further include a subtraction unit 115 .
- All or at least some of the plurality of components constituting the image encoding apparatus 100 may be implemented as one hardware component (eg, an encoder or a processor) according to an embodiment.
- the memory 170 may include a decoded picture buffer (DPB), and may be implemented by a digital storage medium.
- DPB decoded picture buffer
- the image dividing unit 110 may divide an input image (or a picture, a frame) input to the image encoding apparatus 100 into one or more processing units.
- the processing unit may be referred to as a coding unit (CU).
- Coding unit is a coding tree unit (coding tree unit, CTU) or largest coding unit (LCU) according to the QT / BT / TT (Quad-tree / binary-tree / ternary-tree) structure recursively ( can be obtained by recursively segmenting.
- one coding unit may be divided into a plurality of coding units having a lower depth based on a quad tree structure, a binary tree structure, and/or a ternary tree structure.
- a quad tree structure may be applied first and a binary tree structure and/or a ternary tree structure may be applied later.
- a coding procedure according to the present disclosure may be performed based on the last coding unit that is no longer divided.
- the largest coding unit may be directly used as the final coding unit, and a coding unit of a lower depth obtained by dividing the largest coding unit may be used as the final cornet unit.
- the coding procedure may include procedures such as prediction, transformation, and/or restoration, which will be described later.
- the processing unit of the coding procedure may be a prediction unit (PU) or a transform unit (TU).
- the prediction unit and the transform unit may be divided or partitioned from the final coding unit, respectively.
- the prediction unit may be a unit of sample prediction
- the transform unit may be a unit for deriving a transform coefficient and/or a unit for deriving a residual signal from the transform coefficient.
- the prediction unit (the inter prediction unit 180 or the intra prediction unit 185) performs prediction on a processing target block (current block), and generates a predicted block including prediction samples for the current block.
- the prediction unit may determine whether intra prediction or inter prediction is applied on a current block or CU basis.
- the prediction unit may generate various information regarding prediction of the current block and transmit it to the entropy encoding unit 190 .
- the prediction information may be encoded by the entropy encoding unit 190 and output in the form of a bitstream.
- the intra prediction unit 185 may predict the current block with reference to samples in the current picture.
- the referenced samples may be located in the vicinity of the current block according to an intra prediction mode and/or an intra prediction technique, or may be located apart from each other.
- the intra prediction modes may include a plurality of non-directional modes and a plurality of directional modes.
- the non-directional mode may include, for example, a DC mode and a planar mode (Planar mode).
- the directional mode may include, for example, 33 directional prediction modes or 65 directional prediction modes according to the granularity of the prediction direction. However, this is an example, and a higher or lower number of directional prediction modes may be used according to a setting.
- the intra prediction unit 185 may determine the prediction mode applied to the current block by using the prediction mode applied to the neighboring block.
- the inter prediction unit 180 may derive the predicted block for the current block based on the reference block (reference sample array) specified by the motion vector on the reference picture.
- the motion information may be predicted in units of blocks, subblocks, or samples based on the correlation between motion information between neighboring blocks and the current block.
- the motion information may include a motion vector and a reference picture index.
- the motion information may further include inter prediction direction (L0 prediction, L1 prediction, Bi prediction, etc.) information.
- the neighboring blocks may include spatial neighboring blocks existing in the current picture and temporal neighboring blocks present in the reference picture.
- the reference picture including the reference block and the reference picture including the temporal neighboring block may be the same or different.
- the temporal neighboring block may be called a collocated reference block, a collocated CU (colCU), or the like.
- the reference picture including the temporal neighboring block may be referred to as a collocated picture (colPic).
- the inter prediction unit 180 constructs a motion information candidate list based on neighboring blocks, and provides information indicating which candidate is used to derive a motion vector and/or a reference picture index of the current block. can create Inter prediction may be performed based on various prediction modes. For example, in the skip mode and merge mode, the inter prediction unit 180 may use motion information of a neighboring block as motion information of the current block. In the skip mode, unlike the merge mode, a residual signal may not be transmitted.
- a motion vector of a neighboring block is used as a motion vector predictor, and a motion vector difference and an indicator for the motion vector predictor ( indicator) to signal the motion vector of the current block.
- the motion vector difference may mean a difference between the motion vector of the current block and the motion vector predictor.
- the prediction unit may generate a prediction signal based on various prediction methods and/or prediction techniques to be described later. For example, the prediction unit may apply intra prediction or inter prediction for prediction of the current block, and may simultaneously apply intra prediction and inter prediction. A prediction method that simultaneously applies intra prediction and inter prediction for prediction of the current block may be referred to as combined inter and intra prediction (CIIP). Also, the prediction unit may perform intra block copy (IBC) for prediction of the current block. The intra block copy may be used for video/video coding of content such as games, for example, screen content coding (SCC). IBC is a method of predicting a current block using a reconstructed reference block in a current picture located a predetermined distance away from the current block.
- CIIP combined inter and intra prediction
- IBC intra block copy
- the intra block copy may be used for video/video coding of content such as games, for example, screen content coding (SCC).
- IBC is a method of predicting a current block using a reconstructed reference block in a current picture located
- the position of the reference block in the current picture may be encoded as a vector (block vector) corresponding to the predetermined distance.
- IBC basically performs prediction within the current picture, but may be performed similarly to inter prediction in that a reference block is derived within the current picture. That is, IBC may use at least one of the inter prediction techniques described in this disclosure.
- the prediction signal generated by the prediction unit may be used to generate a reconstructed signal or may be used to generate a residual signal.
- the subtraction unit 115 subtracts the prediction signal (predicted block, prediction sample array) output from the prediction unit from the input image signal (original block, original sample array) to obtain a residual signal (residual signal, residual block, and residual sample array). ) can be created.
- the generated residual signal may be transmitted to the converter 120 .
- the transform unit 120 may generate transform coefficients by applying a transform technique to the residual signal.
- the transformation method may include at least one of Discrete Cosine Transform (DCT), Discrete Sine Transform (DST), Karhunen-Loeve Transform (KLT), Graph-Based Transform (GBT), or Conditionally Non-linear Transform (CNT).
- DCT Discrete Cosine Transform
- DST Discrete Sine Transform
- KLT Karhunen-Loeve Transform
- GBT Graph-Based Transform
- CNT Conditionally Non-linear Transform
- GBT means a transformation obtained from this graph when expressing relationship information between pixels in a graph.
- CNT refers to a transformation obtained by generating a prediction signal using all previously reconstructed pixels and based thereon.
- the transformation process may be applied to a block of pixels having the same size as a square, or may be applied to a block of variable size that is not a square.
- the quantization unit 130 may quantize the transform coefficients and transmit them to the entropy encoding unit 190 .
- the entropy encoding unit 190 may encode a quantized signal (information on quantized transform coefficients) and output it as a bitstream.
- Information about the quantized transform coefficients may be referred to as residual information.
- the quantization unit 130 may rearrange the quantized transform coefficients in the block form into a one-dimensional vector form based on a coefficient scan order, and the quantized transform coefficients in the one-dimensional vector form are quantized based on the quantized transform coefficients in the one-dimensional vector form.
- Information about the transform coefficients may be generated.
- the entropy encoding unit 190 may perform various encoding methods such as, for example, exponential Golomb, context-adaptive variable length coding (CAVLC), and context-adaptive binary arithmetic coding (CABAC).
- the entropy encoding unit 190 may encode information necessary for video/image reconstruction (eg, values of syntax elements, etc.) other than the quantized transform coefficients together or separately.
- Encoded information eg, encoded video/image information
- NAL network abstraction layer
- the video/image information may further include information about various parameter sets, such as an adaptation parameter set (APS), a picture parameter set (PPS), a sequence parameter set (SPS), or a video parameter set (VPS). Also, the video/image information may further include general constraint information.
- APS adaptation parameter set
- PPS picture parameter set
- SPS sequence parameter set
- VPS video parameter set
- the video/image information may further include general constraint information.
- the signaling information, transmitted information, and/or syntax elements mentioned in this disclosure may be encoded through the above-described encoding procedure and included in the bitstream.
- the bitstream may be transmitted over a network or may be stored in a digital storage medium.
- the network may include a broadcasting network and/or a communication network
- the digital storage medium may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, and SSD.
- a transmission unit (not shown) and/or a storage unit (not shown) for storing the signal output from the entropy encoding unit 190 may be provided as internal/external elements of the image encoding apparatus 100 , or transmission The unit may be provided as a component of the entropy encoding unit 190 .
- the quantized transform coefficients output from the quantization unit 130 may be used to generate a residual signal.
- a residual signal residual block or residual samples
- a residual signal residual block or residual samples
- the adder 155 adds a reconstructed signal (reconstructed picture, reconstructed block, reconstructed sample array) by adding the reconstructed residual signal to the prediction signal output from the inter prediction unit 180 or the intra prediction unit 185 .
- a reconstructed signal (reconstructed picture, reconstructed block, reconstructed sample array) by adding the reconstructed residual signal to the prediction signal output from the inter prediction unit 180 or the intra prediction unit 185 .
- the adder 155 may be referred to as a restoration unit or a restoration block generator.
- the generated reconstructed signal may be used for intra prediction of the next processing object block in the current picture, or may be used for inter prediction of the next picture after filtering as described below.
- the filtering unit 160 may improve subjective/objective image quality by applying filtering to the reconstructed signal.
- the filtering unit 160 may generate a modified reconstructed picture by applying various filtering methods to the reconstructed picture, and store the modified reconstructed picture in the memory 170 , specifically, the DPB of the memory 170 .
- the various filtering methods may include, for example, deblocking filtering, a sample adaptive offset, an adaptive loop filter, a bilateral filter, and the like.
- the filtering unit 160 may generate various information regarding filtering and transmit it to the entropy encoding unit 190 as described later in the description of each filtering method.
- the filtering-related information may be encoded by the entropy encoding unit 190 and output in the form of a bitstream.
- the modified reconstructed picture transmitted to the memory 170 may be used as a reference picture in the inter prediction unit 180 .
- the image encoding apparatus 100 can avoid a prediction mismatch between the image encoding apparatus 100 and the image decoding apparatus, and can also improve encoding efficiency.
- the DPB in the memory 170 may store a reconstructed picture corrected for use as a reference picture in the inter prediction unit 180 .
- the memory 170 may store motion information of a block in which motion information in the current picture is derived (or encoded) and/or motion information of blocks in an already reconstructed picture.
- the stored motion information may be transmitted to the inter prediction unit 180 to be used as motion information of a spatial neighboring block or motion information of a temporal neighboring block.
- the memory 170 may store reconstructed samples of reconstructed blocks in the current picture, and may transmit the reconstructed samples to the intra prediction unit 185 .
- FIG. 3 is a diagram schematically illustrating an image decoding apparatus to which an embodiment according to the present disclosure can be applied.
- the image decoding apparatus 200 includes an entropy decoding unit 210 , an inverse quantization unit 220 , an inverse transform unit 230 , an adder 235 , a filtering unit 240 , and a memory 250 .
- the inter prediction unit 260 and the intra prediction unit 265 may be included.
- the inter prediction unit 260 and the intra prediction unit 265 may be collectively referred to as a “prediction unit”.
- the inverse quantization unit 220 and the inverse transform unit 230 may be included in the residual processing unit.
- All or at least some of the plurality of components constituting the image decoding apparatus 200 may be implemented as one hardware component (eg, a decoder or a processor) according to an embodiment.
- the memory 170 may include a DPB, and may be implemented by a digital storage medium.
- the image decoding apparatus 200 may reconstruct the image by performing a process corresponding to the process performed by the image encoding apparatus 100 of FIG. 2 .
- the image decoding apparatus 200 may perform decoding using a processing unit applied in the image encoding apparatus.
- the processing unit of decoding may be, for example, a coding unit.
- a coding unit may be a coding tree unit or may be obtained by dividing the largest coding unit.
- the reconstructed image signal decoded and output through the image decoding apparatus 200 may be reproduced through a reproducing apparatus (not shown).
- the image decoding apparatus 200 may receive the signal output from the image encoding apparatus of FIG. 2 in the form of a bitstream.
- the received signal may be decoded through the entropy decoding unit 210 .
- the entropy decoding unit 210 may parse the bitstream to derive information (eg, video/image information) required for image restoration (or picture restoration).
- the video/image information may further include information about various parameter sets, such as an adaptation parameter set (APS), a picture parameter set (PPS), a sequence parameter set (SPS), or a video parameter set (VPS).
- the video/image information may further include general constraint information.
- the image decoding apparatus may additionally use the information about the parameter set and/or the general restriction information to decode the image.
- the signaling information, received information and/or syntax elements mentioned in this disclosure may be obtained from the bitstream by being decoded through the decoding procedure.
- the entropy decoding unit 210 decodes information in a bitstream based on a coding method such as exponential Golomb coding, CAVLC or CABAC, and a value of a syntax element required for image reconstruction, and a quantized value of a transform coefficient related to a residual. can be printed out.
- the CABAC entropy decoding method receives a bin corresponding to each syntax element in a bitstream, and receives syntax element information to be decoded and decoding information of neighboring blocks and blocks to be decoded or information of symbols/bins decoded in the previous step.
- the CABAC entropy decoding method may update the context model by using the decoded symbol/bin information for the context model of the next symbol/bin after determining the context model.
- Prediction-related information among the information decoded by the entropy decoding unit 210 is provided to the prediction unit (the inter prediction unit 260 and the intra prediction unit 265), and the entropy decoding unit 210 performs entropy decoding.
- the dual value that is, quantized transform coefficients and related parameter information may be input to the inverse quantization unit 220 .
- information about filtering among the information decoded by the entropy decoding unit 210 may be provided to the filtering unit 240 .
- a receiving unit (not shown) for receiving a signal output from the image encoding apparatus may be additionally provided as an internal/external element of the image decoding apparatus 200 , or the receiving unit is provided as a component of the entropy decoding unit 210 . it might be
- the image decoding apparatus may be referred to as a video/image/picture decoding apparatus.
- the image decoding apparatus may include an information decoder (video/image/picture information decoder) and/or a sample decoder (video/image/picture sample decoder).
- the information decoder may include an entropy decoding unit 210, and the sample decoder includes an inverse quantizer 220, an inverse transform unit 230, an adder 235, a filtering unit 240, a memory 250, At least one of an inter prediction unit 260 and an intra prediction unit 265 may be included.
- the inverse quantizer 220 may inverse quantize the quantized transform coefficients to output transform coefficients.
- the inverse quantizer 220 may rearrange the quantized transform coefficients in a two-dimensional block form. In this case, the rearrangement may be performed based on a coefficient scan order performed by the image encoding apparatus.
- the inverse quantizer 220 may perform inverse quantization on the quantized transform coefficients using a quantization parameter (eg, quantization step size information) and obtain transform coefficients.
- a quantization parameter eg, quantization step size information
- the inverse transform unit 230 may inverse transform the transform coefficients to obtain a residual signal (residual block, residual sample array).
- the prediction unit may perform prediction on the current block and generate a predicted block including prediction samples for the current block.
- the prediction unit may determine whether intra prediction or inter prediction is applied to the current block based on the prediction information output from the entropy decoding unit 210, and determine a specific intra/inter prediction mode (prediction technique).
- the intra prediction unit 265 may predict the current block with reference to samples in the current picture.
- the description of the intra prediction unit 185 may be equally applied to the intra prediction unit 265 .
- the inter prediction unit 260 may derive the predicted block for the current block based on the reference block (reference sample array) specified by the motion vector on the reference picture.
- the motion information may be predicted in units of blocks, subblocks, or samples based on the correlation between motion information between neighboring blocks and the current block.
- the motion information may include a motion vector and a reference picture index.
- the motion information may further include inter prediction direction (L0 prediction, L1 prediction, Bi prediction, etc.) information.
- the neighboring blocks may include spatial neighboring blocks existing in the current picture and temporal neighboring blocks present in the reference picture.
- the inter prediction unit 260 may construct a motion information candidate list based on neighboring blocks, and derive a motion vector and/or a reference picture index of the current block based on the received candidate selection information.
- Inter prediction may be performed based on various prediction modes (techniques), and the prediction information may include information indicating a mode (technique) of inter prediction for the current block.
- the adder 235 restores the obtained residual signal by adding it to the prediction signal (predicted block, prediction sample array) output from the prediction unit (including the inter prediction unit 260 and/or the intra prediction unit 265 ).
- a signal (reconstructed picture, reconstructed block, reconstructed sample array) may be generated.
- the predicted block may be used as a reconstructed block.
- the description of the adder 155 may be equally applied to the adder 235 .
- the addition unit 235 may be called a restoration unit or a restoration block generation unit.
- the generated reconstructed signal may be used for intra prediction of the next processing object block in the current picture, or may be used for inter prediction of the next picture after filtering as described below.
- the filtering unit 240 may improve subjective/objective image quality by applying filtering to the reconstructed signal.
- the filtering unit 240 may generate a modified reconstructed picture by applying various filtering methods to the reconstructed picture, and store the modified reconstructed picture in the memory 250 , specifically, the DPB of the memory 250 .
- the various filtering methods may include, for example, deblocking filtering, a sample adaptive offset, an adaptive loop filter, a bilateral filter, and the like.
- the (modified) reconstructed picture stored in the DPB of the memory 250 may be used as a reference picture in the inter prediction unit 260 .
- the memory 250 may store motion information of a block in which motion information in the current picture is derived (or decoded) and/or motion information of blocks in an already reconstructed picture.
- the stored motion information may be transmitted to the inter prediction unit 260 to be used as motion information of a spatial neighboring block or motion information of a temporal neighboring block.
- the memory 250 may store reconstructed samples of blocks reconstructed in the current picture, and may transmit the reconstructed samples to the intra prediction unit 265 .
- the embodiments described in the filtering unit 160, the inter prediction unit 180, and the intra prediction unit 185 of the image encoding apparatus 100 include the filtering unit 240 of the image decoding apparatus 200, The same or corresponding application may be applied to the inter prediction unit 260 and the intra prediction unit 265 .
- the video/image coding method may be performed based on the following image division structure.
- procedures such as prediction, residual processing ((inverse) transform, (inverse) quantization, etc.), syntax element coding, and filtering, which will be described later, are CTU, CU (and/or TU, etc.) derived based on the segmentation structure of the image. PU) may be performed.
- the image may be divided in block units, and the block division procedure may be performed by the image division unit 110 of the above-described encoding apparatus.
- the division-related information may be encoded by the entropy encoding unit 190 and transmitted to the decoding apparatus in the form of a bitstream.
- the entropy decoding unit 210 of the decoding apparatus derives the block division structure of the current picture based on the division related information obtained from the bitstream, and based on this, a series of procedures (eg, prediction, residual processing, block/picture restoration, in-loop filtering, etc.).
- a series of procedures eg, prediction, residual processing, block/picture restoration, in-loop filtering, etc.
- Pictures may be divided into a sequence of coding tree units (CTUs). 4 shows an example in which a picture is divided into CTUs.
- the CTU may correspond to coding tree blocks (CTB).
- CTU may include a coding tree block of luma samples and two coding tree blocks of corresponding chroma samples.
- the CTU may include an NxN block of luma samples and two corresponding blocks of chroma samples.
- the maximum allowable size of the CTU for coding and prediction may be different from the maximum allowable size of the CTU for transformation.
- the maximum allowable size of the luma block in the CTU may be 128x128, even if the maximum size of the luma transform blocks is 64x64.
- the coding unit is to be obtained by recursively dividing a coding tree unit (CTU) or a largest coding unit (LCU) according to a QT/BT/TT (Quad-tree/binary-tree/ternary-tree) structure.
- CTU coding tree unit
- LCU largest coding unit
- QT/BT/TT Quad-tree/binary-tree/ternary-tree
- the CTU may first be divided into a quadtree structure. Thereafter, the leaf nodes of the quadtree structure may be further divided by the multitype tree structure.
- the division according to the quadtree refers to division that divides the current CU (or CTU) into quarters.
- the current CU may be divided into four CUs having the same width and the same height.
- the current CU corresponds to a leaf node of the quadtree structure.
- a CU corresponding to a leaf node of a quadtree structure may be used as the above-described final coding unit without being split any further.
- a CU corresponding to a leaf node of a quadtree structure may be further divided by a multitype tree structure.
- the division according to the multi-type tree structure may include two divisions according to the binary tree structure and two divisions according to the ternary tree structure.
- the two divisions according to the binary tree structure may include vertical binary splitting (SPLIT_BT_VER) and horizontal binary splitting (SPLIT_BT_HOR).
- the vertical binary division (SPLIT_BT_VER) refers to division that divides the current CU into two in the vertical direction. As shown in FIG. 4 , two CUs having the same height as the height of the current CU and half the width of the current CU may be generated by vertical binary partitioning.
- the horizontal binary division (SPLIT_BT_HOR) refers to division that divides the current CU into two in the horizontal direction. As shown in FIG. 5 , two CUs having a height of half the height of the current CU and the same width as the width of the current CU may be generated by horizontal binary partitioning.
- the two divisions according to the ternary tree structure may include a vertical ternary splitting (SPLIT_TT_VER) and a horizontal ternary splitting (SPLIT_TT_HOR).
- the vertical ternary division (SPLIT_TT_VER) divides the current CU in the vertical direction at a ratio of 1:2:1.
- the horizontal ternary division (SPLIT_TT_HOR) divides the current CU in the horizontal direction at a ratio of 1:2:1.
- FIG. 6 is a diagram illustrating a signaling mechanism of block partitioning information in a quadtree with nested multi-type tree structure according to the present disclosure.
- the CTU is treated as a root node of the quadtree, and the CTU is first divided into a quadtree structure.
- Information eg, qt_split_flag
- qt_split_flag a first value (eg, “1”)
- the current CU may be divided into a quadtree.
- qt_split_flag is a second value (eg, “0”)
- the current CU is not divided into a quadtree and becomes a leaf node (QT_leaf_node) of the quadtree.
- the leaf nodes of each quadtree may then be further divided into a multitype tree structure. That is, the leaf node of the quadtree may be a node (MTT_node) of the multitype tree.
- a first flag eg, mtt_split_cu_flag
- a second flag e.g. mtt_split_cu_verticla_flag
- the division direction may be a vertical direction
- the second flag is 0, the division direction may be a horizontal direction.
- a third flag e.g, mtt_split_cu_binary_flag
- the partition type may be a binary partition type
- the third flag is 0, the partition type may be a ternary partition type.
- Nodes of a multitype tree obtained by binary partitioning or ternary partitioning may be further partitioned into a multitype tree structure.
- the nodes of the multitype tree cannot be partitioned into a quadtree structure.
- the first flag is 0, the corresponding node of the multitype tree is no longer split and becomes a leaf node (MTT_leaf_node) of the multitype tree.
- a CU corresponding to a leaf node of the multitype tree may be used as the above-described final coding unit.
- a multi-type tree splitting mode (MttSplitMode) of a CU may be derived as shown in Table 1.
- the multi-tree split mode may be referred to as a multi-tree split type or a split type for short.
- a CU may correspond to a coding block CB.
- a CU may include a coding block of luma samples and two coding blocks of chroma samples corresponding to the luma samples.
- the chroma component (sample) CB or TB size is determined by the luma component (sample) according to the component ratio according to the color format (chroma format, ex.
- 4:4:4, 4:2:2, 4:2:0, etc.) of the picture/video ) may be derived based on the CB or TB size.
- the chroma component CB/TB size may be set to be the same as the luma component CB/TB size.
- the width of the chroma component CB/TB may be set to half the width of the luma component CB/TB, and the height of the chroma component CB/TB may be set to the height of the luma component CB/TB.
- the width of the chroma component CB/TB may be set to half the width of the luma component CB/TB, and the height of the chroma component CB/TB may be set to half the height of the luma component CB/TB.
- the size of the CU when the size of the CTU is 128 based on the luma sample unit, the size of the CU may have a size from 128 x 128 to 4 x 4, which is the same size as the CTU. In an embodiment, in the case of a 4:2:0 color format (or chroma format), the chroma CB size may have a size of 64x64 to 2x2.
- the CU size and the TU size may be the same.
- a plurality of TUs may exist in the CU region.
- the TU size may generally indicate a luma component (sample) TB (Transform Block) size.
- the TU size may be derived based on a preset maximum allowable TB size (maxTbSize). For example, when the CU size is larger than the maxTbSize, a plurality of TUs (TBs) having the maxTbSize may be derived from the CU, and transform/inverse transformation may be performed in units of the TUs (TB). For example, the maximum allowable luma TB size may be 64x64, and the maximum allowable chroma TB size may be 32x32. If the width or height of a CB divided according to the tree structure is greater than the maximum transform width or height, the CB may be automatically (or implicitly) divided until it satisfies the TB size limit in the horizontal and vertical directions.
- maximum TbSize maximum allowable TB size
- the intra prediction mode/type is derived in the CU (or CB) unit, and the peripheral reference sample derivation and prediction sample generation procedure may be performed in a TU (or TB) unit.
- the intra prediction mode/type is derived in the CU (or CB) unit
- the peripheral reference sample derivation and prediction sample generation procedure may be performed in a TU (or TB) unit.
- one or a plurality of TUs (or TBs) may exist in one CU (or CB) region, and in this case, the plurality of TUs (or TBs) may share the same intra prediction mode/type.
- the following parameters may be signaled from the encoding device to the decoding device as SPS syntax elements.
- CTU size a parameter indicating the size of the root node of a quadtree tree, MinQTSize, a parameter indicating the minimum available size of a quadtree leaf node, MaxBTSize, a parameter indicating the maximum available size of a binary tree root node, and the maximum of a ternary tree root node MaxTTSize, a parameter indicating the available size, MaxMttDepth, a parameter indicating the maximum allowed hierarchy depth of a multitype tree divided from a quadtree leaf node, MinBtSize, a parameter indicating the minimum available leaf node size of a binary tree, turner At least one of MinTtSize, which is a parameter indicating the minimum available leaf node size of the tree, may be signaled.
- the CTU size may be set to a 128x128 luma block and two 64x64 chroma blocks corresponding to the luma block.
- MinQTSize may be set to 16x16
- MaxBtSize may be set to 128x1208
- MaxTtSzie may be set to 64x64
- MinBtSize and MinTtSize may be set to 4x4
- MaxMttDepth may be set to 4.
- Quadtree partitioning may be applied to the CTU to create quadtree leaf nodes.
- a quadtree leaf node may be referred to as a leaf QT node.
- Quadtree leaf nodes may have a size of 128x128 (e.g.
- the CTU size from a size of 16x16 (e.g. the MinQTSize).
- the leaf QT node is 128x128, it may not be additionally split into a binary tree/ternary tree. This is because in this case, even if it is split, it exceeds MaxBtsize and MaxTtszie (i.e. 64x64).
- the leaf QT node may be further divided into a multitype tree. Therefore, a leaf QT node is a root node for a multitype tree, and a leaf QT node may have a multitype tree depth (mttDepth) value of 0. If the multitype tree depth reaches MaxMttdepth (ex. 4), further splitting may not be considered.
- the encoding apparatus may omit signaling of splitting information.
- the decoding apparatus may derive the division information as a predetermined value.
- one CTU may include a coding block of luma samples (hereinafter, referred to as a “luma block”) and two coding blocks of chroma samples corresponding thereto (hereinafter, referred to as a “chroma block”).
- the aforementioned coding tree scheme may be equally applied to the luma block and the chroma block of the current CU, or may be applied separately.
- a luma block and a chroma block in one CTU may be divided into the same block tree structure, and the tree structure in this case may be represented as a single tree (SINGLE_TREE).
- a luma block and a chroma block in one CTU may be divided into individual block tree structures, and the tree structure in this case may be represented as a dual tree (DUAL_TREE). That is, when the CTU is divided into a dual tree, a block tree structure for a luma block and a block tree structure for a chroma block may exist separately.
- the block tree structure for the luma block may be called a dual tree luma (DUAL_TREE_LUMA)
- the block tree structure for the chroma block may be called a dual tree chroma (DUAL_TREE_CHROMA).
- the luma block and chroma blocks in one CTU may be constrained to have the same coding tree structure.
- the luma block and the chroma block may have separate block tree structures from each other. If an individual block tree structure is applied, a luma coding tree block (CTB) may be divided into CUs based on a specific coding tree structure, and the chroma CTB may be divided into chroma CUs based on another coding tree structure.
- CTB luma coding tree block
- a CU in an I slice/tile group to which an individual block tree structure is applied consists of a coding block of a luma component or coding blocks of two chroma components, and a CU of a P or B slice/tile group has three color components (luma component). and two chroma components).
- the structure in which the CU is divided is not limited thereto.
- the BT structure and the TT structure may be interpreted as concepts included in a Multiple Partitioning Tree (MPT) structure, and the CU may be interpreted as being divided through the QT structure and the MPT structure.
- MPT Multiple Partitioning Tree
- a syntax element (eg, MPT_split_type) including information on how many blocks a leaf node of the QT structure is divided into and a leaf node of the QT structure are vertical
- the split structure may be determined by signaling a syntax element (eg, MPT_split_mode) including information on which direction to be split between horizontal and vertical.
- a CU may be partitioned in a way different from a QT structure, a BT structure, or a TT structure. That is, according to the QT structure, the CU of the lower depth is divided into 1/4 size of the CU of the upper depth, or the CU of the lower depth is divided into 1/2 the size of the CU of the upper depth according to the BT structure, or according to the TT structure Unlike a CU of a lower depth that is divided into 1/4 or 1/2 the size of a CU of a higher depth, a CU of a lower depth is 1/5, 1/3, 3/8, or 3 of a CU of a higher depth in some cases. It may be divided into /5, 2/3, or 5/8 size, and the method by which the CU is divided is not limited thereto.
- the quadtree coding block structure accompanying the multi-type tree can provide a very flexible block division structure.
- different partitioning patterns may potentially lead to the same coding block structure result in some cases.
- the encoding apparatus and the decoding apparatus may reduce the data amount of the partition information by limiting the generation of such redundant partition patterns.
- an image processing unit may have a hierarchical structure.
- One picture may be divided into one or more tiles, bricks, slices, and/or tile groups.
- One slice may include one or more bricks.
- One brick may include one or more CTU rows in a tile.
- a slice may include an integer number of bricks of a picture.
- One tile group may include one or more tiles.
- One tile may include one or more CTUs.
- the CTU may be divided into one or more CUs.
- a tile may be a rectangular region composed of a specific tile row and a specific tile column composed of a plurality of CTUs within a picture.
- the tile group may include an integer number of tiles according to the tile raster scan in the picture.
- the slice header may carry information/parameters applicable to the corresponding slice (blocks in the slice).
- the encoding/decoding procedures for the tile, slice, brick, and/or tile group may be performed in parallel.
- the names or concepts of a slice or a tile group may be used interchangeably. That is, the tile group header may be referred to as a slice header.
- the slice may have one of slice types including intra (I) slice, predictive (P) slice, and bi-predictive (B) slice.
- I slice intra (I) slice, predictive (P) slice, and bi-predictive (B) slice.
- I slice intra (I) slice, predictive (P) slice, and bi-predictive (B) slice.
- intra prediction or inter prediction may be used, and when inter prediction is used, only uni prediction may be used.
- intra prediction or inter prediction may be used for blocks in a B slice, and when inter prediction is used, up to the maximum pair (bi) prediction may be used.
- the encoding apparatus may determine the tile/tile group, brick, slice, and maximum and minimum coding unit sizes according to characteristics (eg, resolution) of a video image or in consideration of coding efficiency or parallel processing. In addition, information about this or information that can induce it may be included in the bitstream.
- the decoding apparatus may obtain information indicating whether a tile/tile group, a brick, a slice, and a CTU in a tile of the current picture is divided into a plurality of coding units.
- the encoding apparatus and the decoding apparatus may increase encoding efficiency by signaling such information only under specific conditions.
- the slice header may include information/parameters commonly applicable to the slice.
- APS APS syntax
- PPS PPS syntax
- the SPS SPS syntax
- the VPS VPS syntax
- the DPS DPS syntax
- the DPS may include information/parameters commonly applicable to the entire video.
- the DPS may include information/parameters related to the combination of a coded video sequence (CVS).
- CVS coded video sequence
- information on the division and configuration of the tile/tile group/brick/slice may be configured at the encoding stage through the higher-level syntax and transmitted to the decoding apparatus in the form of a bitstream.
- Intra prediction may indicate prediction that generates prediction samples for a current block based on reference samples in a picture to which the current block belongs (hereinafter, referred to as a current picture).
- neighboring reference samples to be used for intra prediction of the current block 801 may be derived.
- the neighboring reference samples of the current block are a total of 2xnH samples including samples 811 adjacent to the left boundary of the current block of size nWxnH and samples 812 neighboring to the bottom-left.
- the neighboring reference samples of the current block may include a plurality of columns of upper neighboring samples and a plurality of rows of left neighboring samples.
- the neighboring reference samples of the current block include a total of nH samples 841 adjacent to the right boundary of the current block of size nWxnH, and a total of nW samples 851 adjacent to the bottom boundary of the current block. and one sample 842 adjacent to the bottom-right of the current block.
- the decoding apparatus may construct neighboring reference samples to be used for prediction by substituting available samples with samples that are not available.
- neighboring reference samples to be used for prediction may be configured through interpolation of available samples.
- a prediction sample may be derived based on an average or interpolation of neighboring reference samples of the current block, and (ii) a neighboring reference sample of the current block.
- the prediction sample may be derived based on a reference sample existing in a specific (prediction) direction with respect to the prediction sample.
- the case of (i) may be called a non-directional mode or a non-angular mode, and the case of (ii) may be called a directional mode or an angular mode.
- a prediction sample may be generated.
- LIP linear interpolation intra prediction
- chroma prediction samples may be generated based on the luma samples using a linear model. This case may be called LM mode.
- a temporary prediction sample of the current block is derived based on the filtered neighboring reference samples, and at least one derived according to the intra prediction mode among the existing neighboring reference samples, that is, unfiltered neighboring reference samples.
- the prediction sample of the current block may be derived by weighted summing the reference sample and the temporary prediction sample.
- the above-described case may be referred to as position dependent intra prediction (PDPC).
- PDPC position dependent intra prediction
- the reference sample line with the highest prediction accuracy is selected among the multiple reference sample lines surrounding the current block, and the prediction sample is derived using the reference sample located in the prediction direction in the corresponding line, and at this time, the used reference sample line is decoded.
- Intra prediction encoding may be performed by instructing (signaling) the device.
- MRL multi-reference line
- the current block is divided into vertical or horizontal sub-partitions to perform intra prediction based on the same intra prediction mode, but neighboring reference samples may be derived and used in units of the sub-partitions. That is, in this case, the intra prediction mode for the current block is equally applied to the sub-partitions, but the intra prediction performance may be improved in some cases by deriving and using peripheral reference samples in units of the sub-partitions.
- This prediction method may be called intra sub-partitions (ISP) or ISP-based intra prediction.
- ISP intra sub-partitions
- These intra prediction methods may be called an intra prediction type to be distinguished from the intra prediction mode (e.g. DC mode, planar mode, and directional mode).
- the intra prediction type may be referred to by various terms such as an intra prediction technique or an additional intra prediction mode.
- the intra prediction type may include at least one of the aforementioned LIP, PDPC, MRL, and ISP.
- a general intra prediction method excluding a specific intra prediction type such as LIP, PDPC, MRL, and ISP may be referred to as a normal intra prediction type.
- the normal intra prediction type may refer to a case in which the above specific intra prediction type is not applied, and prediction may be performed based on the above-described intra prediction mode. Meanwhile, if necessary, post-processing filtering may be performed on the derived prediction sample.
- the intra prediction procedure may include an intra prediction mode/type determination step, a peripheral reference sample deriving step, and an intra prediction mode/type based prediction sample deriving step.
- a post-filtering step may be performed on the derived prediction sample.
- affine linear weighted intra prediction may be used in addition to the above-described intra prediction types.
- the ALWIP may be referred to as linear weighted intra prediction (LWIP) or matrix weighted intra prediction or matrix based intra prediction (MIP).
- LWIP linear weighted intra prediction
- MIP matrix based intra prediction
- the intra prediction modes used for the MIP may be configured differently from the intra prediction modes used in the above-described LIP, PDPC, MRL, and ISP intra prediction or normal intra prediction.
- the intra prediction mode for the MIP may be referred to as a MIP intra prediction mode, a MIP prediction mode, or a MIP mode.
- a matrix and an offset used in the matrix vector multiplexing may be set differently according to the intra prediction mode for the MIP.
- the matrix may be referred to as a (MIP) weight matrix
- the offset may be referred to as a (MIP) offset vector or a (MIP) bias vector.
- MIP weight matrix
- a block reconstruction procedure based on intra prediction and an intra prediction unit in an encoding apparatus may schematically include, for example, the following.
- S910 may be performed by the intra prediction unit 185 of the encoding apparatus
- S920 is the subtraction unit 115, the transform unit 120, the quantization unit 130, the inverse quantization unit 140, and the inverse transform unit ( 150) may be performed by the residual processing unit including at least one.
- S920 may be performed by the subtraction unit 115 of the encoding apparatus.
- the prediction information may be derived by the intra prediction unit 185 and encoded by the entropy encoding unit 190 .
- the residual information may be derived by the residual processing unit and encoded by the entropy encoding unit 190 .
- the residual information is information about the residual samples.
- the residual information may include information about quantized transform coefficients for the residual samples.
- the residual samples may be derived as transform coefficients through the transform unit 120 of the encoding apparatus, and the transform coefficients may be derived as quantized transform coefficients through the quantization unit 130 .
- Information on the quantized transform coefficients may be encoded by the entropy encoding unit 190 through a residual coding procedure.
- the encoding apparatus may perform intra prediction on the current block (S910).
- the encoding apparatus may derive an intra prediction mode/type for the current block, derive neighboring reference samples of the current block, and generate prediction samples in the current block based on the intra prediction mode/type and the neighboring reference samples do.
- intra prediction mode/type determination, peripheral reference samples derivation, and prediction samples generation procedures may be performed simultaneously, or one procedure may be performed before another procedure.
- the intra prediction unit 185 of the encoding apparatus may include an intra prediction mode/type determiner, a reference sample derivation unit, and a prediction sample derivation unit, and the intra prediction mode/type determiner
- An intra prediction mode/type for the current block may be determined
- a reference sample derivation unit may derive neighboring reference samples of the current block
- a prediction sample derivation unit may derive prediction samples of the current block.
- the intra prediction unit 185 may further include a prediction sample filter unit.
- the encoding apparatus may determine a mode/type applied to the current block from among a plurality of intra prediction modes/types.
- the encoding apparatus may compare RD costs for the intra prediction modes/types and determine an optimal intra prediction mode/type for the current block.
- the encoding apparatus may perform a prediction sample filtering procedure.
- Predictive sample filtering may be referred to as post filtering. Some or all of the prediction samples may be filtered by the prediction sample filtering procedure. In some cases, the prediction sample filtering procedure may be omitted.
- the encoding apparatus may generate residual samples for the current block based on the (filtered) prediction samples (S920).
- the encoding apparatus may compare the prediction samples in the original samples of the current block based on the phase and derive the residual samples.
- the encoding apparatus may encode image information including information on the intra prediction (prediction information) and residual information on the residual samples ( S930 ).
- the prediction information may include the intra prediction mode information and the intra prediction type information.
- the encoding apparatus may output encoded image information in the form of a bitstream.
- the output bitstream may be transmitted to a decoding device through a storage medium or a network.
- the residual information may include residual coding syntax, which will be described later.
- the encoding apparatus may transform/quantize the residual samples to derive quantized transform coefficients.
- the residual information may include information on the quantized transform coefficients.
- the encoding apparatus may generate a reconstructed picture (including reconstructed samples and reconstructed blocks). To this end, the encoding apparatus may derive (modified) residual samples by performing inverse quantization/inverse transformation on the quantized transform coefficients again. As described above, the reason for performing inverse quantization/inverse transformation after transforming/quantizing the residual samples is to derive the same residual samples as the residual samples derived from the decoding apparatus as described above.
- the encoding apparatus may generate a reconstructed block including reconstructed samples for the current block based on the prediction samples and the (modified) residual samples. A reconstructed picture for the current picture may be generated based on the reconstructed block. As described above, an in-loop filtering procedure may be further applied to the reconstructed picture.
- a video/image decoding procedure based on intra prediction and an intra prediction unit in a decoding apparatus may schematically include, for example, the following.
- the decoding apparatus may perform an operation corresponding to the operation performed by the encoding apparatus.
- S1010 to S1030 may be performed by the intra prediction unit 265 of the decoding apparatus, and the prediction information of S1010 and the residual information of S1040 may be obtained from the bitstream by the entropy decoding unit 210 of the decoding apparatus.
- the residual processing unit including at least one of the inverse quantizer 220 and the inverse transform unit 230 of the decoding apparatus may derive residual samples for the current block based on the residual information.
- the inverse quantization unit 220 of the residual processing unit derives transform coefficients by performing inverse quantization based on the quantized transform coefficients derived based on the residual information, and the inverse transform unit ( 230) may perform inverse transform on the transform coefficients to derive residual samples for the current block.
- S1050 may be performed by the addition unit 235 or the restoration unit of the decoding apparatus.
- the decoding apparatus may derive the intra prediction mode/type for the current block based on the received prediction information (intra prediction mode/type information) (S1010).
- the decoding apparatus may derive peripheral reference samples of the current block (S1020).
- the decoding apparatus may generate prediction samples in the current block based on the intra prediction mode/type and the neighboring reference samples (S1030).
- the decoding apparatus may perform a prediction sample filtering procedure. Predictive sample filtering may be referred to as post filtering. Some or all of the prediction samples may be filtered by the prediction sample filtering procedure. In some cases, the prediction sample filtering procedure may be omitted.
- the decoding apparatus may generate residual samples for the current block based on the received residual information.
- the decoding apparatus may generate reconstructed samples for the current block based on the prediction samples and the residual samples, and may derive a reconstructed block including the reconstructed samples (S1040).
- a reconstructed picture for the current picture may be generated based on the reconstructed block.
- an in-loop filtering procedure may be further applied to the reconstructed picture.
- the intra prediction unit 265 of the decoding apparatus may include an intra prediction mode/type determiner, a reference sample derivation unit, and a prediction sample derivation unit, and the intra prediction mode/type determiner unit performs entropy decoding.
- the intra prediction mode/type for the current block is determined based on the intra prediction mode/type information obtained in the unit 210, the reference sample derivation unit derives peripheral reference samples of the current block, and the prediction sample derivation unit derives the Prediction samples of the current block may be derived.
- the intra prediction unit 265 may further include a prediction sample filter unit.
- the intra prediction mode information may include, for example, flag information (ex. intra_luma_mpm_flag) indicating whether a most probable mode (MPM) is applied to the current block or a remaining mode is applied, and the When MPM is applied to the current block, the prediction mode information may further include index information (eg, intra_luma_mpm_idx) indicating one of the intra prediction mode candidates (MPM candidates).
- the intra prediction mode candidates (MPM candidates) may be composed of an MPM candidate list or an MPM list.
- the intra prediction mode information includes remaining mode information (ex. intra_luma_mpm_remainder) indicating one of the remaining intra prediction modes except for the intra prediction mode candidates (MPM candidates). may include more.
- the decoding apparatus may determine the intra prediction mode of the current block based on the intra prediction mode information.
- a separate MPM list may be configured for the above-described MIP.
- the intra prediction type information may be implemented in various forms.
- the intra prediction type information may include intra prediction type index information indicating one of the intra prediction types.
- the intra prediction type information includes reference sample line information (ex. intra_luma_ref_idx) indicating whether the MRL is applied to the current block and, when applied, which reference sample line is used, and the ISP is the current block ISP flag information indicating whether to apply to (ex. intra_subpartitions_mode_flag), ISP type information indicating the split type of subpartitions when the ISP is applied (ex.
- intra_subpartitions_split_flag flag information indicating whether PDCP is applied, or application of LIP It may include at least one of flag information indicating whether or not. Also, the intra prediction type information may include a MIP flag indicating whether MIP is applied to the current block.
- the intra prediction mode information and/or the intra prediction type information may be encoded/decoded through the coding method described in this disclosure.
- the intra prediction mode information and/or the intra prediction type information may be encoded/decoded through entropy coding (eg CABAC, CAVLC) coding based on a truncated (rice) binary code.
- entropy coding eg CABAC, CAVLC
- an inter prediction-based video/image decoding method and an inter prediction unit in the decoding apparatus may operate according to the following description.
- an inter prediction-based video/image encoding method and an inter prediction unit in the encoding apparatus may operate according to the following description.
- data encoded according to the following description may be stored in the form of a bitstream.
- the prediction unit of the encoding apparatus/decoding apparatus may derive a prediction sample by performing inter prediction on a block-by-block basis.
- Inter prediction may indicate a prediction derived in a method dependent on data elements (e.g. sample values, motion information, etc.) of picture(s) other than the current picture.
- data elements e.g. sample values, motion information, etc.
- the predicted block (prediction sample array) for the current block can be derived.
- the motion information of the current block may be predicted in units of blocks, subblocks, or samples based on the correlation between motion information between neighboring blocks and the current block.
- the motion information may include a motion vector and a reference picture index.
- the motion information may further include inter prediction type (L0 prediction, L1 prediction, Bi prediction, etc.) information.
- the neighboring blocks may include spatial neighboring blocks existing in the current picture and temporal neighboring blocks present in the reference picture.
- the reference picture including the reference block and the reference picture including the temporal neighboring block may be the same or different.
- the temporal neighboring block may be called a collocated reference block, a collocated CU (colCU), etc., and a reference picture including the temporally neighboring block may be called a collocated picture (colPic).
- a motion information candidate list may be constructed based on neighboring blocks of the current block, and a flag indicating which candidate is selected (used) to derive a motion vector and/or a reference picture index of the current block.
- index information may be signaled.
- Inter prediction may be performed based on various prediction modes. For example, in skip mode and merge mode, motion information of the current block may be the same as motion information of a selected neighboring block. In the skip mode, unlike the merge mode, a residual signal may not be transmitted.
- MVP motion vector prediction
- a motion vector of a selected neighboring block may be used as a motion vector predictor, and a motion vector difference may be signaled. In this case, the motion vector of the current block may be derived using the sum of the motion vector predictor and the motion vector difference.
- the motion information may include L0 motion information and/or L1 motion information according to an inter prediction type (L0 prediction, L1 prediction, Bi prediction, etc.).
- a motion vector in the L0 direction may be referred to as an L0 motion vector or MVL0
- a motion vector in the L1 direction may be referred to as an L1 motion vector or MVL1.
- the prediction based on the L0 motion vector may be called L0 prediction
- the prediction based on the L1 motion vector may be called the L1 prediction
- the prediction based on both the L0 motion vector and the L1 motion vector may be called a bi-prediction.
- the L0 motion vector may indicate a motion vector associated with the reference picture list L0 (L0), and the L1 motion vector may indicate a motion vector associated with the reference picture list L1 (L1).
- the reference picture list L0 may include pictures earlier than the current picture in output order as reference pictures, and the reference picture list L1 may include pictures that are later than the current picture in output order.
- the previous pictures may be referred to as forward (reference) pictures, and the subsequent pictures may be referred to as backward (reference) pictures.
- the reference picture list L0 may further include pictures later than the current picture in output order as reference pictures. In this case, the previous pictures may be indexed first, and the subsequent pictures may be indexed next in the reference picture list L0.
- the reference picture list L1 may further include pictures prior to the current picture as reference pictures in an output order.
- the subsequent pictures in the reference picture list 1 may be indexed first, and the previous pictures may be indexed next.
- the output order may correspond to a picture order count (POC) order.
- POC picture order count
- a video/image encoding procedure based on inter prediction and an inter prediction unit in the encoding apparatus may schematically include, for example, the following. It will be described with reference to FIG. 11 .
- the encoding apparatus performs inter prediction on the current block (S1110).
- the encoding apparatus may derive the inter prediction mode and motion information of the current block, and generate prediction samples of the current block.
- the procedures of determining the inter prediction mode, deriving motion information, and generating prediction samples may be performed simultaneously, or one procedure may be performed before another procedure.
- the inter prediction unit of the encoding apparatus may include a prediction mode determiner, a motion information derivation unit, and a prediction sample derivation unit, the prediction mode determiner determines a prediction mode for the current block, and the motion information derivator
- the motion information of the current block may be derived, and the prediction samples of the current block may be derived from the prediction sample derivation unit.
- the inter prediction unit of the encoding apparatus searches for a block similar to the current block within a predetermined area (search area) of reference pictures through motion estimation, and the difference from the current block is a minimum or a predetermined criterion.
- search area search area
- the following reference blocks can be derived.
- a reference picture index indicating a reference picture in which the reference block is located may be derived, and a motion vector may be derived based on a position difference between the reference block and the current block.
- the encoding apparatus may determine a mode applied to the current block from among various prediction modes.
- the encoding apparatus may compare RD costs for the various prediction modes and determine an optimal prediction mode for the current block.
- the encoding apparatus constructs a merge candidate list to be described later, and among reference blocks indicated by merge candidates included in the merge candidate list, the current block A reference block having a difference from the current block equal to or less than a minimum or a predetermined reference may be derived.
- a merge candidate associated with the derived reference block may be selected, and merge index information indicating the selected merge candidate may be generated and signaled to the decoding apparatus.
- the motion information of the current block may be derived using the motion information of the selected merge candidate.
- the encoding apparatus constructs an (A)MVP candidate list to be described later, and among motion vector predictor (mvp) candidates included in the (A)MVP candidate list.
- the motion vector of the selected mvp candidate may be used as the mvp of the current block.
- a motion vector pointing to the reference block derived by the above-described motion estimation may be used as the motion vector of the current block, and the difference from the motion vector of the current block among the mvp candidates is the smallest.
- An mvp candidate having a motion vector may be the selected mvp candidate.
- a motion vector difference (MVD) that is a difference obtained by subtracting the mvp from the motion vector of the current block may be derived.
- the information on the MVD may be signaled to the decoding device.
- the reference picture index value may be separately signaled to the decoding apparatus by configuring reference picture index information.
- the encoding apparatus may derive residual samples based on the prediction samples (S1120).
- the encoding apparatus may derive the residual samples by comparing the original samples of the current block with the prediction samples.
- the encoding apparatus encodes image information including prediction information and residual information (S1130).
- the encoding apparatus may output encoded image information in the form of a bitstream.
- the prediction information is information related to the prediction procedure, and may include prediction mode information (eg, skip flag, merge flag or mode index, etc.) and motion information.
- the information on the motion information may include candidate selection information (eg, merge index, mvp flag, or mvp index) that is information for deriving a motion vector.
- the information on the motion information may include the above-described MVD information and/or reference picture index information.
- the information on the motion information may include information indicating whether L0 prediction, L1 prediction, or pair (bi) prediction is applied.
- the residual information is information about the residual samples.
- the residual information may include information about quantized transform coefficients for the residual samples.
- the output bitstream may be stored in a (digital) storage medium and transmitted to the decoding apparatus, or may be transmitted to the decoding apparatus through a network.
- the encoding apparatus may generate a reconstructed picture (including reconstructed samples and reconstructed blocks) based on the reference samples and the residual samples. This is because the encoding apparatus derives the same prediction result as that performed by the decoding apparatus, and through this, coding efficiency can be increased. Accordingly, the encoding apparatus may store the reconstructed picture (or reconstructed samples, reconstructed block) in a memory and use it as a reference picture for inter prediction. As described above, an in-loop filtering procedure may be further applied to the reconstructed picture.
- a video/image decoding procedure based on inter prediction and an inter prediction unit in a decoding apparatus may schematically include, for example, the following.
- the decoding apparatus may perform an operation corresponding to the operation performed by the encoding apparatus.
- the decoding apparatus may perform prediction on the current block based on the received prediction information and derive prediction samples.
- the decoding apparatus may determine the prediction mode for the current block based on the received prediction information (S1210).
- the decoding apparatus may determine which inter prediction mode is applied to the current block based on prediction mode information in the prediction information.
- inter prediction mode candidates may be selected based on the mode index.
- the inter prediction mode candidates may include skip mode, merge mode and/or (A)MVP mode, or may include various inter prediction modes to be described later.
- the decoding apparatus derives motion information of the current block based on the determined inter prediction mode (S1220). For example, when a skip mode or a merge mode is applied to the current block, the decoding apparatus may configure a merge candidate list to be described later and select one merge candidate from among merge candidates included in the merge candidate list. The selection may be performed based on the above-described selection information (merge index). The motion information of the current block may be derived using the motion information of the selected merge candidate. The motion information of the selected merge candidate may be used as the motion information of the current block.
- the decoding apparatus may configure a merge candidate list to be described later and select one merge candidate from among merge candidates included in the merge candidate list. The selection may be performed based on the above-described selection information (merge index).
- the motion information of the current block may be derived using the motion information of the selected merge candidate.
- the motion information of the selected merge candidate may be used as the motion information of the current block.
- the decoding apparatus constructs an (A)MVP candidate list, which will be described later, from among motion vector predictor (mvp) candidates included in the (A)MVP candidate list.
- the motion vector of the selected mvp candidate may be used as the mvp of the current block.
- the selection may be performed based on the above-described selection information (mvp flag or mvp index).
- the MVD of the current block may be derived based on the information on the MVD
- the motion vector of the current block may be derived based on the mvp of the current block and the MVD.
- the reference picture index of the current block may be derived based on the reference picture index information.
- a picture indicated by the reference picture index in the reference picture list for the current block may be derived as a reference picture referenced for inter prediction of the current block.
- the motion information of the current block may be derived without constructing a candidate list.
- the motion information of the current block may be derived according to a procedure disclosed in a prediction mode to be described later.
- the candidate list configuration as described above may be omitted.
- the decoding apparatus may generate prediction samples for the current block based on the motion information of the current block (S1230).
- the reference picture may be derived based on the reference picture index of the current block, and the prediction samples of the current block may be derived using samples of the reference block indicated by the motion vector of the current block on the reference picture.
- a prediction sample filtering procedure for all or some of the prediction samples of the current block may be further performed in some cases.
- the inter prediction unit of the decoding apparatus may include a prediction mode determiner, a motion information derivation unit, and a prediction sample derivation unit, and determines the prediction mode for the current block based on the prediction mode information received from the prediction mode determiner. is determined, and the motion information (motion vector and/or reference picture index, etc.) of the current block is derived based on the information about the motion information received from the motion information derivation unit, and the prediction sample of the current block is derived from the prediction sample derivation unit. can be derived
- the decoding apparatus generates residual samples for the current block based on the received residual information (S1240).
- the decoding apparatus may generate reconstructed samples for the current block based on the prediction samples and the residual samples, and generate a reconstructed picture based thereon ( S1250 ). Thereafter, as described above, an in-loop filtering procedure may be further applied to the reconstructed picture.
- the inter prediction procedure may include the step of determining the inter prediction mode, the step of deriving motion information according to the determined prediction mode, and the step of performing prediction (generation of a prediction sample) based on the derived motion information.
- the inter prediction procedure may be performed by the encoding apparatus and the decoding apparatus as described above.
- the quantization unit of the encoding apparatus applies quantization to the transform coefficients to derive quantized transform coefficients
- the inverse quantizer of the encoding apparatus or the inverse quantizer of the decoding apparatus applies inverse quantization to the quantized transform coefficients. to derive transform coefficients.
- a quantization rate may be changed, and a compression rate may be adjusted using the changed quantization rate.
- a quantization parameter (QP) may be used instead of using the quantization rate directly.
- QP quantization parameter
- quantization parameters of integer values from 0 to 63 may be used, and each quantization parameter value may correspond to an actual quantization rate.
- the quantization parameter QP Y for the luma component (luma sample) and the quantization parameter QP C for the chroma component (chroma sample) may be set differently.
- the quantization process takes a transform coefficient (C) as an input and divides it by a quantization rate (Qstep) to obtain a quantized transform coefficient (C ⁇ ) based on this.
- a quantization rate is multiplied by a scale to form an integer, and a shift operation may be performed by a value corresponding to the scale value.
- a quantization scale may be derived based on the product of the quantization rate and the scale value. That is, the quantization scale may be derived according to the QP.
- a quantized transform coefficient C ⁇ may be derived based thereon.
- the inverse quantization process is the inverse process of the quantization process.
- a quantized transform coefficient (C') is multiplied by a quantization rate (Qstep), and a reconstructed transform coefficient (C') can be obtained based on this.
- a level scale may be derived according to the quantization parameter, and the level scale is applied to the quantized transform coefficient C ⁇ to derive a reconstructed transform coefficient C ⁇ based on this. can do.
- the reconstructed transform coefficient C ⁇ may be slightly different from the original transform coefficient C due to loss in the transform and/or quantization process. Accordingly, the encoding apparatus may perform inverse quantization in the same manner as in the decoding apparatus.
- an adaptive frequency weighting quantization technique that adjusts quantization intensity according to frequency may be applied.
- the adaptive frequency-by-frequency weighted quantization technique is a method of applying different quantization strengths for each frequency.
- a quantization intensity for each frequency may be differently applied using a predefined quantization scaling matrix. That is, the above-described quantization/inverse quantization process may be performed further based on the quantization scaling matrix.
- different quantization scaling metrics may be used according to the size of the current block and/or whether a prediction mode applied to the current block is inter prediction or intra prediction to generate a residual signal of the current block.
- the quantization scaling matrix may be referred to as a quantization matrix or a scaling matrix.
- the quantization scaling matrix may be predefined. Also, for frequency adaptive scaling, quantization scale information for each frequency with respect to the quantization scaling matrix may be configured/encoded in the encoding apparatus and signaled to the decoding apparatus.
- the quantization scale information for each frequency may be referred to as quantization scaling information.
- the quantization scale information for each frequency may include scaling list data (scaling_list_data).
- the (modified) quantization scaling matrix may be derived based on the scaling list data.
- the quantization scale information for each frequency may include present flag information indicating whether the scaling list data exists. Alternatively, when the scaling list data is signaled at a higher level (ex. SPS), information indicating whether the scaling list data is modified at a lower level (ex. PPS or tile group header etc) may be further included. have.
- the encoding apparatus may derive a residual block (residual samples) based on a block (prediction samples) predicted through intra/inter/IBC prediction, etc. Transform and quantization may be applied to derive quantized transform coefficients. Information (residual information) on the quantized transform coefficients may be encoded by being included in the residual coding syntax and then output in the form of a bitstream.
- the decoding apparatus may obtain information (residual information) about the quantized transform coefficients from the bitstream, and decode the obtained information to derive quantized transform coefficients.
- the decoding apparatus may derive residual samples through inverse quantization/inverse transformation based on the quantized transform coefficients.
- the transform/inverse quantization and/or transform/inverse transformation may be omitted.
- the transform coefficient may be called a coefficient or a residual coefficient, or may still be called a transform coefficient for uniformity of expression. Whether the transform/inverse transform is omitted may be signaled based on a transform skip flag (e.g. transform_skip_flag).
- the transform/inverse transform may be performed based on transform kernel(s). For example, a multiple transform selection (MTS) scheme for performing transform/inverse transform may be applied. In this case, some of the plurality of transform kernel sets may be selected and applied to the current block.
- the transform kernel may be referred to by various terms such as a transform matrix, a transform type, and the like.
- the transform kernel set may represent a combination of a vertical transform kernel (vertical transform kernel) and a horizontal transform kernel (horizontal transform kernel).
- the transform/inverse transform may be performed in units of CUs or TUs. That is, the transform/inverse transform may be applied to residual samples in a CU or residual samples in a TU.
- the CU size and the TU size may be the same, or a plurality of TUs may exist in the CU region.
- the CU size may generally indicate a luma component (sample) CB size.
- the TU size may generally indicate a luma component (sample) TB size.
- the chroma component (sample) CB or TB size depends on the component ratio according to the color format (chroma format, ex.
- the luma component (sample) CB or TB It can be derived based on the size.
- the TU size may be derived based on maxTbSize. For example, when the CU size is greater than the maxTbSize, a plurality of TUs (TBs) of the maxTbSize may be derived from the CU, and transform/inverse transformation may be performed in units of the TUs (TB).
- the maxTbSize may be considered in determining whether various intra prediction types such as ISP are applied.
- the information on the maxTbSize may be predetermined, or may be generated and encoded by the encoding apparatus and signaled to the encoding apparatus.
- some or all of the video/image information may be entropy-encoded by the entropy encoding unit 190
- some or all of the video/image information described with reference to FIG. 3 is an entropy decoding unit It can be entropy decoded by 310 .
- the video/image information may be encoded/decoded in units of syntax elements.
- that information is encoded/decoded may include being encoded/decoded by the method described in this paragraph.
- each binary number 0 or 1 constituting a binary value may be referred to as a bin.
- each of 1, 1, and 0 may be referred to as one bin.
- the bin(s) for one syntax element may indicate the value of the corresponding syntax element.
- the binarized bins may be input into a regular coding engine or a bypass coding engine.
- the regular coding engine may allocate a context model reflecting a probability value to the corresponding bin, and encode the corresponding bin based on the assigned context model.
- the probabilistic model for the corresponding bin may be updated. Bins coded in this way may be referred to as context-coded bins.
- the bypass coding engine may omit a procedure of estimating a probability for an input bin and a procedure of updating a probabilistic model applied to a corresponding bin after coding. In the case of the bypass coding engine, the coding speed can be improved by coding the input bin by applying a uniform probability distribution (ex.
- Bins coded in this way may be referred to as bypass bins.
- the context model may be allocated and updated for each bin to be context coded (regular coded), and the context model may be indicated based on ctxidx or ctxInc.
- ctxidx may be derived based on ctxInc.
- the context index (ctxidx) indicating the context model for each of the canonically coded bins may be derived as the sum of the context index increment (ctxInc) and the context index offset (ctxIdxOffset).
- the ctxInc may be derived differently for each bin.
- the ctxIdxOffset may be represented by the lowest value of the ctxIdx.
- the minimum value of the ctxIdx may be referred to as an initial value (initValue) of the ctxIdx.
- the ctxIdxOffset is a value generally used to distinguish between context models for other syntax elements, and a context model for one syntax element may be distinguished/derived based on ctxinc.
- Entropy decoding may perform the same process as entropy encoding in reverse order.
- an encoding apparatus may perform an entropy coding procedure on image/video information.
- the image/video information may include partitioning related information, prediction related information (eg inter/intra prediction classification information, intra prediction mode information, inter prediction mode information, etc.), residual information, in-loop filtering related information, etc. Or it may include various syntax elements related thereto.
- the entropy coding may be performed in units of syntax elements. Steps S1410 to S1420 of FIG. 14 may be performed by the entropy encoding unit 190 of the encoding apparatus of FIG. 2 described above.
- the encoding apparatus may perform binarization on the target syntax element (S1410).
- the binarization may be based on various binarization methods such as a Truncated Rice binarization process and a fixed-length binarization process, and the binarization method for a target syntax element may be predefined.
- the binarization procedure may be performed by the binarization unit 191 in the entropy encoding unit 190 .
- the encoding apparatus may perform entropy encoding on the target syntax element (S1420).
- the encoding apparatus may encode an empty string of a target syntax element based on regular coding (context based) or bypass coding based on an entropy coding technique such as context-adaptive arithmetic coding (CABAC) or context-adaptive variable length coding (CAVLC). and the output may be included in the bitstream.
- CABAC context-adaptive arithmetic coding
- CAVLC context-adaptive variable length coding
- the entropy encoding procedure may be performed by the entropy encoding processing unit 192 in the entropy encoding unit 190 .
- the bitstream may be transmitted to a decoding device through a (digital) storage medium or a network.
- the decoding apparatus may decode encoded image/video information.
- the image/video information may include partitioning-related information, prediction-related information (eg, inter/intra prediction classification information, intra prediction mode information, inter prediction mode information, etc.), residual information, in-loop filtering related information, etc. , or various syntax elements related thereto.
- the entropy coding may be performed in units of syntax elements. S1610 to S1620 may be performed by the entropy decoding unit 210 of the decoding apparatus of FIG. 3 described above.
- the decoding apparatus may perform binarization on the target syntax element (S1610).
- the binarization may be based on various binarization methods such as a Truncated Rice binarization process and a fixed-length binarization process, and the binarization method for a target syntax element may be predefined.
- the decoding apparatus may derive available bin strings (bin string candidates) for available values of the target syntax element through the binarization procedure.
- the binarization procedure may be performed by the binarization unit 211 in the entropy decoding unit 210 .
- the decoding apparatus may perform entropy decoding on the target syntax element (S1620).
- the decoding apparatus may compare the derived bin string with available bin strings for the corresponding syntax element while sequentially decoding and parsing each bin for the target syntax element from the input bit(s) in the bitstream. If the derived bin string is the same as one of the available bin strings, a value corresponding to the corresponding bin string may be derived as a value of the corresponding syntax element. If not, the above-described procedure may be performed again after further parsing the next bit in the bitstream. Through this process, the corresponding information can be signaled using a variable length bit without using a start bit or an end bit for specific information (a specific syntax element) in the bitstream. Through this, relatively fewer bits can be allocated to a low value, and overall coding efficiency can be increased.
- the decoding apparatus may perform context-based or bypass-based decoding of each bin in the bin string from the bitstream based on an entropy coding technique such as CABAC or CAVLC.
- the entropy decoding procedure may be performed by the entropy decoding processing unit 212 in the entropy decoding unit 210 .
- the bitstream may include various information for video/video decoding as described above. As described above, the bitstream may be transmitted to a decoding device through a (digital) storage medium or a network.
- a table including syntax elements may be used to indicate signaling of information from an encoding apparatus to a decoding apparatus.
- An order of syntax elements of a table including the syntax elements used in this disclosure may indicate a parsing order of syntax elements from a bitstream.
- the encoding apparatus may construct and encode a syntax table so that the syntax elements are parsed by the decoding apparatus in the parsing order, and the decoding apparatus parses and decodes the syntax elements of the corresponding syntax table from the bitstream according to the parsing order to obtain the syntax elements. value can be obtained.
- pictures constituting the video/video may be encoded/decoded according to a series of decoding orders.
- a picture order corresponding to an output order of decoded pictures may be set different from the decoding order, and based on this, not only forward prediction but also backward prediction may be performed during inter prediction based on this.
- S1810 may be performed by the entropy decoding unit 210 of the decoding apparatus described above with reference to FIG. 3, and S1820 may be performed by the prediction unit including the intra prediction unit 265 and the inter prediction unit 260.
- S1830 may be performed by the residual processing unit including the inverse quantization unit 220 and the inverse transform unit 230
- S1840 may be performed by the adder 235
- S1850 may be performed by the filtering unit 240 .
- S1810 may include the information decoding procedure described in this disclosure
- S1820 may include the inter/intra prediction procedure described in this disclosure
- S1830 may include the residual processing procedure described in this disclosure.
- S1840 may include the block/picture restoration procedure described in this disclosure
- S1850 may include the in-loop filtering procedure described in this disclosure.
- the picture decoding procedure is schematically as shown in the description for FIG. 3, image/video information acquisition procedure (S1810) from the bitstream (through decoding), picture restoration procedure (S1820 to S1840) and restored It may include an in-loop filtering procedure (S1850) for the picture.
- the picture restoration procedure is based on prediction samples and residual samples obtained through inter/intra prediction (S1820) and residual processing (S1830, inverse quantization of quantized transform coefficients, inverse transform) described in the present disclosure. can be performed.
- a modified reconstructed picture may be generated through an in-loop filtering procedure for the reconstructed picture generated through the picture reconstructing procedure, and the modified reconstructed picture may be output as a decoded picture, and It is stored in the decoded picture buffer or memory 250 and may be used as a reference picture in an inter prediction procedure when decoding a picture thereafter.
- the in-loop filtering procedure may be omitted, and in this case, the reconstructed picture may be output as a decoded picture, and is stored in the decoded picture buffer or memory 250 of the decoding apparatus and interpolated during decoding of subsequent pictures. It can be used as a reference picture in the prediction procedure.
- the in-loop filtering procedure may include a deblocking filtering procedure, a sample adaptive offset (SAO) procedure, an adaptive loop filter (ALF) procedure, and/or a bi-lateral filter procedure as described above. may be, and some or all of them may be omitted.
- one or some of the deblocking filtering procedure, the sample adaptive offset (SAO) procedure, the adaptive loop filter (ALF) procedure, and the bi-lateral filter procedure may be sequentially applied, or all are sequential may be applied as
- the SAO procedure may be performed.
- the ALF procedure may be performed. This may also be performed in the encoding apparatus.
- S1910 may be performed by a prediction unit including the intra prediction unit 185 or the inter prediction unit 180 of the encoding apparatus described above in FIG. 2, and S1920 may be performed by the transform unit 120 and/or the quantization unit ( 130) may be performed by the residual processing unit, and S1930 may be performed by the entropy encoding unit 190.
- S1910 may include the inter/intra prediction procedure described in this disclosure
- S1920 may include the residual processing procedure described in this disclosure
- S1930 may include the information encoding procedure described in this disclosure. .
- the picture encoding procedure is a procedure of encoding information (eg, prediction information, residual information, partitioning information, etc.) for picture restoration schematically as shown in the description of FIG. 2 and outputting it in the form of a bitstream
- a procedure for generating a reconstructed picture for the current picture and a procedure for applying in-loop filtering to the reconstructed picture may be included (optional).
- the encoding apparatus may derive (modified) residual samples from the quantized transform coefficients through the inverse quantization unit 140 and the inverse transform unit 150 , the prediction samples output from S1910 and the (modified) residual samples.
- a reconstructed picture may be generated based on the samples.
- the reconstructed picture thus generated may be the same as the reconstructed picture generated by the above-described decoding apparatus.
- a modified reconstructed picture may be generated through an in-loop filtering procedure for the reconstructed picture, which may be stored in the decoded picture buffer or the memory 170, and, as in the case of the decoding apparatus, when encoding the picture thereafter. It can be used as a reference picture in the prediction procedure. As described above, some or all of the in-loop filtering procedure may be omitted in some cases.
- (in-loop) filtering-related information may be encoded by the entropy encoding unit 190 and output in the form of a bitstream, and the decoding apparatus encodes based on the filtering-related information
- the in-loop filtering procedure can be performed in the same way as the device.
- noise generated during video/video coding such as blocking artifacts and ringing artifacts
- subjective/objective visual quality can be improved.
- the encoding apparatus and the decoding apparatus can derive the same prediction result, improve picture coding reliability, and reduce the amount of data to be transmitted for picture coding. can be reduced
- the picture restoration procedure may be performed not only in the decoding apparatus but also in the encoding apparatus.
- a reconstructed block may be generated based on intra prediction/inter prediction for each block, and a reconstructed picture including the reconstructed blocks may be generated.
- the current picture/slice/tile group is an I picture/slice/tile group
- blocks included in the current picture/slice/tile group may be reconstructed based on only intra prediction.
- the current picture/slice/tile group is a P or B picture/slice/tile group
- blocks included in the current picture/slice/tile group may be reconstructed based on intra prediction or inter prediction.
- inter prediction may be applied to some blocks in the current picture/slice/tile group
- intra prediction may be applied to some remaining blocks.
- a color component of a picture may include a luma component and a chroma component, and the methods and embodiments proposed in the present disclosure may be applied to the luma component and the chroma component unless explicitly limited in the present disclosure.
- the coded video/image according to the present disclosure may be processed according to, for example, a coding layer and structure to be described later.
- the coded image exists between the video coding layer (VCL) that handles the decoding process and itself of the image, the subsystem that transmits and stores the coded information, and the VCL and the subsystem that is responsible for the network adaptation function. It may be classified as a network abstraction layer (NAL).
- VCL video coding layer
- NAL network abstraction layer
- VCL data including compressed video data is generated, or picture parameter set (PPS), sequence parameter set (SPS), video parameter set (Video Parameter Set: A supplemental enhancement information (SEI) message additionally necessary for a parameter set including information such as VPS) or an image decoding process may be generated.
- PPS picture parameter set
- SPS sequence parameter set
- SEI Supplemental Enhancement Information
- a NAL unit may be generated by adding header information (NAL unit header) to a raw byte sequence payload (RBSP) generated in the VCL.
- the RBSP refers to slice data, parameter sets, SEI messages, etc. generated in the VCL.
- the NAL unit header may include NAL unit type information specified according to RBSP data included in the corresponding NAL unit.
- the NAL unit may be divided into a VCL NAL unit and a Non-VCL NAL unit according to the RBSP generated in the VCL.
- a VCL NAL unit may mean a NAL unit including information (slice data) about an image
- the Non-VCL NAL unit is a NAL unit containing information (parameter set or SEI message) necessary for decoding an image.
- VCL NAL unit and Non-VCL NAL unit may be transmitted through a network by attaching header information according to a data standard of a subsystem.
- the NAL unit may be transformed into a data form of a predetermined standard such as H.266/VVC file format, Real-time Transport Protocol (RTP), Transport Stream (TS), and transmitted through various networks.
- RTP Real-time Transport Protocol
- TS Transport Stream
- the NAL unit type may be specified according to the RBSP data structure included in the corresponding NAL unit, and information on the NAL unit type may be stored and signaled in the NAL unit header.
- the NAL unit may be largely classified into a VCL NAL unit type and a Non-VCL NAL unit type depending on whether or not the NAL unit includes image information (slice data).
- the VCL NAL unit type may be classified according to properties and types of pictures included in the VCL NAL unit, and the Non-VCL NAL unit type may be classified according to the type of a parameter set.
- NAL unit type specified according to a parameter set/information type included in the Non-VCL NAL unit type is listed below.
- NAL unit Type for NAL unit including DCI
- NAL unit Type of NAL unit including VPS
- NAL unit Type for NAL unit including SPS
- NAL unit Type of NAL unit including PPS
- NAL unit Type of NAL unit including APS
- NAL unit Type for NAL unit including PH
- NAL unit types have syntax information for the NAL unit type, and the syntax information may be stored and signaled in a NAL unit header.
- the syntax information may be nal_unit_type, and NAL unit types may be specified by a nal_unit_type value.
- one picture may include a plurality of slices, and one slice may include a slice header and slice data.
- one picture header may be further added to a plurality of slices (a slice header and a slice data set) in one picture.
- the picture header (picture header syntax) may include information/parameters commonly applicable to the picture.
- the slice header may include information/parameters commonly applicable to the slice.
- the APS APS syntax
- PPS PPS syntax
- the SPS SPS syntax
- the VPS VPS syntax
- the DCI DCI syntax
- high level syntax may include at least one of the APS syntax, PPS syntax, SPS syntax, VPS syntax, DCI syntax, picture header syntax, and slice header syntax.
- a low level syntax may include, for example, a slice data syntax, a CTU syntax, a coding unit syntax, a transformation unit syntax, and the like.
- the image/video information encoded by the encoding apparatus to the decoding apparatus and signaled in the form of a bitstream includes not only intra-picture partitioning-related information, intra/inter prediction information, residual information, in-loop filtering information, etc. It may include slice header information, picture header information, APS information, PPS information, SPS information, VPS information, and/or DCI information.
- the video/video information may further include general constraint information and/or information of a NAL unit header.
- One picture may be divided into at least one tile row and at least one tile column.
- One tile is composed of a sequence of CTUs and may cover a blind area of one picture.
- a slice may consist of an integer number of consecutive complete CTU rows or an integer number of complete tiles in one picture.
- Two modes can be supported for the slice.
- One may be called a raster-scan slice mode, and the other may be called a rectangular slice mode.
- one slice may include a complete tile sequence existing in tile raster scan order in one picture.
- one slice may contain a number of complete tiles aggregated to form a rectangular region of a picture, or may contain consecutive complete multiple CTU rows of one tile aggregated to form a rectangular region of a picture. have.
- Tiles in a rectangular slice may be scanned in a tile raster scan order within a rectangular region corresponding to the slice.
- a sub-picture may include at least one slice set to cover a blind area of the picture.
- 21 to 24 show an embodiment in which a picture is divided using a tile, a slice, and a subpicture.
- 21 shows an example of a picture divided into 12 tiles and 3 raster scan slices.
- 22 shows an example of a picture divided into 24 tiles (6 tile columns and 4 tile rows) and 9 square slices.
- 23 shows an example of a picture divided into 4 tiles (2 tile columns and 2 tile rows) and 4 square slices.
- FIG. 24 shows an example in which a picture is divided into sub pictures.
- the picture is divided into 12 left tiles each covering one slice composed of 4 x 4 CTUs and 6 right tiles each covering two vertically aggregated slices composed of 2 x 2 CTUs, , one picture is divided into 24 slices and 24 subpictures having different areas as a whole.
- individual slices correspond to individual sub-pictures.
- An in-loop filtering procedure may be performed on the reconstructed picture generated through the above-described procedure.
- a modified reconstructed picture may be generated through an in-loop filtering procedure, and the modified reconstructed picture may be output as a decoded picture from the decoding apparatus, and may be stored in a decoded picture buffer or memory of the encoding apparatus/decoding apparatus. It can be stored and used as a reference picture in an inter prediction procedure when encoding/decoding a picture later.
- the in-loop filtering procedure may include a deblocking filtering procedure, a sample adaptive offset (SAO) procedure, and/or an adaptive loop filter (ALF) procedure, as described above.
- SAO sample adaptive offset
- ALF adaptive loop filter
- one or some of the deblocking filtering procedure, the sample adaptive offset (SAO) procedure, the adaptive loop filter (ALF) procedure, and the bi-lateral filter procedure may be sequentially applied, or all are sequentially may be applied as
- the SAO procedure may be performed.
- the ALF procedure may be performed. This may also be performed in the encoding apparatus.
- Deblocking filtering is a filtering technique that removes distortion at the boundary between blocks in the reconstructed picture.
- the deblocking filtering procedure may, for example, derive a target boundary from a reconstructed picture, determine a boundary strength (bS) for the target boundary, and perform deblocking filtering on the target boundary based on the bS.
- the bS may be determined based on a prediction mode of two blocks adjacent to the target boundary, a motion vector difference, whether a reference picture is the same, whether a non-zero significant coefficient exists, and the like.
- SAO is a method of compensating for an offset difference between a reconstructed picture and an original picture in units of samples, and may be applied based on, for example, types such as a band offset and an edge offset. According to the SAO, samples may be classified into different categories according to each SAO type, and an offset value may be added to each sample based on the category.
- the filtering information for SAO may include information on whether SAO is applied, SAO type information, SAO offset value information, and the like. SAO may be applied to the reconstructed picture after the deblocking filtering is applied.
- Adaptive Loop Filter is a technique of filtering a reconstructed picture in units of samples based on filter coefficients according to filter shapes.
- the encoding apparatus may determine whether to apply ALF, an ALF shape and/or an ALF filtering coefficient, etc. through comparison of the reconstructed picture and the original picture, and may signal the decoding apparatus. That is, the filtering information for ALF may include information on whether to apply ALF, ALF filter shape information, ALF filtering coefficient information, and the like.
- ALF may be applied to the reconstructed picture after the deblocking filtering is applied.
- HLS may be encoded and/or signaled for video and/or image encoding.
- video/image information in this specification may be included in HLS.
- the image/video encoding method may be performed based on such image/video information.
- one picture may be partitioned into division units such as subpictures, slices and/or tiles.
- filtering is applied to the boundary of such a division unit may be signaled.
- one picture may be divided into a plurality of tiles.
- in-loop filtering across the boundary of the tile may be performed.
- one picture may be divided into a plurality of slices.
- in-loop filtering across the slice boundary may be performed.
- whether in-loop filtering that crosses the boundary of the tile and/or the boundary of the slice is performed may be signaled through the HLS.
- a syntax element no_pic_partition_flag 2510 may indicate whether partitioning of a picture is applied to an individual picture referring to a corresponding PPS.
- a first value (e.g. 0) of no_pic_partition_flag 2510 may indicate that an individual picture referring to the PPS may be divided into more than one tile or slice.
- a second value (e.g. 1) of the no_pic_partition_flag 2510 may indicate that picture division is not performed on an individual picture referring to the PPS.
- the no_pic_partition_flag 2510 may be limited to have the same value for all PPSs present in one sequence.
- the syntax element no_pic_partition_flag 2510 may be used as a condition for signaling information for partitioning of a tile and/or slice when a picture is divided into more than one tile and/or slice, which may be used as a condition in FIG. 25 . It may be included in the syntax as a conditional sentence like reference numeral 2520 of For example, the encoding apparatus may use the no_pic_partition_flag 2510 to signal to the decoding apparatus whether information on partitioning of a tile and/or a slice is included in the bitstream. In addition, when the value of no_pic_partition_flag 2510 is 1, the decoding apparatus may not parse information on partitioning of a tile and/or slice from the bitstream. When the value of the no_pic_partition_flag 2510 is 0, the decoding apparatus may parse information on partitioning of a tile and/or slice from the bitstream according to additional information.
- the no_pic_partition_flag 2510 indicates that the pictures can be divided into tiles or slices
- the following syntax elements can be obtained from the bitstream.
- the PPS syntax is as in the example of FIG. can be implemented.
- the syntax element pps_log2_ctu_size_minus5 may indicate the luma coding tree block size of an individual CTU.
- the encoding apparatus may determine the value of pps_log2_ctu_size_minus5 as a value obtained by subtracting 5 from the luma coding tree block size of each CTU.
- the decoding apparatus may determine a value obtained by adding 5 to pps_log2_ctu_size_minus5 as the luma coding tree block size of each CTU.
- the syntax element num_exp_tile_columns_minus1 may indicate the number of explicitly signaled width values of a tile column.
- the decoding apparatus may determine the number of width values of a tile column that are explicitly signaled as a value obtained by adding 1 to num_exp_tile_columns_minus1.
- the value of num_exp_tile_columns_minus1 may have a value from 0 to PicWidthInCtbY-1.
- PicWidthInCtbY may indicate the width of a picture expressed in units of the width of the luma coding block.
- the value of no_pic_partition_flag is 1, the value of num_exp_tile_columns_minus1 may be derived to 0.
- the syntax element num_exp_tile_rows_minus1 may indicate the number of explicitly signaled height values of a tile row.
- the decoding apparatus may determine the number of height values of tile rows that are explicitly signaled as a value obtained by adding 1 to num_exp_tile_rows_minus1.
- the value of num_exp_tile_rows_minus1 may have a value from 0 to PicHeightInCtbY-1.
- PicHeightInCtbY may indicate the height of a picture expressed in units of the height of the luma coding block.
- the value of no_pic_partition_flag is 1, the value of num_exp_tile_rows_minus1 may be derived from 0.
- the syntax element tile_column_width_minus1[i] may indicate the width of the i-th tile column of the picture referring to the PPS. For example, the decoding apparatus may determine a value obtained by adding 1 to tile_column_width_minus1[i] as the width of the i-th tile column.
- the syntax element tile_column_width_minus1[i] may be obtained from the bitstream based on the value of num_exp_tile_columns_minus1 as in the syntax of FIG. 25 .
- the syntax element tile_row_height_minus1[i] may indicate the height of the i-th tile row of the picture referring to the PPS. For example, the decoding apparatus may determine a value obtained by adding 1 to tile_row_height_minus1[i] as the height of the i-th tile row.
- the syntax element tile_row_height_minus1[i] may be obtained from the bitstream based on the value of num_exp_tile_rows_minus1 as in the syntax of FIG. 25 .
- variable NumTilesInPic may be calculated based on values of num_exp_tile_columns_minus1 and num_exp_tile_rows_minus1.
- the decoding apparatus may determine the value of the variable NumTilesInPic indicating the number of tiles in the picture referring to the PPS as a value of (num_exp_tile_columns_minus1 + 1) * (num_exp_tile_rows_minus1 + 1).
- the syntax element rect_slice_flag may be obtained from the bitstream. For example, when a picture is divided into two or more tiles, the syntax element rect_slice_flag may be obtained.
- the syntax element rect_slice_flag may indicate whether a raster-scan slice mode or a rectangular slice mode is used to an individual picture referring to the PPS.
- a first value (e.g. 0) of rect_slice_flag may indicate that the raster scan slice mode is applied to an individual picture referring to the PPS. In this case, signaling of the layout of the slice may be omitted.
- a second value (e.g. 1) of rect_slice_flag may indicate that the rectangular slice mode is used for an individual picture referring to the PPS. In this case, the layout of the slice may be signaled through the PPS as described below.
- the decoding apparatus may induce the value of rect_slice_flag to be 1.
- the syntax element single_slice_per_subpic_flag may be signaled.
- a first value (e.g. 0) of single_slice_per_subpic_flag may indicate that an individual subpicture may consist of more than one rectangular slice.
- a second value (e.g. 1) of single_slice_per_subpic_flag may indicate that an individual subpicture consists of only one rectangular slice.
- the syntax element num_slices_in_pic_minus1 may be signaled.
- a syntax element num_slices_in_pic_minus1 indicating the number of rectangular slices in an individual picture referring to the PPS may be signaled to signal the layout of the rectangular slice.
- the decoding apparatus may determine the number of rectangular slices in the corresponding picture by adding 1 to num_slices_in_pic_minus1.
- the value of num_slices_in_pic_minus1 may have a value from 0 to MaxSlicePerAu-1.
- the variable MaxSlicePerAu may indicate the maximum number of slices allowed per access unit, for example, may indicate the maximum number of slices allowed in the current picture.
- the syntax elements tile_idx_delta_present_flag, slice_width_in_tiles_minus1, slice_height_in_tiles_minus1, num_exp_slices_in_tile, exp_slice_height_in_ctus_minus1 and tile can also be obtained like the syntax of 25 and tilex_del can be obtained.
- the syntax element tile_idx_delta_present_flag may indicate whether the syntax element tile_idx_delta used as an index for identifying a rectangular slice in the corresponding picture is obtained from the bitstream.
- a value obtained by adding 1 to the syntax element slice_width_in_tiles_minus1[i] may represent the width of the i-th rectangular slice in units of tile columns.
- a value obtained by adding 1 to the syntax element slice_height_in_tiles_minus1[i] may indicate the height of the i-th rectangular slice in units of tile rows.
- the syntax element num_exp_slices_in_tile[i] may indicate the number of slice heights explicitly provided for a slice in a tile including the i-th slice.
- a value obtained by adding 1 to the syntax element exp_slice_height_in_ctus_minus1[j] may indicate the height of the j-th rectangular slice in the tile including the i-th slice, and the unit may have the unit of a CTU row.
- the syntax element tile_idx_delta[i] may indicate a difference between the index of the tile including the first CTU in the i-th rectangular slice and the index of the tile including the first CTU in the i+1-th rectangular slice.
- loop_filter_across_tiles_enabled_flag 2530 may indicate whether a filtering operation is performed across a tile boundary in a picture referring to the PPS. For example, a first value (e.g. 0) of loop_filter_across_tiles_enabled_flag indicates that in a picture referring to a PPS including this syntax element, an in-loop filtering operation that crosses a tile boundary in the picture is not performed.
- a second value (e.g. 1) of loop_filter_across_tiles_enabled_flag indicates that an in-loop filtering operation that crosses a tile boundary in a picture referring to a PPS including this syntax element may be performed.
- the in-loop filtering operation may include deblocking filtering, sample adaptive offset (SAO) filtering, and/or adaptive loop filter (ALF).
- SAO sample adaptive offset
- ALF adaptive loop filter
- the value of the corresponding syntax element may be derived as a second value (e.g. 1).
- the value of the corresponding syntax element may be derived as a first value (e.g. 0).
- loop_filter_across_slices_enabled_flag 2540 may indicate whether a filtering operation is performed across a slice boundary in a picture referring to the PPS. For example, a first value (e.g. 0) of loop_filter_across_slices_enabled_flag may indicate that an in-loop filtering operation traversing a slice boundary in a picture referring to a PPS including this syntax element is not performed.
- a second value (e.g. 1) of loop_filter_across_slices_enabled_flag may indicate that an in-loop filtering operation that crosses a slice boundary in a picture referring to a PPS including this syntax element may be performed.
- the in-loop filtering operation may include deblocking filtering, SAO filtering, and/or ALF as described above.
- the value of loop_filter_across_slices_enabled_flag may be derived as a first value (e.g. 0).
- each picture may be partitioned in units of tiles.
- two or more tiles may exist in one picture, and whether the in-loop filter is applied to the boundary portion of each tile area may be determined by loop_filter_across_tiles_enabled_flag 2530 signaled in an individual PPS.
- no_pic_partition_flag when the value of no_pic_partition_flag is the first value (e.g. 0), this means that the current picture is divided into more than one part into tiles or slices.
- the value of no_pic_partition_flag when the value of no_pic_partition_flag is the first value (eg 0), since two or more tiles may exist in one picture, the value of loop_filter_across_tiles_enabled_flag is always signaled to apply the in-loop filter in the tile boundary area may be decided.
- the value of no_pic_partition_flag is the first value (e.g. 0)
- a case in which one picture is not divided into tiles but only slices is included.
- loop_filter_across_tiles_enabled_flag may be signaled even when there is no tile in one picture and only a plurality of slices exist in one picture.
- loop_filter_across_tiles_enabled_flag may be signaled even when there is no tile in one picture and only a plurality of slices exist in one picture.
- 26 is a diagram illustrating an embodiment of a syntax for signaling a syntax element loop_filter_across_tiles_enabled_flag in consideration of the number of tiles in order to solve the above problem.
- the syntax element loop_filter_across_tiles_enabled_flag 2620 may be signaled based on the number of tiles (e.g. NumTilesInPic) belonging to a corresponding picture. For example, as shown in FIG. 26 , only when the number of tiles belonging to a corresponding picture is greater than 1 ( 2610 ), loop_filter_across_tiles_enabled_flag 2620 may be signaled through a bitstream.
- the encoding apparatus may encode the loop_filter_across_tiles_enabled_flag 2620 into the bitstream only when the number of tiles belonging to the corresponding picture is greater than 1 (2610), and the decoding apparatus may obtain the loop_filter_across_tiles_enabled_flag 2620 from the bitstream.
- each picture may be partitioned in units of slices.
- the corresponding flag is signaled even when only a plurality of slices exist in one picture, in order to reduce the amount of transmitted bits, it can be improved to signal the corresponding flag in consideration of the number of existing slices. .
- the picture referring to the corresponding PPS may be divided into only tiles and not slices.
- the value of loop_filter_across_slices_enabled_flag is always signaled even when the picture is divided into tiles and not slices as described above.
- the embodiment of FIG. can be improved.
- FIG. 27 is a diagram illustrating an embodiment of a syntax for signaling a syntax element loop_filter_across_slices_enabled_flag in consideration of the number of slices in order to solve the above problem.
- the syntax element loop_filter_across_slices_enabled_flag 2720 may be signaled based on the number of slices (e.g. num_slices_in_pic_minus1) belonging to the corresponding picture. For example, as shown in FIG. 27 , only when the number of slices belonging to a corresponding picture is greater than 1 ( 2710 ), loop_filter_across_slices_enabled_flag 2720 may be signaled through a bitstream.
- the encoding apparatus may generate a bitstream by encoding the loop_filter_across_slices_enabled_flag 2720, and the decoding apparatus may generate a loop_filter_across_slices_enabled_flag 2720 from the bitstream.
- num_slices_in_pic_minus1 is a syntax element signaled to indicate the number of rectangular slices in an individual picture referring to the PPS in order to signal the layout of the rectangular slice when the picture is divided into two or more rectangular slices.
- Raster scan slices in individual pictures When a raster-scan slice mode is applied, an individual picture may still be divided into a plurality of slices. Accordingly, the syntax may be modified so that the loop_filter_across_slices_enabled_flag 2720 is signaled even when the value of rect_slice_flag indicates the first value (e.g. 0) indicating the raster scan slice mode.
- single_slice_per_subpic_flag is the second value (e.g. 1)
- the syntax may be modified so that the loop_filter_across_slices_enabled_flag 2720 is signaled even when the value of single_slice_per_subpic_flag indicates the second value (e.g. 1).
- num_slices_in_pic_minus1 when the value of num_slices_in_pic_minus1 is not obtained from the bitstream, it is not signaled whether the current picture is divided into how many slices. can be modified.
- the value of rect_slice_flag is 1 and the value of single_slice_per_subpic_flag is required to be 0.
- the value of loop_filter_across_slices_enabled_flag may be obtained from the bitstream regardless of whether the value of num_slices_in_pic_minus1 is greater than 1.
- the PPS syntax may be modified as shown in FIG. 28 .
- FIG. 28 is a diagram illustrating an embodiment of a syntax of a PPS to which signaling of loop_filter_across_tiles_enabled_flag and loop_filter_across_slices_enabled_flag described above with reference to FIGS. 25 to 27 is applied.
- some of the names of syntax elements described with reference to FIGS. 25 and 28 are named by adding pps_.
- the syntax no_pic_partition_flag described above is named pps_no_pic_partition_flag.
- pps_no_pic_partition_flag has a value (eg 0) indicating that the picture can be divided into at least one type of tile and slice
- pps_num_exp_tile_columns_minus1 indicating how many tile columns the picture referring to PPS has
- Whether the current picture is divided into how many tiles may be signaled using the pps_num_exp_tile_rows_minus1 syntax element indicating how many tile rows the picture referring to the PPS has.
- the number of tiles included in the current picture may be calculated as (pps_num_exp_tile_columns_minus1 + 1) * (pps_num_exp_tile_rows_minus1 + 1) and recorded in the variable NumTileInPic.
- the pps_loop_filter_across_tiles_enabled_flag syntax element and the pps_rect_slice_flag syntax element indicating whether filtering can be applied across a tile boundary only when the value of NumTileInPic is greater than 1, that is, when there are more than one tile in the current picture. can be obtained.
- pps_rect_slice_flag when the value of pps_rect_slice_flag is 1, pps_single_slice_per_subpic_flag may be obtained from the bitstream.
- the pps_num_slice_in_pic_minus1 syntax element may be obtained from the bitstream.
- the value of pps_rect_slice_flag is 0, the value of pps_single_slice_per_subpic_flag is 1, or the value of pps_num_slices_in_pic_minus1 is greater than 1, the value of pps_loop_filter_across_slices_enabled_flag may be obtained from the bitstream.
- An image decoding apparatus includes a memory and a processor, and the decoding apparatus may perform decoding according to an operation of the processor.
- 29 illustrates a decoding method of a decoding apparatus according to an embodiment.
- the decoding apparatus may determine the number of tiles (e.g. NumTilesInPic) in the current picture on the basis that division of the current picture is not limited ( S2910 ). For example, the decoding apparatus may obtain a partition restriction flag (eg no_pic_partition_flag) indicating whether or not partitioning of the current picture is restricted from the bitstream, and may determine whether partitioning of the current picture is not restricted based on the partition restriction flag. .
- a partition restriction flag eg no_pic_partition_flag
- the decoding apparatus may obtain, from the bitstream, a first flag (e.g. loop_filter_across_tiles_enabled_flag) indicating whether filtering on a tile boundary is available or not based on the number of tiles in the current picture ( S2920 ).
- a first flag e.g. loop_filter_across_tiles_enabled_flag
- the number of tiles in the current picture may be determined based on tile number information indicating the number of tiles dividing the current picture.
- the tile number information may be obtained from the bitstream based on the fact that division of the current picture is not limited.
- the tile number information may include information indicating the number of tile columns in the picture (e.g. num_exp_tile_columns_minus1) and information indicating the number of tile rows in the picture (e.g. num_exp_tile_rows_minus1).
- the decoding apparatus may determine whether to perform filtering on the boundary of a tile belonging to the current picture based on the value of the first flag ( S2930 ).
- the type of filtering may be any one of a deblocking filter, an SAO filter, and an ALF filter as described above.
- the first flag indicates that filtering is not available, a filter used for decoding a corresponding image among a deblocking filter, an SAO filter, and an ALF filter may not be applied to a corresponding tile boundary.
- the decoding apparatus may obtain, from the bitstream, a second flag (e.g. loop_filter_across_slices_enabled_flag) indicating whether filtering on the slice boundary is available or not based on the fact that the division of the current picture is not limited ( S2940 ).
- a second flag e.g. loop_filter_across_slices_enabled_flag
- the decoding apparatus may obtain information on slices constituting the picture from the bitstream based on the fact that division of the current picture is not limited.
- the decoding apparatus may obtain the second flag from the bitstream based on the fact that the information on the slice does not indicate that the picture is composed of one slice.
- the decoding apparatus may obtain the second flag from the bitstream based on information on slices indicating that the number of slices in the current picture is plural (e.g. num_slices_in_pic_minus1 > 0). For example, it is determined whether a slice constituting the picture is a rectangular slice based on the fact that the division of the current picture is not limited, and based on the slice constituting the picture being a rectangular slice, the subpicture of the picture is one rectangular slice It is determined whether it consists of only Based on , it may be determined whether the number of slices in the current picture is plural.
- slices indicating that the number of slices in the current picture is plural e.g. num_slices_in_pic_minus1 > 0. For example, it is determined whether a slice constituting the picture is a rectangular slice based on the fact that the division of the current picture is not limited, and based on the slice constituting the picture being a rectangular slice, the subpicture of the picture is one rectangular slice It is determined whether it consists
- the decoding apparatus may determine whether to perform filtering on the boundary of the slice belonging to the current picture based on the value of the second flag ( S2950 ). For example, when the second flag indicates that filtering is not available, a filter used for decoding a corresponding image among a deblocking filter, an SAO filter, and an ALF filter may not be applied to a corresponding slice boundary.
- An image encoding apparatus includes a memory and a processor, and the encoding apparatus may perform encoding in a manner corresponding to the decoding of the decoding apparatus by the operation of the processor. For example, as shown in FIG. 30 , the encoding apparatus may determine the number of tiles (e.g. NumTilesInPic) in the current picture on the basis that the division of the current picture is not limited ( S3010 ). Next, the encoding apparatus may determine a value of a first flag (e.g.
- loop_filter_across_tiles_enabled_flag indicating whether filtering on a tile boundary is available based on the number of tiles in the current picture ( S3020 ). Meanwhile, the encoding apparatus may further determine whether the current picture consists of one slice based on the fact that the division of the current picture is not limited ( S3030 ). Also, the encoding apparatus may determine a value of a second flag (e.g. loop_filter_across_slices_enabled_flag) indicating whether filtering on a slice boundary is available or not based on the current picture not being composed of one slice ( S3040 ).
- a second flag e.g. loop_filter_across_slices_enabled_flag
- the encoding apparatus may generate a bitstream including at least one of the first flag and the second flag or not including any one (S3050). For example, the encoding apparatus may not determine the values of both the first flag and the second flag based on the fact that the number of tiles in the picture is not plural and the current picture consists of one slice, and the first flag and the second flag You can create a bitstream that does not contain flags.
- the value of the partition restriction flag (e.g. no_pic_partition_flag) may be set according to whether the current picture is partitioned and the partition restriction flag may also be included in the bitstream.
- no_pic_partition_flag As described above, as no_pic_partition_flag is used in the encoding and decoding method, whether the current picture is not divided into tiles and/or slices is signaled with no_pic_partition_flag. And, accordingly, information on the partitioning of tiles and information on the number of slices are signaled.
- loop_filter_across_tiles_enabled_flag and loop_filter_across_slices_enabled_flag based only on the value of no_pic_partition_flag
- loop_filter_across_tiles_enabled_flag or loop_filter_across_slices is signaled unnecessarily when the current picture is divided only into slices or only tiles.
- loop_filter_across_tiles_enabled_flag and loop_filter_across_slices_enabled_flag separately signaling a flag indicating whether the current picture is divided into tiles together with no_pic_partition_flag and a flag indicating whether the current picture is divided into slices is not helpful in terms of bit saving.
- the configuration for determining whether to signal loop_filter_across_tiles_enabled_flag and loop_filter_across_slices_enabled_flag based on the number of tiles dividing a picture and the number of slices dividing a picture is to It is possible to determine whether to signal loop_filter_across_tiles_enabled_flag and loop_filter_across_slices_enabled_flag from the parsing information of the slice.
- the technical idea described in the present disclosure can reduce the frequency at which a corresponding flag is generated in the bitstream in an encoding/decoding environment in which the current picture can be divided into tiles and/or slices, thereby reducing the size of the bitstream. can promote
- Example methods of the present disclosure are expressed as a series of operations for clarity of description, but this is not intended to limit the order in which the steps are performed, and if necessary, each step may be performed simultaneously or in a different order.
- other steps may be included in addition to the illustrated steps, other steps may be included after excluding some steps, or additional other steps may be included except for some steps.
- an image encoding apparatus or an image decoding apparatus performing a predetermined operation may perform an operation (step) of confirming a condition or situation for performing the corresponding operation (step). For example, if it is stated that a predetermined operation is performed when a predetermined condition is satisfied, the image encoding apparatus or the image decoding apparatus performs an operation to check whether the predetermined condition is satisfied and then performs the predetermined operation can
- various embodiments of the present disclosure may be implemented by hardware, firmware, software, or a combination thereof.
- ASICs Application Specific Integrated Circuits
- DSPs Digital Signal Processors
- DSPDs Digital Signal Processing Devices
- PLDs Programmable Logic Devices
- FPGAs Field Programmable Gate Arrays
- general purpose It may be implemented by a processor (general processor), a controller, a microcontroller, a microprocessor, and the like.
- the image decoding apparatus and the image encoding apparatus to which the embodiments of the present disclosure are applied are real-time communication apparatuses such as a multimedia broadcasting transceiver, a mobile communication terminal, a home cinema video apparatus, a digital cinema video apparatus, a surveillance camera, a video conversation apparatus, and a video communication apparatus.
- mobile streaming device storage medium, camcorder, video on demand (VoD) service providing device, OTT video (Over the top video) device, internet streaming service providing device, three-dimensional (3D) video device, video telephony video device, and medical use It may be included in a video device and the like, and may be used to process a video signal or a data signal.
- the OTT video (Over the top video) device may include a game console, a Blu-ray player, an Internet-connected TV, a home theater system, a smart phone, a tablet PC, a digital video recorder (DVR), and the like.
- a game console a Blu-ray player
- an Internet-connected TV a home theater system
- a smart phone a tablet PC
- DVR digital video recorder
- FIG. 31 is a diagram illustrating a content streaming system to which an embodiment of the present disclosure can be applied.
- the content streaming system to which the embodiment of the present disclosure is applied may largely include an encoding server, a streaming server, a web server, a media storage, a user device, and a multimedia input device.
- the encoding server generates a bitstream by compressing content input from multimedia input devices such as a smart phone, a camera, a camcorder, etc. into digital data and transmits it to the streaming server.
- multimedia input devices such as a smartphone, a camera, a camcorder, etc. directly generate a bitstream
- the encoding server may be omitted.
- the bitstream may be generated by an image encoding method and/or an image encoding apparatus to which an embodiment of the present disclosure is applied, and the streaming server may temporarily store the bitstream in a process of transmitting or receiving the bitstream.
- the streaming server transmits multimedia data to the user device based on a user request through the web server, and the web server may serve as a medium informing the user of a service.
- the web server transmits it to a streaming server, and the streaming server may transmit multimedia data to the user.
- the content streaming system may include a separate control server.
- the control server may serve to control commands/responses between devices in the content streaming system.
- the streaming server may receive content from a media repository and/or an encoding server. For example, when receiving content from the encoding server, the content may be received in real time. In this case, in order to provide a smooth streaming service, the streaming server may store the bitstream for a predetermined time.
- Examples of the user device include a mobile phone, a smart phone, a laptop computer, a digital broadcasting terminal, a personal digital assistant (PDA), a portable multimedia player (PMP), a navigation system, a slate PC, Tablet PC (tablet PC), ultrabook (ultrabook), wearable device (e.g., watch-type terminal (smartwatch), glass-type terminal (smart glass), HMD (head mounted display)), digital TV, desktop There may be a computer, digital signage, and the like.
- PDA personal digital assistant
- PMP portable multimedia player
- PDA portable multimedia player
- slate PC slate PC
- Tablet PC Tablet PC
- ultrabook ultrabook
- wearable device e.g., watch-type terminal (smartwatch), glass-type terminal (smart glass), HMD (head mounted display)
- digital TV desktop
- desktop There may be a computer, digital signage, and the like.
- Each server in the content streaming system may be operated as a distributed server, and in this case, data received from each server may be distributed and processed.
- the scope of the present disclosure includes software or machine-executable instructions (eg, operating system, application, firmware, program, etc.) that cause operation according to the method of various embodiments to be executed on a device or computer, and such software or and non-transitory computer-readable media in which instructions and the like are stored and executed on a device or computer.
- software or machine-executable instructions eg, operating system, application, firmware, program, etc.
- An embodiment according to the present disclosure may be used to encode/decode an image.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
MttSplitMode | mtt_split_cu_vertical_flag | mtt_split_cu_binary_flag |
SPLIT_TT_HOR | 0 | 0 |
SPLIT_BT_HOR | 0 | 1 |
SPLIT_TT_VER | 1 | 0 |
SPLIT_BT_VER | 1 | 1 |
Claims (15)
- 영상 복호화 장치에 의해 수행되는 영상 복호화 방법에 있어서,현재 픽쳐의 분할이 제한되지 않음에 기반하여 상기 현재 픽쳐 내 타일의 개수를 결정하는 단계;상기 현재 픽쳐 내 타일의 개수가 복수개임에 기반하여 타일 경계에 대한 필터링의 가용 여부를 나타내는 제 1 플래그를 비트스트림으로부터 획득하는 단계; 및상기 제 1 플래그의 값에 기반하여 상기 현재 픽쳐에 속한 타일의 경계에 대한 필터링의 수행 여부를 결정하는 단계를 포함하는 영상 복호화 방법.
- 제 1 항에 있어서,상기 현재 픽쳐의 분할 제한 여부를 나타내는 분할 제한 플래그가 상기 비트스트림으로부터 획득되고,상기 분할 제한 플래그에 기반하여 상기 현재 픽쳐의 분할이 제한되지 않는지 여부가 결정되는 영상 복호화 방법.
- 제 1 항에 있어서,상기 현재 픽쳐 내 타일의 개수는 상기 현재 픽쳐를 분할하는 타일의 개수를 나타내는 타일 개수 정보에 기반하여 결정되는 영상 복호화 방법.
- 제 3 항에 있어서,상기 타일 개수 정보는 상기 픽쳐 내 타일 열의 개수를 나타내는 정보 및 상기 픽쳐 내 타일 행의 개수를 나타내는 정보를 포함하는 영상 복호화 방법.
- 제 3 항에 있어서,상기 타일 개수 정보는, 상기 현재 픽쳐의 분할이 제한되지 않음에 기반하여 상기 비트스트림으로부터 획득되는 영상 복호화 방법.
- 제 1 항에 있어서,상기 현재 픽쳐의 분할이 제한되지 않음에 기반하여 슬라이스 경계에 대한 필터링의 가용 여부를 나타내는 제 2 플래그를 상기 비트스트림으로부터 획득하는 단계; 및상기 제 2 플래그의 값에 기반하여 상기 현재 픽쳐에 속한 슬라이스의 경계에 대한 필터링의 수행 여부를 결정하는 단계를 더 포함하는 영상 복호화 방법.
- 제 6 항에 있어서,상기 현재 픽쳐의 분할이 제한되지 않음에 기반하여 상기 픽쳐를 구성하는 슬라이스에 대한 정보가 비트스트림으로부터 획득되고,상기 슬라이스에 대한 정보가 상기 픽쳐가 하나의 슬라이스로 구성됨을 나타내지 않음에 기반하여 상기 제 2 플래그가 상기 비트스트림으로부터 획득되는 영상 복호화 방법.
- 제 7 항에 있어서,상기 슬라이스에 대한 정보가 상기 픽쳐에 직사각 슬라이스 모드가 적용되지 않음을 나타냄에 기반하여 상기 제 2 플래그가 상기 비트스트림으로부터 획득되는 영상 복호화 방법.
- 제 7 항에 있어서,상기 슬라이스에 대한 정보가 상기 픽쳐의 서브 픽쳐는 하나의 직사각 슬라이스만으로 구성됨을 나타냄에 기반하여 상기 제 2 플래그가 상기 비트스트림으로부터 획득되는 영상 복호화 방법.
- 제 7 항에 있어서,상기 슬라이스에 대한 정보가 상기 현재 픽쳐 내 슬라이스의 개수가 복수개임을 나타냄에 기반하여 상기 제 2 플래그가 상기 비트스트림으로부터 획득되는 영상 복호화 방법.
- 제 10 항에 있어서,상기 현재 픽쳐의 분할이 제한되지 않음에 기반하여 상기 픽쳐를 구성하는 슬라이스가 직사각 슬라이스인지 여부가 결정되고,상기 픽쳐를 구성하는 슬라이스가 직사각 슬라이스임에 기반하여 상기 픽쳐의 서브 픽쳐가 하나의 직사각 슬라이스만으로 구성되는지 여부가 결정되고,상기 픽쳐의 서브 픽쳐가 하나보다 많은 개수의 직사각 슬라이스로 구성됨에 기반하여 상기 현재 픽쳐 내 슬라이스의 개수를 나타내는 정보가 비트스트림으로부터 획득되며,상기 현재 픽쳐 내 슬라이스의 개수를 나타내는 정보에 기반하여 상기 현재 픽쳐 내 슬라이스의 개수가 복수개인지 여부가 결정되는 영상 복호화 방법.
- 메모리 및 적어도 하나의 프로세서를 포함하는 영상 복호화 장치로서,상기 적어도 하나의 프로세서는,현재 픽쳐의 분할이 제한되지 않음에 기반하여 상기 현재 픽쳐 내 타일의 개수를 결정하고,상기 현재 픽쳐 내 타일의 개수가 복수개임에 기반하여 타일 경계에 대한 필터링의 가용 여부를 나타내는 제 1 플래그를 비트스트림으로부터 획득하며,상기 제 1 플래그의 값에 기반하여 상기 현재 픽쳐에 속한 타일의 경계에 대한 필터링의 수행 여부를 결정하는 영상 복호화 장치.
- 영상 부호화 장치에 의해 수행되는 영상 부호화 방법에 있어서,현재 픽쳐의 분할이 제한되지 않음에 기반하여 상기 현재 픽쳐 내 타일의 개수를 결정하는 단계;상기 현재 픽쳐 내 타일의 개수가 복수개임에 기반하여 타일 경계에 대한 필터링의 가용 여부를 나타내는 제 1 플래그의 값을 결정하는 단계; 및상기 제 1 플래그를 포함하는 비트스트림을 생성하는 단계를 포함하는 영상 부호화 방법.
- 제13항에 있어서,상기 현재 픽쳐의 분할이 제한되지 않음에 기반하여 상기 현재 픽쳐가 하나의 슬라이스로 구성되는지 여부를 결정하는 단계; 및상기 현재 픽쳐가 하나의 슬라이스로 구성되지 않음에 기반하여 슬라이스 경계에 대한 필터링의 가용 여부를 나타내는 제 2 플래그의 값을 결정하는 단계를 더 포함하고,상기 제 2 플래그는 상기 비트스트림에 포함되는 영상 부호화 방법.
- 컴퓨터로 읽을 수 있는 기록 매체에 있어서, 상기 기록 매체에는 복호화 장치가 제 1 항의 복호화 방법을 수행하도록 야기하는 비트스트림이 저장된 기록 매체.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022549075A JP7541102B2 (ja) | 2020-02-14 | 2021-02-15 | フィルタ利用可能情報を選択的にシグナリングする画像符号化/復号化方法及び装置、並びにビットストリームを伝送する方法 |
CN202180014308.XA CN115088256A (zh) | 2020-02-14 | 2021-02-15 | 选择性地用信号通知滤波可用信息的图像编码/解码方法和装置以及发送比特流的方法 |
US17/797,953 US20230080116A1 (en) | 2020-02-14 | 2021-02-15 | Image coding/decoding method and device for selectively signaling filter availability information, and method for transmitting bitstream |
KR1020227031560A KR20220136436A (ko) | 2020-02-14 | 2021-02-15 | 필터 가용 정보를 선택적으로 시그널링 하는 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US202062977060P | 2020-02-14 | 2020-02-14 | |
US62/977,060 | 2020-02-14 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021162494A1 true WO2021162494A1 (ko) | 2021-08-19 |
Family
ID=77292432
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/KR2021/001856 WO2021162494A1 (ko) | 2020-02-14 | 2021-02-15 | 필터 가용 정보를 선택적으로 시그널링 하는 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 |
Country Status (5)
Country | Link |
---|---|
US (1) | US20230080116A1 (ko) |
JP (1) | JP7541102B2 (ko) |
KR (1) | KR20220136436A (ko) |
CN (1) | CN115088256A (ko) |
WO (1) | WO2021162494A1 (ko) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2023513708A (ja) * | 2020-02-14 | 2023-04-03 | 北京字節跳動網絡技術有限公司 | インループフィルタリングと映像タイルとの間の相互作用 |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20220083818A (ko) * | 2019-11-27 | 2022-06-20 | 엘지전자 주식회사 | 슬라이스 관련 정보를 시그널링하는 방법 및 장치 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140081882A (ko) * | 2011-10-21 | 2014-07-01 | 퀄컴 인코포레이티드 | 비디오 코딩에서 슬라이스 경계들 또는 타일 경계들 주위의 루프 필터링 |
KR20140085541A (ko) * | 2011-10-28 | 2014-07-07 | 퀄컴 인코포레이티드 | 타일 경계들에 걸친 루프 필터링 제어 |
KR20190113737A (ko) * | 2011-09-28 | 2019-10-08 | 한국전자통신연구원 | 제한된 오프셋 보상 및 루프 필터를 기반으로 하는 영상 부호화 및 복호화 방법 및 그 장치 |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
SG11201406493RA (en) * | 2012-04-13 | 2014-11-27 | Ge Video Compression Llc | Low delay picture coding |
WO2015056941A1 (ko) * | 2013-10-14 | 2015-04-23 | 한국전자통신연구원 | 다계층 기반의 영상 부호화/복호화 방법 및 장치 |
US9521423B2 (en) * | 2014-06-26 | 2016-12-13 | Sony Corporation | Data encoding and decoding apparatus, method and storage medium |
CN115134607A (zh) * | 2015-06-11 | 2022-09-30 | 杜比实验室特许公司 | 使用自适应去块滤波编码和解码图像的方法及其装置 |
JP2018107500A (ja) * | 2016-12-22 | 2018-07-05 | キヤノン株式会社 | 符号化装置、符号化方法及びプログラム、復号装置、復号方法及びプログラム |
JP6503101B2 (ja) * | 2018-02-23 | 2019-04-17 | マイクロソフト テクノロジー ライセンシング,エルエルシー | イントラブロックコピー予測におけるブロック反転及びスキップモード |
-
2021
- 2021-02-15 CN CN202180014308.XA patent/CN115088256A/zh active Pending
- 2021-02-15 KR KR1020227031560A patent/KR20220136436A/ko unknown
- 2021-02-15 JP JP2022549075A patent/JP7541102B2/ja active Active
- 2021-02-15 WO PCT/KR2021/001856 patent/WO2021162494A1/ko active Application Filing
- 2021-02-15 US US17/797,953 patent/US20230080116A1/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190113737A (ko) * | 2011-09-28 | 2019-10-08 | 한국전자통신연구원 | 제한된 오프셋 보상 및 루프 필터를 기반으로 하는 영상 부호화 및 복호화 방법 및 그 장치 |
KR20140081882A (ko) * | 2011-10-21 | 2014-07-01 | 퀄컴 인코포레이티드 | 비디오 코딩에서 슬라이스 경계들 또는 타일 경계들 주위의 루프 필터링 |
KR20140085541A (ko) * | 2011-10-28 | 2014-07-07 | 퀄컴 인코포레이티드 | 타일 경계들에 걸친 루프 필터링 제어 |
Non-Patent Citations (2)
Title |
---|
B. BROSS, J. CHEN, S. LIU, Y.-K. WANG: "Versatile Video Coding (Draft 8)", 17. JVET MEETING; 20200107 - 20200117; BRUSSELS; (THE JOINT VIDEO EXPLORATION TEAM OF ISO/IEC JTC1/SC29/WG11 AND ITU-T SG.16 ), no. JVET-Q2001, 9 February 2020 (2020-02-09), XP030285388 * |
K. ABE (PANASONIC), T. TOMA (PANASONIC), V. DRUGEON (PANASONIC): "AHG12: Loop filter control flag for tile boundary", 16. JVET MEETING; 20191001 - 20191011; GENEVA; (THE JOINT VIDEO EXPLORATION TEAM OF ISO/IEC JTC1/SC29/WG11 AND ITU-T SG.16 ), no. JVET-P0252 ; m50216, 24 September 2019 (2019-09-24), XP030216694 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2023513708A (ja) * | 2020-02-14 | 2023-04-03 | 北京字節跳動網絡技術有限公司 | インループフィルタリングと映像タイルとの間の相互作用 |
JP2023513710A (ja) * | 2020-02-14 | 2023-04-03 | 北京字節跳動網絡技術有限公司 | インループフィルタリングと映像スライスとの間の相互作用 |
JP7401689B2 (ja) | 2020-02-14 | 2023-12-19 | 北京字節跳動網絡技術有限公司 | インループフィルタリングと映像タイルとの間の相互作用 |
JP7469488B2 (ja) | 2020-02-14 | 2024-04-16 | 北京字節跳動網絡技術有限公司 | インループフィルタリングと映像スライスとの間の相互作用 |
Also Published As
Publication number | Publication date |
---|---|
JP2023513788A (ja) | 2023-04-03 |
KR20220136436A (ko) | 2022-10-07 |
CN115088256A (zh) | 2022-09-20 |
US20230080116A1 (en) | 2023-03-16 |
JP7541102B2 (ja) | 2024-08-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021040480A1 (ko) | 인루프 필터링 기반 영상 코딩 장치 및 방법 | |
WO2020231140A1 (ko) | 적응적 루프 필터 기반 비디오 또는 영상 코딩 | |
WO2020213944A1 (ko) | 영상 코딩에서 매트릭스 기반의 인트라 예측을 위한 변환 | |
WO2020213946A1 (ko) | 변환 인덱스를 이용하는 영상 코딩 | |
WO2020204413A1 (ko) | 복원 픽처를 수정하는 비디오 또는 영상 코딩 | |
WO2020180143A1 (ko) | 루마 맵핑 및 크로마 스케일링 기반 비디오 또는 영상 코딩 | |
WO2020204419A1 (ko) | 적응적 루프 필터 기반 비디오 또는 영상 코딩 | |
WO2020231139A1 (ko) | 루마 맵핑 및 크로마 스케일링 기반 비디오 또는 영상 코딩 | |
WO2020213945A1 (ko) | 인트라 예측 기반 영상 코딩에서의 변환 | |
WO2021145687A1 (ko) | 서브 픽처 및 픽처 헤더에 관한 정보를 시그널링하는 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 | |
WO2020167097A1 (ko) | 영상 코딩 시스템에서 인터 예측을 위한 인터 예측 타입 도출 | |
WO2021040482A1 (ko) | 적응적 루프 필터링 기반 영상 코딩 장치 및 방법 | |
WO2020213867A1 (ko) | 스케일링 리스트 데이터의 시그널링 기반 비디오 또는 영상 코딩 | |
WO2020184928A1 (ko) | 루마 맵핑 및 크로마 스케일링 기반 비디오 또는 영상 코딩 | |
WO2021054807A1 (ko) | 참조 샘플 필터링을 이용하는 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 | |
WO2021040319A1 (ko) | 비디오/영상 코딩 시스템에서 라이스 파라미터 도출 방법 및 장치 | |
WO2020197274A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2021162494A1 (ko) | 필터 가용 정보를 선택적으로 시그널링 하는 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 | |
WO2021182816A1 (ko) | 직사각형 슬라이스의 크기 정보를 선택적으로 부호화 하는 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 | |
WO2021177791A1 (ko) | 혼성 nal 유닛 타입에 기반하는 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 | |
WO2021132963A1 (ko) | 슬라이스 또는 픽처에 대한 nal 유닛 타입 기반 영상 또는 비디오 코딩 | |
WO2020256482A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2020197207A1 (ko) | 맵핑을 포함하는 필터링 기반 비디오 또는 영상 코딩 | |
WO2021201513A1 (ko) | Sps 내 ptl, dpb 및 hrd 관련 정보를 시그널링하는 영상 부호화/복호화 방법, 장치 및 비트스트림을 저장한 컴퓨터 판독 가능한 기록 매체 | |
WO2021133100A1 (ko) | Pdpc를 수행하는 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21753516 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2022549075 Country of ref document: JP Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: 202217052016 Country of ref document: IN |
|
ENP | Entry into the national phase |
Ref document number: 20227031560 Country of ref document: KR Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21753516 Country of ref document: EP Kind code of ref document: A1 |