WO2020251330A1 - 단순화된 mpm 리스트 생성 방법을 활용하는 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 - Google Patents
단순화된 mpm 리스트 생성 방법을 활용하는 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 Download PDFInfo
- Publication number
- WO2020251330A1 WO2020251330A1 PCT/KR2020/007727 KR2020007727W WO2020251330A1 WO 2020251330 A1 WO2020251330 A1 WO 2020251330A1 KR 2020007727 W KR2020007727 W KR 2020007727W WO 2020251330 A1 WO2020251330 A1 WO 2020251330A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- intra prediction
- prediction mode
- mode
- block
- mip
- Prior art date
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/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/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/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/136—Incoming video signal characteristics or properties
-
- 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/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/186—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/80—Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
- H04N19/82—Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation involving filtering within a prediction loop
Definitions
- the present disclosure relates to an image encoding/decoding method and apparatus, and more particularly, an image encoding/decoding method and apparatus for signaling an intra prediction mode, and a bitstream generated by the image encoding method/apparatus of the present disclosure. It's about the method.
- An object of the present disclosure is to provide an image encoding/decoding method and apparatus with improved encoding/decoding efficiency.
- an object of the present disclosure is to provide a video encoding/decoding method and apparatus capable of lowering prediction complexity by mapping intra prediction modes of neighboring blocks to a predetermined prediction mode.
- an object of the present disclosure is to provide a method for transmitting a bitstream generated by an image encoding method or apparatus according to the present disclosure.
- an object of the present disclosure is to provide a recording medium storing a bitstream generated by an image encoding method or apparatus according to the present disclosure.
- an object of the present disclosure is to provide a recording medium storing a bitstream that is received and decoded by an image decoding apparatus according to the present disclosure and used for image restoration.
- An image decoding method performed by an image decoding apparatus includes: identifying a prediction mode of a current block in an image decoding method performed by the image decoding apparatus; When the prediction mode of the current block is an intra prediction mode, identifying whether the intra prediction mode of the current block is a matrix-based intra prediction (MIP) mode; If the intra prediction mode of the current block is not the MIP mode, determining a candidate intra prediction mode for the current block based on a prediction mode of a neighboring block located around the current block; Generating a list of candidate intra prediction modes of the current block based on the candidate intra prediction modes; And determining an intra prediction mode of the current block based on the candidate intra prediction mode list, wherein when the prediction mode of the neighboring block is the MIP mode, the candidate intra prediction mode is to be determined as a predetermined intra prediction mode.
- the predetermined intra prediction mode may be any one of a planar mode, a DC mode, a horizontal mode, and a vertical mode.
- Whether the prediction mode of the neighboring block is the MIP mode is determined based on the MIP mode indicator of the neighboring block, and the MIP mode indicator may be obtained from a bitstream.
- the candidate intra prediction mode list is generated based on a first candidate intra prediction mode and a second candidate intra prediction mode, and the first candidate intra prediction mode is based on a prediction mode of a first neighboring block located around the current block.
- the second candidate intra prediction mode may be determined based on a prediction mode of a second neighboring block located around the current block.
- the candidate intra prediction mode When the first candidate intra prediction mode and the second candidate intra prediction mode are the same, and the first candidate intra prediction mode is an intra prediction mode having a value greater than a prediction mode value indicating a DC mode, the candidate intra prediction mode The list may be determined to include the value of the first candidate intra prediction mode.
- the candidate intra prediction mode list may be determined to include a predetermined candidate intra prediction mode.
- the predetermined candidate intra prediction mode may include at least one of a DC mode and a vertical mode.
- the prediction mode of the first neighboring block is a MIP mode
- the first candidate intra prediction mode and the second candidate intra prediction mode are different from each other
- the second candidate intra prediction mode is greater than a prediction mode value indicating a DC mode.
- the candidate intra prediction mode list may be determined to include the second candidate intra prediction mode.
- the determining of the intra prediction mode of the current block based on the candidate intra prediction mode list may include any one of the candidate intra prediction modes included in the candidate intra prediction mode list based on the intra prediction mode indicator obtained from the bitstream. It may be performed by determining a candidate intra prediction mode of as the intra prediction mode of the current block.
- the image decoding method includes: determining a reference mode for determining an intra prediction mode of a chroma block corresponding to the current block; And determining an intra prediction mode of the chroma block based on the reference mode.
- the current block is a luma block
- the reference mode may be determined as a planner mode.
- the intra prediction mode of the chroma block may be determined as the reference mode.
- the reference mode may be determined based on the intra prediction mode of the current block.
- an image decoding apparatus including a memory and at least one processor, wherein the at least one processor identifies a prediction mode of a current block, and the prediction mode of the current block is intra
- a candidate intra prediction mode for the current block is determined based on a prediction mode of a neighboring block located around the current block, and a list of candidate intra prediction modes of the current block based on the candidate intra prediction mode Is generated, and the intra prediction mode of the current block is determined based on the candidate intra prediction mode list, and when the prediction mode of the neighboring block is a matrix based intra prediction (MIP) mode, the candidate intra prediction mode is a predetermined It may be determined as an intra prediction mode.
- MIP matrix based intra prediction
- an image encoding method performed by an image encoding apparatus may include: identifying a prediction mode of a current block; If the prediction mode of the current block is an intra prediction mode, determining a candidate intra prediction mode based on a prediction mode of a neighboring block located around the current block; Generating a list of candidate intra prediction modes of the current block based on the candidate intra prediction modes; And encoding an intra prediction mode indicator indicating an intra prediction mode of the current block based on the candidate intra prediction mode list.
- the prediction mode of the neighboring block is a matrix based intra prediction (MIP) mode
- the candidate intra prediction mode may be determined as a predetermined intra prediction mode.
- the predetermined intra prediction mode may be any one of a planar mode, a DC mode, a horizontal mode, and a vertical mode.
- the candidate intra prediction mode list is generated based on a first candidate intra prediction mode and a second candidate intra prediction mode, and the first candidate intra prediction mode is based on a prediction mode of a first neighboring block located around the current block.
- the second candidate intra prediction mode is determined based on a prediction mode of a second neighboring block located around the current block, wherein the prediction mode of the first neighboring block and the prediction mode of the second neighboring block are When all are MIP modes, the candidate intra prediction mode list may be determined to include a predetermined candidate intra prediction mode.
- the predetermined candidate intra prediction mode may include at least one of a DC mode and a vertical mode.
- a transmission method may transmit a bitstream generated by the image encoding apparatus or image encoding method of the present disclosure.
- a computer-readable recording medium may store a bitstream generated by the image encoding method or image encoding apparatus of the present disclosure.
- an image encoding/decoding method and apparatus with improved encoding/decoding efficiency may be provided.
- an image encoding/decoding method and apparatus capable of reducing prediction complexity by mapping an intra prediction mode of a neighboring block to a predetermined prediction mode may be provided.
- a method for transmitting a bitstream generated by an image encoding method or apparatus according to the present disclosure may be provided.
- a recording medium storing a bitstream generated by an image encoding method or apparatus according to the present disclosure may be provided.
- a recording medium may be provided that stores a bitstream that is received and decoded by the image decoding apparatus according to the present disclosure and used for image restoration.
- FIG. 1 is a diagram schematically illustrating a video coding system to which an embodiment according to the present disclosure can be applied.
- FIG. 2 is a diagram schematically illustrating an image encoding apparatus to which an embodiment according to the present disclosure can be applied.
- FIG. 3 is a diagram schematically illustrating an image decoding apparatus to which an embodiment according to the present disclosure can be applied.
- FIG. 4 is a diagram illustrating a slice and tile structure according to an embodiment.
- 5 to 6 are diagrams for explaining a directional intra prediction mode according to an embodiment.
- FIG. 7 is a diagram illustrating a mapping table for mapping a MIP mode to a general intra prediction mode according to an embodiment.
- FIG 8 and 9 are reference diagrams for explaining an MIP mode according to an embodiment.
- 10 to 12 are diagrams illustrating syntax of a coding unit according to an embodiment.
- FIG. 13 is a diagram illustrating a mapping table for mapping a general intra prediction mode to an MIP mode according to an embodiment.
- FIG. 14 is a diagram illustrating an MPM list configured with a predetermined MIP intra prediction mode according to an embodiment.
- 15 is a flowchart illustrating a method of encoding an intra prediction mode using an MPM list according to an embodiment.
- 16 is a flowchart illustrating a method of performing decoding by using an MPM list by a decoding apparatus according to an embodiment.
- 17 is a flowchart illustrating a method of generating an MPM list using a mapping method according to an embodiment.
- FIG. 18 is a flowchart illustrating a method of generating an MPM list using a mapping method according to another embodiment.
- 19 is a flowchart illustrating a method of generating an MPM list using a simplified mapping method according to an embodiment.
- 20 is a flowchart illustrating a method of generating an MPM list using a simplified mapping method by an encoding apparatus according to an embodiment.
- 21 is a flowchart illustrating a method of generating an MPM list by using a simplified mapping method by a decoding apparatus according to an embodiment.
- FIG. 22 is a diagram illustrating encoding performance data using the simplified mapping method of FIG. 19.
- FIG. 23 is a flowchart illustrating a method of generating an MPM list using a simplified mapping method according to another embodiment.
- 24 is a diagram illustrating encoding performance data using the simplified mapping method of FIG. 23.
- 25 is a flowchart illustrating a method of generating an MPM list using a mapping method according to another embodiment.
- 26 is a diagram illustrating encoding performance data using a simplified mapping method according to another embodiment.
- FIG. 27 is a diagram illustrating a content streaming system to which an embodiment of the present disclosure can be applied.
- first and second are used only for the purpose of distinguishing one component from other components, and do not limit the order or importance of the components unless otherwise stated. Accordingly, within the scope of the present disclosure, a first component in one embodiment may be referred to as a second component in another embodiment, and similarly, a second component in one embodiment is a first component in another embodiment. It can also be called.
- components that are distinguished from each other are intended to clearly describe each feature, and do not necessarily mean that the components are separated. That is, a plurality of components may be integrated to be formed in one hardware or software unit, or one component may be distributed in a plurality of hardware or software units. Therefore, even if not stated otherwise, such integrated or distributed embodiments are also included in the scope of the present disclosure.
- the components described in various embodiments do not necessarily mean essential components, and some may be optional components. Accordingly, an embodiment consisting of a subset of components described in an embodiment is also included in the scope of the present disclosure. In addition, embodiments including other elements in addition to the elements described in the various embodiments are included in the scope of the present disclosure.
- the present disclosure relates to encoding and decoding of an image, and terms used in the present disclosure may have a common meaning commonly used in the technical field to which the present disclosure belongs unless newly defined in the present disclosure.
- a "picture” generally refers to a unit representing one image in a specific time period
- a slice/tile is a coding unit constituting a part of a picture
- one picture is one It may be composed of more than one slice/tile.
- a slice/tile may include one or more coding tree units (CTU).
- pixel or "pel” may mean a minimum unit constituting one picture (or image).
- sample may be used as a term corresponding to a pixel.
- a sample may generally represent a pixel or a value of a pixel, may represent only a pixel/pixel value of a luma component, or may represent only a pixel/pixel value of a chroma component.
- unit may represent a basic unit of image processing.
- the unit may include at least one of a specific area of a picture and information related to the corresponding area.
- the unit may be used interchangeably with terms such as “sample array”, “block”, or “area” depending on the case.
- the MxN block may include samples (or sample arrays) consisting of M columns and N rows, or a set (or array) of transform coefficients.
- current block may mean one of “current coding block”, “current coding unit”, “coding object block”, “decoding object block”, or “processing object block”.
- current block may mean “current prediction block” or “prediction target block”.
- transformation inverse transformation
- quantization inverse quantization
- current block may mean “current transform block” or “transform target block”.
- filtering is performed, “current block” may mean “block to be filtered”.
- current block may mean “a luma block of the current block” unless explicitly stated as a chroma block.
- the "chroma block of the current block” may be expressed by including an explicit description of a chroma block, such as “chroma block” or "current chroma block”.
- FIG. 1 shows a video coding system according to this disclosure.
- a video coding system may include an encoding device 10 and a decoding device 20.
- the encoding device 10 may transmit the encoded video and/or image information or data in a file or streaming format to the decoding device 20 through a digital storage medium or a network.
- the encoding apparatus 10 may include a video source generator 11, an encoder 12, and a transmission unit 13.
- the decoding apparatus 20 may include a receiving unit 21, a decoding unit 22, and a rendering unit 23.
- the encoder 12 may be referred to as a video/image encoder, and the decoder 22 may be referred to as a video/image decoder.
- the transmission unit 13 may be included in the encoding unit 12.
- the receiving unit 21 may be included in the decoding unit 22.
- the rendering unit 23 may include a display unit, and the display unit may be configured as a separate device or an external component.
- the video source generator 11 may acquire a video/image through a process of capturing, synthesizing, or generating a video/image.
- the video source generator 11 may include a video/image capturing device and/or a video/image generating device.
- the video/image capture device may include, for example, one or more cameras, a video/image archive including previously captured video/images, and the like.
- the video/image generating device may include, for example, a computer, a tablet and a smartphone, and may (electronically) generate a video/image.
- a virtual video/image may be generated through a computer or the like, and in this case, a video/image capturing process may be substituted as a process of generating related data.
- the encoder 12 may encode an input video/image.
- the encoder 12 may perform a series of procedures such as prediction, transformation, and quantization for compression and encoding efficiency.
- the encoder 12 may output encoded data (coded video/image information) in a bitstream format.
- the transmission unit 13 may transmit the encoded video/image information or data output in the form of a bitstream to the receiving unit 21 of the decoding apparatus 20 through a digital storage medium or a network in a file or streaming form.
- Digital storage media may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, and SSD.
- the transmission unit 13 may include an element for generating a media file through a predetermined file format, and may include an element for transmission through a broadcast/communication network.
- the receiving unit 21 may extract/receive the bitstream from the storage medium or network and transmit it to the decoding unit 22.
- the decoder 22 may decode the video/image by performing a series of procedures such as inverse quantization, inverse transformation, and prediction corresponding to the operation of the encoder 12.
- the rendering unit 23 may render the decoded video/image.
- the rendered video/image may be displayed through the display unit.
- FIG. 2 is a diagram schematically illustrating an image encoding apparatus to which an embodiment according to the present disclosure can be applied.
- the image encoding apparatus 100 includes an image segmentation unit 110, a subtraction unit 115, a transform unit 120, a quantization unit 130, an inverse quantization unit 140, and an inverse transform unit ( 150), an addition unit 155, a filtering unit 160, a memory 170, an inter prediction unit 180, an intra prediction unit 185, and an entropy encoding unit 190.
- the inter prediction unit 180 and the intra prediction unit 185 may be collectively referred to as a “prediction unit”.
- the transform unit 120, the quantization unit 130, the inverse quantization unit 140, and the inverse transform unit 150 may be included in a residual processing unit.
- the residual processing unit may further include a subtraction unit 115.
- All or at least some of the plurality of constituent units constituting the image encoding apparatus 100 may be implemented as one hardware component (eg, an encoder or a processor) according to embodiments.
- the memory 170 may include a decoded picture buffer (DPB), and may be implemented by a digital storage medium.
- DPB decoded picture buffer
- the image dividing unit 110 may divide an input image (or picture, frame) input to the image encoding apparatus 100 into one or more processing units.
- the processing unit may be referred to as a coding unit (CU).
- the coding unit is a coding tree unit (CTU) or a largest coding unit (LCU) recursively according to a QT/BT/TT (Quad-tree/binary-tree/ternary-tree) structure ( It can be obtained by dividing recursively.
- one coding unit may be divided into a plurality of coding units of a deeper depth based on a quad tree structure, a binary tree structure, and/or a ternary tree structure.
- a quad tree structure may be applied first, and a binary tree structure and/or a ternary tree structure may be applied later.
- the coding procedure according to the present disclosure may be performed based on the final coding unit that is no longer divided.
- the largest coding unit may be directly used as the final coding unit, or a coding unit of a lower depth obtained by dividing the largest coding unit may be used as the final cornet unit.
- the coding procedure may include a procedure such as prediction, transformation, and/or restoration described later.
- the processing unit of the coding procedure may be a prediction unit (PU) or a transform unit (TU).
- Each of the prediction unit and the transform unit may be divided or partitioned from the final coding unit.
- the prediction unit may be a unit of sample prediction
- the transform unit may be a unit for inducing a transform coefficient and/or a unit for inducing a residual signal from the transform coefficient.
- the prediction unit (inter prediction unit 180 or intra prediction unit 185) performs prediction on a block to be processed (current block), and generates a predicted block including prediction samples for the current block. Can be generated.
- the prediction unit may determine whether intra prediction or inter prediction is applied in units of the current block or CU.
- the prediction unit may generate various information on prediction of the current block and transmit it to the entropy encoding unit 190.
- the information on prediction may be encoded by the entropy encoding unit 190 and output in the form of a bitstream.
- the intra prediction unit 185 may predict the current block by referring to samples in the current picture.
- the referenced samples may be located in a neighborhood of the current block or may be located away from each other according to an intra prediction mode and/or an intra prediction technique.
- the intra prediction modes may include a plurality of non-directional modes and a plurality of directional modes.
- the non-directional mode may include, for example, a DC mode and a planar mode (Planar mode).
- the directional mode may include, for example, 33 directional prediction modes or 65 directional prediction modes, depending on the degree of detail of the prediction direction. However, this is an example, and more or less directional prediction modes may be used depending on the setting.
- the intra prediction unit 185 may determine a prediction mode applied to the current block by using the prediction mode applied to the neighboring block.
- the inter prediction unit 180 may derive a predicted block for the current block based on a reference block (reference sample array) specified by a motion vector on the reference picture.
- motion information may be predicted in units of blocks, subblocks, or samples based on a correlation between motion information between a neighboring block and a current block.
- the motion information may include a motion vector and a reference picture index.
- the motion information may further include inter prediction direction (L0 prediction, L1 prediction, Bi prediction, etc.) information.
- the neighboring block may include a spatial neighboring block existing in the current picture and a temporal neighboring block existing in the reference picture.
- the reference picture including the reference block and the reference picture including the temporal neighboring block may be the same or different from each other.
- the temporal neighboring block may be referred to as a collocated reference block, a collocated CU (colCU), or the like.
- the reference picture including the temporal neighboring block may be referred to as a collocated picture (colPic).
- the inter prediction unit 180 constructs a motion information candidate list based on neighboring blocks, and provides information indicating which candidate is used to derive a motion vector and/or a reference picture index of the current block. Can be generated. Inter prediction may be performed based on various prediction modes.
- the inter prediction unit 180 may use motion information of a neighboring block as motion information of a current block.
- a residual signal may not be transmitted.
- motion vector prediction (MVP) mode motion vectors of neighboring blocks are used as motion vector predictors, and indicators for motion vector difference and motion vector predictors ( indicator) to signal the motion vector of the current block.
- the motion vector difference may mean a difference between a motion vector of a current block and a motion vector predictor.
- the prediction unit may generate a prediction signal based on various prediction methods and/or prediction techniques to be described later. For example, the prediction unit may apply intra prediction or inter prediction for prediction of the current block, and may simultaneously apply intra prediction and inter prediction. A prediction method in which intra prediction and inter prediction are applied simultaneously for prediction of a current block may be called combined inter and intra prediction (CIIP). Also, the prediction unit may perform intra block copy (IBC) for prediction of the current block. The intra block copy may be used for content image/movie coding such as games, such as, for example, screen content coding (SCC). IBC is a method of predicting a current block using a reference block in a current picture located a predetermined distance away from the current block.
- CIIP combined inter and intra prediction
- IBC intra block copy
- the intra block copy may be used for content image/movie coding such as games, such as, for example, screen content coding (SCC).
- IBC is a method of predicting a current block using a reference block in a current
- the position of the reference block in the current picture may be encoded as a vector (block vector) corresponding to the predetermined distance.
- IBC basically performs prediction in the current picture, but can be performed similarly to inter prediction in that it derives a reference block in the current picture. That is, the IBC may use at least one of the inter prediction techniques described in this disclosure.
- the prediction signal generated through the prediction unit may be used to generate a reconstructed signal or may be used to generate a residual signal.
- the subtraction unit 115 subtracts the prediction signal (predicted block, prediction sample array) output from the prediction unit from the input image signal (original block, original sample array), and subtracts a residual signal (remaining block, residual sample array). ) Can be created.
- the generated residual signal may be transmitted to the converter 120.
- the transform unit 120 may generate transform coefficients by applying a transform technique to the residual signal.
- the transformation technique uses at least one of DCT (Discrete Cosine Transform), DST (Discrete Sine Transform), KLT (Karhunen-Loeve Transform), GBT (Graph-Based Transform), or CNT (Conditionally Non-linear Transform).
- DCT Discrete Cosine Transform
- DST Discrete Sine Transform
- KLT Kerhunen-Loeve Transform
- GBT Graph-Based Transform
- CNT Conditionally Non-linear Transform
- GBT refers to the transformation obtained from this graph when the relationship information between pixels is expressed in a graph.
- CNT refers to a transformation obtained based on generating a prediction signal using all previously reconstructed pixels.
- the conversion process may be applied to a block of pixels having the same size of a square, or may be applied to a block of a variable size other than a square.
- the quantization unit 130 may quantize the transform coefficients and transmit the quantization to the entropy encoding unit 190.
- the entropy encoding unit 190 may encode a quantized signal (information on quantized transform coefficients) and output it as a bitstream.
- the information on the quantized transform coefficients may be called residual information.
- the quantization unit 130 may rearrange the quantized transform coefficients in the form of a block into a one-dimensional vector form based on a coefficient scan order, and the quantized transform coefficients in the form of the one-dimensional vector It is also possible to generate information about transform coefficients.
- the entropy encoding unit 190 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 190 may encode together or separately information necessary for video/image restoration (eg, values of syntax elements) in addition to quantized transform coefficients.
- the encoded information (eg, encoded video/video information) may be transmitted or stored in a bitstream format in units of network abstraction layer (NAL) units.
- the video/video information may further include information about various parameter sets, such as an adaptation parameter set (APS), a picture parameter set (PPS), a sequence parameter set (SPS), or a video parameter set (VPS).
- the video/video information may further include general constraint information.
- the signaling information, transmitted information, and/or syntax elements mentioned in the present disclosure may be encoded through the above-described encoding procedure and included in the bitstream.
- the bitstream may be transmitted through a network or may be stored in a digital storage medium.
- the network may include a broadcasting network and/or a communication network
- the digital storage medium may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, and SSD.
- a transmission unit (not shown) for transmitting the signal output from the entropy encoding unit 190 and/or a storage unit (not shown) for storing may be provided as an inner/outer element of the image encoding apparatus 100, or transmission The unit may be provided as a component of the entropy encoding unit 190.
- the quantized transform coefficients output from the quantization unit 130 may be used to generate a residual signal.
- a residual signal residual block or residual samples
- inverse quantization and inverse transform residual transforms
- the addition unit 155 adds the reconstructed residual signal to the prediction signal output from the inter prediction unit 180 or the intra prediction unit 185 to obtain a reconstructed signal (restored picture, reconstructed block, reconstructed sample array). Can be generated.
- a reconstructed signal (restored picture, reconstructed block, reconstructed sample array).
- the predicted block may be used as a reconstructed block.
- the addition unit 155 may be referred to as a restoration unit or a restoration block generation unit.
- the generated reconstructed signal may be used for intra prediction of the next processing target block in the current picture, and may be used for inter prediction of the next picture through filtering as described later.
- the filtering unit 160 may apply filtering to the reconstructed signal to improve subjective/objective image quality.
- the filtering unit 160 may generate a modified reconstructed picture by applying various filtering methods to the reconstructed picture, and the modified reconstructed picture may be converted to the memory 170, specifically, the DPB of the memory 170. Can be saved on.
- the various filtering methods may include, for example, deblocking filtering, sample adaptive offset, adaptive loop filter, bilateral filter, and the like.
- the filtering unit 160 may generate a variety of filtering information and transmit it to the entropy encoding unit 190 as described later in the description of each filtering method.
- the filtering information may be encoded by the entropy encoding unit 190 and output in the form of a bitstream.
- the modified reconstructed picture transmitted to the memory 170 may be used as a reference picture in the inter prediction unit 180.
- the image encoding apparatus 100 may avoid prediction mismatch between the image encoding apparatus 100 and the image decoding apparatus, and may improve encoding efficiency.
- the DPB in the memory 170 may store a modified reconstructed picture for use as a reference picture in the inter prediction unit 180.
- the memory 170 may store motion information of a block from which motion information in a current picture is derived (or encoded) and/or motion information of blocks in a picture that have already been reconstructed.
- the stored motion information may be transmitted to the inter prediction unit 180 to be used as motion information of spatial neighboring blocks or motion information of temporal neighboring blocks.
- the memory 170 may store reconstructed samples of reconstructed blocks in the current picture, and may be transmitted to the intra prediction unit 185.
- FIG. 3 is a diagram schematically illustrating an image decoding apparatus to which an embodiment according to the present disclosure can be applied.
- the image decoding apparatus 200 includes an entropy decoding unit 210, an inverse quantization unit 220, an inverse transform unit 230, an addition unit 235, a filtering unit 240, and a memory 250. ), an inter prediction unit 260 and an intra prediction unit 265 may be included.
- the inter prediction unit 260 and the intra prediction unit 265 may be collectively referred to as a “prediction unit”.
- the inverse quantization unit 220 and the inverse transform unit 230 may be included in the residual processing unit.
- All or at least some of the plurality of constituent units constituting the image decoding apparatus 200 may be implemented as one hardware component (eg, a decoder or a processor) according to embodiments.
- the memory 170 may include a DPB and may be implemented by a digital storage medium.
- the image decoding apparatus 200 receiving a bitstream including video/image information may reconstruct an image by performing a process corresponding to the process performed by the image encoding apparatus 100 of FIG. 2.
- the image decoding apparatus 200 may perform decoding using a processing unit applied in the image encoding apparatus.
- the processing unit of decoding may be, for example, a coding unit.
- the coding unit may be a coding tree unit or may be obtained by dividing the largest coding unit.
- the reconstructed image signal decoded and output through the image decoding apparatus 200 may be reproduced through a reproduction device (not shown).
- the image decoding apparatus 200 may receive a signal output from the image encoding apparatus of FIG. 2 in the form of a bitstream.
- the received signal may be decoded through the entropy decoding unit 210.
- the entropy decoding unit 210 may parse the bitstream to derive information (eg, video/video information) necessary for image restoration (or picture restoration).
- the video/video information may further include information about various parameter sets, such as an adaptation parameter set (APS), a picture parameter set (PPS), a sequence parameter set (SPS), or a video parameter set (VPS).
- the video/video information may further include general constraint information.
- the image decoding apparatus may additionally use information on the parameter set and/or the general restriction information to decode an image.
- the signaling information, received information and/or syntax elements mentioned in the present disclosure may be obtained from the bitstream by being decoded through the decoding procedure.
- the entropy decoding unit 210 decodes information in the bitstream based on a coding method such as exponential Golomb coding, CAVLC, or CABAC, and a value of a syntax element required for image restoration, a quantized value of a transform coefficient related to a residual. Can be printed.
- the CABAC entropy decoding method receives a bin corresponding to each syntax element in a bitstream, and includes information on the syntax element to be decoded, information on decoding information of a neighboring block and a block to be decoded, or information on a symbol/bin decoded in a previous step
- the context model is determined by using and, according to the determined context model, the probability of occurrence of bins is predicted to perform arithmetic decoding of bins to generate symbols corresponding to the values of each syntax element. I can.
- the CABAC entropy decoding method may update the context model using information of the decoded symbol/bin for the context model of the next symbol/bin after the context model is determined.
- the entropy decoding unit 210 Among the information decoded by the entropy decoding unit 210, information on prediction is provided to the prediction unit (inter prediction unit 260 and intra prediction unit 265), and the register on which entropy decoding is performed by the entropy decoding unit 210 Dual values, that is, quantized transform coefficients and related parameter information may be input to the inverse quantization unit 220. In addition, information about filtering among information decoded by the entropy decoding unit 210 may be provided to the filtering unit 240.
- a receiving unit for receiving a signal output from the image encoding device may be additionally provided as an inner/outer element of the image decoding device 200, or the receiving unit is provided as a component of the entropy decoding unit 210 It could be.
- the video decoding apparatus may include an information decoder (video/video/picture information decoder) and/or a sample decoder (video/video/picture sample decoder).
- the information decoder may include an entropy decoding unit 210, and the sample decoder includes an inverse quantization unit 220, an inverse transform unit 230, an addition unit 235, a filtering unit 240, a memory 250, It may include at least one of the inter prediction unit 260 and the intra prediction unit 265.
- the inverse quantization unit 220 may inverse quantize the quantized transform coefficients and output transform coefficients.
- the inverse quantization unit 220 may rearrange the quantized transform coefficients into a two-dimensional block shape. In this case, the rearrangement may be performed based on a coefficient scan order performed by the image encoding apparatus.
- the inverse quantization unit 220 may perform inverse quantization on quantized transform coefficients by using a quantization parameter (eg, quantization step size information) and obtain transform coefficients.
- a quantization parameter eg, quantization step size information
- the inverse transform unit 230 may inversely transform transform coefficients to obtain a residual signal (residual block, residual sample array).
- the prediction unit may perform prediction on the current block and generate a predicted block including prediction samples for the current block.
- the prediction unit may determine whether intra prediction or inter prediction is applied to the current block based on the prediction information output from the entropy decoding unit 210, and determine a specific intra/inter prediction mode (prediction technique). I can.
- the prediction unit can generate the prediction signal based on various prediction methods (techniques) described later.
- the intra prediction unit 265 may predict the current block by referring to samples in the current picture.
- the description of the intra prediction unit 185 may be equally applied to the intra prediction unit 265.
- the inter prediction unit 260 may derive a predicted block for the current block based on a reference block (reference sample array) specified by a motion vector on the reference picture.
- motion information may be predicted in units of blocks, subblocks, or samples based on a correlation between motion information between a neighboring block and a current block.
- the motion information may include a motion vector and a reference picture index.
- the motion information may further include inter prediction direction (L0 prediction, L1 prediction, Bi prediction, etc.) information.
- the neighboring block may include a spatial neighboring block existing in the current picture and a temporal neighboring block existing in the reference picture.
- the inter prediction unit 260 may construct a motion information candidate list based on neighboring blocks, and derive a motion vector and/or a reference picture index of the current block based on the received candidate selection information.
- Inter prediction may be performed based on various prediction modes (techniques), and the information about the prediction may include information indicating a mode (technique) of inter prediction for the current block.
- the addition unit 235 is reconstructed by adding the obtained residual signal to the prediction signal (predicted block, prediction sample array) output from the prediction unit (including the inter prediction unit 260 and/or the intra prediction unit 265).
- a signal (restored picture, reconstructed block, reconstructed sample array) can be generated.
- the predicted block may be used as a reconstructed block.
- the description of the addition unit 155 may be equally applied to the addition unit 235.
- the addition unit 235 may be referred to as a restoration unit or a restoration block generation unit.
- the generated reconstructed signal may be used for intra prediction of the next processing target block in the current picture, and may be used for inter prediction of the next picture through filtering as described later.
- the filtering unit 240 may apply filtering to the reconstructed signal to improve subjective/objective image quality.
- the filtering unit 240 may apply various filtering methods to the reconstructed picture to generate a modified reconstructed picture, and the modified reconstructed picture may be converted to the memory 250, specifically, the DPB of the memory 250. Can be saved on.
- the various filtering methods may include, for example, deblocking filtering, sample adaptive offset, adaptive loop filter, bilateral filter, and the like.
- the (modified) reconstructed picture stored in the DPB of the memory 250 may be used as a reference picture in the inter prediction unit 260.
- the memory 250 may store motion information of a block from which motion information in a current picture is derived (or decoded) and/or motion information of blocks in a picture that have already been reconstructed.
- the stored motion information may be transmitted to the inter prediction unit 260 to be used as motion information of a spatial neighboring block or motion information of a temporal neighboring block.
- the memory 250 may store reconstructed samples of reconstructed blocks in the current picture, and may be transmitted to the intra prediction unit 265.
- embodiments described in the filtering unit 160, the inter prediction unit 180, and the intra prediction unit 185 of the image encoding apparatus 100 are respectively the filtering unit 240 of the image decoding apparatus 200, The same or corresponding to the inter prediction unit 260 and the intra prediction unit 265 may be applied.
- An image encoding/decoding method may be performed based on a partitioning structure according to an embodiment.
- procedures such as prediction, residual processing ((inverse) transformation, (inverse) quantization, etc.), syntax element coding, filtering, etc. are CTU, CU (and/or TU, PU) derived based on the partitioning structure.
- the block partitioning procedure may be performed by the image segmentation unit 110 of the above-described encoding apparatus, so that partitioning-related information may be (encoded) processed by the entropy encoding unit 190 and transmitted to the decoding apparatus in the form of a bitstream.
- the entropy decoding unit 210 of the decoding apparatus derives the block partitioning structure of the current picture based on the partitioning-related information obtained from the bitstream, and based on this, a series of procedures for decoding an image (ex. prediction, residual). Processing, block/picture restoration, in-loop filtering, etc.) can be performed.
- the CU size and the TU size may be the same, or a plurality of TUs may exist in the CU region. Meanwhile, the CU size may generally represent the luma component (sample) CB size.
- the TU size may generally indicate the luma component (sample) TB size.
- Chroma component (sample) CB or TB size is the luma component (sample) according to the component ratio according to the chroma format (color format, eg 4:4:4, 4:2:2, 4:2:0, etc.) of the picture/video. It can be derived based on the CB or TB size.
- the TU size may be derived based on maxTbSize indicating the maximum available TB size. For example, when the CU size is larger than the maxTbSize, a plurality of TUs (TBs) of the maxTbSize may be derived from the CU, and transformation/inverse transformation may be performed in units of the TU (TB).
- the intra prediction mode/type is derived in units of the CU (or CB), and procedures for deriving neighboring reference samples and generating prediction samples may be performed in units of TU (or TB).
- the intra prediction mode/type is derived in units of the CU (or CB)
- procedures for deriving neighboring reference samples and generating prediction samples may be performed in units of TU (or TB).
- one or a plurality of TUs (or TBs) may exist in one CU (or CB) region, and in this case, the plurality of TUs (or TBs) may share the same intra prediction mode/type.
- an image processing unit may have a hierarchical structure.
- one picture may be divided into one or more tiles or tile groups.
- One tile group may include one or more tiles.
- One tile may contain more than one CTU.
- the CTU may be divided into one or more CUs.
- a tile may be composed of a rectangular area including CTUs that are aggregated in a specific row and a specific column in the picture.
- the tile group may include an integer number of tiles according to a tile raster scan in a picture.
- the tile group header may signal information/parameters applicable to the corresponding tile group.
- the encoding/decoding procedure for the tile or group of tiles may be processed in parallel.
- the tile group is tile group types including an intra tile group (intra (I) tile group), a one-way prediction tile group (predictive (P) tile group), and a bi-predictive (B) tile group. It can have one of the types.
- intra tile group intra (I) tile group
- P tile group one-way prediction tile group
- B tile group bi-predictive tile group. It can have one of the types.
- inter prediction is not used for prediction, only intra prediction can be used. Of course, even in this case, the original sample value may be coded and signaled without prediction.
- intra prediction or inter prediction may be used, and when inter prediction is used, only uni prediction may be used.
- intra prediction or inter prediction may be used for blocks in the B tile group, and when inter prediction is used, up to bi prediction may be used.
- one picture may be divided into one or more slices.
- a slice may be composed of an integer number of tiles, or may be composed of a set of CTUs arranged in rows in one tile.
- Two modes of slice can be supported. One is a raster scan slice mode, and the other is a square slice mode.
- a slice may be composed of tiles that are continuous in a raster scan order existing in one picture.
- a slice may be configured by collecting tiles existing in one picture in a square shape. The tiles in the square slice may be scanned according to the tile raster scan order within the slice.
- the tile/tile group, slice, and maximum and minimum coding unit sizes are determined according to the characteristics of the image (for example, resolution) or in consideration of coding efficiency or parallel processing, and information or information about this can be derived. Information may be included in the bitstream.
- the decoder may obtain information indicating whether a slice of a current picture, a tile/tile group, and whether a CTU in a tile is divided into a plurality of coding units. Efficiency can be improved if such information is acquired (transmitted) only under certain conditions.
- the slice header or tile group header may include information/parameters commonly applicable to the slice or tile group.
- APS APS syntax
- PPS PPS syntax
- SPS SPS syntax
- VPS VPS syntax
- the high-level syntax may include at least one of the APS syntax, PPS syntax, SPS syntax, and VPS syntax.
- information on the division and configuration of the tile/tile group may be configured at an encoding end through the higher level syntax and transmitted to a decoding apparatus in the form of a bitstream.
- the coding tree scheme may support that luma and chroma component blocks have a separate block tree structure.
- luma and chroma blocks in one CTU may be represented as a single tree (SINGLE_TREE).
- SINGLE_TREE single tree
- luma and chroma blocks in one CTU have an individual block tree structure, it may be referred to as a dual tree (DUAL_TREE).
- DUAL_TREE the block tree type for the luma component
- DUAL_TREE_CHROMA the block tree type for the chroma component
- luma and chroma CTBs in one CTU may be limited to have the same coding tree structure.
- luma and chroma blocks may have separate block tree structures from each other. If the individual block tree mode is applied, the luma CTB may be divided into CUs based on a specific coding tree structure, and the chroma CTB may be divided into chroma CUs based on a different coding tree structure.
- a CU in an I slice/tile group may be composed of a coding block of a luma component or a coding block of two chroma components, and a CU of a P or B slice/tile group may be composed of blocks of three color components.
- a slice may be referred to as a tile/tile group, and a tile/tile group may be referred to as a slice.
- Intra prediction may indicate prediction of generating prediction samples for a current block based on reference samples in a picture (hereinafter, referred to as a current picture) to which the current block belongs.
- a current picture a picture
- surrounding reference samples to be used for intra prediction of the current block may be derived.
- the neighboring reference samples of the current block are a sample adjacent to the left boundary of the current block of size nW x nH and a total of 2 x nH samples adjacent to the bottom-left, and the top of the current block A sample adjacent to the boundary, a total of 2 x nW samples adjacent to the top-right side, and one sample adjacent to the top-left side of the current block may be included.
- the peripheral reference samples of the current block may include a plurality of columns of upper peripheral samples and a plurality of rows of left peripheral 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 nW x nH, a total of nW samples adjacent to the bottom boundary of the current block, and the current block. It may include one sample adjacent to the bottom-right side.
- the neighboring reference samples may be derived in units of sub-partitions.
- the decoding apparatus may configure neighboring reference samples to be used for prediction by substituting samples that are not available with available samples.
- surrounding reference samples to be used for prediction may be configured through interpolation of available samples.
- a prediction sample can be derived based on an average or interpolation of neighboring reference samples of the current block, and (ii) neighboring reference samples of the current block Among them, the prediction sample may be derived based on a reference sample existing in a specific (prediction) direction with respect to the prediction sample.
- it may be called a non-directional mode or a non-angular mode
- it may be called a directional mode or an angular mode.
- a prediction sample may be generated.
- LIP linear interpolation intra prediction
- chroma prediction samples may be generated based on luma samples using a linear model. This case may be referred to as LM mode.
- a temporary prediction sample of the current block is derived based on the filtered surrounding reference samples, and at least one of the existing surrounding reference samples, that is, unfiltered surrounding reference samples, derived according to the intra prediction mode.
- a prediction sample of the current block may be derived by weighted sum of a reference sample and the temporary prediction sample.
- the above case may be referred to as PDPC (Position dependent intra prediction).
- a reference sample line with the highest prediction accuracy is selected among the neighboring multi-reference sample lines of the current block, and a prediction sample is derived from the reference sample located in the prediction direction, and at this time, the used reference sample line is decoded.
- Intra prediction coding may be performed by instructing (signaling) the device.
- MRL multi-reference line
- intra prediction is performed based on the same intra prediction mode, and neighboring reference samples may be derived and used for each subpartition. That is, in this case, the intra prediction mode for the current block is equally applied to the subpartitions, but by deriving and using neighboring reference samples in units of the subpartitions, intra prediction performance may be improved in some cases.
- This prediction method may be referred to as intra sub-partitions (ISP) or ISP-based intra prediction.
- a plurality of reference samples located around the prediction direction (around the fractional sample position) A predicted sample value may be derived through interpolation.
- the above-described intra prediction methods may be referred to as an intra prediction type in distinction from the intra prediction mode.
- the generated prediction signal and surrounding sample values are used in the vertical and horizontal directions.
- Matrix-weighted Intra Prediction (MIP) for performing intra prediction of the current block may be applied by interpolating to generate a prediction signal of an original size.
- the intra prediction type may be referred to as 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, ISP, and MIP.
- the information on the intra prediction type may be encoded by an encoding device, included in a bitstream, and signaled to a decoding device.
- the information on the intra prediction type may be implemented in various forms, such as flag information indicating whether each intra prediction type is applied or index information indicating one of several intra prediction types.
- post-processing filtering may be performed on the derived prediction samples as necessary.
- the intra prediction procedure may include determining an intra prediction mode/type, deriving a neighboring reference sample, and deriving an intra prediction mode/type based prediction sample.
- a post-filtering step may be performed on the derived prediction samples as necessary.
- the encoding apparatus performs intra prediction on the current block.
- the encoding apparatus may derive an intra prediction mode/type for the current block, derive neighboring reference samples of the current block, and generate prediction samples in the current block based on the intra prediction mode/type and the neighboring reference samples. can do.
- the procedure of determining the intra prediction mode/type, deriving neighboring reference samples, and generating prediction samples may be simultaneously performed, or one procedure may be performed before the other procedure.
- the intra prediction unit 185 may further include a prediction sample filter.
- the encoding apparatus may determine a mode/type applied to the current block from among a plurality of intra prediction modes/types.
- the encoding apparatus may compare rate-distortion (RD) costs for the intra prediction modes/types and determine an optimal intra prediction mode/type for the current block.
- RD rate-distortion
- the encoding apparatus may perform a prediction sample filtering procedure.
- Predictive sample filtering may be referred to as post filtering. Some or all of the prediction samples may be filtered by the prediction sample filtering procedure. In some cases, the prediction sample filtering procedure may be omitted.
- the encoding apparatus may generate residual samples for the current block based on the prediction samples.
- the encoding apparatus may compare the prediction samples from the original samples of the current block based on a phase and derive the residual samples.
- the encoding apparatus may encode image information including information on the intra prediction (prediction information) and residual information on the residual samples.
- the prediction information may include the intra prediction mode information and the intra prediction type information.
- the encoding apparatus may output the encoded image information in the form of a bitstream.
- the output bitstream may be delivered to a decoding device through a storage medium or a network.
- the residual information may include a residual coding syntax to be described later.
- the encoding apparatus may transform/quantize the residual samples to derive quantized transform coefficients.
- the residual information may include information on the quantized transform coefficients.
- the encoding apparatus may generate a reconstructed picture (including reconstructed samples and a reconstructed block). To this end, the encoding apparatus may perform inverse quantization/inverse transformation on the quantized transform coefficients again to derive (modified) residual samples. The reason why the residual samples are transformed/quantized and then inverse quantized/inverse transformed is performed again to derive residual samples identical to the residual samples derived from the decoding apparatus as described above.
- the encoding apparatus may generate a reconstructed block including reconstructed samples for the current block based on the prediction samples and the (modified) residual samples. A reconstructed picture for the current picture may be generated based on the reconstructed block. As described above, an in-loop filtering procedure or the like may be further applied to the reconstructed picture.
- the decoding apparatus may perform an operation corresponding to the operation performed by the encoding apparatus.
- the decoding apparatus may derive an intra prediction mode/type for a current block based on the received prediction information (intra prediction mode/type information).
- the decoding apparatus may derive neighboring reference samples of the current block.
- the decoding apparatus may generate prediction samples in the current block based on the intra prediction mode/type and the neighboring reference samples.
- the decoding apparatus may perform a prediction sample filtering procedure. Predictive sample filtering may be referred to as post filtering. Some or all of the prediction samples may be filtered by the prediction sample filtering procedure. In some cases, the prediction sample filtering procedure may be omitted.
- the decoding apparatus may generate residual samples for the current block based on the received residual information.
- the decoding apparatus may generate reconstructed samples for the current block based on the prediction samples and the residual samples, and derive a reconstructed block including the reconstructed samples.
- a reconstructed picture for the 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 mode information may include flag information (egintra_luma_mpm_flag) indicating whether, for example, most probable mode (MPM) is applied to the current block or a remaining mode is applied, the MPM When applied to the current block, the prediction mode information may further include index information (eg intra_luma_mpm_idx) indicating one of the intra prediction mode candidates (MPM candidates).
- the intra prediction mode candidates (MPM candidates) may be composed of an MPM candidate list or an MPM list.
- the MPM candidate list may be configured to include an intra prediction mode of a neighboring block or a preset basic intra prediction mode.
- the intra prediction mode information further includes remaining mode information (eg intra_luma_mpm_remainder) indicating one of the remaining intra prediction modes excluding the intra prediction mode candidates (MPM candidates). Can include.
- the decoding apparatus may determine an intra prediction mode of the current block based on the intra prediction mode information.
- an MPM list for the MIP mode may be configured to determine the MIP mode of the current block.
- the MPM list for the MIP mode may be configured in a manner of configuring the MPM list for the intra mode described above.
- the MPM candidate list for the MIP mode may be configured including the MIP mode of a neighboring block or a preset basic MIP mode.
- the intra prediction mode information may further include remaining mode information (eg intra_luma_mpm_remainder) indicating one of the remaining MIP modes excluding the MIP mode candidates (MPM candidates). I can.
- the decoding apparatus may determine the MIP mode of the current block based on the intra prediction mode information.
- the intra prediction mode includes two non-directional intra prediction modes and 65 directional intra prediction modes.
- the non-directional intra prediction modes may include a planar intra prediction mode and a DC intra prediction mode, and the directional intra prediction modes may include 2 to 66 intra prediction modes.
- the intra prediction mode may further include a cross-component linear model (CCLM) mode for chroma samples in addition to the above-described intra prediction modes.
- CCLM cross-component linear model
- the CCLM mode can be divided into L_CCLM, T_CCLM, and LT_CCLM, depending on whether left samples are considered, upper samples are considered, or both for LM parameter derivation, and can be applied only to a chroma component.
- the intra prediction mode may be indexed according to the intra prediction mode value as shown in the following table.
- an intra prediction mode in order to capture an arbitrary edge direction presented in a natural video, includes 93 directional directions along with two non-directional intra prediction modes. It may include an intra prediction mode. Non-directional intra prediction modes may include a planar prediction mode and a DC prediction mode.
- the directional intra prediction mode may include an intra prediction mode consisting of times 2 to 80 and -1 to -14 as indicated by arrows in FIG. 6.
- the planar prediction mode may be indicated as INTRA_PLANAR
- the DC prediction mode may be indicated as INTRA_DC.
- the directional intra prediction mode may be expressed as INTRA_ANGULAR-14 to INTRA_ANGULAR-1 and INTRA_ANGULAR2 to INTRA_ANGULAR80.
- the intra prediction type (or additional intra prediction mode, etc.) may include at least one of the aforementioned LIP, PDPC, MRL, ISP, and MIP.
- the intra prediction type may be indicated based on intra prediction type information, and the intra prediction type information may be implemented in various forms.
- the intra prediction type information may include intra prediction type index information indicating one of the intra prediction types.
- the intra prediction type information is reference sample line information (eg intra_luma_ref_idx) indicating whether the MRL is applied to the current block and, if applied, a reference sample line (eg intra_luma_ref_idx), and the ISP is applied to the current block.
- ISP flag information indicating whether it is applied eg intra_subpartitions_mode_flag
- ISP type information indicating the split type of subpartitions when the ISP is applied eg intra_subpartitions_split_flag
- flag information indicating whether or not PDPC is applied or indicating whether the LIP is applied. It may include at least one of flag information and MIP flag information indicating whether MIP is applied.
- the intra prediction mode information and/or the intra prediction type information may be encoded/decoded through the coding method described in the present disclosure.
- the intra prediction mode information and/or the intra prediction type information may be encoded/decoded through entropy coding (ex. CABAC, CAVLC) based on a truncated (rice) binary code.
- intra prediction When intra prediction is performed on the current block, prediction on a luma component block (luma block) of the current block and prediction on a chroma component block (chroma block) may be performed.
- the intra prediction mode for the chroma block is It can be set separately from the intra prediction mode for the luma block.
- an intra prediction mode for a chroma block may be indicated based on intra chroma prediction mode information, and the intra chroma prediction mode information may be signaled in the form of an intra_chroma_pred_mode syntax element.
- the intra-chroma prediction mode information may indicate one of a planar mode, a DC mode, a vertical mode, a horizontal mode, a derived mode (DM), and a CCLM mode.
- the planar mode may represent a 0th intra prediction mode, the DC mode 1st intra prediction mode, the vertical mode 26th intra prediction mode, and the horizontal mode 10th intra prediction mode.
- DM can also be called direct mode.
- CCLM can be called LM.
- DM and CCLM are dependent intra prediction modes for predicting a chroma block using information of a luma block.
- the DM may represent a mode in which an intra prediction mode identical to an intra prediction mode for the luma component is applied as an intra prediction mode for the chroma component.
- the CCLM subsamples the reconstructed samples of the luma block in the process of generating the prediction block for the chroma block, and then applies the CCLM parameters ⁇ and ⁇ to the subsampled samples. Intra prediction mode used as prediction samples of may be indicated.
- an intra prediction mode applied to the current block may be determined using an intra prediction mode of a neighboring block.
- the decoding apparatus receives one of the MPM candidates in the MPM list derived based on the intra prediction mode of the neighboring block (ex. left and/or upper neighboring block) of the current block and additional candidate modes as a bitstream. It can be selected based on an index (eg intra_luma_mpm_idx).
- the decoding apparatus may select one of the remaining intra prediction modes that are not included in the MPM candidates based on remaining mode information (e.g. intra_luma_mpm_remainder).
- whether the intra prediction mode applied to the current block is among MPM candidates or is in the remaining mode may be indicated based on an mpm flag (e.g. intra_luma_mpm_flag) to determine the intra prediction mode of the current block.
- a value of 1 of the mpm flag may indicate that the intra prediction mode for the current block is in the MPM list (candidates), and a value of 0 of the mpm flag indicates that the intra prediction mode for the current block is not in the MPM list (candidates). Can be indicated.
- the mpm flag may be signaled in the form of an intra_luma_mpm_flag syntax element
- 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 the remaining intra prediction modes not included in the mpm list in the order of prediction mode numbers.
- the intra prediction mode may be an intra prediction mode for a luma component (sample).
- the intra prediction mode information may include at least one of an mpm flag (e.g. intra_luma_mpm_flag), an mpm index (e.g. mpm_idx or intra_luma_mpm_idx), and remaining intra prediction mode information (e.g. rem_intra_luma_pred_mode or intra_luma_mpm_remainder).
- an MPM list may be referred to in various terms such as an MPM candidate list and candModeList.
- the MPM list may include candidate intra prediction modes (MPM candidates) that are highly likely to be applied to the current block.
- the MPM list may be configured to include intra prediction modes of neighboring blocks, or may further include predetermined intra prediction modes according to a predetermined method.
- an MPM list including three MPMs may be generated in order to keep the complexity of generating the MPM list low.
- the MPM list may include 3 MPM candidates.
- a remaining mode may be used.
- the remaining mode includes 64 remaining candidates, and information on the remaining intra prediction mode indicating one of the 64 remaining candidates may be signaled.
- the remaining intra prediction mode information may include a 6-bit syntax element (e.g. rem_intra_luma_pred_mode or intra_luma_mpm_remainder syntax element).
- neighboring intra modes, derived intra modes, and default intra modes may be considered to construct an MPM list.
- the encoding apparatus may use the prediction mode of the neighboring block to encode the prediction mode of the current block.
- the encoding apparatus may check or derive the prediction mode of the neighboring block. For example, the encoding apparatus may determine the prediction mode of the current block based on the prediction mode of the left neighboring block and the prediction mode of the upper neighboring block, and at this time, the prediction mode of the corresponding neighboring block may be determined as Most Probable Modes (MPM). have. In this respect, determining the MPM may be expressed as listing the most probable modes (MPM) candidates or constituting the MPM list.
- MPM Most Probable Modes
- the left neighboring block may represent a block located at the top of the neighboring blocks adjacent to the left boundary of the current block.
- the upper neighboring block may represent a leftmost block among neighboring blocks adjacent to the upper boundary of the current block.
- the encoding apparatus may check whether the prediction mode of the left neighboring block and the prediction mode of the upper neighboring block are the same.
- An initial MPM list may be formed by performing a pruning process for intra prediction modes of the two adjacent blocks.
- the pruning process may be a process in which only different prediction modes are included in the MPM list.
- the first MPM may be set as the prediction mode of the left neighboring block, and the second MPM is set as the prediction mode of the upper neighboring block.
- the third MPM may be set to one of an intra planner mode, an intra DC mode, or an intra vertical mode (50th intra prediction mode). Specifically, if the intra prediction modes of the two neighboring blocks are different from each other, the two intra prediction modes may be set to the MPM, and one of the default intra modes after a pruning check by the MPMs May be added to the MPM list.
- the default intra modes may include an intra planner mode, an intra DC mode, and/or an intra vertical mode (50th intra prediction mode).
- an MPM list may be configured according to the following cases.
- the MPM list shows the intra prediction mode of the left neighboring block and the intra prediction mode and the intra planner mode of the upper neighboring block. It can be configured to include.
- Case 2 When the condition of case 1 is not satisfied, if both the intra prediction mode of the left neighboring block and the intra prediction mode of the upper neighboring block are not intra DC mode, the MPM list is It may be configured to include an intra prediction mode and an intra DC mode of the block.
- the MPM list may be configured to include an intra prediction mode of a left neighboring block, an intra prediction mode of an upper neighboring block, and an intra vertical mode.
- the encoding apparatus may determine whether the prediction mode of the left neighboring block is less than 2. For example, the encoding apparatus checks whether the prediction mode of the left neighboring block is an intra planner mode, an intra DC mode, or a prediction mode having a directionality indicating a block located below the current block as shown in FIG. 6. I can.
- the first MPM may be set to an intra planner mode
- the second MPM may be set to an intra DC mode
- the third MPM is an intra vertical mode (50th intra prediction Mode).
- the first MPM may be set as the prediction mode of the left neighboring block
- the second MPM may be set as (prediction mode-1 of the left neighboring block)
- the third MPM may be set to (prediction mode of the left neighboring block + 1).
- the MPM list may be configured as described below.
- the MPM list may include an intra planner mode, an intra DC mode, and an intra vertical mode.
- the MPM list is 2+((A+61)%64 when the value of the intra prediction mode of the left neighboring block and the intra prediction mode of the left neighboring block is A. It may be configured to include an intra prediction mode corresponding to a value of) and an intra prediction mode corresponding to a value of 2+((A-1)%64).
- an additional pruning process may be performed to remove duplicate modes so that only unique modes can be included.
- a 6-bit fixed length code may be used for entropy coding of 64 non-MPM modes excluding the 3 MPMs. That is, the index representing the 64 non-MPM modes may be entropy-coded with a 6-bit fixed length code (6-bit FLC).
- the encoding apparatus may determine whether an optimal intra prediction mode to be applied to the current block falls within the previously configured MPM candidate.
- the encoding apparatus may encode the MPM flag and the MPM index.
- the MPM flag may indicate whether the intra prediction mode of the current block is derived from a neighboring intra-predicted block (ie, the intra prediction mode of the current block belongs to the MPM).
- the MPM index may indicate which MPM mode is applied as an intra prediction mode of the current block among the MPM candidates.
- the encoding apparatus may encode the intra prediction mode of the current block by using the remaining mode.
- the encoding device and the decoding device may configure an MPM list including 6 MPMs.
- a default MPM list may be considered to generate an MPM list including 6 MPMs.
- the default MPM list may be configured as follows when the value of the intra prediction mode of the left neighboring block is A.
- Default 6 MPM list ⁇ A, Planar (0) or DC (1), Vertical (50), HOR (18), VER-4 (46), VER + 4 (54) ⁇
- a 6 MPM list can be generated by updating a default 6 MPM list. For example, if the intra prediction modes of two neighboring blocks are the same and the intra prediction mode values of the two neighboring blocks are greater than the value 1 of the intra DC mode, the 6 MPM list is the default mode, the intra prediction mode of the left neighboring block. Including a prediction mode, an intra planar mode, and an intra DC mode, in addition to this, three derived modes derived by adding a predetermined offset value to the intra prediction mode of a neighboring block and modulating the total number of intra prediction modes are further calculated. Can include.
- the 6 MPM list may be configured by including the intra prediction modes of the two neighboring blocks as the first two MPM modes.
- the remaining four MPM modes can be derived from the default mode and the intra prediction mode of the neighboring 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, and ISP intra prediction, or for deriving an intra prediction mode used in general intra prediction (non-directional intra prediction and directional intra prediction).
- the left neighboring block or the upper neighboring block may be encoded based on the aforementioned MIP. In this case, if the MIP mode number of the neighboring block to which MIP is applied (left neighboring block/upper neighboring block) is applied to the MPM list for the current block to which MIP is not applied, it is unsuitable as an unintended intra prediction mode is indicated. can do.
- the intra prediction mode of the neighboring block to which the MIP is applied may be regarded as a 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 MPM list construction.
- the mapping may be performed based on the block size type of the current block.
- a mapping table according to an embodiment as shown in FIG. 7 may be used.
- MIP IntraPredMode[xNbX][yNbX] represents the MIP mode of a neighboring block (left neighboring block/upper neighboring block)
- block size type MipSizeId represents a neighboring block or a block size type of the current block.
- Numbers below the block size type values 0, 1, and 2 indicate a general intra prediction mode to which the MIP mode is mapped in case of each block size type. For example, if the height and width of the current block are each 4, the block size type is 0, if both the height and the width of the current block are 8 or less, the block size type is called 1, and other cases are block size type 2 It can be said.
- the general intra prediction mode is an intra prediction mode other than the MIP mode, and may mean a non-directional intra prediction mode or a directional intra prediction mode.
- the mapped general intra prediction mode number may be 18.
- the mapping relationship is an example and may be changed.
- the MPM list may not include an intra planner mode.
- information indicating whether the intra prediction mode of the current block is an intra planar mode may be separately signaled.
- an MPM list may be generated to signal the intra prediction mode.
- the encoding apparatus may signal the intra prediction mode of the current block to the decoding apparatus using the MPM list generated as follows, and the decoding apparatus may use the MPM list generated as follows to signal the intra prediction mode of the current block. You can decide the mode.
- the MPM list may be determined based on an intra prediction mode of a neighboring block of the current block.
- the MPM list may be determined based on the intra prediction mode of the upper neighboring block and the left neighboring block of the current block.
- the encoding apparatus and the decoding apparatus determine the MPM list based on the first intra prediction candidate determined based on the intra prediction mode of the left neighboring block and the second intra prediction candidate determined based on the intra prediction mode of the upper neighboring block. I can.
- the upper neighboring block may be a block located at the rightmost among blocks in contact with the upper part of the current block.
- the left neighboring block may be a block located at the bottom of the blocks adjacent to the left of the current block.
- the coordinates of the current block are (xCb, yCb)
- the width of the current block is cbWidth
- the height of the current block is cbHeight
- the coordinates of the neighboring blocks on the left can be (xCb-1, yCb + cbHeight-1 ).
- the coordinates of the upper neighboring block may be (xCb + cbWidth-1, yCb-1 ).
- the encoding device and the decoding device determine the value of the first intra prediction candidate. It can be determined as a value (eg 0) indicating the planner mode.
- the encoding and decoding apparatuses may determine a value of the first intra prediction candidate as a value indicating an intra prediction mode of the left neighboring block.
- the encoding device and the decoding device have a second intra prediction candidate value when the upper neighboring block is a block that is not available, the prediction mode of the upper neighboring block is not an intra prediction mode, or the prediction mode of the upper neighboring block is the MIP mode. May be determined as a value (eg 0) indicating the intra planner mode.
- the encoding apparatus and the decoding apparatus may determine a value of the second intra prediction candidate as a value indicating an intra prediction mode of the upper neighboring block.
- the MPM list may be configured to include five candidate modes.
- the MPM list may be configured according to the following cases.
- a first intra prediction candidate is denoted by candIntraPredModeA
- a second intra prediction candidate is denoted by candIntraPredModeB
- an MPM list is denoted by candModeList[x].
- x may be an integer from 0 to 4.
- Case 2 When the condition of case 1 is not satisfied, the value of the first intra prediction candidate and the value of the second intra prediction candidate are not the same, and the value of the first intra prediction candidate or the value of the second intra prediction candidate is 1 If it is greater than (eg, not in intra planner mode or intra DC mode), the MPM list candModeList[x] may be configured as follows.
- minAB and maxAB can be calculated as follows.
- MinAB Min( candIntraPredModeA, candIntraPredModeB)
- the MPM lists candModeList[0] and candModeList[1] may be configured as follows.
- candModeList[2] to candModeList[4] may be configured as follows.
- candModeList[2] to candModeList[4] may be configured as follows.
- candModeList[2] to candModeList[4] may be configured as follows.
- candModeList[2] to candModeList[4] may be configured as follows.
- the MPM list candModeList[x] is It can be configured as follows.
- the MPM list candModeList[x] may be configured as follows.
- the matrix based intra prediction (MIP) mode may be referred to as an affiliate linear weighted intra prediction (ALWIP) mode, a linear weighted intra prediction (LWIP) mode, or a matrix weighted intra prediction (MWIP) mode.
- ALWIP affiliate linear weighted intra prediction
- LWIP linear weighted intra prediction
- MWIP matrix weighted intra prediction
- i) ii) matrix-vector-multiplication is performed using neighboring reference samples on which the averaging step has been performed, and iii) is required.
- a horizontal/vertical interpolation step may be further performed to derive prediction samples for the current block.
- the averaging step can be performed by averaging the values of the surrounding samples. As shown in (a) of FIG. 8, if the width and width of the current block are 4 in pixels, the average of each boundary surface is taken and a total of 4 samples are generated for the top two and the left two. As shown in (b) of 8, if the width and width of the current block are not 4 in units of pixels, it can be performed by taking the average of each boundary and generating a total of 8 samples from the top 4 and the left 4
- the matrix vector multiplication step may be performed by multiplying the averaged sample by the matrix vector and then adding the offset vector, and as a result, a prediction signal for the subsampled pixel set of the original block may be generated.
- the size of the matrix and the offset vector may be determined according to the width and width of the current block.
- the horizontal/vertical interpolation step is a step of generating a prediction signal having an original block size from the sub-sampled prediction signal.
- a prediction signal having an original block size may be generated by performing vertical and horizontal interpolation using the sub-sampled prediction signal and surrounding pixel values.
- 9 illustrates an embodiment in which MIP prediction is performed on an 8x8 block.
- a total of 8 averaged samples may be generated as shown in (b) of FIG. 8.
- 16 sample values may be generated at even coordinate positions as shown in FIG. 9A.
- vertical interpolation may be performed using the average value of the upper sample of the current block as shown in FIG. 9B.
- horizontal interpolation may be performed using the left sample of the current block as shown in FIG.
- Intra prediction modes used for the MIP mode may be configured differently from intra prediction modes used in LIP, PDPC, MRL, and ISP intra prediction described above, or normal intra prediction.
- the intra prediction mode for the MIP mode may be referred to as a MIP intra prediction mode, a MIP prediction mode, or a MIP mode.
- a matrix and an offset used in the matrix vector multiplication may be set differently according to the intra prediction mode for the MIP.
- the matrix may be referred to as a (MIP) weight matrix
- the offset may be referred to as a (MIP) offset vector or a (MIP) bias vector.
- the aforementioned intra prediction type information may include a MIP flag (e.g. intra_mip_flag) indicating whether the MIP mode is applied to the current block.
- a MIP flag e.g. intra_mip_flag
- an MPM list for the MIP mode may be separately configured.
- the intra prediction type information includes a MIP MPM flag indicating whether the MPM list is used for the MIP mode (eg intra_mip_mpm_flag), an MPM index indicating the MIP mode used for the current block from the MPM list (eg intra_mip_mpm_idx), and the current in the MPM list.
- the MIP mode of the block may include remaining intra prediction mode information (eg intra_mip_mpm_remainder) used to indicate the direct MIP mode.
- various MIP modes may be set according to a matrix and an offset constituting the MIP.
- the number of intra prediction modes for MIP may be differently set based on the size of the current block. For example, i) when the height and width of the current block (ex. CB or TB) are each 4, 35 intra prediction modes (ie, intra prediction modes 0 to 34) may be available, and ii) the current When both the height and the width of the block are 8 or less, 19 intra prediction modes (ie, intra prediction modes 0 to 18) may be available, and iii) in other cases, 11 intra prediction modes (ie, intra prediction modes) Prediction modes 0 to 10) may be available.
- the block size type is 0, if both the height and the width of the current block are 8 or less, the block size type is called 1, and other cases are block size type 2
- the number of intra prediction modes for MIP can be summarized as shown in the following table. However, this is an example, and the block size type and the number of available intra prediction modes may be changed.
- information on the intra prediction mode/type of the current block may be coded and signaled at a level such as CU (CU syntax), or may be implicitly determined according to a condition.
- CU CU syntax
- some modes/types may be explicitly signaled and others may be implicitly derived.
- the CU syntax may carry information about the (intra) prediction mode/type, as shown in FIGS. 10 to 12.
- pred_mode_flag may indicate the prediction mode of the current CU.
- a value of pred_mode_flag of 0 may indicate that the current CU is encoded in the inter prediction mode.
- a value of 1 of pred_mode_flag may indicate that the current CU is encoded in the intra prediction mode.
- pcm_flag[x0][y0] may indicate whether the puls coding modulation (PCM) mode is applied to the current block.
- PCM puls coding modulation
- pcm_flag[x0][y0] may indicate whether the pcm_sample syntax exists and the transfrom_tree() syntax does not exist for the luma CU corresponding to the (x0, y0) position.
- a value of 1 of pcm_flag[x0][y0] may indicate that the pcm_sample() syntax exists and the transform_tree() syntax does not exist.
- a value of 0 of pcm_flag[x0][y0] may indicate that the pcm_sample() syntax does not exist and the transform_tree() syntax exists.
- intra_mip_flag[x0][y0] may indicate whether the current block is predicted in the MIP mode. For example, a first value (e.g. 0) of intra_mip_flag[x0][y0] may indicate that the current block is not predicted in the MIP mode. The second value (e.g. 1) of intra_mip_flag[x0][y0] may indicate that the current block is predicted in the MIP mode.
- intra_mip_flag[x0][y0] has a second value (e.g. 1)
- information on the MIP mode may be further obtained from the bitstream.
- intra_mip_mpm_flag[x0][y0] intra_mip_mpm_idx[x0][y0]
- intra_mip_mpm_remainder [x0][y0] syntax elements indicating the MIP mode of the current block may be further obtained from the bitstream.
- an MPM list for MIP may be configured, and the intra_mip_mpm_flag is whether the MIP mode for the current block is in the MPM list for the MIP (or among MPM candidates).
- the intra_mip_mpm_idx is used as the MIP prediction mode of the current block among candidates in the MPM list when the MIP prediction mode for the current block exists in the MPM list for the MIP (i.e., when the value of intra_mip_mpm_flag is 1). Can indicate the index of the candidate.
- intra_mip_mpm_remainder may indicate the MIP prediction mode of the current block when the MIP prediction mode for the current block does not exist in the MPM list for the MIP (i.e., when the value of intra_mip_mpm_flag is 0), and may indicate the MIP prediction mode of the current block. Among all the MIP prediction modes, one of the remaining modes other than the candidate mode in the MPM list for the MIP may be indicated as the MIP prediction mode of the current block.
- intra_mip_flag[x0][y0] has a first value (e.g. 0)
- intra prediction information other than MIP may be obtained from the bitstream.
- intra_luma_mpm_flag[x0][y0] indicating whether an MPM list for general intra prediction is generated may be obtained from the bitstream.
- intra_luma_mpm_flag may indicate whether an intra prediction mode for the current block exists in the MPM list (or exists among MPM candidates).
- a first value (e.g. 0) of intra_luma_mpm_flag may indicate that an intra prediction mode for a current block does not exist in the MPM list.
- the second value (e.g. 1) of intra_luma_mpm_flag may indicate that an intra prediction mode for a current block exists in the MPM list.
- the intra_luma_mpm_flag value is 1, the intra_luma_not_planar_flag may be obtained from the bitstream.
- intra_luma_not_planar_flag may indicate whether the intra prediction mode of the current block is not a planar mode. For example, a first value (e.g. 0) of intra_luma_not_planar_flag may indicate that the intra prediction mode of the current block is a planar mode. The second value (e.g. 1) of intra_luma_not_planar_flag may indicate that the intra prediction mode of the current block is not a planar mode.
- the intra_luma_mpm_idx may be parsed and coded when the intra_luma_not_planar_flag is'true' (ie, value 1).
- the planner mode can always be entered as a candidate in the MPM list.
- the planar mode can be excluded from the MPM list by first signaling the intra_luma_not_planar_flag as described above.
- the aforementioned various intra prediction types In general intra prediction, MRL, ISP, LIP, etc.
- intra_luma_mpm_idx may indicate a candidate used as an intra prediction mode of the current block among candidates included in the MPM list excluding the planar mode.
- the intra_luma_mpm_remainder may be parsed/coded.
- the intra_luma_mpm_remainder may indicate one mode as the intra prediction mode of the current block from all intra prediction modes, or indicate any one of the remaining modes excluding candidate modes in the MPM list as the intra prediction mode of the current block. have.
- an MPM list for the current block to which MIP is applied may be separately configured.
- the MPM list may be referred to by various names such as a MIP MPM list (or an MPM list for MIP, candMipModeList) to distinguish it from the MPM list when MIP is not applied to the current block.
- a MIP MPM list or an MPM list for MIP, candMipModeList
- it is expressed as a MIP MPM list for classification, but this may be called an MPM list.
- the MIP MPM list may include n candidates, for example, n may be 3.
- the MIP MPM list may be configured based on a left neighboring block and an upper neighboring block of the current block.
- the left neighboring block may be a block located at the top of the neighboring blocks adjacent to the left boundary of the current block.
- the upper neighboring block may represent a leftmost block among neighboring blocks adjacent to the upper boundary of the current block. For example, when the coordinates of the current block are (xCb, yCb), the coordinates of the left neighboring block may be (xCb-1, yCb), and the coordinates of the upper neighboring block may be (xCb, yCb-1).
- the left neighboring block may be a block located at the bottom of the neighboring blocks adjacent to the left boundary of the current block.
- the upper neighboring block may represent a block located at the rightmost among neighboring blocks adjacent to the upper boundary of the current block.
- the first candidate intra prediction mode When MIP is applied to the left neighboring block, the first candidate intra prediction mode may be set to be the same as the MIP intra prediction mode of the left neighboring block.
- the first candidate intra prediction mode may be denoted as candMipModeA.
- the second candidate intra prediction mode when MIP is applied to the upper neighboring block, the second candidate intra prediction mode may be set to be the same as the MIP intra prediction mode of the upper neighboring block.
- the second candidate intra prediction mode may be denoted as candMipModeB.
- a candidate intra prediction mode may be determined by comparing the sizes of the current block and the neighboring block. For example, when MIP is applied to the left neighboring block and the block size type of the left neighboring block is the same as the block size type of the current block, the first candidate intra prediction mode (eg candMipModeA) is the MIP intra prediction mode of the left neighboring block. It can be set the same as the prediction mode. In addition, when MIP is applied to the upper neighboring block and the block size type of the upper neighboring block is the same as the block size type of the current block, the second candidate intra prediction mode (eg candMipModeB) is the MIP intra prediction of the upper neighboring block. It can be set the same as the mode.
- the first candidate intra prediction mode eg candMipModeA
- the second candidate intra prediction mode eg candMipModeB
- candMipModeB is the MIP intra prediction of the upper neighboring block. It can be set the same as the mode.
- the left neighboring block or the upper neighboring block may be encoded based on intra prediction rather than MIP.
- the left neighboring block or the upper neighboring block may be encoded in an intra prediction mode other than MIP.
- a neighboring block to which MIP is not applied may be processed by considering that a predetermined MIP intra prediction mode is applied. For example, if MIP is not applied to the neighboring block, the MIP intra prediction mode of the neighboring block is determined to be a specific MIP intra prediction mode value (eg 0, 1, or 2) to generate a MIP MPM list. I can.
- a general intra prediction mode of a neighboring block to which MIP is not applied may be mapped to an MIP intra prediction mode based on a mapping table, and may be used for configuring the MIP MPM list.
- the mapping may be performed based on the block size type of the current block.
- a mapping table according to an embodiment illustrated in FIG. 13 may be used as the mapping table.
- IntraPredModeY[xNbX][yNbX] represents an intra prediction mode of a neighboring block (left neighboring block/upper neighboring block).
- the intra prediction mode of the neighboring block may be an intra prediction mode for a luma component (sample).
- block size type MipSizeId represents a block size type of a neighboring block or a current block. Numbers under the block size type values of 0, 1, and 2 indicate the MIP intra prediction mode to which the general intra prediction mode is mapped in case of each block size type.
- the block size type 0 may indicate a case in which the block has a size of 4x4 pixels.
- the block size type 1 may represent a case in which a block has a size of 4x8, 8x4, or 8x8 pixels.
- the block size type 2 may represent a case in which the block has a size larger than the 8x8 pixel size.
- the neighboring block (eg, left neighboring block/upper neighboring block) is not available for reasons such as being located outside the current picture or outside the current tile/slice, or even if MIP is applied, the current MIP intra prediction mode that is not available to the block may have been applied.
- a predefined MIP intra prediction mode may be used as the first candidate intra prediction mode, the second candidate intra prediction mode, and the third candidate intra prediction mode.
- 14 is a table showing an embodiment of a predetermined MIP intra prediction mode that can be used in this case according to the size of a current block. For example, if all of the MIP intra prediction information of the neighboring block is not available, the MIP MPM list may be generated based on the size of the current block according to the example of FIG. 14.
- the MIP intra prediction mode of the neighboring block may be obtained.
- the MIP intra prediction mode of the left neighboring block when the MIP intra prediction mode of the left neighboring block is different from the MIP intra prediction mode of the upper neighboring block, the MIP intra prediction mode of the left neighboring block may be set as the first candidate intra prediction mode.
- the MIP intra prediction mode of the upper neighboring block may be set as a second candidate intra prediction mode. Accordingly, the first candidate (eg candMipModeList[0]) of the MIP MPM list may be set as the MIP intra prediction mode of the left neighboring block, and the second candidate (eg candMipModeList[1]) of the MIP MPM list is It may be set to the MIP intra prediction mode.
- the order of intra prediction candidates in the MIP list may be changed. For example, the MIP intra prediction mode of the upper neighboring block is put as the first candidate (ex.candMipModeList[0]) of the MIP MPM list, and the MIP intra prediction mode of the left neighboring block is the second candidate of the MIP MPM list (ex. You can also put it in candMipModeList[1]).
- the third candidate intra prediction mode a predetermined MIP intra prediction mode according to FIG. 14 may be used.
- the third candidate intra prediction mode of FIG. 14 may be used as the second candidate (ex. candMipModeList[2]) of the MIP MPM list.
- the third candidate intra prediction mode may be determined as a first candidate intra prediction mode and a second candidate intra prediction mode and a non-overlapping MIP intra prediction mode, which is in the order of the MIP intra prediction modes shown in FIG. 14. Can be determined accordingly.
- the first candidate intra prediction mode of FIG. 14 is not used for the first and second candidates of the MIP MPM list
- the first candidate intra prediction mode of FIG. 14 is the third candidate of the MIP MPM list (ex. CandMipModeList[2]).
- the second candidate intra prediction mode of FIG. 15 is not used for the first and second candidates of the MIP MPM list
- the second candidate intra prediction mode of FIG. 14 is 3 of the MIP MPM list.
- the third candidate intra prediction mode of FIG. 14 may be used as the third candidate (ex. candMipModeList[2]) of the MIP MPM list.
- one of the MIP intra prediction mode of the left neighboring block and the MIP intra prediction mode of the upper neighboring block is 1 of the MIP MPM list.
- the second candidate (ex. candMipModeList[0]) can be entered, and the second candidate (ex. candMipModeList[1]) and the third candidate of the MIP MPM list (ex. candMipModeList[2]) of the MIP MPM list are described above.
- predetermined MIP intra prediction modes may be used.
- the MIP intra prediction mode of the current block may be derived based on the MIP MPM list.
- the MPM flag that may be included in the intra prediction mode information for the MIP may be referred to as intra_mip_mpm_flag
- the MPM index may be referred to as intra_mip_mpm_idx
- the remaining intra prediction mode information may be referred to as intra_mip_mpm_remainder.
- the intra prediction mode signaling procedure in the encoding apparatus and the intra prediction mode determination procedure in the decoding apparatus may be performed, for example, as follows.
- the encoding apparatus may configure an MPM list for the current block (S1510).
- the encoding apparatus may determine an intra prediction mode of the current block (S1520).
- the encoding apparatus 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.
- RDO rate-distortion optimization
- the encoding apparatus may determine the optimal intra prediction mode using only MPM candidates configured in the MPM list, or further use the remaining intra prediction modes as well as the MPM candidates configured in the MPM list. It is also possible to determine the intra prediction mode. For example, if the intra prediction type of the current block is a specific type other than the normal intra prediction type (for example, LIP, MRL, or ISP), the encoding apparatus may use only the MPM candidates in the intra prediction mode for the current block.
- the intra prediction type of the current block is a specific type other than the normal intra prediction type (for example, LIP, MRL, or ISP)
- the encoding apparatus may use only the MPM candidates in the intra prediction mode for the current
- the optimal intra prediction mode may be determined by considering candidates.
- the intra prediction mode for the current block may be determined only among the MPM candidates, and in this case, the mpm flag may not be encoded/signaled.
- the decoding apparatus may estimate that the mpm flag is 1 without separately signaling the mpm flag.
- the encoding apparatus may encode the intra prediction mode information and output it in the form of a bitstream (S1530).
- the encoding apparatus may signal whether the intra prediction mode of the current block is the intra planar mode by encoding information indicating whether the intra prediction mode of the current block is not the intra planar mode (e.g. intra_luma_not_planar_flag).
- intra_luma_not_planar_flag e.g. intra_luma_not_planar_flag
- the encoding apparatus may set the value of intra_luma_not_planar_flag to the first value (e.g. 0).
- the encoding apparatus may set the value of intra_luma_not_planar_flag as the second value (e.g. 1).
- the encoding device determines whether or not BDPCM (Block-based Delta Pulse Code Modulation) is applied to the current block, and the application direction.
- the intra prediction mode can be determined and signaled.
- the encoding apparatus may determine the intra prediction mode according to the BDPCM application direction. For example, the encoding apparatus may determine the intra prediction mode as the horizontal or vertical mode in the same direction based on whether the BDPCM application direction is either a horizontal direction or a vertical direction.
- the encoding apparatus may signal the intra prediction mode of the current block by encoding and signaling information indicating whether BDPCM is applied to the current block (intra_bdpcm_flag) and information indicating the application direction of BDPCM (intra_bdpcm_dir_flag).
- the signaling of the mpm flag may be omitted.
- the prediction mode of the current block is not an intra planner mode and BDPCM is not applied
- the above-described mpm flag eg intra_luma_mpm_flag
- an mpm index eg intra_luma_mpm_idx
- a remaining intra prediction mode is applied to signal the intra prediction mode.
- Intra prediction mode information including prediction mode information (eg intra_luma_mpm_remainder) may be encoded.
- the mpm index and the remaining intra prediction mode information indicate an intra prediction mode for one block in an alternative relationship to each other, they may not be signaled at the same time.
- an mpm flag value of 1 and an mpm index may be signaled together, or an mpm flag value of 0 and information about a remanufacturing intra prediction mode may be signaled together.
- the mpm flag may not be signaled and only the mpm index may be signaled. That is, in this case, the intra prediction mode information may include only the mpm index.
- the encoding apparatus may generate an mpm index (e.g. intra_luma_mpm_idx) indicating one of the MPM candidates. If the intra prediction mode of the current block is not in the MPM list, remaining intra prediction mode information 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 (eg intra_luma_mpm_remainder) can be created.
- intra_luma_mpm_idx e.g. intra_luma_mpm_idx
- the encoding apparatus when encoding the intra prediction mode (eg IntraPredModeY) of the current block with intra_luma_mpm_remainder, the encoding apparatus first subtracts 1 from IntraPredModeY, and arranges the intra prediction modes included in the MPM list in descending order of the intra prediction mode value. And, while comparing the value of IntraPredModeY from candModeList[ 0] to candModeList[ 4 ], if the value of IntraPredModeY-1 is less than the value of candModeList[], decrease the value of IntraPredModeY by 1 by intra_luma_mpm_remainder. Can be determined by
- the encoding apparatus may generate an MPM list for the MIP mode and encode the current block as described above.
- MPM encoding information for the MIP mode may be signaled.
- the MPM flag may be signaled as intra_mip_mpm_flag
- the MPM index may be signaled as intra_mip_mpm_idx
- the remaining intra prediction mode information may be signaled as intra_mip_mpm_remainder.
- the decoding apparatus may determine an intra prediction mode in response to intra prediction mode information determined and signaled by the encoding apparatus.
- the decoding apparatus may obtain intra prediction mode information from a bitstream (S1610).
- the intra prediction mode information may include at least one of an mpm flag, an mpm index, and a remaining intra prediction mode.
- the decoding apparatus may configure an MPM list (S1620).
- the MPM list may be configured in the same way as 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 apparatus may determine whether the intra prediction mode of the current block is the intra planar mode based on information indicating whether the intra prediction mode of the current block is not the intra planar mode (e.g. intra_luma_not_planar_flag). If the value of the intra_luma_not_planar_flag is the first value (e.g. 0), the decoding apparatus may determine that the intra prediction mode of the current block is the intra planar mode. Meanwhile, if the value of the intra_luma_not_planar_flag is the second value (e.g. 1), the decoding apparatus may determine that the intra prediction mode of the current block is not the intra planar mode.
- intra_luma_not_planar_flag is the first value (e.g. 0)
- the decoding apparatus determines whether or not BDPCM (Block-based Delta Pulse Code Modulation) is applied to the current block and the application direction.
- the intra prediction mode can be determined.
- the decoding apparatus is information indicating the application direction of the BDPCM obtained from the bitstream (intra_bdpcm_dir_flag) Based on the BDPCM application direction in either a horizontal direction or a vertical direction may be determined.
- the intra prediction mode may be determined as a horizontal or vertical mode in the same direction as the determined BDPCM application direction.
- the decoding apparatus may generate the MPM list in the manner described above to determine the intra prediction mode.
- the MPM list may be determined based on an intra prediction mode of a neighboring block of the current block.
- the decoding apparatus may determine the MPM list based on the intra prediction mode of the upper neighboring block and the left neighboring block of the current block.
- the decoding apparatus includes an MPM list based on a first intra prediction candidate determined based on an intra prediction mode of a left neighboring block and a second intra prediction candidate determined based on an intra prediction mode of an upper neighboring block. Can be determined.
- the decoding apparatus may determine whether to determine the intra prediction mode of the current block by using the MPM list (S1630). For example, when the value of the mpm flag is 1, the decoding apparatus may derive a candidate indicated by the mpm index from among MPM candidates in the MPM list as the intra prediction mode of the current block. For example, the decoding apparatus may determine the intra prediction mode of the current block according to the value of intra_luma_mpm_idx, which is an mpm index. For example, the decoding apparatus may determine candModeList[intra_luma_mpm_idx] as the intra prediction mode of the current block.
- the decoding apparatus selects an intra prediction mode indicated by the remaining intra prediction mode information among the remaining intra prediction modes not included in the MPM list as the intra prediction mode of the current block. It can be derived (S1640).
- the decoding apparatus may determine the intra prediction mode (e.g. IntraPredModeY) of the current block based on the remaining intra prediction mode information (e.g. intra_luma_mpm_remainder) indicating the intra prediction mode of the current block. For example, the decoding device may set the value of IntraPredModeY to intra_luma_mpm_remainder + 1.
- IntraPredModeY intra_luma_mpm_remainder + 1.
- the decoding apparatus sorts the intra prediction modes included in the MPM list in ascending order of the intra prediction mode values, and compares the values of IntraPredModeY from candModeList[ 0] to candModeList[ 4 ], while the IntraPredModeY value is candModeList If it is smaller than the value of [], the value of IntraPredModeY indicating the intra prediction mode of the current block may be determined by increasing the value of IntraPredModeY by one.
- the decoding apparatus is a candidate indicated by the mpm index in the MPM list without checking the mpm flag. May be derived as the intra prediction mode of the current block.
- the decoding apparatus may generate an MPM list for the MIP mode and decode the current block as described above.
- MPM encoding information for the MIP mode may be obtained through a bitstream.
- the MPM flag may be obtained as intra_mip_mpm_flag
- the MPM index may be obtained as intra_mip_mpm_idx
- the remany intra prediction mode information may be obtained as intra_mip_mpm_remainder.
- an MPM list for a general intra prediction mode or an MPM list for MIP may be generated based on information of a neighboring block.
- the neighboring block may include a left neighboring block and an upper neighboring block of the current block.
- the general intra prediction mode refers to an intra prediction mode other than the MIP mode.
- the general intra prediction mode may mean an intra planar mode, an intra DC mode, and a directional intra prediction mode, which are non-directional intra prediction modes.
- the intra prediction mode of the neighboring block is used to generate an MPM list of the current block using prediction information of the neighboring block.
- the prediction mode is a need to map the prediction mode to the MIP mode.
- the general intra prediction mode is applied to the current block, but when the MIP mode is applied to the neighboring block, the MIP mode of the neighboring block is changed to the general intra prediction mode in order to generate the MPM list of the current block using prediction information of the neighboring block. There is a need to map.
- the MIP mode has a problem in that it is difficult to perform 1:1 mapping between the general intra prediction mode and the MIP mode in that it can have various number of prediction modes according to the luma block size as follows.
- Luma block size Number of MIP modes 4x4 luma block 35 MIP mode 4x8, 8x4, 8x8 luma blocks 19 MIP mode Other luma blocks 11 MIP mode
- mapping between the MIP mode and the general intra prediction mode can be performed through the mapping table shown in FIGS. 7 and 13 in order to interpolate and map the two. have.
- the intra prediction mode of the neighboring block is the MIP mode
- an MPM list should be created.
- the encoding and decoding apparatuses may identify that the prediction mode of the current block is a general intra prediction mode (S1710), and identify that the prediction mode of the neighboring block is the MIP mode (S1720).
- the encoding and decoding apparatuses may check whether the neighboring block is a 4x4 luma block (S1730).
- the encoding and decoding apparatus may determine a general intra prediction mode corresponding to the MIP mode of the neighboring block according to a method of mapping 35 MIP modes of FIG. 7 to 67 intra modes ( S1740).
- the encoding and decoding apparatuses may determine whether the neighboring block is a 4x8, 8x4, or 8x8 luma block (S1750).
- the encoding and decoding apparatuses use a general intra prediction mode corresponding to the MIP mode of the neighboring block according to the method of mapping 19 MIP modes of FIG. 7 to 67 intra modes. It can be determined (S1760).
- the encoding device and the decoding device may use a general intra corresponding to the MIP mode of the neighboring block according to the method of mapping 11 MIP modes of FIG. 7 to 67 intra modes.
- a prediction mode may be determined (S1770).
- the encoding apparatus and the decoding apparatus may generate an MPM list of the current block according to the method described above with the determined general intra prediction mode (S1780).
- steps S1810 to S1880 should be performed as shown in FIG. 18.
- mapping when mapping is performed in this way, as the correlation between the MIP mode and the intra prediction mode occurs, a size comparison between the current block and the neighboring block must be performed, and additional memory for storing the mapping table is required. .
- mapping method according to an embodiment of reducing the complexity of a mapping algorithm and saving memory for storing a mapping table by removing a correlation between a block size and a MIP mode and an intra prediction mode will be described.
- the encoding device and the decoding device may determine the MIP mode as a predetermined intra prediction mode without using a block size and a mapping table.
- all MIP modes may be mapped to an intra planar (PLANAR) mode.
- PLANAR intra planar
- all MIP modes may be mapped to the intra DC mode.
- all MIP modes may be mapped to an intra-vertical (VERTICAL) mode.
- all MIP modes may be mapped to the intra horizontal (HORIZONTAL) mode.
- the intra prediction mode of the neighboring block is intra prediction. It is possible to create a current block MPM list by inducing the planner mode.
- the current block (or coding unit) includes a luma block and a chroma block
- MIP prediction is applied to the luma block corresponding to the location of the chroma block when configuring the intra prediction mode of the chroma block
- the DM mode of the chroma block An intra prediction mode indicated by (direct mode, using a luma block intra prediction mode corresponding to a chroma block) may be derived as an intra planner mode.
- the encoding device or the decoding device simply determines all MIP modes as a predetermined general intra prediction mode when generating an MPM list when the current block is encoded or decoded in the normal intra mode.
- an MPM list may be generated based on a corresponding general intra prediction mode. Accordingly, the MPM list generation step described above with reference to FIG. 17 may be simplified as shown in FIG. 19. Referring to FIG. 19, in steps S1730 to S1780 in the MPM list generation step described with reference to FIG. 17, a general intra prediction mode corresponding to the MIP mode is determined by mapping all MIP modes to a predetermined general intra prediction mode.
- the predetermined general intra prediction mode may be any one of an intra planar mode, an intra DC mode, an intra vertical mode, and an intra horizontal mode.
- an intra prediction mode corresponding to the luma block is determined without performing mapping according to the above size. It can be determined as a general intra prediction mode of.
- the encoding apparatus may include a memory and at least one processor, and the following encoding method may be performed by the at least one processor.
- the encoding apparatus may identify a prediction mode of a current block (S2010). When the prediction mode of the current block is the intra prediction mode, the encoding apparatus may determine a candidate intra prediction mode based on the prediction mode of a neighboring block located around the current block (S2020).
- the candidate intra prediction mode may include a first candidate intra prediction mode and a second candidate intra prediction mode.
- the first candidate intra prediction mode may be determined based on a prediction mode of a first neighboring block located around the current block
- the second candidate intra prediction mode may be determined based on a prediction mode of a second neighboring block located around the current block. Can be determined.
- the first candidate intra prediction mode may be the first intra prediction candidate described above
- the second candidate intra prediction mode may be the second intra prediction candidate described above.
- the encoding apparatus determines a first candidate intra prediction mode (eg candIntraPredModeA) based on the intra prediction mode of the left neighboring block, and the second candidate intra prediction mode (eg candIntraPredModeB) based on the intra prediction mode of the upper neighboring block. ) Can be determined.
- a first candidate intra prediction mode eg candIntraPredModeA
- the second candidate intra prediction mode eg candIntraPredModeB
- the encoding apparatus may determine a candidate intra prediction mode of the neighboring block as a predetermined intra prediction mode.
- the predetermined intra prediction mode may be any one of an intra planner mode, an intra DC mode, an intra horizontal mode, and an intra vertical mode.
- the encoding apparatus determines the first candidate intra prediction mode (eg candIntraPredModeA) as one of an intra planar mode, an intra DC mode, an intra horizontal mode, and an intra vertical mode. I can.
- the encoding apparatus may determine a second candidate intra prediction mode (eg candIntraPredModeB) to one of an intra planar mode, an intra DC mode, an intra horizontal mode, and an intra vertical mode.
- a second candidate intra prediction mode eg candIntraPredModeB
- the encoding apparatus may generate a candidate intra prediction mode list of the current block based on the candidate intra prediction mode (S2030).
- the candidate intra prediction mode list may be the aforementioned MPM list.
- the encoding apparatus may generate a candidate intra prediction mode list based on the first candidate intra prediction mode and the second candidate intra prediction mode.
- the encoding apparatus may determine that the candidate intra prediction mode list includes a predetermined candidate intra prediction mode.
- the predetermined candidate intra prediction mode may be at least one of a DC mode and a vertical mode.
- the encoding apparatus may encode an intra prediction mode indicator indicating an intra prediction mode of the current block based on the candidate intra prediction mode list (S2040).
- the intra prediction mode indicator is an mpm flag signaled in the form of the aforementioned intra_luma_mpm_flag syntax element, an mpm index signaled in the form of an mpm_idx or intra_luma_mpm_idx syntax element, and rem_intra_luma_pred_mode or intra_luma_mpm_remainder in the form of intra prediction mode syntax element signaling information in the form of an intra prediction mode syntax element. It may include.
- the encoding apparatus may generate a bitstream by encoding the intra prediction mode indicator, and may transmit it to the decoding apparatus.
- the decoding apparatus may include a memory and at least one processor, and may perform the following decoding method by the at least one processor.
- the decoding apparatus may identify a prediction mode of a current block (S2110).
- the decoding apparatus may determine a candidate intra prediction mode for the current block based on the prediction mode of a neighboring block located around the current block (S2120).
- the decoding apparatus may determine a candidate intra prediction mode as a predetermined intra prediction mode.
- the predetermined intra prediction mode may be any one of an intra planner mode, an intra DC mode, an intra horizontal mode, and an intra vertical mode.
- the decoding apparatus may determine whether the prediction mode of the neighboring block is the MIP mode based on the MIP mode indicator for the neighboring block.
- the MIP mode indicator may be the aforementioned MIP flag (e.g. intra_mip_flag), and the decoding apparatus may obtain the MIP mode indicator from the bitstream.
- the candidate intra prediction mode may include a first candidate intra prediction mode and a second candidate intra prediction mode.
- the first candidate intra prediction mode may be determined based on the prediction mode of the first neighboring block located around the current block.
- the second candidate intra prediction mode may be determined based on the prediction mode of the second neighboring block located around the current block.
- the first candidate intra prediction mode may be the first intra prediction candidate described above
- the second candidate intra prediction mode may be the second intra prediction candidate described above.
- the decoding apparatus determines a first candidate intra prediction mode (eg candIntraPredModeA) based on the intra prediction mode of the left neighboring block, and the second candidate intra prediction mode (eg candIntraPredModeB) based on the intra prediction mode of the upper neighboring block. ) Can be determined.
- a first candidate intra prediction mode eg candIntraPredModeA
- the second candidate intra prediction mode eg candIntraPredModeB
- the decoding apparatus determines a first candidate intra prediction mode (eg candIntraPredModeA) as one of an intra planner mode, an intra DC mode, an intra horizontal mode, and an intra vertical mode. I can.
- a first candidate intra prediction mode eg candIntraPredModeA
- the decoding apparatus may determine the second candidate intra prediction mode (eg candIntraPredModeB) to one of an intra planar mode, an intra DC mode, an intra horizontal mode, and an intra vertical mode.
- the decoding apparatus may generate a candidate intra prediction mode list of the current block based on the candidate intra prediction mode (S2130).
- the candidate intra prediction mode list may be the aforementioned MPM list.
- the decoding apparatus may generate a candidate intra prediction mode list based on a first candidate intra prediction mode and a second candidate intra prediction mode.
- the decoding apparatus may determine that the candidate intra prediction mode list includes a predetermined candidate intra prediction mode.
- the predetermined candidate intra prediction mode may be at least one of a DC mode and a vertical mode.
- the decoding apparatus when the first candidate intra prediction mode and the second candidate intra prediction mode are the same, and the first candidate intra prediction mode is an intra prediction mode having a value greater than a prediction mode value indicating a DC mode, the decoding apparatus is A candidate intra prediction mode list including values of the candidate intra prediction modes may be generated.
- the decoding apparatus is a prediction mode in which the prediction mode of the first neighboring block is the MIP mode, the first candidate intra prediction mode and the second candidate intra prediction mode are different from each other, and the second candidate intra prediction mode is a DC mode.
- the second candidate intra prediction mode is a DC mode.
- a candidate intra prediction mode list including the second candidate intra prediction mode may be generated.
- the decoding apparatus may determine an intra prediction mode of the current block based on the candidate intra prediction mode list (S2140).
- the decoding apparatus may determine one of the candidate intra prediction modes included in the candidate intra prediction mode list as the intra prediction mode of the current block based on the intra prediction mode indicator obtained from the bitstream.
- the intra prediction mode indicator may be the mpm index described above, and may be signaled in the form of an mpm_idx or intra_luma_mpm_idx syntax element through a bitstream.
- the encoding apparatus may encode an intra prediction mode of a chroma block according to the above-described MIP mode mapping.
- the encoding apparatus may use a DM mode to signal an intra prediction mode of a chroma block.
- the encoding apparatus may determine an intra prediction mode applied according to the DM mode as an intra prediction mode indicated by the reference mode.
- the reference mode may be determined based on the prediction mode of the luma block corresponding to the chroma block, and may be identified as a parameter of lumaIntraPredMode or IntraPredModeY.
- the encoding apparatus may determine the intra prediction mode of the luma block corresponding to the chroma block as the reference mode. Accordingly, the encoding apparatus may determine the intra prediction mode of the chroma block determined as the DM mode as the intra prediction mode of the luma block.
- the encoding apparatus may determine the reference mode by replacing the MIP mode with a planner mode. Accordingly, the encoding apparatus may determine the intra prediction mode of the chroma block determined as the DM mode as the intra planner mode.
- the encoding apparatus may determine the reference mode according to the prediction mode of the luma block. For example, when the luma block is predicted as a predetermined mode, the encoding apparatus may determine the reference mode as the intra DC mode.
- the predetermined mode may include an IBC mode or other modes. Accordingly, the encoding apparatus may determine the intra prediction mode of the chroma block determined as the DM mode as the intra DC mode.
- the encoding apparatus may encode the intra prediction mode of the chroma block based on the reference mode. For example, when an intra planner mode is selected as an optimal prediction mode for encoding a chroma block, and the prediction mode of a luma block corresponding to the chroma block is the MIP mode, the intra prediction mode of the chroma block is the DM mode. Information indicating that the intra prediction mode is identified according to may be encoded.
- the decoding apparatus may determine the intra prediction mode of the chroma block according to the above-described MIP mode mapping.
- the decoding apparatus according to an embodiment may determine a reference mode for determining an intra prediction mode of a chroma block based on a prediction mode of a luma block corresponding to the chroma block.
- the reference mode may be identified by a parameter of lumaIntraPredMode or IntraPredModeY.
- the decoding apparatus may determine the reference mode as a planner mode. Accordingly, the decoding apparatus may determine the intra prediction mode of the chroma block determined as the DM mode as the intra planner mode.
- the decoding apparatus may determine the reference mode according to the prediction mode of the luma block. For example, when the luma block is predicted in the IBC mode or other predetermined mode, the decoding apparatus may determine the reference mode as the intra DC mode. Accordingly, the decoding apparatus may determine the intra prediction mode of the chroma block determined as the DM mode as the intra DC mode.
- the decoding apparatus may determine the reference mode as the intra prediction mode of the luma block. Accordingly, the decoding apparatus may determine the intra prediction mode of the chroma block determined as the DM mode as the intra prediction mode of the luma block.
- the decoding apparatus may determine the intra prediction mode of the chroma block based on the reference mode. For example, when the intra prediction mode of the chroma mode is determined as the DM mode, the decoding apparatus may determine the intra prediction mode of the chroma block as the intra prediction mode corresponding to the reference mode.
- the encoding device and the decoding device do not compare the block sizes of the current block or the neighboring block even when the prediction mode of the referenced neighboring block or luma block is the MIP mode. It is possible to achieve the effect of lowering the computational complexity. Furthermore, since there is no need to use a mapping table for mapping, it is possible to increase the efficiency of the memory space.
- FIG. 22 shows encoding when an MPM list of the current block is generated by mapping all MIP modes to an intra planar (PLANAR) mode according to the above-described mapping method of FIG. 19 when converting the MIP mode of the neighboring block to the intra prediction mode.
- PLANAR intra planar
- mapping method according to another embodiment of reducing the complexity of a mapping algorithm and saving memory for storing a mapping table by removing a correlation between a block size and a MIP mode and an intra prediction mode will be described.
- the encoding apparatus and the decoding apparatus may determine all general intra prediction modes as a predetermined MIP mode without using a block size and a mapping table.
- the encoding apparatus and the decoding apparatus may map all general intra prediction modes to the 0th MIP mode.
- all normal intra prediction modes may be mapped to the No. 1 MIP mode.
- all normal intra prediction modes may be mapped to the 3rd MIP mode.
- all of the normal intra prediction modes may be mapped to the MIP mode showing the highest probability selectivity during the encoding or decoding process. have.
- the encoding device or the decoding device can simply determine all general intra prediction modes as a predetermined MIP mode when generating an MPM list when the current block is encoded or decoded in the MIP mode.
- an MPM list can be generated based on the corresponding MIP mode. Accordingly, the MPM list generation step described above with reference to FIG. 18 may be simplified as shown in FIG. 23. Referring to FIG. 23, in steps S1830 to S1880 in the MPM list generation step described with reference to FIG. 18, a MIP mode corresponding to a general intra prediction mode is determined by mapping all general intra prediction modes to a predetermined MIP mode.
- the predetermined MIP mode may be any one of 0, 1, 3, and MIP modes that have the highest probability of selection in an encoding or decoding process.
- FIG. 24 is when an MPM list for the MIP mode of the current block is generated by mapping all the general intra prediction modes to MIP mode 0 according to the above-described mapping method when converting the general intra prediction mode of the neighboring block to the MIP mode.
- This is experimental data compared with the coding rate when the MPM list described with reference to FIG. 18 is generated. As shown in FIG. 24, it can be seen that there is no significant difference in the coding rate. That is, by applying the above method, it is possible to achieve an effect of minimizing coding loss while reducing algorithm complexity and reducing memory usage for a mapping table.
- the encoding device and the decoding device may transform the general intra prediction mode into the MIP mode using a simplified mapping table as shown in Table 4 below.
- the encoding device and the decoding device may map all general intra prediction modes to 17 or 0 or 1 MIP modes according to the size of the current block (MipSizeId).
- the size 0 of the current block means a 4x4 luma block
- the size 1 of the current block means a 4x8, 8x4, and 8x8 luma block
- the size 2 of the current block means a luma block larger than 8x8.
- the encoding device and the decoding device may transform the general intra prediction mode into the MIP mode using a simplified mapping table as shown in Table 5 below.
- the encoding apparatus and the decoding apparatus may map all general intra prediction modes to the 5, 0, or 6 MIP mode according to the size of the current block (MipSizeId).
- the encoding apparatus and the decoding apparatus according to may convert the general intra prediction mode into the MIP mode using a simplified mapping table as shown in Table 6 below.
- Intra mode MipSizeId 0 One 2 0-66 MIP mode with the highest probability of selection MIP mode with the highest probability of selection MIP mode with the highest probability of selection
- the encoding apparatus and the decoding apparatus may map all general intra prediction modes to the MIP mode having the highest probability selection rate for each block size according to the size of the current block (MipSizeId).
- MIP size of the current block
- the algorithmic complexity is reduced by using the simplified mapping table as described above, the encoding and decoding devices according to the embodiment do not compare the size of blocks in terms of comparing the size of blocks, and MIP all general intra prediction modes in a batch. More sophisticated mapping can be performed than the previously described mapping method of mapping in mode.
- 25 is a flowchart illustrating a method of determining a candidate MIP mode for configuring an MPM list of a current block according to an embodiment.
- the MIP mode of the neighboring block may be determined as a candidate MIP mode for configuring the MPM list of the current block (S2530). For example, even when the prediction mode of the neighboring block is the MIP mode (S2510), the encoding device and the decoding device do not have the same number of MIP modes, that is, the current block and the neighboring block.
- a value of the candidate MIP mode for configuring the MPM list of the current block may be determined as -1 (S2540).
- the value -1 of the candidate MIP mode may indicate that the MIP mode value cannot be utilized from the neighboring block.
- the encoding apparatus and the decoding apparatus may convert the general intra prediction mode into a candidate MIP mode according to FIG. 18 as described with reference to FIG. 18 (S2550). ).
- the encoding device and the decoding device in the process of referencing neighboring blocks in order to determine the candidate MIP mode of the current block, the encoding device and the decoding device must always check the sizes of the current block and the neighboring block, and the prediction mode of the neighboring block is MIP.
- the mode is not in the mode, since mapping must be performed as described with reference to FIG. 18, the computational complexity increases.
- the encoding device and the decoding device when generating an MPM list of a current block encoded or decoded in the MIP mode, the encoding device and the decoding device according to an embodiment check only whether the neighboring block is in the MIP mode, and determine a candidate MIP mode accordingly.
- the encoding device and the decoding device may set the candidate MIP mode to the 0th mode.
- the encoding device and the decoding device may set the value of the MIP mode to -1 when the encoding or decoding mode of the neighboring block is not the MIP mode. Accordingly, since the encoding device and the decoding device only need to check whether the MIP mode is applied to the neighboring block, the algorithm for determining the candidate MIP mode can be more simplified.
- the mapping procedure for converting to may be omitted.
- the encoding apparatus and the decoding apparatus may determine a candidate MIP mode based on the sizes of the current block and the neighboring block in order to increase prediction accuracy. For example, when the current block is in the MIP mode, the encoding device and the decoding device refer to a neighboring block to generate an MPM list, and when the prediction mode of the neighboring block is the MIP mode, refer to Table 7 below.
- the MIP mode may be determined as mipMpmCand[sizeId][0].
- sizeId means the size of a neighboring block
- sizeId 0 means a 4x4 luma block
- sizeId 1 means a 4x8, 8x4, 8x8 luma block
- sizeId 2 means a luma block larger than 8x8.
- the encoding device and the decoding device when the size of the neighboring block is 4x4, the encoding device and the decoding device set the candidate MIP mode to 17, and if the size of the neighboring block is 4x8, 8x4, or 8x8, the candidate MIP mode is set to 0. In the block, the candidate mode can be set to 1. In this way, the encoding device and the decoding device can increase the MPM mode accuracy by adaptively selecting the basic candidate MIP mode according to the neighboring block size. Or, in order to reduce the computational complexity, the encoding device and the decoding device according to an embodiment An MPM list may be generated by selecting a candidate MIP mode without considering the encoding mode of the block and using it as it is.
- the MPM list (eg candMipModeList[]) for the MIP mode may be fixedly determined as follows without considering the encoding mode of the neighboring block.
- the MPM list eg candMipModeList[]
- x may have a value from 0 to 2
- candMipModeList[x] accordingly may be configured as follows with reference to Table 7.
- sizeId indicates the size of the neighboring block, but the encoding apparatus and the decoding apparatus may determine the sizeId according to the size of the current block in order to omit the process of referring to information of the neighboring block.
- FIG. 26 shows a coding rate when an image is encoded by fixedly determining an MPM list for the MIP mode as described above without considering the encoding mode of the neighboring block according to the above-described mapping method, and a candidate MIP determined according to the method of FIG. 25
- This is experimental data compared when an image is encoded by generating an MPM list based on the mode.
- FIG. 26 it can be seen that there is no significant difference in the coding rate. That is, by applying the above method, it is possible to achieve an effect of minimizing coding loss while reducing algorithm complexity and reducing memory usage for a mapping table.
- the MPM list (eg candMipModeList[]) for the MIP mode is determined as follows in the mode selection probability without considering the encoding mode of the neighboring block. It can be decided on a fixed basis. For example, when generating three MIP MPM lists, x may have a value from 0 to 2, and candMipModeList[x] may be configured as follows with reference to Table 8. In sortedmipMpmCand[sizeId][x], candidate MIP modes may be stored for each block size based on the MIP mode selection probability.
- the candidate MIP mode with the highest selection frequency is stored in the sizeId
- the candidate MIP mode with the second highest selection frequency in the sizeId is stored.
- sizeId indicates the size of the neighboring block, but the encoding apparatus and the decoding apparatus may determine the sizeId according to the size of the current block in order to omit the process of referring to information of the neighboring block.
- exemplary methods of the present disclosure are expressed as a series of operations for clarity of description, but this is not intended to limit the order in which steps are performed, and each step may be performed simultaneously or in a different order if necessary.
- the illustrative steps may include additional steps, other steps may be included excluding some steps, or may include additional other steps excluding some steps.
- an image encoding apparatus or an image decoding apparatus performing a predetermined operation may perform an operation (step) of confirming an execution condition or situation of the operation (step). For example, when it is described that a predetermined operation is performed when a predetermined condition is satisfied, the video encoding apparatus or the video decoding apparatus performs an operation to check whether the predetermined condition is satisfied, and then performs the predetermined operation. I can.
- various embodiments of the present disclosure may be implemented by hardware, firmware, software, or a combination thereof.
- one or more ASICs Application Specific Integrated Circuits
- DSPs Digital Signal Processors
- DSPDs Digital Signal Processing Devices
- PLDs Programmable Logic Devices
- FPGAs Field Programmable Gate Arrays
- general purpose It may be implemented by a general processor, a controller, a microcontroller, a microprocessor, or the like.
- the image decoding device and the image encoding device to which the embodiment of the present disclosure is applied include a multimedia broadcasting transmission/reception device, a mobile communication terminal, a home cinema video device, a digital cinema video device, a surveillance camera, a video chat device, and a real-time communication device such as video communication.
- Mobile streaming devices storage media, camcorders, video-on-demand (VoD) service providers, OTT video (Over the top video) devices, Internet streaming service providers, three-dimensional (3D) video devices, video telephony video devices, and medical use. It may be included in a video device or the like, and may be used to process a video signal or a data signal.
- an OTT video (Over the top video) device may include a game console, a Blu-ray player, an Internet-connected TV, a home theater system, a smartphone, a tablet PC, and a digital video recorder (DVR).
- DVR digital video recorder
- FIG. 27 is a diagram illustrating a content streaming system to which an embodiment of the present disclosure can be applied.
- the content streaming system to which the embodiment of the present disclosure is applied may largely include an encoding server, a streaming server, a web server, a media storage device, a user device, and a multimedia input device.
- the encoding server serves to generate a bitstream by compressing content input from multimedia input devices such as smartphones, cameras, camcorders, etc. into digital data, and transmits it to the streaming server.
- multimedia input devices such as smartphones, cameras, camcorders, etc. directly generate bitstreams
- the encoding server may be omitted.
- the bitstream may be generated by an image encoding method and/or an image encoding apparatus to which an embodiment of the present disclosure is applied, and the streaming server may temporarily store the bitstream in a process of transmitting or receiving the bitstream.
- the streaming server may transmit multimedia data to a user device based on a user request through a web server, and the web server may serve as an intermediary for notifying the user of a service.
- the web server transmits the request to the streaming server, and the streaming server may transmit multimedia data to the user.
- the content streaming system may include a separate control server, and in this case, the control server may play a role of controlling a command/response 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 may be received in real time. In this case, in order to provide a smooth streaming service, the streaming server may store the bitstream for a predetermined time.
- Examples of the user device include a mobile phone, a smart phone, a laptop computer, a digital broadcasting terminal, a personal digital assistant (PDA), a portable multimedia player (PMP), a navigation system, a slate PC, and Tablet PC, ultrabook, wearable device, for example, smartwatch, smart glass, head mounted display (HMD)), digital TV, desktop There may be computers, digital signage, etc.
- PDA personal digital assistant
- PMP portable multimedia player
- HMD head mounted display
- TV desktop
- desktop There may be computers, digital signage, etc.
- 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 distributedly processed.
- the scope of the present disclosure is software or machine-executable instructions (e.g., operating systems, applications, firmware, programs, etc.) that cause an operation according to the method of various embodiments to be executed on a device or computer, and such software or It includes a non-transitory computer-readable medium (non-transitory computer-readable medium) which stores instructions and the like and is executable on a device or a computer.
- a non-transitory computer-readable medium non-transitory computer-readable medium
- An embodiment according to the present disclosure may be used to encode/decode an image.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
Intra prediction mode | Associated name |
0 | INTRA_PLANAR |
1 | INTRA_DC |
2..66 | INTRA_ANGULAR2..INTRA_ANGULAR66 |
81..83 | INTRA_LT_CCLM, INTRA_L_CCLM, INTRA_T_CCLM |
block size type (MipSizeId) | number of MIP intra prediction modes | MIP intra prediction mode |
0 | 35 | 0 ... 34 |
1 | 19 | 0 ... 18 |
2 | 11 | 0 ... 10 |
루마 블록 크기 | MIP 모드 수 |
4x4 루마 블록 | 35 MIP 모드 |
4x8, 8x4, 8x8 루마 블록 | 19 MIP 모드 |
이 외의 루마 블록 | 11 MIP 모드 |
Intra mode | MipSizeId | ||
0 | 1 | 2 | |
0-66 | 17 | 0 | 1 |
Intra mode | MipSizeId | ||
0 | 1 | 2 | |
0-66 | 5 | 0 | 6 |
Intra mode | MipSizeId | ||
0 | 1 | 2 | |
0-66 | 확률적으로 가장 높은 선택률을 보이는 MIP 모드 | 확률적으로 가장 높은 선택률을 보이는 MIP 모드 | 확률적으로 가장 높은 선택률을 보이는 MIP 모드 |
sizeId | mipMPMcand[sizeId][x] | ||
0 | 1 | 2 | |
0 | 17 | 34 | 5 |
1 | 0 | 7 | 16 |
2 | 1 | 4 | 6 |
sizeId | sortedmipMpmCand[sizeId][x] | ||
0 | 1 | 2 | |
0 | 5 | 17 | 22 |
1 | 0 | 12 | 3 |
2 | 6 | 1 | 8 |
Claims (15)
- 영상 복호화 장치에 의해 수행되는 영상 복호화 방법에 있어서,현재 블록의 예측 모드를 식별하는 단계;상기 현재 블록의 예측 모드가 인트라 예측 모드인 경우, 상기 현재 블록의 인트라 예측 모드가 MIP(Matrix-based intra prediction) 모드인지 여부를 식별하는 단계;상기 현재 블록의 인트라 예측 모드가 MIP 모드가 아닌 경우, 상기 현재 블록의 주변에 위치한 주변 블록의 예측 모드에 기반하여 상기 현재 블록에 대한 후보 인트라 예측 모드를 결정하는 단계;상기 후보 인트라 예측 모드에 기반하여 상기 현재 블록의 후보 인트라 예측 모드 리스트를 생성하는 단계; 및상기 후보 인트라 예측 모드 리스트에 기반하여 상기 현재 블록의 인트라 예측 모드를 결정하는 단계를 포함하고,상기 주변 블록의 예측 모드가 MIP 모드인 경우, 상기 후보 인트라 예측 모드는 소정의 인트라 예측 모드로 결정되는 영상 복호화 방법.
- 제 1 항에 있어서,상기 소정의 인트라 예측 모드는 플래너 모드, DC 모드, 수평 모드 및 수직 모드 중 어느 하나의 모드인 영상 복호화 방법.
- 제 1 항에 있어서,상기 주변 블록의 예측 모드가 MIP 모드인지 여부는 상기 주변 블록에 대한 MIP 모드 지시자에 기반하여 결정되고,상기 MIP 모드 지시자는 비트스트림으로부터 획득되는 영상 복호화 방법.
- 제 1 항에 있어서,상기 후보 인트라 예측 모드 리스트는 제 1 후보 인트라 예측 모드와 제 2 후보 인트라 예측 모드에 기반하여 생성되며,상기 제 1 후보 인트라 예측 모드는 상기 현재 블록의 주변에 위치한 제 1 주변 블록의 예측 모드에 기반하여 결정되고,상기 제 2 후보 인트라 예측 모드는 상기 현재 블록의 주변에 위치한 제 2 주변 블록의 예측 모드에 기반하여 결정되는 영상 복호화 방법.
- 제 4 항에 있어서,상기 제 1 후보 인트라 예측 모드와 상기 제 2 후보 인트라 예측 모드가 동일하고, 상기 제 1 후보 인트라 예측 모드가 DC 모드를 나타내는 예측 모드 값 보다 큰 값을 가지는 인트라 예측 모드인 경우, 상기 후보 인트라 예측 모드 리스트는 상기 제 1 후보 인트라 예측 모드의 값을 포함하도록 결정되는 영상 복호화 방법.
- 제 4 항에 있어서,상기 제 1 주변 블록의 예측 모드와 상기 제 2 주변 블록의 예측 모드가 모두 MIP 모드인 경우, 상기 후보 인트라 예측 모드 리스트는 소정의 후보 인트라 예측 모드를 포함하도록 결정되는 영상 복호화 방법.
- 제 6 항에 있어서,상기 소정의 후보 인트라 예측 모드는 DC 모드 및 수직 모드 중 적어도 어느 하나를 포함하는 영상 복호화 방법.
- 제 4 항에 있어서,상기 제 1 주변 블록의 예측 모드가 MIP 모드이고, 상기 제 1 후보 인트라 예측 모드와 상기 제 2 후보 인트라 예측 모드가 서로 상이하며, 상기 제 2 후보 인트라 예측 모드가 DC 모드를 나타내는 예측 모드 값 보다 큰 값을 가지는 인트라 예측 모드인 경우, 상기 후보 인트라 예측 모드 리스트는 상기 제 2 후보 인트라 예측 모드를 포함하도록 결정되는 영상 복호화 방법.
- 제 1 항에 있어서,상기 후보 인트라 예측 모드 리스트에 기반하여 상기 현재 블록의 인트라 예측 모드를 결정하는 단계는, 비트스트림으로부터 획득된 인트라 예측 모드 지시자에 기반하여 상기 후보 인트라 예측 모드 리스트에 포함된 후보 인트라 예측 모드 중 어느 하나의 후보 인트라 예측 모드를 상기 현재 블록의 인트라 예측 모드로 결정함으로써 수행되는 영상 복호화 방법.
- 제 1 항에 있어서,상기 현재 블록에 대응되는 크로마 블록의 인트라 예측 모드를 결정하기 위한 참조 모드를 결정하는 단계; 및상기 참조 모드에 기반하여 상기 크로마 블록의 인트라 예측 모드를 결정하는 단계를 포함하고,상기 현재 블록은 루마 블록이고,상기 현재 블록의 인트라 예측 모드가 MIP 모드인 경우 상기 참조 모드는 플래너 모드로 결정되는 영상 복호화 방법.
- 제 10 항에 있어서,상기 크로마 블록의 인트라 예측 모드는 상기 참조 모드로 결정되는 영상 복호화 방법.
- 제 11 항에 있어서,상기 현재 블록의 인트라 예측 모드가 MIP 모드가 아닌 경우 상기 참조 모드는 상기 현재 블록의 인트라 예측 모드에 기반하여 결정되는 영상 복호화 방법.
- 메모리 및 적어도 하나의 프로세서를 포함하는 영상 복호화 장치로서,상기 적어도 하나의 프로세서는현재 블록의 예측 모드를 식별하고,상기 현재 블록의 예측 모드가 인트라 예측 모드인 경우, 상기 현재 블록의 주변에 위치한 주변 블록의 예측 모드에 기반하여 상기 현재 블록에 대한 후보 인트라 예측 모드를 결정하고,상기 후보 인트라 예측 모드에 기반하여 상기 현재 블록의 후보 인트라 예측 모드 리스트를 생성하며,상기 후보 인트라 예측 모드 리스트에 기반하여 상기 현재 블록의 인트라 예측 모드를 결정하고,상기 주변 블록의 예측 모드가 MIP(matrix based intra prediction) 모드인 경우, 상기 후보 인트라 예측 모드는 소정의 인트라 예측 모드로 결정되는 영상 복호화 장치.
- 영상 부호화 장치에 의해 수행되는 영상 부호화 방법에 있어서,현재 블록의 예측 모드를 식별하는 단계;상기 현재 블록의 예측 모드가 인트라 예측 모드인 경우, 상기 현재 블록의 주변에 위치한 주변 블록의 예측 모드에 기반하여 후보 인트라 예측 모드를 결정하는 단계;상기 후보 인트라 예측 모드에 기반하여 상기 현재 블록의 후보 인트라 예측 모드 리스트를 생성하는 단계; 및상기 후보 인트라 예측 모드 리스트에 기반하여 상기 현재 블록의 인트라 예측 모드를 나타내는 인트라 예측 모드 지시자를 부호화하는 단계를 포함하고,상기 주변 블록의 예측 모드가 MIP(matrix based intra prediction) 모드인 경우, 상기 후보 인트라 예측 모드는 소정의 인트라 예측 모드로 결정되는 영상 부호화 방법.
- 제14항의 영상 부호화 방법에 의해 생성된 비트스트림을 전송하는 방법.
Priority Applications (8)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021573965A JP7362786B2 (ja) | 2019-06-13 | 2020-06-15 | 単純化されたmpmリスト生成方法を用いる画像符号化/復号化方法、装置、及びビットストリームを伝送する方法 |
CN202080050958.5A CN114128270A (zh) | 2019-06-13 | 2020-06-15 | 利用简化mpm列表生成方法的图像编码/解码方法和设备,以及发送比特流的方法 |
EP20823645.5A EP3985971A4 (en) | 2019-06-13 | 2020-06-15 | PICTURE ENCODING/DECODING METHOD AND APPARATUS USING A SIMPLIFIED METHOD FOR GENERATION OF AN MPM LIST AND METHOD FOR TRANSMISSION OF A BITSTREAM |
KR1020217041039A KR20210158387A (ko) | 2019-06-13 | 2020-06-15 | 단순화된 mpm 리스트 생성 방법을 활용하는 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 |
US17/547,835 US11533479B2 (en) | 2019-06-13 | 2021-12-10 | Image encoding/decoding method and device for utilizing simplified MPM list generation method, and method for transmitting bitstream |
US17/987,732 US11889069B2 (en) | 2019-06-13 | 2022-11-15 | Image encoding/decoding method and device for utilizing simplified MPM list generation method, and method for transmitting bitstream |
JP2023172609A JP7543515B2 (ja) | 2019-06-13 | 2023-10-04 | 単純化されたmpmリスト生成方法を用いる画像符号化/復号化方法、装置、及びビットストリームを伝送する方法 |
US18/525,025 US20240129460A1 (en) | 2019-06-13 | 2023-11-30 | Image encoding/decoding method and device for utilizing simplified mpm list generation method, and method for transmitting bitstream |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201962861286P | 2019-06-13 | 2019-06-13 | |
US201962861291P | 2019-06-13 | 2019-06-13 | |
US62/861,291 | 2019-06-13 | ||
US62/861,286 | 2019-06-13 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/547,835 Continuation US11533479B2 (en) | 2019-06-13 | 2021-12-10 | Image encoding/decoding method and device for utilizing simplified MPM list generation method, and method for transmitting bitstream |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020251330A1 true WO2020251330A1 (ko) | 2020-12-17 |
Family
ID=73781846
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/KR2020/007727 WO2020251330A1 (ko) | 2019-06-13 | 2020-06-15 | 단순화된 mpm 리스트 생성 방법을 활용하는 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 |
Country Status (6)
Country | Link |
---|---|
US (3) | US11533479B2 (ko) |
EP (1) | EP3985971A4 (ko) |
JP (2) | JP7362786B2 (ko) |
KR (1) | KR20210158387A (ko) |
CN (1) | CN114128270A (ko) |
WO (1) | WO2020251330A1 (ko) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20220224885A1 (en) * | 2019-05-27 | 2022-07-14 | Sk Telecom Co., Ltd. | Method and device for deriving intra-prediction mode |
JP2022536181A (ja) * | 2019-06-14 | 2022-08-12 | フラウンホーファー-ゲゼルシャフト・ツール・フェルデルング・デル・アンゲヴァンテン・フォルシュング・アインゲトラーゲネル・フェライン | イントラ予測を用いた符号化 |
JP2022539737A (ja) * | 2019-06-24 | 2022-09-13 | ヒョンダイ モーター カンパニー | 動画データのイントラ予測コーディングのための方法及び装置 |
WO2023277538A1 (ko) * | 2021-06-29 | 2023-01-05 | 주식회사 케이티 | 서브 블록 단위의 화면 내 예측에 기반한 비디오 신호 부호화/복호화 방법, 그리고 비트스트림을 저장한 기록 매체 |
WO2023048165A1 (ja) * | 2021-09-24 | 2023-03-30 | シャープ株式会社 | 動画像復号装置および動画像符号化装置 |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024010356A1 (ko) * | 2022-07-05 | 2024-01-11 | 엘지전자 주식회사 | 영상 인코딩/디코딩 방법 및 장치, 그리고 비트스트림을 저장한 기록 매체 |
WO2024083238A1 (en) * | 2022-10-21 | 2024-04-25 | Mediatek Inc. | Method and apparatus of matrix weighted intra prediction in video coding system |
WO2024145849A1 (zh) * | 2023-01-04 | 2024-07-11 | Oppo广东移动通信有限公司 | 视频编解码方法、解码器、编码器及计算机可读存储介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20160143588A (ko) * | 2015-06-05 | 2016-12-14 | 인텔렉추얼디스커버리 주식회사 | 화면 내 예측 모드에 대한 부호화/복호화 방법 및 장치 |
KR101822474B1 (ko) * | 2010-12-21 | 2018-03-09 | 한국전자통신연구원 | 인트라 예측 모드 부호화/복호화 방법 및 컴퓨터로 읽을 수 있는 기록 매체 |
KR20180086094A (ko) * | 2017-01-20 | 2018-07-30 | 세종대학교산학협력단 | 비디오 신호의 부호화 또는 복호화 방법 및 장치 |
KR20190033559A (ko) * | 2016-08-15 | 2019-03-29 | 퀄컴 인코포레이티드 | 디커플링된 트리 구조를 이용한 인트라 비디오 코딩 |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101601856B1 (ko) * | 2009-11-09 | 2016-03-10 | 에스케이 텔레콤주식회사 | 방향적 인트라 예측 장치 및 그 예측 방법 |
CN109792521A (zh) * | 2016-10-04 | 2019-05-21 | 韩国电子通信研究院 | 用于对图像进行编码/解码的方法和设备以及存储比特流的记录介质 |
US11134257B2 (en) * | 2019-04-04 | 2021-09-28 | Tencent America LLC | Simplified signaling method for affine linear weighted intra prediction mode |
CN114501000B (zh) * | 2019-04-10 | 2022-11-22 | 北京达佳互联信息技术有限公司 | 用于视频编码的方法和电子装置 |
CN117834871A (zh) * | 2019-04-16 | 2024-04-05 | 松下电器(美国)知识产权公司 | 编码装置、解码装置、编码方法、解码方法和记录介质 |
AU2020265960A1 (en) * | 2019-04-27 | 2021-08-19 | Huawei Technologies Co., Ltd. | An encoder, a decoder and corresponding methods of intra prediction |
US11284093B2 (en) | 2019-05-09 | 2022-03-22 | Qualcomm Incorporated | Affine linear weighted intra prediction in video coding |
CN112055200A (zh) | 2019-06-05 | 2020-12-08 | 华为技术有限公司 | Mpm列表构建方法、色度块的帧内预测模式获取方法及装置 |
-
2020
- 2020-06-15 WO PCT/KR2020/007727 patent/WO2020251330A1/ko active Application Filing
- 2020-06-15 JP JP2021573965A patent/JP7362786B2/ja active Active
- 2020-06-15 CN CN202080050958.5A patent/CN114128270A/zh active Pending
- 2020-06-15 EP EP20823645.5A patent/EP3985971A4/en active Pending
- 2020-06-15 KR KR1020217041039A patent/KR20210158387A/ko not_active Application Discontinuation
-
2021
- 2021-12-10 US US17/547,835 patent/US11533479B2/en active Active
-
2022
- 2022-11-15 US US17/987,732 patent/US11889069B2/en active Active
-
2023
- 2023-10-04 JP JP2023172609A patent/JP7543515B2/ja active Active
- 2023-11-30 US US18/525,025 patent/US20240129460A1/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101822474B1 (ko) * | 2010-12-21 | 2018-03-09 | 한국전자통신연구원 | 인트라 예측 모드 부호화/복호화 방법 및 컴퓨터로 읽을 수 있는 기록 매체 |
KR20160143588A (ko) * | 2015-06-05 | 2016-12-14 | 인텔렉추얼디스커버리 주식회사 | 화면 내 예측 모드에 대한 부호화/복호화 방법 및 장치 |
KR20190033559A (ko) * | 2016-08-15 | 2019-03-29 | 퀄컴 인코포레이티드 | 디커플링된 트리 구조를 이용한 인트라 비디오 코딩 |
KR20180086094A (ko) * | 2017-01-20 | 2018-07-30 | 세종대학교산학협력단 | 비디오 신호의 부호화 또는 복호화 방법 및 장치 |
Non-Patent Citations (1)
Title |
---|
JONATHAN PFAFF: "CE3: Affine linear weighted intra prediction (CE3-4.1, CE3-4.2", JVET-N0217, JOINT VIDEO EXPERTS TEAM (JVET) OF ITU-T SG 16 WP 3 AND ISO/IEC JTC 1/SC 29/WG 11 14TH MEETING, no. JVET-N0217, 12 March 2019 (2019-03-12), Geneva, CH, pages 7 - 8, XP030202698 * |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20220224885A1 (en) * | 2019-05-27 | 2022-07-14 | Sk Telecom Co., Ltd. | Method and device for deriving intra-prediction mode |
US11991350B2 (en) * | 2019-05-27 | 2024-05-21 | Sk Telecom Co., Ltd. | Method and device for deriving intra-prediction mode |
JP2022536181A (ja) * | 2019-06-14 | 2022-08-12 | フラウンホーファー-ゲゼルシャフト・ツール・フェルデルング・デル・アンゲヴァンテン・フォルシュング・アインゲトラーゲネル・フェライン | イントラ予測を用いた符号化 |
JP7455869B2 (ja) | 2019-06-14 | 2024-03-26 | フラウンホーファー-ゲゼルシャフト・ツール・フェルデルング・デル・アンゲヴァンテン・フォルシュング・アインゲトラーゲネル・フェライン | イントラ予測を用いた符号化 |
JP2022539737A (ja) * | 2019-06-24 | 2022-09-13 | ヒョンダイ モーター カンパニー | 動画データのイントラ予測コーディングのための方法及び装置 |
JP7401566B2 (ja) | 2019-06-24 | 2023-12-19 | ヒョンダイ モーター カンパニー | 動画データのイントラ予測コーディングのための方法及び記録媒体 |
JP7560078B2 (ja) | 2019-06-24 | 2024-10-02 | ヒョンダイ モーター カンパニー | 動画データのイントラ予測コーディングのための方法及び装置 |
JP7560076B2 (ja) | 2019-06-24 | 2024-10-02 | ヒョンダイ モーター カンパニー | 動画データのイントラ予測コーディングのための方法及び装置 |
JP7560077B2 (ja) | 2019-06-24 | 2024-10-02 | ヒョンダイ モーター カンパニー | 動画データのイントラ予測コーディングのための方法及び装置 |
WO2023277538A1 (ko) * | 2021-06-29 | 2023-01-05 | 주식회사 케이티 | 서브 블록 단위의 화면 내 예측에 기반한 비디오 신호 부호화/복호화 방법, 그리고 비트스트림을 저장한 기록 매체 |
WO2023048165A1 (ja) * | 2021-09-24 | 2023-03-30 | シャープ株式会社 | 動画像復号装置および動画像符号化装置 |
Also Published As
Publication number | Publication date |
---|---|
JP7362786B2 (ja) | 2023-10-17 |
JP2022536383A (ja) | 2022-08-15 |
US20240129460A1 (en) | 2024-04-18 |
JP7543515B2 (ja) | 2024-09-02 |
JP2023171926A (ja) | 2023-12-05 |
EP3985971A4 (en) | 2023-05-03 |
KR20210158387A (ko) | 2021-12-30 |
EP3985971A1 (en) | 2022-04-20 |
US11889069B2 (en) | 2024-01-30 |
US20230119780A1 (en) | 2023-04-20 |
CN114128270A (zh) | 2022-03-01 |
US11533479B2 (en) | 2022-12-20 |
US20220174272A1 (en) | 2022-06-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020251330A1 (ko) | 단순화된 mpm 리스트 생성 방법을 활용하는 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 | |
WO2020226424A1 (ko) | Mip 및 lfnst를 수행하는 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 | |
WO2021040480A1 (ko) | 인루프 필터링 기반 영상 코딩 장치 및 방법 | |
WO2020251329A1 (ko) | Mip 모드 매핑이 단순화된 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 | |
WO2020213931A1 (ko) | 레지듀얼 계수의 차분 부호화를 이용한 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 | |
WO2020251328A1 (ko) | 인트라 예측 모드 변환에 기반한 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 | |
WO2021101317A1 (ko) | 무손실 색상 변환을 이용한 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 | |
WO2021172914A1 (ko) | 레지듀얼 코딩에 대한 영상 디코딩 방법 및 그 장치 | |
WO2021060847A1 (ko) | 컬러 포맷에 기반하여 분할 모드를 결정하는 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 | |
WO2021060844A1 (ko) | 팔레트 모드를 이용한 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 | |
WO2021040482A1 (ko) | 적응적 루프 필터링 기반 영상 코딩 장치 및 방법 | |
WO2020213976A1 (ko) | Bdpcm을 이용한 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 | |
WO2021040410A1 (ko) | 레지듀얼 코딩에 대한 영상 디코딩 방법 및 그 장치 | |
WO2020262963A1 (ko) | 크로마 블록의 최대 변환 크기 설정을 이용한 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 | |
WO2021086021A1 (ko) | 적응적 변환을 이용한 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 | |
WO2021182816A1 (ko) | 직사각형 슬라이스의 크기 정보를 선택적으로 부호화 하는 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 | |
WO2021006697A1 (ko) | 레지듀얼 코딩에 대한 영상 디코딩 방법 및 그 장치 | |
WO2020256485A1 (ko) | 크로마 블록의 적응적 크기 제한을 이용한 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 | |
WO2020262962A1 (ko) | 크로마 변환 블록의 최대 크기 제한을 이용한 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 | |
WO2020262960A1 (ko) | 크로마 성분 부호화 블록의 최대 변환 크기 제한을 이용한 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 | |
WO2021015536A1 (ko) | 팔레트 모드의 적용 여부에 따라 디블로킹 필터링을 수행하는 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 | |
WO2021006698A1 (ko) | 영상 코딩 시스템에서 영상 코딩 방법 및 장치 | |
WO2022182174A1 (ko) | 인트라 예측 모드 도출 기반 인트라 예측 방법 및 장치 | |
WO2020256525A1 (ko) | 행렬 기반 인트라 예측 모드에 기반한 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법 | |
WO2021172916A1 (ko) | 영상 디코딩 방법 및 그 장치 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20823645 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2021573965 Country of ref document: JP Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 20217041039 Country of ref document: KR Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2020823645 Country of ref document: EP |
|
ENP | Entry into the national phase |
Ref document number: 2020823645 Country of ref document: EP Effective date: 20220113 |