WO2017065532A1 - 비디오 신호의 인코딩, 디코딩 방법 및 장치 - Google Patents
비디오 신호의 인코딩, 디코딩 방법 및 장치 Download PDFInfo
- Publication number
- WO2017065532A1 WO2017065532A1 PCT/KR2016/011507 KR2016011507W WO2017065532A1 WO 2017065532 A1 WO2017065532 A1 WO 2017065532A1 KR 2016011507 W KR2016011507 W KR 2016011507W WO 2017065532 A1 WO2017065532 A1 WO 2017065532A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- prediction mode
- intra prediction
- neighboring block
- block
- mode
- 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/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/146—Data rate or code amount at the encoder output
- H04N19/147—Data rate or code amount at the encoder output according to rate distortion criteria
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/157—Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N19/159—Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/176—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/593—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/61—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
Definitions
- the present invention relates to a method and apparatus for encoding / decoding a video signal, and more particularly, to a method and apparatus for improving a prediction mode of a neighboring block.
- Compression coding refers to a series of signal processing techniques for transmitting digitized information through a communication line or for storing in a form suitable for a storage medium.
- Media such as an image, an image, an audio, and the like may be a target of compression encoding.
- a technique of performing compression encoding on an image is called video image compression.
- Next-generation video content will be characterized by high spatial resolution, high frame rate and high dimensionality of scene representation. Processing such content would result in a tremendous increase in terms of memory storage, memory access rate, and processing power.
- the prediction mode of the neighboring block is used to predict the prediction mode of the current block.
- the present invention intends to propose a method for improving a prediction mode of a neighboring block.
- the present invention proposes a method of generating a new prediction mode candidate list based on prediction mode refinement of a neighboring block.
- the present invention proposes a method of selecting an optimal prediction mode of a current block.
- the present invention proposes a method of performing more efficient predictive coding by improving a prediction mode of a neighboring block.
- the present invention proposes a method of signaling information for performing the above methods.
- prediction is performed on prediction mode candidates using at least one of a reconstructed pixel or a neighboring reference pixel of a spatially neighboring block, and a prediction that minimizes the cost indicating similarity to the reconstructed block Provides a way to select a mode.
- An embodiment of the present invention provides a method of deriving an intra prediction mode through a prediction mode refinement method for an intra prediction block in an inter prediction picture even if the neighboring block is not an intra prediction block.
- An embodiment of the present invention provides a method of improving a prediction mode of a neighboring block to be suitable for a coding scheme of the current block even when the neighboring block is coded by a coding scheme different from that of the current block.
- another coding scheme may include at least one of a conditional nonlinear transform (CNT), a short distance intra prediction (SDIP), and an adaptive intra prediction coding scheme.
- One embodiment of the present invention provides a method for improving a coding mode when the shape and size of a neighboring block are different from the current block.
- One embodiment of the present invention provides a method of matching a shape or type of a neighboring block with the same shape as the current block or using the original shape (or shape).
- One embodiment of the present invention provides a method of finding the prediction direction more accurately by setting the width or height of a neighboring block by M or N lines.
- the present invention provides a method of signaling information for performing the above methods.
- the present invention can be used to predict the prediction mode of the current block after improving the intra prediction mode of the neighboring block, thereby making it possible to predict the intra prediction mode more accurately.
- the present invention improves the accuracy of prediction mode by improving the prediction mode for spatially neighboring blocks when compressing a still image or a video using the intra prediction mode, thereby significantly reducing the amount of compressed data for a complex image. You can.
- FIG. 1 is a schematic block diagram of an encoder in which encoding of a video signal is performed as an embodiment to which the present invention is applied.
- FIG. 2 is a schematic block diagram of a decoder in which decoding of a video signal is performed as an embodiment to which the present invention is applied.
- FIG. 3 is a diagram for describing a division structure of a coding unit according to an embodiment to which the present invention is applied.
- FIG. 4 is a diagram for describing a prediction unit according to an embodiment to which the present invention is applied.
- FIG. 5 is a diagram for describing an intra prediction method according to an embodiment to which the present invention is applied.
- FIG. 6 is a diagram for describing a prediction direction according to an intra prediction mode according to an embodiment to which the present invention is applied.
- FIG. 7 is a flowchart illustrating a method of encoding an intra prediction mode according to an embodiment to which the present invention is applied.
- FIG. 8 is a flowchart illustrating a method of decoding an intra prediction mode according to an embodiment to which the present invention is applied.
- FIG. 9 is a flowchart illustrating a method of encoding a video signal based on a prediction mode refinement of a neighboring block according to an embodiment to which the present invention is applied.
- FIG. 10 is a flowchart illustrating a method of decoding a video signal based on prediction mode refinement of a neighboring block in an embodiment to which the present invention is applied.
- FIG. 11 is a diagram for describing a method of improving a prediction mode of a neighboring block according to an embodiment to which the present invention is applied.
- FIG. 12 is a diagram for describing a method of improving a prediction mode of a neighboring block when a neighboring block is not intra coded according to an embodiment to which the present invention is applied.
- FIG. 13 is a diagram for describing a method of improving a prediction mode of a neighboring block according to the shape or size of a neighboring block according to an embodiment to which the present invention is applied.
- FIG. 14 is a diagram for describing a method of performing intra prediction based on a relationship between block partition information and directionality of a coding mode according to an embodiment to which the present invention is applied.
- FIG. 15 illustrates an embodiment to which the present invention is applied and adaptively selects a mode when 1 / M precision is used in an intra prediction mode.
- 16 is a flowchart illustrating a method of improving a prediction mode of a neighboring block according to an embodiment to which the present invention is applied.
- a method of processing a video signal comprising: generating a prediction block for the neighboring block by using a reconstructed reference pixel of the neighboring block when a neighboring block adjacent to a current block is intra coded; Determining an improved intra prediction mode of the neighboring block based on the prediction block, wherein the improved intra prediction mode indicates a mode that minimizes an error between the predicted block and the reconstructed neighboring block; Generating a prediction mode candidate list for the current block based on the improved intra prediction mode; Selecting an intra prediction mode for the current block from the prediction mode candidate list; And performing prediction on the current block based on the intra prediction mode.
- a prediction block for the neighboring block is generated for all intra prediction modes, and the improved intra prediction mode is compared with the reconstructed neighboring block based on the prediction blocks generated for all the intra prediction modes. And a mode for minimizing errors.
- a prediction block for the neighboring block is generated for some intra prediction modes, and the some intra prediction modes represent an intra prediction mode within a preset range based on the intra prediction mode of the neighboring block, and the improved Intra prediction mode is characterized in that the mode to minimize the error with the reconstructed neighboring block based on the prediction blocks generated for the partial intra prediction mode.
- the improved intra prediction mode is determined as the intra prediction mode of the neighboring block.
- the neighboring block includes at least one of a left neighboring block or an upper neighboring block of the current block, and a reconstructed reference pixel of the neighboring block includes a left boundary pixel, an upper left corner pixel, and an upper side adjacent to the neighboring block. And at least one of the boundary pixels.
- the improved intra prediction mode is determined as the intra prediction mode of the neighboring block.
- the method may further include obtaining a mode index from the video signal, wherein the mode index indicates index information indicating a prediction mode of the current block, and the intra prediction mode for the current block is based on the mode index. It is characterized in that the selection.
- the present invention provides a device for processing a video signal, when a neighboring block adjacent to a current block is intra coded, generates a prediction block for the neighboring block by using the reconstructed reference pixel of the neighboring block, Determine an improved intra prediction mode of the neighboring block, generate a prediction mode candidate list for the current block based on the improved intra prediction mode, and intra from the prediction mode candidate list
- An intra prediction unit selecting a prediction mode and performing prediction on the current block based on the intra prediction mode;
- a reconstruction unit reconstructing the video signal based on the prediction performance result, wherein the improved intra prediction mode indicates a mode for minimizing an error between the predicted block and the reconstructed neighboring block. to provide.
- the apparatus further comprises a parser for obtaining a mode index from the video signal, the mode index indicates index information indicating the prediction mode of the current block, the intra prediction mode for the current block is It is selected based on the mode index.
- terms used in the present invention may be replaced for more appropriate interpretation when there are general terms selected to describe the invention or other terms having similar meanings.
- signals, data, samples, pictures, frames, blocks, etc. may be appropriately replaced and interpreted in each coding process.
- partitioning, decomposition, splitting, and division may be appropriately replaced and interpreted in each coding process.
- FIG. 1 is a schematic block diagram of an encoder in which encoding of a video signal is performed as an embodiment to which the present invention is applied.
- the encoder 100 may include an image splitter 110, a transformer 120, a quantizer 130, an inverse quantizer 140, an inverse transformer 150, a filter 160, and a decoder. It may include a decoded picture buffer (DPB) 170, an inter predictor 180, an intra predictor 185, and an entropy encoder 190.
- DPB decoded picture buffer
- the image divider 110 may divide an input image (or a picture or a frame) input to the encoder 100 into one or more processing units.
- the processing unit may be a Coding Tree Unit (CTU), a Coding Unit (CU), a Prediction Unit (PU), or a Transform Unit (TU).
- CTU Coding Tree Unit
- CU Coding Unit
- PU Prediction Unit
- TU Transform Unit
- the terms are only used for the convenience of description of the present invention, the present invention is not limited to the definition of the terms.
- the term coding unit is used as a unit used in encoding or decoding a video signal, but the present invention is not limited thereto and may be appropriately interpreted according to the present invention.
- the encoder 100 may generate a residual signal by subtracting a prediction signal output from the inter predictor 180 or the intra predictor 185 from the input image signal, and generate the residual signal. Is transmitted to the converter 120.
- the transformer 120 may generate a transform coefficient by applying a transform technique to the residual signal.
- the conversion process may be applied to pixel blocks having the same size as the square, or may be applied to blocks of variable size rather than square.
- the quantization unit 130 may quantize the transform coefficients and transmit the quantized coefficients to the entropy encoding unit 190, and the entropy encoding unit 190 may entropy code the quantized signal and output the bitstream.
- the quantized signal output from the quantization unit 130 may be used to generate a prediction signal.
- the quantized signal may restore the residual signal by applying inverse quantization and inverse transformation through the inverse quantization unit 140 and the inverse transform unit 150 in the loop.
- a reconstructed signal may be generated by adding the reconstructed residual signal to a prediction signal output from the inter predictor 180 or the intra predictor 185.
- the filtering unit 160 applies filtering to the reconstruction signal and outputs it to the reproduction apparatus or transmits the decoded picture buffer to the decoding picture buffer 170.
- the filtered signal transmitted to the decoded picture buffer 170 may be used as the reference picture in the inter predictor 180. As such, by using the filtered picture as a reference picture in the inter prediction mode, not only image quality but also encoding efficiency may be improved.
- the decoded picture buffer 170 may store the filtered picture for use as a reference picture in the inter prediction unit 180.
- the inter prediction unit 180 performs temporal prediction and / or spatial prediction to remove temporal redundancy and / or spatial redundancy with reference to a reconstructed picture.
- the reference picture used to perform the prediction is a transformed signal that has been quantized and dequantized in units of blocks at the time of encoding / decoding in the previous time, blocking artifacts or ringing artifacts may exist. have.
- the inter prediction unit 180 may interpolate the signals between pixels in sub-pixel units by applying a lowpass filter in order to solve performance degradation due to discontinuity or quantization of such signals.
- the subpixel refers to a virtual pixel generated by applying an interpolation filter
- the integer pixel refers to an actual pixel existing in the reconstructed picture.
- the interpolation method linear interpolation, bi-linear interpolation, wiener filter, or the like may be applied.
- the interpolation filter may be applied to a reconstructed picture to improve the precision of prediction.
- the inter prediction unit 180 generates an interpolation pixel by applying an interpolation filter to integer pixels, and uses an interpolated block composed of interpolated pixels as a prediction block. You can make predictions.
- the intra predictor 185 may predict the current block by referring to samples around the block to which current encoding is to be performed.
- the intra prediction unit 185 may perform the following process to perform intra prediction. First, reference samples necessary for generating a prediction signal may be prepared. The prediction signal may be generated using the prepared reference sample. Then, the prediction mode is encoded. In this case, the reference sample may be prepared through reference sample padding and / or reference sample filtering. Since the reference sample has been predicted and reconstructed, there may be a quantization error. Accordingly, the reference sample filtering process may be performed for each prediction mode used for intra prediction to reduce such an error.
- the intra predictor 185 may be classified into prediction mode coding and residual signal coding.
- the prediction mode of the neighboring block may be used as a prediction value for the prediction mode of the current block. Therefore, the more accurate the prediction mode of the neighboring blocks, the more accurate the prediction of the prediction mode of the current block can be.
- methods for improving the prediction mode of the neighboring block will be described.
- a prediction signal generated through the inter predictor 180 or the intra predictor 185 may be used to generate a reconstruction signal or to generate a residual signal.
- FIG. 2 is a schematic block diagram of a decoder in which decoding of a video signal is performed as an embodiment to which the present invention is applied.
- the decoder 200 includes a parser (not shown), an entropy decoder 210, an inverse quantizer 220, an inverse transformer 230, a filter 240, and a decoded picture buffer (DPB).
- a decoded picture buffer unit 250, an inter predictor 260, and an intra predictor 265 may be included.
- the reconstructed video signal output through the decoder 200 may be reproduced through the reproducing apparatus.
- the decoder 200 may receive a video signal output from the encoder 100 of FIG. 1 and parse syntax elements from the video signal through a parser (not shown).
- the parsed signal may be entropy decoded through the entropy decoding unit 210 or transmitted to another functional unit.
- the inverse quantization unit 220 obtains a transform coefficient from the entropy decoded signal using the quantization step size information.
- the inverse transform unit 230 inversely transforms the transform coefficient to obtain a residual signal.
- a reconstructed signal is generated by adding the obtained residual signal to a prediction signal output from the inter predictor 260 or the intra predictor 265.
- the filtering unit 240 applies filtering to the reconstructed signal and outputs the filtering to the reproducing apparatus or transmits it to the decoded picture buffer unit 250.
- the filtered signal transmitted to the decoded picture buffer unit 250 may be used as the reference picture in the inter predictor 260.
- the embodiments described by the filtering unit 160, the inter prediction unit 180, and the intra prediction unit 185 of the encoder 100 are respectively the filtering unit 240, the inter prediction unit 260, and the decoder. The same may be applied to the intra predictor 265.
- FIG. 3 is a diagram for describing a division structure of a coding unit according to an embodiment to which the present invention is applied.
- the encoder may split one image (or picture) in units of a rectangular Coding Tree Unit (CTU).
- CTU Coding Tree Unit
- one CTU is sequentially encoded according to a raster scan order.
- the size of the CTU may be set to any one of 64x64, 32x32, and 16x16, but the present invention is not limited thereto.
- the encoder may select and use the size of the CTU according to the resolution of the input video or the characteristics of the input video.
- the CTU may include a coding tree block (CTB) for a luma component and a coding tree block (CTB) for two chroma components corresponding thereto.
- One CTU may be decomposed into a quadtree (QT) structure.
- QT quadtree
- one CTU may be divided into four units having a square shape and each side is reduced by half in length.
- the decomposition of this QT structure can be done recursively.
- a root node of a QT may be associated with a CTU.
- the QT may be split until it reaches a leaf node, where the leaf node may be referred to as a coding unit (CU).
- CU coding unit
- a CU may mean a basic unit of coding in which an input image is processed, for example, intra / inter prediction is performed.
- the CU may include a coding block (CB) for a luma component and a CB for two chroma components corresponding thereto.
- CB coding block
- the size of the CU may be determined as any one of 64x64, 32x32, 16x16, and 8x8.
- the present invention is not limited thereto, and in the case of a high resolution image, the size of the CU may be larger or more diverse.
- the CTU corresponds to a root node and has the smallest depth (ie, level 0) value.
- the CTU may not be divided according to the characteristics of the input image. In this case, the CTU corresponds to a CU.
- the CTU may be decomposed in QT form, and as a result, lower nodes having a depth of level 1 may be generated. And, a node that is no longer partitioned (ie, a leaf node) in a lower node having a depth of level 1 corresponds to a CU.
- CU (a), CU (b) and CU (j) corresponding to nodes a, b and j are divided once in the CTU and have a depth of level 1.
- At least one of the nodes having a depth of level 1 may be split into QT again.
- a node that is no longer partitioned (ie, a leaf node) in a lower node having a level 2 depth corresponds to a CU.
- CU (c), CU (h), and CU (i) corresponding to nodes c, h and i are divided twice in the CTU and have a depth of level 2.
- At least one of the nodes having a depth of 2 may be divided into QTs.
- a node that is no longer partitioned (ie, a leaf node) in a lower node having a depth of level 3 corresponds to a CU.
- CU (d), CU (e), CU (f), and CU (g) corresponding to nodes d, e, f, and g are divided three times in the CTU, and level 3 Has a depth of.
- the maximum size or the minimum size of the CU may be determined according to characteristics (eg, resolution) of the video image or in consideration of encoding efficiency. Information about this or information capable of deriving the information may be included in the bitstream.
- a CU having a maximum size may be referred to as a largest coding unit (LCU), and a CU having a minimum size may be referred to as a smallest coding unit (SCU).
- LCU largest coding unit
- SCU smallest coding unit
- a CU having a tree structure may be hierarchically divided with predetermined maximum depth information (or maximum level information).
- Each partitioned CU may have depth information. Since the depth information indicates the number and / or degree of division of the CU, the depth information may include information about the size of the CU.
- the size of the SCU can be obtained by using the size and maximum depth information of the LCU. Or conversely, using the size of the SCU and the maximum depth information of the tree, the size of the LCU can be obtained.
- information indicating whether the corresponding CU is split may be delivered to the decoder.
- the information may be defined as a split flag and may be represented by a syntax element "split_cu_flag".
- the division flag may be included in all CUs except the SCU. For example, if the split flag value is '1', the corresponding CU is divided into four CUs again. If the split flag value is '0', the CU is not divided any more and the coding process for the CU is not divided. Can be performed.
- the division process of the CU has been described as an example, but the QT structure described above may also be applied to the division process of a transform unit (TU) which is a basic unit for performing transformation.
- TU transform unit
- the TU may be hierarchically divided into a QT structure from a CU to be coded.
- a CU may correspond to a root node of a tree for a transform unit (TU).
- the TU divided from the CU may be divided into smaller lower TUs.
- the size of the TU may be determined by any one of 32x32, 16x16, 8x8, and 4x4.
- the present invention is not limited thereto, and in the case of a high resolution image, the size of the TU may be larger or more diverse.
- information indicating whether the corresponding TU is divided may be delivered to the decoder.
- the information may be defined as a split transform flag and may be represented by a syntax element "split_transform_flag".
- the division conversion flag may be included in all TUs except the TU of the minimum size. For example, if the value of the division conversion flag is '1', the corresponding TU is divided into four TUs again. If the value of the division conversion flag is '0', the corresponding TU is no longer divided.
- a CU is a basic unit of coding in which intra prediction or inter prediction is performed.
- a CU may be divided into prediction units (PUs).
- the PU is a basic unit for generating a prediction block, and may generate different prediction blocks in PU units within one CU.
- the PU may be divided differently according to whether an intra prediction mode or an inter prediction mode is used as a coding mode of a CU to which the PU belongs.
- FIG. 4 is a diagram for describing a prediction unit according to an embodiment to which the present invention is applied.
- the PU is divided differently according to whether an intra prediction mode or an inter prediction mode is used as a coding mode of a CU to which the PU belongs.
- FIG. 4A illustrates a PU when an intra prediction mode is used
- FIG. 4B illustrates a PU when an inter prediction mode is used.
- one CU may be divided into two types (ie, 2Nx2N or NxN). Can be.
- N ⁇ N type PU when divided into N ⁇ N type PU, one CU is divided into four PUs, and different prediction blocks are generated for each PU unit.
- the division of the PU may be performed only when the size of the CB for the luminance component of the CU is the minimum size (that is, the CU is the SCU).
- one CU has 8 PU types (ie, 2Nx2N, NxN, 2NxN). , Nx2N, nLx2N, nRx2N, 2NxnU, 2NxnD).
- PU splitting in the form of NxN may be performed only when the size of the CB for the luminance component of the CU is the minimum size (that is, the CU is the SCU).
- nLx2N, nRx2N, 2NxnU, and 2NxnD types which are Asymmetric Motion Partition (AMP).
- 'n' means a 1/4 value of 2N.
- AMP cannot be used when the CU to which the PU belongs is a CU of the minimum size.
- an optimal partitioning structure of a coding unit (CU), a prediction unit (PU), and a transformation unit (TU) is subjected to the following process to perform a minimum rate-distortion. It can be determined based on the value. For example, looking at an optimal CU partitioning process in a 64x64 CTU, rate-distortion cost can be calculated while partitioning from a 64x64 CU to an 8x8 CU.
- the specific process is as follows.
- the partition structure of the optimal PU and TU that generates the minimum rate-distortion value is determined by performing inter / intra prediction, transform / quantization, inverse quantization / inverse transform, and entropy encoding for a 64x64 CU.
- the 32x32 CU is subdivided into four 16x16 CUs, and a partition structure of an optimal PU and TU that generates a minimum rate-distortion value for each 16x16 CU is determined.
- a prediction mode is selected in units of PUs, and prediction and reconstruction are performed in units of actual TUs for the selected prediction mode.
- the TU means a basic unit in which actual prediction and reconstruction are performed.
- the TU includes a transform block (TB) for a luma component and a TB for two chroma components corresponding thereto.
- TB transform block
- the TUs are hierarchically divided into quadtree structures from one CU to be coded.
- the TU divided from the CU may be divided into smaller lower TUs.
- the size of the TU may be set to any one of 32 ⁇ 32, 16 ⁇ 16, 8 ⁇ 8, and 4 ⁇ 4.
- a root node of the quadtree is associated with a CU.
- the quadtree is split until it reaches a leaf node, and the leaf node corresponds to a TU.
- the CU may not be divided according to the characteristics of the input image.
- the CU corresponds to a TU.
- a node ie, a leaf node
- TU (a), TU (b), and TU (j) corresponding to nodes a, b, and j are divided once in a CU and have a depth of 1.
- FIG. 3B TU (a), TU (b), and TU (j) corresponding to nodes a, b, and j are divided once in a CU and have a depth of 1.
- a node (ie, a leaf node) that is no longer divided in a lower node having a depth of 2 corresponds to a TU.
- TU (c), TU (h), and TU (i) corresponding to nodes c, h, and i are divided twice in a CU and have a depth of two.
- a node that is no longer partitioned (ie, a leaf node) in a lower node having a depth of 3 corresponds to a CU.
- TU (d), TU (e), TU (f), and TU (g) corresponding to nodes d, e, f, and g are divided three times in a CU. Has depth.
- a TU having a tree structure may be hierarchically divided with predetermined maximum depth information (or maximum level information). Each divided TU may have depth information. Since the depth information indicates the number and / or degree of division of the TU, it may include information about the size of the TU.
- information indicating whether the corresponding TU is split may be delivered to the decoder.
- This partitioning information is included in all TUs except the smallest TU. For example, if the value of the flag indicating whether to split is '1', the corresponding TU is divided into four TUs again. If the value of the flag indicating whether to split is '0', the corresponding TU is no longer divided.
- FIG. 5 to 6 illustrate embodiments to which the present invention is applied.
- FIG. 5 is a diagram illustrating an intra prediction method
- FIG. 6 is a diagram illustrating a prediction direction according to an intra prediction mode.
- the decoder may derive an intra prediction mode of the current processing block (S501).
- the prediction direction may have a prediction direction with respect to the position of the reference sample used for the prediction according to the prediction mode.
- an intra prediction mode having a prediction direction is referred to as an intra_angular prediction mode or an intra directional mode.
- an intra prediction mode having no prediction direction there are an intra planner (INTRA_PLANAR) prediction mode and an intra DC (INTRA_DC) prediction mode.
- Table 1 illustrates an intra prediction mode and related names
- FIG. 6 illustrates a prediction direction according to the intra prediction mode.
- intra prediction prediction is performed on the current processing block based on the derived prediction mode. Since the reference sample used for the prediction and the specific prediction method vary according to the prediction mode, when the current block is encoded in the intra prediction mode, the decoder may derive the prediction mode of the current block to perform the prediction.
- the decoder may check whether neighboring samples of the current processing block can be used for prediction and configure reference samples to be used for prediction (S502).
- neighboring samples of the current processing block are samples adjacent to the left boundary of the current processing block of size nSxnS and a total of 2xnS samples neighboring the bottom-left, top of the current processing block.
- the decoder can construct reference samples for use in prediction by substituting samples that are not available with the available samples.
- the decoder may perform filtering of reference samples based on the intra prediction mode (S503).
- Whether filtering of the reference sample is performed may be determined based on the size of the current processing block.
- the filtering method of the reference sample may be determined by the filtering flag transmitted from the encoder.
- the decoder may generate a prediction block for the current processing block based on the intra prediction mode and the reference samples (S504). That is, the decoder predicts the current processing block based on the intra prediction mode derived in the intra prediction mode derivation step S501 and the reference samples obtained through the reference sample configuration step S502 and the reference sample filtering step S503.
- a block may be generated (ie, predictive sample generation).
- the left boundary sample ie, the sample in the prediction block adjacent to the left boundary
- the upper side of the prediction block in step S504.
- (top) boundary samples i.e., samples in prediction blocks adjacent to the upper boundary
- filtering may be applied to the left boundary sample or the upper boundary sample in the vertical direction mode and the horizontal mode among the intra directional prediction modes similarly to the INTRA_DC mode.
- the value of the prediction sample may be derived based on a reference sample located in the prediction direction.
- a boundary sample which is not located in the prediction direction among the left boundary sample or the upper boundary sample of the prediction block may be adjacent to a reference sample which is not used for prediction. That is, the distance from the reference sample not used for prediction may be much closer than the distance from the reference sample used for prediction.
- the decoder may adaptively apply filtering to left boundary samples or upper boundary samples depending on whether the intra prediction direction is vertical or horizontal. That is, when the intra prediction direction is the vertical direction, the filtering may be applied to the left boundary samples, and when the intra prediction direction is the horizontal direction, the filtering may be applied to the upper boundary samples.
- FIG. 7 is a flowchart illustrating a method of encoding an intra prediction mode according to an embodiment to which the present invention is applied.
- a current block and a neighboring block to be coded have similar image characteristics.
- the current block and the neighboring block have a high probability of having the same or similar intra prediction modes.
- the encoder can use the prediction mode of the neighboring block to encode the prediction mode of the current block.
- the encoder may identify or derive the prediction mode of the neighboring block (S710).
- the prediction mode of the current block may be determined based on the prediction mode of the left neighboring block and the prediction mode of the upper neighboring block, and the prediction mode of the corresponding neighboring block may be determined as Most Probable Modes (MPM).
- MPM may refer to a mode used to prevent loss of overlapping information and improve coding efficiency in consideration of the similarity between the current block and the neighboring block in the intra prediction mode coding. Determining the MPM may be expressed as listing up the most probable modes (MPM) candidate (or MPM list).
- the encoder may determine whether the prediction mode of the left neighboring block is the same as the prediction mode of the upper neighboring block (S720).
- the first MPM may be set to the prediction mode of the left neighboring block, and the second MPM is set to the prediction mode of the upper neighboring block.
- the third MPM may be set to any one of an intra planner mode, an intra DC mode, or an intra vertical mode (S730).
- the encoder may determine whether the prediction mode of the left neighboring block is less than two (S740).
- 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 may be set to an intra vertical mode.
- the first MPM may be set to the prediction mode of the left neighboring block
- the second MPM may be set to (prediction mode-1 of the left neighboring block)
- the third MPM may be set to (prediction mode + 1 of the left neighboring block) (S760).
- the encoder may determine whether an optimal intra prediction mode to be applied to the current block belongs to the previously configured MPM candidate.
- the encoder 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 neighboring intra predicted blocks (that is, the intra prediction mode of the current block belongs to the MPM).
- the MPM index may indicate which MPM mode is applied as the intra prediction mode of the current block among the MPM candidates.
- the encoder may encode the intra prediction mode of the current block.
- the encoder can use the prediction mode of the neighboring block to encode the prediction mode of the current block, wherein the present invention can provide a method for refine the prediction mode of the neighboring block.
- FIG. 8 is a flowchart illustrating a method of decoding an intra prediction mode according to an embodiment to which the present invention is applied.
- the decoder may acquire flag information indicating whether the prediction mode is included in the MPM for the current block (or the current PU) (S810).
- the flag information may be represented as prev_intra_luma_pred_flag, and the decoder may check whether the prediction mode of the current block is included in the MPM according to the flag information (S820).
- the decoder may obtain a prediction value for the current block based on the intra prediction mode indicated by the MPM index, and restore the current block by using the prediction value for the current block.
- the decoder may acquire the residual prediction mode of the current block (S840).
- the residual prediction mode may mean the remaining prediction mode not included in the MPM, and may be expressed as rem_intra_luma_pred_mode.
- the residual prediction mode may mean a remaining prediction mode except an intra planner mode, an intra DC mode, and an intra vertical mode.
- the decoder may obtain a prediction value for the current block based on the intra prediction mode corresponding to the residual prediction mode, and use the same to reconstruct the current block.
- the MPM when the number of coding modes is N, the minimum bit for expressing this is Log2 (N), whereas the MPM allocates less than the number of intra modes, so that the number of bits of the current block is much smaller. Can express mode.
- the number of intra prediction modes is 35 and the number of MPMs is 3, 6 bits of information must be transmitted to represent 35 intra prediction modes if the MPM mode is not used at all.
- the intra prediction mode of the current block is one of the MPM candidates, information can be transmitted using only two bits, except for the three intra prediction modes that can be expressed as MPM even if the MPM mode is not.
- One mode may be selected from the 32 intra prediction modes, thereby reducing the number of bits.
- FIG. 9 is a flowchart illustrating a method of encoding a video signal based on a prediction mode refinement of a neighboring block according to an embodiment to which the present invention is applied.
- FIG. 9 illustrates a flowchart of constructing a prediction mode candidate list and then selecting one of the candidates to code an index for the selected candidate.
- the prediction mode before registering a prediction mode for a neighboring block in a prediction mode candidate list, the prediction mode may be refined and set in the candidate list. In this case, the number of candidates or the index allocation for the candidates may be changed according to the improved prediction mode.
- the encoder may identify or derive the prediction mode of the neighboring block, and may apply a refinement process to the prediction mode of the neighboring block. (S910).
- the improvement process will be described in more detail with reference to FIGS. 11 to 15.
- the encoder may generate a prediction mode candidate list using the improved prediction mode (S920).
- the encoder may select an optimal prediction mode from the prediction mode candidate list (S930).
- the optimal prediction mode may mean a prediction mode in which a rate of cost (RD) is minimum with respect to prediction modes included in the prediction mode candidate list.
- RD rate of cost
- the encoder may encode a mode index corresponding to the optimal prediction mode (S940).
- the prediction mode candidate list may correspond to the MPM candidate list
- the mode index may correspond to the MPM index
- FIG. 10 is a flowchart illustrating a method of decoding a video signal based on prediction mode refinement of a neighboring block in an embodiment to which the present invention is applied.
- FIG. 10 shows an example of a decoding process, and improves the prediction mode of the neighboring block and generates a candidate list, as in the encoder, and selects the prediction mode from the mode index delivered through the bitstream.
- the decoder may identify or derive the prediction mode of the neighboring block, and may apply a refinement process to the prediction mode of the neighboring block (S1010).
- the improvement process will be described in more detail with reference to FIGS. 11 to 15.
- the decoder may generate a prediction mode candidate list using the improved prediction mode (S1020).
- the decoder may parse the mode index from the bitstream (S1030).
- the decoder may select a prediction mode corresponding to the parsed mode index from the prediction mode candidate list (S1040).
- the decoder may generate a prediction value of the current block based on the selected prediction mode (S1050), and restore the current block by using the prediction value.
- FIG. 11 is a diagram for describing a method of improving a prediction mode of a neighboring block according to an embodiment to which the present invention is applied.
- the present invention provides a method and apparatus to refine the prediction mode of a neighboring block.
- prediction is performed on prediction mode candidates using at least one of a reconstructed pixel or a neighboring reference pixel of a spatially neighboring block, and a prediction that minimizes the cost indicating similarity to the reconstructed block Provides a way to select a mode.
- intra prediction may use an intra prediction mode of a neighboring block as a prediction mode of a current block.
- the intra prediction mode of the neighboring block is determined in terms of minimizing the Rate-Distortion (RD) cost for the block, it may not reflect the exact direction of the pixels. Therefore, when the intra prediction mode of the neighboring block is improved and used to predict the prediction mode of the current block, a more accurate prediction mode can be obtained.
- RD Rate-Distortion
- various methods may be applied.
- the prediction mode of the neighboring block may be improved by using the same.
- the expression improvement is used, but the present invention is not limited thereto, and terms such as modification, change, and update may be used instead of the improvement.
- the following shows specific embodiments for improving the prediction mode of a neighboring block.
- the present invention generates a prediction block using the reconstructed reference pixel R for all intra prediction modes, and selects a prediction mode in which an error value is minimum by measuring an error between the predicted block and the reconstructed neighboring block.
- the reconstructed reference pixel R may refer to the area shown in FIG. 11.
- a transform is applied to the error value, the bitrate is predicted from the transform result (for example, the sum of absolute values of the transform coefficients), and then a prediction mode having the lowest rate-distortion (RD) cost is selected. You can also choose.
- the selected prediction mode may be determined as the prediction mode of the neighboring block.
- the improvement process may be applied to only some intra prediction modes. That is, the improvement process may be applied only to an intra prediction mode within a preset range or an intra prediction mode having a similar direction from the coded intra prediction mode of the neighboring block.
- the coded intra prediction mode of a neighboring block is 26 (intra vertical mode)
- the process can be applied.
- an improvement process may be selectively applied only to an intra prediction mode that satisfies a specific condition.
- the improvement process may not be applied.
- the improvement process may not be applied.
- the above-described two embodiments may be mixed and applied.
- the prediction mode of the neighboring block is the intra planner mode or the intra DC mode
- the first embodiment may be applied, and in the other modes, the second embodiment may be applied.
- an improvement process may be selectively applied only to an intra prediction mode that satisfies a region condition.
- the improvement process may not be applied to a neighboring block belonging to the same LCU, but may be applied only to a neighboring block belonging to another LCU.
- Embodiment 2 may be applied to a neighboring block belonging to the same LCU, and Embodiment 1 may be applied to a neighboring block belonging to another LCU.
- the region condition may be applied to a unit larger than the prediction unit as well as the LCU.
- the present invention can apply the improvement process using at least one of the methods of the above embodiments 1 to 4.
- the prediction mode of the neighboring block is the intra planner mode or the intra DC mode
- the first embodiment is applied, and in the other modes, the second embodiment is applied or the third embodiment is simultaneously applied. can do.
- the present invention is not limited thereto and may be inferred by combining other embodiments described herein.
- FIG. 12 is a diagram for describing a method of improving a prediction mode of a neighboring block when a neighboring block is not intra coded according to an embodiment to which the present invention is applied.
- intra prediction or inter prediction may be applied to blocks in a P picture / B picture.
- the neighboring block may not be an intra coded block.
- the neighboring block may be an inter block.
- the present invention can improve the prediction mode of the neighboring block by applying various embodiments as described below.
- An embodiment of the present invention provides a method of deriving an intra prediction mode through a prediction mode refinement method for an intra prediction block in an inter prediction picture even if the neighboring block is not an intra prediction block.
- An embodiment of the present invention provides a method of improving a prediction mode of a neighboring block to be suitable for a coding scheme of the current block even when the neighboring block is coded by a coding scheme different from that of the current block.
- the prediction mode of the neighboring block is the intra prediction mode
- at least one of the embodiments 1 to 5 described with reference to FIG. 11 may be applied.
- the intra prediction mode may be used as the prediction mode of the current block.
- the intra prediction mode having the smallest RD cost may be selected after measuring the rate of RD (Rate-Distortion) for all the intra prediction modes.
- the prediction mode when a neighboring block is coded by another coding scheme, the prediction mode may be derived to be suitable for the coding scheme of the current block.
- the other coding scheme may include at least one of a conditional nonlinear transform (CNT), a short distance intra prediction (SDIP), and an adaptive intra prediction coding scheme.
- CNT conditional nonlinear transform
- SDIP short distance intra prediction
- adaptive intra prediction coding scheme an adaptive intra prediction coding scheme.
- conditional nonlinear transform (CNT) method refers to a method of performing prediction using data most recently reconstructed on a pixel basis with respect to image data including N pixels.
- Equation 1 the prediction process for the original data (x, Nx1 vector) is performed with reference data x o and Nx1 residual vector. If it can be expressed as a relational expression, the transform coefficients can be obtained from Equations 2 and 3 below.
- transform coefficients that are not available in the prediction process Leave it unknown and reverse it through the equation It can be referred to as a method of obtaining.
- the prediction process using the most recently reconstructed pixel data may be described through the F matrix in Equation 1 above.
- SDIP short distance intra prediction
- the prediction mode may be used after improving the prediction mode based on the CNT scheme for the neighboring block.
- the encoder / decoder may generate a prediction block from a neighbor block in a CNT manner, obtain a residual block therefrom, and then select an intra prediction mode that minimizes the energy of the residual block.
- the above process may be applied to all intra prediction modes.
- the improvement process may be applied only to an intra prediction mode within a predetermined range or an intra prediction mode having a similar direction based on the intra prediction mode applied to the neighboring block.
- the process is performed for the prediction modes ((26-3) to (26 + 3)) in the range of (+/-) 3. Can be applied.
- the prediction mode may be used after improving the prediction mode by intra prediction on the neighboring block.
- Intra prediction mode can be selected.
- the enhancement process may be applied only to an intra prediction mode within a preset range or an intra prediction mode having a similar direction.
- the CNT method supports intra prediction modes 2, 4, 6, and 8, and a neighboring block is coded by the CNT method according to the intra prediction mode 4, only the intra prediction modes 3, 4, 5 are improved. Can be applied.
- the prediction mode may be used after the prediction mode is improved for the neighboring block based on the SDIP scheme.
- the PU of the current block may have a rectangular shape as shown in FIG. 12.
- the intra prediction mode may be improved after assuming that the PU of the neighboring block has a rectangular shape (R).
- an improvement process may be applied only to an intra prediction mode within a preset range or an intra prediction mode having a similar direction.
- FIG. 13 is a diagram for describing a method of improving a prediction mode of a neighboring block according to the shape or size of a neighboring block according to an embodiment to which the present invention is applied.
- One embodiment of the present invention provides a method for improving a coding mode when the shape and size of a neighboring block are different from the current block.
- One embodiment of the present invention provides a method of matching a shape or type of a neighboring block with the same shape as the current block or using the original shape (or shape).
- One embodiment of the present invention provides a method of finding the prediction direction more accurately by setting the width or height of a neighboring block by M or N lines.
- the shape or size of the neighboring block may be different from the current block.
- the following embodiments may be applied as a method of setting neighboring blocks to which an improvement process is applied.
- the present invention can utilize the block shape / size when the original neighboring block is coded as it is. For example, when the current block is an 8x8 block and the neighboring block is a 16x16 block, an improvement process may be performed on the neighbor block having the size of 16x16.
- the improvement process may be performed after assuming that the shape or size is the same as the current block. For example, after the PU in the neighboring block is set to R in FIG. 12, an improvement process may be performed.
- a block composed of M horizontal lines or N vertical lines may be set as a neighboring block.
- the M and N values when the M and N values are set to have a value smaller than the height or width of the current block, the M and N values may be improved to have an intra prediction mode close to the direction near the boundary of the current block.
- FIG. 14 is a diagram for describing a method of performing intra prediction based on a relationship between block partition information and directionality of a coding mode according to an embodiment to which the present invention is applied.
- Intra prediction can be applied to square shaped partition blocks.
- this method has a small error in predicting a sample located close to the reference sample, but the prediction accuracy may decrease as the distance between the reference sample and the predicted position increases. have.
- the present invention introduces a method for reducing the distance between the reference sample and the predicted position to compensate for this, and this is called a short distance intra prediction (SDIP) method.
- SDIP short distance intra prediction
- the shape of a prediction block in intra prediction may be defined as a rectangle or a line.
- the prediction error may be further reduced by performing prediction and reconstruction of the inside of the block in smaller rectangular or line units.
- the prediction and reconstruction processes are performed in units of rectangles or lines rather than squares, there may be a difference in accuracy depending on the prediction direction. For example, as shown in FIG. 14A, when the current block is in the intra vertical mode, dividing the current block into four horizontal directions in consideration of the distance from the reference sample may effectively reduce the prediction error.
- FIG. 15 illustrates an embodiment to which the present invention is applied and adaptively selects a mode when 1 / M precision is used in an intra prediction mode.
- the prediction direction has a +/- [0, 2, 5, 9, 13, 17, 21, 26, 32] / 32 angle.
- the angle represents the difference between the lower row of the PU and the reference row above the PU in the vertical mode, and the difference between the rightmost column and the left reference column of the PU in the horizontal mode. Then, pixel reconstruction is achieved by using linear interpolation of upper or left reference samples with 1/32 pixel accuracy.
- the present invention can adaptively select at least one of the number of modes or the mode positions in intra prediction.
- FIG. 15 is an embodiment to which the present invention is applied, and may adaptively select the number L of modes corresponding to an angle within an area corresponding to 45 ° to the right in the intra vertical mode.
- the present invention provides a method for adaptively selecting a mode number L in intra prediction.
- the mode number L may be differently selected according to the characteristics of the image of the current block.
- the characteristic of the image of the current block may be confirmed from surrounding reconstructed samples.
- a reference sample (or reference array) used in intra prediction may be used.
- the reference sample may be samples at positions p (-1, -2N + 1) to p (-1, -1) to p (2N-1, -1).
- the characteristic of the image may be determined by an upper reference array or a left reference array.
- the present invention is not limited to the upper or left sample array.
- two rows of top or left sample arrays or more may be used.
- 16 is a flowchart illustrating a method of improving a prediction mode of a neighboring block according to an embodiment to which the present invention is applied.
- the video signal processing apparatus to which the present invention is applied may be included or applied to an encoder and / or a decoder.
- the decoder will be described as an example.
- the decoder may check the prediction mode or the coding scheme of the current block or the neighboring block.
- the decoder may generate a prediction block for the neighboring block by using the reconstructed reference pixel of the neighboring block (S1610).
- the neighboring block includes at least one of a left neighboring block or an upper neighboring block of the current block
- the reconstructed reference pixel of the neighboring block includes a left boundary pixel, an upper left corner pixel, and an upper boundary pixel adjacent to the neighboring block. It may include at least one of. For example, this may mean the reconstructed reference pixel R of FIG. 11.
- the decoder may determine an improved intra prediction mode of the neighboring block based on the prediction block (S1620).
- the improved intra prediction mode may represent a mode for minimizing an error between the prediction block and the reconstructed neighboring block.
- the prediction block for the neighboring block may be generated for all intra prediction modes.
- the improved intra prediction mode represents a mode of minimizing an error with the reconstructed neighboring block based on prediction blocks generated for all the intra prediction modes.
- the prediction block for the neighboring block may be generated for some intra prediction modes.
- the some intra prediction mode indicates an intra prediction mode within a preset range based on the intra prediction mode of the neighboring block
- the improved intra prediction mode is based on the prediction blocks generated for the some intra prediction modes. This may represent a mode for minimizing an error with the restored neighboring block.
- the improved intra prediction mode may be determined as the intra prediction mode of the neighboring block.
- the improved intra prediction mode may be determined as the intra prediction mode of the neighboring block.
- the decoder may generate a prediction mode candidate list for the current block based on the improved intra prediction mode (S1630).
- the decoder may select an intra prediction mode for the current block from the prediction mode candidate list (S1640).
- the decoder may obtain a mode index from the video signal.
- the mode index indicates index information indicating a prediction mode of the current block, and in this case, an intra prediction mode for the current block may be selected based on the mode index.
- the decoder may perform prediction on the current block based on the intra prediction mode (S1650).
- the decoder may reconstruct the video signal by summing the prediction result value and the decoded residual data.
- the embodiments described herein may be implemented and performed on a processor, microprocessor, controller, or chip.
- the functional units illustrated in FIGS. 1 and 2 may be implemented and performed on a computer, a processor, a microprocessor, a controller, or a chip.
- the decoder and encoder to which the present invention is applied include a multimedia broadcasting transmitting and receiving device, a mobile communication terminal, a home cinema video device, a digital cinema video device, a surveillance camera, a video chat device, a real time communication device such as video communication, a mobile streaming device, Storage media, camcorders, video on demand (VoD) service providing devices, internet streaming service providing devices, three-dimensional (3D) video devices, video telephony video devices, and medical video devices, and the like, for processing video signals and data signals Can be used for
- the processing method to which the present invention is applied can be produced in the form of a program executed by a computer, and can be stored in a computer-readable recording medium.
- Multimedia data having a data structure according to the present invention can also be stored in a computer-readable recording medium.
- the computer readable recording medium includes all kinds of storage devices for storing computer readable data.
- the computer-readable recording medium may include, for example, a Blu-ray disc (BD), a universal serial bus (USB), a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
- the computer-readable recording medium also includes media embodied in the form of a carrier wave (eg, transmission over the Internet).
- the bit stream generated by the encoding method may be stored in a computer-readable recording medium or transmitted through a wired or wireless communication network.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
인트라 예측 모드(Intra prediction mode) | 0관련 명칭(Associated name) |
0 | 인트라 플래너(INTRA_PLANAR) |
1 | 인트라 DC(INTRA_DC) |
2...34 | 인트라 방향성 2 ... 인트라 방향성 34(INTRA_ANGULAR2 ... INTRA_ANGULAR34) |
Claims (14)
- 비디오 신호를 처리하는 방법에 있어서,현재 블록에 인접한 이웃 블록이 인트라 코딩된 경우, 상기 이웃 블록의 복원된 참조 픽셀을 이용하여 상기 이웃 블록에 대한 예측 블록을 생성하는 단계;상기 예측 블록에 기초하여 상기 이웃 블록의 개선된 인트라 예측 모드를 결정하는 단계, 여기서 상기 개선된 인트라 예측 모드는 상기 예측 블록과 복원된 이웃 블록과의 에러를 최소화하는 모드를 나타냄;상기 개선된 인트라 예측 모드에 기초하여 상기 현재 블록에 대한 예측 모드 후보 리스트를 생성하는 단계;상기 예측 모드 후보 리스트로부터 상기 현재 블록에 대한 인트라 예측 모드를 선택하는 단계; 및상기 인트라 예측 모드에 기초하여 상기 현재 블록에 대한 예측을 수행하는 단계를 포함하는 것을 특징으로 하는 방법.
- 제1항에 있어서,상기 이웃 블록에 대한 예측 블록은 모든 인트라 예측 모드에 대해서 생성되고,상기 개선된 인트라 예측 모드는 상기 모든 인트라 예측 모드에 대해서 생성된 예측 블록들에 기초하여 상기 복원된 이웃 블록과의 에러를 최소화하는 모드를 나타내는 것을 특징으로 하는 방법.
- 제1항에 있어서,상기 이웃 블록에 대한 예측 블록은 일부 인트라 예측 모드에 대해서 생성되고, 상기 일부 인트라 예측 모드는 상기 이웃 블록의 인트라 예측 모드를 기준으로 기설정된 범위 내의 인트라 예측 모드를 나타내고,상기 개선된 인트라 예측 모드는 상기 일부 인트라 예측 모드에 대해서 생성된 예측 블록들에 기초하여 상기 복원된 이웃 블록과의 에러를 최소화하는 모드를 나타내는 것을 특징으로 하는 방법.
- 제1항에 있어서,상기 이웃 블록의 인트라 예측 모드가 인트라 플래너 모드, 또는 인트라 DC 모드인 경우, 상기 개선된 인트라 예측 모드는 상기 이웃 블록의 인트라 예측 모드로 결정되는 것을 특징으로 하는 방법.
- 제1항에 있어서,상기 이웃 블록은 상기 현재 블록의 좌측 이웃 블록 또는 상측 이웃 블록 중 적어도 하나를 포함하고,상기 이웃 블록의 복원된 참조 픽셀은 상기 이웃 블록에 인접한 좌측 경계 픽셀, 좌상측 코너 픽셀 및 상측 경계 픽셀 중 적어도 하나를 포함하는 것을 특징으로 하는 방법.
- 제5항에 있어서,상기 좌측 이웃 블록과 상기 상측 이웃 블록의 인트라 예측 모드가 동일한 경우, 상기 개선된 인트라 예측 모드는 상기 이웃 블록의 인트라 예측 모드로 결정되는 것을 특징으로 하는 방법.
- 제1항에 있어서,상기 비디오 신호로부터 모드 인덱스를 획득하는 단계를 더 포함하되,상기 모드 인덱스는 상기 현재 블록의 예측 모드를 가리키는 인덱스 정보를 나타내고,상기 현재 블록에 대한 인트라 예측 모드는 상기 모드 인덱스에 기초하여 선택되는 것을 특징으로 하는 방법.
- 비디오 신호를 처리하는 장치에 있어서,현재 블록에 인접한 이웃 블록이 인트라 코딩된 경우, 상기 이웃 블록의 복원된 참조 픽셀을 이용하여 상기 이웃 블록에 대한 예측 블록을 생성하고, 상기 예측 블록에 기초하여 상기 이웃 블록의 개선된 인트라 예측 모드를 결정하고, 상기 개선된 인트라 예측 모드에 기초하여 상기 현재 블록에 대한 예측 모드 후보 리스트를 생성하고, 상기 예측 모드 후보 리스트로부터 상기 현재 블록에 대한 인트라 예측 모드를 선택하고, 상기 인트라 예측 모드에 기초하여 상기 현재 블록에 대한 예측을 수행하는 인트라 예측부; 및상기 예측 수행 결과값에 기초하여 상기 비디오 신호를 복원하는 복원부를 포함하되,상기 개선된 인트라 예측 모드는 상기 예측 블록과 복원된 이웃 블록과의 에러를 최소화하는 모드를 나타내는 것을 특징으로 하는 장치.
- 제8항에 있어서,상기 이웃 블록에 대한 예측 블록은 모든 인트라 예측 모드에 대해서 생성되고,상기 개선된 인트라 예측 모드는 상기 모든 인트라 예측 모드에 대해서 생성된 예측 블록들에 기초하여 상기 복원된 이웃 블록과의 에러를 최소화하는 모드를 나타내는 것을 특징으로 하는 장치.
- 제8항에 있어서,상기 이웃 블록에 대한 예측 블록은 일부 인트라 예측 모드에 대해서 생성되고, 상기 일부 인트라 예측 모드는 상기 이웃 블록의 인트라 예측 모드를 기준으로 기설정된 범위 내의 인트라 예측 모드를 나타내고,상기 개선된 인트라 예측 모드는 상기 일부 인트라 예측 모드에 대해서 생성된 예측 블록들에 기초하여 상기 복원된 이웃 블록과의 에러를 최소화하는 모드를 나타내는 것을 특징으로 하는 장치.
- 제8항에 있어서,상기 이웃 블록의 인트라 예측 모드가 인트라 플래너 모드, 또는 인트라 DC 모드인 경우, 상기 개선된 인트라 예측 모드는 상기 이웃 블록의 인트라 예측 모드로 결정되는 것을 특징으로 하는 장치.
- 제8항에 있어서,상기 이웃 블록은 상기 현재 블록의 좌측 이웃 블록 또는 상측 이웃 블록 중 적어도 하나를 포함하고,상기 이웃 블록의 복원된 참조 픽셀은 상기 이웃 블록에 인접한 좌측 경계 픽셀, 좌상측 코너 픽셀 및 상측 경계 픽셀 중 적어도 하나를 포함하는 것을 특징으로 하는 장치.
- 제12항에 있어서,상기 좌측 이웃 블록과 상기 상측 이웃 블록의 인트라 예측 모드가 동일한 경우, 상기 개선된 인트라 예측 모드는 상기 이웃 블록의 인트라 예측 모드로 결정되는 것을 특징으로 하는 장치.
- 제8항에 있어서, 상기 장치는,상기 비디오 신호로부터 모드 인덱스를 획득하는 파싱부를 더 포함하되,상기 모드 인덱스는 상기 현재 블록의 예측 모드를 가리키는 인덱스 정보를 나타내고,상기 현재 블록에 대한 인트라 예측 모드는 상기 모드 인덱스에 기초하여 선택되는 것을 특징으로 하는 장치.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020187010416A KR20180064414A (ko) | 2015-10-13 | 2016-10-13 | 비디오 신호의 인코딩, 디코딩 방법 및 장치 |
US15/768,326 US10587873B2 (en) | 2015-10-13 | 2016-10-13 | Method and apparatus for encoding and decoding video signal |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201562241120P | 2015-10-13 | 2015-10-13 | |
US62/241,120 | 2015-10-13 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017065532A1 true WO2017065532A1 (ko) | 2017-04-20 |
Family
ID=58517460
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/KR2016/011507 WO2017065532A1 (ko) | 2015-10-13 | 2016-10-13 | 비디오 신호의 인코딩, 디코딩 방법 및 장치 |
Country Status (3)
Country | Link |
---|---|
US (1) | US10587873B2 (ko) |
KR (1) | KR20180064414A (ko) |
WO (1) | WO2017065532A1 (ko) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019107998A1 (ko) * | 2017-11-30 | 2019-06-06 | 엘지전자 주식회사 | 비디오 신호의 처리 방법 및 장치 |
CN110892724A (zh) * | 2017-06-30 | 2020-03-17 | 高通股份有限公司 | 视频译码中的经改进帧内预测 |
CN112789850A (zh) * | 2018-10-10 | 2021-05-11 | 腾讯美国有限责任公司 | 用于帧内-帧间混合模式和三角预测单元模式下的帧块内复制的方法和装置 |
Families Citing this family (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9860539B2 (en) * | 2011-06-13 | 2018-01-02 | Sun Patent Trust | Image decoding method, image coding method, image decoding apparatus, image coding apparatus, and image coding and decoding apparatus |
CN113810701B (zh) * | 2016-04-29 | 2024-04-19 | 世宗大学校产学协力团 | 用于对图像信号进行编码和解码的方法和装置 |
FR3051309A1 (fr) * | 2016-05-10 | 2017-11-17 | Bcom | Procedes et dispositifs de codage et de decodage d'un flux de donnees representatif d'au moins une image |
KR102434327B1 (ko) * | 2017-01-02 | 2022-08-19 | 한국전자통신연구원 | 영상 부호화/복호화 방법, 장치 및 비트스트림을 저장한 기록 매체 |
CN115037931A (zh) * | 2017-10-18 | 2022-09-09 | 韩国电子通信研究院 | 图像编码/解码方法和装置以及存储有比特流的记录介质 |
WO2020111785A1 (ko) * | 2018-11-27 | 2020-06-04 | 주식회사 엑스리스 | 영상 신호 부호화/복호화 방법 및 이를 위한 장치 |
KR20200083356A (ko) | 2018-12-28 | 2020-07-08 | 김기백 | 인트라 예측 기반의 영상 부호화/복호화 방법 및 장치 |
CN109889852B (zh) * | 2019-01-22 | 2021-11-05 | 四川大学 | 一种基于邻近值的hevc帧内编码优化方法 |
US11595662B2 (en) | 2019-02-06 | 2023-02-28 | Tencent America LLC | Method and apparatus for neighboring block availability in video coding |
KR20210100741A (ko) * | 2019-02-21 | 2021-08-17 | 엘지전자 주식회사 | 영상 코딩 시스템에서 인트라 예측을 사용하는 영상 디코딩 방법 및 그 장치 |
WO2020182079A1 (en) * | 2019-03-10 | 2020-09-17 | Huawei Technologies Co., Ltd. | An encoder, a decoder and corresponding methods using intra mode coding for intra prediction |
EP3932053A4 (en) * | 2019-03-14 | 2022-04-06 | Huawei Technologies Co., Ltd. | ENCODING METHOD, DEVICE, SYSTEM WITH SHARED MPM LIST |
CN109889827B (zh) * | 2019-04-11 | 2021-01-29 | 腾讯科技(深圳)有限公司 | 帧内预测编码方法、装置、电子设备及计算机存储介质 |
US11616962B2 (en) | 2019-07-15 | 2023-03-28 | Tencent America LLC | Method and apparatus for video coding |
US20230024223A1 (en) * | 2019-12-05 | 2023-01-26 | Interdigital Vc Holdings France, Sas | Intra sub partitions for video encoding and decoding combined with multiple transform selection, matrix weighted intra prediction or multi-reference-line intra prediction |
US11523112B2 (en) * | 2020-04-09 | 2022-12-06 | Tencent America LLC | Intra coding with L-type partitioning tree |
CN116800956A (zh) * | 2022-01-07 | 2023-09-22 | 杭州海康威视数字技术股份有限公司 | 图像编解码方法、装置及存储介质 |
CN117956164A (zh) * | 2022-10-21 | 2024-04-30 | 腾讯科技(深圳)有限公司 | 视频编解码方法、装置、计算机可读介质及电子设备 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20130005233A (ko) * | 2011-07-05 | 2013-01-15 | 한국전자통신연구원 | 영상 정보 부호화 방법 및 복호화 방법 |
KR20130034559A (ko) * | 2011-09-28 | 2013-04-05 | 한국전자통신연구원 | 인트라 예측 모드 부호화/복호화 방법 및 장치 |
KR20140098113A (ko) * | 2011-11-04 | 2014-08-07 | 퀄컴 인코포레이티드 | 인트라 모드 비디오 코딩 |
KR20150042268A (ko) * | 2012-09-28 | 2015-04-20 | 니폰 덴신 덴와 가부시끼가이샤 | 인트라 예측 부호화 방법, 인트라 예측 복호 방법, 인트라 예측 부호화 장치, 인트라 예측 복호 장치, 이들의 프로그램 및 프로그램을 기록한 기록매체 |
KR20150059142A (ko) * | 2011-06-28 | 2015-05-29 | 삼성전자주식회사 | 인트라 예측을 수반한 비디오 부호화 방법 및 그 장치, 비디오 복호화 방법 및 그 장치 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8902978B2 (en) * | 2010-05-30 | 2014-12-02 | Lg Electronics Inc. | Enhanced intra prediction mode signaling |
US10142626B2 (en) * | 2014-10-31 | 2018-11-27 | Ecole De Technologie Superieure | Method and system for fast mode decision for high efficiency video coding |
-
2016
- 2016-10-13 WO PCT/KR2016/011507 patent/WO2017065532A1/ko active Application Filing
- 2016-10-13 US US15/768,326 patent/US10587873B2/en active Active
- 2016-10-13 KR KR1020187010416A patent/KR20180064414A/ko unknown
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20150059142A (ko) * | 2011-06-28 | 2015-05-29 | 삼성전자주식회사 | 인트라 예측을 수반한 비디오 부호화 방법 및 그 장치, 비디오 복호화 방법 및 그 장치 |
KR20130005233A (ko) * | 2011-07-05 | 2013-01-15 | 한국전자통신연구원 | 영상 정보 부호화 방법 및 복호화 방법 |
KR20130034559A (ko) * | 2011-09-28 | 2013-04-05 | 한국전자통신연구원 | 인트라 예측 모드 부호화/복호화 방법 및 장치 |
KR20140098113A (ko) * | 2011-11-04 | 2014-08-07 | 퀄컴 인코포레이티드 | 인트라 모드 비디오 코딩 |
KR20150042268A (ko) * | 2012-09-28 | 2015-04-20 | 니폰 덴신 덴와 가부시끼가이샤 | 인트라 예측 부호화 방법, 인트라 예측 복호 방법, 인트라 예측 부호화 장치, 인트라 예측 복호 장치, 이들의 프로그램 및 프로그램을 기록한 기록매체 |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110892724A (zh) * | 2017-06-30 | 2020-03-17 | 高通股份有限公司 | 视频译码中的经改进帧内预测 |
WO2019107998A1 (ko) * | 2017-11-30 | 2019-06-06 | 엘지전자 주식회사 | 비디오 신호의 처리 방법 및 장치 |
KR20200062304A (ko) * | 2017-11-30 | 2020-06-03 | 엘지전자 주식회사 | 비디오 신호의 처리 방법 및 장치 |
US11070831B2 (en) | 2017-11-30 | 2021-07-20 | Lg Electronics Inc. | Method and device for processing video signal |
KR102452312B1 (ko) | 2017-11-30 | 2022-10-07 | 엘지전자 주식회사 | 비디오 신호의 처리 방법 및 장치 |
KR20220138874A (ko) * | 2017-11-30 | 2022-10-13 | 엘지전자 주식회사 | 비디오 신호의 처리 방법 및 장치 |
KR102641362B1 (ko) | 2017-11-30 | 2024-02-27 | 엘지전자 주식회사 | 비디오 신호의 처리 방법 및 장치 |
CN112789850A (zh) * | 2018-10-10 | 2021-05-11 | 腾讯美国有限责任公司 | 用于帧内-帧间混合模式和三角预测单元模式下的帧块内复制的方法和装置 |
CN112789850B (zh) * | 2018-10-10 | 2022-04-08 | 腾讯美国有限责任公司 | 一种视频编解码方法、装置、设备和介质 |
CN114745540A (zh) * | 2018-10-10 | 2022-07-12 | 腾讯美国有限责任公司 | 一种视频编解码方法、装置、设备和介质 |
Also Published As
Publication number | Publication date |
---|---|
KR20180064414A (ko) | 2018-06-14 |
US10587873B2 (en) | 2020-03-10 |
US20180324418A1 (en) | 2018-11-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017065532A1 (ko) | 비디오 신호의 인코딩, 디코딩 방법 및 장치 | |
WO2018066927A1 (ko) | 인터 예측 모드 기반 영상 처리 방법 및 이를 위한 장치 | |
WO2018056763A1 (ko) | 템플릿 기반 가중치를 이용하여 예측을 수행하는 방법 및 장치 | |
WO2018062892A1 (ko) | 가중치 인덱스에 기초하여 최적의 예측을 수행하는 방법 및 장치 | |
WO2018070713A1 (ko) | 크로마 성분에 대한 인트라 예측 모드를 유도하는 방법 및 장치 | |
WO2020256391A1 (ko) | 영상 디코딩 방법 및 그 장치 | |
WO2020213944A1 (ko) | 영상 코딩에서 매트릭스 기반의 인트라 예측을 위한 변환 | |
WO2018124333A1 (ko) | 인트라 예측 모드 기반 영상 처리 방법 및 이를 위한 장치 | |
WO2018066958A1 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2019235891A1 (ko) | 비디오 신호 처리 방법 및 장치 | |
WO2017069505A1 (ko) | 영상의 부호화/복호화 방법 및 이를 위한 장치 | |
WO2019203610A1 (ko) | 영상의 처리 방법 및 이를 위한 장치 | |
WO2018062950A1 (ko) | 영상 처리 방법 및 이를 위한 장치 | |
WO2020231140A1 (ko) | 적응적 루프 필터 기반 비디오 또는 영상 코딩 | |
WO2019235822A1 (ko) | 어파인 움직임 예측을 이용하여 비디오 신호를 처리하는 방법 및 장치 | |
WO2020256390A1 (ko) | 블록 사이즈를 기반으로 bdpcm 을 수행하는 영상 디코딩 방법 및 그 장치 | |
WO2020171660A1 (ko) | 인트라 예측을 위한 비디오 신호의 처리 방법 및 장치 | |
WO2018034374A1 (ko) | 인트라 예측 필터링을 이용하여 비디오 신호를 인코딩, 디코딩하는 방법 및 장치 | |
WO2020242183A1 (ko) | 광각 인트라 예측 및 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2020171673A1 (ko) | 인트라 예측을 위한 비디오 신호의 처리 방법 및 장치 | |
WO2020197274A1 (ko) | 변환에 기반한 영상 코딩 방법 및 그 장치 | |
WO2020213867A1 (ko) | 스케일링 리스트 데이터의 시그널링 기반 비디오 또는 영상 코딩 | |
WO2020167097A1 (ko) | 영상 코딩 시스템에서 인터 예측을 위한 인터 예측 타입 도출 | |
WO2016137089A1 (ko) | 비디오 신호의 인코딩/디코딩 방법 및 장치 | |
WO2021141227A1 (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: 16855749 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 20187010416 Country of ref document: KR Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: 15768326 Country of ref document: US |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16855749 Country of ref document: EP Kind code of ref document: A1 |