WO2023055167A1 - 인트라 예측 모드 도출 기반 인트라 예측 방법 및 장치 - Google Patents
인트라 예측 모드 도출 기반 인트라 예측 방법 및 장치 Download PDFInfo
- Publication number
- WO2023055167A1 WO2023055167A1 PCT/KR2022/014750 KR2022014750W WO2023055167A1 WO 2023055167 A1 WO2023055167 A1 WO 2023055167A1 KR 2022014750 W KR2022014750 W KR 2022014750W WO 2023055167 A1 WO2023055167 A1 WO 2023055167A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- mode
- prediction
- current block
- intra
- intra prediction
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 168
- 238000009795 derivation Methods 0.000 title claims abstract description 42
- 238000002156 mixing Methods 0.000 claims description 22
- 230000004927 fusion Effects 0.000 claims description 14
- 239000000523 sample Substances 0.000 description 86
- 238000001914 filtration Methods 0.000 description 45
- 239000013598 vector Substances 0.000 description 39
- 238000013139 quantization Methods 0.000 description 32
- 238000012545 processing Methods 0.000 description 22
- 230000000875 corresponding effect Effects 0.000 description 19
- 239000013074 reference sample Substances 0.000 description 18
- 230000008569 process Effects 0.000 description 16
- 239000011449 brick Substances 0.000 description 12
- 208000037170 Delayed Emergence from Anesthesia Diseases 0.000 description 11
- 241000023320 Luma <angiosperm> Species 0.000 description 11
- OSWPMRLSEDHDFF-UHFFFAOYSA-N methyl salicylate Chemical compound COC(=O)C1=CC=CC=C1O OSWPMRLSEDHDFF-UHFFFAOYSA-N 0.000 description 11
- 230000002123 temporal effect Effects 0.000 description 11
- 230000011664 signaling Effects 0.000 description 10
- 239000011159 matrix material Substances 0.000 description 9
- 230000009466 transformation Effects 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 8
- 238000005192 partition Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 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 5
- 238000004891 communication Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 230000006978 adaptation Effects 0.000 description 4
- 230000003044 adaptive effect Effects 0.000 description 4
- 238000013459 approach Methods 0.000 description 4
- 230000001186 cumulative effect Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000014509 gene expression Effects 0.000 description 4
- 230000001131 transforming effect Effects 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 3
- 230000006835 compression Effects 0.000 description 3
- 238000007906 compression Methods 0.000 description 3
- 230000001419 dependent effect Effects 0.000 description 3
- 238000000638 solvent extraction Methods 0.000 description 3
- FZEIVUHEODGHML-UHFFFAOYSA-N 2-phenyl-3,6-dimethylmorpholine Chemical compound O1C(C)CNC(C)C1C1=CC=CC=C1 FZEIVUHEODGHML-UHFFFAOYSA-N 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 230000002146 bilateral effect Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 101100129500 Caenorhabditis elegans max-2 gene Proteins 0.000 description 1
- 240000007594 Oryza sativa Species 0.000 description 1
- 235000007164 Oryza sativa Nutrition 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 238000003708 edge detection Methods 0.000 description 1
- 238000003709 image segmentation Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000012805 post-processing Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 235000009566 rice Nutrition 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
- 238000012360 testing method Methods 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/103—Selection of coding mode or of prediction mode
- H04N19/105—Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
-
- 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/103—Selection of coding mode or of prediction mode
- H04N19/11—Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
-
- 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/132—Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
-
- 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/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/146—Data rate or code amount at the encoder output
- H04N19/147—Data rate or code amount at the encoder output according to rate distortion criteria
-
- 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/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/157—Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N19/159—Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
-
- 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/176—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 block, e.g. a macroblock
-
- 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/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/593—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
-
- 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
Definitions
- This document relates to image coding technology, and more particularly, to an image coding method and apparatus for deriving an intra prediction mode in an image coding system.
- VR Virtual Reality
- AR Artificial Reality
- broadcasting is on the rise.
- a high-efficiency video/video compression technology is required to effectively compress, transmit, store, and reproduce high-resolution and high-quality video/video information having various characteristics as described above.
- the technical problem of this document is to provide a method and apparatus for increasing image coding efficiency.
- Another technical problem of this document is to provide a method and apparatus for performing intra prediction efficiently in image coding.
- an image decoding method performed by a decoding device includes obtaining image information from a bitstream, determining whether at least one of a Template-based Inter Mode Derivation (TIMD) mode and a Decoder Side Intra Mode Derivation (DIMD) mode is applied to a current block, the Generating a predicted sample of the current block based on a TIMD mode or at least one of the DIMD modes, and generating a reconstructed sample of the current block based on the predicted sample of the current block, wherein the The TIMD mode is derived based on the template of the current block, and the DIMD mode is derived based on gradients of neighboring reference samples of the current block.
- TIMD Template-based Inter Mode Derivation
- DIMD Decoder Side Intra Mode Derivation
- an encoding method performed by an encoding device includes determining whether at least one of a Template-based Inter Mode Derivation (TIMD) mode and a Decoder Side Intra Mode Derivation (DIMD) mode is applied to a current block, at least one of the TIMD mode and the DIMD modes Generating a prediction sample of the current block based on, generating prediction related information based on the prediction sample of the current block, and encoding image information including the prediction related information,
- the TIMD mode is derived based on the template of the current block
- the DIMD mode is derived based on gradients of neighboring reference samples of the current block.
- a computer-readable digital storage medium stores a bitstream generated by a specific method, and the specific method applies at least one of Template-based Inter Mode Derivation (TIMD) mode and Decoder Side Intra Mode Derivation (DIMD) modes to the current block.
- TIMD Template-based Inter Mode Derivation
- DIMD Decoder Side Intra Mode Derivation
- generating prediction samples of the current block based on at least one of the TIMD mode and the DIMD modes generating prediction-related information based on the prediction samples of the current block; and encoding image information including the prediction related information, wherein the TIMD mode is derived based on a template of the current block, and the DIMD mode is derived based on gradients of neighboring reference samples of the current block characterized by being
- encoded information or encoded video/image information causing a decoding device to perform a video/image decoding method disclosed in at least one of the embodiments of this document is read by a computer.
- a method and apparatus for transmitting a bitstream generated according to the video/image encoding method disclosed in at least one of the embodiments of this document are provided.
- obtaining image information from a bitstream determining whether at least one of a Template-based Inter Mode Derivation (TIMD) mode or a Decoder Side Intra Mode Derivation (DIMD) mode is applied to a current block Step , generating a predicted sample of the current block based on at least one of the TIMD mode or the DIMD modes, and generating a reconstructed sample of the current block based on the predicted sample of the current block, , the TIMD mode is derived based on the template of the current block, and the DIMD mode is derived based on gradients of neighboring reference samples of the current block.
- TIMD Template-based Inter Mode Derivation
- DIMD Decoder Side Intra Mode Derivation
- TIMD mode or the DIMD mode By using the TIMD mode or the DIMD mode, overhead generated in the process of signaling the intra prediction mode can be reduced and overall coding efficiency can be improved. In addition, prediction accuracy can be increased by generating the prediction sample based on the TIMD mode or the DIMD mode.
- FIG. 1 schematically shows an example of a video/image coding system that can be applied to the embodiments of this document.
- FIG. 2 is a diagram schematically illustrating the configuration of a video/image encoding apparatus applicable to embodiments of the present document.
- FIG. 3 is a diagram schematically illustrating the configuration of a video/image decoding apparatus applicable to embodiments of the present document.
- FIG. 5 illustrates an example of an image encoding method based on rough intra prediction to which embodiments of the present document are applicable.
- FIG. 6 schematically shows an intra prediction unit in an encoding device.
- FIG. 7 illustrates an example of an image decoding method based on rough intra prediction to which embodiments of the present document are applicable.
- FIG. 8 schematically shows an intra prediction unit in a decoding device.
- FIG. 9 exemplarily illustrates a schematic intra prediction procedure to which embodiments of the present document are applicable.
- FIG 10 illustrates an example of intra prediction modes to which embodiments of the present document are applicable.
- FIG. 11 shows a restored pixel template as an example.
- FIG. 13 and 14 schematically illustrate an example of a video/image encoding method and related components according to an embodiment of this document.
- 15 and 16 schematically illustrate an example of a video/image decoding method and related components according to an embodiment of this document.
- FIG 17 shows an example of a content streaming system to which the embodiments disclosed in this document can be applied.
- each component in the drawings described in this document is shown independently for convenience of description of different characteristic functions, and does not mean that each component is implemented as separate hardware or separate software.
- two or more of the components may be combined to form one component, or one component may be divided into a plurality of components.
- Embodiments in which each configuration is integrated and/or separated are also included in the scope of rights of this document as long as they do not deviate from the essence of this document.
- VVC Versatile Video Coding
- HEVC High Efficiency Video Coding
- EMC essential video coding
- This document is about video/image coding.
- the method/embodiment disclosed in this document is applicable to the VVC (versatile video coding) standard, EVC (essential video coding) standard, AV1 (AOMedia Video 1) standard, AVS2 (2nd generation of audio video coding standard) or next generation video/ It can be applied to a method disclosed in an image coding standard (ex. H.267 or H.268, etc.).
- a video may mean a set of a series of images over time.
- a picture generally means a unit representing one image in a specific time period, and a subpicture/slice/tile is a unit constituting a part of a picture in coding.
- a subpicture/slice/tile may include one or more coding tree units (CTUs).
- CTUs coding tree units
- One picture may be composed of one or more subpictures/slices/tiles.
- One picture may be composed of one or more tile groups.
- One tile group may include one or more tiles.
- a brick may represent a rectangular area of CTU rows within a tile in a picture.
- a tile may be partitioned into multiple bricks, and each brick may consist of one or more CTU rows within the tile.
- a tile that is not partitioned into multiple bricks may also be referred to as a brick.
- a brick scan can represent a specific sequential ordering of CTUs partitioning a picture, the CTUs can be ordered in a CTU raster scan within a brick, and the bricks in a tile can be sequentially ordered in a raster scan of the bricks in the tile. , and tiles in a picture can be successively aligned with a raster scan of the tiles of the picture.
- a subpicture may represent a rectangular region of one or more slices within a picture. That is, a subpicture may include one or more slices that collectively cover a rectangular area of the picture.
- a tile is a rectangular area of a specific tile column and CTUs within a specific tile column.
- the tile column is a rectangular region of CTUs, and the rectangular region has the same height as the height of the picture, and the width may be specified by syntax elements in a picture parameter set.
- the tile row is a rectangular region of CTUs, the rectangular region has a width specified by syntax elements in a picture parameter set, and a height may be equal to the height of the picture.
- a tile scan may represent a specific sequential ordering of CTUs partitioning a picture, the CTUs may be ordered sequentially with a CTU raster scan within a tile, and tiles within a picture may be sequentially ordered with a raster scan of the tiles of the picture.
- a slice may include an integer number of bricks of a picture, and the integer number of bricks may be included in one NAL unit.
- a slice may consist of multiple complete tiles, or may be a contiguous sequence of complete bricks of one tile.
- tile groups and slices can be used interchangeably.
- tile group/tile group header can be called slice/slice header.
- a pixel or pel may mean a minimum unit constituting one picture (or image). Also, 'sample' may be used as a term corresponding to a pixel.
- a sample may generally represent a pixel or a pixel value, may represent only a pixel/pixel value of a luma component, or only a pixel/pixel value of a chroma component.
- a unit may represent a basic unit of image processing.
- a 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 (eg cb, cr) blocks. Unit may be used interchangeably with terms such as block or area depending on the case.
- an MxN block may include samples (or a sample array) or a set (or array) of transform coefficients consisting of M columns and N rows.
- a or B may mean “only A”, “only B”, or “both A and B”.
- a or B (A or B)" in the present specification may be interpreted as “A and/or B (A and/or B)”.
- A, B or C as used herein means “only A”, “only B”, “only C”, or “any and all combinations of A, B and C ( any combination of A, B and C)”.
- a slash (/) or a comma (comma) used in this specification may mean “and/or”.
- A/B can mean “A and/or B”. Accordingly, “A/B” may mean “only A”, “only B”, or “both A and B”.
- A, B, C may mean “A, B or C”.
- At least one of A and B may mean “only A”, “only B”, or “both A and B”. Also, in this specification, the expression “at least one of A or B” or “at least one of A and/or B” means “at least one It can be interpreted the same as "A and B (at least one of A and B) of
- At least one of A, B and C means “only A”, “only B”, “only C", or “A, B and C” It may mean “any combination of A, B and C”. Also, “at least one of A, B or C” or “at least one of A, B and/or C” means It can mean “at least one of A, B and C”.
- parentheses used in this specification may mean “for example”. Specifically, when it is indicated as “prediction (intra prediction)”, “intra prediction” may be suggested as an example of “prediction”. In other words, “prediction” in this specification is not limited to “intra prediction”, and “intra prediction” may be suggested as an example of “prediction”. Also, even when indicated as “prediction (ie, intra prediction)”, “intra prediction” may be suggested as an example of “prediction”.
- FIG. 1 schematically shows an example of a video/image coding system to which this document can be applied.
- a video/image coding system may include a source device and a receiving device.
- the source device may transmit encoded video/image information or data to a receiving device in a file or streaming form through a digital storage medium or network.
- the source device may include a video source, an encoding device, and a transmission unit.
- the receiving device may include a receiving unit, a decoding device, and a renderer.
- the encoding device may be referred to as a video/image encoding device, and the decoding device may be referred to as a video/image decoding device.
- a transmitter may be included in an encoding device.
- a receiver may be included in a decoding device.
- the renderer may include a display unit, and the display unit may be configured as a separate device or an external component.
- a video source may acquire video/images through a process of capturing, synthesizing, or generating video/images.
- a video source may include a video/image capture device and/or a video/image generation 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.
- Video/image generating devices may include, for example, computers, tablets and smart phones, etc., and may (electronically) generate video/images.
- a virtual video/image may be generated through a computer or the like, and in this case, a video/image capture process may be replaced by a process of generating related data.
- An encoding device may encode an input video/image.
- the encoding device may perform a series of procedures such as prediction, transformation, and quantization for compression and coding efficiency.
- Encoded data (encoded video/video information) may be output in the form of a bitstream.
- the transmission unit may transmit the encoded video/image information or data output in the form of a bit stream to the receiving unit of the receiving device in the form of a file or streaming through a digital storage medium or a network.
- Digital storage media may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, and SSD.
- the transmission unit may include an element for generating a media file through a predetermined file format, and may include an element for transmission through a broadcasting/communication network.
- the receiving unit may receive/extract the bitstream and transmit it to a decoding device.
- the decoding device may decode video/images by performing a series of procedures such as inverse quantization, inverse transformation, and prediction corresponding to operations of the encoding device.
- the renderer may render the decoded video/image.
- the rendered video/image may be displayed through the display unit.
- a video encoding device may include a video encoding device.
- the encoding device 200 includes an image partitioner 210, a predictor 220, a residual processor 230, an entropy encoder 240, It may include an adder 250, a filter 260, and a memory 270.
- the prediction unit 220 may include an inter prediction unit 221 and an intra prediction unit 222 .
- the residual processing unit 230 may include a transformer 232 , a quantizer 233 , a dequantizer 234 , and an inverse transformer 235 .
- the residual processing unit 230 may further include a subtractor 231 .
- the adder 250 may be called a reconstructor or a reconstructed block generator.
- the above-described image segmentation unit 210, prediction unit 220, residual processing unit 230, entropy encoding unit 240, adder 250, and filtering unit 260 may be one or more hardware components ( For example, it may be configured by an encoder chipset or processor). Also, the memory 270 may include a decoded picture buffer (DPB) and may be configured by a digital storage medium. The hardware component may further include a memory 270 as an internal/external component.
- DPB decoded picture buffer
- the image divider 210 may divide an input image (or picture or frame) input to the encoding device 200 into one or more processing units.
- the processing unit may be called a coding unit (CU).
- the coding unit may be partitioned recursively from a coding tree unit (CTU) or a largest coding unit (LCU) according to a quad-tree binary-tree ternary-tree (QTBTTT) structure.
- CTU coding tree unit
- LCU largest coding unit
- QTBTTT quad-tree binary-tree ternary-tree
- one coding unit may be divided into a plurality of coding units of deeper depth based on a quad tree structure, a binary tree structure, and/or a ternary structure.
- a quad tree structure may be applied first, and a binary tree structure and/or ternary structure may be applied later.
- a binary tree structure may be applied first.
- a coding procedure according to this document may be performed based on a final coding unit that is not further divided. In this case, based on the coding efficiency according to the image characteristics, the largest coding unit can be directly used as the final coding unit, or the coding unit is recursively divided into coding units of lower depth as needed to obtain an optimal A coding unit having a size of may be used as the final coding unit.
- the coding procedure may include procedures such as prediction, transformation, and reconstruction, which will be described later.
- the processing unit may further include a prediction unit (PU) or a transform unit (TU).
- the prediction unit and the transform unit may be divided or partitioned from the above-described final coding unit.
- the prediction unit may be a unit of sample prediction
- the transform unit may be a unit for deriving transform coefficients and/or a unit for deriving a residual signal from transform coefficients.
- an MxN block may represent a set of samples or transform coefficients consisting of M columns and N rows.
- a sample may generally represent a pixel or a pixel value, may represent only a pixel/pixel value of a luma component, or only a pixel/pixel value of a chroma component.
- a sample may be used as a term corresponding to one picture (or image) to a pixel or a pel.
- the subtraction unit 231 subtracts the prediction signal (predicted block, prediction samples, or prediction sample array) output from the prediction unit 220 from the input image signal (original block, original samples, or original sample array) to obtain a residual
- a signal residual block, residual samples, or residual sample array
- the prediction unit 220 may perform prediction on a block to be processed (hereinafter referred to as a current block) and generate a predicted block including predicted samples of the current block.
- the predictor 220 may determine whether intra prediction or inter prediction is applied in units of current blocks or CUs.
- the prediction unit may generate and transmit various information related to prediction, such as prediction mode information, to the entropy encoding unit 240 .
- Prediction-related information may be encoded in the entropy encoding unit 240 and output in the form of a bitstream.
- the intra predictor 222 may predict a current block by referring to samples in the current picture.
- the referenced samples may be located in the neighborhood of the current block or may be located apart from each other according to a prediction mode.
- 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.
- the directional modes may include, for example, 33 directional prediction modes or 65 directional prediction modes according to the degree of detail of the prediction direction. However, this is an example, and more or less directional prediction modes may be used according to settings.
- the intra predictor 222 may determine a prediction mode applied to the current block by using a prediction mode applied to neighboring blocks.
- the inter-prediction unit 221 may derive a predicted block for a current block based on a reference block (reference sample array) specified by a motion vector on a reference picture.
- motion information may be predicted in units of blocks, subblocks, or samples based on correlation of 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.
- a neighboring block may include a spatial neighboring block present in the current picture and a temporal neighboring block present in the reference picture.
- a reference picture including the reference block and a 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), and the like, and a reference picture including the temporal neighboring block may be called a collocated picture (colPic).
- the inter-prediction unit 221 constructs a motion information candidate list based on neighboring blocks, and provides information indicating which candidate is used to derive the motion vector and/or reference picture index of the current block. can create Inter prediction may be performed based on various prediction modes. For example, in the case of skip mode and merge mode, the inter prediction unit 221 may use motion information of neighboring blocks as motion information of the current block.
- the residual signal may not be transmitted unlike the merge mode.
- MVP motion vector prediction
- the prediction unit 220 may generate a prediction signal based on various prediction methods described later.
- the predictor may apply intra-prediction or inter-prediction to predict one block, as well as apply intra-prediction and inter-prediction at the same time. This may be called combined inter and intra prediction (CIIP).
- the prediction unit may perform intra block copy (IBC) for block prediction.
- the intra block copy may be used for video/video coding of content such as a game, such as screen content coding (SCC), for example.
- SCC screen content coding
- 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 document.
- the prediction signal generated through the inter predictor 221 and/or the intra predictor 222 may be used to generate a reconstructed signal or a residual signal.
- the transform unit 232 may generate transform coefficients by applying a transform technique to the residual signal.
- the transformation technique may include Discrete Cosine Transform (DCT), Discrete Sine Transform (DST), Graph-Based Transform (GBT), or Conditionally Non-linear Transform (CNT).
- DCT Discrete Cosine Transform
- DST Discrete Sine Transform
- GBT Graph-Based Transform
- CNT Conditionally Non-linear Transform
- GBT means a conversion obtained from the graph when relation information between pixels is expressed as a graph.
- CNT means a transformation obtained based on generating a prediction signal using all previously reconstructed pixels.
- the conversion process may be applied to square pixel blocks having the same size, or may be applied to non-square blocks of variable size.
- the quantization unit 233 quantizes the transform coefficients and transmits them to the entropy encoding unit 240, and the entropy encoding unit 240 may encode the quantized signal (information on the quantized transform coefficients) and output it as a bitstream. there is. Information about the quantized transform coefficients may be referred to as residual information.
- the quantization unit 233 may rearrange block-type quantized transform coefficients into a one-dimensional vector form based on a coefficient scan order, and the quantized transform coefficients based on the one-dimensional vector form quantized transform coefficients. Information about transform coefficients may be generated.
- the entropy encoding unit 240 may perform various encoding methods such as exponential Golomb, context-adaptive variable length coding (CAVLC), and context-adaptive binary arithmetic coding (CABAC).
- the entropy encoding unit 240 may encode together or separately information necessary for video/image reconstruction (eg, values of syntax elements) in addition to quantized transform coefficients.
- Encoded information eg, encoded video/video information
- NAL network abstraction layer
- the video/video information may further include information on 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.
- Signaled/transmitted information and/or syntax elements described later in this document may be encoded through the above-described encoding procedure and included in the bitstream.
- the bitstream may be transmitted through a network or 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) for transmitting the signal output from the entropy encoding unit 240 and/or a storage unit (not shown) for storing may be configured as internal/external elements of the encoding device 200, or the transmission unit It may also be included in the entropy encoding unit 240.
- the quantized transform coefficients output from the quantization unit 233 may be used to generate a prediction signal.
- a residual signal residual block or residual samples
- the adder 250 may generate a reconstructed signal (reconstructed picture, reconstructed block, reconstructed samples, or reconstructed sample array) by adding the reconstructed residual signal to the prediction signal output from the prediction unit 220.
- a predicted block may be used as a reconstruction block.
- the generated reconstruction signal may be used for intra prediction of the next processing target block in the current picture, or may be used for inter prediction of the next picture after filtering as described below.
- LMCS luma mapping with chroma scaling
- the filtering unit 260 may improve subjective/objective picture quality by applying filtering to the reconstructed signal.
- the filtering unit 260 may generate a modified reconstructed picture by applying various filtering methods to the reconstructed picture, and store the modified reconstructed picture in the memory 270, specifically the DPB of the memory 270. can be stored in
- the various filtering methods may include, for example, deblocking filtering, sample adaptive offset (SAO), adaptive loop filter, bilateral filter, and the like.
- the filtering unit 260 may generate various types of filtering-related information and transmit them to the entropy encoding unit 290, as will be described later in the description of each filtering method. Filtering-related information may be encoded in the entropy encoding unit 290 and output in the form of a bit stream.
- the modified reconstructed picture transmitted to the memory 270 may be used as a reference picture in the inter prediction unit 280 .
- the encoding device can avoid prediction mismatch between the encoding device 200 and the decoding device, and can also improve encoding efficiency.
- the DPB of the memory 270 may store the modified reconstructed picture to be used as a reference picture in the inter prediction unit 221 .
- the memory 270 may store motion information of a block in a current picture from which motion information is derived (or encoded) and/or motion information of blocks in a previously reconstructed picture.
- the stored motion information may be transmitted to the inter prediction unit 221 to be used as motion information of a spatial neighboring block or motion information of a temporal neighboring block.
- the memory 270 may store reconstructed samples of reconstructed blocks in the current picture and transfer them to the intra predictor 222 .
- FIG. 3 is a diagram schematically illustrating the configuration of a video/image decoding device to which this document can be applied.
- the decoding device 300 includes an entropy decoder 310, a residual processor 320, a predictor 330, an adder 340, and a filtering unit. (filter, 350) and memory (memoery, 360).
- the prediction unit 330 may include an inter prediction unit 332 and an intra prediction unit 331 .
- the residual processing unit 320 may include a dequantizer 321 and an inverse transformer 321 .
- the above-described entropy decoding unit 310, residual processing unit 320, prediction unit 330, adder 340, and filtering unit 350 may be configured as one hardware component (for example, a decoder chipset or processor) according to an embodiment. ) can be configured by Also, the memory 360 may include a decoded picture buffer (DPB) and may be configured by a digital storage medium.
- the hardware component may further include a memory 360 as an internal/external component.
- the decoding device 300 may restore an image corresponding to a process in which the video/image information is processed by the encoding device of FIG. 2 .
- the decoding device 300 may derive units/blocks based on block division related information obtained from the bitstream.
- the decoding device 300 may perform decoding using a processing unit applied in the encoding device.
- a processing unit of decoding may be a coding unit, for example, and a coding unit may be partitioned from a coding tree unit or a largest coding unit along a quad tree structure, a binary tree structure and/or a ternary tree structure.
- One or more transform units may be derived from a coding unit.
- the restored video signal decoded and output through the decoding device 300 may be reproduced through a playback device.
- the decoding device 300 may receive a signal output from the encoding device of FIG. 2 in the form of a bitstream, and the received signal may be decoded through the entropy decoding unit 310 .
- the entropy decoding unit 310 may parse the bitstream to derive information (eg, video/image information) necessary for image restoration (or picture restoration).
- the video/video information may further include information on 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 decoding device may decode a picture further based on the information about the parameter set and/or the general restriction information.
- Signaled/received information and/or syntax elements described later in this document may be obtained from the bitstream by being decoded through the decoding procedure.
- the entropy decoding unit 310 decodes information in a bitstream based on a coding method such as exponential Golomb coding, CAVLC, or CABAC, and values of syntax elements required for image reconstruction and quantized values of residual transform coefficients. can output them.
- the CABAC entropy decoding method receives bins corresponding to each syntax element in a bitstream, and converts syntax element information to be decoded and decoding information of neighboring and decoding object blocks or symbol/bin information decoded in a previous step.
- a symbol corresponding to the value of each syntax element can be generated by determining a context model, predicting the probability of occurrence of a bin according to the determined context model, and performing arithmetic decoding of the bin.
- the CABAC entropy decoding method may update the context model by using information of the decoded symbol/bin for the context model of the next symbol/bin after determining the context model.
- information about prediction is provided to the prediction unit 330, and information about the residual entropy-decoded by the entropy decoding unit 310, that is, quantized transform coefficients and Related parameter information may be input to the inverse quantization unit 321 .
- the decoding device may be referred to as a video/video/picture decoding device, and the decoding device may be divided into an information decoder (video/video/picture information decoder) and a sample decoder (video/video/picture sample decoder).
- the information decoder may include the entropy decoding unit 310, and the sample decoder includes the inverse quantization unit 321, an inverse transform unit 322, a prediction unit 330, an adder 340, a filtering unit ( 350) and at least one of the memory 360.
- the inverse quantization unit 321 may inversely quantize the quantized transform coefficients and output transform coefficients.
- the inverse quantization unit 321 may rearrange the quantized transform coefficients in a 2D block form. In this case, the rearrangement may be performed based on a coefficient scanning order performed by the encoding device.
- the inverse quantization unit 321 may perform inverse quantization on quantized transform coefficients using a quantization parameter (eg, quantization step size information) and obtain transform coefficients.
- a quantization parameter eg, quantization step size information
- a residual signal (residual block, residual sample array) is obtained by inverse transforming the transform coefficients.
- the prediction unit may perform prediction on the current block and generate a predicted block including predicted samples of the current block.
- the prediction unit may determine whether intra prediction or inter prediction is applied to the current block based on the information about the prediction output from the entropy decoding unit 310, and may determine a specific intra/inter prediction mode.
- the prediction unit may generate a prediction signal based on various prediction methods described below.
- the predictor may apply intra-prediction or inter-prediction to predict one block, as well as apply intra-prediction and inter-prediction at the same time. This may be called combined inter and intra prediction (CIIP).
- the prediction unit may perform intra block copy (IBC) for block prediction.
- the intra block copy may be used for video/video coding of content such as a game, such as screen content coding (SCC), for example.
- SCC screen content coding
- 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 document.
- the intra predictor 331 may predict a current block by referring to samples in the current picture.
- the referenced samples may be located in the neighborhood of the current block or may be located apart from each other according to a prediction mode.
- prediction modes may include a plurality of non-directional modes and a plurality of directional modes.
- the intra prediction unit 331 may determine a prediction mode applied to the current block by using a prediction mode applied to neighboring blocks.
- the inter prediction unit 332 may derive a predicted block for a current block based on a reference block (reference sample array) specified by a motion vector on a reference picture.
- motion information may be predicted in units of blocks, subblocks, or samples based on correlation of 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.
- a neighboring block may include a spatial neighboring block present in the current picture and a temporal neighboring block present in the reference picture.
- the inter predictor 332 may construct a motion information candidate list based on neighboring blocks and derive a motion vector and/or reference picture index of the current block based on the received candidate selection information. Inter prediction may be performed based on various prediction modes, and the prediction information may include information indicating an inter prediction mode for the current block.
- the adder 340 generates a reconstructed signal (reconstructed picture, reconstructed block, reconstructed sample array) by adding the obtained residual signal to the prediction signal (predicted block, predicted sample array) output from the prediction unit 330.
- a predicted block may be used as a reconstruction block.
- the adder 340 may be called a restoration unit or a restoration block generation unit.
- the generated reconstruction signal may be used for intra prediction of the next processing target block in the current picture, output after filtering as described later, or may be used for inter prediction of the next picture.
- LMCS luma mapping with chroma scaling
- the filtering unit 350 may improve subjective/objective picture quality by applying filtering to the reconstructed signal.
- the filtering unit 350 may generate a modified reconstructed picture by applying various filtering methods to the reconstructed picture, and store the modified reconstructed picture in the memory 60, specifically the DPB of the memory 360.
- the various filtering methods may include, for example, deblocking filtering, sample adaptive offset, adaptive loop filter, bilateral filter, and the like.
- a (modified) reconstructed picture stored in the DPB of the memory 360 may be used as a reference picture in the inter prediction unit 332 .
- the memory 360 may store motion information of a block in the current picture from which motion information is derived (or decoded) and/or motion information of blocks in a previously reconstructed picture.
- the stored motion information may be transmitted to the inter prediction unit 332 to be used as motion information of a spatial neighboring block or motion information of a temporal neighboring block.
- the memory 360 may store reconstructed samples of reconstructed blocks in the current picture and transfer them to the intra prediction unit 331 .
- the embodiments described in the prediction unit 330, the inverse quantization unit 321, the inverse transform unit 322, and the filtering unit 350 of the decoding apparatus 300 are each predictive units of the encoding apparatus 200 ( 220), the inverse quantization unit 234, the inverse transform unit 235, and the filtering unit 260 may be applied in the same or corresponding manner.
- the predicted block includes prediction samples in the spatial domain (or pixel domain).
- the predicted block is identically derived from an encoding device and a decoding device, and the encoding device decodes residual information (residual information) between the original block and the predicted block, rather than the original sample value itself of the original block.
- Video coding efficiency can be increased by signaling to the device.
- the decoding device may derive a residual block including residual samples based on the residual information, generate a reconstructed block including reconstructed samples by combining the residual block and the predicted block, and reconstruct the reconstructed blocks. It is possible to create a reconstruction picture that contains
- the residual information may be generated through transformation and quantization procedures.
- the encoding apparatus derives a residual block between the original block and the predicted block, and derives transform coefficients by performing a transform procedure on residual samples (residual sample array) included in the residual block. And, by performing a quantization procedure on the transform coefficients, quantized transform coefficients may be derived, and related residual information may be signaled to the decoding device (through a bitstream).
- the residual information may include information such as value information of the quantized transform coefficients, location information, transform technique, transform kernel, and quantization parameter.
- the decoding device may perform an inverse quantization/inverse transform procedure based on the residual information and derive residual samples (or residual blocks).
- the decoding device may generate a reconstructed picture based on the predicted block and the residual block.
- the encoding device may also derive a residual block by inverse quantizing/inverse transforming the quantized transform coefficients for reference for inter prediction of a later picture, and generate a reconstructed picture based on the residual block.
- At least one of quantization/inverse quantization and/or transform/inverse transform may be omitted. If the quantization/inverse quantization is omitted, the quantized transform coefficient may be referred to as a transform coefficient. If the transform/inverse transform is omitted, the transform coefficients may be called coefficients or residual coefficients, or may still be called transform coefficients for unity of expression. In addition, whether to skip the transform/inverse transform may be signaled based on transform_skip_flag.
- quantized transform coefficients and transform coefficients may be referred to as transform coefficients and scaled transform coefficients, respectively.
- the residual information may include information on transform coefficient(s), and the information on the transform coefficient(s) may be signaled through residual coding syntax.
- Transform coefficients may be derived based on the residual information (or information about the transform coefficient(s)), and scaled transform coefficients may be derived through inverse transform (scaling) of the transform coefficients.
- Residual samples may be derived based on an inverse transform (transform) of the scaled transform coefficients. This may be applied/expressed in other parts of this document as well.
- a prediction unit of the encoding device/decoding device may derive prediction samples by performing inter prediction on a block-by-block basis.
- Inter prediction may indicate prediction derived in a manner dependent on data elements (e.g. sample values, motion information, etc.) of picture(s) other than the current picture (Inter prediction can be a prediction derived in a manner that is dependent on data elements (e.g., sample values or motion information) of picture(s) other than the current picture).
- a predicted block (prediction sample array) for the current block is derived based on a reference block (reference sample array) specified by a motion vector on a reference picture indicated by a reference picture index.
- motion information of the current block may be predicted in units of blocks, subblocks, or samples based on correlation of 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 block may include a spatial neighboring block present in the current picture and a temporal neighboring block present in the reference picture.
- a reference picture including the reference block and a 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), and the like, and a reference picture including the temporal 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 the motion vector and/or 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 the case of skip mode and merge mode, motion information of a current block may be the same as motion information of a selected neighboring block. In the case of the skip mode, the residual signal may not be transmitted unlike the merge mode.
- a motion vector of a selected neighboring block is used as a motion vector predictor, and a motion vector difference may be signaled.
- the motion vector of the current block can 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.
- Prediction based on the L0 motion vector may be called L0 prediction
- prediction based on the L1 motion vector may be called L1 prediction
- prediction based on both the L0 motion vector and the L1 motion vector may be called Bi prediction.
- the L0 motion vector may indicate a motion vector related to the reference picture list L0 (L0), and the L1 motion vector may indicate a motion vector related to the reference picture list L1 (L1).
- the reference picture list L0 may include pictures prior to the current picture in output order as reference pictures, and the reference picture list L1 may include pictures subsequent to 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 as reference pictures pictures subsequent to the current picture in output order. In this case, the previous pictures in the reference picture list L0 may be indexed first, and the later pictures may be indexed next.
- the reference picture list L1 may further include, as reference pictures, pictures previous to the current picture in 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
- the coded video/image includes a video coding layer (VCL) that handles video/image decoding and itself, a subsystem that transmits and stores coded information, and between the VCL and the subsystem. It exists in the network and is divided into NAL (network abstraction layer) responsible for network adaptation function.
- 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), and Video Parameter Set (Video Parameter Set: A parameter set including information such as VPS) or a Supplemental Enhancement Information (SEI) message additionally necessary for a video 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 VCL.
- RBSP refers to slice data, parameter set, SEI message, 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.
- NAL units may be classified into VCL NAL units and non-VCL NAL units according to RBSPs generated in VCL.
- a VCL NAL unit may refer to a NAL unit including information about an image (slice data)
- a non-VCL NAL unit may refer to a NAL unit including information (parameter set or SEI message) necessary for decoding an image. can mean
- VCL NAL unit and non-VCL NAL unit may be transmitted through a network by attaching header information according to the data standard of the subsystem.
- the NAL unit may be transformed into a data format of a predetermined standard such as an H.266/VVC file format, a real-time transport protocol (RTP), or a transport stream (TS) and transmitted through various networks.
- a predetermined standard such as an H.266/VVC file format, a real-time transport protocol (RTP), or a transport stream (TS)
- the NAL unit type of the NAL unit may be specified according to the RBSP data structure included in the NAL unit, and information on such a NAL unit type may be stored in a NAL unit header and signaled.
- the NAL unit may be largely classified into a VCL NAL unit type and a non-VCL NAL unit type according to whether or not the NAL unit includes information about an image (slice data).
- VCL NAL unit types can be classified according to the nature and type of pictures included in the VCL NAL unit, and non-VCL NAL unit types can be classified according to the type of parameter set.
- NAL unit type specified according to the type of parameter set included in the non-VCL NAL unit type.
- NAL unit type for NAL unit including APS
- NAL unit Type for NAL unit including VPS
- NAL unit type for NAL unit including SPS
- NAL unit type for NAL unit including PPS
- NAL unit type for NAL unit including DCI
- 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 in a NAL unit header and signaled.
- the syntax information may be nal_unit_type, and NAL unit types may be specified with 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 (slice header and slice data set) in one picture.
- the picture header (picture header syntax) may include information/parameters commonly applicable to the picture.
- slices may be mixed or replaced with tile groups.
- slice headers may be mixed or replaced with type group headers.
- 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
- the DCI may include information/parameters commonly applicable to overall video.
- the DCI may include information/parameters related to decoding capability.
- high level syntax HLS may include at least one of the APS syntax, PPS syntax, SPS syntax, VPS syntax, DCI syntax, picture header syntax, and slice header syntax.
- video/video information encoded from an encoding device to a decoding device 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, and the like, but also Information included in a slice header, information included in the picture header, information included in the APS, information included in the PPS, information included in an SPS, information included in a VPS, and/or information included in a DCI can do. Also, the image/video information may further include NAL unit header information.
- Intra prediction refers to prediction that generates prediction samples for a current block based on reference samples outside the current block in a picture including the current block (hereinafter referred to as the current picture).
- reference samples outside the current block may refer to samples positioned around the current block.
- the neighboring reference samples of the current block are samples adjacent to the left boundary of the current block and 2xnH neighboring to the bottom-left of the current block. samples, a total of 2xnW samples adjacent to the top boundary and top-right neighbors of the current block, including 1 sample adjacent to the top-left of the current block can do.
- 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 are a total of nH samples adjacent to the right boundary of the current block of size nWxnH, a total of nW samples adjacent to the bottom boundary of the current block, and the lower right side of the current block ( bottom-right) may include one neighboring sample.
- the decoding device may configure neighboring reference samples to be used for prediction by substituting unavailable samples with available samples.
- neighboring reference samples to be used for prediction may be configured through interpolation of available samples.
- a prediction sample may be derived based on the average or interpolation of the neighboring reference samples of the current block, and (ii) prediction among the neighboring reference samples of the current block
- a prediction sample may be derived based on a reference sample existing in a specific (prediction) direction with respect to the sample. Case (i) may be applied when the intra prediction mode is a non-directional mode or non-angular mode, and case (ii) may be applied when the intra prediction mode is a directional mode or an angular mode.
- Prediction samples may be generated.
- LIP linear interpolation intra prediction
- chroma prediction samples may be generated based on luma samples using a linear model. This case can 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 reference sample derived according to the intra prediction mode among existing neighboring reference samples, that is, unfiltered neighboring reference samples, and
- the prediction sample of the current block may be derived by performing a weighted sum of the temporary prediction samples.
- the above case may be called position dependent intra prediction (PDPC).
- a reference sample line with the highest prediction accuracy is selected among multiple reference sample lines adjacent to the current block, and a prediction sample is derived using a reference sample located in a 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) a device. The above case may be called multi-reference line (MRL) intra prediction or MRL-based intra prediction.
- MRL multi-reference line
- intra prediction may be performed based on the same intra prediction mode by dividing the current block into vertical or horizontal sub-partitions, but neighboring reference samples may be derived and used in units of sub-partitions. That is, in this case, the intra-prediction mode for the current block is equally applied to the sub-partitions, but intra-prediction performance can be improved in some cases by deriving and using neighboring reference samples in units of sub-partitions.
- This prediction method may be called intra sub-partitions (ISP) or ISP-based intra prediction.
- the aforementioned intra prediction methods may be referred to as an intra prediction type to be distinguished from an intra prediction mode.
- the intra prediction type may be called various terms such as an intra prediction technique or an additional intra prediction mode.
- the intra prediction type (or additional intra prediction mode, etc.) may include at least one of the aforementioned LIP, PDPC, MRL, and ISP.
- a general intra prediction method excluding specific intra prediction types such as LIP, PDPC, MRL, and ISP may be referred to as a normal intra prediction type.
- the normal intra prediction type may be generally applied when the specific intra prediction type as described above is not applied, and prediction may be performed based on the aforementioned intra prediction mode. Meanwhile, post-processing filtering may be performed on the derived prediction sample as needed.
- MIP matrix based intra prediction
- Affine linear weighted intra prediction Affine linear weighted intra prediction
- MWIP Matrix weighted intra prediction
- Prediction samples for the current block may be derived by further performing a horizontal/vertical interpolation procedure.
- Intra prediction modes used for the MIP may be configured differently from intra prediction modes used in the aforementioned LIP, PDPC, MRL, and ISP intra prediction or normal intra prediction.
- the intra prediction mode for MIP may be called "affine linear weighted intra prediction mode" or matrix-based intra prediction mode.
- a matrix and an offset used in matrix vector multiplication may be set differently according to the intra prediction mode for the MIP.
- the matrix may be referred to as an (affine) weight matrix
- the offset may be referred to as an (affine) offset vector or an (affine) bias vector.
- intra prediction mode for MIP may be called MIP intra prediction mode, linear weighted intra prediction mode, matrix weighted intra prediction mode, or matrix based intra prediction mode. A specific MIP method will be described later.
- FIG. 5 shows an example of a video encoding method based on schematic intra prediction to which embodiments of this document are applicable
- FIG. 6 schematically shows an intra prediction unit in an encoding device.
- the intra prediction unit in the encoding apparatus of FIG. 6 may be applied to the same or corresponding to the intra prediction unit 222 of the above-described encoding apparatus 200 of FIG. 2 .
- S500 may be performed by the intra prediction unit 222 of the encoding device, and S510 may be performed by the residual processing unit 230 of the encoding device. Specifically, S510 may be performed by the subtraction unit 231 of the encoding device.
- prediction information may be derived by the intra prediction unit 222 and encoded by the entropy encoding unit 240.
- residual information may be derived by the residual processing unit 230 and encoded by the entropy encoding unit 240.
- the residual information is information about residual samples.
- the residual information may include information about quantized transform coefficients of residual samples.
- the residual samples may be derived as transform coefficients through a transform unit of the encoding apparatus, and the transform coefficients may be derived as quantized transform coefficients through a quantization unit.
- Information about quantized transform coefficients may be encoded in the entropy encoding unit 240 through a residual coding procedure.
- the encoding device performs intra prediction on the current block (S500).
- the encoding device may derive an intra prediction mode/type for the current block, derive neighboring reference samples of the current block, and generate prediction samples within the current block based on the intra prediction mode/type and the neighboring reference samples.
- intra prediction mode/type determination, neighboring 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 222 of the encoding device may include an intra prediction mode/type determination unit 222-1, a reference sample derivation unit 222-2, and a predicted sample derivation unit 222-3.
- the intra prediction mode/type determination unit 222-1 determines the intra prediction mode/type for the current block
- the reference sample derivation unit 222-2 derives neighboring reference samples of the current block
- the prediction sample The derivation unit 222-3 may derive prediction samples of the current block.
- the intra prediction unit 222 may further include a prediction sample filtering unit (not shown).
- the encoding device may determine a mode/type applied to the current block among a plurality of intra prediction modes/types.
- the encoding device may compare RD costs for intra prediction modes/types and determine an optimal intra prediction mode/type for the current block.
- the encoding device may perform a prediction sample filtering procedure.
- Prediction sample filtering may be referred to as post filtering. Some or all of the prediction samples may be filtered through the prediction sample filtering procedure. In some cases, the prediction sample filtering procedure may be omitted.
- the encoding device generates residual samples for the current block based on the (filtered) prediction samples (S510).
- the encoding device may compare prediction samples from original samples of the current block based on phase and derive residual samples.
- the encoding device may encode image information including intra prediction information (prediction information) and residual information about residual samples (S520). Prediction information may include intra prediction mode information and intra prediction type information. Residual information may include residual coding syntax. The encoding device may transform/quantize the residual samples to derive quantized transform coefficients. The residual information may include information about the quantized transform coefficients.
- the encoding device may output encoded image information in the form of a bitstream.
- the output bitstream may be delivered to a decoding device through a storage medium or network.
- the encoding device may generate a reconstructed picture (including reconstructed samples and a reconstructed block).
- the encoding apparatus may derive (modified) residual samples by inverse quantizing/inverse transforming the quantized transform coefficients again.
- the reason for performing inverse quantization/inverse transformation after transforming/quantizing the residual samples in this way is to derive the same residual samples as the residual samples derived from the decoding apparatus as described above.
- the encoding device may generate a reconstructed block including reconstructed samples for the current block based on prediction samples and (modified) residual samples.
- a reconstructed picture for a current picture may be generated based on the reconstructed block.
- an in-loop filtering procedure or the like may be further applied to the reconstructed picture.
- FIG. 7 shows an example of an image decoding method based on schematic intra prediction to which embodiments of the present document are applicable
- FIG. 8 schematically shows an intra prediction unit in a decoding device.
- the intra prediction unit in the decoding device of FIG. 8 may be applied to the same or corresponding to the above-described intra prediction unit 331 of the decoding device 300 of FIG. 2 .
- the decoding device may perform an operation corresponding to the operation performed by the above-described encoding device.
- S700 to S720 may be performed by the intra prediction unit 331 of the decoding device, and the prediction information of S700 and the residual information of S730 may be obtained from the bitstream by the entropy decoding unit 310 of the decoding device.
- the residual processing unit 320 of the decoding device may derive residual samples for the current block based on the residual information.
- the inverse quantization unit 321 of the residual processing unit 320 derives transform coefficients by performing inverse quantization based on the quantized transform coefficients derived based on the residual information
- the inverse transform unit of the residual processing unit ( 322) may derive residual samples for the current block by performing an inverse transform on the transform coefficients.
- S740 may be performed by the adder 340 or the restorer of the decoding device.
- the decoding device may derive an intra prediction mode/type for the current block based on the received prediction information (intra prediction mode/type information) (S700).
- the decoding device may derive neighboring reference samples of the current block (S710).
- the decoding device generates prediction samples within the current block based on the intra prediction mode/type and neighboring reference samples (S720).
- the decoding device may perform a prediction sample filtering procedure. Prediction sample filtering may be referred to as post filtering. Some or all of the prediction samples may be filtered through the prediction sample filtering procedure. In some cases, the prediction sample filtering procedure may be omitted.
- the decoding device generates residual samples for the current block based on the received residual information (S730).
- the decoding device may generate reconstructed samples for the current block based on the prediction samples and residual samples, and derive a reconstructed block including the reconstructed samples (S740).
- a reconstructed picture for a current picture may be generated based on the reconstructed block.
- an in-loop filtering procedure or the like may be further applied to the reconstructed picture.
- the intra prediction unit 331 of the decoding device may include an intra prediction mode/type determination unit 331-1, a reference sample derivation unit 331-2, and a prediction sample derivation unit 231-3.
- the intra prediction mode/type determination unit 331-1 determines the intra prediction mode/type of the current block based on the intra prediction mode/type information obtained from the entropy decoding unit 310, and the reference sample derivation unit 331 -2) may derive neighboring reference samples of the current block, and the prediction sample derivation unit 331-3 may derive prediction samples of the current block.
- the intra prediction unit 331 may further include a prediction sample filter unit (not shown).
- the intra prediction mode information may include, for example, flag information (ex. intra_luma_mpm_flag) indicating whether the most probable mode (MPM) or remaining mode is applied to the current block.
- the prediction mode information may further include index information (ex. intra_luma_mpm_idx) indicating one of intra prediction mode candidates (MPM candidates).
- Intra prediction mode candidates may be composed of an MPM candidate list or an MPM list.
- the intra prediction mode information may further include remaining mode information (ex. intra_luma_mpm_remainder) indicating one of intra prediction modes other than intra prediction mode candidates (MPM candidates). there is.
- the decoding device may determine the intra prediction mode of the current block based on the intra prediction mode information.
- intra prediction type information may be implemented in various forms.
- intra prediction type information may include intra prediction type index information indicating one of intra prediction types.
- intra prediction type information includes reference sample line information (ex. intra_luma_ref_idx) indicating whether MRL is applied to the current block and whether the MRL is applied, which reference sample line is used, and whether ISP is applied to the current block.
- ISP flag information indicating (ex. intra_subpartitions_mode_flag), ISP type information indicating the split type of subpartitions when ISP is applied (ex. intra_subpartitions_split_flag), flag information indicating whether PDCP is applied or not, or flag indicating whether LIP is applied At least one of the information may be included.
- the intra prediction type information may include a MIP flag indicating whether MIP is applied to the current block.
- the aforementioned intra prediction mode information and/or intra prediction type information may be encoded/decoded through the coding method described in this document.
- the aforementioned intra prediction mode information and/or intra prediction type information may be encoded/decoded through entropy coding (eg CABAC, CAVLC) coding based on truncated (rice) binary code.
- entropy coding eg CABAC, CAVLC
- FIG. 9 exemplarily illustrates a schematic intra prediction procedure to which embodiments of the present document are applicable.
- the intra prediction procedure may include determining an intra prediction mode/type, deriving neighboring reference samples, and performing intra prediction (generating prediction samples).
- the intra prediction procedure may be performed in the encoding device and the decoding device as described above.
- a coding device in this document may include an encoding device and/or a decoding device.
- the encoding device may determine an intra prediction mode/type (S900).
- the encoding device may determine an intra prediction mode/type applied to the current block among various intra prediction modes/types described above and generate prediction-related information.
- the prediction related information may include intra prediction mode information indicating an intra prediction mode applied to the current block and/or intra prediction type information indicating an intra prediction type applied to the current block.
- the decoding device may determine an intra prediction mode/type applied to the current block based on the prediction related information.
- the intra prediction mode information may include at least one of MPM flag information, non-planner flag information, MPM index information, and/or remaining mode (MPM reminder) information.
- the intra prediction type information includes reference sample line (MRL index) information (ex. intra_luma_ref_idx), ISP flag information (ex. intra_subpartitions_mode_flag), ISP type information (ex. intra_subpartitions_split_flag), and flag information indicating whether PDCP is applied or not. , may include flag information indicating whether LIP is applied and/or MIP flag information.
- the intra prediction mode applied to the current block may be determined using the intra prediction modes of neighboring blocks.
- the coding device may select one of MPM candidates in a most probable mode (MPM) list derived based on an intra prediction mode and/or additional candidate modes of a neighboring block (eg, a left and/or upper neighboring block) of a current block. may be selected based on the received MPM index, or one of the remaining intra prediction modes not included in the MPM candidates (and planner mode) may be selected based on MPM reminder information (remaining intra prediction mode information).
- MPM list may or may not include a planner mode as a candidate.
- the MPM list may have 6 candidates, and if the MPM list does not include the planner mode as a candidate, the mpm list may have 5 candidates.
- a non-planar flag (ex. intra_luma_not_planar_flag) indicating whether the intra prediction mode of the current block is not a planar mode may be signaled.
- the MPM flag may be signaled first, and the MPM index and non-planner flag may be signaled when the value of the MPM flag is 1.
- the MPM index may be signaled when the value of the non-planner flag is 1.
- the reason why the MPM list is configured not to include the planar mode as a candidate is that the planar mode is not MPM m, rather than that the planar mode is always considered as the MPM. This is to check whether it is a mode first.
- whether the intra prediction mode applied to the current block is among MPM candidates (and planner mode) or remaining mode may be indicated based on an MPM flag (ex. intra_luma_mpm_flag).
- a value of 1 of the MPM flag may indicate that the intra prediction mode for the current block is within MPM candidates (and planner mode), and a value of 0 of the MPM flag may indicate that the intra prediction mode for the current block is within MPM candidates (and planner mode). ) can indicate that it is not within.
- the not planar flag (ex. intra_luma_not_planar_flag) value 0 may indicate that the intra prediction mode of the current block is the planar mode
- the not planar flag value 1 may indicate that the intra prediction mode of the current block is not the planar mode.
- the MPM index may be signaled in the form of an mpm_idx or intra_luma_mpm_idx element, and the remaining intra prediction mode information may be signaled in the form of a rem_intra_luma_pred_mode or intra_luma_mpm_remainder syntax element.
- the remaining intra prediction mode information may indicate one of all intra prediction modes by indexing remaining intra prediction modes not included in the MPM candidates (and planner mode) in order of prediction mode number.
- the intra prediction mode may be an intra prediction mode for a luma component (sample).
- the intra prediction mode information includes at least one of the MPM flag (ex. intra_luma_mpm_flag), the not planar flag (ex.
- intra_luma_not_planar_flag the MPM index
- the MPM index can include various terms such as MPM candidate list and candModeList.
- a separate mpm flag (ex. intra_mip_mpm_flag), mpm index (ex. intra_mip_mpm_idx), and remaining intra prediction mode information (ex. intra_mip_mpm_remainder) for MIP may be signaled, and the not planar flag may not be signaled.
- the encoder can use the intra-prediction mode of the neighboring block to encode the intra-prediction mode of the current block.
- a most probable modes (MPM) list for a current block of a coding device may be configured.
- the MPM list may also be referred to as an MPM candidate list.
- the MPM may mean a mode used to improve coding efficiency by considering the similarity between the current block and neighboring blocks during intra prediction mode coding.
- the MPM list may include the planner mode or may exclude the planner mode. For example, when the MPM list includes a planner mode, the number of candidates in the MPM list may be 6. And, when the MPM list does not include the planner mode, the number of candidates in the MPM list may be five.
- the encoding device may perform prediction based on various intra prediction modes, and may determine an optimal intra prediction mode based on rate-distortion optimization (RDO) based thereon.
- the encoding apparatus may determine the optimal intra prediction mode using only the MPM candidates and planner mode configured in the MPM list, or may further use the remaining intra prediction modes as well as the MPM candidates and planner mode configured in the MPM list.
- the optimal intra prediction mode may be determined. Specifically, for example, if the intra prediction type of the current block is a specific type (eg, LIP, MRL, or ISP) rather than a normal intra prediction type, the encoding device only selects the MPM candidates and the planner mode of the current block.
- the optimal intra prediction mode may be determined by considering intra prediction mode candidates for .
- the intra prediction mode for the current block may be determined only from among the MPM candidates and the planner mode, and in this case, the mpm flag may not be encoded/signaled.
- the decoding device may estimate that the mpm flag is 1 without separately signaling the mpm flag.
- the encoding device when the intra prediction mode of the current block is not a planner mode and is one of MPM candidates in the MPM list, the encoding device generates an mpm index (mpm idx) indicating one of the MPM candidates. If the intra prediction mode of the current block is not included in the MPM list, the MPM list indicating the same mode as the intra prediction mode of the current block among the remaining intra prediction modes not included in the MPM list (and planner mode) Generating mainder information (remaining intra prediction mode information).
- the MPM reminder information may include, for example, an intra_luma_mpm_remainder syntax element.
- the decoding device obtains intra prediction mode information from the bitstream.
- the intra prediction mode information may include at least one of an MPM flag, a non-planner flag, an MPM index, and MPM reminder information (remaining intra prediction mode information).
- the decoding device may construct an MPM list.
- the MPM list is configured identically to the MPM list configured in the encoding device. That is, the MPM list may include intra prediction modes of neighboring blocks or may further include specific intra prediction modes according to a predetermined method.
- the decoding device may determine the intra prediction mode of the current block based on the MPM list and the intra prediction mode information. For example, when the value of the MPM flag is 1, the decoding device derives a planar mode as an intra prediction mode of the current block (based on a not planar flag) or selects a candidate indicated by the MPM index from among MPM candidates in the MPM list. It can be derived as an intra prediction mode of the current block.
- the MPM candidates may indicate only candidates included in the MPM list, or may include not only candidates included in the MPM list but also a planner mode that may be applied when the value of the MPM flag is 1.
- the decoding device when the value of the MPM flag is 0, the decoding device indicates the remaining intra prediction mode information (which may be called mpm remainder information) among the remaining intra prediction modes not included in the MPM list and the planner mode.
- An intra prediction mode may be derived as an intra prediction mode of the current block.
- the intra prediction type of the current block is a specific type (eg, LIP, MRL, or ISP)
- the decoding device may perform the planner mode or the MPM list without parsing/decoding/checking the MPM flag.
- a candidate indicated by the MPM flag may be derived as an intra prediction mode of the current block.
- the coding device derives neighboring reference samples of the current block (S910).
- neighboring reference samples to be used for intra prediction of the current block may be derived.
- the neighboring reference samples of the current block include a sample adjacent to the left boundary of the current block of size nWxnH, a total of 2xnH samples adjacent to the bottom-left, and a sample adjacent to the top boundary of the current block. and a total of 2 ⁇ nW samples neighboring the top-right and 1 sample neighboring the top-left of the current block.
- the neighboring reference samples of the current block may include a plurality of rows 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 adjacent to the right boundary of the current block, a total of nW samples adjacent to the bottom boundary of the current block, and the lower right side of the current block of size nWxnH. (bottom-right) may include one neighboring sample.
- the neighboring reference samples may be located on lines 1 to 2 instead of line 0 adjacent to the current block on the left/upper side. In this case, the number of neighboring reference samples may be further increased. Meanwhile, when ISP is applied, the neighboring reference samples may be derived in units of sub-partitions.
- the coding device derives prediction samples by performing intra prediction on the current block (S920).
- the coding device may derive the prediction samples based on the intra prediction mode/type and the neighboring samples.
- the coding device may derive a reference sample according to an intra prediction mode of the current block among neighboring reference samples of the current block, and may derive a prediction sample of the current block based on the reference sample.
- an intra prediction mode applied to the current block may be determined using intra prediction modes of neighboring blocks.
- the decoding device receives one of mpm candidates in a most probable mode (mpm) list derived based on an intra prediction mode of a neighboring block (eg, a left and/or an upper neighboring block) of a current block and additional candidate modes.
- the selected mpm index may be selected, or one of the remaining intra prediction modes not included in the mpm candidates (and planner mode) may be selected based on the remaining intra prediction mode information.
- the mpm list can be configured to include or not include planner modes as candidates.
- the mpm list may have 6 candidates, and if the mpm list does not include the planner mode as a candidate, the mpm list may have 5 candidates.
- a non-planar flag (ex. intra_luma_not_planar_flag) indicating whether the intra prediction mode of the current block is not a planar mode may be signaled.
- the mpm flag may be signaled first, and the mpm index and non-planner flag may be signaled when the value of the mpm flag is 1. Also, the mpm index may be signaled when the value of the non-planner flag is 1.
- the fact that the mpm list is configured not to include the planar mode as a candidate is not that the planar mode is not mpm, but that the planar mode is always considered as mpm, so a not planar flag is first signaled to determine whether the planar mode is the planar mode. to check first.
- mpm flag (ex. intra_luma_mpm_flag)
- a value of mpm flag 1 may indicate that the intra prediction mode for the current block is within mpm candidates (and planner mode)
- a value of mpm flag 0 is that the intra prediction mode for the current block is within mpm candidates (and planner mode).
- a not planar flag (ex. intra_luma_not_planar_flag) value of 0 may indicate that the intra prediction mode of the current block is the planar mode
- a not planar flag value of 1 may indicate that the intra prediction mode of the current block is not the planar mode.
- the mpm index may be signaled in the form of an mpm_idx or intra_luma_mpm_idx syntax element
- the remaining intra prediction mode information may be signaled in the form of a rem_intra_luma_pred_mode or intra_luma_mpm_remainder syntax element.
- the remaining intra prediction mode information may indicate one of all intra prediction modes by indexing remaining intra prediction modes not included in mpm candidates (and planner mode) in order of prediction mode numbers.
- the intra prediction mode may be an intra prediction mode for a luma component (sample).
- intra prediction mode information includes at least one of mpm flag (ex. intra_luma_mpm_flag), not planar flag (ex.
- intra_luma_not_planar_flag intra_luma_not_planar_flag
- mpm index ex. mpm_idx or intra_luma_mpm_idx
- remaining intra prediction mode information rem_intra_luma_pred_mode or intra_luma_mpm_remainder.
- the mpm list may be called various terms such as an mpm candidate list, a candidate mode list (candModeList), and a candidate intra prediction mode list.
- FIG 10 illustrates an example of intra prediction modes to which embodiments of the present document are applicable.
- an intra-prediction mode with horizontal directionality and an intra-prediction mode with vertical directionality can be distinguished.
- H and V in FIG. 8 mean a horizontal direction and a vertical direction, respectively, and numbers from -32 to 32 represent displacements of 1/32 units on a sample grid position.
- Intra prediction modes 2 to 33 have a horizontal direction
- intra prediction modes 34 to 66 have a vertical direction.
- the 18th intra prediction mode and the 50th intra prediction mode represent a horizontal intra prediction mode and a vertical intra prediction mode, respectively, and the second intra prediction mode is a downward-left diagonal intra prediction mode,
- the 34th intra prediction mode may be referred to as an upper-left diagonal intra prediction mode, and the 66th intra prediction mode may be referred to as an upper-left diagonal intra prediction mode.
- DIMD Decoder Side Intra Mode Derivation
- DIMD modes include Decoder Side Intra Mode Derivation mode, Decoder Intra Mode Derivation mode, Decoder Side Intra Prediction Mode, and Decoder Intra Mode Prediction mode. (Decoder Intra Prediction Mode).
- the DIMD mode may be referred to as a DIMD intra mode.
- the DIMD mode may be referred to as a DIMD intra prediction mode or a DIMD prediction mode.
- intra mode may be referred to as intra prediction mode in this document.
- intra mode and intra prediction mode may be used interchangeably.
- an intra prediction mode is signaled through a bitstream.
- the amount of overhead of the intra prediction mode may vary depending on several factors (ie quantization parameters, video characteristics, etc.). Table 1 below shows overhead in intra prediction mode.
- DIMD decoder side intra mode derivation
- the DIMD mode is selected as the best mode in the encoder when the corresponding RD cost is the minimum among all other intra modes.
- the decoder can check whether the DIMD mode is applied in each CU. For example, DIMD flag information may be signaled to indicate the DIMD mode. In addition, it may indicate whether the CU derives the DIMD intra mode by another method.
- the decoder can derive DIMD intra mode.
- the DIMD intra mode (or DIMD mode) may be derived during a reconstruction process using previously decoded neighboring pixels.
- the DIMD mode may be derived using other techniques or other processes.
- information on the intra mode that can be parsed from the bitstream may relate to the existing intra mode. That is, the intra prediction mode may be parsed through the existing intra prediction mode method.
- the information on the intra mode may be at least one of an MPM flag, an MPM index, or remaining mode information.
- FIG. 11 shows a restored pixel template as an example.
- a DIMD mode for a current CU may be derived using a reconstructed pixel template.
- the DIMD mode may be derived by calculating direction information between reconstructed pixels assuming that the angular direction of the template is highly correlated with the direction of the current block.
- the amount of gradients can be used to measure the DIMD mode.
- the amount of the gradient may be represented by a histogram.
- the DIMD mode can be estimated based on intensity and orientation that can be calculated from adjacent reconstructed pixels of the current block.
- the intensity may be indicated by G, and the direction may be indicated by O.
- the intensity may mean amplitude.
- the Sobel filter may also be called a Sobel operator, and is an efficient filter for edge detection.
- Sobel filters there are two types of Sobel filters available: a Sobel filter for vertical direction and a Sobel filter for horizontal direction.
- the Sobel filters use the window centered at the current pixel to compute the resulting amplitudes G x and G y , so that x (i.e., Mx) and It can be applied in the y (ie, My) direction.
- the M x and the M y can be calculated through the following equation.
- the amplitude and the direction can be calculated through the following equation.
- the direction of the gradient may be converted into an intra-angular prediction mode.
- the directional intra mode considered in ECM 1.-0 may be the 67 mode as in VVC.
- two intra modes may be derived from neighboring reconstructed samples based on Hog (Histogram of Gradients).
- the Hog analysis may generate two intra modes corresponding to the highest cumulative histogram amplitude and the second highest cumulative histogram amplitude.
- the final prediction can be calculated by blending the prediction of the two intra modes and the planner mode. For example, a 1/3 weight may be assigned to the planar prediction, and the remaining 2/3 may be distributed to the first mode and the second mode in proportion to the Hog amplitude. In other words, a 2/3 weight may be distributed to the first intra mode corresponding to the highest cumulative histogram amplitude and the second mode corresponding to the second highest cumulative histogram amplitude in proportion to the Hog amplitude.
- TDD template-based intra mode derivation
- the TIMD mode may be called a template-based intra mode derivation mode, a template intra mode derivation mode, or the like.
- the TIMD mode may be referred to as a TIMD intra mode.
- the TIMD mode may be called a TIMD intra prediction mode or a TIMD prediction mode.
- the intra mode of the current CU may be derived using neighboring pixels previously decoded by the decoder. For example, predictive samples for the neighboring template are derived based on neighboring reference samples of the neighboring template of the current block (or current CU), and the derived prediction samples of the neighboring template are compared with the reconstruction sample of the neighboring template.
- the intra mode of the current block (or current CU) can be derived. Specifically, after deriving a sum of absolute transformed difference (SATD) between a prediction sample derived based on neighboring reference samples of a neighboring template and a reconstructed sample of the neighboring template, the mode having the minimum SATD is selected as the intra mode of the current block.
- SATD sum of absolute transformed difference
- prediction samples of a template may be derived based on peripheral reference samples located outside the template, that is, a reference of the template. After deriving the SATD between the prediction sample of the derived template and the reconstruction sample of the template already derived in the restoration process, a mode having the minimum SATD may be selected as an intra mode of the current block. Since the template is an area that has already been restored in decoding order, this method can be used.
- the TIMD may be used in intra prediction.
- TIMD is a decoder-side intra prediction mode derivation method that uses a template-based method in both the encoder and decoder. Similar to the above DIMD, the TIMD intra mode is not signaled to the decoder. At this time, the TIMD mode for the current CU may be derived using the reconstructed pixel template similarly to DIMD. To generate prediction samples of the template, reference samples of the template for each candidate mode may be generated. The corresponding cost may be calculated as a Sum of Absolute Transformed Differences (SATD) between prediction samples and reconstruction samples of the template. In this case, an intra prediction mode corresponding to the minimum cost among costs calculated by the SATD may be selected as the TIMD mode. In this case, the number of intra modes may be 67. Also, the number of intra modes can be extended to 131 prediction modes.
- SSD Sum of Absolute Transformed Differences
- a flag enabling or disabling the proposed method may be signaled in the SPS. For example, when the flag is true, a CU level flag indicating whether the proposed TIMD method is used may be signaled. At this time, a flag indicating whether the TIMD method is used may be referred to as a TIMD flag. For example, when the TIMD flag is enabled, other syntax elements related to a luma intra prediction mode including MRL and ISP related information may be skipped.
- the basic structure of TIMD can be extended to incorporate a fusion mode.
- the two modes having the smallest SATD cost may be fused together with a weight to be used as weighted intra prediction for the current CU.
- the cost of the selected two modes is compared to a threshold value, and the cost factor 2 in the test can be applied as shown in the equation below.
- the one mode may be mode 1.
- weights for the modes can be calculated from the SATD cost through the following equation.
- costMode 1 may be the SATD cost of mode 1
- costMode 2 may be the SATD cost of mode 2.
- an intra mode coding method of 6 MPM may be used in consideration of two usable neighboring intra modes.
- the MPM list may be generated by considering three aspects.
- a unified 6-MPM list may be used for intra blocks regardless of whether Multi Reference Line (MRL) and Intra sub-partitions (ISP) coding tools are applied.
- the MPM list may be constructed based on the left neighboring block and the upper neighboring block. For example, when the mode of the left block is Left and the mode of the upper block is Above, the integrated MPM list is configured as follows. In other words, when the intra prediction mode of the left neighboring block is Left and the intra prediction mode of the upper neighboring block is Above, the unified MPM list can be configured as follows.
- V may mean a vertical intra prediction mode
- H may mean a horizontal intra prediction mode.
- the corresponding intra mode is set to the planner mode by default.
- the MPM list can be composed of ⁇ Planner, DC, V, H, V-4, V+4 ⁇ .
- the mode with the larger mode number is set as Mode Max.
- the MPM list may be composed of ⁇ Planner, Max, Max-1, Max+1, Max-2, Max+2 ⁇ .
- the mode with the larger mode number is set as Mode Max.
- Mode Min the mode with the smaller mode number is set as Mode Min.
- Max - Min If the value of Max - Min is 1:
- the MPM list can be composed of ⁇ Planner, Left, Above, Min-1, Max+1, Min-2 ⁇ .
- Max - Min is greater than or equal to 62:
- the MPM list can be composed of ⁇ Planner, Left, Above, Min+1, Max-1, Min+2 ⁇ .
- the MPM list can be composed of ⁇ Planner, Left, Above, Min+1, Min-1, Max+1 ⁇ .
- the MPM list can be composed of ⁇ Planner, Left, Above, Min-1, Min+1, Max-1 ⁇ .
- the MPM list can be composed of ⁇ Planner, Left, Left-1, Left+1, Left-2, Left+2 ⁇ .
- the first bin of the MPM index codeword may be coded in CABAC context.
- a total of three contexts may be used depending on whether the current intra block is MRL enabled, ISP enabled, or a general intra block.
- several techniques can be used to derive the intra mode. For example, there may be a Histogram of Gradients (Hog), a template based approach, and/or combinations of techniques for determining the intra mode of the current block.
- Hog Histogram of Gradients
- an increased number of modes may be considered.
- an intra mode derived using 131 intra modes is determined.
- a hybrid/combination of larger and smaller sets of intra modes may be used to determine the derived intra mode. For example, if the initial directional mode can be estimated from 67 intra modes, directional refinement may be performed to determine the final intra mode. In this case, a first pass and refinement approach based on block statistics and/or other informational parameters may be used.
- an implicit rule can be used to determine whether blending/weighted averaging/fushion of potential derived intra modes can be applied. For example, this may be applied to potential intra modes derived using HoG Ehsms template matching, or may be applied to potential intra modes derived using any other techniques. Examples of some rules might be:
- a cost function can be used to determine if blending/weighted prediction/fusion can be applied to a coding unit.
- the number of available neighboring blocks can be used as a guide.
- blending/weighted prediction/fusion may be applied if criteria (a and b) are met, or alternatively, may not be applied if criteria are met. That is, blending/weighted prediction/fusion may be applied when the criterion is met, and alternatively blending/weighted prediction/fusion may not be applied when the criterion is met.
- non-planar intra-modes may result from Hog analysis of DIMD and/or other suitable techniques.
- weights can be applied to the derived intra-mode cost and considered in full rate distortion optimization (RDO) or partial RDO.
- the weights may be determined using different intra modes and respective RDO costs, or using any other suitable technique or combination of techniques.
- the cost may be weighted by a factor.
- the cost of DIMD intra modes (generated by HoG) may be given a factor less than 1, and thus DIMD intra modes may be more likely to be selected.
- an intra mode by using single or multiple technologies individually or in tandem or through suitable combinations. For example, use of a plurality of technologies may be determined based on a user. At this time, it may be determined through SPS, PPS, Config file or other appropriate means. Also, for example, multiple techniques may be used with default settings or based on basic block statistics or through any other suitable means.
- fusion/weighted prediction/blending using one or more fusion modes.
- a fusion mode can be inferred or signaled.
- Intra modes derived from HoG, template matching, and/or other technology/combination may be individually signaled using a unified signaling structure.
- the syntax elements of the unified structure may be signaled using context coding model(s), fixed length coding, and/or other suitable means.
- Hog or template(s) and/or other intra techniques may be used to insert or use derived modes and appropriate information related to the derived modes that may assist in determining the intra mode. .
- MPM list(s) may be used or other list type structures may be used to determine potential candidates for derived intra mode generation.
- the derived intra mode may be determined using a collection of possible intra modes, where another MPM or MPM-like list may be used or obtained through appropriate means. there is.
- intra mode(s) derived from a template based intra mode into the MPM list(s).
- These lists may be primary MPM lists, secondary MPM lists, and/or other suitable structures.
- the TIMD mode or the DIMD mode by applying the TIMD mode or the DIMD mode to the current block, it is possible to reduce overhead occurring in the process of signaling the prediction intra prediction mode and improve overall coding efficiency.
- accuracy of intra prediction may be increased by generating prediction samples by performing a weighted average or blending based on a prediction mode derived based on the TIMD mode and a prediction mode derived based on the DIMD mode.
- the accuracy of intra prediction can be improved.
- the probability that the intra prediction mode exists in the MPM list is increased, thereby efficiently performing intra prediction.
- FIG. 13 and 14 schematically illustrate an example of a video/image encoding method and related components according to an embodiment of this document.
- the method disclosed in FIG. 13 may be performed by the encoding device disclosed in FIG. 2 or FIG. 14 .
- S1300 to S1320 of FIG. 13 may be performed by the prediction unit 220 of the encoding device of FIG. 13, and S1330 is performed by the entropy encoding unit 240 of the encoding device of FIG. 13 It can be.
- residual samples or residual related information can be derived from the residual processing unit 230 of the encoding device in FIG. 13, and by the entropy encoding unit 240 of the encoding device.
- a bitstream may be generated from residual information or prediction-related information.
- the method disclosed in FIG. 13 may include the embodiments described above in this document.
- the encoding apparatus determines whether at least one of a Template-based Inter Mode Derivation (TIMD) mode and a Decoder Side Intra Mode Derivation (DIMD) mode is applied to a current block (S1300). For example, the encoding apparatus may determine whether at least one of the TIMD mode and the DIMD modes is applied to the current block according to the above-described embodiment.
- TIMD Template-based Inter Mode Derivation
- DIMD Decoder Side Intra Mode Derivation
- the encoding device generates prediction samples of the current block based on at least one of the TIMD mode and the DIMD modes (S1310). For example, the encoding device may generate a prediction sample of the current block based on at least one of the TIMD mode and the DIMD mode according to the above-described embodiment.
- an intra prediction mode may be determined based on the application of the TIMD mode to the current block. Also, an intra prediction mode may be determined based on the application of the DIMD mode to the current block.
- the TIMD mode may be derived based on the template of the current block, and the DIMD mode may be derived based on gradients of neighboring reference samples of the current block.
- an intra prediction mode for the TIMD mode may be derived from at least one of intra modes of the current block, and the number of intra modes of the current block may be 131.
- an intra prediction mode for the DIMD mode may be derived from at least one of intra modes of the current block, and the number of intra modes of the current block may be 131.
- the prediction sample may be generated based on performing weighted average or blending based on the first prediction mode and the second prediction mode.
- the first prediction mode may be derived based on the TIMD mode
- the second prediction mode may be derived based on the DIMD mode.
- a weight for the weighted average may be determined based on a rate distortion cost.
- the prediction sample may be generated based on performing the weighted average or the blending further based on the third prediction mode.
- the third prediction mode may be derived as a planner mode, and the second prediction mode may be different from the planner mode.
- the second prediction mode derived based on the DIMD mode may not be a planner mode.
- the encoding device may configure a most probable mode (MPM) list including candidate intra prediction modes.
- MPM most probable mode
- the MPM list including the candidate intra prediction mode may be configured, and in this case, the intra prediction mode may be determined based on the MPM list.
- the MPM list may include a primary MPM list and a secondary MPM list.
- an intra prediction mode derived based on the TIMD mode may be inserted into the MPM list.
- an intra prediction mode derived from the DIMD mode may be inserted into the MPM list. That is, when the TIMD mode or the DIMD mode is applied to the current block, an intra prediction mode derived based on at least one of the TIMD mode and the DIMD mode may be included in the MPM list, and based on the MPM list An intra prediction mode for the current block may be determined.
- the encoding device generates prediction-related information based on the predicted sample of the current block (S1320). For example, the encoding device may generate prediction-related information based on the prediction sample of the current block according to the above-described embodiment.
- the encoding device encodes image information including prediction related information (S1330). For example, image information including prediction-related information may be encoded.
- the image information may include a syntax element indicating a fusion mode or an intra-merge mode for the weighted average or blending.
- the syntax element may be based on a context coded model or fixed length coding.
- the image information may include a sequence parameter set (SPS) and a picture parameter set (PPS).
- SPS sequence parameter set
- PPS picture parameter set
- information on whether the TIMD mode is applied to the current block may be included in at least one of the SPS and the PPS, and similarly, information on whether the DIMD mode is applied to the current block may include the It may be included in at least one of the SPS or the PPS.
- 15 and 16 schematically illustrate an example of a video/image decoding method and related components according to an embodiment of this document.
- the method disclosed in FIG. 15 may be performed by the decoding device disclosed in FIG. 3 or FIG. 16 .
- S1500 of FIG. 15 may be performed by the entropy decoding unit 310
- S1510 to S1520 may be performed by the prediction unit 330 of the decoding device
- S1530 of FIG. 15 may be performed by the entropy decoding unit 310. This may be performed by the adder 340 of the decoding device.
- residual samples may be derived from the residual processing unit 320 of the decoding apparatus in FIG. 15 .
- the method disclosed in FIG. 15 may include the embodiments described above in this document.
- the decoding device obtains image information from a bitstream (S1500).
- the decoding device may obtain image information from a bitstream according to the above-described embodiment.
- the decoding device determines whether at least one of a Template-based Inter Mode Derivation (TIMD) mode and a Decoder Side Intra Mode Derivation (DIMD) mode is applied to the current block (S1510).
- the decoding apparatus may determine whether at least one of the TIMD mode and the DIMD mode is applied to the current block according to the above-described embodiment.
- the decoding device generates prediction samples of the current block based on at least one of the TIMD mode and the DIMD modes (S1520). For example, the decoding device may generate a prediction sample of the current block based on at least one of a TIMD mode and a DIMD mode according to the above-described embodiment.
- an intra prediction mode may be determined based on the application of the TIMD to the current block. Also, an intra prediction mode may be determined based on the application of the DIMD to the current block.
- the TIMD mode may be derived based on the template of the current block, and the DIMD mode may be derived based on gradients of neighboring reference samples of the current block.
- an intra prediction mode for the TIMD mode may be derived from at least one of intra modes of the current block, and the number of intra modes of the current block may be 131.
- an intra prediction mode for the DIMD mode may be derived from at least one of intra modes of the current block, and the number of intra modes of the current block may be 131.
- the prediction sample may be generated based on performing weighted average or blending based on the first prediction mode and the second prediction mode.
- the first prediction mode may be derived based on the TIMD mode
- the second prediction mode may be derived based on the DIMD mode.
- a weight for the weighted average may be determined based on a rate distortion cost.
- the prediction sample may be generated based on performing the weighted average or the blending further based on the third prediction mode.
- the third prediction mode may be derived as a planner mode, and the second prediction mode may be different from the planner mode.
- the second prediction mode derived based on the DIMD mode may not be a planner mode.
- the decoding device may configure a most probable mode (MPM) list including candidate intra prediction modes.
- MPM most probable mode
- the MPM list including the candidate intra prediction mode may be configured, and in this case, the intra prediction mode may be derived based on the MPM list.
- the MPM list may include a primary MPM list and a secondary MPM list.
- an intra prediction mode derived based on the TIMD mode may be inserted into the MPM list.
- an intra prediction mode derived from the DIMD mode may be inserted into the MPM list. That is, when the TIMD mode or the DIMD mode is applied to the current block, an intra prediction mode derived based on at least one of the TIMD mode and the DIMD mode may be included in the MPM list, and based on the MPM list An intra prediction mode for the current block may be derived.
- image information signaled through a bitstream may include a syntax element indicating a fusion mode or an intra-merge mode for the weighted average or blending.
- the syntax element may be based on a context coded model or fixed length coding.
- the image information may include a sequence parameter set (SPS) and a picture parameter set (PPS).
- SPS sequence parameter set
- PPS picture parameter set
- information on whether the TIMD mode is applied to the current block may be included in at least one of the SPS and the PPS, and similarly, information on whether the DIMD mode is applied to the current block may include the It may be included in at least one of the SPS or the PPS.
- the decoding device generates reconstructed samples of the current block based on the predicted samples of the current block (S1530). For example, the decoding device may generate a reconstructed sample of the current block based on the prediction sample of the current block according to the above-described embodiment.
- the decoding device may generate reconstructed samples of the current block based on the predicted samples and residual samples of the current block.
- the residual sample may be derived based on residual related information, and the residual related information may be included in image information signaled through a bitstream and may be derived from the image information.
- TIMD mode or the DIMD mode by applying the TIMD mode or the DIMD mode to the current block, overhead occurring in the process of signaling the intra prediction mode can be reduced and overall coding efficiency can be improved.
- the number of intra modes used to derive a TIMD mode or a DIMD mode may be increased. For example, by increasing the number of intra modes used to derive the TIMD mode or the DIMD mode to 131, intra prediction accuracy may be increased.
- intra prediction can be efficiently performed by including the TIMD modes or DIMD modes of the current block in the MPM list to increase the probability that the intra prediction mode exists in the MPM list.
- the decoding device may receive information about the residual of the current block when residual samples of the current block exist.
- the residual information may include transform coefficients of residual samples.
- the decoding device may derive residual samples (or residual sample array) for the current block based on the residual information. Specifically, the decoding device may derive quantized transform coefficients based on residual information. Quantized transform coefficients may have a one-dimensional vector form based on a coefficient scanning order.
- the decoding device may derive transform coefficients based on an inverse quantization procedure for the quantized transform coefficients.
- the decoding device may derive residual samples based on transform coefficients.
- the decoding device may generate reconstructed samples based on (intra) prediction samples and residual samples, and may derive a reconstructed block or a reconstructed picture based on the reconstructed samples. Specifically, the decoding device may generate reconstructed samples based on the sum of (intra) prediction samples and residual samples. As described above, the decoding device may then apply an in-loop filtering procedure such as deblocking filtering and/or SAO procedure to the reconstructed picture in order to improve subjective/objective picture quality, if necessary.
- an in-loop filtering procedure such as deblocking filtering and/or SAO procedure
- the decoding device may decode a bitstream or encoded information to obtain image information including all or some of the above information (or syntax elements).
- the bitstream or encoded information may be stored in a computer-readable storage medium, and may cause the above-described decoding method to be performed.
- the above-described method according to the embodiments of this document may be implemented in the form of software, and the encoding device and/or decoding device according to this document may be used to display images of, for example, a TV, computer, smartphone, set-top box, display device, etc. It can be included in the device that performs the processing.
- a module can be stored in memory and executed by a processor.
- the memory may be internal or external to the processor, and may be coupled with the processor in a variety of well-known means.
- a processor may include an application-specific integrated circuit (ASIC), other chipsets, logic circuits, and/or data processing devices.
- Memory may include read-only memory (ROM), random access memory (RAM), flash memory, memory cards, storage media, and/or other storage devices. That is, the embodiments described in this document may be implemented and performed on a processor, microprocessor, controller, or chip. For example, functional units shown in each drawing may be implemented and performed on a computer, processor, microprocessor, controller, or chip. In this case, information for implementation (eg, information on instructions) or an algorithm may be stored in a digital storage medium.
- a decoding device and an encoding device to which the embodiment (s) of this document are applied are multimedia broadcasting transmitting and receiving devices, mobile communication terminals, home cinema video devices, digital cinema video devices, surveillance cameras, video conversation devices, video communication devices, and the like.
- OTT over the top video
- video devices may include game consoles, Blu-ray players, Internet-connected TVs, home theater systems, smart phones, tablet PCs, digital video recorders (DVRs), and the like.
- the processing method to which the embodiment(s) of this document is applied may be produced in the form of a program executed by a computer and stored in a computer-readable recording medium.
- Multimedia data having a data structure according to the embodiment(s) of this document may also be stored in a computer-readable recording medium.
- the computer-readable recording medium includes all types of storage devices and distributed storage devices in which computer-readable data is stored.
- the computer-readable recording medium includes, for example, Blu-ray Disc (BD), Universal Serial Bus (USB), ROM, PROM, EPROM, EEPROM, RAM, CD-ROM, magnetic tape, floppy disk, and optical A data storage device may be included.
- the computer-readable recording medium includes media implemented in the form of a carrier wave (eg, transmission through the Internet).
- the bitstream generated by the encoding method may be stored in a computer-readable recording medium or transmitted through a wired or wireless communication network.
- embodiment(s) of this document may be implemented as a computer program product using program codes, and the program code may be executed on a computer by the embodiment(s) of this document.
- the program code may be stored on a carrier readable by a computer.
- FIG 17 shows an example of a content streaming system to which the embodiments disclosed in this document can be applied.
- a content streaming system to which embodiments of this document are 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 compresses content input from multimedia input devices such as smart phones, cameras, camcorders, etc. into digital data to generate a bitstream and transmits it to the streaming server.
- multimedia input devices such as smart phones, cameras, and camcorders directly generate bitstreams
- the encoding server may be omitted.
- the bitstream may be generated by an encoding method or a bitstream generation method to which the embodiments of this document are 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 a user device based on a user request through a web server, and the web server serves as a medium informing a user of what kind of service is available.
- the web server transmits the request to the streaming server, and the streaming server transmits multimedia data to the user.
- the content streaming system may include a separate control server, and in this case, the control server serves to control commands/responses between devices in the content streaming system.
- the streaming server may receive content from a media storage and/or encoding server. For example, when content is received from the encoding server, the content can be received in real time. In this case, in order to provide smooth streaming service, the streaming server may store the bitstream for a certain period of time.
- Examples of the user devices include mobile phones, smart phones, laptop computers, digital broadcasting terminals, personal digital assistants (PDAs), portable multimedia players (PMPs), navigation devices, slate PCs, Tablet PC, ultrabook, wearable device (e.g., smartwatch, smart glass, HMD (head mounted display)), digital TV, desktop There may be computers, digital signage, and the like.
- PDAs personal digital assistants
- PMPs portable multimedia players
- navigation devices slate PCs
- Tablet PC ultrabook
- wearable device e.g., smartwatch, smart glass, HMD (head mounted display)
- digital TV desktop There may be computers, 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.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
Claims (20)
- 디코딩 장치에 의하여 수행되는 영상 디코딩 방법에 있어서,비트스트림으로부터 영상 정보를 획득하는 단계;현재 블록에 TIMD (Template-based Inter Mode Derivation) 모드 또는 DIMD (Decoder Side Intra Mode Derivation) 모드들 중 적어도 하나가 적용되는지 여부를 결정하는 단계;상기 TIMD 모드 또는 상기 DIMD 모드들 중 적어도 하나를 기반으로 상기 현재 블록의 예측 샘플을 생성하는 단계; 및상기 현재 블록의 상기 예측 샘플을 기반으로 상기 현재 블록의 복원 샘플을 생성하는 단계를 포함하되,상기 TIMD 모드는 상기 현재 블록의 템플릿을 기반으로 도출되고,상기 DIMD 모드는 상기 현재 블록의 주변 참조 샘플들의 그라디언트를 기반으로 도출되는 것을 특징으로 하는 영상 디코딩 방법.
- 제1항에 있어서, 상기 예측 샘플은 제1 예측 모드 및 제2 예측 모드에 기반한 가중 평균 또는 블렌딩을 수행하는 것을 기반으로 생성되고,상기 제1 예측 모드는 상기 TIMD 모드를 기반으로 도출되고,상기 제2 예측 모드는 상기 DIMD 모드를 기반으로 도출되는 것을 특징으로 하는 영상 디코딩 방법.
- 제2항에 있어서, 상기 가중 평균을 위한 가중치는 율 왜곡 비용(rate distortion cost) 기반으로 결정되는 것을 특징으로 하는 영상 디코딩 방법.
- 제2항에 있어서, 상기 예측 샘플은 제3 예측 모드에 더 기반한 상기 가중 평균 또는 상기 블렌딩을 수행하는 것을 기반으로 생성되고,상기 제3 예측 모드는 플래너 모드로 도출되고,상기 제2 예측 모드는 상기 플래너(planar) 모드와 다른 것을 특징으로 하는 영상 디코딩 방법.
- 제2항에 있어서, 상기 영상 정보는 상기 가중 평균 또는 상기 블렌딩을 위한 퓨전 모드 또는 인트라 머지 모드를 나타내는 신택스 요소를 포함하는 것을 특징으로 하는 영상 디코딩 방법.
- 제5항에 있어서, 상기 신택스 요소는 컨텍스트 코디드 모델 또는 고정 길이 코딩에 기반한 것을 특징으로 하는 영상 디코딩 방법.
- 제1항에 있어서, 상기 영상 정보는 SPS(sequence parameter set) 및 PPS(picture parameter set)을 포함하고,상기 TIMD 모드가 상기 현재 블록에 적용되는지 여부에 대한 정보는 상기 SPS 또는 상기 PPS 중 적어도 하나에 포함되고,상기 DIMD 모드가 상기 현재 블록에 적용되는지 여부에 대한 정보는 상기 SPS 또는 상기 PPS 중 적어도 하나에 포함되는 것을 특징으로 하는 영상 디코딩 방법.
- 제1항에 있어서, 상기 TIMD 모드에 대한 인트라 예측 모드는 상기 현재 블록의 인트라 모드들 중 적어도 하나로 도출되고,상기 현재 블록의 상기 인트라 모드들의 개수는 131개인 것을 특징으로 하는 영상 디코딩 방법.
- 제1항에 있어서, 상기 DIMD 모드에 대한 인트라 예측 모드는 상기 현재 블록의 인트라 모드들 중 적어도 하나로 도출되고,상기 현재 블록의 상기 인트라 모드들의 개수는 131개인 것을 특징으로 하는 영상 디코딩 방법.
- 제1항에 있어서, 후보 인트라 예측 모드를 포함하는 MPM(most probable mode) 리스트를 구성하는 단계를 더 포함하고,상기 인트라 예측 모드는 상기 MPM 리스트를 기반으로 도출되고,상기 MPM 리스트는 프라이머리 MPM 리스트 및 세컨더리 MPM 리스트를 포함하고,상기 현재 블록에 상기 TIMD 모드가 적용되는 것을 기반으로, 상기 TIMD 모드를 기반으로 도출되는 인트라 예측 모드는 상기 MPM 리스트에 삽입되는 것을 특징으로 하는 영상 디코딩 방법.
- 제1항에 있어서, 후보 인트라 예측 모드를 포함하는 MPM(most probable mode) 리스트를 구성하는 단계를 더 포함하고,상기 인트라 예측 모드는 상기 MPM 리스트를 기반으로 도출되고,상기 MPM 리스트는 프라이머리 MPM 리스트 및 세컨더리 MPM 리스트를 포함하고,상기 현재 블록에 상기 DIMD 모드가 적용되는 것을 기반으로, 상기 DIMD 모드를 기반으로 도출되는 인트라 예측 모드는 상기 MPM 리스트에 삽입되는 것을 특징으로 하는 영상 디코딩 방법.
- 인코딩 장치에 의해 수행되는 영상 인코딩 방법에 있어서,현재 블록에 TIMD (Template-based Inter Mode Derivation) 모드 또는 DIMD (Decoder Side Intra Mode Derivation) 모드들 중 적어도 하나가 적용되는지 여부를 결정하는 단계;상기 TIMD 모드 또는 상기 DIMD 모드들 중 적어도 하나를 기반으로 상기 현재 블록의 예측 샘플을 생성하는 단계;상기 현재 블록의 상기 예측 샘플을 기반으로 예측 관련 정보를 생성하는 단계; 및상기 예측 관련 정보를 포함하는 영상 정보를 인코딩하는 단계를 포함하되,상기 TIMD 모드는 상기 현재 블록의 템플릿을 기반으로 도출되고,상기 DIMD 모드는 상기 현재 블록의 주변 참조 샘플들의 그라디언트를 기반으로 도출되는 것을 특징으로 하는 영상 인코딩 방법.
- 제12항에 있어서, 상기 예측 샘플은 제1 예측 모드 및 제2 예측 모드에 기반한 가중 평균 또는 블렌딩을 수행하는 것을 기반으로 생성되고,상기 제1 예측 모드는 상기 TIMD 모드를 기반으로 도출되고,상기 제2 예측 모드는 상기 DIMD 모드를 기반으로 도출되는 것을 특징으로 하는 영상 인코딩 방법.
- 제13항에 있어서, 상기 가중 평균을 위한 가중치는 율 왜곡 비용(rate distortion cost) 기반으로 결정되는 것을 특징으로 하는 영상 인코딩 방법.
- 제13항에 있어서, 상기 예측 샘플은 제3 예측 모드에 더 기반한 상기 가중 평균 또는 상기 블렌딩을 수행하는 것을 기반으로 생성되고,상기 제3 예측 모드는 플래너 모드로 도출되고,상기 제2 예측 모드는 상기 플래너(planar) 모드와 다른 것을 특징으로 하는 영상 인코딩 방법.
- 제13항에 있어서, 상기 영상 정보는 상기 가중 평균 또는 상기 블렌딩을 위한 퓨전 모드 또는 인트라 머지 모드를 나타내는 신택스 요소를 포함하는 것을 특징으로 하는 영상 인코딩 방법.
- 제12항에 있어서, 상기 TIMD 모드에 대한 인트라 예측 모드는 상기 현재 블록의 인트라 모드들 중 적어도 하나로 도출되고,상기 현재 블록의 상기 인트라 모드들의 개수는 131개인 것을 특징으로 하는 영상 인코딩 방법.
- 제12항에 있어서, 후보 인트라 예측 모드를 포함하는 MPM(most probable mode) 리스트를 구성하는 단계를 더 포함하고,상기 인트라 예측 모드는 상기 MPM 리스트를 기반으로 도출되고,상기 MPM 리스트는 프라이머리 MPM 리스트 및 세컨더리 MPM 리스트를 포함하고,상기 현재 블록에 상기 TIMD 모드가 적용되는 것을 기반으로, 상기 TIMD 모드를 기반으로 도출되는 인트라 예측 모드는 상기 MPM 리스트에 삽입되는 것을 특징으로 하는 영상 인코딩 방법.
- 제12항의 영상 인코딩 방법에 의해 생성된 비트스트림을 저장하는 컴퓨터 판독 가능한 저장 매체.
- 영상에 대한 데이터의 전송 방법에 있어서, 상기 방법은 상기 영상에 대한 비트스트림을 획득하되, 상기 비트스트림은 현재 블록에 TIMD (Template-based Inter Mode Derivation) 모드 또는 DIMD (Decoder Side Intra Mode Derivation) 모드들 중 적어도 하나가 적용되는지 여부를 결정하는 단계, 상기 TIMD 모드 또는 상기 DIMD 모드들 중 적어도 하나를 기반으로 상기 현재 블록의 예측 샘플을 생성하는 단계, 상기 현재 블록의 상기 예측 샘플을 기반으로 예측 관련 정보를 생성하는 단계, 및 상기 예측 관련 정보를 포함하는 영상 정보를 인코딩하는 단계를 기반으로 생성되는 단계;상기 비트스트림을 포함하는 상기 데이터를 전송하는 단계를 포함하고,상기 TIMD 모드는 상기 현재 블록의 템플릿을 기반으로 도출되고,상기 DIMD 모드는 상기 현재 블록의 주변 참조 샘플들의 그라디언트를 기반으로 도출되는 것을 특징으로 하는 전송 방법.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP22876939.4A EP4412199A1 (en) | 2021-10-01 | 2022-09-30 | Intra prediction mode derivation-based intra prediction method and device |
CN202280072356.9A CN118104234A (zh) | 2021-10-01 | 2022-09-30 | 基于帧内预测模式导出的帧内预测方法和设备 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US202163251044P | 2021-10-01 | 2021-10-01 | |
US63/251,044 | 2021-10-01 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023055167A1 true WO2023055167A1 (ko) | 2023-04-06 |
Family
ID=85783271
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/KR2022/014750 WO2023055167A1 (ko) | 2021-10-01 | 2022-09-30 | 인트라 예측 모드 도출 기반 인트라 예측 방법 및 장치 |
Country Status (3)
Country | Link |
---|---|
EP (1) | EP4412199A1 (ko) |
CN (1) | CN118104234A (ko) |
WO (1) | WO2023055167A1 (ko) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20180084664A (ko) * | 2017-01-16 | 2018-07-25 | 세종대학교산학협력단 | 영상 신호 부호화/복호화 방법 및 장치 |
KR20180084662A (ko) * | 2017-01-16 | 2018-07-25 | 세종대학교산학협력단 | 영상 신호 부호화/복호화 방법 및 장치 |
US20190215521A1 (en) * | 2016-09-22 | 2019-07-11 | Mediatek Inc. | Method and apparatus for video coding using decoder side intra prediction derivation |
US20200145668A1 (en) * | 2017-07-04 | 2020-05-07 | Huawei Technologies Co., Ltd. | Decoder side intra mode derivation (dimd) tool computational complexity reduction |
US20210243452A1 (en) * | 2020-02-05 | 2021-08-05 | Tencent America LLC | Method and apparatus for interactions between decoder-side intra mode derivation and adaptive intra prediction modes |
-
2022
- 2022-09-30 EP EP22876939.4A patent/EP4412199A1/en active Pending
- 2022-09-30 CN CN202280072356.9A patent/CN118104234A/zh active Pending
- 2022-09-30 WO PCT/KR2022/014750 patent/WO2023055167A1/ko active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190215521A1 (en) * | 2016-09-22 | 2019-07-11 | Mediatek Inc. | Method and apparatus for video coding using decoder side intra prediction derivation |
KR20180084664A (ko) * | 2017-01-16 | 2018-07-25 | 세종대학교산학협력단 | 영상 신호 부호화/복호화 방법 및 장치 |
KR20180084662A (ko) * | 2017-01-16 | 2018-07-25 | 세종대학교산학협력단 | 영상 신호 부호화/복호화 방법 및 장치 |
US20200145668A1 (en) * | 2017-07-04 | 2020-05-07 | Huawei Technologies Co., Ltd. | Decoder side intra mode derivation (dimd) tool computational complexity reduction |
US20210243452A1 (en) * | 2020-02-05 | 2021-08-05 | Tencent America LLC | Method and apparatus for interactions between decoder-side intra mode derivation and adaptive intra prediction modes |
Also Published As
Publication number | Publication date |
---|---|
EP4412199A1 (en) | 2024-08-07 |
CN118104234A (zh) | 2024-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020256391A1 (ko) | 영상 디코딩 방법 및 그 장치 | |
WO2021040479A1 (ko) | 필터링 기반 영상 코딩 장치 및 방법 | |
WO2021040484A1 (ko) | 크로스-컴포넌트 적응적 루프 필터링 기반 영상 코딩 장치 및 방법 | |
WO2020231140A1 (ko) | 적응적 루프 필터 기반 비디오 또는 영상 코딩 | |
WO2020256390A1 (ko) | 블록 사이즈를 기반으로 bdpcm 을 수행하는 영상 디코딩 방법 및 그 장치 | |
WO2021040483A1 (ko) | 영상 코딩 장치 및 방법 | |
WO2020204419A1 (ko) | 적응적 루프 필터 기반 비디오 또는 영상 코딩 | |
WO2020180143A1 (ko) | 루마 맵핑 및 크로마 스케일링 기반 비디오 또는 영상 코딩 | |
WO2020231139A1 (ko) | 루마 맵핑 및 크로마 스케일링 기반 비디오 또는 영상 코딩 | |
WO2021101203A1 (ko) | 필터링 기반 영상 코딩 장치 및 방법 | |
WO2020180122A1 (ko) | 조건적으로 파싱되는 alf 모델 및 리셰이핑 모델 기반 비디오 또는 영상 코딩 | |
WO2020213867A1 (ko) | 스케일링 리스트 데이터의 시그널링 기반 비디오 또는 영상 코딩 | |
WO2020184928A1 (ko) | 루마 맵핑 및 크로마 스케일링 기반 비디오 또는 영상 코딩 | |
WO2021040482A1 (ko) | 적응적 루프 필터링 기반 영상 코딩 장치 및 방법 | |
WO2021141227A1 (ko) | 영상 디코딩 방법 및 그 장치 | |
WO2021141226A1 (ko) | 루마 성분 및 크로마 성분에 대한 bdpcm 기반 영상 디코딩 방법 및 그 장치 | |
WO2021101200A1 (ko) | 루프 필터링을 제어하기 위한 영상 코딩 장치 및 방법 | |
WO2020235960A1 (ko) | Bdpcm 에 대한 영상 디코딩 방법 및 그 장치 | |
WO2021162494A1 (ko) | 필터 가용 정보를 선택적으로 시그널링 하는 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 | |
WO2021101204A1 (ko) | 필터링을 위한 정보의 시그널링 기반 영상 코딩 장치 및 방법 | |
WO2021034117A1 (ko) | 영상 디코딩 방법 및 그 장치 | |
WO2020197207A1 (ko) | 맵핑을 포함하는 필터링 기반 비디오 또는 영상 코딩 | |
WO2022182174A1 (ko) | 인트라 예측 모드 도출 기반 인트라 예측 방법 및 장치 | |
WO2021235759A1 (ko) | 비디오 또는 영상 코딩 시스템에서의 다중 레이어 기반 영상 코딩 방법 | |
WO2021201463A1 (ko) | 인루프 필터링 기반 영상 코딩 장치 및 방법 |
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: 22876939 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 18697628 Country of ref document: US |
|
WWE | Wipo information: entry into national phase |
Ref document number: 202280072356.9 Country of ref document: CN |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2022876939 Country of ref document: EP Effective date: 20240502 |