WO2023128703A1 - 인트라 예측 모드 도출 기반 인트라 예측 방법 및 장치 - Google Patents
인트라 예측 모드 도출 기반 인트라 예측 방법 및 장치 Download PDFInfo
- Publication number
- WO2023128703A1 WO2023128703A1 PCT/KR2022/021733 KR2022021733W WO2023128703A1 WO 2023128703 A1 WO2023128703 A1 WO 2023128703A1 KR 2022021733 W KR2022021733 W KR 2022021733W WO 2023128703 A1 WO2023128703 A1 WO 2023128703A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- mode
- current block
- intra
- prediction
- intra prediction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
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/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 a method and apparatus for coding 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.
- an image decoding method performed by a decoding device includes acquiring a bitstream including image information, deriving a decoder side intra mode derivation (DIMD) mode for a current block, deriving an intra prediction mode for the current block, and deriving an intra prediction mode for the current block.
- DIMD decoder side intra mode derivation
- an encoding method performed by an encoding device includes deriving a Decoder Side Intra Mode Derivation (DIMD) mode for a current block, determining an intra prediction mode for the current block, and the current block based on the intra prediction mode for the current block. Generating prediction samples for , generating prediction-related information based on the prediction samples for the current block, and encoding image information including the prediction-related information, wherein the DIMD mode Characterized in that the intra prediction mode for the current block is determined based on whether it is applied to the current block.
- DIMD Decoder Side Intra Mode Derivation
- a computer-readable digital storage medium stores a bitstream generated by a specific method, wherein the specific method includes deriving a Decoder Side Intra Mode Derivation (DIMD) mode for a current block, determining an intra prediction mode for the current block Generating prediction samples for the current block based on the intra prediction mode for the current block, generating prediction related information based on the prediction samples for the current block, and generating the prediction related information and encoding video information to include, wherein the intra prediction mode for the current block is determined based on whether the DIMD mode is applied to the current block.
- DIMD Decoder Side Intra Mode Derivation
- a method of transmitting data for an image comprises deriving a Decoder Side Intra Mode Derivation (DIMD) mode for a current block from a bitstream, determining an intra prediction mode for the current block, and based on the intra prediction mode for the current block. Generating prediction samples for the current block, generating prediction-related information based on the prediction samples for the current block, and encoding image information including the prediction-related information. , and transmitting the data including the bitstream, wherein the intra prediction mode for the current block is determined based on whether the DIMD mode is applied to the current block.
- DIMD Decoder Side Intra Mode Derivation
- 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.
- 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.
- 11 exemplarily shows a template used to derive an intra prediction mode for a TIMD mode.
- FIG. 12 exemplarily shows a Histogram of Gradiant (HoG) construction method used to derive an intra prediction mode for a DIMD mode.
- HoG Histogram of Gradiant
- FIG. 13 exemplarily illustrates a method of constructing a prediction block by applying a DIMD mode.
- 16 and 17 schematically illustrate an example of a video/image decoding method and related components according to an embodiment of this document.
- FIG. 18 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/video.
- 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 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 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.
- 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 the form of a 2D block. 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 pictures.
- 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 may be called LM mode.
- a temporary prediction sample of the current block is derived based on the filtered neighboring reference samples, and at least one 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. At this time, a separate MPM list may be configured for the aforementioned MIP.
- 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 coding device may determine an intra prediction mode/type (S900).
- the coding 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 number.
- 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.
- the coding device may construct an MPM list including 6 candidates of the MPM list. At this time, three types of modes may be considered.
- two neighboring blocks for example, a left neighboring block and an upper neighboring block may be considered for the neighboring intra modes.
- 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.
- the above-described MPM list construction method may be used when MIP is not applied to the current block.
- the above-described MPM list construction method may be used for LIP, PDPC, MRL, ISP intra prediction, or intra prediction mode derivation used in normal intra prediction.
- the left neighboring block or the upper neighboring block may be coded based on the above-described MIP. That is, when coding the left neighboring block or the upper neighboring block, MIP may be applied. In this case, it is not appropriate to use the MIP intra prediction mode number of the neighboring block (left neighboring block/upper neighboring block) to which MIP is applied as it is in the MPM list for the current block to which MIP is not applied.
- the intra prediction mode of the neighboring block (left neighboring block/upper neighboring block) to which MIP is applied may be regarded as DC or planar mode.
- an intra prediction mode of a neighboring block (left neighboring block/upper neighboring block) to which MIP is applied may be mapped to a general intra prediction mode based on a mapping table and used for constructing the MPM list.
- the mapping may be performed based on the block size type of the current block.
- the mapping table can be expressed as follows.
- 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.
- 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.
- intra mode may be referred to as intra prediction mode in this document.
- intra mode and intra prediction mode may be used interchangeably.
- 11 exemplarily shows a template used to derive an intra prediction mode for a TIMD 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 neighboring 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.
- a mode having the smallest SATD may be selected as the intra mode of the current block.
- prediction blocks for the two prediction modes may be blended using a weighted sum method and used as a prediction block of the current block.
- prediction blocks for a prediction mode with the smallest SATD and a prediction mode with the next smallest SATD may be blended using a weighted sum method and used as the prediction block of the current block.
- two modes having the smallest SATD cost may be blended together with weights to be used as weighted intra prediction for the current block.
- a method of blending the two selected modes may be applied when the following equation is satisfied.
- Equation 1 when Equation 1 is true, a prediction block is generated by blending the two modes, and otherwise, only one mode having a minimum SATD may be selected.
- the weight when blending the two prediction blocks can be calculated through the following equation.
- costMode 1 may be the SATD cost of mode 1
- costMode 2 may be the SATD cost of mode 2.
- 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.
- the DIMD mode may be used by inducing the intra prediction mode in an encoder and a decoder without directly transmitting intra prediction mode information.
- a horizontal gradient and a vertical gradient can be obtained from the second peripheral reference column and row, and a Histogram of Gradients (HoG) can be constructed therefrom.
- HoG Histogram of Gradients
- FIG. 12 exemplarily shows a Histogram of Gradiant (HoG) construction method used to derive an intra prediction mode for a DIMD mode.
- HoG Histogram of Gradiant
- FIG. 12 exemplarily shows a template used to derive an intra prediction mode for a DIMD mode.
- 12(b) and 12(c) show HoG configuration methods used to derive an intra prediction mode for a DIMD mode.
- HoG can be obtained by applying a Sobel filter using L-shaped columns and rows of 3 pixels around the current block, as shown in (b) of FIG. 12 .
- pixels adjacent to the current block may not be used for texture analysis.
- 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.
- FIG. 13 exemplarily illustrates a method of constructing a prediction block by applying a DIMD mode.
- a final prediction block can be configured by selecting two intra modes having the largest histogram amplitude and blending a prediction block predicted using the two modes with a planner mode.
- an intra mode with the largest histogram amplitude and an intra mode with the second largest histogram amplitude are selected, and a prediction block predicted using the two modes and a planner mode are blended to form a final prediction block.
- the weights for the modes can be derived from the amplitude of the histogram.
- DIMD flag information is transmitted in units of blocks to determine whether a DIMD is used. At this time, the DIMD flag information may indicate whether the DIMD mode is applied.
- the weight for the intra mode having the largest histogram amplitude can be calculated through the following equation.
- the weight for the intra mode having the second largest histogram amplitude can be calculated through the following equation.
- weight for the planner mode can be calculated through the following equation.
- a method for preventing an intra mode of a current block derived by a DIMD from being repeatedly selected according to a coding mode is proposed.
- the DIMD may infer a directionality of a pixel by using information of previously coded pixels around the current block and use this as an intra mode of the current block.
- various directions can be derived according to the gradient between neighboring pixels, and each gradient distribution is classified into a gradient histogram (HoG) for the intra mode, and N pieces of direction information determined to be most similar through the HoG are selected as intra modes. It can be used by mapping to a mode.
- HoG gradient histogram
- the prediction mode of the current block may be selected as a non-directional mode.
- one direction information may be derived.
- the weight is determined by the amplitude of the gradient pointing to the two prediction modes.
- Intra-prediction blocks can be configured as a weighted sum of the three modes by calculating and adding the weights of the fixed planner modes.
- a default mode can be set.
- the default mode may be a planner mode.
- the intra prediction block when the current block is coded in the DIMD mode (a block having a DIMD flag of 1), the intra prediction block may be generated by deriving the aforementioned intra mode and performing a weighted sum between the prediction blocks according to conditions.
- the intra mode derived by the DIMD process may be used as a prediction mode candidate of the current block. That is, it can be used as an MPM candidate for the current block or used as a part of prediction candidates when the current block is in the TIMD mode.
- the intra mode derived through the DIMD process is used as an MPM candidate for the current block, or used as some of the prediction candidates when deriving the TIMD mode for the current block.
- the surrounding pixels are located on the coordinates of a block that cannot be utilized (picture, slice boundary, etc.) or the prediction direction can be specified from the surrounding pixels.
- the default mode the planner mode
- the planner mode may be selected.
- the planner mode may always be considered as the first MPM candidate.
- the planner mode derived from the DIMD is always excluded from the MPM candidates.
- the planner mode can always be excluded from the MPM candidates. Therefore, in this embodiment, it is proposed to designate the default mode of the DIMD as a mode other than the planner mode.
- the default mode of DIMD may be DC mode.
- the DC mode since it does not always belong to the MPM candidate, there is little possibility of overlap, and it may be suitable to be considered as a non-directional mode when direction information cannot be inferred from neighboring pixels.
- the MPM when the DIMD prediction mode is in the planner direction, there is a case where the MPM can select the planner mode even though the current block is not selected as the DIMD mode.
- the proposed method can prevent duplicate selection of inefficient coding modes.
- the default mode of the DIMD may be a horizontal prediction mode or a vertical prediction mode. In this case, more efficient mode coding may be possible by designating a prediction mode that statistically appears most frequently in intra mode information as a default mode.
- the default mode of the DIMD may be one of directional prediction modes.
- the corresponding prediction mode may not be weighted with other prediction modes (eg, planner mode, etc.).
- the DIMD prediction mode may be considered as some of MPM candidates when configuring the MPM.
- the DIMD prediction mode is selected as the final prediction mode after being input to the MPM, it has the same effect as coding the same prediction mode with only a different mode (DIMD mode or MPM mode). Therefore, in performing intra prediction to prevent inefficient coding mode overlapping selection, the following embodiments may be applied.
- the DIMD prediction mode can be weighted by 2/3 and the planar mode by 1/3.
- the DIMD prediction mode may have a weight of 43 and the planner mode may have a weight of 21.
- the DIMD prediction mode and the planner mode may be weighted together. Accordingly, a prediction block in the DIMD mode and a prediction block derived in the DIMD prediction mode in MPM may be different blocks, preventing the same prediction block and performing efficient intra prediction.
- the DIMD prediction mode is not input as a candidate mode in the candidate configuration process of MPM, TIMD, etc. Suggested do. That is, when the DIMD prediction mode is derived as one directional prediction mode and the current block is not coded in the DIMD mode, a method of not inputting the DIMD prediction mode as a candidate mode in a candidate construction process such as MPM or TIMD is proposed.
- the one directional prediction mode may not be considered in the process of constructing an MPM candidate.
- the one directional prediction mode may not be considered in the process of deriving the TIMD mode. Accordingly, even if the current block is not in the DIMD mode, since the DIMD prediction mode is not taken into consideration when constructing an MPM candidate or deriving a TIMD mode thereafter, inefficient coding mode duplication selection can be prevented.
- the DIMD prediction mode is derived as one directional prediction mode and the current block is not the DIMD mode
- a method in which the DIMD prediction mode is not designated as the prediction mode of the current block is proposed. That is, when the DIMD prediction mode is derived as one directional prediction mode and the current block is not coded in the DIMD mode, a method in which the DIMD prediction mode is not designated as the prediction mode of the current block is proposed.
- the DIMD prediction mode is not considered as an MPM candidate or a TIMD candidate and is not included in the residual mode, it is possible to completely prevent the redundant coding method of the same mode.
- the DIMD prediction mode may not be included in the remaining mode as well. Accordingly, when the current block is not a DIMD mode and the DIMD prediction mode is derived as one directional prediction mode, since the DIMD prediction mode cannot be selected as the prediction mode of the current block, inefficient coding mode redundant selection can be prevented.
- the method disclosed in FIG. 14 may be performed by the encoding device disclosed in FIG. 2 or FIG. 15 .
- S1400 to S1430 of FIG. 14 may be performed by the prediction unit 220 of the encoding device, and S1440 may be performed by the entropy encoding unit 240 of the encoding device.
- the process of generating residual samples based on prediction samples for the current block and generating residual information based on the residual samples is performed by the residual processing unit 230 of the encoding device.
- the process of generating a bitstream from residual information or prediction-related information may be performed by the entropy encoding unit 240 of the encoding device.
- the method disclosed in FIG. 14 may include the embodiments described above in this document.
- the encoding device derives a Decoder Side Intra Mode Derivation (DIMD) mode for a current block (S1400).
- DIMD Decoder Side Intra Mode Derivation
- the encoding device may derive the DIMD mode for the current block according to the above-described embodiment.
- the encoding device determines an intra prediction mode for the current block (S1410).
- an intra prediction mode for the current block may be determined according to the above-described embodiment.
- the intra prediction mode for the current block may be determined based on whether the DIMD mode is applied to the current block.
- a default mode of the DIMD mode may be one of a DC mode, a horizontal prediction mode, a vertical prediction mode, and a directional prediction mode.
- the DIMD mode is derived as one directional intra mode and based on the DIMD mode applied to the current block, prediction based on performing a weighted average based on the one directional intra mode and planner mode mode can be derived.
- the intra prediction mode for the current block may be determined based on the prediction mode.
- the weight for the one directional intra mode may be 2/3 and the weight for the planar mode may be 1/3, and weighted average may be performed using various weights.
- the encoding device may configure a Most Probable Mode (MPM) list including intra prediction mode candidates for the current block.
- MPM Most Probable Mode
- the DIMD mode is derived as one directional intra mode and based on the fact that the DIMD mode is not applied to the current block, based on performing a weighted average based on the one directional intra mode and planner mode Based on A prediction mode can be derived.
- the prediction mode may be included in the MPM list, and the intra prediction mode for the current block may be determined based on the MPM list.
- the one directional intra mode may not be included in the MPM list.
- the intra prediction mode for the current block may be determined based on the MPM list.
- the one directional intra mode may not be included in the MPM list.
- the image information includes remaining mode information, and based on the remaining mode information, the intra prediction mode candidates included in the MPM list and remaining intra prediction modes other than the one directional intra mode are derived. and the intra prediction mode for the current block may be determined based on the remaining intra prediction modes. That is, when the DIMD mode is derived as one directional intra mode and the DIMD mode is not applied to the current block, the DIMD mode is not included in the MPM list and may not be included in the remaining mode.
- the decoding device may derive a TIMD mode for the current block.
- the TIMD mode is derived based on intra prediction modes other than the one directional intra mode It can be.
- the intra prediction mode for the current block may be determined based on the TIMD mode.
- the encoding device generates prediction samples for the current block based on the intra prediction mode for the current block (S1420). For example, according to the above-described embodiment, prediction samples for the current block may be generated based on the intra prediction mode for the current block.
- the encoding device generates prediction-related information based on prediction samples for the current block (S1430). For example, according to the above-described embodiment, prediction-related information may be generated based on the prediction samples for the current block.
- the encoding device encodes image information including prediction related information (S1440).
- image information including the prediction-related information may be encoded.
- the encoding device may generate prediction samples for the current block based on the determined intra prediction mode according to the above-described embodiment, and based on the prediction samples for the current block, the current block Residual samples for a block can be derived. Also, the encoding device may generate residual information based on the residual samples. Also, the encoding device may encode image information including remaining mode information and residual information of the current block according to the above-described embodiment.
- 16 and 17 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. 16 may be performed by the decoding device disclosed in FIG. 3 or FIG. 17 .
- S1600 of FIG. 16 may be performed by the entropy decoding unit 310 of the decoding device
- S1610 to S1630 may be performed by the prediction unit 330 of the decoding device
- S1640 may be performed by the prediction unit 330 of the decoding device. This may be performed in the adder 340 of the decoding device.
- the process of generating residual samples may be performed by the residual processing unit 320 of the decoding device, and the process of generating reconstructed samples based on predicted samples and residual samples It may be performed by the adder of the decoding device.
- the method disclosed in FIG. 16 may include the embodiments described above in this document.
- the decoding device obtains a bitstream including image information (S1600).
- the decoding device may obtain a bitstream including image information according to the above-described embodiment.
- the decoding device derives a Decoder Side Intra Mode Derivation (DIMD) mode for the current block (S1610).
- DIMD Decoder Side Intra Mode Derivation
- the decoding device may derive the DIMD mode for the current block according to the above-described embodiment.
- the decoding device derives an intra prediction mode for the current block (S1620).
- the decoding device may derive an intra prediction mode for the current block according to the above-described embodiment.
- the intra prediction mode for the current block may be derived based on whether the DIMD mode is applied to the current block.
- the default mode of the DIMD mode may be one of a DC mode, a horizontal prediction mode, a vertical prediction mode, and a directional prediction mode.
- the DIMD mode is derived as one directional intra mode and based on the DIMD mode applied to the current block, prediction based on performing a weighted average based on the one directional intra mode and planner mode mode can be derived.
- the intra prediction mode for the current block may be derived based on the prediction mode.
- the weight for the one directional intra mode may be 2/3 and the weight for the planar mode may be 1/3, and weighted average may be performed using various weights.
- the decoding device may configure a Most Probable Mode (MPM) list including intra prediction mode candidates for the current block.
- MPM Most Probable Mode
- the DIMD mode is derived as one directional intra mode and based on the fact that the DIMD mode is not applied to the current block, based on performing a weighted average based on the one directional intra mode and planner mode Based on A prediction mode can be derived.
- the prediction mode may be included in the MPM list, and the intra prediction mode for the current block may be derived based on the MPM list.
- the one directional intra mode may not be included in the MPM list.
- the intra prediction mode for the current block may be derived based on the MPM list.
- the one directional intra mode may not be included in the MPM list.
- the image information includes remaining mode information, and based on the remaining mode information, the intra prediction mode candidates included in the MPM list and remaining intra prediction modes other than the one directional intra mode are derived. and the intra prediction mode for the current block may be derived based on the remaining intra prediction modes. That is, when the DIMD mode is derived as one directional intra mode and the DIMD mode is not applied to the current block, the DIMD mode is not included in the MPM list and may not be included in the remaining mode.
- the decoding device may derive a TIMD mode for the current block.
- the TIMD mode is derived based on intra prediction modes other than the one directional intra mode It can be.
- the intra prediction mode for the current block may be derived based on the TIMD mode.
- the decoding device generates prediction samples for the current block based on the intra prediction mode for the current block (S1630). For example, the decoding device may generate prediction samples for the current block based on the intra prediction mode for the current block according to the above-described embodiment.
- the decoding device generates reconstructed samples for the current block based on predicted samples for the current block (S1640).
- the decoding apparatus may generate reconstructed samples for the current block based on the prediction samples for 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.
- the default mode of the DIMD mode is configured except for the planner mode, and various candidate prediction modes are used to configure MPM candidates for intra prediction. , efficient intra prediction can be performed.
- the prediction mode when the DIMD mode is derived as one directional prediction mode, the prediction mode may be derived using a planner mode and a weighted average. Through this, efficient intra prediction can be performed by using various candidate prediction modes in constructing MPM candidates.
- the DIMD mode when the DIMD mode is derived as one directional prediction mode and the DIMD mode is not applied to the current block, the DIMD mode is selected as an MPM candidate, a TIMD mode candidate, or a remaining mode candidate.
- 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. 18 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 (18)
- 디코딩 장치에 의하여 수행되는 영상 디코딩 방법에 있어서,영상 정보를 포함하는 비트스트림을 획득하는 단계;현재 블록에 대한 DIMD(Decoder Side Intra Mode Derivation) 모드를 도출하는 단계;상기 현재 블록에 대한 인트라 예측 모드를 도출하는 단계;상기 현재 블록에 대한 상기 인트라 예측 모드를 기반으로 상기 현재 블록에 대한 예측 샘플들을 생성하는 단계; 및상기 현재 블록에 대한 상기 예측 샘플들을 기반으로 상기 현재 블록에 대한 복원 샘플들을 생성하는 단계를 포함하되,상기 DIMD 모드가 상기 현재 블록에 적용되는지 여부를 기반으로 상기 현재 블록에 대한 상기 인트라 예측 모드가 도출되는 것을 특징으로 하는 영상 디코딩 방법.
- 제1항에 있어서, 상기 DIMD 모드는 1개의 방향성 인트라 모드로 도출되고 상기 DIMD 모드가 상기 현재 블록에 적용되는 것을 기반으로, 상기 1개의 방향성 인트라 모드 및 플래너 모드에 기반한 가중 평균을 수행하는 것을 기반으로 예측 모드가 도출되고,상기 예측 모드를 기반으로 상기 현재 블록에 대한 상기 인트라 예측 모드가 도출되는 것을 특징으로 하는 영상 디코딩 방법.
- 제2항에 있어서, 상기 1개의 방향성 인트라 모드에 대한 가중치는 2/3이고 상기 플래너 모드에 대한 가중치는 1/3인 것을 특징으로 하는 영상 디코딩 방법.
- 제1항에 있어서, 상기 현재 블록에 대한 인트라 예측 모드 후보들을 포함하는 MPM(Most Probable Mode) 리스트를 구성하는 단계를 더 포함하되,상기 DIMD 모드는 1개의 방향성 인트라 모드로 도출되고 상기 DIMD 모드가 상기 현재 블록에 적용되지 않는 것을 기반으로, 상기 1개의 방향성 인트라 모드 및 플래너 모드에 기반한 가중 평균을 수행하는 것을 기반으로 예측 모드가 도출되고,상기 예측 모드는 상기 MPM 리스트에 포함되고,상기 MPM 리스트를 기반으로 상기 현재 블록에 대한 상기 인트라 예측 모드가 도출되는 것을 특징으로 하는 영상 디코딩 방법.
- 제1항에 있어서, 상기 현재 블록에 대한 인트라 예측 모드 후보들을 포함하는 MPM(Most Probable Mode) 리스트를 구성하는 단계를 더 포함하되,상기 DIMD 모드가 1개의 방향성 인트라 모드로 도출되고 상기 DIMD 모드가 상기 현재 블록에 적용되지 않는 것을 기반으로, 상기 1개의 방향성 인트라 모드는 상기 MPM 리스트에 포함되지 않고,상기 MPM 리스트를 기반으로 상기 현재 블록에 대한 상기 인트라 예측 모드가 도출되는 것을 특징으로 하는 영상 디코딩 방법.
- 제1항에 있어서, 상기 현재 블록에 대한 TIMD(Template-based Intra Mode Derivation) 모드를 도출하는 단계를 더 포함하되,상기 DIMD 모드가 1개의 방향성 인트라 모드로 도출되고 상기 DIMD 모드가 상기 현재 블록에 적용되지 않는 것을 기반으로, 상기 TIMD 모드는 상기 1개의 방향성 인트라 모드를 제외한 인트라 예측 모드를 기반으로 도출되고,상기 TIMD 모드를 기반으로 상기 현재 블록에 대한 상기 인트라 예측 모드가 도출되는 것을 특징으로 하는 영상 디코딩 방법.
- 제5항에 있어서, 상기 영상 정보는 리메이닝 모드 정보를 포함하고,상기 리메이닝 모드 정보를 기반으로 상기 MPM 리스트에 포함되는 상기 인트라 예측 모드 후보들 및 상기 1개의 방향성 인트라 모드 이외의 리메이닝 인트라 예측 모드들이 도출되고,상기 리메이닝 인트라 예측 모드들을 기반으로 상기 현재 블록에 대한 상기 인트라 예측 모드가 도출되는 것을 특징으로 하는 영상 디코딩 방법.
- 제1항에 있어서, 상기 DIMD 모드가 상기 현재 블록에 적용되지 않는 것을 기반으로, 상기 DIMD 모드의 디폴트 모드(default mode)는 DC 모드, 수평 예측 모드 또는 수직 예측 모드, 방향성 예측 모드 중 하나인 것을 특징으로 하는 영상 디코딩 방법.
- 인코딩 장치에 의해 수행되는 영상 인코딩 방법에 있어서,현재 블록에 대한 DIMD(Decoder Side Intra Mode Derivation) 모드를 도출하는 단계;상기 현재 블록에 대한 인트라 예측 모드를 결정하는 단계;상기 현재 블록에 대한 상기 인트라 예측 모드를 기반으로 상기 현재 블록에 대한 예측 샘플들을 생성하는 단계;상기 현재 블록에 대한 상기 예측 샘플들을 기반으로 예측 관련 정보를 생성하는 단계; 및상기 예측 관련 정보를 포함하는 영상 정보를 인코딩하는 단계를 포함하되,상기 DIMD 모드가 상기 현재 블록에 적용되는지 여부를 기반으로 상기 현재 블록에 대한 상기 인트라 예측 모드가 결정되는 것을 특징으로 하는 영상 인코딩 방법.
- 제9항에 있어서, 상기 DIMD 모드는 1개의 방향성 인트라 모드로 도출되고 상기 DIMD 모드가 상기 현재 블록에 적용되는 것을 기반으로, 상기 1개의 방향성 인트라 모드 및 플래너 모드에 기반한 가중 평균을 수행하는 것을 기반으로 예측 모드가 도출되고,상기 예측 모드를 기반으로 상기 현재 블록에 대한 상기 인트라 예측 모드가 결정되는 것을 특징으로 하는 영상 인코딩 방법.
- 제10항에 있어서, 상기 1개의 방향성 인트라 모드에 대한 가중치는 2/3이고 상기 플래너 모드에 대한 가중치는 1/3인 것을 특징으로 하는 영상 인코딩 방법.
- 제9항에 있어서, 상기 현재 블록에 대한 인트라 예측 모드 후보들을 포함하는 MPM(Most Probable Mode) 리스트를 구성하는 단계를 더 포함하되,상기 DIMD 모드는 1개의 방향성 인트라 모드로 도출되고 상기 DIMD 모드가 상기 현재 블록에 적용되지 않는 것을 기반으로, 상기 1개의 방향성 인트라 모드 및 플래너 모드에 기반한 가중 평균을 수행하는 것을 기반으로 예측 모드가 도출되고,상기 예측 모드는 상기 MPM 리스트에 포함되고,상기 MPM 리스트를 기반으로 상기 현재 블록에 대한 상기 인트라 예측 모드가 결정되는 것을 특징으로 하는 영상 인코딩 방법.
- 제9항에 있어서, 상기 현재 블록에 대한 인트라 예측 모드 후보들을 포함하는 MPM(Most Probable Mode) 리스트를 구성하는 단계를 더 포함하되,상기 DIMD 모드가 1개의 방향성 인트라 모드로 도출되고 상기 DIMD 모드가 상기 현재 블록에 적용되지 않는 것을 기반으로, 상기 1개의 방향성 인트라 모드는 상기 MPM 리스트에 포함되지 않고,상기 MPM 리스트를 기반으로 상기 현재 블록에 대한 상기 인트라 예측 모드가 결정되는 것을 특징으로 하는 영상 인코딩 방법.
- 제9항에 있어서, 상기 현재 블록에 대한 TIMD(Template-based Intra Mode Derivation) 모드를 도출하는 단계를 더 포함하되,상기 DIMD 모드가 1개의 방향성 인트라 모드로 도출되고 상기 DIMD 모드가 상기 현재 블록에 적용되지 않는 것을 기반으로, 상기 TIMD 모드는 상기 1개의 방향성 인트라 모드를 제외한 인트라 예측 모드를 기반으로 도출되고,상기 TIMD 모드를 기반으로 상기 현재 블록에 대한 상기 인트라 예측 모드가 결정되는 것을 특징으로 하는 영상 인코딩 방법.
- 제13항에 있어서, 상기 영상 정보는 리메이닝 모드 정보를 포함하고,상기 리메이닝 모드 정보를 기반으로 상기 MPM 리스트에 포함되는 상기 인트라 예측 모드 후보들 및 상기 1개의 방향성 인트라 모드 이외의 리메이닝 인트라 예측 모드들이 도출되고,상기 리메이닝 인트라 예측 모드들을 기반으로 상기 현재 블록에 대한 상기 인트라 예측 모드가 결정되는 것을 특징으로 하는 영상 인코딩 방법.
- 제9항에 있어서, 상기 DIMD 모드가 상기 현재 블록에 적용되지 않는 것을 기반으로, 상기 DIMD 모드의 디폴트 모드(default mode)는 DC 모드, 수평 예측 모드 또는 수직 예측 모드, 방향성 예측 모드 중 하나인 것을 특징으로 하는 영상 인코딩 방법.
- 제9항의 영상 인코딩 방법에 의해 생성된 비트스트림을 저장하는 컴퓨터 판독 가능한 저장 매체.
- 영상에 대한 데이터의 전송 방법에 있어서, 상기 영상에 대한 비트스트림을 획득하되, 상기 비트스트림은 현재 블록에 대한 DIMD(Decoder Side Intra Mode Derivation) 모드를 도출하는 단계, 상기 현재 블록에 대한 인트라 예측 모드를 결정하는 단계, 상기 현재 블록에 대한 상기 인트라 예측 모드를 기반으로 상기 현재 블록에 대한 인트라 예측 샘플들을 생성하는 단계, 상기 현재 블록에 대한 상기 인트라 예측 샘플들을 기반으로 예측 관련 정보를 생성하는 단계, 및 상기 예측 관련 정보를 포함하는 영상 정보를 인코딩하는 단계를 기반으로 생성되는 단계; 및상기 비트스트림을 포함하는 상기 데이터를 전송하는 단계를 포함하고,상기 DIMD 모드가 상기 현재 블록에 적용되는지 여부를 기반으로 상기 현재 블록에 대한 상기 인트라 예측 모드가 결정되는 것을 특징으로 하는 전송 방법.
Priority Applications (5)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP22916844.8A EP4459990A4 (en) | 2021-12-30 | 2022-12-30 | INTRA PREDICTION METHOD AND DEVICE BASED ON AN INTRA PREDICTION DERIVATION |
| KR1020247021241A KR20240131341A (ko) | 2021-12-30 | 2022-12-30 | 인트라 예측 모드 도출 기반 인트라 예측 방법 및 장치 |
| CN202280090460.0A CN118575475A (zh) | 2021-12-30 | 2022-12-30 | 基于帧内预测模式推导的帧内预测方法和装置 |
| JP2024539512A JP2025501235A (ja) | 2021-12-30 | 2022-12-30 | イントラ予測モード導出ベースのイントラ予測方法及び装置 |
| US18/725,434 US20250184481A1 (en) | 2021-12-30 | 2022-12-30 | Intra-prediction method and device based on intra-prediction mode derivation |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US202163295508P | 2021-12-30 | 2021-12-30 | |
| US63/295,508 | 2021-12-30 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023128703A1 true WO2023128703A1 (ko) | 2023-07-06 |
Family
ID=86999736
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/KR2022/021733 Ceased WO2023128703A1 (ko) | 2021-12-30 | 2022-12-30 | 인트라 예측 모드 도출 기반 인트라 예측 방법 및 장치 |
Country Status (6)
| Country | Link |
|---|---|
| US (1) | US20250184481A1 (ko) |
| EP (1) | EP4459990A4 (ko) |
| JP (1) | JP2025501235A (ko) |
| KR (1) | KR20240131341A (ko) |
| CN (1) | CN118575475A (ko) |
| WO (1) | WO2023128703A1 (ko) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2025116668A1 (ko) * | 2023-11-30 | 2025-06-05 | 엘지전자 주식회사 | 영상 인코딩/디코딩 방법 및 장치, 그리고 비트스트림을 저장한 기록 매체 |
| WO2025116665A1 (ko) * | 2023-11-30 | 2025-06-05 | 엘지전자 주식회사 | 영상 인코딩/디코딩 방법 및 장치, 그리고 비트스트림을 저장한 기록 매체 |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2024074754A1 (en) * | 2022-10-07 | 2024-04-11 | Nokia Technologies Oy | An apparatus, a method and a computer program for video coding and decoding |
| WO2026059370A1 (ko) * | 2024-09-12 | 2026-03-19 | 엘지전자 주식회사 | 영상 정보를 디코딩하는 방법, 영상 정보를 인코딩하는 방법 및 비트스트림에 관한 방법 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20180084664A (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 |
| KR20200056451A (ko) * | 2018-10-05 | 2020-05-22 | 엘지전자 주식회사 | Mpm 리스트를 사용하는 인트라 예측 기반 영상 코딩 방법 및 그 장치 |
| KR20210134407A (ko) * | 2020-02-05 | 2021-11-09 | 텐센트 아메리카 엘엘씨 | 디코더 측 인트라 모드 도출 모드와 적응적 인트라 예측 모드 간의 상호 작용들을 위한 방법 및 장치 |
Family Cites Families (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2017192995A1 (en) * | 2016-05-06 | 2017-11-09 | Vid Scale, Inc. | Method and system for decoder-side intra mode derivation for block-based video coding |
| WO2018070790A1 (ko) * | 2016-10-14 | 2018-04-19 | 세종대학교 산학협력단 | 영상의 부호화/복호화 방법 및 장치 |
| CN118055232A (zh) * | 2018-09-06 | 2024-05-17 | Lg 电子株式会社 | 使用mpm列表的基于帧内预测的图像编码方法及其装置 |
| WO2020197202A1 (ko) * | 2019-03-26 | 2020-10-01 | 엘지전자 주식회사 | Mpm 리스트에 기반한 인트라 예측 방법 및 그 장치 |
| WO2022260339A1 (ko) * | 2021-06-08 | 2022-12-15 | 현대자동차주식회사 | 비디오 부호화/복호화 방법 및 장치 |
| WO2022260341A1 (ko) * | 2021-06-11 | 2022-12-15 | 현대자동차주식회사 | 비디오 부호화/복호화 방법 및 장치 |
| US12506881B2 (en) * | 2021-06-28 | 2025-12-23 | Wilus Institute Of Standards And Technology Inc. | Video signal processing method using intra prediction and device therefor |
| WO2025002781A1 (en) * | 2023-06-30 | 2025-01-02 | Interdigital Ce Patent Holdings, Sas | Generalized intra prediction fusion |
| KR20260037124A (ko) * | 2023-07-10 | 2026-03-17 | 오피노 엘엘씨 | 방향성 샘플별 융합을 이용한 템플릿 기반 인트라 모드 도출 |
-
2022
- 2022-12-30 CN CN202280090460.0A patent/CN118575475A/zh active Pending
- 2022-12-30 JP JP2024539512A patent/JP2025501235A/ja active Pending
- 2022-12-30 KR KR1020247021241A patent/KR20240131341A/ko active Pending
- 2022-12-30 US US18/725,434 patent/US20250184481A1/en active Pending
- 2022-12-30 EP EP22916844.8A patent/EP4459990A4/en active Pending
- 2022-12-30 WO PCT/KR2022/021733 patent/WO2023128703A1/ko not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20180084664A (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 |
| KR20200056451A (ko) * | 2018-10-05 | 2020-05-22 | 엘지전자 주식회사 | Mpm 리스트를 사용하는 인트라 예측 기반 영상 코딩 방법 및 그 장치 |
| KR20210134407A (ko) * | 2020-02-05 | 2021-11-09 | 텐센트 아메리카 엘엘씨 | 디코더 측 인트라 모드 도출 모드와 적응적 인트라 예측 모드 간의 상호 작용들을 위한 방법 및 장치 |
Non-Patent Citations (2)
| Title |
|---|
| See also references of EP4459990A4 * |
| Y. WANG (BYTEDANCE), L. ZHANG (BYTEDANCE), K. ZHANG (BYTEDANCE), Z. DENG, N. ZHANG (BYTEDANCE): "EE2-related: Template-based intra mode derivation using MPMs", 22. JVET MEETING; 20210420 - 20210428; TELECONFERENCE; (THE JOINT VIDEO EXPLORATION TEAM OF ISO/IEC JTC1/SC29/WG11 AND ITU-T SG.16 ), 22 April 2021 (2021-04-22), XP030294223 * |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2025116668A1 (ko) * | 2023-11-30 | 2025-06-05 | 엘지전자 주식회사 | 영상 인코딩/디코딩 방법 및 장치, 그리고 비트스트림을 저장한 기록 매체 |
| WO2025116665A1 (ko) * | 2023-11-30 | 2025-06-05 | 엘지전자 주식회사 | 영상 인코딩/디코딩 방법 및 장치, 그리고 비트스트림을 저장한 기록 매체 |
Also Published As
| Publication number | Publication date |
|---|---|
| EP4459990A4 (en) | 2025-11-05 |
| JP2025501235A (ja) | 2025-01-17 |
| EP4459990A1 (en) | 2024-11-06 |
| US20250184481A1 (en) | 2025-06-05 |
| KR20240131341A (ko) | 2024-08-30 |
| CN118575475A (zh) | 2024-08-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2020071873A1 (ko) | Mpm 리스트를 사용하는 인트라 예측 기반 영상 코딩 방법 및 그 장치 | |
| WO2020256391A1 (ko) | 영상 디코딩 방법 및 그 장치 | |
| WO2020231140A1 (ko) | 적응적 루프 필터 기반 비디오 또는 영상 코딩 | |
| WO2020171632A1 (ko) | Mpm 리스트 기반 인트라 예측 방법 및 장치 | |
| WO2020256390A1 (ko) | 블록 사이즈를 기반으로 bdpcm 을 수행하는 영상 디코딩 방법 및 그 장치 | |
| WO2023132622A1 (ko) | Dimd 모드 기반 인트라 예측 방법 및 장치 | |
| WO2023128703A1 (ko) | 인트라 예측 모드 도출 기반 인트라 예측 방법 및 장치 | |
| WO2021137597A1 (ko) | Ols에 대한 dpb 파라미터를 사용하는 영상 디코딩 방법 및 그 장치 | |
| WO2023055172A1 (ko) | Ciip 기반 예측 방법 및 장치 | |
| WO2020167097A1 (ko) | 영상 코딩 시스템에서 인터 예측을 위한 인터 예측 타입 도출 | |
| WO2020235960A1 (ko) | Bdpcm 에 대한 영상 디코딩 방법 및 그 장치 | |
| WO2020235961A1 (ko) | 영상 디코딩 방법 및 그 장치 | |
| WO2023075450A1 (ko) | Mpm 리스트를 이용하는 영상 코딩 방법 및 장치 | |
| WO2020180143A1 (ko) | 루마 맵핑 및 크로마 스케일링 기반 비디오 또는 영상 코딩 | |
| WO2021040398A1 (ko) | 팔레트 이스케이프 코딩 기반 영상 또는 비디오 코딩 | |
| WO2020204419A1 (ko) | 적응적 루프 필터 기반 비디오 또는 영상 코딩 | |
| WO2021091252A1 (ko) | 영상/비디오 코딩을 위한 영상 정보 처리 방법 및 장치 | |
| WO2023055167A1 (ko) | 인트라 예측 모드 도출 기반 인트라 예측 방법 및 장치 | |
| WO2020197274A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
| WO2023062614A1 (ko) | 영상 디코딩 방법 및 그 장치 | |
| WO2023153891A1 (ko) | 영상 인코딩/디코딩 방법 및 장치, 그리고 비트스트림을 저장한 기록 매체 | |
| WO2023153797A1 (ko) | 영상 인코딩/디코딩 방법 및 장치, 그리고 비트스트림을 저장한 기록 매체 | |
| WO2021141227A1 (ko) | 영상 디코딩 방법 및 그 장치 | |
| WO2023128705A1 (ko) | 인트라 예측 모드를 코딩하는 방법 및 장치 | |
| WO2021141225A1 (ko) | Bdpcm 을 사용하는 영상 디코딩 방법 및 그 장치 |
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: 22916844 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 18725434 Country of ref document: US Ref document number: 2024539512 Country of ref document: JP |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 202417057415 Country of ref document: IN |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 202280090460.0 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: 2022916844 Country of ref document: EP Effective date: 20240730 |
|
| WWP | Wipo information: published in national office |
Ref document number: 18725434 Country of ref document: US |



